]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/mac/_windows_wrap.cpp
Make scrolling work better (without constantly refreshing whole screen).
[wxWidgets.git] / wxPython / src / mac / _windows_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.22
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12 #define SWIG_NOINCLUDE
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30
31 #include "Python.h"
32
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
35 *
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
38 *
39 ************************************************************************/
40
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypePrettyName SWIG_Python_TypePrettyName
47 #define SWIG_TypeQuery SWIG_Python_TypeQuery
48 #define SWIG_TypeClientData SWIG_Python_TypeClientData
49 #define SWIG_PackData SWIG_Python_PackData
50 #define SWIG_UnpackData SWIG_Python_UnpackData
51
52
53 /***********************************************************************
54 * common.swg for wxPython
55 *
56 * Include only the function prototypes and such from SWIG's common.swg,
57 * but not the runtime functions themselves. This helps keep the
58 * wrapper files clean of unnecessary stuff that is in the libpy.c file
59 * anyway.
60 *
61 ************************************************************************/
62
63 #include <string.h>
64
65 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
66 # if defined(_MSC_VER) || defined(__GNUC__)
67 # if defined(STATIC_LINKED)
68 # define SWIGEXPORT(a) a
69 # define SWIGIMPORT(a) extern a
70 # else
71 # define SWIGEXPORT(a) __declspec(dllexport) a
72 # define SWIGIMPORT(a) extern a
73 # endif
74 # else
75 # if defined(__BORLANDC__)
76 # define SWIGEXPORT(a) a _export
77 # define SWIGIMPORT(a) a _export
78 # else
79 # define SWIGEXPORT(a) a
80 # define SWIGIMPORT(a) a
81 # endif
82 # endif
83 #else
84 # define SWIGEXPORT(a) a
85 # define SWIGIMPORT(a) a
86 #endif
87
88 #ifdef SWIG_GLOBAL
89 # define SWIGRUNTIME(a) SWIGEXPORT(a)
90 #else
91 # define SWIGRUNTIME(a) static a
92 #endif
93
94 #ifdef __cplusplus
95 extern "C" {
96 #endif
97
98 typedef void *(*swig_converter_func)(void *);
99 typedef struct swig_type_info *(*swig_dycast_func)(void **);
100
101 typedef struct swig_type_info {
102 const char *name;
103 swig_converter_func converter;
104 const char *str;
105 void *clientdata;
106 swig_dycast_func dcast;
107 struct swig_type_info *next;
108 struct swig_type_info *prev;
109 } swig_type_info;
110
111
112 SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
113 SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
114 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
115 SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
116 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
117 SWIGIMPORT(const char *) SWIG_TypePrettyName(const swig_type_info *);
118 SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
119 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
120 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
121 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
122
123
124 #ifdef __cplusplus
125 }
126 #endif
127
128
129 /***********************************************************************
130 * pyrun.swg for wxPython
131 *
132 * Include only the function prototypes and such from SWIG's pyrun.swg,
133 * but not the runtime functions themselves. This helps keep the
134 * wrapper files clean of unnecessary stuff that is in the libpy.c file
135 * anyway.
136 *
137 ************************************************************************/
138
139 #ifdef __cplusplus
140 extern "C" {
141 #endif
142
143 #define SWIG_PY_INT 1
144 #define SWIG_PY_FLOAT 2
145 #define SWIG_PY_STRING 3
146 #define SWIG_PY_POINTER 4
147 #define SWIG_PY_BINARY 5
148
149 /* Flags for pointer conversion */
150
151 #define SWIG_POINTER_EXCEPTION 0x1
152 #define SWIG_POINTER_DISOWN 0x2
153
154 /* Exception handling in wrappers */
155 #define SWIG_fail goto fail
156
157 /* Constant information structure */
158 typedef struct swig_const_info {
159 int type;
160 char *name;
161 long lvalue;
162 double dvalue;
163 void *pvalue;
164 swig_type_info **ptype;
165 } swig_const_info;
166
167 /* Common SWIG API */
168 #define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170 #define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172 #define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174
175 /* Python-specific SWIG API */
176 #define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
182 #define SWIG_NewPackedObj(ptr, sz, type) \
183 SWIG_Python_NewPackedObj(ptr, sz, type)
184 #define SWIG_InstallConstants(d, constants) \
185 SWIG_Python_InstallConstants(d, constants)
186
187 typedef double (*py_objasdbl_conv)(PyObject *obj);
188
189 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
190 SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
191 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
192 SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
193 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
194 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
195 SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
196 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
197
198
199 /* Contract support */
200
201 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
202
203 #ifdef __cplusplus
204 }
205 #endif
206
207
208
209 /* -------- TYPES TABLE (BEGIN) -------- */
210
211 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[0]
212 #define SWIGTYPE_p_wxPreviewFrame swig_types[1]
213 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[2]
214 #define SWIGTYPE_p_wxPyPanel swig_types[3]
215 #define SWIGTYPE_p_wxMenu swig_types[4]
216 #define SWIGTYPE_p_wxFontData swig_types[5]
217 #define SWIGTYPE_p_wxEvent swig_types[6]
218 #define SWIGTYPE_p_wxPrintData swig_types[7]
219 #define SWIGTYPE_p_wxTaskBarIcon swig_types[8]
220 #define SWIGTYPE_p_wxIconBundle swig_types[9]
221 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[10]
222 #define SWIGTYPE_p_wxFindDialogEvent swig_types[11]
223 #define SWIGTYPE_p_wxPreviewCanvas swig_types[12]
224 #define SWIGTYPE_p_wxFont swig_types[13]
225 #define SWIGTYPE_p_wxSplitterEvent swig_types[14]
226 #define SWIGTYPE_p_wxRegion swig_types[15]
227 #define SWIGTYPE_p_wxFindReplaceData swig_types[16]
228 #define SWIGTYPE_p_int swig_types[17]
229 #define SWIGTYPE_p_wxSize swig_types[18]
230 #define SWIGTYPE_p_wxDC swig_types[19]
231 #define SWIGTYPE_p_wxIcon swig_types[20]
232 #define SWIGTYPE_p_wxVisualAttributes swig_types[21]
233 #define SWIGTYPE_p_wxMDIChildFrame swig_types[22]
234 #define SWIGTYPE_p_wxColourData swig_types[23]
235 #define SWIGTYPE_p_wxNotifyEvent swig_types[24]
236 #define SWIGTYPE_p_wxPyWindow swig_types[25]
237 #define SWIGTYPE_p_wxSplashScreen swig_types[26]
238 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[27]
239 #define SWIGTYPE_p_wxProgressDialog swig_types[28]
240 #define SWIGTYPE_p_wxMessageDialog swig_types[29]
241 #define SWIGTYPE_p_wxTextEntryDialog swig_types[30]
242 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[31]
243 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[32]
244 #define SWIGTYPE_p_wxFileDialog swig_types[33]
245 #define SWIGTYPE_p_wxPrinter swig_types[34]
246 #define SWIGTYPE_p_wxArrayInt swig_types[35]
247 #define SWIGTYPE_p_wxEvtHandler swig_types[36]
248 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[37]
249 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[38]
250 #define SWIGTYPE_p_wxPyVListBox swig_types[39]
251 #define SWIGTYPE_p_wxRect swig_types[40]
252 #define SWIGTYPE_p_char swig_types[41]
253 #define SWIGTYPE_p_wxMiniFrame swig_types[42]
254 #define SWIGTYPE_p_wxFrame swig_types[43]
255 #define SWIGTYPE_p_wxPyPrintout swig_types[44]
256 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[45]
257 #define SWIGTYPE_p_wxScrollWinEvent swig_types[46]
258 #define SWIGTYPE_p_wxStatusBar swig_types[47]
259 #define SWIGTYPE_p_wxMDIParentFrame swig_types[48]
260 #define SWIGTYPE_p_wxPoint swig_types[49]
261 #define SWIGTYPE_p_wxObject swig_types[50]
262 #define SWIGTYPE_p_wxOutputStream swig_types[51]
263 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[52]
264 #define SWIGTYPE_p_wxMDIClientWindow swig_types[53]
265 #define SWIGTYPE_p_wxTipWindow swig_types[54]
266 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[55]
267 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[56]
268 #define SWIGTYPE_p_wxSplitterWindow swig_types[57]
269 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[58]
270 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[59]
271 #define SWIGTYPE_p_wxPopupWindow swig_types[60]
272 #define SWIGTYPE_p_wxSashWindow swig_types[61]
273 #define SWIGTYPE_p_wxTopLevelWindow swig_types[62]
274 #define SWIGTYPE_p_wxWindow swig_types[63]
275 #define SWIGTYPE_p_wxScrolledWindow swig_types[64]
276 #define SWIGTYPE_p_wxMenuBar swig_types[65]
277 #define SWIGTYPE_p_wxPrintPreview swig_types[66]
278 #define SWIGTYPE_p_wxSashEvent swig_types[67]
279 #define SWIGTYPE_p_wxString swig_types[68]
280 #define SWIGTYPE_p_wxPyPrintPreview swig_types[69]
281 #define SWIGTYPE_p_wxFontDialog swig_types[70]
282 #define SWIGTYPE_p_wxDirDialog swig_types[71]
283 #define SWIGTYPE_p_wxColourDialog swig_types[72]
284 #define SWIGTYPE_p_wxDialog swig_types[73]
285 #define SWIGTYPE_p_wxPanel swig_types[74]
286 #define SWIGTYPE_p_wxPageSetupDialog swig_types[75]
287 #define SWIGTYPE_p_wxPrintDialog swig_types[76]
288 #define SWIGTYPE_p_wxFileSystem swig_types[77]
289 #define SWIGTYPE_p_wxBitmap swig_types[78]
290 #define SWIGTYPE_p_wxCommandEvent swig_types[79]
291 #define SWIGTYPE_p_wxPreviewControlBar swig_types[80]
292 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[81]
293 #define SWIGTYPE_p_wxColour swig_types[82]
294 #define SWIGTYPE_p_wxToolBar swig_types[83]
295 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[84]
296 #define SWIGTYPE_p_wxPrintDialogData swig_types[85]
297 static swig_type_info *swig_types[87];
298
299 /* -------- TYPES TABLE (END) -------- */
300
301
302 /*-----------------------------------------------
303 @(target):= _windows_.so
304 ------------------------------------------------*/
305 #define SWIG_init init_windows_
306
307 #define SWIG_name "_windows_"
308
309 /* Auxiliar swig macros that appear in the header */
310
311 #define SWIG_OLDOBJ 1
312 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
313 #define SWIG_PYSTR SWIG_NEWOBJ + 1
314
315 #ifdef __cplusplus
316 #define SWIGSTATICINLINE(a) static inline a
317 #define SWIGSTATIC(a) static a
318 #define swig_new_array(size,Type) (new Type[(size)])
319 #define swig_delete(cptr) delete cptr
320 #define swig_delete_array(cptr) delete[] cptr
321 #define swig_const_cast(a,Type) const_cast<Type >(a)
322 #define swig_static_cast(a,Type) static_cast<Type >(a)
323 #define swig_reinterpret_cast(a,Type) reinterpret_cast<Type >(a)
324 #define swig_new_copy(ptr,Type) (new Type(*ptr))
325 #define swig_numeric_cast(a,Type) static_cast<Type >(a)
326
327 #else /* C case */
328
329 #define SWIGSTATICINLINE(a) static a
330 #define SWIGSTATIC(a) static a
331 #define swig_new_array(size,Type) ((Type*) malloc((size)*sizeof(Type)))
332 #define swig_delete(cptr) free((char*)cptr)
333 #define swig_delete_array(cptr) free((char*)cptr)
334 #define swig_const_cast(a,Type) (Type)(a)
335 #define swig_static_cast(a,Type) (Type)(a)
336 #define swig_reinterpret_cast(a,Type) (Type)(a)
337 #define swig_numeric_cast(a,Type) (Type)(a)
338 #define swig_new_copy(ptr,Type) ((Type*)memcpy(malloc(sizeof(Type)),ptr,sizeof(Type)))
339
340 #endif /* __cplusplus */
341
342
343 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
344 #define SWIG_From_signed_SS_char PyInt_FromLong
345 /*@@*/
346 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
347 #define SWIG_From_unsigned_SS_char PyInt_FromLong
348 /*@@*/
349 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
350 #define SWIG_From_short PyInt_FromLong
351 /*@@*/
352 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
353 #define SWIG_From_unsigned_SS_short PyInt_FromLong
354 /*@@*/
355 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
356 #define SWIG_From_int PyInt_FromLong
357 /*@@*/
358 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
359 #define SWIG_From_long PyInt_FromLong
360 /*@@*/
361 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
362 #define SWIG_From_float PyFloat_FromDouble
363 /*@@*/
364 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
365 #define SWIG_From_double PyFloat_FromDouble
366 /*@@*/
367
368
369 #include "wx/wxPython/wxPython.h"
370 #include "wx/wxPython/pyclasses.h"
371
372
373 static const wxString wxPyEmptyString(wxEmptyString);
374 static const wxString wxPyPanelNameStr(wxPanelNameStr);
375
376
377
378 #include <limits.h>
379
380
381 SWIGSTATICINLINE(int)
382 SWIG_CheckLongInRange(long value, long min_value, long max_value,
383 const char *errmsg)
384 {
385 if (value < min_value) {
386 if (errmsg) {
387 PyErr_Format(PyExc_OverflowError,
388 "value %ld is less than '%s' minimum %ld",
389 value, errmsg, min_value);
390 }
391 return 0;
392 } else if (value > max_value) {
393 if (errmsg) {
394 PyErr_Format(PyExc_OverflowError,
395 "value %ld is greater than '%s' maximum %ld",
396 value, errmsg, max_value);
397 }
398 return 0;
399 }
400 return 1;
401 }
402
403
404 // See my_fragments.i
405 SWIGSTATICINLINE(int)
406 SWIG_AsVal_long(PyObject* obj, long* val)
407 {
408 if (PyNumber_Check(obj)) {
409 if (val) *val = PyInt_AsLong(obj);
410 return 1;
411 }
412 else {
413 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
414 obj->ob_type->tp_name);
415 PyErr_SetObject(PyExc_TypeError, errmsg);
416 Py_DECREF(errmsg);
417 }
418 return 0;
419 }
420
421
422 #if INT_MAX != LONG_MAX
423 SWIGSTATICINLINE(int)
424 SWIG_AsVal_int(PyObject *obj, int *val)
425 {
426 const char* errmsg = val ? "int" : 0;
427 long v;
428 if (SWIG_AsVal_long(obj, &v)) {
429 if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) {
430 if (val) *val = swig_numeric_cast(v, int);
431 return 1;
432 } else {
433 return 0;
434 }
435 } else {
436 PyErr_Clear();
437 }
438 if (val) {
439 PyErr_SetString(PyExc_TypeError, "an int is expected");
440 }
441 return 0;
442 }
443 #else
444 SWIGSTATICINLINE(int)
445 SWIG_AsVal_int(PyObject *obj, int *val)
446 {
447 return SWIG_AsVal_long(obj,(long*)val);
448 }
449 #endif
450
451
452 SWIGSTATICINLINE(int)
453 SWIG_As_int(PyObject* obj)
454 {
455 int v;
456 if (!SWIG_AsVal_int(obj, &v)) {
457 /*
458 this is needed to make valgrind/purify happier. the other
459 solution is throw an exception, but since this code should work
460 with plain C ....
461 */
462 memset((void*)&v, 0, sizeof(int));
463 }
464 return v;
465 }
466
467
468 SWIGSTATICINLINE(long)
469 SWIG_As_long(PyObject* obj)
470 {
471 long v;
472 if (!SWIG_AsVal_long(obj, &v)) {
473 /*
474 this is needed to make valgrind/purify happier. the other
475 solution is throw an exception, but since this code should work
476 with plain C ....
477 */
478 memset((void*)&v, 0, sizeof(long));
479 }
480 return v;
481 }
482
483
484 SWIGSTATICINLINE(int)
485 SWIG_Check_int(PyObject* obj)
486 {
487 return SWIG_AsVal_int(obj, (int*)0);
488 }
489
490
491 SWIGSTATICINLINE(int)
492 SWIG_Check_long(PyObject* obj)
493 {
494 return SWIG_AsVal_long(obj, (long*)0);
495 }
496
497
498 SWIGSTATICINLINE(int)
499 SWIG_AsVal_bool(PyObject *obj, bool *val)
500 {
501 /* if (val) *val = PyObject_IsTrue(obj); return 1; */
502 if (obj == Py_True) {
503 if (val) *val = true;
504 return 1;
505 }
506 if (obj == Py_False) {
507 if (val) *val = false;
508 return 1;
509 }
510 int res = 0;
511 if (SWIG_AsVal_int(obj, &res)) {
512 if (val) *val = (bool)res;
513 return 1;
514 }
515 if (val) {
516 PyErr_SetString(PyExc_TypeError, "a bool is expected");
517 }
518 return 0;
519 }
520
521
522 SWIGSTATICINLINE(bool)
523 SWIG_As_bool(PyObject* obj)
524 {
525 bool v;
526 if (!SWIG_AsVal_bool(obj, &v)) {
527 /*
528 this is needed to make valgrind/purify happier. the other
529 solution is throw an exception, but since this code should work
530 with plain C ....
531 */
532 memset((void*)&v, 0, sizeof(bool));
533 }
534 return v;
535 }
536
537
538 SWIGSTATICINLINE(int)
539 SWIG_Check_bool(PyObject* obj)
540 {
541 return SWIG_AsVal_bool(obj, (bool*)0);
542 }
543
544
545 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
546 PyObject* o2;
547 PyObject* o3;
548
549 if (!target) {
550 target = o;
551 } else if (target == Py_None) {
552 Py_DECREF(Py_None);
553 target = o;
554 } else {
555 if (!PyTuple_Check(target)) {
556 o2 = target;
557 target = PyTuple_New(1);
558 PyTuple_SetItem(target, 0, o2);
559 }
560 o3 = PyTuple_New(1);
561 PyTuple_SetItem(o3, 0, o);
562
563 o2 = target;
564 target = PySequence_Concat(o2, o3);
565 Py_DECREF(o2);
566 Py_DECREF(o3);
567 }
568 return target;
569 }
570
571
572
573 // See my_fragments.i
574 SWIGSTATICINLINE(int)
575 SWIG_AsVal_double(PyObject *obj, double* val)
576 {
577 if (PyNumber_Check(obj)) {
578 if (val) *val = PyFloat_AsDouble(obj);
579 return 1;
580 }
581 else {
582 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
583 obj->ob_type->tp_name);
584 PyErr_SetObject(PyExc_TypeError, errmsg);
585 Py_DECREF(errmsg);
586 }
587 return 0;
588 }
589
590
591 SWIGSTATICINLINE(double)
592 SWIG_As_double(PyObject* obj)
593 {
594 double v;
595 if (!SWIG_AsVal_double(obj, &v)) {
596 /*
597 this is needed to make valgrind/purify happier. the other
598 solution is throw an exception, but since this code should work
599 with plain C ....
600 */
601 memset((void*)&v, 0, sizeof(double));
602 }
603 return v;
604 }
605
606
607 SWIGSTATICINLINE(int)
608 SWIG_Check_double(PyObject* obj)
609 {
610 return SWIG_AsVal_double(obj, (double*)0);
611 }
612
613 static const wxString wxPyFrameNameStr(wxFrameNameStr);
614 static const wxString wxPyDialogNameStr(wxDialogNameStr);
615 static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr);
616 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
617
618
619 wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
620 wxRect r;
621 self->GetFieldRect(i, r);
622 return r;
623 }
624 static const wxString wxPySplitterNameStr(wxT("splitter"));
625 static const wxString wxPySashNameStr(wxT("sashWindow"));
626 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
627
628 #include <wx/popupwin.h>
629
630
631 class wxPopupWindow : public wxWindow {
632 public:
633 wxPopupWindow(wxWindow *, int) { wxPyRaiseNotImplemented(); }
634 wxPopupWindow() { wxPyRaiseNotImplemented(); }
635 };
636
637 class wxPyPopupTransientWindow : public wxPopupWindow
638 {
639 public:
640 wxPyPopupTransientWindow(wxWindow *, int) { wxPyRaiseNotImplemented(); }
641 wxPyPopupTransientWindow() { wxPyRaiseNotImplemented(); }
642 };
643
644
645 #include <wx/tipwin.h>
646
647 wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength,wxRect *rectBound){
648 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
649 }
650
651 #include <wx/tipwin.h>
652
653
654 #include <wx/vscroll.h>
655
656
657 class wxPyVScrolledWindow : public wxVScrolledWindow
658 {
659 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow);
660 public:
661 wxPyVScrolledWindow() : wxVScrolledWindow() {}
662
663 wxPyVScrolledWindow(wxWindow *parent,
664 wxWindowID id = wxID_ANY,
665 const wxPoint& pos = wxDefaultPosition,
666 const wxSize& size = wxDefaultSize,
667 long style = 0,
668 const wxString& name = wxPyPanelNameStr)
669 : wxVScrolledWindow(parent, id, pos, size, style, name)
670 {}
671
672 // Overridable virtuals
673
674 // this function must be overridden in the derived class and it should
675 // return the height of the given line in pixels
676 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
677
678
679 // this function doesn't have to be overridden but it may be useful to do
680 // it if calculating the lines heights is a relatively expensive operation
681 // as it gives the user code a possibility to calculate several of them at
682 // once
683 //
684 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
685 // shouldn't rely on the latter being called for all lines in the interval
686 // specified here. It is also possible that OnGetLineHeight() will be
687 // called for the lines outside of this interval, so this is really just a
688 // hint, not a promise.
689 //
690 // finally note that lineMin is inclusive, while lineMax is exclusive, as
691 // usual
692 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
693
694
695 // when the number of lines changes, we try to estimate the total height
696 // of all lines which is a rather expensive operation in terms of lines
697 // access, so if the user code may estimate the average height
698 // better/faster than we do, it should override this function to implement
699 // its own logic
700 //
701 // this function should return the best guess for the total height it may
702 // make
703 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
704
705
706 // Also expose some other interesting protected methods
707
708
709 // find the index of the line we need to show at the top of the window such
710 // that the last (fully or partially) visible line is the given one
711 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = false)
712 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
713
714 // get the total height of the lines between lineMin (inclusive) and
715 // lineMax (exclusive)
716 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
717 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
718
719
720 PYPRIVATE;
721 };
722
723 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
724
725 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
726 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
727 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
728
729
730 // See my_fragments.i
731 SWIGSTATICINLINE(int)
732 SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val)
733 {
734 long v = 0;
735 if (SWIG_AsVal_long(obj, &v) && v < 0) {
736 PyErr_SetString(PyExc_TypeError, "negative value received for unsigned type");
737 return 0;
738 }
739 else if (val)
740 *val = (unsigned long)v;
741 return 1;
742 }
743
744
745 SWIGSTATICINLINE(unsigned long)
746 SWIG_As_unsigned_SS_long(PyObject* obj)
747 {
748 unsigned long v;
749 if (!SWIG_AsVal_unsigned_SS_long(obj, &v)) {
750 /*
751 this is needed to make valgrind/purify happier. the other
752 solution is throw an exception, but since this code should work
753 with plain C ....
754 */
755 memset((void*)&v, 0, sizeof(unsigned long));
756 }
757 return v;
758 }
759
760
761 SWIGSTATICINLINE(int)
762 SWIG_Check_unsigned_SS_long(PyObject* obj)
763 {
764 return SWIG_AsVal_unsigned_SS_long(obj, (unsigned long*)0);
765 }
766
767
768 SWIGSTATICINLINE(PyObject* )
769 SWIG_From_unsigned_SS_long(unsigned long value)
770 {
771 return (value > LONG_MAX) ?
772 PyLong_FromUnsignedLong(value)
773 : PyInt_FromLong(swig_numeric_cast(value,long));
774 }
775
776
777 #include <wx/vlbox.h>
778
779 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
780
781 class wxPyVListBox : public wxVListBox
782 {
783 DECLARE_ABSTRACT_CLASS(wxPyVListBox);
784 public:
785 wxPyVListBox() : wxVListBox() {}
786
787 wxPyVListBox(wxWindow *parent,
788 wxWindowID id = wxID_ANY,
789 const wxPoint& pos = wxDefaultPosition,
790 const wxSize& size = wxDefaultSize,
791 long style = 0,
792 const wxString& name = wxPyVListBoxNameStr)
793 : wxVListBox(parent, id, pos, size, style, name)
794 {}
795
796 // Overridable virtuals
797
798 // the derived class must implement this function to actually draw the item
799 // with the given index on the provided DC
800 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
801 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
802
803
804 // the derived class must implement this method to return the height of the
805 // specified item
806 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
807 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
808
809
810 // this method may be used to draw separators between the lines; note that
811 // the rectangle may be modified, typically to deflate it a bit before
812 // passing to OnDrawItem()
813 //
814 // the base class version doesn't do anything
815 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
816 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator);
817
818
819 // this method is used to draw the items background and, maybe, a border
820 // around it
821 //
822 // the base class version implements a reasonable default behaviour which
823 // consists in drawing the selected item with the standard background
824 // colour and drawing a border around the item if it is either selected or
825 // current
826 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
827 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
828
829
830 PYPRIVATE;
831 };
832
833 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
834
835 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
836 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
837 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawSeparator);
838 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
839
840
841 PyObject *wxPyVListBox_GetFirstSelected(wxPyVListBox *self){
842 unsigned long cookie = 0;
843 int selected = self->GetFirstSelected(cookie);
844 bool blocked = wxPyBeginBlockThreads();
845 PyObject* tup = PyTuple_New(2);
846 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
847 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
848 wxPyEndBlockThreads(blocked);
849 return tup;
850 }
851 PyObject *wxPyVListBox_GetNextSelected(wxPyVListBox *self,unsigned long cookie){
852 int selected = self->GetNextSelected(cookie);
853 bool blocked = wxPyBeginBlockThreads();
854 PyObject* tup = PyTuple_New(2);
855 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
856 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
857 wxPyEndBlockThreads(blocked);
858 return tup;
859 }
860
861 #include <wx/htmllbox.h>
862
863
864 class wxPyHtmlListBox : public wxHtmlListBox
865 {
866 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox);
867 public:
868 wxPyHtmlListBox() : wxHtmlListBox() {}
869
870 wxPyHtmlListBox(wxWindow *parent,
871 wxWindowID id = wxID_ANY,
872 const wxPoint& pos = wxDefaultPosition,
873 const wxSize& size = wxDefaultSize,
874 long style = 0,
875 const wxString& name = wxPyVListBoxNameStr)
876 : wxHtmlListBox(parent, id, pos, size, style, name)
877 {}
878
879 // Overridable virtuals
880
881 // this method must be implemented in the derived class and should return
882 // the body (i.e. without <html>) of the HTML for the given item
883 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
884
885 // this function may be overridden to decorate HTML returned by OnGetItem()
886 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
887
888 // TODO:
889 // // this method allows to customize the selection appearance: it may be used
890 // // to specify the colour of the text which normally has the given colour
891 // // colFg when it is inside the selection
892 // //
893 // // by default, the original colour is not used at all and all text has the
894 // // same (default for this system) colour inside selection
895 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
896
897 // // this is the same as GetSelectedTextColour() but allows to customize the
898 // // background colour -- this is even more rarely used as you can change it
899 // // globally using SetSelectionBackground()
900 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
901
902
903 PYPRIVATE;
904 };
905
906
907 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
908
909 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
910 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
911
912
913
914
915
916 #ifndef wxHAS_TASK_BAR_ICON
917 // implement dummy classes for platforms that don't have it
918
919 class wxTaskBarIcon : public wxEvtHandler
920 {
921 public:
922 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
923 };
924
925
926 class wxTaskBarIconEvent : public wxEvent
927 {
928 public:
929 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
930 { wxPyRaiseNotImplemented(); }
931 virtual wxEvent* Clone() const { return NULL; }
932 bool IsOk() const { return false; }
933 bool IsIconInstalled() const { return false; }
934 bool SetIcon(const wxIcon& icon, const wxString& tooltip = wxPyEmptyString) { return false; }
935 bool RemoveIcon() { return false; }
936 bool PopupMenu(wxMenu *menu) { return false; }
937 };
938
939 enum {
940 wxEVT_TASKBAR_MOVE = 0,
941 wxEVT_TASKBAR_LEFT_DOWN = 0,
942 wxEVT_TASKBAR_LEFT_UP = 0,
943 wxEVT_TASKBAR_RIGHT_DOWN = 0,
944 wxEVT_TASKBAR_RIGHT_UP = 0,
945 wxEVT_TASKBAR_LEFT_DCLICK = 0,
946 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
947 };
948
949
950 #else
951 // // Otherwise make a class that can virtualize CreatePopupMenu
952 // class wxPyTaskBarIcon : public wxTaskBarIcon
953 // {
954 // DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon);
955 // public:
956 // wxPyTaskBarIcon() : wxTaskBarIcon()
957 // {}
958
959 // wxMenu* CreatePopupMenu() {
960 // wxMenu *rval = NULL;
961 // bool found;
962 // bool blocked = wxPyBeginBlockThreads();
963 // if ((found = wxPyCBH_findCallback(m_myInst, "CreatePopupMenu"))) {
964 // PyObject* ro;
965 // wxMenu* ptr;
966 // ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
967 // if (ro) {
968 // if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxMenu")))
969 // rval = ptr;
970 // Py_DECREF(ro);
971 // }
972 // }
973 // wxPyEndBlockThreads(blocked);
974 // if (! found)
975 // rval = wxTaskBarIcon::CreatePopupMenu();
976 // return rval;
977 // }
978
979 // PYPRIVATE;
980 // };
981
982 // IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon);
983
984 #endif
985
986 void wxTaskBarIcon_Destroy(wxTaskBarIcon *self){
987
988
989
990 }
991 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
992 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
993 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
994 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
995 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
996 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
997 PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
998 wxArrayString arr;
999 self->GetFilenames(arr);
1000 return wxArrayString2PyList_helper(arr);
1001 }
1002 PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
1003 wxArrayString arr;
1004 self->GetPaths(arr);
1005 return wxArrayString2PyList_helper(arr);
1006 }
1007 PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
1008 return wxArrayInt2PyList_helper(self->GetSelections());
1009 }
1010 wxSingleChoiceDialog *new_wxSingleChoiceDialog(wxWindow *parent,wxString const &message,wxString const &caption,int choices,wxString *choices_array,long style,wxPoint const &pos){
1011 return new wxSingleChoiceDialog(parent, message, caption,
1012 choices, choices_array, NULL, style, pos);
1013 }
1014
1015 #include <wx/mdi.h>
1016
1017 // C++ version of Python aware wxWindow
1018 class wxPyWindow : public wxWindow
1019 {
1020 DECLARE_DYNAMIC_CLASS(wxPyWindow)
1021 public:
1022 wxPyWindow() : wxWindow() {}
1023 wxPyWindow(wxWindow* parent, const wxWindowID id,
1024 const wxPoint& pos = wxDefaultPosition,
1025 const wxSize& size = wxDefaultSize,
1026 long style = 0,
1027 const wxString& name = wxPyPanelNameStr)
1028 : wxWindow(parent, id, pos, size, style, name) {}
1029
1030 void SetBestSize(const wxSize& size) { wxWindow::SetBestSize(size); }
1031
1032 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
1033 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
1034 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
1035 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
1036
1037 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
1038 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
1039 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
1040
1041 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
1042 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
1043
1044 DEC_PYCALLBACK__(InitDialog);
1045 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
1046 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
1047 DEC_PYCALLBACK_BOOL_(Validate);
1048
1049 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
1050 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
1051 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
1052
1053 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
1054 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
1055
1056 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
1057 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
1058 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
1059
1060 PYPRIVATE;
1061 };
1062
1063 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
1064
1065 IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
1066 IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
1067 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
1068 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
1069
1070 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
1071 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
1072 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
1073
1074 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
1075 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
1076
1077 IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
1078 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
1079 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
1080 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
1081
1082 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
1083 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
1084 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
1085
1086 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
1087 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
1088
1089 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, ShouldInheritColours);
1090 IMP_PYCALLBACK__COLOUR(wxPyWindow, wxWindow, ApplyParentThemeBackground);
1091 IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes);
1092
1093
1094 // C++ version of Python aware wxPanel
1095 class wxPyPanel : public wxPanel
1096 {
1097 DECLARE_DYNAMIC_CLASS(wxPyPanel)
1098 public:
1099 wxPyPanel() : wxPanel() {}
1100 wxPyPanel(wxWindow* parent, const wxWindowID id,
1101 const wxPoint& pos = wxDefaultPosition,
1102 const wxSize& size = wxDefaultSize,
1103 long style = 0,
1104 const wxString& name = wxPyPanelNameStr)
1105 : wxPanel(parent, id, pos, size, style, name) {}
1106
1107 void SetBestSize(const wxSize& size) { wxPanel::SetBestSize(size); }
1108
1109
1110 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
1111 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
1112 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
1113 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
1114
1115 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
1116 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
1117 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
1118
1119 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
1120 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
1121
1122 DEC_PYCALLBACK__(InitDialog);
1123 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
1124 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
1125 DEC_PYCALLBACK_BOOL_(Validate);
1126
1127 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
1128 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
1129 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
1130
1131 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
1132 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
1133
1134 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
1135 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
1136 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
1137
1138 PYPRIVATE;
1139 };
1140
1141 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
1142
1143 IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
1144 IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
1145 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
1146 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
1147
1148 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
1149 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
1150 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
1151
1152 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
1153 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
1154
1155 IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
1156 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
1157 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
1158 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
1159
1160 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
1161 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
1162 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
1163
1164 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
1165 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
1166
1167 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours);
1168 IMP_PYCALLBACK__COLOUR(wxPyPanel, wxPanel, ApplyParentThemeBackground);
1169 IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes);
1170
1171
1172 // C++ version of Python aware wxScrolledWindow
1173 class wxPyScrolledWindow : public wxScrolledWindow
1174 {
1175 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow)
1176 public:
1177 wxPyScrolledWindow() : wxScrolledWindow() {}
1178 wxPyScrolledWindow(wxWindow* parent, const wxWindowID id,
1179 const wxPoint& pos = wxDefaultPosition,
1180 const wxSize& size = wxDefaultSize,
1181 long style = 0,
1182 const wxString& name = wxPyPanelNameStr)
1183 : wxScrolledWindow(parent, id, pos, size, style, name) {}
1184
1185 void SetBestSize(const wxSize& size) { wxScrolledWindow::SetBestSize(size); }
1186
1187 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
1188 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
1189 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
1190 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
1191
1192 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
1193 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
1194 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
1195
1196 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
1197 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
1198
1199 DEC_PYCALLBACK__(InitDialog);
1200 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
1201 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
1202 DEC_PYCALLBACK_BOOL_(Validate);
1203
1204 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
1205 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
1206 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
1207
1208 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
1209 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
1210
1211 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
1212 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
1213 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
1214
1215 PYPRIVATE;
1216 };
1217
1218 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow);
1219
1220 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow);
1221 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize);
1222 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize);
1223 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize);
1224
1225 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize);
1226 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize);
1227 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition);
1228
1229 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize);
1230 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize);
1231
1232 IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog);
1233 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow);
1234 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow);
1235 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate);
1236
1237 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus);
1238 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard);
1239 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize);
1240
1241 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild);
1242 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
1243
1244 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
1245 IMP_PYCALLBACK__COLOUR(wxPyScrolledWindow, wxScrolledWindow, ApplyParentThemeBackground);
1246 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes);
1247
1248
1249
1250 #include "wx/wxPython/printfw.h"
1251
1252
1253 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
1254 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
1255
1256
1257
1258 // Since this one would be tough and ugly to do with the Macros...
1259 void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
1260 bool hadErr = false;
1261 bool found;
1262
1263 bool blocked = wxPyBeginBlockThreads();
1264 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
1265 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
1266 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
1267 PyObject* val;
1268
1269 val = PyTuple_GetItem(result, 0);
1270 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
1271 else hadErr = true;
1272
1273 val = PyTuple_GetItem(result, 1);
1274 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
1275 else hadErr = true;
1276
1277 val = PyTuple_GetItem(result, 2);
1278 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
1279 else hadErr = true;
1280
1281 val = PyTuple_GetItem(result, 3);
1282 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
1283 else hadErr = true;
1284 }
1285 else
1286 hadErr = true;
1287
1288 if (hadErr) {
1289 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
1290 PyErr_Print();
1291 }
1292 Py_DECREF(result);
1293 }
1294 wxPyEndBlockThreads(blocked);
1295 if (! found)
1296 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
1297 }
1298
1299 void wxPyPrintout::base_GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
1300 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
1301 }
1302
1303
1304 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
1305 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
1306 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
1307 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
1308 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
1309 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
1310 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
1311
1312
1313
1314
1315
1316 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
1317 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
1318 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
1319
1320
1321 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
1322 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1323 bool rval=false; \
1324 bool found; \
1325 bool blocked = wxPyBeginBlockThreads(); \
1326 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1327 PyObject* win = wxPyMake_wxObject(a,false); \
1328 PyObject* dc = wxPyMake_wxObject(&b,false); \
1329 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
1330 Py_DECREF(win); \
1331 Py_DECREF(dc); \
1332 } \
1333 wxPyEndBlockThreads(blocked); \
1334 if (! found) \
1335 rval = PCLASS::CBNAME(a, b); \
1336 return rval; \
1337 } \
1338 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1339 return PCLASS::CBNAME(a, b); \
1340 }
1341
1342
1343
1344
1345 class wxPyPrintPreview : public wxPrintPreview
1346 {
1347 DECLARE_CLASS(wxPyPrintPreview)
1348 public:
1349 wxPyPrintPreview(wxPyPrintout* printout,
1350 wxPyPrintout* printoutForPrinting,
1351 wxPrintDialogData* data=NULL)
1352 : wxPrintPreview(printout, printoutForPrinting, data)
1353 {}
1354 wxPyPrintPreview(wxPyPrintout* printout,
1355 wxPyPrintout* printoutForPrinting,
1356 wxPrintData* data=NULL)
1357 : wxPrintPreview(printout, printoutForPrinting, data)
1358 {}
1359
1360 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
1361 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
1362 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
1363 DEC_PYCALLBACK_BOOL_INT(RenderPage);
1364 DEC_PYCALLBACK_VOID_INT(SetZoom);
1365 DEC_PYCALLBACK_BOOL_BOOL(Print);
1366 DEC_PYCALLBACK_VOID_(DetermineScaling);
1367
1368 PYPRIVATE;
1369 };
1370
1371 // Stupid renamed classes... Fix this in 2.5...
1372 #if defined(__WXMSW__)
1373 IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
1374 #elif defined(__WXMAC__)
1375 IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
1376 #else
1377 IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
1378 #endif
1379
1380 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
1381 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
1382 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
1383 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
1384 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
1385 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
1386 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
1387
1388
1389 class wxPyPreviewFrame : public wxPreviewFrame
1390 {
1391 DECLARE_CLASS(wxPyPreviewFrame);
1392 public:
1393 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
1394 const wxString& title,
1395 const wxPoint& pos = wxDefaultPosition,
1396 const wxSize& size = wxDefaultSize,
1397 long style = wxDEFAULT_FRAME_STYLE,
1398 const wxString& name = wxPyFrameNameStr)
1399 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
1400 {}
1401
1402 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
1403 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
1404
1405 DEC_PYCALLBACK_VOID_(Initialize);
1406 DEC_PYCALLBACK_VOID_(CreateCanvas);
1407 DEC_PYCALLBACK_VOID_(CreateControlBar);
1408
1409 PYPRIVATE;
1410 };
1411
1412 IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
1413
1414 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
1415 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
1416 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
1417
1418
1419 class wxPyPreviewControlBar : public wxPreviewControlBar
1420 {
1421 DECLARE_CLASS(wxPyPreviewControlBar);
1422 public:
1423 wxPyPreviewControlBar(wxPrintPreview *preview,
1424 long buttons,
1425 wxWindow *parent,
1426 const wxPoint& pos = wxDefaultPosition,
1427 const wxSize& size = wxDefaultSize,
1428 long style = 0,
1429 const wxString& name = wxPyPanelNameStr)
1430 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
1431 {}
1432
1433 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
1434
1435 DEC_PYCALLBACK_VOID_(CreateButtons);
1436 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
1437
1438 PYPRIVATE;
1439 };
1440
1441 IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
1442 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
1443 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
1444
1445 #ifdef __cplusplus
1446 extern "C" {
1447 #endif
1448 static PyObject *_wrap_new_Panel(PyObject *, PyObject *args, PyObject *kwargs) {
1449 PyObject *resultobj;
1450 wxWindow *arg1 = (wxWindow *) 0 ;
1451 int arg2 = (int) (int)-1 ;
1452 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1453 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1454 wxSize const &arg4_defvalue = wxDefaultSize ;
1455 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1456 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1457 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1458 wxString *arg6 = (wxString *) &arg6_defvalue ;
1459 wxPanel *result;
1460 wxPoint temp3 ;
1461 wxSize temp4 ;
1462 bool temp6 = false ;
1463 PyObject * obj0 = 0 ;
1464 PyObject * obj1 = 0 ;
1465 PyObject * obj2 = 0 ;
1466 PyObject * obj3 = 0 ;
1467 PyObject * obj4 = 0 ;
1468 PyObject * obj5 = 0 ;
1469 char *kwnames[] = {
1470 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1471 };
1472
1473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
1474 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1475 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1476 if (obj1) {
1477 arg2 = (int)SWIG_As_int(obj1);
1478 if (PyErr_Occurred()) SWIG_fail;
1479 }
1480 if (obj2) {
1481 {
1482 arg3 = &temp3;
1483 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1484 }
1485 }
1486 if (obj3) {
1487 {
1488 arg4 = &temp4;
1489 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1490 }
1491 }
1492 if (obj4) {
1493 arg5 = (long)SWIG_As_long(obj4);
1494 if (PyErr_Occurred()) SWIG_fail;
1495 }
1496 if (obj5) {
1497 {
1498 arg6 = wxString_in_helper(obj5);
1499 if (arg6 == NULL) SWIG_fail;
1500 temp6 = true;
1501 }
1502 }
1503 {
1504 if (!wxPyCheckForApp()) SWIG_fail;
1505 PyThreadState* __tstate = wxPyBeginAllowThreads();
1506 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1507
1508 wxPyEndAllowThreads(__tstate);
1509 if (PyErr_Occurred()) SWIG_fail;
1510 }
1511 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
1512 {
1513 if (temp6)
1514 delete arg6;
1515 }
1516 return resultobj;
1517 fail:
1518 {
1519 if (temp6)
1520 delete arg6;
1521 }
1522 return NULL;
1523 }
1524
1525
1526 static PyObject *_wrap_new_PrePanel(PyObject *, PyObject *args, PyObject *kwargs) {
1527 PyObject *resultobj;
1528 wxPanel *result;
1529 char *kwnames[] = {
1530 NULL
1531 };
1532
1533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePanel",kwnames)) goto fail;
1534 {
1535 if (!wxPyCheckForApp()) SWIG_fail;
1536 PyThreadState* __tstate = wxPyBeginAllowThreads();
1537 result = (wxPanel *)new wxPanel();
1538
1539 wxPyEndAllowThreads(__tstate);
1540 if (PyErr_Occurred()) SWIG_fail;
1541 }
1542 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
1543 return resultobj;
1544 fail:
1545 return NULL;
1546 }
1547
1548
1549 static PyObject *_wrap_Panel_Create(PyObject *, PyObject *args, PyObject *kwargs) {
1550 PyObject *resultobj;
1551 wxPanel *arg1 = (wxPanel *) 0 ;
1552 wxWindow *arg2 = (wxWindow *) 0 ;
1553 int arg3 = (int) (int)-1 ;
1554 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1555 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1556 wxSize const &arg5_defvalue = wxDefaultSize ;
1557 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1558 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1559 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1560 wxString *arg7 = (wxString *) &arg7_defvalue ;
1561 bool result;
1562 wxPoint temp4 ;
1563 wxSize temp5 ;
1564 bool temp7 = false ;
1565 PyObject * obj0 = 0 ;
1566 PyObject * obj1 = 0 ;
1567 PyObject * obj2 = 0 ;
1568 PyObject * obj3 = 0 ;
1569 PyObject * obj4 = 0 ;
1570 PyObject * obj5 = 0 ;
1571 PyObject * obj6 = 0 ;
1572 char *kwnames[] = {
1573 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1574 };
1575
1576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
1577 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPanel,
1578 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1579 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1580 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1581 if (obj2) {
1582 arg3 = (int)SWIG_As_int(obj2);
1583 if (PyErr_Occurred()) SWIG_fail;
1584 }
1585 if (obj3) {
1586 {
1587 arg4 = &temp4;
1588 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1589 }
1590 }
1591 if (obj4) {
1592 {
1593 arg5 = &temp5;
1594 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1595 }
1596 }
1597 if (obj5) {
1598 arg6 = (long)SWIG_As_long(obj5);
1599 if (PyErr_Occurred()) SWIG_fail;
1600 }
1601 if (obj6) {
1602 {
1603 arg7 = wxString_in_helper(obj6);
1604 if (arg7 == NULL) SWIG_fail;
1605 temp7 = true;
1606 }
1607 }
1608 {
1609 PyThreadState* __tstate = wxPyBeginAllowThreads();
1610 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1611
1612 wxPyEndAllowThreads(__tstate);
1613 if (PyErr_Occurred()) SWIG_fail;
1614 }
1615 {
1616 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1617 }
1618 {
1619 if (temp7)
1620 delete arg7;
1621 }
1622 return resultobj;
1623 fail:
1624 {
1625 if (temp7)
1626 delete arg7;
1627 }
1628 return NULL;
1629 }
1630
1631
1632 static PyObject *_wrap_Panel_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
1633 PyObject *resultobj;
1634 wxPanel *arg1 = (wxPanel *) 0 ;
1635 PyObject * obj0 = 0 ;
1636 char *kwnames[] = {
1637 (char *) "self", NULL
1638 };
1639
1640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_InitDialog",kwnames,&obj0)) goto fail;
1641 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPanel,
1642 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1643 {
1644 PyThreadState* __tstate = wxPyBeginAllowThreads();
1645 (arg1)->InitDialog();
1646
1647 wxPyEndAllowThreads(__tstate);
1648 if (PyErr_Occurred()) SWIG_fail;
1649 }
1650 Py_INCREF(Py_None); resultobj = Py_None;
1651 return resultobj;
1652 fail:
1653 return NULL;
1654 }
1655
1656
1657 static PyObject *_wrap_Panel_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
1658 PyObject *resultobj;
1659 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
1660 wxVisualAttributes result;
1661 PyObject * obj0 = 0 ;
1662 char *kwnames[] = {
1663 (char *) "variant", NULL
1664 };
1665
1666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
1667 if (obj0) {
1668 arg1 = (int)SWIG_As_int(obj0);
1669 if (PyErr_Occurred()) SWIG_fail;
1670 }
1671 {
1672 if (!wxPyCheckForApp()) SWIG_fail;
1673 PyThreadState* __tstate = wxPyBeginAllowThreads();
1674 result = wxPanel::GetClassDefaultAttributes((wxWindowVariant )arg1);
1675
1676 wxPyEndAllowThreads(__tstate);
1677 if (PyErr_Occurred()) SWIG_fail;
1678 }
1679 {
1680 wxVisualAttributes * resultptr;
1681 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
1682 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
1683 }
1684 return resultobj;
1685 fail:
1686 return NULL;
1687 }
1688
1689
1690 static PyObject * Panel_swigregister(PyObject *, PyObject *args) {
1691 PyObject *obj;
1692 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1693 SWIG_TypeClientData(SWIGTYPE_p_wxPanel, obj);
1694 Py_INCREF(obj);
1695 return Py_BuildValue((char *)"");
1696 }
1697 static PyObject *_wrap_new_ScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
1698 PyObject *resultobj;
1699 wxWindow *arg1 = (wxWindow *) 0 ;
1700 int arg2 = (int) (int)-1 ;
1701 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1702 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1703 wxSize const &arg4_defvalue = wxDefaultSize ;
1704 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1705 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
1706 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1707 wxString *arg6 = (wxString *) &arg6_defvalue ;
1708 wxScrolledWindow *result;
1709 wxPoint temp3 ;
1710 wxSize temp4 ;
1711 bool temp6 = false ;
1712 PyObject * obj0 = 0 ;
1713 PyObject * obj1 = 0 ;
1714 PyObject * obj2 = 0 ;
1715 PyObject * obj3 = 0 ;
1716 PyObject * obj4 = 0 ;
1717 PyObject * obj5 = 0 ;
1718 char *kwnames[] = {
1719 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1720 };
1721
1722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
1723 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1724 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1725 if (obj1) {
1726 arg2 = (int)SWIG_As_int(obj1);
1727 if (PyErr_Occurred()) SWIG_fail;
1728 }
1729 if (obj2) {
1730 {
1731 arg3 = &temp3;
1732 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1733 }
1734 }
1735 if (obj3) {
1736 {
1737 arg4 = &temp4;
1738 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1739 }
1740 }
1741 if (obj4) {
1742 arg5 = (long)SWIG_As_long(obj4);
1743 if (PyErr_Occurred()) SWIG_fail;
1744 }
1745 if (obj5) {
1746 {
1747 arg6 = wxString_in_helper(obj5);
1748 if (arg6 == NULL) SWIG_fail;
1749 temp6 = true;
1750 }
1751 }
1752 {
1753 if (!wxPyCheckForApp()) SWIG_fail;
1754 PyThreadState* __tstate = wxPyBeginAllowThreads();
1755 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1756
1757 wxPyEndAllowThreads(__tstate);
1758 if (PyErr_Occurred()) SWIG_fail;
1759 }
1760 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
1761 {
1762 if (temp6)
1763 delete arg6;
1764 }
1765 return resultobj;
1766 fail:
1767 {
1768 if (temp6)
1769 delete arg6;
1770 }
1771 return NULL;
1772 }
1773
1774
1775 static PyObject *_wrap_new_PreScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
1776 PyObject *resultobj;
1777 wxScrolledWindow *result;
1778 char *kwnames[] = {
1779 NULL
1780 };
1781
1782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrolledWindow",kwnames)) goto fail;
1783 {
1784 if (!wxPyCheckForApp()) SWIG_fail;
1785 PyThreadState* __tstate = wxPyBeginAllowThreads();
1786 result = (wxScrolledWindow *)new wxScrolledWindow();
1787
1788 wxPyEndAllowThreads(__tstate);
1789 if (PyErr_Occurred()) SWIG_fail;
1790 }
1791 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
1792 return resultobj;
1793 fail:
1794 return NULL;
1795 }
1796
1797
1798 static PyObject *_wrap_ScrolledWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
1799 PyObject *resultobj;
1800 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1801 wxWindow *arg2 = (wxWindow *) 0 ;
1802 int arg3 = (int) (int)-1 ;
1803 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1804 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1805 wxSize const &arg5_defvalue = wxDefaultSize ;
1806 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1807 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
1808 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1809 wxString *arg7 = (wxString *) &arg7_defvalue ;
1810 bool result;
1811 wxPoint temp4 ;
1812 wxSize temp5 ;
1813 bool temp7 = false ;
1814 PyObject * obj0 = 0 ;
1815 PyObject * obj1 = 0 ;
1816 PyObject * obj2 = 0 ;
1817 PyObject * obj3 = 0 ;
1818 PyObject * obj4 = 0 ;
1819 PyObject * obj5 = 0 ;
1820 PyObject * obj6 = 0 ;
1821 char *kwnames[] = {
1822 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1823 };
1824
1825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
1826 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1827 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1828 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1829 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1830 if (obj2) {
1831 arg3 = (int)SWIG_As_int(obj2);
1832 if (PyErr_Occurred()) SWIG_fail;
1833 }
1834 if (obj3) {
1835 {
1836 arg4 = &temp4;
1837 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1838 }
1839 }
1840 if (obj4) {
1841 {
1842 arg5 = &temp5;
1843 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1844 }
1845 }
1846 if (obj5) {
1847 arg6 = (long)SWIG_As_long(obj5);
1848 if (PyErr_Occurred()) SWIG_fail;
1849 }
1850 if (obj6) {
1851 {
1852 arg7 = wxString_in_helper(obj6);
1853 if (arg7 == NULL) SWIG_fail;
1854 temp7 = true;
1855 }
1856 }
1857 {
1858 PyThreadState* __tstate = wxPyBeginAllowThreads();
1859 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1860
1861 wxPyEndAllowThreads(__tstate);
1862 if (PyErr_Occurred()) SWIG_fail;
1863 }
1864 {
1865 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1866 }
1867 {
1868 if (temp7)
1869 delete arg7;
1870 }
1871 return resultobj;
1872 fail:
1873 {
1874 if (temp7)
1875 delete arg7;
1876 }
1877 return NULL;
1878 }
1879
1880
1881 static PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
1882 PyObject *resultobj;
1883 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1884 int arg2 ;
1885 int arg3 ;
1886 int arg4 ;
1887 int arg5 ;
1888 int arg6 = (int) 0 ;
1889 int arg7 = (int) 0 ;
1890 bool arg8 = (bool) false ;
1891 PyObject * obj0 = 0 ;
1892 PyObject * obj1 = 0 ;
1893 PyObject * obj2 = 0 ;
1894 PyObject * obj3 = 0 ;
1895 PyObject * obj4 = 0 ;
1896 PyObject * obj5 = 0 ;
1897 PyObject * obj6 = 0 ;
1898 PyObject * obj7 = 0 ;
1899 char *kwnames[] = {
1900 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1901 };
1902
1903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
1904 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1905 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1906 arg2 = (int)SWIG_As_int(obj1);
1907 if (PyErr_Occurred()) SWIG_fail;
1908 arg3 = (int)SWIG_As_int(obj2);
1909 if (PyErr_Occurred()) SWIG_fail;
1910 arg4 = (int)SWIG_As_int(obj3);
1911 if (PyErr_Occurred()) SWIG_fail;
1912 arg5 = (int)SWIG_As_int(obj4);
1913 if (PyErr_Occurred()) SWIG_fail;
1914 if (obj5) {
1915 arg6 = (int)SWIG_As_int(obj5);
1916 if (PyErr_Occurred()) SWIG_fail;
1917 }
1918 if (obj6) {
1919 arg7 = (int)SWIG_As_int(obj6);
1920 if (PyErr_Occurred()) SWIG_fail;
1921 }
1922 if (obj7) {
1923 arg8 = (bool)SWIG_As_bool(obj7);
1924 if (PyErr_Occurred()) SWIG_fail;
1925 }
1926 {
1927 PyThreadState* __tstate = wxPyBeginAllowThreads();
1928 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
1929
1930 wxPyEndAllowThreads(__tstate);
1931 if (PyErr_Occurred()) SWIG_fail;
1932 }
1933 Py_INCREF(Py_None); resultobj = Py_None;
1934 return resultobj;
1935 fail:
1936 return NULL;
1937 }
1938
1939
1940 static PyObject *_wrap_ScrolledWindow_Scroll(PyObject *, PyObject *args, PyObject *kwargs) {
1941 PyObject *resultobj;
1942 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1943 int arg2 ;
1944 int arg3 ;
1945 PyObject * obj0 = 0 ;
1946 PyObject * obj1 = 0 ;
1947 PyObject * obj2 = 0 ;
1948 char *kwnames[] = {
1949 (char *) "self",(char *) "x",(char *) "y", NULL
1950 };
1951
1952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) goto fail;
1953 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1954 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1955 arg2 = (int)SWIG_As_int(obj1);
1956 if (PyErr_Occurred()) SWIG_fail;
1957 arg3 = (int)SWIG_As_int(obj2);
1958 if (PyErr_Occurred()) SWIG_fail;
1959 {
1960 PyThreadState* __tstate = wxPyBeginAllowThreads();
1961 (arg1)->Scroll(arg2,arg3);
1962
1963 wxPyEndAllowThreads(__tstate);
1964 if (PyErr_Occurred()) SWIG_fail;
1965 }
1966 Py_INCREF(Py_None); resultobj = Py_None;
1967 return resultobj;
1968 fail:
1969 return NULL;
1970 }
1971
1972
1973 static PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
1974 PyObject *resultobj;
1975 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1976 int arg2 ;
1977 int result;
1978 PyObject * obj0 = 0 ;
1979 PyObject * obj1 = 0 ;
1980 char *kwnames[] = {
1981 (char *) "self",(char *) "orient", NULL
1982 };
1983
1984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) goto fail;
1985 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1986 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1987 arg2 = (int)SWIG_As_int(obj1);
1988 if (PyErr_Occurred()) SWIG_fail;
1989 {
1990 PyThreadState* __tstate = wxPyBeginAllowThreads();
1991 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
1992
1993 wxPyEndAllowThreads(__tstate);
1994 if (PyErr_Occurred()) SWIG_fail;
1995 }
1996 resultobj = SWIG_From_int((int)result);
1997 return resultobj;
1998 fail:
1999 return NULL;
2000 }
2001
2002
2003 static PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
2004 PyObject *resultobj;
2005 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2006 int arg2 ;
2007 int arg3 ;
2008 PyObject * obj0 = 0 ;
2009 PyObject * obj1 = 0 ;
2010 PyObject * obj2 = 0 ;
2011 char *kwnames[] = {
2012 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
2013 };
2014
2015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2016 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2017 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2018 arg2 = (int)SWIG_As_int(obj1);
2019 if (PyErr_Occurred()) SWIG_fail;
2020 arg3 = (int)SWIG_As_int(obj2);
2021 if (PyErr_Occurred()) SWIG_fail;
2022 {
2023 PyThreadState* __tstate = wxPyBeginAllowThreads();
2024 (arg1)->SetScrollPageSize(arg2,arg3);
2025
2026 wxPyEndAllowThreads(__tstate);
2027 if (PyErr_Occurred()) SWIG_fail;
2028 }
2029 Py_INCREF(Py_None); resultobj = Py_None;
2030 return resultobj;
2031 fail:
2032 return NULL;
2033 }
2034
2035
2036 static PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *, PyObject *args, PyObject *kwargs) {
2037 PyObject *resultobj;
2038 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2039 int arg2 ;
2040 int arg3 ;
2041 PyObject * obj0 = 0 ;
2042 PyObject * obj1 = 0 ;
2043 PyObject * obj2 = 0 ;
2044 char *kwnames[] = {
2045 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
2046 };
2047
2048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) goto fail;
2049 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2050 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2051 arg2 = (int)SWIG_As_int(obj1);
2052 if (PyErr_Occurred()) SWIG_fail;
2053 arg3 = (int)SWIG_As_int(obj2);
2054 if (PyErr_Occurred()) SWIG_fail;
2055 {
2056 PyThreadState* __tstate = wxPyBeginAllowThreads();
2057 (arg1)->SetScrollRate(arg2,arg3);
2058
2059 wxPyEndAllowThreads(__tstate);
2060 if (PyErr_Occurred()) SWIG_fail;
2061 }
2062 Py_INCREF(Py_None); resultobj = Py_None;
2063 return resultobj;
2064 fail:
2065 return NULL;
2066 }
2067
2068
2069 static PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *, PyObject *args, PyObject *kwargs) {
2070 PyObject *resultobj;
2071 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2072 int *arg2 = (int *) 0 ;
2073 int *arg3 = (int *) 0 ;
2074 int temp2 ;
2075 int res2 = 0 ;
2076 int temp3 ;
2077 int res3 = 0 ;
2078 PyObject * obj0 = 0 ;
2079 char *kwnames[] = {
2080 (char *) "self", NULL
2081 };
2082
2083 arg2 = &temp2; res2 = SWIG_NEWOBJ;
2084 arg3 = &temp3; res3 = SWIG_NEWOBJ;
2085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames,&obj0)) goto fail;
2086 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2087 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2088 {
2089 PyThreadState* __tstate = wxPyBeginAllowThreads();
2090 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
2091
2092 wxPyEndAllowThreads(__tstate);
2093 if (PyErr_Occurred()) SWIG_fail;
2094 }
2095 Py_INCREF(Py_None); resultobj = Py_None;
2096 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
2097 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
2098 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
2099 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
2100 return resultobj;
2101 fail:
2102 return NULL;
2103 }
2104
2105
2106 static PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *, PyObject *args, PyObject *kwargs) {
2107 PyObject *resultobj;
2108 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2109 bool arg2 ;
2110 bool arg3 ;
2111 PyObject * obj0 = 0 ;
2112 PyObject * obj1 = 0 ;
2113 PyObject * obj2 = 0 ;
2114 char *kwnames[] = {
2115 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
2116 };
2117
2118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) goto fail;
2119 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2120 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2121 arg2 = (bool)SWIG_As_bool(obj1);
2122 if (PyErr_Occurred()) SWIG_fail;
2123 arg3 = (bool)SWIG_As_bool(obj2);
2124 if (PyErr_Occurred()) SWIG_fail;
2125 {
2126 PyThreadState* __tstate = wxPyBeginAllowThreads();
2127 (arg1)->EnableScrolling(arg2,arg3);
2128
2129 wxPyEndAllowThreads(__tstate);
2130 if (PyErr_Occurred()) SWIG_fail;
2131 }
2132 Py_INCREF(Py_None); resultobj = Py_None;
2133 return resultobj;
2134 fail:
2135 return NULL;
2136 }
2137
2138
2139 static PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *, PyObject *args, PyObject *kwargs) {
2140 PyObject *resultobj;
2141 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2142 int *arg2 = (int *) 0 ;
2143 int *arg3 = (int *) 0 ;
2144 int temp2 ;
2145 int res2 = 0 ;
2146 int temp3 ;
2147 int res3 = 0 ;
2148 PyObject * obj0 = 0 ;
2149 char *kwnames[] = {
2150 (char *) "self", NULL
2151 };
2152
2153 arg2 = &temp2; res2 = SWIG_NEWOBJ;
2154 arg3 = &temp3; res3 = SWIG_NEWOBJ;
2155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetViewStart",kwnames,&obj0)) goto fail;
2156 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2157 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2158 {
2159 PyThreadState* __tstate = wxPyBeginAllowThreads();
2160 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
2161
2162 wxPyEndAllowThreads(__tstate);
2163 if (PyErr_Occurred()) SWIG_fail;
2164 }
2165 Py_INCREF(Py_None); resultobj = Py_None;
2166 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
2167 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
2168 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
2169 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
2170 return resultobj;
2171 fail:
2172 return NULL;
2173 }
2174
2175
2176 static PyObject *_wrap_ScrolledWindow_SetScale(PyObject *, PyObject *args, PyObject *kwargs) {
2177 PyObject *resultobj;
2178 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2179 double arg2 ;
2180 double arg3 ;
2181 PyObject * obj0 = 0 ;
2182 PyObject * obj1 = 0 ;
2183 PyObject * obj2 = 0 ;
2184 char *kwnames[] = {
2185 (char *) "self",(char *) "xs",(char *) "ys", NULL
2186 };
2187
2188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) goto fail;
2189 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2190 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2191 arg2 = (double)SWIG_As_double(obj1);
2192 if (PyErr_Occurred()) SWIG_fail;
2193 arg3 = (double)SWIG_As_double(obj2);
2194 if (PyErr_Occurred()) SWIG_fail;
2195 {
2196 PyThreadState* __tstate = wxPyBeginAllowThreads();
2197 (arg1)->SetScale(arg2,arg3);
2198
2199 wxPyEndAllowThreads(__tstate);
2200 if (PyErr_Occurred()) SWIG_fail;
2201 }
2202 Py_INCREF(Py_None); resultobj = Py_None;
2203 return resultobj;
2204 fail:
2205 return NULL;
2206 }
2207
2208
2209 static PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *, PyObject *args, PyObject *kwargs) {
2210 PyObject *resultobj;
2211 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2212 double result;
2213 PyObject * obj0 = 0 ;
2214 char *kwnames[] = {
2215 (char *) "self", NULL
2216 };
2217
2218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleX",kwnames,&obj0)) goto fail;
2219 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2220 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2221 {
2222 PyThreadState* __tstate = wxPyBeginAllowThreads();
2223 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
2224
2225 wxPyEndAllowThreads(__tstate);
2226 if (PyErr_Occurred()) SWIG_fail;
2227 }
2228 resultobj = SWIG_From_double((double)result);
2229 return resultobj;
2230 fail:
2231 return NULL;
2232 }
2233
2234
2235 static PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *, PyObject *args, PyObject *kwargs) {
2236 PyObject *resultobj;
2237 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2238 double result;
2239 PyObject * obj0 = 0 ;
2240 char *kwnames[] = {
2241 (char *) "self", NULL
2242 };
2243
2244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleY",kwnames,&obj0)) goto fail;
2245 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2246 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2247 {
2248 PyThreadState* __tstate = wxPyBeginAllowThreads();
2249 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
2250
2251 wxPyEndAllowThreads(__tstate);
2252 if (PyErr_Occurred()) SWIG_fail;
2253 }
2254 resultobj = SWIG_From_double((double)result);
2255 return resultobj;
2256 fail:
2257 return NULL;
2258 }
2259
2260
2261 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *, PyObject *args) {
2262 PyObject *resultobj;
2263 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2264 wxPoint *arg2 = 0 ;
2265 wxPoint result;
2266 wxPoint temp2 ;
2267 PyObject * obj0 = 0 ;
2268 PyObject * obj1 = 0 ;
2269
2270 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1)) goto fail;
2271 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2272 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2273 {
2274 arg2 = &temp2;
2275 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2276 }
2277 {
2278 PyThreadState* __tstate = wxPyBeginAllowThreads();
2279 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
2280
2281 wxPyEndAllowThreads(__tstate);
2282 if (PyErr_Occurred()) SWIG_fail;
2283 }
2284 {
2285 wxPoint * resultptr;
2286 resultptr = new wxPoint((wxPoint &) result);
2287 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
2288 }
2289 return resultobj;
2290 fail:
2291 return NULL;
2292 }
2293
2294
2295 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *, PyObject *args) {
2296 PyObject *resultobj;
2297 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2298 int arg2 ;
2299 int arg3 ;
2300 int *arg4 = (int *) 0 ;
2301 int *arg5 = (int *) 0 ;
2302 int temp4 ;
2303 int res4 = 0 ;
2304 int temp5 ;
2305 int res5 = 0 ;
2306 PyObject * obj0 = 0 ;
2307 PyObject * obj1 = 0 ;
2308 PyObject * obj2 = 0 ;
2309
2310 arg4 = &temp4; res4 = SWIG_NEWOBJ;
2311 arg5 = &temp5; res5 = SWIG_NEWOBJ;
2312 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1,&obj2)) goto fail;
2313 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2314 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2315 arg2 = (int)SWIG_As_int(obj1);
2316 if (PyErr_Occurred()) SWIG_fail;
2317 arg3 = (int)SWIG_As_int(obj2);
2318 if (PyErr_Occurred()) SWIG_fail;
2319 {
2320 PyThreadState* __tstate = wxPyBeginAllowThreads();
2321 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
2322
2323 wxPyEndAllowThreads(__tstate);
2324 if (PyErr_Occurred()) SWIG_fail;
2325 }
2326 Py_INCREF(Py_None); resultobj = Py_None;
2327 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
2328 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
2329 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
2330 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
2331 return resultobj;
2332 fail:
2333 return NULL;
2334 }
2335
2336
2337 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
2338 int argc;
2339 PyObject *argv[4];
2340 int ii;
2341
2342 argc = PyObject_Length(args);
2343 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
2344 argv[ii] = PyTuple_GetItem(args,ii);
2345 }
2346 if (argc == 2) {
2347 int _v;
2348 {
2349 void *ptr;
2350 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2351 _v = 0;
2352 PyErr_Clear();
2353 } else {
2354 _v = 1;
2355 }
2356 }
2357 if (_v) {
2358 {
2359 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
2360 }
2361 if (_v) {
2362 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self,args);
2363 }
2364 }
2365 }
2366 if (argc == 3) {
2367 int _v;
2368 {
2369 void *ptr;
2370 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2371 _v = 0;
2372 PyErr_Clear();
2373 } else {
2374 _v = 1;
2375 }
2376 }
2377 if (_v) {
2378 _v = SWIG_Check_int(argv[1]);
2379 if (_v) {
2380 _v = SWIG_Check_int(argv[2]);
2381 if (_v) {
2382 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self,args);
2383 }
2384 }
2385 }
2386 }
2387
2388 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
2389 return NULL;
2390 }
2391
2392
2393 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *, PyObject *args) {
2394 PyObject *resultobj;
2395 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2396 wxPoint *arg2 = 0 ;
2397 wxPoint result;
2398 wxPoint temp2 ;
2399 PyObject * obj0 = 0 ;
2400 PyObject * obj1 = 0 ;
2401
2402 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1)) goto fail;
2403 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2404 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2405 {
2406 arg2 = &temp2;
2407 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2408 }
2409 {
2410 PyThreadState* __tstate = wxPyBeginAllowThreads();
2411 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
2412
2413 wxPyEndAllowThreads(__tstate);
2414 if (PyErr_Occurred()) SWIG_fail;
2415 }
2416 {
2417 wxPoint * resultptr;
2418 resultptr = new wxPoint((wxPoint &) result);
2419 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
2420 }
2421 return resultobj;
2422 fail:
2423 return NULL;
2424 }
2425
2426
2427 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *, PyObject *args) {
2428 PyObject *resultobj;
2429 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2430 int arg2 ;
2431 int arg3 ;
2432 int *arg4 = (int *) 0 ;
2433 int *arg5 = (int *) 0 ;
2434 int temp4 ;
2435 int res4 = 0 ;
2436 int temp5 ;
2437 int res5 = 0 ;
2438 PyObject * obj0 = 0 ;
2439 PyObject * obj1 = 0 ;
2440 PyObject * obj2 = 0 ;
2441
2442 arg4 = &temp4; res4 = SWIG_NEWOBJ;
2443 arg5 = &temp5; res5 = SWIG_NEWOBJ;
2444 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1,&obj2)) goto fail;
2445 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2446 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2447 arg2 = (int)SWIG_As_int(obj1);
2448 if (PyErr_Occurred()) SWIG_fail;
2449 arg3 = (int)SWIG_As_int(obj2);
2450 if (PyErr_Occurred()) SWIG_fail;
2451 {
2452 PyThreadState* __tstate = wxPyBeginAllowThreads();
2453 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
2454
2455 wxPyEndAllowThreads(__tstate);
2456 if (PyErr_Occurred()) SWIG_fail;
2457 }
2458 Py_INCREF(Py_None); resultobj = Py_None;
2459 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
2460 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
2461 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
2462 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
2463 return resultobj;
2464 fail:
2465 return NULL;
2466 }
2467
2468
2469 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
2470 int argc;
2471 PyObject *argv[4];
2472 int ii;
2473
2474 argc = PyObject_Length(args);
2475 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
2476 argv[ii] = PyTuple_GetItem(args,ii);
2477 }
2478 if (argc == 2) {
2479 int _v;
2480 {
2481 void *ptr;
2482 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2483 _v = 0;
2484 PyErr_Clear();
2485 } else {
2486 _v = 1;
2487 }
2488 }
2489 if (_v) {
2490 {
2491 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
2492 }
2493 if (_v) {
2494 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self,args);
2495 }
2496 }
2497 }
2498 if (argc == 3) {
2499 int _v;
2500 {
2501 void *ptr;
2502 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2503 _v = 0;
2504 PyErr_Clear();
2505 } else {
2506 _v = 1;
2507 }
2508 }
2509 if (_v) {
2510 _v = SWIG_Check_int(argv[1]);
2511 if (_v) {
2512 _v = SWIG_Check_int(argv[2]);
2513 if (_v) {
2514 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self,args);
2515 }
2516 }
2517 }
2518 }
2519
2520 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
2521 return NULL;
2522 }
2523
2524
2525 static PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
2526 PyObject *resultobj;
2527 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2528 PyObject * obj0 = 0 ;
2529 char *kwnames[] = {
2530 (char *) "self", NULL
2531 };
2532
2533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames,&obj0)) goto fail;
2534 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2535 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2536 {
2537 PyThreadState* __tstate = wxPyBeginAllowThreads();
2538 (arg1)->AdjustScrollbars();
2539
2540 wxPyEndAllowThreads(__tstate);
2541 if (PyErr_Occurred()) SWIG_fail;
2542 }
2543 Py_INCREF(Py_None); resultobj = Py_None;
2544 return resultobj;
2545 fail:
2546 return NULL;
2547 }
2548
2549
2550 static PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *, PyObject *args, PyObject *kwargs) {
2551 PyObject *resultobj;
2552 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2553 wxScrollWinEvent *arg2 = 0 ;
2554 int result;
2555 PyObject * obj0 = 0 ;
2556 PyObject * obj1 = 0 ;
2557 char *kwnames[] = {
2558 (char *) "self",(char *) "event", NULL
2559 };
2560
2561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) goto fail;
2562 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2563 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2564 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxScrollWinEvent,
2565 SWIG_POINTER_EXCEPTION | 0)) == -1)
2566 SWIG_fail;
2567 if (arg2 == NULL) {
2568 PyErr_SetString(PyExc_TypeError,"null reference");
2569 SWIG_fail;
2570 }
2571 {
2572 PyThreadState* __tstate = wxPyBeginAllowThreads();
2573 result = (int)(arg1)->CalcScrollInc(*arg2);
2574
2575 wxPyEndAllowThreads(__tstate);
2576 if (PyErr_Occurred()) SWIG_fail;
2577 }
2578 resultobj = SWIG_From_int((int)result);
2579 return resultobj;
2580 fail:
2581 return NULL;
2582 }
2583
2584
2585 static PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
2586 PyObject *resultobj;
2587 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2588 wxWindow *arg2 = (wxWindow *) 0 ;
2589 PyObject * obj0 = 0 ;
2590 PyObject * obj1 = 0 ;
2591 char *kwnames[] = {
2592 (char *) "self",(char *) "target", NULL
2593 };
2594
2595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) goto fail;
2596 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2597 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2598 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
2599 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2600 {
2601 PyThreadState* __tstate = wxPyBeginAllowThreads();
2602 (arg1)->SetTargetWindow(arg2);
2603
2604 wxPyEndAllowThreads(__tstate);
2605 if (PyErr_Occurred()) SWIG_fail;
2606 }
2607 Py_INCREF(Py_None); resultobj = Py_None;
2608 return resultobj;
2609 fail:
2610 return NULL;
2611 }
2612
2613
2614 static PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
2615 PyObject *resultobj;
2616 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2617 wxWindow *result;
2618 PyObject * obj0 = 0 ;
2619 char *kwnames[] = {
2620 (char *) "self", NULL
2621 };
2622
2623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames,&obj0)) goto fail;
2624 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2625 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2626 {
2627 PyThreadState* __tstate = wxPyBeginAllowThreads();
2628 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
2629
2630 wxPyEndAllowThreads(__tstate);
2631 if (PyErr_Occurred()) SWIG_fail;
2632 }
2633 {
2634 resultobj = wxPyMake_wxObject(result, 0);
2635 }
2636 return resultobj;
2637 fail:
2638 return NULL;
2639 }
2640
2641
2642 static PyObject *_wrap_ScrolledWindow_SetTargetRect(PyObject *, PyObject *args, PyObject *kwargs) {
2643 PyObject *resultobj;
2644 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2645 wxRect *arg2 = 0 ;
2646 wxRect temp2 ;
2647 PyObject * obj0 = 0 ;
2648 PyObject * obj1 = 0 ;
2649 char *kwnames[] = {
2650 (char *) "self",(char *) "rect", NULL
2651 };
2652
2653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames,&obj0,&obj1)) goto fail;
2654 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2655 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2656 {
2657 arg2 = &temp2;
2658 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
2659 }
2660 {
2661 PyThreadState* __tstate = wxPyBeginAllowThreads();
2662 (arg1)->SetTargetRect((wxRect const &)*arg2);
2663
2664 wxPyEndAllowThreads(__tstate);
2665 if (PyErr_Occurred()) SWIG_fail;
2666 }
2667 Py_INCREF(Py_None); resultobj = Py_None;
2668 return resultobj;
2669 fail:
2670 return NULL;
2671 }
2672
2673
2674 static PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *, PyObject *args, PyObject *kwargs) {
2675 PyObject *resultobj;
2676 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2677 wxRect result;
2678 PyObject * obj0 = 0 ;
2679 char *kwnames[] = {
2680 (char *) "self", NULL
2681 };
2682
2683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetRect",kwnames,&obj0)) goto fail;
2684 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2685 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2686 {
2687 PyThreadState* __tstate = wxPyBeginAllowThreads();
2688 result = ((wxScrolledWindow const *)arg1)->GetTargetRect();
2689
2690 wxPyEndAllowThreads(__tstate);
2691 if (PyErr_Occurred()) SWIG_fail;
2692 }
2693 {
2694 wxRect * resultptr;
2695 resultptr = new wxRect((wxRect &) result);
2696 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
2697 }
2698 return resultobj;
2699 fail:
2700 return NULL;
2701 }
2702
2703
2704 static PyObject *_wrap_ScrolledWindow_DoPrepareDC(PyObject *, PyObject *args, PyObject *kwargs) {
2705 PyObject *resultobj;
2706 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2707 wxDC *arg2 = 0 ;
2708 PyObject * obj0 = 0 ;
2709 PyObject * obj1 = 0 ;
2710 char *kwnames[] = {
2711 (char *) "self",(char *) "dc", NULL
2712 };
2713
2714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames,&obj0,&obj1)) goto fail;
2715 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2716 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2717 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
2718 SWIG_POINTER_EXCEPTION | 0)) == -1)
2719 SWIG_fail;
2720 if (arg2 == NULL) {
2721 PyErr_SetString(PyExc_TypeError,"null reference");
2722 SWIG_fail;
2723 }
2724 {
2725 PyThreadState* __tstate = wxPyBeginAllowThreads();
2726 (arg1)->DoPrepareDC(*arg2);
2727
2728 wxPyEndAllowThreads(__tstate);
2729 if (PyErr_Occurred()) SWIG_fail;
2730 }
2731 Py_INCREF(Py_None); resultobj = Py_None;
2732 return resultobj;
2733 fail:
2734 return NULL;
2735 }
2736
2737
2738 static PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
2739 PyObject *resultobj;
2740 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
2741 wxVisualAttributes result;
2742 PyObject * obj0 = 0 ;
2743 char *kwnames[] = {
2744 (char *) "variant", NULL
2745 };
2746
2747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
2748 if (obj0) {
2749 arg1 = (int)SWIG_As_int(obj0);
2750 if (PyErr_Occurred()) SWIG_fail;
2751 }
2752 {
2753 if (!wxPyCheckForApp()) SWIG_fail;
2754 PyThreadState* __tstate = wxPyBeginAllowThreads();
2755 result = wxScrolledWindow::GetClassDefaultAttributes((wxWindowVariant )arg1);
2756
2757 wxPyEndAllowThreads(__tstate);
2758 if (PyErr_Occurred()) SWIG_fail;
2759 }
2760 {
2761 wxVisualAttributes * resultptr;
2762 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
2763 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
2764 }
2765 return resultobj;
2766 fail:
2767 return NULL;
2768 }
2769
2770
2771 static PyObject * ScrolledWindow_swigregister(PyObject *, PyObject *args) {
2772 PyObject *obj;
2773 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2774 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj);
2775 Py_INCREF(obj);
2776 return Py_BuildValue((char *)"");
2777 }
2778 static int _wrap_FrameNameStr_set(PyObject *) {
2779 PyErr_SetString(PyExc_TypeError,"Variable FrameNameStr is read-only.");
2780 return 1;
2781 }
2782
2783
2784 static PyObject *_wrap_FrameNameStr_get() {
2785 PyObject *pyobj;
2786
2787 {
2788 #if wxUSE_UNICODE
2789 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2790 #else
2791 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2792 #endif
2793 }
2794 return pyobj;
2795 }
2796
2797
2798 static int _wrap_DialogNameStr_set(PyObject *) {
2799 PyErr_SetString(PyExc_TypeError,"Variable DialogNameStr is read-only.");
2800 return 1;
2801 }
2802
2803
2804 static PyObject *_wrap_DialogNameStr_get() {
2805 PyObject *pyobj;
2806
2807 {
2808 #if wxUSE_UNICODE
2809 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2810 #else
2811 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2812 #endif
2813 }
2814 return pyobj;
2815 }
2816
2817
2818 static int _wrap_StatusLineNameStr_set(PyObject *) {
2819 PyErr_SetString(PyExc_TypeError,"Variable StatusLineNameStr is read-only.");
2820 return 1;
2821 }
2822
2823
2824 static PyObject *_wrap_StatusLineNameStr_get() {
2825 PyObject *pyobj;
2826
2827 {
2828 #if wxUSE_UNICODE
2829 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2830 #else
2831 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2832 #endif
2833 }
2834 return pyobj;
2835 }
2836
2837
2838 static int _wrap_ToolBarNameStr_set(PyObject *) {
2839 PyErr_SetString(PyExc_TypeError,"Variable ToolBarNameStr is read-only.");
2840 return 1;
2841 }
2842
2843
2844 static PyObject *_wrap_ToolBarNameStr_get() {
2845 PyObject *pyobj;
2846
2847 {
2848 #if wxUSE_UNICODE
2849 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2850 #else
2851 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2852 #endif
2853 }
2854 return pyobj;
2855 }
2856
2857
2858 static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *, PyObject *args, PyObject *kwargs) {
2859 PyObject *resultobj;
2860 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2861 bool arg2 = (bool) true ;
2862 PyObject * obj0 = 0 ;
2863 PyObject * obj1 = 0 ;
2864 char *kwnames[] = {
2865 (char *) "self",(char *) "maximize", NULL
2866 };
2867
2868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail;
2869 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2870 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2871 if (obj1) {
2872 arg2 = (bool)SWIG_As_bool(obj1);
2873 if (PyErr_Occurred()) SWIG_fail;
2874 }
2875 {
2876 PyThreadState* __tstate = wxPyBeginAllowThreads();
2877 (arg1)->Maximize(arg2);
2878
2879 wxPyEndAllowThreads(__tstate);
2880 if (PyErr_Occurred()) SWIG_fail;
2881 }
2882 Py_INCREF(Py_None); resultobj = Py_None;
2883 return resultobj;
2884 fail:
2885 return NULL;
2886 }
2887
2888
2889 static PyObject *_wrap_TopLevelWindow_Restore(PyObject *, PyObject *args, PyObject *kwargs) {
2890 PyObject *resultobj;
2891 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2892 PyObject * obj0 = 0 ;
2893 char *kwnames[] = {
2894 (char *) "self", NULL
2895 };
2896
2897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",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 (arg1)->Restore();
2903
2904 wxPyEndAllowThreads(__tstate);
2905 if (PyErr_Occurred()) SWIG_fail;
2906 }
2907 Py_INCREF(Py_None); resultobj = Py_None;
2908 return resultobj;
2909 fail:
2910 return NULL;
2911 }
2912
2913
2914 static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *, PyObject *args, PyObject *kwargs) {
2915 PyObject *resultobj;
2916 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2917 bool arg2 = (bool) true ;
2918 PyObject * obj0 = 0 ;
2919 PyObject * obj1 = 0 ;
2920 char *kwnames[] = {
2921 (char *) "self",(char *) "iconize", NULL
2922 };
2923
2924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail;
2925 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2926 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2927 if (obj1) {
2928 arg2 = (bool)SWIG_As_bool(obj1);
2929 if (PyErr_Occurred()) SWIG_fail;
2930 }
2931 {
2932 PyThreadState* __tstate = wxPyBeginAllowThreads();
2933 (arg1)->Iconize(arg2);
2934
2935 wxPyEndAllowThreads(__tstate);
2936 if (PyErr_Occurred()) SWIG_fail;
2937 }
2938 Py_INCREF(Py_None); resultobj = Py_None;
2939 return resultobj;
2940 fail:
2941 return NULL;
2942 }
2943
2944
2945 static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *, PyObject *args, PyObject *kwargs) {
2946 PyObject *resultobj;
2947 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2948 bool result;
2949 PyObject * obj0 = 0 ;
2950 char *kwnames[] = {
2951 (char *) "self", NULL
2952 };
2953
2954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail;
2955 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2956 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2957 {
2958 PyThreadState* __tstate = wxPyBeginAllowThreads();
2959 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
2960
2961 wxPyEndAllowThreads(__tstate);
2962 if (PyErr_Occurred()) SWIG_fail;
2963 }
2964 {
2965 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2966 }
2967 return resultobj;
2968 fail:
2969 return NULL;
2970 }
2971
2972
2973 static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *, PyObject *args, PyObject *kwargs) {
2974 PyObject *resultobj;
2975 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2976 bool result;
2977 PyObject * obj0 = 0 ;
2978 char *kwnames[] = {
2979 (char *) "self", NULL
2980 };
2981
2982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail;
2983 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2984 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2985 {
2986 PyThreadState* __tstate = wxPyBeginAllowThreads();
2987 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
2988
2989 wxPyEndAllowThreads(__tstate);
2990 if (PyErr_Occurred()) SWIG_fail;
2991 }
2992 {
2993 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2994 }
2995 return resultobj;
2996 fail:
2997 return NULL;
2998 }
2999
3000
3001 static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
3002 PyObject *resultobj;
3003 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3004 wxIcon result;
3005 PyObject * obj0 = 0 ;
3006 char *kwnames[] = {
3007 (char *) "self", NULL
3008 };
3009
3010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail;
3011 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3012 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3013 {
3014 PyThreadState* __tstate = wxPyBeginAllowThreads();
3015 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
3016
3017 wxPyEndAllowThreads(__tstate);
3018 if (PyErr_Occurred()) SWIG_fail;
3019 }
3020 {
3021 wxIcon * resultptr;
3022 resultptr = new wxIcon((wxIcon &) result);
3023 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1);
3024 }
3025 return resultobj;
3026 fail:
3027 return NULL;
3028 }
3029
3030
3031 static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
3032 PyObject *resultobj;
3033 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3034 wxIcon *arg2 = 0 ;
3035 PyObject * obj0 = 0 ;
3036 PyObject * obj1 = 0 ;
3037 char *kwnames[] = {
3038 (char *) "self",(char *) "icon", NULL
3039 };
3040
3041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail;
3042 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3043 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3044 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
3045 SWIG_POINTER_EXCEPTION | 0)) == -1)
3046 SWIG_fail;
3047 if (arg2 == NULL) {
3048 PyErr_SetString(PyExc_TypeError,"null reference");
3049 SWIG_fail;
3050 }
3051 {
3052 PyThreadState* __tstate = wxPyBeginAllowThreads();
3053 (arg1)->SetIcon((wxIcon const &)*arg2);
3054
3055 wxPyEndAllowThreads(__tstate);
3056 if (PyErr_Occurred()) SWIG_fail;
3057 }
3058 Py_INCREF(Py_None); resultobj = Py_None;
3059 return resultobj;
3060 fail:
3061 return NULL;
3062 }
3063
3064
3065 static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *, PyObject *args, PyObject *kwargs) {
3066 PyObject *resultobj;
3067 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3068 wxIconBundle *arg2 = 0 ;
3069 PyObject * obj0 = 0 ;
3070 PyObject * obj1 = 0 ;
3071 char *kwnames[] = {
3072 (char *) "self",(char *) "icons", NULL
3073 };
3074
3075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail;
3076 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3077 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3078 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIconBundle,
3079 SWIG_POINTER_EXCEPTION | 0)) == -1)
3080 SWIG_fail;
3081 if (arg2 == NULL) {
3082 PyErr_SetString(PyExc_TypeError,"null reference");
3083 SWIG_fail;
3084 }
3085 {
3086 PyThreadState* __tstate = wxPyBeginAllowThreads();
3087 (arg1)->SetIcons((wxIconBundle const &)*arg2);
3088
3089 wxPyEndAllowThreads(__tstate);
3090 if (PyErr_Occurred()) SWIG_fail;
3091 }
3092 Py_INCREF(Py_None); resultobj = Py_None;
3093 return resultobj;
3094 fail:
3095 return NULL;
3096 }
3097
3098
3099 static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *, PyObject *args, PyObject *kwargs) {
3100 PyObject *resultobj;
3101 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3102 bool arg2 ;
3103 long arg3 = (long) wxFULLSCREEN_ALL ;
3104 bool result;
3105 PyObject * obj0 = 0 ;
3106 PyObject * obj1 = 0 ;
3107 PyObject * obj2 = 0 ;
3108 char *kwnames[] = {
3109 (char *) "self",(char *) "show",(char *) "style", NULL
3110 };
3111
3112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
3113 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3114 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3115 arg2 = (bool)SWIG_As_bool(obj1);
3116 if (PyErr_Occurred()) SWIG_fail;
3117 if (obj2) {
3118 arg3 = (long)SWIG_As_long(obj2);
3119 if (PyErr_Occurred()) SWIG_fail;
3120 }
3121 {
3122 PyThreadState* __tstate = wxPyBeginAllowThreads();
3123 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
3124
3125 wxPyEndAllowThreads(__tstate);
3126 if (PyErr_Occurred()) SWIG_fail;
3127 }
3128 {
3129 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3130 }
3131 return resultobj;
3132 fail:
3133 return NULL;
3134 }
3135
3136
3137 static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *, PyObject *args, PyObject *kwargs) {
3138 PyObject *resultobj;
3139 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3140 bool result;
3141 PyObject * obj0 = 0 ;
3142 char *kwnames[] = {
3143 (char *) "self", NULL
3144 };
3145
3146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail;
3147 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3148 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3149 {
3150 PyThreadState* __tstate = wxPyBeginAllowThreads();
3151 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
3152
3153 wxPyEndAllowThreads(__tstate);
3154 if (PyErr_Occurred()) SWIG_fail;
3155 }
3156 {
3157 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3158 }
3159 return resultobj;
3160 fail:
3161 return NULL;
3162 }
3163
3164
3165 static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
3166 PyObject *resultobj;
3167 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3168 wxString *arg2 = 0 ;
3169 bool temp2 = false ;
3170 PyObject * obj0 = 0 ;
3171 PyObject * obj1 = 0 ;
3172 char *kwnames[] = {
3173 (char *) "self",(char *) "title", NULL
3174 };
3175
3176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail;
3177 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3178 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3179 {
3180 arg2 = wxString_in_helper(obj1);
3181 if (arg2 == NULL) SWIG_fail;
3182 temp2 = true;
3183 }
3184 {
3185 PyThreadState* __tstate = wxPyBeginAllowThreads();
3186 (arg1)->SetTitle((wxString const &)*arg2);
3187
3188 wxPyEndAllowThreads(__tstate);
3189 if (PyErr_Occurred()) SWIG_fail;
3190 }
3191 Py_INCREF(Py_None); resultobj = Py_None;
3192 {
3193 if (temp2)
3194 delete arg2;
3195 }
3196 return resultobj;
3197 fail:
3198 {
3199 if (temp2)
3200 delete arg2;
3201 }
3202 return NULL;
3203 }
3204
3205
3206 static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
3207 PyObject *resultobj;
3208 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3209 wxString result;
3210 PyObject * obj0 = 0 ;
3211 char *kwnames[] = {
3212 (char *) "self", NULL
3213 };
3214
3215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail;
3216 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3217 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3218 {
3219 PyThreadState* __tstate = wxPyBeginAllowThreads();
3220 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
3221
3222 wxPyEndAllowThreads(__tstate);
3223 if (PyErr_Occurred()) SWIG_fail;
3224 }
3225 {
3226 #if wxUSE_UNICODE
3227 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3228 #else
3229 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3230 #endif
3231 }
3232 return resultobj;
3233 fail:
3234 return NULL;
3235 }
3236
3237
3238 static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *, PyObject *args, PyObject *kwargs) {
3239 PyObject *resultobj;
3240 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3241 wxRegion *arg2 = 0 ;
3242 bool result;
3243 PyObject * obj0 = 0 ;
3244 PyObject * obj1 = 0 ;
3245 char *kwnames[] = {
3246 (char *) "self",(char *) "region", NULL
3247 };
3248
3249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail;
3250 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3251 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3252 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRegion,
3253 SWIG_POINTER_EXCEPTION | 0)) == -1)
3254 SWIG_fail;
3255 if (arg2 == NULL) {
3256 PyErr_SetString(PyExc_TypeError,"null reference");
3257 SWIG_fail;
3258 }
3259 {
3260 PyThreadState* __tstate = wxPyBeginAllowThreads();
3261 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
3262
3263 wxPyEndAllowThreads(__tstate);
3264 if (PyErr_Occurred()) SWIG_fail;
3265 }
3266 {
3267 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3268 }
3269 return resultobj;
3270 fail:
3271 return NULL;
3272 }
3273
3274
3275 static PyObject *_wrap_TopLevelWindow_RequestUserAttention(PyObject *, PyObject *args, PyObject *kwargs) {
3276 PyObject *resultobj;
3277 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3278 int arg2 = (int) wxUSER_ATTENTION_INFO ;
3279 PyObject * obj0 = 0 ;
3280 PyObject * obj1 = 0 ;
3281 char *kwnames[] = {
3282 (char *) "self",(char *) "flags", NULL
3283 };
3284
3285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames,&obj0,&obj1)) goto fail;
3286 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
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 {
3293 PyThreadState* __tstate = wxPyBeginAllowThreads();
3294 (arg1)->RequestUserAttention(arg2);
3295
3296 wxPyEndAllowThreads(__tstate);
3297 if (PyErr_Occurred()) SWIG_fail;
3298 }
3299 Py_INCREF(Py_None); resultobj = Py_None;
3300 return resultobj;
3301 fail:
3302 return NULL;
3303 }
3304
3305
3306 static PyObject *_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject *, PyObject *args, PyObject *kwargs) {
3307 PyObject *resultobj;
3308 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3309 bool arg2 ;
3310 PyObject * obj0 = 0 ;
3311 PyObject * obj1 = 0 ;
3312 char *kwnames[] = {
3313 (char *) "self",(char *) "on", NULL
3314 };
3315
3316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames,&obj0,&obj1)) goto fail;
3317 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3318 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3319 arg2 = (bool)SWIG_As_bool(obj1);
3320 if (PyErr_Occurred()) SWIG_fail;
3321 {
3322 PyThreadState* __tstate = wxPyBeginAllowThreads();
3323 (arg1)->MacSetMetalAppearance(arg2);
3324
3325 wxPyEndAllowThreads(__tstate);
3326 if (PyErr_Occurred()) SWIG_fail;
3327 }
3328 Py_INCREF(Py_None); resultobj = Py_None;
3329 return resultobj;
3330 fail:
3331 return NULL;
3332 }
3333
3334
3335 static PyObject *_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject *, PyObject *args, PyObject *kwargs) {
3336 PyObject *resultobj;
3337 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3338 bool result;
3339 PyObject * obj0 = 0 ;
3340 char *kwnames[] = {
3341 (char *) "self", NULL
3342 };
3343
3344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_MacGetMetalAppearance",kwnames,&obj0)) goto fail;
3345 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3346 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3347 {
3348 PyThreadState* __tstate = wxPyBeginAllowThreads();
3349 result = (bool)((wxTopLevelWindow const *)arg1)->MacGetMetalAppearance();
3350
3351 wxPyEndAllowThreads(__tstate);
3352 if (PyErr_Occurred()) SWIG_fail;
3353 }
3354 {
3355 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3356 }
3357 return resultobj;
3358 fail:
3359 return NULL;
3360 }
3361
3362
3363 static PyObject * TopLevelWindow_swigregister(PyObject *, PyObject *args) {
3364 PyObject *obj;
3365 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3366 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj);
3367 Py_INCREF(obj);
3368 return Py_BuildValue((char *)"");
3369 }
3370 static PyObject *_wrap_new_Frame(PyObject *, PyObject *args, PyObject *kwargs) {
3371 PyObject *resultobj;
3372 wxWindow *arg1 = (wxWindow *) 0 ;
3373 int arg2 = (int) (int)-1 ;
3374 wxString const &arg3_defvalue = wxPyEmptyString ;
3375 wxString *arg3 = (wxString *) &arg3_defvalue ;
3376 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3377 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3378 wxSize const &arg5_defvalue = wxDefaultSize ;
3379 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3380 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
3381 wxString const &arg7_defvalue = wxPyFrameNameStr ;
3382 wxString *arg7 = (wxString *) &arg7_defvalue ;
3383 wxFrame *result;
3384 bool temp3 = false ;
3385 wxPoint temp4 ;
3386 wxSize temp5 ;
3387 bool temp7 = false ;
3388 PyObject * obj0 = 0 ;
3389 PyObject * obj1 = 0 ;
3390 PyObject * obj2 = 0 ;
3391 PyObject * obj3 = 0 ;
3392 PyObject * obj4 = 0 ;
3393 PyObject * obj5 = 0 ;
3394 PyObject * obj6 = 0 ;
3395 char *kwnames[] = {
3396 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3397 };
3398
3399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
3400 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
3401 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3402 if (obj1) {
3403 arg2 = (int)SWIG_As_int(obj1);
3404 if (PyErr_Occurred()) SWIG_fail;
3405 }
3406 if (obj2) {
3407 {
3408 arg3 = wxString_in_helper(obj2);
3409 if (arg3 == NULL) SWIG_fail;
3410 temp3 = true;
3411 }
3412 }
3413 if (obj3) {
3414 {
3415 arg4 = &temp4;
3416 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3417 }
3418 }
3419 if (obj4) {
3420 {
3421 arg5 = &temp5;
3422 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3423 }
3424 }
3425 if (obj5) {
3426 arg6 = (long)SWIG_As_long(obj5);
3427 if (PyErr_Occurred()) SWIG_fail;
3428 }
3429 if (obj6) {
3430 {
3431 arg7 = wxString_in_helper(obj6);
3432 if (arg7 == NULL) SWIG_fail;
3433 temp7 = true;
3434 }
3435 }
3436 {
3437 if (!wxPyCheckForApp()) SWIG_fail;
3438 PyThreadState* __tstate = wxPyBeginAllowThreads();
3439 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3440
3441 wxPyEndAllowThreads(__tstate);
3442 if (PyErr_Occurred()) SWIG_fail;
3443 }
3444 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFrame, 1);
3445 {
3446 if (temp3)
3447 delete arg3;
3448 }
3449 {
3450 if (temp7)
3451 delete arg7;
3452 }
3453 return resultobj;
3454 fail:
3455 {
3456 if (temp3)
3457 delete arg3;
3458 }
3459 {
3460 if (temp7)
3461 delete arg7;
3462 }
3463 return NULL;
3464 }
3465
3466
3467 static PyObject *_wrap_new_PreFrame(PyObject *, PyObject *args, PyObject *kwargs) {
3468 PyObject *resultobj;
3469 wxFrame *result;
3470 char *kwnames[] = {
3471 NULL
3472 };
3473
3474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail;
3475 {
3476 if (!wxPyCheckForApp()) SWIG_fail;
3477 PyThreadState* __tstate = wxPyBeginAllowThreads();
3478 result = (wxFrame *)new wxFrame();
3479
3480 wxPyEndAllowThreads(__tstate);
3481 if (PyErr_Occurred()) SWIG_fail;
3482 }
3483 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFrame, 1);
3484 return resultobj;
3485 fail:
3486 return NULL;
3487 }
3488
3489
3490 static PyObject *_wrap_Frame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
3491 PyObject *resultobj;
3492 wxFrame *arg1 = (wxFrame *) 0 ;
3493 wxWindow *arg2 = (wxWindow *) 0 ;
3494 int arg3 = (int) (int)-1 ;
3495 wxString const &arg4_defvalue = wxPyEmptyString ;
3496 wxString *arg4 = (wxString *) &arg4_defvalue ;
3497 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3498 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3499 wxSize const &arg6_defvalue = wxDefaultSize ;
3500 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3501 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
3502 wxString const &arg8_defvalue = wxPyFrameNameStr ;
3503 wxString *arg8 = (wxString *) &arg8_defvalue ;
3504 bool result;
3505 bool temp4 = false ;
3506 wxPoint temp5 ;
3507 wxSize temp6 ;
3508 bool temp8 = false ;
3509 PyObject * obj0 = 0 ;
3510 PyObject * obj1 = 0 ;
3511 PyObject * obj2 = 0 ;
3512 PyObject * obj3 = 0 ;
3513 PyObject * obj4 = 0 ;
3514 PyObject * obj5 = 0 ;
3515 PyObject * obj6 = 0 ;
3516 PyObject * obj7 = 0 ;
3517 char *kwnames[] = {
3518 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3519 };
3520
3521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3522 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3523 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3524 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
3525 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3526 if (obj2) {
3527 arg3 = (int)SWIG_As_int(obj2);
3528 if (PyErr_Occurred()) SWIG_fail;
3529 }
3530 if (obj3) {
3531 {
3532 arg4 = wxString_in_helper(obj3);
3533 if (arg4 == NULL) SWIG_fail;
3534 temp4 = true;
3535 }
3536 }
3537 if (obj4) {
3538 {
3539 arg5 = &temp5;
3540 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3541 }
3542 }
3543 if (obj5) {
3544 {
3545 arg6 = &temp6;
3546 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3547 }
3548 }
3549 if (obj6) {
3550 arg7 = (long)SWIG_As_long(obj6);
3551 if (PyErr_Occurred()) SWIG_fail;
3552 }
3553 if (obj7) {
3554 {
3555 arg8 = wxString_in_helper(obj7);
3556 if (arg8 == NULL) SWIG_fail;
3557 temp8 = true;
3558 }
3559 }
3560 {
3561 PyThreadState* __tstate = wxPyBeginAllowThreads();
3562 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3563
3564 wxPyEndAllowThreads(__tstate);
3565 if (PyErr_Occurred()) SWIG_fail;
3566 }
3567 {
3568 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3569 }
3570 {
3571 if (temp4)
3572 delete arg4;
3573 }
3574 {
3575 if (temp8)
3576 delete arg8;
3577 }
3578 return resultobj;
3579 fail:
3580 {
3581 if (temp4)
3582 delete arg4;
3583 }
3584 {
3585 if (temp8)
3586 delete arg8;
3587 }
3588 return NULL;
3589 }
3590
3591
3592 static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *, PyObject *args, PyObject *kwargs) {
3593 PyObject *resultobj;
3594 wxFrame *arg1 = (wxFrame *) 0 ;
3595 wxPoint result;
3596 PyObject * obj0 = 0 ;
3597 char *kwnames[] = {
3598 (char *) "self", NULL
3599 };
3600
3601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
3602 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3603 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3604 {
3605 PyThreadState* __tstate = wxPyBeginAllowThreads();
3606 result = ((wxFrame const *)arg1)->GetClientAreaOrigin();
3607
3608 wxPyEndAllowThreads(__tstate);
3609 if (PyErr_Occurred()) SWIG_fail;
3610 }
3611 {
3612 wxPoint * resultptr;
3613 resultptr = new wxPoint((wxPoint &) result);
3614 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
3615 }
3616 return resultobj;
3617 fail:
3618 return NULL;
3619 }
3620
3621
3622 static PyObject *_wrap_Frame_SendSizeEvent(PyObject *, PyObject *args, PyObject *kwargs) {
3623 PyObject *resultobj;
3624 wxFrame *arg1 = (wxFrame *) 0 ;
3625 PyObject * obj0 = 0 ;
3626 char *kwnames[] = {
3627 (char *) "self", NULL
3628 };
3629
3630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail;
3631 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3632 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3633 {
3634 PyThreadState* __tstate = wxPyBeginAllowThreads();
3635 (arg1)->SendSizeEvent();
3636
3637 wxPyEndAllowThreads(__tstate);
3638 if (PyErr_Occurred()) SWIG_fail;
3639 }
3640 Py_INCREF(Py_None); resultobj = Py_None;
3641 return resultobj;
3642 fail:
3643 return NULL;
3644 }
3645
3646
3647 static PyObject *_wrap_Frame_SetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) {
3648 PyObject *resultobj;
3649 wxFrame *arg1 = (wxFrame *) 0 ;
3650 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
3651 PyObject * obj0 = 0 ;
3652 PyObject * obj1 = 0 ;
3653 char *kwnames[] = {
3654 (char *) "self",(char *) "menubar", NULL
3655 };
3656
3657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail;
3658 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3659 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3660 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuBar,
3661 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3662 {
3663 PyThreadState* __tstate = wxPyBeginAllowThreads();
3664 (arg1)->SetMenuBar(arg2);
3665
3666 wxPyEndAllowThreads(__tstate);
3667 if (PyErr_Occurred()) SWIG_fail;
3668 }
3669 Py_INCREF(Py_None); resultobj = Py_None;
3670 return resultobj;
3671 fail:
3672 return NULL;
3673 }
3674
3675
3676 static PyObject *_wrap_Frame_GetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) {
3677 PyObject *resultobj;
3678 wxFrame *arg1 = (wxFrame *) 0 ;
3679 wxMenuBar *result;
3680 PyObject * obj0 = 0 ;
3681 char *kwnames[] = {
3682 (char *) "self", NULL
3683 };
3684
3685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail;
3686 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3687 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3688 {
3689 PyThreadState* __tstate = wxPyBeginAllowThreads();
3690 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
3691
3692 wxPyEndAllowThreads(__tstate);
3693 if (PyErr_Occurred()) SWIG_fail;
3694 }
3695 {
3696 resultobj = wxPyMake_wxObject(result, 0);
3697 }
3698 return resultobj;
3699 fail:
3700 return NULL;
3701 }
3702
3703
3704 static PyObject *_wrap_Frame_ProcessCommand(PyObject *, PyObject *args, PyObject *kwargs) {
3705 PyObject *resultobj;
3706 wxFrame *arg1 = (wxFrame *) 0 ;
3707 int arg2 ;
3708 bool result;
3709 PyObject * obj0 = 0 ;
3710 PyObject * obj1 = 0 ;
3711 char *kwnames[] = {
3712 (char *) "self",(char *) "winid", NULL
3713 };
3714
3715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) goto fail;
3716 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3717 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3718 arg2 = (int)SWIG_As_int(obj1);
3719 if (PyErr_Occurred()) SWIG_fail;
3720 {
3721 PyThreadState* __tstate = wxPyBeginAllowThreads();
3722 result = (bool)(arg1)->ProcessCommand(arg2);
3723
3724 wxPyEndAllowThreads(__tstate);
3725 if (PyErr_Occurred()) SWIG_fail;
3726 }
3727 {
3728 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3729 }
3730 return resultobj;
3731 fail:
3732 return NULL;
3733 }
3734
3735
3736 static PyObject *_wrap_Frame_CreateStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
3737 PyObject *resultobj;
3738 wxFrame *arg1 = (wxFrame *) 0 ;
3739 int arg2 = (int) 1 ;
3740 long arg3 = (long) wxST_SIZEGRIP ;
3741 int arg4 = (int) 0 ;
3742 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
3743 wxString *arg5 = (wxString *) &arg5_defvalue ;
3744 wxStatusBar *result;
3745 bool temp5 = false ;
3746 PyObject * obj0 = 0 ;
3747 PyObject * obj1 = 0 ;
3748 PyObject * obj2 = 0 ;
3749 PyObject * obj3 = 0 ;
3750 PyObject * obj4 = 0 ;
3751 char *kwnames[] = {
3752 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3753 };
3754
3755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
3756 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3757 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3758 if (obj1) {
3759 arg2 = (int)SWIG_As_int(obj1);
3760 if (PyErr_Occurred()) SWIG_fail;
3761 }
3762 if (obj2) {
3763 arg3 = (long)SWIG_As_long(obj2);
3764 if (PyErr_Occurred()) SWIG_fail;
3765 }
3766 if (obj3) {
3767 arg4 = (int)SWIG_As_int(obj3);
3768 if (PyErr_Occurred()) SWIG_fail;
3769 }
3770 if (obj4) {
3771 {
3772 arg5 = wxString_in_helper(obj4);
3773 if (arg5 == NULL) SWIG_fail;
3774 temp5 = true;
3775 }
3776 }
3777 {
3778 PyThreadState* __tstate = wxPyBeginAllowThreads();
3779 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
3780
3781 wxPyEndAllowThreads(__tstate);
3782 if (PyErr_Occurred()) SWIG_fail;
3783 }
3784 {
3785 resultobj = wxPyMake_wxObject(result, 0);
3786 }
3787 {
3788 if (temp5)
3789 delete arg5;
3790 }
3791 return resultobj;
3792 fail:
3793 {
3794 if (temp5)
3795 delete arg5;
3796 }
3797 return NULL;
3798 }
3799
3800
3801 static PyObject *_wrap_Frame_GetStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
3802 PyObject *resultobj;
3803 wxFrame *arg1 = (wxFrame *) 0 ;
3804 wxStatusBar *result;
3805 PyObject * obj0 = 0 ;
3806 char *kwnames[] = {
3807 (char *) "self", NULL
3808 };
3809
3810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail;
3811 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3812 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3813 {
3814 PyThreadState* __tstate = wxPyBeginAllowThreads();
3815 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
3816
3817 wxPyEndAllowThreads(__tstate);
3818 if (PyErr_Occurred()) SWIG_fail;
3819 }
3820 {
3821 resultobj = wxPyMake_wxObject(result, 0);
3822 }
3823 return resultobj;
3824 fail:
3825 return NULL;
3826 }
3827
3828
3829 static PyObject *_wrap_Frame_SetStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
3830 PyObject *resultobj;
3831 wxFrame *arg1 = (wxFrame *) 0 ;
3832 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
3833 PyObject * obj0 = 0 ;
3834 PyObject * obj1 = 0 ;
3835 char *kwnames[] = {
3836 (char *) "self",(char *) "statBar", NULL
3837 };
3838
3839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail;
3840 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3841 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3842 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxStatusBar,
3843 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3844 {
3845 PyThreadState* __tstate = wxPyBeginAllowThreads();
3846 (arg1)->SetStatusBar(arg2);
3847
3848 wxPyEndAllowThreads(__tstate);
3849 if (PyErr_Occurred()) SWIG_fail;
3850 }
3851 Py_INCREF(Py_None); resultobj = Py_None;
3852 return resultobj;
3853 fail:
3854 return NULL;
3855 }
3856
3857
3858 static PyObject *_wrap_Frame_SetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
3859 PyObject *resultobj;
3860 wxFrame *arg1 = (wxFrame *) 0 ;
3861 wxString *arg2 = 0 ;
3862 int arg3 = (int) 0 ;
3863 bool temp2 = false ;
3864 PyObject * obj0 = 0 ;
3865 PyObject * obj1 = 0 ;
3866 PyObject * obj2 = 0 ;
3867 char *kwnames[] = {
3868 (char *) "self",(char *) "text",(char *) "number", NULL
3869 };
3870
3871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
3872 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3873 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3874 {
3875 arg2 = wxString_in_helper(obj1);
3876 if (arg2 == NULL) SWIG_fail;
3877 temp2 = true;
3878 }
3879 if (obj2) {
3880 arg3 = (int)SWIG_As_int(obj2);
3881 if (PyErr_Occurred()) SWIG_fail;
3882 }
3883 {
3884 PyThreadState* __tstate = wxPyBeginAllowThreads();
3885 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
3886
3887 wxPyEndAllowThreads(__tstate);
3888 if (PyErr_Occurred()) SWIG_fail;
3889 }
3890 Py_INCREF(Py_None); resultobj = Py_None;
3891 {
3892 if (temp2)
3893 delete arg2;
3894 }
3895 return resultobj;
3896 fail:
3897 {
3898 if (temp2)
3899 delete arg2;
3900 }
3901 return NULL;
3902 }
3903
3904
3905 static PyObject *_wrap_Frame_SetStatusWidths(PyObject *, PyObject *args, PyObject *kwargs) {
3906 PyObject *resultobj;
3907 wxFrame *arg1 = (wxFrame *) 0 ;
3908 int arg2 ;
3909 int *arg3 = (int *) 0 ;
3910 PyObject * obj0 = 0 ;
3911 PyObject * obj1 = 0 ;
3912 char *kwnames[] = {
3913 (char *) "self",(char *) "widths", NULL
3914 };
3915
3916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
3917 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3918 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3919 {
3920 arg2 = PyList_Size(obj1);
3921 arg3 = int_LIST_helper(obj1);
3922 if (arg3 == NULL) SWIG_fail;
3923 }
3924 {
3925 PyThreadState* __tstate = wxPyBeginAllowThreads();
3926 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
3927
3928 wxPyEndAllowThreads(__tstate);
3929 if (PyErr_Occurred()) SWIG_fail;
3930 }
3931 Py_INCREF(Py_None); resultobj = Py_None;
3932 {
3933 if (arg3) delete [] arg3;
3934 }
3935 return resultobj;
3936 fail:
3937 {
3938 if (arg3) delete [] arg3;
3939 }
3940 return NULL;
3941 }
3942
3943
3944 static PyObject *_wrap_Frame_PushStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
3945 PyObject *resultobj;
3946 wxFrame *arg1 = (wxFrame *) 0 ;
3947 wxString *arg2 = 0 ;
3948 int arg3 = (int) 0 ;
3949 bool temp2 = false ;
3950 PyObject * obj0 = 0 ;
3951 PyObject * obj1 = 0 ;
3952 PyObject * obj2 = 0 ;
3953 char *kwnames[] = {
3954 (char *) "self",(char *) "text",(char *) "number", NULL
3955 };
3956
3957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
3958 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3959 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3960 {
3961 arg2 = wxString_in_helper(obj1);
3962 if (arg2 == NULL) SWIG_fail;
3963 temp2 = true;
3964 }
3965 if (obj2) {
3966 arg3 = (int)SWIG_As_int(obj2);
3967 if (PyErr_Occurred()) SWIG_fail;
3968 }
3969 {
3970 PyThreadState* __tstate = wxPyBeginAllowThreads();
3971 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
3972
3973 wxPyEndAllowThreads(__tstate);
3974 if (PyErr_Occurred()) SWIG_fail;
3975 }
3976 Py_INCREF(Py_None); resultobj = Py_None;
3977 {
3978 if (temp2)
3979 delete arg2;
3980 }
3981 return resultobj;
3982 fail:
3983 {
3984 if (temp2)
3985 delete arg2;
3986 }
3987 return NULL;
3988 }
3989
3990
3991 static PyObject *_wrap_Frame_PopStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
3992 PyObject *resultobj;
3993 wxFrame *arg1 = (wxFrame *) 0 ;
3994 int arg2 = (int) 0 ;
3995 PyObject * obj0 = 0 ;
3996 PyObject * obj1 = 0 ;
3997 char *kwnames[] = {
3998 (char *) "self",(char *) "number", NULL
3999 };
4000
4001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
4002 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4003 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4004 if (obj1) {
4005 arg2 = (int)SWIG_As_int(obj1);
4006 if (PyErr_Occurred()) SWIG_fail;
4007 }
4008 {
4009 PyThreadState* __tstate = wxPyBeginAllowThreads();
4010 (arg1)->PopStatusText(arg2);
4011
4012 wxPyEndAllowThreads(__tstate);
4013 if (PyErr_Occurred()) SWIG_fail;
4014 }
4015 Py_INCREF(Py_None); resultobj = Py_None;
4016 return resultobj;
4017 fail:
4018 return NULL;
4019 }
4020
4021
4022 static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *, PyObject *args, PyObject *kwargs) {
4023 PyObject *resultobj;
4024 wxFrame *arg1 = (wxFrame *) 0 ;
4025 int arg2 ;
4026 PyObject * obj0 = 0 ;
4027 PyObject * obj1 = 0 ;
4028 char *kwnames[] = {
4029 (char *) "self",(char *) "n", NULL
4030 };
4031
4032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) goto fail;
4033 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4034 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4035 arg2 = (int)SWIG_As_int(obj1);
4036 if (PyErr_Occurred()) SWIG_fail;
4037 {
4038 PyThreadState* __tstate = wxPyBeginAllowThreads();
4039 (arg1)->SetStatusBarPane(arg2);
4040
4041 wxPyEndAllowThreads(__tstate);
4042 if (PyErr_Occurred()) SWIG_fail;
4043 }
4044 Py_INCREF(Py_None); resultobj = Py_None;
4045 return resultobj;
4046 fail:
4047 return NULL;
4048 }
4049
4050
4051 static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *, PyObject *args, PyObject *kwargs) {
4052 PyObject *resultobj;
4053 wxFrame *arg1 = (wxFrame *) 0 ;
4054 int result;
4055 PyObject * obj0 = 0 ;
4056 char *kwnames[] = {
4057 (char *) "self", NULL
4058 };
4059
4060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail;
4061 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4062 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4063 {
4064 PyThreadState* __tstate = wxPyBeginAllowThreads();
4065 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
4066
4067 wxPyEndAllowThreads(__tstate);
4068 if (PyErr_Occurred()) SWIG_fail;
4069 }
4070 resultobj = SWIG_From_int((int)result);
4071 return resultobj;
4072 fail:
4073 return NULL;
4074 }
4075
4076
4077 static PyObject *_wrap_Frame_CreateToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
4078 PyObject *resultobj;
4079 wxFrame *arg1 = (wxFrame *) 0 ;
4080 long arg2 = (long) -1 ;
4081 int arg3 = (int) -1 ;
4082 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
4083 wxString *arg4 = (wxString *) &arg4_defvalue ;
4084 wxToolBar *result;
4085 bool temp4 = false ;
4086 PyObject * obj0 = 0 ;
4087 PyObject * obj1 = 0 ;
4088 PyObject * obj2 = 0 ;
4089 PyObject * obj3 = 0 ;
4090 char *kwnames[] = {
4091 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
4092 };
4093
4094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
4095 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4096 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4097 if (obj1) {
4098 arg2 = (long)SWIG_As_long(obj1);
4099 if (PyErr_Occurred()) SWIG_fail;
4100 }
4101 if (obj2) {
4102 arg3 = (int)SWIG_As_int(obj2);
4103 if (PyErr_Occurred()) SWIG_fail;
4104 }
4105 if (obj3) {
4106 {
4107 arg4 = wxString_in_helper(obj3);
4108 if (arg4 == NULL) SWIG_fail;
4109 temp4 = true;
4110 }
4111 }
4112 {
4113 PyThreadState* __tstate = wxPyBeginAllowThreads();
4114 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
4115
4116 wxPyEndAllowThreads(__tstate);
4117 if (PyErr_Occurred()) SWIG_fail;
4118 }
4119 {
4120 resultobj = wxPyMake_wxObject(result, 0);
4121 }
4122 {
4123 if (temp4)
4124 delete arg4;
4125 }
4126 return resultobj;
4127 fail:
4128 {
4129 if (temp4)
4130 delete arg4;
4131 }
4132 return NULL;
4133 }
4134
4135
4136 static PyObject *_wrap_Frame_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
4137 PyObject *resultobj;
4138 wxFrame *arg1 = (wxFrame *) 0 ;
4139 wxToolBar *result;
4140 PyObject * obj0 = 0 ;
4141 char *kwnames[] = {
4142 (char *) "self", NULL
4143 };
4144
4145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail;
4146 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4147 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4148 {
4149 PyThreadState* __tstate = wxPyBeginAllowThreads();
4150 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
4151
4152 wxPyEndAllowThreads(__tstate);
4153 if (PyErr_Occurred()) SWIG_fail;
4154 }
4155 {
4156 resultobj = wxPyMake_wxObject(result, 0);
4157 }
4158 return resultobj;
4159 fail:
4160 return NULL;
4161 }
4162
4163
4164 static PyObject *_wrap_Frame_SetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
4165 PyObject *resultobj;
4166 wxFrame *arg1 = (wxFrame *) 0 ;
4167 wxToolBar *arg2 = (wxToolBar *) 0 ;
4168 PyObject * obj0 = 0 ;
4169 PyObject * obj1 = 0 ;
4170 char *kwnames[] = {
4171 (char *) "self",(char *) "toolbar", NULL
4172 };
4173
4174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
4175 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4176 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4177 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBar,
4178 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4179 {
4180 PyThreadState* __tstate = wxPyBeginAllowThreads();
4181 (arg1)->SetToolBar(arg2);
4182
4183 wxPyEndAllowThreads(__tstate);
4184 if (PyErr_Occurred()) SWIG_fail;
4185 }
4186 Py_INCREF(Py_None); resultobj = Py_None;
4187 return resultobj;
4188 fail:
4189 return NULL;
4190 }
4191
4192
4193 static PyObject *_wrap_Frame_DoGiveHelp(PyObject *, PyObject *args, PyObject *kwargs) {
4194 PyObject *resultobj;
4195 wxFrame *arg1 = (wxFrame *) 0 ;
4196 wxString *arg2 = 0 ;
4197 bool arg3 ;
4198 bool temp2 = false ;
4199 PyObject * obj0 = 0 ;
4200 PyObject * obj1 = 0 ;
4201 PyObject * obj2 = 0 ;
4202 char *kwnames[] = {
4203 (char *) "self",(char *) "text",(char *) "show", NULL
4204 };
4205
4206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
4207 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4208 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4209 {
4210 arg2 = wxString_in_helper(obj1);
4211 if (arg2 == NULL) SWIG_fail;
4212 temp2 = true;
4213 }
4214 arg3 = (bool)SWIG_As_bool(obj2);
4215 if (PyErr_Occurred()) SWIG_fail;
4216 {
4217 PyThreadState* __tstate = wxPyBeginAllowThreads();
4218 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
4219
4220 wxPyEndAllowThreads(__tstate);
4221 if (PyErr_Occurred()) SWIG_fail;
4222 }
4223 Py_INCREF(Py_None); resultobj = Py_None;
4224 {
4225 if (temp2)
4226 delete arg2;
4227 }
4228 return resultobj;
4229 fail:
4230 {
4231 if (temp2)
4232 delete arg2;
4233 }
4234 return NULL;
4235 }
4236
4237
4238 static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *, PyObject *args, PyObject *kwargs) {
4239 PyObject *resultobj;
4240 wxFrame *arg1 = (wxFrame *) 0 ;
4241 wxMenu *arg2 = (wxMenu *) NULL ;
4242 PyObject * obj0 = 0 ;
4243 PyObject * obj1 = 0 ;
4244 char *kwnames[] = {
4245 (char *) "self",(char *) "menu", NULL
4246 };
4247
4248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail;
4249 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4250 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4251 if (obj1) {
4252 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
4253 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4254 }
4255 {
4256 PyThreadState* __tstate = wxPyBeginAllowThreads();
4257 (arg1)->DoMenuUpdates(arg2);
4258
4259 wxPyEndAllowThreads(__tstate);
4260 if (PyErr_Occurred()) SWIG_fail;
4261 }
4262 Py_INCREF(Py_None); resultobj = Py_None;
4263 return resultobj;
4264 fail:
4265 return NULL;
4266 }
4267
4268
4269 static PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
4270 PyObject *resultobj;
4271 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
4272 wxVisualAttributes result;
4273 PyObject * obj0 = 0 ;
4274 char *kwnames[] = {
4275 (char *) "variant", NULL
4276 };
4277
4278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4279 if (obj0) {
4280 arg1 = (int)SWIG_As_int(obj0);
4281 if (PyErr_Occurred()) SWIG_fail;
4282 }
4283 {
4284 if (!wxPyCheckForApp()) SWIG_fail;
4285 PyThreadState* __tstate = wxPyBeginAllowThreads();
4286 result = wxFrame::GetClassDefaultAttributes((wxWindowVariant )arg1);
4287
4288 wxPyEndAllowThreads(__tstate);
4289 if (PyErr_Occurred()) SWIG_fail;
4290 }
4291 {
4292 wxVisualAttributes * resultptr;
4293 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
4294 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4295 }
4296 return resultobj;
4297 fail:
4298 return NULL;
4299 }
4300
4301
4302 static PyObject * Frame_swigregister(PyObject *, PyObject *args) {
4303 PyObject *obj;
4304 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4305 SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj);
4306 Py_INCREF(obj);
4307 return Py_BuildValue((char *)"");
4308 }
4309 static PyObject *_wrap_new_Dialog(PyObject *, PyObject *args, PyObject *kwargs) {
4310 PyObject *resultobj;
4311 wxWindow *arg1 = (wxWindow *) 0 ;
4312 int arg2 = (int) (int)-1 ;
4313 wxString const &arg3_defvalue = wxPyEmptyString ;
4314 wxString *arg3 = (wxString *) &arg3_defvalue ;
4315 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4316 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4317 wxSize const &arg5_defvalue = wxDefaultSize ;
4318 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4319 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
4320 wxString const &arg7_defvalue = wxPyDialogNameStr ;
4321 wxString *arg7 = (wxString *) &arg7_defvalue ;
4322 wxDialog *result;
4323 bool temp3 = false ;
4324 wxPoint temp4 ;
4325 wxSize temp5 ;
4326 bool temp7 = false ;
4327 PyObject * obj0 = 0 ;
4328 PyObject * obj1 = 0 ;
4329 PyObject * obj2 = 0 ;
4330 PyObject * obj3 = 0 ;
4331 PyObject * obj4 = 0 ;
4332 PyObject * obj5 = 0 ;
4333 PyObject * obj6 = 0 ;
4334 char *kwnames[] = {
4335 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4336 };
4337
4338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4339 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4340 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4341 if (obj1) {
4342 arg2 = (int)SWIG_As_int(obj1);
4343 if (PyErr_Occurred()) SWIG_fail;
4344 }
4345 if (obj2) {
4346 {
4347 arg3 = wxString_in_helper(obj2);
4348 if (arg3 == NULL) SWIG_fail;
4349 temp3 = true;
4350 }
4351 }
4352 if (obj3) {
4353 {
4354 arg4 = &temp4;
4355 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4356 }
4357 }
4358 if (obj4) {
4359 {
4360 arg5 = &temp5;
4361 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4362 }
4363 }
4364 if (obj5) {
4365 arg6 = (long)SWIG_As_long(obj5);
4366 if (PyErr_Occurred()) SWIG_fail;
4367 }
4368 if (obj6) {
4369 {
4370 arg7 = wxString_in_helper(obj6);
4371 if (arg7 == NULL) SWIG_fail;
4372 temp7 = true;
4373 }
4374 }
4375 {
4376 if (!wxPyCheckForApp()) SWIG_fail;
4377 PyThreadState* __tstate = wxPyBeginAllowThreads();
4378 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4379
4380 wxPyEndAllowThreads(__tstate);
4381 if (PyErr_Occurred()) SWIG_fail;
4382 }
4383 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
4384 {
4385 if (temp3)
4386 delete arg3;
4387 }
4388 {
4389 if (temp7)
4390 delete arg7;
4391 }
4392 return resultobj;
4393 fail:
4394 {
4395 if (temp3)
4396 delete arg3;
4397 }
4398 {
4399 if (temp7)
4400 delete arg7;
4401 }
4402 return NULL;
4403 }
4404
4405
4406 static PyObject *_wrap_new_PreDialog(PyObject *, PyObject *args, PyObject *kwargs) {
4407 PyObject *resultobj;
4408 wxDialog *result;
4409 char *kwnames[] = {
4410 NULL
4411 };
4412
4413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail;
4414 {
4415 if (!wxPyCheckForApp()) SWIG_fail;
4416 PyThreadState* __tstate = wxPyBeginAllowThreads();
4417 result = (wxDialog *)new wxDialog();
4418
4419 wxPyEndAllowThreads(__tstate);
4420 if (PyErr_Occurred()) SWIG_fail;
4421 }
4422 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
4423 return resultobj;
4424 fail:
4425 return NULL;
4426 }
4427
4428
4429 static PyObject *_wrap_Dialog_Create(PyObject *, PyObject *args, PyObject *kwargs) {
4430 PyObject *resultobj;
4431 wxDialog *arg1 = (wxDialog *) 0 ;
4432 wxWindow *arg2 = (wxWindow *) 0 ;
4433 int arg3 = (int) (int)-1 ;
4434 wxString const &arg4_defvalue = wxPyEmptyString ;
4435 wxString *arg4 = (wxString *) &arg4_defvalue ;
4436 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4437 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4438 wxSize const &arg6_defvalue = wxDefaultSize ;
4439 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4440 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
4441 wxString const &arg8_defvalue = wxPyDialogNameStr ;
4442 wxString *arg8 = (wxString *) &arg8_defvalue ;
4443 bool result;
4444 bool temp4 = false ;
4445 wxPoint temp5 ;
4446 wxSize temp6 ;
4447 bool temp8 = false ;
4448 PyObject * obj0 = 0 ;
4449 PyObject * obj1 = 0 ;
4450 PyObject * obj2 = 0 ;
4451 PyObject * obj3 = 0 ;
4452 PyObject * obj4 = 0 ;
4453 PyObject * obj5 = 0 ;
4454 PyObject * obj6 = 0 ;
4455 PyObject * obj7 = 0 ;
4456 char *kwnames[] = {
4457 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4458 };
4459
4460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4461 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4462 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4463 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4464 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4465 if (obj2) {
4466 arg3 = (int)SWIG_As_int(obj2);
4467 if (PyErr_Occurred()) SWIG_fail;
4468 }
4469 if (obj3) {
4470 {
4471 arg4 = wxString_in_helper(obj3);
4472 if (arg4 == NULL) SWIG_fail;
4473 temp4 = true;
4474 }
4475 }
4476 if (obj4) {
4477 {
4478 arg5 = &temp5;
4479 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4480 }
4481 }
4482 if (obj5) {
4483 {
4484 arg6 = &temp6;
4485 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4486 }
4487 }
4488 if (obj6) {
4489 arg7 = (long)SWIG_As_long(obj6);
4490 if (PyErr_Occurred()) SWIG_fail;
4491 }
4492 if (obj7) {
4493 {
4494 arg8 = wxString_in_helper(obj7);
4495 if (arg8 == NULL) SWIG_fail;
4496 temp8 = true;
4497 }
4498 }
4499 {
4500 PyThreadState* __tstate = wxPyBeginAllowThreads();
4501 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4502
4503 wxPyEndAllowThreads(__tstate);
4504 if (PyErr_Occurred()) SWIG_fail;
4505 }
4506 {
4507 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4508 }
4509 {
4510 if (temp4)
4511 delete arg4;
4512 }
4513 {
4514 if (temp8)
4515 delete arg8;
4516 }
4517 return resultobj;
4518 fail:
4519 {
4520 if (temp4)
4521 delete arg4;
4522 }
4523 {
4524 if (temp8)
4525 delete arg8;
4526 }
4527 return NULL;
4528 }
4529
4530
4531 static PyObject *_wrap_Dialog_SetReturnCode(PyObject *, PyObject *args, PyObject *kwargs) {
4532 PyObject *resultobj;
4533 wxDialog *arg1 = (wxDialog *) 0 ;
4534 int arg2 ;
4535 PyObject * obj0 = 0 ;
4536 PyObject * obj1 = 0 ;
4537 char *kwnames[] = {
4538 (char *) "self",(char *) "returnCode", NULL
4539 };
4540
4541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) goto fail;
4542 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4543 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4544 arg2 = (int)SWIG_As_int(obj1);
4545 if (PyErr_Occurred()) SWIG_fail;
4546 {
4547 PyThreadState* __tstate = wxPyBeginAllowThreads();
4548 (arg1)->SetReturnCode(arg2);
4549
4550 wxPyEndAllowThreads(__tstate);
4551 if (PyErr_Occurred()) SWIG_fail;
4552 }
4553 Py_INCREF(Py_None); resultobj = Py_None;
4554 return resultobj;
4555 fail:
4556 return NULL;
4557 }
4558
4559
4560 static PyObject *_wrap_Dialog_GetReturnCode(PyObject *, PyObject *args, PyObject *kwargs) {
4561 PyObject *resultobj;
4562 wxDialog *arg1 = (wxDialog *) 0 ;
4563 int result;
4564 PyObject * obj0 = 0 ;
4565 char *kwnames[] = {
4566 (char *) "self", NULL
4567 };
4568
4569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail;
4570 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4571 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4572 {
4573 PyThreadState* __tstate = wxPyBeginAllowThreads();
4574 result = (int)((wxDialog const *)arg1)->GetReturnCode();
4575
4576 wxPyEndAllowThreads(__tstate);
4577 if (PyErr_Occurred()) SWIG_fail;
4578 }
4579 resultobj = SWIG_From_int((int)result);
4580 return resultobj;
4581 fail:
4582 return NULL;
4583 }
4584
4585
4586 static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *, PyObject *args, PyObject *kwargs) {
4587 PyObject *resultobj;
4588 wxDialog *arg1 = (wxDialog *) 0 ;
4589 wxString *arg2 = 0 ;
4590 wxSizer *result;
4591 bool temp2 = false ;
4592 PyObject * obj0 = 0 ;
4593 PyObject * obj1 = 0 ;
4594 char *kwnames[] = {
4595 (char *) "self",(char *) "message", NULL
4596 };
4597
4598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail;
4599 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4600 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4601 {
4602 arg2 = wxString_in_helper(obj1);
4603 if (arg2 == NULL) SWIG_fail;
4604 temp2 = true;
4605 }
4606 {
4607 PyThreadState* __tstate = wxPyBeginAllowThreads();
4608 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
4609
4610 wxPyEndAllowThreads(__tstate);
4611 if (PyErr_Occurred()) SWIG_fail;
4612 }
4613 {
4614 resultobj = wxPyMake_wxSizer(result, 0);
4615 }
4616 {
4617 if (temp2)
4618 delete arg2;
4619 }
4620 return resultobj;
4621 fail:
4622 {
4623 if (temp2)
4624 delete arg2;
4625 }
4626 return NULL;
4627 }
4628
4629
4630 static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *, PyObject *args, PyObject *kwargs) {
4631 PyObject *resultobj;
4632 wxDialog *arg1 = (wxDialog *) 0 ;
4633 long arg2 ;
4634 wxSizer *result;
4635 PyObject * obj0 = 0 ;
4636 PyObject * obj1 = 0 ;
4637 char *kwnames[] = {
4638 (char *) "self",(char *) "flags", NULL
4639 };
4640
4641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1)) goto fail;
4642 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4643 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4644 arg2 = (long)SWIG_As_long(obj1);
4645 if (PyErr_Occurred()) SWIG_fail;
4646 {
4647 PyThreadState* __tstate = wxPyBeginAllowThreads();
4648 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
4649
4650 wxPyEndAllowThreads(__tstate);
4651 if (PyErr_Occurred()) SWIG_fail;
4652 }
4653 {
4654 resultobj = wxPyMake_wxSizer(result, 0);
4655 }
4656 return resultobj;
4657 fail:
4658 return NULL;
4659 }
4660
4661
4662 static PyObject *_wrap_Dialog_IsModal(PyObject *, PyObject *args, PyObject *kwargs) {
4663 PyObject *resultobj;
4664 wxDialog *arg1 = (wxDialog *) 0 ;
4665 bool result;
4666 PyObject * obj0 = 0 ;
4667 char *kwnames[] = {
4668 (char *) "self", NULL
4669 };
4670
4671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail;
4672 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4673 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4674 {
4675 PyThreadState* __tstate = wxPyBeginAllowThreads();
4676 result = (bool)((wxDialog const *)arg1)->IsModal();
4677
4678 wxPyEndAllowThreads(__tstate);
4679 if (PyErr_Occurred()) SWIG_fail;
4680 }
4681 {
4682 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4683 }
4684 return resultobj;
4685 fail:
4686 return NULL;
4687 }
4688
4689
4690 static PyObject *_wrap_Dialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
4691 PyObject *resultobj;
4692 wxDialog *arg1 = (wxDialog *) 0 ;
4693 int result;
4694 PyObject * obj0 = 0 ;
4695 char *kwnames[] = {
4696 (char *) "self", NULL
4697 };
4698
4699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail;
4700 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4702 {
4703 PyThreadState* __tstate = wxPyBeginAllowThreads();
4704 result = (int)(arg1)->ShowModal();
4705
4706 wxPyEndAllowThreads(__tstate);
4707 if (PyErr_Occurred()) SWIG_fail;
4708 }
4709 resultobj = SWIG_From_int((int)result);
4710 return resultobj;
4711 fail:
4712 return NULL;
4713 }
4714
4715
4716 static PyObject *_wrap_Dialog_EndModal(PyObject *, PyObject *args, PyObject *kwargs) {
4717 PyObject *resultobj;
4718 wxDialog *arg1 = (wxDialog *) 0 ;
4719 int arg2 ;
4720 PyObject * obj0 = 0 ;
4721 PyObject * obj1 = 0 ;
4722 char *kwnames[] = {
4723 (char *) "self",(char *) "retCode", NULL
4724 };
4725
4726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) goto fail;
4727 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4728 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4729 arg2 = (int)SWIG_As_int(obj1);
4730 if (PyErr_Occurred()) SWIG_fail;
4731 {
4732 PyThreadState* __tstate = wxPyBeginAllowThreads();
4733 (arg1)->EndModal(arg2);
4734
4735 wxPyEndAllowThreads(__tstate);
4736 if (PyErr_Occurred()) SWIG_fail;
4737 }
4738 Py_INCREF(Py_None); resultobj = Py_None;
4739 return resultobj;
4740 fail:
4741 return NULL;
4742 }
4743
4744
4745 static PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
4746 PyObject *resultobj;
4747 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
4748 wxVisualAttributes result;
4749 PyObject * obj0 = 0 ;
4750 char *kwnames[] = {
4751 (char *) "variant", NULL
4752 };
4753
4754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4755 if (obj0) {
4756 arg1 = (int)SWIG_As_int(obj0);
4757 if (PyErr_Occurred()) SWIG_fail;
4758 }
4759 {
4760 if (!wxPyCheckForApp()) SWIG_fail;
4761 PyThreadState* __tstate = wxPyBeginAllowThreads();
4762 result = wxDialog::GetClassDefaultAttributes((wxWindowVariant )arg1);
4763
4764 wxPyEndAllowThreads(__tstate);
4765 if (PyErr_Occurred()) SWIG_fail;
4766 }
4767 {
4768 wxVisualAttributes * resultptr;
4769 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
4770 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4771 }
4772 return resultobj;
4773 fail:
4774 return NULL;
4775 }
4776
4777
4778 static PyObject * Dialog_swigregister(PyObject *, PyObject *args) {
4779 PyObject *obj;
4780 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4781 SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj);
4782 Py_INCREF(obj);
4783 return Py_BuildValue((char *)"");
4784 }
4785 static PyObject *_wrap_new_MiniFrame(PyObject *, PyObject *args, PyObject *kwargs) {
4786 PyObject *resultobj;
4787 wxWindow *arg1 = (wxWindow *) 0 ;
4788 int arg2 = (int) (int)-1 ;
4789 wxString const &arg3_defvalue = wxPyEmptyString ;
4790 wxString *arg3 = (wxString *) &arg3_defvalue ;
4791 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4792 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4793 wxSize const &arg5_defvalue = wxDefaultSize ;
4794 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4795 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
4796 wxString const &arg7_defvalue = wxPyFrameNameStr ;
4797 wxString *arg7 = (wxString *) &arg7_defvalue ;
4798 wxMiniFrame *result;
4799 bool temp3 = false ;
4800 wxPoint temp4 ;
4801 wxSize temp5 ;
4802 bool temp7 = false ;
4803 PyObject * obj0 = 0 ;
4804 PyObject * obj1 = 0 ;
4805 PyObject * obj2 = 0 ;
4806 PyObject * obj3 = 0 ;
4807 PyObject * obj4 = 0 ;
4808 PyObject * obj5 = 0 ;
4809 PyObject * obj6 = 0 ;
4810 char *kwnames[] = {
4811 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4812 };
4813
4814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4815 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4816 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4817 if (obj1) {
4818 arg2 = (int)SWIG_As_int(obj1);
4819 if (PyErr_Occurred()) SWIG_fail;
4820 }
4821 if (obj2) {
4822 {
4823 arg3 = wxString_in_helper(obj2);
4824 if (arg3 == NULL) SWIG_fail;
4825 temp3 = true;
4826 }
4827 }
4828 if (obj3) {
4829 {
4830 arg4 = &temp4;
4831 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4832 }
4833 }
4834 if (obj4) {
4835 {
4836 arg5 = &temp5;
4837 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4838 }
4839 }
4840 if (obj5) {
4841 arg6 = (long)SWIG_As_long(obj5);
4842 if (PyErr_Occurred()) SWIG_fail;
4843 }
4844 if (obj6) {
4845 {
4846 arg7 = wxString_in_helper(obj6);
4847 if (arg7 == NULL) SWIG_fail;
4848 temp7 = true;
4849 }
4850 }
4851 {
4852 if (!wxPyCheckForApp()) SWIG_fail;
4853 PyThreadState* __tstate = wxPyBeginAllowThreads();
4854 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4855
4856 wxPyEndAllowThreads(__tstate);
4857 if (PyErr_Occurred()) SWIG_fail;
4858 }
4859 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
4860 {
4861 if (temp3)
4862 delete arg3;
4863 }
4864 {
4865 if (temp7)
4866 delete arg7;
4867 }
4868 return resultobj;
4869 fail:
4870 {
4871 if (temp3)
4872 delete arg3;
4873 }
4874 {
4875 if (temp7)
4876 delete arg7;
4877 }
4878 return NULL;
4879 }
4880
4881
4882 static PyObject *_wrap_new_PreMiniFrame(PyObject *, PyObject *args, PyObject *kwargs) {
4883 PyObject *resultobj;
4884 wxMiniFrame *result;
4885 char *kwnames[] = {
4886 NULL
4887 };
4888
4889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail;
4890 {
4891 if (!wxPyCheckForApp()) SWIG_fail;
4892 PyThreadState* __tstate = wxPyBeginAllowThreads();
4893 result = (wxMiniFrame *)new wxMiniFrame();
4894
4895 wxPyEndAllowThreads(__tstate);
4896 if (PyErr_Occurred()) SWIG_fail;
4897 }
4898 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
4899 return resultobj;
4900 fail:
4901 return NULL;
4902 }
4903
4904
4905 static PyObject *_wrap_MiniFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
4906 PyObject *resultobj;
4907 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
4908 wxWindow *arg2 = (wxWindow *) 0 ;
4909 int arg3 = (int) (int)-1 ;
4910 wxString const &arg4_defvalue = wxPyEmptyString ;
4911 wxString *arg4 = (wxString *) &arg4_defvalue ;
4912 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4913 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4914 wxSize const &arg6_defvalue = wxDefaultSize ;
4915 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4916 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
4917 wxString const &arg8_defvalue = wxPyFrameNameStr ;
4918 wxString *arg8 = (wxString *) &arg8_defvalue ;
4919 bool result;
4920 bool temp4 = false ;
4921 wxPoint temp5 ;
4922 wxSize temp6 ;
4923 bool temp8 = false ;
4924 PyObject * obj0 = 0 ;
4925 PyObject * obj1 = 0 ;
4926 PyObject * obj2 = 0 ;
4927 PyObject * obj3 = 0 ;
4928 PyObject * obj4 = 0 ;
4929 PyObject * obj5 = 0 ;
4930 PyObject * obj6 = 0 ;
4931 PyObject * obj7 = 0 ;
4932 char *kwnames[] = {
4933 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4934 };
4935
4936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4937 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMiniFrame,
4938 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4939 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4940 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4941 if (obj2) {
4942 arg3 = (int)SWIG_As_int(obj2);
4943 if (PyErr_Occurred()) SWIG_fail;
4944 }
4945 if (obj3) {
4946 {
4947 arg4 = wxString_in_helper(obj3);
4948 if (arg4 == NULL) SWIG_fail;
4949 temp4 = true;
4950 }
4951 }
4952 if (obj4) {
4953 {
4954 arg5 = &temp5;
4955 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4956 }
4957 }
4958 if (obj5) {
4959 {
4960 arg6 = &temp6;
4961 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4962 }
4963 }
4964 if (obj6) {
4965 arg7 = (long)SWIG_As_long(obj6);
4966 if (PyErr_Occurred()) SWIG_fail;
4967 }
4968 if (obj7) {
4969 {
4970 arg8 = wxString_in_helper(obj7);
4971 if (arg8 == NULL) SWIG_fail;
4972 temp8 = true;
4973 }
4974 }
4975 {
4976 PyThreadState* __tstate = wxPyBeginAllowThreads();
4977 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4978
4979 wxPyEndAllowThreads(__tstate);
4980 if (PyErr_Occurred()) SWIG_fail;
4981 }
4982 {
4983 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4984 }
4985 {
4986 if (temp4)
4987 delete arg4;
4988 }
4989 {
4990 if (temp8)
4991 delete arg8;
4992 }
4993 return resultobj;
4994 fail:
4995 {
4996 if (temp4)
4997 delete arg4;
4998 }
4999 {
5000 if (temp8)
5001 delete arg8;
5002 }
5003 return NULL;
5004 }
5005
5006
5007 static PyObject * MiniFrame_swigregister(PyObject *, PyObject *args) {
5008 PyObject *obj;
5009 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5010 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj);
5011 Py_INCREF(obj);
5012 return Py_BuildValue((char *)"");
5013 }
5014 static PyObject *_wrap_new_SplashScreenWindow(PyObject *, PyObject *args, PyObject *kwargs) {
5015 PyObject *resultobj;
5016 wxBitmap *arg1 = 0 ;
5017 wxWindow *arg2 = (wxWindow *) 0 ;
5018 int arg3 ;
5019 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5020 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5021 wxSize const &arg5_defvalue = wxDefaultSize ;
5022 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5023 long arg6 = (long) wxNO_BORDER ;
5024 wxSplashScreenWindow *result;
5025 wxPoint temp4 ;
5026 wxSize temp5 ;
5027 PyObject * obj0 = 0 ;
5028 PyObject * obj1 = 0 ;
5029 PyObject * obj2 = 0 ;
5030 PyObject * obj3 = 0 ;
5031 PyObject * obj4 = 0 ;
5032 PyObject * obj5 = 0 ;
5033 char *kwnames[] = {
5034 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
5035 };
5036
5037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
5038 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
5039 SWIG_POINTER_EXCEPTION | 0)) == -1)
5040 SWIG_fail;
5041 if (arg1 == NULL) {
5042 PyErr_SetString(PyExc_TypeError,"null reference");
5043 SWIG_fail;
5044 }
5045 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5046 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5047 arg3 = (int)SWIG_As_int(obj2);
5048 if (PyErr_Occurred()) SWIG_fail;
5049 if (obj3) {
5050 {
5051 arg4 = &temp4;
5052 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5053 }
5054 }
5055 if (obj4) {
5056 {
5057 arg5 = &temp5;
5058 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5059 }
5060 }
5061 if (obj5) {
5062 arg6 = (long)SWIG_As_long(obj5);
5063 if (PyErr_Occurred()) SWIG_fail;
5064 }
5065 {
5066 if (!wxPyCheckForApp()) SWIG_fail;
5067 PyThreadState* __tstate = wxPyBeginAllowThreads();
5068 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
5069
5070 wxPyEndAllowThreads(__tstate);
5071 if (PyErr_Occurred()) SWIG_fail;
5072 }
5073 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 1);
5074 return resultobj;
5075 fail:
5076 return NULL;
5077 }
5078
5079
5080 static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
5081 PyObject *resultobj;
5082 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
5083 wxBitmap *arg2 = 0 ;
5084 PyObject * obj0 = 0 ;
5085 PyObject * obj1 = 0 ;
5086 char *kwnames[] = {
5087 (char *) "self",(char *) "bitmap", NULL
5088 };
5089
5090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
5091 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow,
5092 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5093 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
5094 SWIG_POINTER_EXCEPTION | 0)) == -1)
5095 SWIG_fail;
5096 if (arg2 == NULL) {
5097 PyErr_SetString(PyExc_TypeError,"null reference");
5098 SWIG_fail;
5099 }
5100 {
5101 PyThreadState* __tstate = wxPyBeginAllowThreads();
5102 (arg1)->SetBitmap((wxBitmap const &)*arg2);
5103
5104 wxPyEndAllowThreads(__tstate);
5105 if (PyErr_Occurred()) SWIG_fail;
5106 }
5107 Py_INCREF(Py_None); resultobj = Py_None;
5108 return resultobj;
5109 fail:
5110 return NULL;
5111 }
5112
5113
5114 static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
5115 PyObject *resultobj;
5116 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
5117 wxBitmap *result;
5118 PyObject * obj0 = 0 ;
5119 char *kwnames[] = {
5120 (char *) "self", NULL
5121 };
5122
5123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail;
5124 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow,
5125 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5126 {
5127 PyThreadState* __tstate = wxPyBeginAllowThreads();
5128 {
5129 wxBitmap &_result_ref = (arg1)->GetBitmap();
5130 result = (wxBitmap *) &_result_ref;
5131 }
5132
5133 wxPyEndAllowThreads(__tstate);
5134 if (PyErr_Occurred()) SWIG_fail;
5135 }
5136 {
5137 wxBitmap* resultptr = new wxBitmap(*result);
5138 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
5139 }
5140 return resultobj;
5141 fail:
5142 return NULL;
5143 }
5144
5145
5146 static PyObject * SplashScreenWindow_swigregister(PyObject *, PyObject *args) {
5147 PyObject *obj;
5148 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5149 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj);
5150 Py_INCREF(obj);
5151 return Py_BuildValue((char *)"");
5152 }
5153 static PyObject *_wrap_new_SplashScreen(PyObject *, PyObject *args, PyObject *kwargs) {
5154 PyObject *resultobj;
5155 wxBitmap *arg1 = 0 ;
5156 long arg2 ;
5157 int arg3 ;
5158 wxWindow *arg4 = (wxWindow *) 0 ;
5159 int arg5 = (int) -1 ;
5160 wxPoint const &arg6_defvalue = wxDefaultPosition ;
5161 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
5162 wxSize const &arg7_defvalue = wxDefaultSize ;
5163 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
5164 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
5165 wxSplashScreen *result;
5166 wxPoint temp6 ;
5167 wxSize temp7 ;
5168 PyObject * obj0 = 0 ;
5169 PyObject * obj1 = 0 ;
5170 PyObject * obj2 = 0 ;
5171 PyObject * obj3 = 0 ;
5172 PyObject * obj4 = 0 ;
5173 PyObject * obj5 = 0 ;
5174 PyObject * obj6 = 0 ;
5175 PyObject * obj7 = 0 ;
5176 char *kwnames[] = {
5177 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
5178 };
5179
5180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
5181 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
5182 SWIG_POINTER_EXCEPTION | 0)) == -1)
5183 SWIG_fail;
5184 if (arg1 == NULL) {
5185 PyErr_SetString(PyExc_TypeError,"null reference");
5186 SWIG_fail;
5187 }
5188 arg2 = (long)SWIG_As_long(obj1);
5189 if (PyErr_Occurred()) SWIG_fail;
5190 arg3 = (int)SWIG_As_int(obj2);
5191 if (PyErr_Occurred()) SWIG_fail;
5192 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
5193 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5194 if (obj4) {
5195 arg5 = (int)SWIG_As_int(obj4);
5196 if (PyErr_Occurred()) SWIG_fail;
5197 }
5198 if (obj5) {
5199 {
5200 arg6 = &temp6;
5201 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
5202 }
5203 }
5204 if (obj6) {
5205 {
5206 arg7 = &temp7;
5207 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
5208 }
5209 }
5210 if (obj7) {
5211 arg8 = (long)SWIG_As_long(obj7);
5212 if (PyErr_Occurred()) SWIG_fail;
5213 }
5214 {
5215 if (!wxPyCheckForApp()) SWIG_fail;
5216 PyThreadState* __tstate = wxPyBeginAllowThreads();
5217 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
5218
5219 wxPyEndAllowThreads(__tstate);
5220 if (PyErr_Occurred()) SWIG_fail;
5221 }
5222 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreen, 1);
5223 return resultobj;
5224 fail:
5225 return NULL;
5226 }
5227
5228
5229 static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *, PyObject *args, PyObject *kwargs) {
5230 PyObject *resultobj;
5231 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
5232 long result;
5233 PyObject * obj0 = 0 ;
5234 char *kwnames[] = {
5235 (char *) "self", NULL
5236 };
5237
5238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail;
5239 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
5240 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5241 {
5242 PyThreadState* __tstate = wxPyBeginAllowThreads();
5243 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
5244
5245 wxPyEndAllowThreads(__tstate);
5246 if (PyErr_Occurred()) SWIG_fail;
5247 }
5248 resultobj = SWIG_From_long((long)result);
5249 return resultobj;
5250 fail:
5251 return NULL;
5252 }
5253
5254
5255 static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
5256 PyObject *resultobj;
5257 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
5258 wxSplashScreenWindow *result;
5259 PyObject * obj0 = 0 ;
5260 char *kwnames[] = {
5261 (char *) "self", NULL
5262 };
5263
5264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail;
5265 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
5266 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5267 {
5268 PyThreadState* __tstate = wxPyBeginAllowThreads();
5269 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
5270
5271 wxPyEndAllowThreads(__tstate);
5272 if (PyErr_Occurred()) SWIG_fail;
5273 }
5274 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 0);
5275 return resultobj;
5276 fail:
5277 return NULL;
5278 }
5279
5280
5281 static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *, PyObject *args, PyObject *kwargs) {
5282 PyObject *resultobj;
5283 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
5284 int result;
5285 PyObject * obj0 = 0 ;
5286 char *kwnames[] = {
5287 (char *) "self", NULL
5288 };
5289
5290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail;
5291 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
5292 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5293 {
5294 PyThreadState* __tstate = wxPyBeginAllowThreads();
5295 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
5296
5297 wxPyEndAllowThreads(__tstate);
5298 if (PyErr_Occurred()) SWIG_fail;
5299 }
5300 resultobj = SWIG_From_int((int)result);
5301 return resultobj;
5302 fail:
5303 return NULL;
5304 }
5305
5306
5307 static PyObject * SplashScreen_swigregister(PyObject *, PyObject *args) {
5308 PyObject *obj;
5309 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5310 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj);
5311 Py_INCREF(obj);
5312 return Py_BuildValue((char *)"");
5313 }
5314 static PyObject *_wrap_new_StatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
5315 PyObject *resultobj;
5316 wxWindow *arg1 = (wxWindow *) 0 ;
5317 int arg2 = (int) -1 ;
5318 long arg3 = (long) wxST_SIZEGRIP ;
5319 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
5320 wxString *arg4 = (wxString *) &arg4_defvalue ;
5321 wxStatusBar *result;
5322 bool temp4 = false ;
5323 PyObject * obj0 = 0 ;
5324 PyObject * obj1 = 0 ;
5325 PyObject * obj2 = 0 ;
5326 PyObject * obj3 = 0 ;
5327 char *kwnames[] = {
5328 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5329 };
5330
5331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5332 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5333 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5334 if (obj1) {
5335 arg2 = (int)SWIG_As_int(obj1);
5336 if (PyErr_Occurred()) SWIG_fail;
5337 }
5338 if (obj2) {
5339 arg3 = (long)SWIG_As_long(obj2);
5340 if (PyErr_Occurred()) SWIG_fail;
5341 }
5342 if (obj3) {
5343 {
5344 arg4 = wxString_in_helper(obj3);
5345 if (arg4 == NULL) SWIG_fail;
5346 temp4 = true;
5347 }
5348 }
5349 {
5350 if (!wxPyCheckForApp()) SWIG_fail;
5351 PyThreadState* __tstate = wxPyBeginAllowThreads();
5352 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
5353
5354 wxPyEndAllowThreads(__tstate);
5355 if (PyErr_Occurred()) SWIG_fail;
5356 }
5357 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStatusBar, 1);
5358 {
5359 if (temp4)
5360 delete arg4;
5361 }
5362 return resultobj;
5363 fail:
5364 {
5365 if (temp4)
5366 delete arg4;
5367 }
5368 return NULL;
5369 }
5370
5371
5372 static PyObject *_wrap_new_PreStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
5373 PyObject *resultobj;
5374 wxStatusBar *result;
5375 char *kwnames[] = {
5376 NULL
5377 };
5378
5379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail;
5380 {
5381 if (!wxPyCheckForApp()) SWIG_fail;
5382 PyThreadState* __tstate = wxPyBeginAllowThreads();
5383 result = (wxStatusBar *)new wxStatusBar();
5384
5385 wxPyEndAllowThreads(__tstate);
5386 if (PyErr_Occurred()) SWIG_fail;
5387 }
5388 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStatusBar, 1);
5389 return resultobj;
5390 fail:
5391 return NULL;
5392 }
5393
5394
5395 static PyObject *_wrap_StatusBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
5396 PyObject *resultobj;
5397 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5398 wxWindow *arg2 = (wxWindow *) 0 ;
5399 int arg3 = (int) -1 ;
5400 long arg4 = (long) wxST_SIZEGRIP ;
5401 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
5402 wxString *arg5 = (wxString *) &arg5_defvalue ;
5403 bool result;
5404 bool temp5 = false ;
5405 PyObject * obj0 = 0 ;
5406 PyObject * obj1 = 0 ;
5407 PyObject * obj2 = 0 ;
5408 PyObject * obj3 = 0 ;
5409 PyObject * obj4 = 0 ;
5410 char *kwnames[] = {
5411 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5412 };
5413
5414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
5415 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5416 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5417 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5418 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5419 if (obj2) {
5420 arg3 = (int)SWIG_As_int(obj2);
5421 if (PyErr_Occurred()) SWIG_fail;
5422 }
5423 if (obj3) {
5424 arg4 = (long)SWIG_As_long(obj3);
5425 if (PyErr_Occurred()) SWIG_fail;
5426 }
5427 if (obj4) {
5428 {
5429 arg5 = wxString_in_helper(obj4);
5430 if (arg5 == NULL) SWIG_fail;
5431 temp5 = true;
5432 }
5433 }
5434 {
5435 PyThreadState* __tstate = wxPyBeginAllowThreads();
5436 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
5437
5438 wxPyEndAllowThreads(__tstate);
5439 if (PyErr_Occurred()) SWIG_fail;
5440 }
5441 {
5442 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5443 }
5444 {
5445 if (temp5)
5446 delete arg5;
5447 }
5448 return resultobj;
5449 fail:
5450 {
5451 if (temp5)
5452 delete arg5;
5453 }
5454 return NULL;
5455 }
5456
5457
5458 static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *, PyObject *args, PyObject *kwargs) {
5459 PyObject *resultobj;
5460 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5461 int arg2 = (int) 1 ;
5462 PyObject * obj0 = 0 ;
5463 PyObject * obj1 = 0 ;
5464 char *kwnames[] = {
5465 (char *) "self",(char *) "number", NULL
5466 };
5467
5468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) goto fail;
5469 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5470 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5471 if (obj1) {
5472 arg2 = (int)SWIG_As_int(obj1);
5473 if (PyErr_Occurred()) SWIG_fail;
5474 }
5475 {
5476 PyThreadState* __tstate = wxPyBeginAllowThreads();
5477 (arg1)->SetFieldsCount(arg2);
5478
5479 wxPyEndAllowThreads(__tstate);
5480 if (PyErr_Occurred()) SWIG_fail;
5481 }
5482 Py_INCREF(Py_None); resultobj = Py_None;
5483 return resultobj;
5484 fail:
5485 return NULL;
5486 }
5487
5488
5489 static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *, PyObject *args, PyObject *kwargs) {
5490 PyObject *resultobj;
5491 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5492 int result;
5493 PyObject * obj0 = 0 ;
5494 char *kwnames[] = {
5495 (char *) "self", NULL
5496 };
5497
5498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail;
5499 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5500 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5501 {
5502 PyThreadState* __tstate = wxPyBeginAllowThreads();
5503 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
5504
5505 wxPyEndAllowThreads(__tstate);
5506 if (PyErr_Occurred()) SWIG_fail;
5507 }
5508 resultobj = SWIG_From_int((int)result);
5509 return resultobj;
5510 fail:
5511 return NULL;
5512 }
5513
5514
5515 static PyObject *_wrap_StatusBar_SetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
5516 PyObject *resultobj;
5517 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5518 wxString *arg2 = 0 ;
5519 int arg3 = (int) 0 ;
5520 bool temp2 = false ;
5521 PyObject * obj0 = 0 ;
5522 PyObject * obj1 = 0 ;
5523 PyObject * obj2 = 0 ;
5524 char *kwnames[] = {
5525 (char *) "self",(char *) "text",(char *) "number", NULL
5526 };
5527
5528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5529 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5530 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5531 {
5532 arg2 = wxString_in_helper(obj1);
5533 if (arg2 == NULL) SWIG_fail;
5534 temp2 = true;
5535 }
5536 if (obj2) {
5537 arg3 = (int)SWIG_As_int(obj2);
5538 if (PyErr_Occurred()) SWIG_fail;
5539 }
5540 {
5541 PyThreadState* __tstate = wxPyBeginAllowThreads();
5542 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
5543
5544 wxPyEndAllowThreads(__tstate);
5545 if (PyErr_Occurred()) SWIG_fail;
5546 }
5547 Py_INCREF(Py_None); resultobj = Py_None;
5548 {
5549 if (temp2)
5550 delete arg2;
5551 }
5552 return resultobj;
5553 fail:
5554 {
5555 if (temp2)
5556 delete arg2;
5557 }
5558 return NULL;
5559 }
5560
5561
5562 static PyObject *_wrap_StatusBar_GetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
5563 PyObject *resultobj;
5564 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5565 int arg2 = (int) 0 ;
5566 wxString result;
5567 PyObject * obj0 = 0 ;
5568 PyObject * obj1 = 0 ;
5569 char *kwnames[] = {
5570 (char *) "self",(char *) "number", NULL
5571 };
5572
5573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) goto fail;
5574 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5575 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5576 if (obj1) {
5577 arg2 = (int)SWIG_As_int(obj1);
5578 if (PyErr_Occurred()) SWIG_fail;
5579 }
5580 {
5581 PyThreadState* __tstate = wxPyBeginAllowThreads();
5582 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
5583
5584 wxPyEndAllowThreads(__tstate);
5585 if (PyErr_Occurred()) SWIG_fail;
5586 }
5587 {
5588 #if wxUSE_UNICODE
5589 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5590 #else
5591 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5592 #endif
5593 }
5594 return resultobj;
5595 fail:
5596 return NULL;
5597 }
5598
5599
5600 static PyObject *_wrap_StatusBar_PushStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
5601 PyObject *resultobj;
5602 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5603 wxString *arg2 = 0 ;
5604 int arg3 = (int) 0 ;
5605 bool temp2 = false ;
5606 PyObject * obj0 = 0 ;
5607 PyObject * obj1 = 0 ;
5608 PyObject * obj2 = 0 ;
5609 char *kwnames[] = {
5610 (char *) "self",(char *) "text",(char *) "number", NULL
5611 };
5612
5613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5614 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5615 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5616 {
5617 arg2 = wxString_in_helper(obj1);
5618 if (arg2 == NULL) SWIG_fail;
5619 temp2 = true;
5620 }
5621 if (obj2) {
5622 arg3 = (int)SWIG_As_int(obj2);
5623 if (PyErr_Occurred()) SWIG_fail;
5624 }
5625 {
5626 PyThreadState* __tstate = wxPyBeginAllowThreads();
5627 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
5628
5629 wxPyEndAllowThreads(__tstate);
5630 if (PyErr_Occurred()) SWIG_fail;
5631 }
5632 Py_INCREF(Py_None); resultobj = Py_None;
5633 {
5634 if (temp2)
5635 delete arg2;
5636 }
5637 return resultobj;
5638 fail:
5639 {
5640 if (temp2)
5641 delete arg2;
5642 }
5643 return NULL;
5644 }
5645
5646
5647 static PyObject *_wrap_StatusBar_PopStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
5648 PyObject *resultobj;
5649 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5650 int arg2 = (int) 0 ;
5651 PyObject * obj0 = 0 ;
5652 PyObject * obj1 = 0 ;
5653 char *kwnames[] = {
5654 (char *) "self",(char *) "number", NULL
5655 };
5656
5657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
5658 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5659 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5660 if (obj1) {
5661 arg2 = (int)SWIG_As_int(obj1);
5662 if (PyErr_Occurred()) SWIG_fail;
5663 }
5664 {
5665 PyThreadState* __tstate = wxPyBeginAllowThreads();
5666 (arg1)->PopStatusText(arg2);
5667
5668 wxPyEndAllowThreads(__tstate);
5669 if (PyErr_Occurred()) SWIG_fail;
5670 }
5671 Py_INCREF(Py_None); resultobj = Py_None;
5672 return resultobj;
5673 fail:
5674 return NULL;
5675 }
5676
5677
5678 static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *, PyObject *args, PyObject *kwargs) {
5679 PyObject *resultobj;
5680 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5681 int arg2 ;
5682 int *arg3 = (int *) 0 ;
5683 PyObject * obj0 = 0 ;
5684 PyObject * obj1 = 0 ;
5685 char *kwnames[] = {
5686 (char *) "self",(char *) "widths", NULL
5687 };
5688
5689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
5690 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5691 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5692 {
5693 arg2 = PyList_Size(obj1);
5694 arg3 = int_LIST_helper(obj1);
5695 if (arg3 == NULL) SWIG_fail;
5696 }
5697 {
5698 PyThreadState* __tstate = wxPyBeginAllowThreads();
5699 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
5700
5701 wxPyEndAllowThreads(__tstate);
5702 if (PyErr_Occurred()) SWIG_fail;
5703 }
5704 Py_INCREF(Py_None); resultobj = Py_None;
5705 {
5706 if (arg3) delete [] arg3;
5707 }
5708 return resultobj;
5709 fail:
5710 {
5711 if (arg3) delete [] arg3;
5712 }
5713 return NULL;
5714 }
5715
5716
5717 static PyObject *_wrap_StatusBar_SetStatusStyles(PyObject *, PyObject *args, PyObject *kwargs) {
5718 PyObject *resultobj;
5719 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5720 int arg2 ;
5721 int *arg3 = (int *) 0 ;
5722 PyObject * obj0 = 0 ;
5723 PyObject * obj1 = 0 ;
5724 char *kwnames[] = {
5725 (char *) "self",(char *) "styles", NULL
5726 };
5727
5728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusStyles",kwnames,&obj0,&obj1)) goto fail;
5729 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5730 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5731 {
5732 arg2 = PyList_Size(obj1);
5733 arg3 = int_LIST_helper(obj1);
5734 if (arg3 == NULL) SWIG_fail;
5735 }
5736 {
5737 PyThreadState* __tstate = wxPyBeginAllowThreads();
5738 (arg1)->SetStatusStyles(arg2,(int const *)arg3);
5739
5740 wxPyEndAllowThreads(__tstate);
5741 if (PyErr_Occurred()) SWIG_fail;
5742 }
5743 Py_INCREF(Py_None); resultobj = Py_None;
5744 {
5745 if (arg3) delete [] arg3;
5746 }
5747 return resultobj;
5748 fail:
5749 {
5750 if (arg3) delete [] arg3;
5751 }
5752 return NULL;
5753 }
5754
5755
5756 static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *, PyObject *args, PyObject *kwargs) {
5757 PyObject *resultobj;
5758 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5759 int arg2 ;
5760 wxRect result;
5761 PyObject * obj0 = 0 ;
5762 PyObject * obj1 = 0 ;
5763 char *kwnames[] = {
5764 (char *) "self",(char *) "i", NULL
5765 };
5766
5767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) goto fail;
5768 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5769 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5770 arg2 = (int)SWIG_As_int(obj1);
5771 if (PyErr_Occurred()) SWIG_fail;
5772 {
5773 PyThreadState* __tstate = wxPyBeginAllowThreads();
5774 result = wxStatusBar_GetFieldRect(arg1,arg2);
5775
5776 wxPyEndAllowThreads(__tstate);
5777 if (PyErr_Occurred()) SWIG_fail;
5778 }
5779 {
5780 wxRect * resultptr;
5781 resultptr = new wxRect((wxRect &) result);
5782 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
5783 }
5784 return resultobj;
5785 fail:
5786 return NULL;
5787 }
5788
5789
5790 static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *, PyObject *args, PyObject *kwargs) {
5791 PyObject *resultobj;
5792 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5793 int arg2 ;
5794 PyObject * obj0 = 0 ;
5795 PyObject * obj1 = 0 ;
5796 char *kwnames[] = {
5797 (char *) "self",(char *) "height", NULL
5798 };
5799
5800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) goto fail;
5801 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5802 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5803 arg2 = (int)SWIG_As_int(obj1);
5804 if (PyErr_Occurred()) SWIG_fail;
5805 {
5806 PyThreadState* __tstate = wxPyBeginAllowThreads();
5807 (arg1)->SetMinHeight(arg2);
5808
5809 wxPyEndAllowThreads(__tstate);
5810 if (PyErr_Occurred()) SWIG_fail;
5811 }
5812 Py_INCREF(Py_None); resultobj = Py_None;
5813 return resultobj;
5814 fail:
5815 return NULL;
5816 }
5817
5818
5819 static PyObject *_wrap_StatusBar_GetBorderX(PyObject *, PyObject *args, PyObject *kwargs) {
5820 PyObject *resultobj;
5821 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5822 int result;
5823 PyObject * obj0 = 0 ;
5824 char *kwnames[] = {
5825 (char *) "self", NULL
5826 };
5827
5828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail;
5829 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5830 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5831 {
5832 PyThreadState* __tstate = wxPyBeginAllowThreads();
5833 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
5834
5835 wxPyEndAllowThreads(__tstate);
5836 if (PyErr_Occurred()) SWIG_fail;
5837 }
5838 resultobj = SWIG_From_int((int)result);
5839 return resultobj;
5840 fail:
5841 return NULL;
5842 }
5843
5844
5845 static PyObject *_wrap_StatusBar_GetBorderY(PyObject *, PyObject *args, PyObject *kwargs) {
5846 PyObject *resultobj;
5847 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5848 int result;
5849 PyObject * obj0 = 0 ;
5850 char *kwnames[] = {
5851 (char *) "self", NULL
5852 };
5853
5854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail;
5855 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5856 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5857 {
5858 PyThreadState* __tstate = wxPyBeginAllowThreads();
5859 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
5860
5861 wxPyEndAllowThreads(__tstate);
5862 if (PyErr_Occurred()) SWIG_fail;
5863 }
5864 resultobj = SWIG_From_int((int)result);
5865 return resultobj;
5866 fail:
5867 return NULL;
5868 }
5869
5870
5871 static PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
5872 PyObject *resultobj;
5873 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
5874 wxVisualAttributes result;
5875 PyObject * obj0 = 0 ;
5876 char *kwnames[] = {
5877 (char *) "variant", NULL
5878 };
5879
5880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5881 if (obj0) {
5882 arg1 = (int)SWIG_As_int(obj0);
5883 if (PyErr_Occurred()) SWIG_fail;
5884 }
5885 {
5886 if (!wxPyCheckForApp()) SWIG_fail;
5887 PyThreadState* __tstate = wxPyBeginAllowThreads();
5888 result = wxStatusBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
5889
5890 wxPyEndAllowThreads(__tstate);
5891 if (PyErr_Occurred()) SWIG_fail;
5892 }
5893 {
5894 wxVisualAttributes * resultptr;
5895 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
5896 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5897 }
5898 return resultobj;
5899 fail:
5900 return NULL;
5901 }
5902
5903
5904 static PyObject * StatusBar_swigregister(PyObject *, PyObject *args) {
5905 PyObject *obj;
5906 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5907 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj);
5908 Py_INCREF(obj);
5909 return Py_BuildValue((char *)"");
5910 }
5911 static int _wrap_SplitterNameStr_set(PyObject *) {
5912 PyErr_SetString(PyExc_TypeError,"Variable SplitterNameStr is read-only.");
5913 return 1;
5914 }
5915
5916
5917 static PyObject *_wrap_SplitterNameStr_get() {
5918 PyObject *pyobj;
5919
5920 {
5921 #if wxUSE_UNICODE
5922 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
5923 #else
5924 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
5925 #endif
5926 }
5927 return pyobj;
5928 }
5929
5930
5931 static PyObject *_wrap_new_SplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) {
5932 PyObject *resultobj;
5933 wxWindow *arg1 = (wxWindow *) 0 ;
5934 int arg2 = (int) -1 ;
5935 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5936 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5937 wxSize const &arg4_defvalue = wxDefaultSize ;
5938 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5939 long arg5 = (long) wxSP_3D ;
5940 wxString const &arg6_defvalue = wxPySplitterNameStr ;
5941 wxString *arg6 = (wxString *) &arg6_defvalue ;
5942 wxSplitterWindow *result;
5943 wxPoint temp3 ;
5944 wxSize temp4 ;
5945 bool temp6 = false ;
5946 PyObject * obj0 = 0 ;
5947 PyObject * obj1 = 0 ;
5948 PyObject * obj2 = 0 ;
5949 PyObject * obj3 = 0 ;
5950 PyObject * obj4 = 0 ;
5951 PyObject * obj5 = 0 ;
5952 char *kwnames[] = {
5953 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5954 };
5955
5956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
5957 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5958 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5959 if (obj1) {
5960 arg2 = (int)SWIG_As_int(obj1);
5961 if (PyErr_Occurred()) SWIG_fail;
5962 }
5963 if (obj2) {
5964 {
5965 arg3 = &temp3;
5966 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5967 }
5968 }
5969 if (obj3) {
5970 {
5971 arg4 = &temp4;
5972 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5973 }
5974 }
5975 if (obj4) {
5976 arg5 = (long)SWIG_As_long(obj4);
5977 if (PyErr_Occurred()) SWIG_fail;
5978 }
5979 if (obj5) {
5980 {
5981 arg6 = wxString_in_helper(obj5);
5982 if (arg6 == NULL) SWIG_fail;
5983 temp6 = true;
5984 }
5985 }
5986 {
5987 if (!wxPyCheckForApp()) SWIG_fail;
5988 PyThreadState* __tstate = wxPyBeginAllowThreads();
5989 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
5990
5991 wxPyEndAllowThreads(__tstate);
5992 if (PyErr_Occurred()) SWIG_fail;
5993 }
5994 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
5995 {
5996 if (temp6)
5997 delete arg6;
5998 }
5999 return resultobj;
6000 fail:
6001 {
6002 if (temp6)
6003 delete arg6;
6004 }
6005 return NULL;
6006 }
6007
6008
6009 static PyObject *_wrap_new_PreSplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) {
6010 PyObject *resultobj;
6011 wxSplitterWindow *result;
6012 char *kwnames[] = {
6013 NULL
6014 };
6015
6016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail;
6017 {
6018 if (!wxPyCheckForApp()) SWIG_fail;
6019 PyThreadState* __tstate = wxPyBeginAllowThreads();
6020 result = (wxSplitterWindow *)new wxSplitterWindow();
6021
6022 wxPyEndAllowThreads(__tstate);
6023 if (PyErr_Occurred()) SWIG_fail;
6024 }
6025 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
6026 return resultobj;
6027 fail:
6028 return NULL;
6029 }
6030
6031
6032 static PyObject *_wrap_SplitterWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
6033 PyObject *resultobj;
6034 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6035 wxWindow *arg2 = (wxWindow *) 0 ;
6036 int arg3 = (int) -1 ;
6037 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6038 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6039 wxSize const &arg5_defvalue = wxDefaultSize ;
6040 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6041 long arg6 = (long) wxSP_3D ;
6042 wxString const &arg7_defvalue = wxPySplitterNameStr ;
6043 wxString *arg7 = (wxString *) &arg7_defvalue ;
6044 bool result;
6045 wxPoint temp4 ;
6046 wxSize temp5 ;
6047 bool temp7 = false ;
6048 PyObject * obj0 = 0 ;
6049 PyObject * obj1 = 0 ;
6050 PyObject * obj2 = 0 ;
6051 PyObject * obj3 = 0 ;
6052 PyObject * obj4 = 0 ;
6053 PyObject * obj5 = 0 ;
6054 PyObject * obj6 = 0 ;
6055 char *kwnames[] = {
6056 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6057 };
6058
6059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
6060 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6061 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6062 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6063 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6064 if (obj2) {
6065 arg3 = (int)SWIG_As_int(obj2);
6066 if (PyErr_Occurred()) SWIG_fail;
6067 }
6068 if (obj3) {
6069 {
6070 arg4 = &temp4;
6071 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6072 }
6073 }
6074 if (obj4) {
6075 {
6076 arg5 = &temp5;
6077 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6078 }
6079 }
6080 if (obj5) {
6081 arg6 = (long)SWIG_As_long(obj5);
6082 if (PyErr_Occurred()) SWIG_fail;
6083 }
6084 if (obj6) {
6085 {
6086 arg7 = wxString_in_helper(obj6);
6087 if (arg7 == NULL) SWIG_fail;
6088 temp7 = true;
6089 }
6090 }
6091 {
6092 PyThreadState* __tstate = wxPyBeginAllowThreads();
6093 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6094
6095 wxPyEndAllowThreads(__tstate);
6096 if (PyErr_Occurred()) SWIG_fail;
6097 }
6098 {
6099 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6100 }
6101 {
6102 if (temp7)
6103 delete arg7;
6104 }
6105 return resultobj;
6106 fail:
6107 {
6108 if (temp7)
6109 delete arg7;
6110 }
6111 return NULL;
6112 }
6113
6114
6115 static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *, PyObject *args, PyObject *kwargs) {
6116 PyObject *resultobj;
6117 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6118 wxWindow *result;
6119 PyObject * obj0 = 0 ;
6120 char *kwnames[] = {
6121 (char *) "self", NULL
6122 };
6123
6124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail;
6125 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6126 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6127 {
6128 PyThreadState* __tstate = wxPyBeginAllowThreads();
6129 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
6130
6131 wxPyEndAllowThreads(__tstate);
6132 if (PyErr_Occurred()) SWIG_fail;
6133 }
6134 {
6135 resultobj = wxPyMake_wxObject(result, 0);
6136 }
6137 return resultobj;
6138 fail:
6139 return NULL;
6140 }
6141
6142
6143 static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *, PyObject *args, PyObject *kwargs) {
6144 PyObject *resultobj;
6145 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6146 wxWindow *result;
6147 PyObject * obj0 = 0 ;
6148 char *kwnames[] = {
6149 (char *) "self", NULL
6150 };
6151
6152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail;
6153 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6154 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6155 {
6156 PyThreadState* __tstate = wxPyBeginAllowThreads();
6157 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
6158
6159 wxPyEndAllowThreads(__tstate);
6160 if (PyErr_Occurred()) SWIG_fail;
6161 }
6162 {
6163 resultobj = wxPyMake_wxObject(result, 0);
6164 }
6165 return resultobj;
6166 fail:
6167 return NULL;
6168 }
6169
6170
6171 static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *, PyObject *args, PyObject *kwargs) {
6172 PyObject *resultobj;
6173 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6174 int arg2 ;
6175 PyObject * obj0 = 0 ;
6176 PyObject * obj1 = 0 ;
6177 char *kwnames[] = {
6178 (char *) "self",(char *) "mode", NULL
6179 };
6180
6181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) goto fail;
6182 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6183 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6184 arg2 = (int)SWIG_As_int(obj1);
6185 if (PyErr_Occurred()) SWIG_fail;
6186 {
6187 PyThreadState* __tstate = wxPyBeginAllowThreads();
6188 (arg1)->SetSplitMode(arg2);
6189
6190 wxPyEndAllowThreads(__tstate);
6191 if (PyErr_Occurred()) SWIG_fail;
6192 }
6193 Py_INCREF(Py_None); resultobj = Py_None;
6194 return resultobj;
6195 fail:
6196 return NULL;
6197 }
6198
6199
6200 static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *, PyObject *args, PyObject *kwargs) {
6201 PyObject *resultobj;
6202 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6203 int result;
6204 PyObject * obj0 = 0 ;
6205 char *kwnames[] = {
6206 (char *) "self", NULL
6207 };
6208
6209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail;
6210 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6211 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6212 {
6213 PyThreadState* __tstate = wxPyBeginAllowThreads();
6214 result = (int)((wxSplitterWindow const *)arg1)->GetSplitMode();
6215
6216 wxPyEndAllowThreads(__tstate);
6217 if (PyErr_Occurred()) SWIG_fail;
6218 }
6219 resultobj = SWIG_From_int((int)result);
6220 return resultobj;
6221 fail:
6222 return NULL;
6223 }
6224
6225
6226 static PyObject *_wrap_SplitterWindow_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
6227 PyObject *resultobj;
6228 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6229 wxWindow *arg2 = (wxWindow *) 0 ;
6230 PyObject * obj0 = 0 ;
6231 PyObject * obj1 = 0 ;
6232 char *kwnames[] = {
6233 (char *) "self",(char *) "window", NULL
6234 };
6235
6236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",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 ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6240 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6241 {
6242 PyThreadState* __tstate = wxPyBeginAllowThreads();
6243 (arg1)->Initialize(arg2);
6244
6245 wxPyEndAllowThreads(__tstate);
6246 if (PyErr_Occurred()) SWIG_fail;
6247 }
6248 Py_INCREF(Py_None); resultobj = Py_None;
6249 return resultobj;
6250 fail:
6251 return NULL;
6252 }
6253
6254
6255 static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *, PyObject *args, PyObject *kwargs) {
6256 PyObject *resultobj;
6257 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6258 wxWindow *arg2 = (wxWindow *) 0 ;
6259 wxWindow *arg3 = (wxWindow *) 0 ;
6260 int arg4 = (int) 0 ;
6261 bool result;
6262 PyObject * obj0 = 0 ;
6263 PyObject * obj1 = 0 ;
6264 PyObject * obj2 = 0 ;
6265 PyObject * obj3 = 0 ;
6266 char *kwnames[] = {
6267 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
6268 };
6269
6270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6271 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6272 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6273 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6274 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6275 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
6276 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6277 if (obj3) {
6278 arg4 = (int)SWIG_As_int(obj3);
6279 if (PyErr_Occurred()) SWIG_fail;
6280 }
6281 {
6282 PyThreadState* __tstate = wxPyBeginAllowThreads();
6283 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
6284
6285 wxPyEndAllowThreads(__tstate);
6286 if (PyErr_Occurred()) SWIG_fail;
6287 }
6288 {
6289 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6290 }
6291 return resultobj;
6292 fail:
6293 return NULL;
6294 }
6295
6296
6297 static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *, PyObject *args, PyObject *kwargs) {
6298 PyObject *resultobj;
6299 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6300 wxWindow *arg2 = (wxWindow *) 0 ;
6301 wxWindow *arg3 = (wxWindow *) 0 ;
6302 int arg4 = (int) 0 ;
6303 bool result;
6304 PyObject * obj0 = 0 ;
6305 PyObject * obj1 = 0 ;
6306 PyObject * obj2 = 0 ;
6307 PyObject * obj3 = 0 ;
6308 char *kwnames[] = {
6309 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
6310 };
6311
6312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6313 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6314 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6315 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6316 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6317 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
6318 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6319 if (obj3) {
6320 arg4 = (int)SWIG_As_int(obj3);
6321 if (PyErr_Occurred()) SWIG_fail;
6322 }
6323 {
6324 PyThreadState* __tstate = wxPyBeginAllowThreads();
6325 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
6326
6327 wxPyEndAllowThreads(__tstate);
6328 if (PyErr_Occurred()) SWIG_fail;
6329 }
6330 {
6331 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6332 }
6333 return resultobj;
6334 fail:
6335 return NULL;
6336 }
6337
6338
6339 static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *, PyObject *args, PyObject *kwargs) {
6340 PyObject *resultobj;
6341 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6342 wxWindow *arg2 = (wxWindow *) NULL ;
6343 bool result;
6344 PyObject * obj0 = 0 ;
6345 PyObject * obj1 = 0 ;
6346 char *kwnames[] = {
6347 (char *) "self",(char *) "toRemove", NULL
6348 };
6349
6350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail;
6351 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6352 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6353 if (obj1) {
6354 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6355 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6356 }
6357 {
6358 PyThreadState* __tstate = wxPyBeginAllowThreads();
6359 result = (bool)(arg1)->Unsplit(arg2);
6360
6361 wxPyEndAllowThreads(__tstate);
6362 if (PyErr_Occurred()) SWIG_fail;
6363 }
6364 {
6365 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6366 }
6367 return resultobj;
6368 fail:
6369 return NULL;
6370 }
6371
6372
6373 static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *, PyObject *args, PyObject *kwargs) {
6374 PyObject *resultobj;
6375 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6376 wxWindow *arg2 = (wxWindow *) 0 ;
6377 wxWindow *arg3 = (wxWindow *) 0 ;
6378 bool result;
6379 PyObject * obj0 = 0 ;
6380 PyObject * obj1 = 0 ;
6381 PyObject * obj2 = 0 ;
6382 char *kwnames[] = {
6383 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
6384 };
6385
6386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
6387 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6388 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6389 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6390 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6391 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
6392 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6393 {
6394 PyThreadState* __tstate = wxPyBeginAllowThreads();
6395 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
6396
6397 wxPyEndAllowThreads(__tstate);
6398 if (PyErr_Occurred()) SWIG_fail;
6399 }
6400 {
6401 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6402 }
6403 return resultobj;
6404 fail:
6405 return NULL;
6406 }
6407
6408
6409 static PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *, PyObject *args, PyObject *kwargs) {
6410 PyObject *resultobj;
6411 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6412 PyObject * obj0 = 0 ;
6413 char *kwnames[] = {
6414 (char *) "self", NULL
6415 };
6416
6417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_UpdateSize",kwnames,&obj0)) goto fail;
6418 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6419 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6420 {
6421 PyThreadState* __tstate = wxPyBeginAllowThreads();
6422 (arg1)->UpdateSize();
6423
6424 wxPyEndAllowThreads(__tstate);
6425 if (PyErr_Occurred()) SWIG_fail;
6426 }
6427 Py_INCREF(Py_None); resultobj = Py_None;
6428 return resultobj;
6429 fail:
6430 return NULL;
6431 }
6432
6433
6434 static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *, PyObject *args, PyObject *kwargs) {
6435 PyObject *resultobj;
6436 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6437 bool result;
6438 PyObject * obj0 = 0 ;
6439 char *kwnames[] = {
6440 (char *) "self", NULL
6441 };
6442
6443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail;
6444 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6445 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6446 {
6447 PyThreadState* __tstate = wxPyBeginAllowThreads();
6448 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
6449
6450 wxPyEndAllowThreads(__tstate);
6451 if (PyErr_Occurred()) SWIG_fail;
6452 }
6453 {
6454 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6455 }
6456 return resultobj;
6457 fail:
6458 return NULL;
6459 }
6460
6461
6462 static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *, PyObject *args, PyObject *kwargs) {
6463 PyObject *resultobj;
6464 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6465 int arg2 ;
6466 PyObject * obj0 = 0 ;
6467 PyObject * obj1 = 0 ;
6468 char *kwnames[] = {
6469 (char *) "self",(char *) "width", NULL
6470 };
6471
6472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) goto fail;
6473 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6474 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6475 arg2 = (int)SWIG_As_int(obj1);
6476 if (PyErr_Occurred()) SWIG_fail;
6477 {
6478 PyThreadState* __tstate = wxPyBeginAllowThreads();
6479 (arg1)->SetSashSize(arg2);
6480
6481 wxPyEndAllowThreads(__tstate);
6482 if (PyErr_Occurred()) SWIG_fail;
6483 }
6484 Py_INCREF(Py_None); resultobj = Py_None;
6485 return resultobj;
6486 fail:
6487 return NULL;
6488 }
6489
6490
6491 static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
6492 PyObject *resultobj;
6493 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6494 int arg2 ;
6495 PyObject * obj0 = 0 ;
6496 PyObject * obj1 = 0 ;
6497 char *kwnames[] = {
6498 (char *) "self",(char *) "width", NULL
6499 };
6500
6501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) goto fail;
6502 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6503 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6504 arg2 = (int)SWIG_As_int(obj1);
6505 if (PyErr_Occurred()) SWIG_fail;
6506 {
6507 PyThreadState* __tstate = wxPyBeginAllowThreads();
6508 (arg1)->SetBorderSize(arg2);
6509
6510 wxPyEndAllowThreads(__tstate);
6511 if (PyErr_Occurred()) SWIG_fail;
6512 }
6513 Py_INCREF(Py_None); resultobj = Py_None;
6514 return resultobj;
6515 fail:
6516 return NULL;
6517 }
6518
6519
6520 static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *, PyObject *args, PyObject *kwargs) {
6521 PyObject *resultobj;
6522 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6523 int result;
6524 PyObject * obj0 = 0 ;
6525 char *kwnames[] = {
6526 (char *) "self", NULL
6527 };
6528
6529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail;
6530 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6531 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6532 {
6533 PyThreadState* __tstate = wxPyBeginAllowThreads();
6534 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
6535
6536 wxPyEndAllowThreads(__tstate);
6537 if (PyErr_Occurred()) SWIG_fail;
6538 }
6539 resultobj = SWIG_From_int((int)result);
6540 return resultobj;
6541 fail:
6542 return NULL;
6543 }
6544
6545
6546 static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
6547 PyObject *resultobj;
6548 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6549 int result;
6550 PyObject * obj0 = 0 ;
6551 char *kwnames[] = {
6552 (char *) "self", NULL
6553 };
6554
6555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail;
6556 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6557 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6558 {
6559 PyThreadState* __tstate = wxPyBeginAllowThreads();
6560 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
6561
6562 wxPyEndAllowThreads(__tstate);
6563 if (PyErr_Occurred()) SWIG_fail;
6564 }
6565 resultobj = SWIG_From_int((int)result);
6566 return resultobj;
6567 fail:
6568 return NULL;
6569 }
6570
6571
6572 static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
6573 PyObject *resultobj;
6574 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6575 int arg2 ;
6576 bool arg3 = (bool) true ;
6577 PyObject * obj0 = 0 ;
6578 PyObject * obj1 = 0 ;
6579 PyObject * obj2 = 0 ;
6580 char *kwnames[] = {
6581 (char *) "self",(char *) "position",(char *) "redraw", NULL
6582 };
6583
6584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
6585 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6586 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6587 arg2 = (int)SWIG_As_int(obj1);
6588 if (PyErr_Occurred()) SWIG_fail;
6589 if (obj2) {
6590 arg3 = (bool)SWIG_As_bool(obj2);
6591 if (PyErr_Occurred()) SWIG_fail;
6592 }
6593 {
6594 PyThreadState* __tstate = wxPyBeginAllowThreads();
6595 (arg1)->SetSashPosition(arg2,arg3);
6596
6597 wxPyEndAllowThreads(__tstate);
6598 if (PyErr_Occurred()) SWIG_fail;
6599 }
6600 Py_INCREF(Py_None); resultobj = Py_None;
6601 return resultobj;
6602 fail:
6603 return NULL;
6604 }
6605
6606
6607 static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
6608 PyObject *resultobj;
6609 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6610 int result;
6611 PyObject * obj0 = 0 ;
6612 char *kwnames[] = {
6613 (char *) "self", NULL
6614 };
6615
6616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail;
6617 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6618 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6619 {
6620 PyThreadState* __tstate = wxPyBeginAllowThreads();
6621 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
6622
6623 wxPyEndAllowThreads(__tstate);
6624 if (PyErr_Occurred()) SWIG_fail;
6625 }
6626 resultobj = SWIG_From_int((int)result);
6627 return resultobj;
6628 fail:
6629 return NULL;
6630 }
6631
6632
6633 static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *, PyObject *args, PyObject *kwargs) {
6634 PyObject *resultobj;
6635 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6636 int arg2 ;
6637 PyObject * obj0 = 0 ;
6638 PyObject * obj1 = 0 ;
6639 char *kwnames[] = {
6640 (char *) "self",(char *) "min", NULL
6641 };
6642
6643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) goto fail;
6644 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6645 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6646 arg2 = (int)SWIG_As_int(obj1);
6647 if (PyErr_Occurred()) SWIG_fail;
6648 {
6649 PyThreadState* __tstate = wxPyBeginAllowThreads();
6650 (arg1)->SetMinimumPaneSize(arg2);
6651
6652 wxPyEndAllowThreads(__tstate);
6653 if (PyErr_Occurred()) SWIG_fail;
6654 }
6655 Py_INCREF(Py_None); resultobj = Py_None;
6656 return resultobj;
6657 fail:
6658 return NULL;
6659 }
6660
6661
6662 static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *, PyObject *args, PyObject *kwargs) {
6663 PyObject *resultobj;
6664 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6665 int result;
6666 PyObject * obj0 = 0 ;
6667 char *kwnames[] = {
6668 (char *) "self", NULL
6669 };
6670
6671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail;
6672 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6673 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6674 {
6675 PyThreadState* __tstate = wxPyBeginAllowThreads();
6676 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
6677
6678 wxPyEndAllowThreads(__tstate);
6679 if (PyErr_Occurred()) SWIG_fail;
6680 }
6681 resultobj = SWIG_From_int((int)result);
6682 return resultobj;
6683 fail:
6684 return NULL;
6685 }
6686
6687
6688 static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *, PyObject *args, PyObject *kwargs) {
6689 PyObject *resultobj;
6690 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6691 int arg2 ;
6692 int arg3 ;
6693 int arg4 = (int) 5 ;
6694 bool result;
6695 PyObject * obj0 = 0 ;
6696 PyObject * obj1 = 0 ;
6697 PyObject * obj2 = 0 ;
6698 PyObject * obj3 = 0 ;
6699 char *kwnames[] = {
6700 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6701 };
6702
6703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6704 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6705 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6706 arg2 = (int)SWIG_As_int(obj1);
6707 if (PyErr_Occurred()) SWIG_fail;
6708 arg3 = (int)SWIG_As_int(obj2);
6709 if (PyErr_Occurred()) SWIG_fail;
6710 if (obj3) {
6711 arg4 = (int)SWIG_As_int(obj3);
6712 if (PyErr_Occurred()) SWIG_fail;
6713 }
6714 {
6715 PyThreadState* __tstate = wxPyBeginAllowThreads();
6716 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
6717
6718 wxPyEndAllowThreads(__tstate);
6719 if (PyErr_Occurred()) SWIG_fail;
6720 }
6721 {
6722 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6723 }
6724 return resultobj;
6725 fail:
6726 return NULL;
6727 }
6728
6729
6730 static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *, PyObject *args, PyObject *kwargs) {
6731 PyObject *resultobj;
6732 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6733 PyObject * obj0 = 0 ;
6734 char *kwnames[] = {
6735 (char *) "self", NULL
6736 };
6737
6738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail;
6739 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6740 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6741 {
6742 PyThreadState* __tstate = wxPyBeginAllowThreads();
6743 (arg1)->SizeWindows();
6744
6745 wxPyEndAllowThreads(__tstate);
6746 if (PyErr_Occurred()) SWIG_fail;
6747 }
6748 Py_INCREF(Py_None); resultobj = Py_None;
6749 return resultobj;
6750 fail:
6751 return NULL;
6752 }
6753
6754
6755 static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *, PyObject *args, PyObject *kwargs) {
6756 PyObject *resultobj;
6757 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6758 bool arg2 ;
6759 PyObject * obj0 = 0 ;
6760 PyObject * obj1 = 0 ;
6761 char *kwnames[] = {
6762 (char *) "self",(char *) "needUpdating", NULL
6763 };
6764
6765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail;
6766 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6767 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6768 arg2 = (bool)SWIG_As_bool(obj1);
6769 if (PyErr_Occurred()) SWIG_fail;
6770 {
6771 PyThreadState* __tstate = wxPyBeginAllowThreads();
6772 (arg1)->SetNeedUpdating(arg2);
6773
6774 wxPyEndAllowThreads(__tstate);
6775 if (PyErr_Occurred()) SWIG_fail;
6776 }
6777 Py_INCREF(Py_None); resultobj = Py_None;
6778 return resultobj;
6779 fail:
6780 return NULL;
6781 }
6782
6783
6784 static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *, PyObject *args, PyObject *kwargs) {
6785 PyObject *resultobj;
6786 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6787 bool result;
6788 PyObject * obj0 = 0 ;
6789 char *kwnames[] = {
6790 (char *) "self", NULL
6791 };
6792
6793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail;
6794 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6795 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6796 {
6797 PyThreadState* __tstate = wxPyBeginAllowThreads();
6798 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
6799
6800 wxPyEndAllowThreads(__tstate);
6801 if (PyErr_Occurred()) SWIG_fail;
6802 }
6803 {
6804 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6805 }
6806 return resultobj;
6807 fail:
6808 return NULL;
6809 }
6810
6811
6812 static PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
6813 PyObject *resultobj;
6814 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
6815 wxVisualAttributes result;
6816 PyObject * obj0 = 0 ;
6817 char *kwnames[] = {
6818 (char *) "variant", NULL
6819 };
6820
6821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6822 if (obj0) {
6823 arg1 = (int)SWIG_As_int(obj0);
6824 if (PyErr_Occurred()) SWIG_fail;
6825 }
6826 {
6827 if (!wxPyCheckForApp()) SWIG_fail;
6828 PyThreadState* __tstate = wxPyBeginAllowThreads();
6829 result = wxSplitterWindow::GetClassDefaultAttributes((wxWindowVariant )arg1);
6830
6831 wxPyEndAllowThreads(__tstate);
6832 if (PyErr_Occurred()) SWIG_fail;
6833 }
6834 {
6835 wxVisualAttributes * resultptr;
6836 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
6837 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6838 }
6839 return resultobj;
6840 fail:
6841 return NULL;
6842 }
6843
6844
6845 static PyObject * SplitterWindow_swigregister(PyObject *, PyObject *args) {
6846 PyObject *obj;
6847 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6848 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj);
6849 Py_INCREF(obj);
6850 return Py_BuildValue((char *)"");
6851 }
6852 static PyObject *_wrap_new_SplitterEvent(PyObject *, PyObject *args, PyObject *kwargs) {
6853 PyObject *resultobj;
6854 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
6855 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
6856 wxSplitterEvent *result;
6857 PyObject * obj0 = 0 ;
6858 PyObject * obj1 = 0 ;
6859 char *kwnames[] = {
6860 (char *) "type",(char *) "splitter", NULL
6861 };
6862
6863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) goto fail;
6864 if (obj0) {
6865 arg1 = (wxEventType)SWIG_As_int(obj0);
6866 if (PyErr_Occurred()) SWIG_fail;
6867 }
6868 if (obj1) {
6869 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSplitterWindow,
6870 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6871 }
6872 {
6873 PyThreadState* __tstate = wxPyBeginAllowThreads();
6874 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
6875
6876 wxPyEndAllowThreads(__tstate);
6877 if (PyErr_Occurred()) SWIG_fail;
6878 }
6879 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterEvent, 1);
6880 return resultobj;
6881 fail:
6882 return NULL;
6883 }
6884
6885
6886 static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
6887 PyObject *resultobj;
6888 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6889 int arg2 ;
6890 PyObject * obj0 = 0 ;
6891 PyObject * obj1 = 0 ;
6892 char *kwnames[] = {
6893 (char *) "self",(char *) "pos", NULL
6894 };
6895
6896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) goto fail;
6897 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6898 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6899 arg2 = (int)SWIG_As_int(obj1);
6900 if (PyErr_Occurred()) SWIG_fail;
6901 {
6902 PyThreadState* __tstate = wxPyBeginAllowThreads();
6903 (arg1)->SetSashPosition(arg2);
6904
6905 wxPyEndAllowThreads(__tstate);
6906 if (PyErr_Occurred()) SWIG_fail;
6907 }
6908 Py_INCREF(Py_None); resultobj = Py_None;
6909 return resultobj;
6910 fail:
6911 return NULL;
6912 }
6913
6914
6915 static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
6916 PyObject *resultobj;
6917 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6918 int result;
6919 PyObject * obj0 = 0 ;
6920 char *kwnames[] = {
6921 (char *) "self", NULL
6922 };
6923
6924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail;
6925 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6926 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6927 {
6928 PyThreadState* __tstate = wxPyBeginAllowThreads();
6929 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
6930
6931 wxPyEndAllowThreads(__tstate);
6932 if (PyErr_Occurred()) SWIG_fail;
6933 }
6934 resultobj = SWIG_From_int((int)result);
6935 return resultobj;
6936 fail:
6937 return NULL;
6938 }
6939
6940
6941 static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *, PyObject *args, PyObject *kwargs) {
6942 PyObject *resultobj;
6943 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6944 wxWindow *result;
6945 PyObject * obj0 = 0 ;
6946 char *kwnames[] = {
6947 (char *) "self", NULL
6948 };
6949
6950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail;
6951 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6952 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6953 {
6954 PyThreadState* __tstate = wxPyBeginAllowThreads();
6955 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
6956
6957 wxPyEndAllowThreads(__tstate);
6958 if (PyErr_Occurred()) SWIG_fail;
6959 }
6960 {
6961 resultobj = wxPyMake_wxObject(result, 0);
6962 }
6963 return resultobj;
6964 fail:
6965 return NULL;
6966 }
6967
6968
6969 static PyObject *_wrap_SplitterEvent_GetX(PyObject *, PyObject *args, PyObject *kwargs) {
6970 PyObject *resultobj;
6971 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6972 int result;
6973 PyObject * obj0 = 0 ;
6974 char *kwnames[] = {
6975 (char *) "self", NULL
6976 };
6977
6978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail;
6979 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6980 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6981 {
6982 PyThreadState* __tstate = wxPyBeginAllowThreads();
6983 result = (int)((wxSplitterEvent const *)arg1)->GetX();
6984
6985 wxPyEndAllowThreads(__tstate);
6986 if (PyErr_Occurred()) SWIG_fail;
6987 }
6988 resultobj = SWIG_From_int((int)result);
6989 return resultobj;
6990 fail:
6991 return NULL;
6992 }
6993
6994
6995 static PyObject *_wrap_SplitterEvent_GetY(PyObject *, PyObject *args, PyObject *kwargs) {
6996 PyObject *resultobj;
6997 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6998 int result;
6999 PyObject * obj0 = 0 ;
7000 char *kwnames[] = {
7001 (char *) "self", NULL
7002 };
7003
7004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail;
7005 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
7006 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7007 {
7008 PyThreadState* __tstate = wxPyBeginAllowThreads();
7009 result = (int)((wxSplitterEvent const *)arg1)->GetY();
7010
7011 wxPyEndAllowThreads(__tstate);
7012 if (PyErr_Occurred()) SWIG_fail;
7013 }
7014 resultobj = SWIG_From_int((int)result);
7015 return resultobj;
7016 fail:
7017 return NULL;
7018 }
7019
7020
7021 static PyObject * SplitterEvent_swigregister(PyObject *, PyObject *args) {
7022 PyObject *obj;
7023 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7024 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj);
7025 Py_INCREF(obj);
7026 return Py_BuildValue((char *)"");
7027 }
7028 static int _wrap_SashNameStr_set(PyObject *) {
7029 PyErr_SetString(PyExc_TypeError,"Variable SashNameStr is read-only.");
7030 return 1;
7031 }
7032
7033
7034 static PyObject *_wrap_SashNameStr_get() {
7035 PyObject *pyobj;
7036
7037 {
7038 #if wxUSE_UNICODE
7039 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
7040 #else
7041 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
7042 #endif
7043 }
7044 return pyobj;
7045 }
7046
7047
7048 static int _wrap_SashLayoutNameStr_set(PyObject *) {
7049 PyErr_SetString(PyExc_TypeError,"Variable SashLayoutNameStr is read-only.");
7050 return 1;
7051 }
7052
7053
7054 static PyObject *_wrap_SashLayoutNameStr_get() {
7055 PyObject *pyobj;
7056
7057 {
7058 #if wxUSE_UNICODE
7059 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
7060 #else
7061 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
7062 #endif
7063 }
7064 return pyobj;
7065 }
7066
7067
7068 static PyObject *_wrap_new_SashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7069 PyObject *resultobj;
7070 wxWindow *arg1 = (wxWindow *) 0 ;
7071 int arg2 = (int) -1 ;
7072 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7073 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7074 wxSize const &arg4_defvalue = wxDefaultSize ;
7075 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7076 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
7077 wxString const &arg6_defvalue = wxPySashNameStr ;
7078 wxString *arg6 = (wxString *) &arg6_defvalue ;
7079 wxSashWindow *result;
7080 wxPoint temp3 ;
7081 wxSize temp4 ;
7082 bool temp6 = false ;
7083 PyObject * obj0 = 0 ;
7084 PyObject * obj1 = 0 ;
7085 PyObject * obj2 = 0 ;
7086 PyObject * obj3 = 0 ;
7087 PyObject * obj4 = 0 ;
7088 PyObject * obj5 = 0 ;
7089 char *kwnames[] = {
7090 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7091 };
7092
7093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
7094 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
7095 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7096 if (obj1) {
7097 arg2 = (int)SWIG_As_int(obj1);
7098 if (PyErr_Occurred()) SWIG_fail;
7099 }
7100 if (obj2) {
7101 {
7102 arg3 = &temp3;
7103 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7104 }
7105 }
7106 if (obj3) {
7107 {
7108 arg4 = &temp4;
7109 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7110 }
7111 }
7112 if (obj4) {
7113 arg5 = (long)SWIG_As_long(obj4);
7114 if (PyErr_Occurred()) SWIG_fail;
7115 }
7116 if (obj5) {
7117 {
7118 arg6 = wxString_in_helper(obj5);
7119 if (arg6 == NULL) SWIG_fail;
7120 temp6 = true;
7121 }
7122 }
7123 {
7124 if (!wxPyCheckForApp()) SWIG_fail;
7125 PyThreadState* __tstate = wxPyBeginAllowThreads();
7126 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7127
7128 wxPyEndAllowThreads(__tstate);
7129 if (PyErr_Occurred()) SWIG_fail;
7130 }
7131 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
7132 {
7133 if (temp6)
7134 delete arg6;
7135 }
7136 return resultobj;
7137 fail:
7138 {
7139 if (temp6)
7140 delete arg6;
7141 }
7142 return NULL;
7143 }
7144
7145
7146 static PyObject *_wrap_new_PreSashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7147 PyObject *resultobj;
7148 wxSashWindow *result;
7149 char *kwnames[] = {
7150 NULL
7151 };
7152
7153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail;
7154 {
7155 if (!wxPyCheckForApp()) SWIG_fail;
7156 PyThreadState* __tstate = wxPyBeginAllowThreads();
7157 result = (wxSashWindow *)new wxSashWindow();
7158
7159 wxPyEndAllowThreads(__tstate);
7160 if (PyErr_Occurred()) SWIG_fail;
7161 }
7162 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
7163 return resultobj;
7164 fail:
7165 return NULL;
7166 }
7167
7168
7169 static PyObject *_wrap_SashWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7170 PyObject *resultobj;
7171 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7172 wxWindow *arg2 = (wxWindow *) 0 ;
7173 int arg3 = (int) -1 ;
7174 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7175 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7176 wxSize const &arg5_defvalue = wxDefaultSize ;
7177 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7178 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
7179 wxString const &arg7_defvalue = wxPySashNameStr ;
7180 wxString *arg7 = (wxString *) &arg7_defvalue ;
7181 bool result;
7182 wxPoint temp4 ;
7183 wxSize temp5 ;
7184 bool temp7 = false ;
7185 PyObject * obj0 = 0 ;
7186 PyObject * obj1 = 0 ;
7187 PyObject * obj2 = 0 ;
7188 PyObject * obj3 = 0 ;
7189 PyObject * obj4 = 0 ;
7190 PyObject * obj5 = 0 ;
7191 PyObject * obj6 = 0 ;
7192 char *kwnames[] = {
7193 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7194 };
7195
7196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
7197 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7198 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7199 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
7200 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7201 if (obj2) {
7202 arg3 = (int)SWIG_As_int(obj2);
7203 if (PyErr_Occurred()) SWIG_fail;
7204 }
7205 if (obj3) {
7206 {
7207 arg4 = &temp4;
7208 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7209 }
7210 }
7211 if (obj4) {
7212 {
7213 arg5 = &temp5;
7214 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7215 }
7216 }
7217 if (obj5) {
7218 arg6 = (long)SWIG_As_long(obj5);
7219 if (PyErr_Occurred()) SWIG_fail;
7220 }
7221 if (obj6) {
7222 {
7223 arg7 = wxString_in_helper(obj6);
7224 if (arg7 == NULL) SWIG_fail;
7225 temp7 = true;
7226 }
7227 }
7228 {
7229 PyThreadState* __tstate = wxPyBeginAllowThreads();
7230 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7231
7232 wxPyEndAllowThreads(__tstate);
7233 if (PyErr_Occurred()) SWIG_fail;
7234 }
7235 {
7236 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7237 }
7238 {
7239 if (temp7)
7240 delete arg7;
7241 }
7242 return resultobj;
7243 fail:
7244 {
7245 if (temp7)
7246 delete arg7;
7247 }
7248 return NULL;
7249 }
7250
7251
7252 static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *, PyObject *args, PyObject *kwargs) {
7253 PyObject *resultobj;
7254 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7255 int arg2 ;
7256 bool arg3 ;
7257 PyObject * obj0 = 0 ;
7258 PyObject * obj1 = 0 ;
7259 PyObject * obj2 = 0 ;
7260 char *kwnames[] = {
7261 (char *) "self",(char *) "edge",(char *) "sash", NULL
7262 };
7263
7264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) goto fail;
7265 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7266 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7267 arg2 = (int)SWIG_As_int(obj1);
7268 if (PyErr_Occurred()) SWIG_fail;
7269 arg3 = (bool)SWIG_As_bool(obj2);
7270 if (PyErr_Occurred()) SWIG_fail;
7271 {
7272 PyThreadState* __tstate = wxPyBeginAllowThreads();
7273 (arg1)->SetSashVisible((wxSashEdgePosition )arg2,arg3);
7274
7275 wxPyEndAllowThreads(__tstate);
7276 if (PyErr_Occurred()) SWIG_fail;
7277 }
7278 Py_INCREF(Py_None); resultobj = Py_None;
7279 return resultobj;
7280 fail:
7281 return NULL;
7282 }
7283
7284
7285 static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *, PyObject *args, PyObject *kwargs) {
7286 PyObject *resultobj;
7287 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7288 int arg2 ;
7289 bool result;
7290 PyObject * obj0 = 0 ;
7291 PyObject * obj1 = 0 ;
7292 char *kwnames[] = {
7293 (char *) "self",(char *) "edge", NULL
7294 };
7295
7296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) goto fail;
7297 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7299 arg2 = (int)SWIG_As_int(obj1);
7300 if (PyErr_Occurred()) SWIG_fail;
7301 {
7302 PyThreadState* __tstate = wxPyBeginAllowThreads();
7303 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible((wxSashEdgePosition )arg2);
7304
7305 wxPyEndAllowThreads(__tstate);
7306 if (PyErr_Occurred()) SWIG_fail;
7307 }
7308 {
7309 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7310 }
7311 return resultobj;
7312 fail:
7313 return NULL;
7314 }
7315
7316
7317 static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *, PyObject *args, PyObject *kwargs) {
7318 PyObject *resultobj;
7319 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7320 int arg2 ;
7321 bool arg3 ;
7322 PyObject * obj0 = 0 ;
7323 PyObject * obj1 = 0 ;
7324 PyObject * obj2 = 0 ;
7325 char *kwnames[] = {
7326 (char *) "self",(char *) "edge",(char *) "border", NULL
7327 };
7328
7329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) goto fail;
7330 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7331 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7332 arg2 = (int)SWIG_As_int(obj1);
7333 if (PyErr_Occurred()) SWIG_fail;
7334 arg3 = (bool)SWIG_As_bool(obj2);
7335 if (PyErr_Occurred()) SWIG_fail;
7336 {
7337 PyThreadState* __tstate = wxPyBeginAllowThreads();
7338 (arg1)->SetSashBorder((wxSashEdgePosition )arg2,arg3);
7339
7340 wxPyEndAllowThreads(__tstate);
7341 if (PyErr_Occurred()) SWIG_fail;
7342 }
7343 Py_INCREF(Py_None); resultobj = Py_None;
7344 return resultobj;
7345 fail:
7346 return NULL;
7347 }
7348
7349
7350 static PyObject *_wrap_SashWindow_HasBorder(PyObject *, PyObject *args, PyObject *kwargs) {
7351 PyObject *resultobj;
7352 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7353 int arg2 ;
7354 bool result;
7355 PyObject * obj0 = 0 ;
7356 PyObject * obj1 = 0 ;
7357 char *kwnames[] = {
7358 (char *) "self",(char *) "edge", NULL
7359 };
7360
7361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) goto fail;
7362 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7363 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7364 arg2 = (int)SWIG_As_int(obj1);
7365 if (PyErr_Occurred()) SWIG_fail;
7366 {
7367 PyThreadState* __tstate = wxPyBeginAllowThreads();
7368 result = (bool)((wxSashWindow const *)arg1)->HasBorder((wxSashEdgePosition )arg2);
7369
7370 wxPyEndAllowThreads(__tstate);
7371 if (PyErr_Occurred()) SWIG_fail;
7372 }
7373 {
7374 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7375 }
7376 return resultobj;
7377 fail:
7378 return NULL;
7379 }
7380
7381
7382 static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *, PyObject *args, PyObject *kwargs) {
7383 PyObject *resultobj;
7384 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7385 int arg2 ;
7386 int result;
7387 PyObject * obj0 = 0 ;
7388 PyObject * obj1 = 0 ;
7389 char *kwnames[] = {
7390 (char *) "self",(char *) "edge", NULL
7391 };
7392
7393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) goto fail;
7394 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7395 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7396 arg2 = (int)SWIG_As_int(obj1);
7397 if (PyErr_Occurred()) SWIG_fail;
7398 {
7399 PyThreadState* __tstate = wxPyBeginAllowThreads();
7400 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin((wxSashEdgePosition )arg2);
7401
7402 wxPyEndAllowThreads(__tstate);
7403 if (PyErr_Occurred()) SWIG_fail;
7404 }
7405 resultobj = SWIG_From_int((int)result);
7406 return resultobj;
7407 fail:
7408 return NULL;
7409 }
7410
7411
7412 static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
7413 PyObject *resultobj;
7414 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7415 int arg2 ;
7416 PyObject * obj0 = 0 ;
7417 PyObject * obj1 = 0 ;
7418 char *kwnames[] = {
7419 (char *) "self",(char *) "width", NULL
7420 };
7421
7422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) goto fail;
7423 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7424 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7425 arg2 = (int)SWIG_As_int(obj1);
7426 if (PyErr_Occurred()) SWIG_fail;
7427 {
7428 PyThreadState* __tstate = wxPyBeginAllowThreads();
7429 (arg1)->SetDefaultBorderSize(arg2);
7430
7431 wxPyEndAllowThreads(__tstate);
7432 if (PyErr_Occurred()) SWIG_fail;
7433 }
7434 Py_INCREF(Py_None); resultobj = Py_None;
7435 return resultobj;
7436 fail:
7437 return NULL;
7438 }
7439
7440
7441 static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
7442 PyObject *resultobj;
7443 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7444 int result;
7445 PyObject * obj0 = 0 ;
7446 char *kwnames[] = {
7447 (char *) "self", NULL
7448 };
7449
7450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail;
7451 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7452 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7453 {
7454 PyThreadState* __tstate = wxPyBeginAllowThreads();
7455 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
7456
7457 wxPyEndAllowThreads(__tstate);
7458 if (PyErr_Occurred()) SWIG_fail;
7459 }
7460 resultobj = SWIG_From_int((int)result);
7461 return resultobj;
7462 fail:
7463 return NULL;
7464 }
7465
7466
7467 static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
7468 PyObject *resultobj;
7469 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7470 int arg2 ;
7471 PyObject * obj0 = 0 ;
7472 PyObject * obj1 = 0 ;
7473 char *kwnames[] = {
7474 (char *) "self",(char *) "width", NULL
7475 };
7476
7477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) goto fail;
7478 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7479 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7480 arg2 = (int)SWIG_As_int(obj1);
7481 if (PyErr_Occurred()) SWIG_fail;
7482 {
7483 PyThreadState* __tstate = wxPyBeginAllowThreads();
7484 (arg1)->SetExtraBorderSize(arg2);
7485
7486 wxPyEndAllowThreads(__tstate);
7487 if (PyErr_Occurred()) SWIG_fail;
7488 }
7489 Py_INCREF(Py_None); resultobj = Py_None;
7490 return resultobj;
7491 fail:
7492 return NULL;
7493 }
7494
7495
7496 static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
7497 PyObject *resultobj;
7498 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7499 int result;
7500 PyObject * obj0 = 0 ;
7501 char *kwnames[] = {
7502 (char *) "self", NULL
7503 };
7504
7505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail;
7506 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7507 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7508 {
7509 PyThreadState* __tstate = wxPyBeginAllowThreads();
7510 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
7511
7512 wxPyEndAllowThreads(__tstate);
7513 if (PyErr_Occurred()) SWIG_fail;
7514 }
7515 resultobj = SWIG_From_int((int)result);
7516 return resultobj;
7517 fail:
7518 return NULL;
7519 }
7520
7521
7522 static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
7523 PyObject *resultobj;
7524 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7525 int arg2 ;
7526 PyObject * obj0 = 0 ;
7527 PyObject * obj1 = 0 ;
7528 char *kwnames[] = {
7529 (char *) "self",(char *) "min", NULL
7530 };
7531
7532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) goto fail;
7533 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7534 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7535 arg2 = (int)SWIG_As_int(obj1);
7536 if (PyErr_Occurred()) SWIG_fail;
7537 {
7538 PyThreadState* __tstate = wxPyBeginAllowThreads();
7539 (arg1)->SetMinimumSizeX(arg2);
7540
7541 wxPyEndAllowThreads(__tstate);
7542 if (PyErr_Occurred()) SWIG_fail;
7543 }
7544 Py_INCREF(Py_None); resultobj = Py_None;
7545 return resultobj;
7546 fail:
7547 return NULL;
7548 }
7549
7550
7551 static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
7552 PyObject *resultobj;
7553 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7554 int arg2 ;
7555 PyObject * obj0 = 0 ;
7556 PyObject * obj1 = 0 ;
7557 char *kwnames[] = {
7558 (char *) "self",(char *) "min", NULL
7559 };
7560
7561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) goto fail;
7562 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7563 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7564 arg2 = (int)SWIG_As_int(obj1);
7565 if (PyErr_Occurred()) SWIG_fail;
7566 {
7567 PyThreadState* __tstate = wxPyBeginAllowThreads();
7568 (arg1)->SetMinimumSizeY(arg2);
7569
7570 wxPyEndAllowThreads(__tstate);
7571 if (PyErr_Occurred()) SWIG_fail;
7572 }
7573 Py_INCREF(Py_None); resultobj = Py_None;
7574 return resultobj;
7575 fail:
7576 return NULL;
7577 }
7578
7579
7580 static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
7581 PyObject *resultobj;
7582 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7583 int result;
7584 PyObject * obj0 = 0 ;
7585 char *kwnames[] = {
7586 (char *) "self", NULL
7587 };
7588
7589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail;
7590 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7591 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7592 {
7593 PyThreadState* __tstate = wxPyBeginAllowThreads();
7594 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
7595
7596 wxPyEndAllowThreads(__tstate);
7597 if (PyErr_Occurred()) SWIG_fail;
7598 }
7599 resultobj = SWIG_From_int((int)result);
7600 return resultobj;
7601 fail:
7602 return NULL;
7603 }
7604
7605
7606 static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
7607 PyObject *resultobj;
7608 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7609 int result;
7610 PyObject * obj0 = 0 ;
7611 char *kwnames[] = {
7612 (char *) "self", NULL
7613 };
7614
7615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail;
7616 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7617 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7618 {
7619 PyThreadState* __tstate = wxPyBeginAllowThreads();
7620 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
7621
7622 wxPyEndAllowThreads(__tstate);
7623 if (PyErr_Occurred()) SWIG_fail;
7624 }
7625 resultobj = SWIG_From_int((int)result);
7626 return resultobj;
7627 fail:
7628 return NULL;
7629 }
7630
7631
7632 static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
7633 PyObject *resultobj;
7634 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7635 int arg2 ;
7636 PyObject * obj0 = 0 ;
7637 PyObject * obj1 = 0 ;
7638 char *kwnames[] = {
7639 (char *) "self",(char *) "max", NULL
7640 };
7641
7642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) goto fail;
7643 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7644 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7645 arg2 = (int)SWIG_As_int(obj1);
7646 if (PyErr_Occurred()) SWIG_fail;
7647 {
7648 PyThreadState* __tstate = wxPyBeginAllowThreads();
7649 (arg1)->SetMaximumSizeX(arg2);
7650
7651 wxPyEndAllowThreads(__tstate);
7652 if (PyErr_Occurred()) SWIG_fail;
7653 }
7654 Py_INCREF(Py_None); resultobj = Py_None;
7655 return resultobj;
7656 fail:
7657 return NULL;
7658 }
7659
7660
7661 static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
7662 PyObject *resultobj;
7663 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7664 int arg2 ;
7665 PyObject * obj0 = 0 ;
7666 PyObject * obj1 = 0 ;
7667 char *kwnames[] = {
7668 (char *) "self",(char *) "max", NULL
7669 };
7670
7671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) goto fail;
7672 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7673 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7674 arg2 = (int)SWIG_As_int(obj1);
7675 if (PyErr_Occurred()) SWIG_fail;
7676 {
7677 PyThreadState* __tstate = wxPyBeginAllowThreads();
7678 (arg1)->SetMaximumSizeY(arg2);
7679
7680 wxPyEndAllowThreads(__tstate);
7681 if (PyErr_Occurred()) SWIG_fail;
7682 }
7683 Py_INCREF(Py_None); resultobj = Py_None;
7684 return resultobj;
7685 fail:
7686 return NULL;
7687 }
7688
7689
7690 static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
7691 PyObject *resultobj;
7692 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7693 int result;
7694 PyObject * obj0 = 0 ;
7695 char *kwnames[] = {
7696 (char *) "self", NULL
7697 };
7698
7699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail;
7700 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7702 {
7703 PyThreadState* __tstate = wxPyBeginAllowThreads();
7704 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
7705
7706 wxPyEndAllowThreads(__tstate);
7707 if (PyErr_Occurred()) SWIG_fail;
7708 }
7709 resultobj = SWIG_From_int((int)result);
7710 return resultobj;
7711 fail:
7712 return NULL;
7713 }
7714
7715
7716 static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
7717 PyObject *resultobj;
7718 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7719 int result;
7720 PyObject * obj0 = 0 ;
7721 char *kwnames[] = {
7722 (char *) "self", NULL
7723 };
7724
7725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail;
7726 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7727 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7728 {
7729 PyThreadState* __tstate = wxPyBeginAllowThreads();
7730 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
7731
7732 wxPyEndAllowThreads(__tstate);
7733 if (PyErr_Occurred()) SWIG_fail;
7734 }
7735 resultobj = SWIG_From_int((int)result);
7736 return resultobj;
7737 fail:
7738 return NULL;
7739 }
7740
7741
7742 static PyObject *_wrap_SashWindow_SashHitTest(PyObject *, PyObject *args, PyObject *kwargs) {
7743 PyObject *resultobj;
7744 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7745 int arg2 ;
7746 int arg3 ;
7747 int arg4 = (int) 2 ;
7748 int result;
7749 PyObject * obj0 = 0 ;
7750 PyObject * obj1 = 0 ;
7751 PyObject * obj2 = 0 ;
7752 PyObject * obj3 = 0 ;
7753 char *kwnames[] = {
7754 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
7755 };
7756
7757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7758 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7759 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7760 arg2 = (int)SWIG_As_int(obj1);
7761 if (PyErr_Occurred()) SWIG_fail;
7762 arg3 = (int)SWIG_As_int(obj2);
7763 if (PyErr_Occurred()) SWIG_fail;
7764 if (obj3) {
7765 arg4 = (int)SWIG_As_int(obj3);
7766 if (PyErr_Occurred()) SWIG_fail;
7767 }
7768 {
7769 PyThreadState* __tstate = wxPyBeginAllowThreads();
7770 result = (int)(arg1)->SashHitTest(arg2,arg3,arg4);
7771
7772 wxPyEndAllowThreads(__tstate);
7773 if (PyErr_Occurred()) SWIG_fail;
7774 }
7775 resultobj = SWIG_From_int((int)result);
7776 return resultobj;
7777 fail:
7778 return NULL;
7779 }
7780
7781
7782 static PyObject *_wrap_SashWindow_SizeWindows(PyObject *, PyObject *args, PyObject *kwargs) {
7783 PyObject *resultobj;
7784 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7785 PyObject * obj0 = 0 ;
7786 char *kwnames[] = {
7787 (char *) "self", NULL
7788 };
7789
7790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail;
7791 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7792 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7793 {
7794 PyThreadState* __tstate = wxPyBeginAllowThreads();
7795 (arg1)->SizeWindows();
7796
7797 wxPyEndAllowThreads(__tstate);
7798 if (PyErr_Occurred()) SWIG_fail;
7799 }
7800 Py_INCREF(Py_None); resultobj = Py_None;
7801 return resultobj;
7802 fail:
7803 return NULL;
7804 }
7805
7806
7807 static PyObject * SashWindow_swigregister(PyObject *, PyObject *args) {
7808 PyObject *obj;
7809 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7810 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj);
7811 Py_INCREF(obj);
7812 return Py_BuildValue((char *)"");
7813 }
7814 static PyObject *_wrap_new_SashEvent(PyObject *, PyObject *args, PyObject *kwargs) {
7815 PyObject *resultobj;
7816 int arg1 = (int) 0 ;
7817 int arg2 = (int) wxSASH_NONE ;
7818 wxSashEvent *result;
7819 PyObject * obj0 = 0 ;
7820 PyObject * obj1 = 0 ;
7821 char *kwnames[] = {
7822 (char *) "id",(char *) "edge", NULL
7823 };
7824
7825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) goto fail;
7826 if (obj0) {
7827 arg1 = (int)SWIG_As_int(obj0);
7828 if (PyErr_Occurred()) SWIG_fail;
7829 }
7830 if (obj1) {
7831 arg2 = (int)SWIG_As_int(obj1);
7832 if (PyErr_Occurred()) SWIG_fail;
7833 }
7834 {
7835 PyThreadState* __tstate = wxPyBeginAllowThreads();
7836 result = (wxSashEvent *)new wxSashEvent(arg1,(wxSashEdgePosition )arg2);
7837
7838 wxPyEndAllowThreads(__tstate);
7839 if (PyErr_Occurred()) SWIG_fail;
7840 }
7841 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashEvent, 1);
7842 return resultobj;
7843 fail:
7844 return NULL;
7845 }
7846
7847
7848 static PyObject *_wrap_SashEvent_SetEdge(PyObject *, PyObject *args, PyObject *kwargs) {
7849 PyObject *resultobj;
7850 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7851 int arg2 ;
7852 PyObject * obj0 = 0 ;
7853 PyObject * obj1 = 0 ;
7854 char *kwnames[] = {
7855 (char *) "self",(char *) "edge", NULL
7856 };
7857
7858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) goto fail;
7859 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7860 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7861 arg2 = (int)SWIG_As_int(obj1);
7862 if (PyErr_Occurred()) SWIG_fail;
7863 {
7864 PyThreadState* __tstate = wxPyBeginAllowThreads();
7865 (arg1)->SetEdge((wxSashEdgePosition )arg2);
7866
7867 wxPyEndAllowThreads(__tstate);
7868 if (PyErr_Occurred()) SWIG_fail;
7869 }
7870 Py_INCREF(Py_None); resultobj = Py_None;
7871 return resultobj;
7872 fail:
7873 return NULL;
7874 }
7875
7876
7877 static PyObject *_wrap_SashEvent_GetEdge(PyObject *, PyObject *args, PyObject *kwargs) {
7878 PyObject *resultobj;
7879 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7880 int result;
7881 PyObject * obj0 = 0 ;
7882 char *kwnames[] = {
7883 (char *) "self", NULL
7884 };
7885
7886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail;
7887 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7888 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7889 {
7890 PyThreadState* __tstate = wxPyBeginAllowThreads();
7891 result = (int)((wxSashEvent const *)arg1)->GetEdge();
7892
7893 wxPyEndAllowThreads(__tstate);
7894 if (PyErr_Occurred()) SWIG_fail;
7895 }
7896 resultobj = SWIG_From_int((int)result);
7897 return resultobj;
7898 fail:
7899 return NULL;
7900 }
7901
7902
7903 static PyObject *_wrap_SashEvent_SetDragRect(PyObject *, PyObject *args, PyObject *kwargs) {
7904 PyObject *resultobj;
7905 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7906 wxRect *arg2 = 0 ;
7907 wxRect temp2 ;
7908 PyObject * obj0 = 0 ;
7909 PyObject * obj1 = 0 ;
7910 char *kwnames[] = {
7911 (char *) "self",(char *) "rect", NULL
7912 };
7913
7914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail;
7915 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7916 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7917 {
7918 arg2 = &temp2;
7919 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7920 }
7921 {
7922 PyThreadState* __tstate = wxPyBeginAllowThreads();
7923 (arg1)->SetDragRect((wxRect const &)*arg2);
7924
7925 wxPyEndAllowThreads(__tstate);
7926 if (PyErr_Occurred()) SWIG_fail;
7927 }
7928 Py_INCREF(Py_None); resultobj = Py_None;
7929 return resultobj;
7930 fail:
7931 return NULL;
7932 }
7933
7934
7935 static PyObject *_wrap_SashEvent_GetDragRect(PyObject *, PyObject *args, PyObject *kwargs) {
7936 PyObject *resultobj;
7937 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7938 wxRect result;
7939 PyObject * obj0 = 0 ;
7940 char *kwnames[] = {
7941 (char *) "self", NULL
7942 };
7943
7944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail;
7945 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7946 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7947 {
7948 PyThreadState* __tstate = wxPyBeginAllowThreads();
7949 result = ((wxSashEvent const *)arg1)->GetDragRect();
7950
7951 wxPyEndAllowThreads(__tstate);
7952 if (PyErr_Occurred()) SWIG_fail;
7953 }
7954 {
7955 wxRect * resultptr;
7956 resultptr = new wxRect((wxRect &) result);
7957 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
7958 }
7959 return resultobj;
7960 fail:
7961 return NULL;
7962 }
7963
7964
7965 static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *, PyObject *args, PyObject *kwargs) {
7966 PyObject *resultobj;
7967 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7968 int arg2 ;
7969 PyObject * obj0 = 0 ;
7970 PyObject * obj1 = 0 ;
7971 char *kwnames[] = {
7972 (char *) "self",(char *) "status", NULL
7973 };
7974
7975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) goto fail;
7976 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7977 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7978 arg2 = (int)SWIG_As_int(obj1);
7979 if (PyErr_Occurred()) SWIG_fail;
7980 {
7981 PyThreadState* __tstate = wxPyBeginAllowThreads();
7982 (arg1)->SetDragStatus((wxSashDragStatus )arg2);
7983
7984 wxPyEndAllowThreads(__tstate);
7985 if (PyErr_Occurred()) SWIG_fail;
7986 }
7987 Py_INCREF(Py_None); resultobj = Py_None;
7988 return resultobj;
7989 fail:
7990 return NULL;
7991 }
7992
7993
7994 static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *, PyObject *args, PyObject *kwargs) {
7995 PyObject *resultobj;
7996 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7997 int result;
7998 PyObject * obj0 = 0 ;
7999 char *kwnames[] = {
8000 (char *) "self", NULL
8001 };
8002
8003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail;
8004 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
8005 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8006 {
8007 PyThreadState* __tstate = wxPyBeginAllowThreads();
8008 result = (int)((wxSashEvent const *)arg1)->GetDragStatus();
8009
8010 wxPyEndAllowThreads(__tstate);
8011 if (PyErr_Occurred()) SWIG_fail;
8012 }
8013 resultobj = SWIG_From_int((int)result);
8014 return resultobj;
8015 fail:
8016 return NULL;
8017 }
8018
8019
8020 static PyObject * SashEvent_swigregister(PyObject *, PyObject *args) {
8021 PyObject *obj;
8022 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8023 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj);
8024 Py_INCREF(obj);
8025 return Py_BuildValue((char *)"");
8026 }
8027 static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *, PyObject *args, PyObject *kwargs) {
8028 PyObject *resultobj;
8029 int arg1 = (int) 0 ;
8030 wxQueryLayoutInfoEvent *result;
8031 PyObject * obj0 = 0 ;
8032 char *kwnames[] = {
8033 (char *) "id", NULL
8034 };
8035
8036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) goto fail;
8037 if (obj0) {
8038 arg1 = (int)SWIG_As_int(obj0);
8039 if (PyErr_Occurred()) SWIG_fail;
8040 }
8041 {
8042 PyThreadState* __tstate = wxPyBeginAllowThreads();
8043 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
8044
8045 wxPyEndAllowThreads(__tstate);
8046 if (PyErr_Occurred()) SWIG_fail;
8047 }
8048 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, 1);
8049 return resultobj;
8050 fail:
8051 return NULL;
8052 }
8053
8054
8055 static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *, PyObject *args, PyObject *kwargs) {
8056 PyObject *resultobj;
8057 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8058 int arg2 ;
8059 PyObject * obj0 = 0 ;
8060 PyObject * obj1 = 0 ;
8061 char *kwnames[] = {
8062 (char *) "self",(char *) "length", NULL
8063 };
8064
8065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) goto fail;
8066 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8067 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8068 arg2 = (int)SWIG_As_int(obj1);
8069 if (PyErr_Occurred()) SWIG_fail;
8070 {
8071 PyThreadState* __tstate = wxPyBeginAllowThreads();
8072 (arg1)->SetRequestedLength(arg2);
8073
8074 wxPyEndAllowThreads(__tstate);
8075 if (PyErr_Occurred()) SWIG_fail;
8076 }
8077 Py_INCREF(Py_None); resultobj = Py_None;
8078 return resultobj;
8079 fail:
8080 return NULL;
8081 }
8082
8083
8084 static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *, PyObject *args, PyObject *kwargs) {
8085 PyObject *resultobj;
8086 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8087 int result;
8088 PyObject * obj0 = 0 ;
8089 char *kwnames[] = {
8090 (char *) "self", NULL
8091 };
8092
8093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail;
8094 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8095 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8096 {
8097 PyThreadState* __tstate = wxPyBeginAllowThreads();
8098 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
8099
8100 wxPyEndAllowThreads(__tstate);
8101 if (PyErr_Occurred()) SWIG_fail;
8102 }
8103 resultobj = SWIG_From_int((int)result);
8104 return resultobj;
8105 fail:
8106 return NULL;
8107 }
8108
8109
8110 static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
8111 PyObject *resultobj;
8112 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8113 int arg2 ;
8114 PyObject * obj0 = 0 ;
8115 PyObject * obj1 = 0 ;
8116 char *kwnames[] = {
8117 (char *) "self",(char *) "flags", NULL
8118 };
8119
8120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
8121 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8122 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8123 arg2 = (int)SWIG_As_int(obj1);
8124 if (PyErr_Occurred()) SWIG_fail;
8125 {
8126 PyThreadState* __tstate = wxPyBeginAllowThreads();
8127 (arg1)->SetFlags(arg2);
8128
8129 wxPyEndAllowThreads(__tstate);
8130 if (PyErr_Occurred()) SWIG_fail;
8131 }
8132 Py_INCREF(Py_None); resultobj = Py_None;
8133 return resultobj;
8134 fail:
8135 return NULL;
8136 }
8137
8138
8139 static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
8140 PyObject *resultobj;
8141 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8142 int result;
8143 PyObject * obj0 = 0 ;
8144 char *kwnames[] = {
8145 (char *) "self", NULL
8146 };
8147
8148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail;
8149 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8150 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8151 {
8152 PyThreadState* __tstate = wxPyBeginAllowThreads();
8153 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
8154
8155 wxPyEndAllowThreads(__tstate);
8156 if (PyErr_Occurred()) SWIG_fail;
8157 }
8158 resultobj = SWIG_From_int((int)result);
8159 return resultobj;
8160 fail:
8161 return NULL;
8162 }
8163
8164
8165 static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
8166 PyObject *resultobj;
8167 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8168 wxSize *arg2 = 0 ;
8169 wxSize temp2 ;
8170 PyObject * obj0 = 0 ;
8171 PyObject * obj1 = 0 ;
8172 char *kwnames[] = {
8173 (char *) "self",(char *) "size", NULL
8174 };
8175
8176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
8177 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8178 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8179 {
8180 arg2 = &temp2;
8181 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
8182 }
8183 {
8184 PyThreadState* __tstate = wxPyBeginAllowThreads();
8185 (arg1)->SetSize((wxSize const &)*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_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
8198 PyObject *resultobj;
8199 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8200 wxSize result;
8201 PyObject * obj0 = 0 ;
8202 char *kwnames[] = {
8203 (char *) "self", NULL
8204 };
8205
8206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",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 = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
8212
8213 wxPyEndAllowThreads(__tstate);
8214 if (PyErr_Occurred()) SWIG_fail;
8215 }
8216 {
8217 wxSize * resultptr;
8218 resultptr = new wxSize((wxSize &) result);
8219 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
8220 }
8221 return resultobj;
8222 fail:
8223 return NULL;
8224 }
8225
8226
8227 static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
8228 PyObject *resultobj;
8229 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8230 int arg2 ;
8231 PyObject * obj0 = 0 ;
8232 PyObject * obj1 = 0 ;
8233 char *kwnames[] = {
8234 (char *) "self",(char *) "orient", NULL
8235 };
8236
8237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
8238 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8239 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8240 arg2 = (int)SWIG_As_int(obj1);
8241 if (PyErr_Occurred()) SWIG_fail;
8242 {
8243 PyThreadState* __tstate = wxPyBeginAllowThreads();
8244 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
8245
8246 wxPyEndAllowThreads(__tstate);
8247 if (PyErr_Occurred()) SWIG_fail;
8248 }
8249 Py_INCREF(Py_None); resultobj = Py_None;
8250 return resultobj;
8251 fail:
8252 return NULL;
8253 }
8254
8255
8256 static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
8257 PyObject *resultobj;
8258 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8259 int result;
8260 PyObject * obj0 = 0 ;
8261 char *kwnames[] = {
8262 (char *) "self", NULL
8263 };
8264
8265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail;
8266 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8267 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8268 {
8269 PyThreadState* __tstate = wxPyBeginAllowThreads();
8270 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
8271
8272 wxPyEndAllowThreads(__tstate);
8273 if (PyErr_Occurred()) SWIG_fail;
8274 }
8275 resultobj = SWIG_From_int((int)result);
8276 return resultobj;
8277 fail:
8278 return NULL;
8279 }
8280
8281
8282 static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
8283 PyObject *resultobj;
8284 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8285 int arg2 ;
8286 PyObject * obj0 = 0 ;
8287 PyObject * obj1 = 0 ;
8288 char *kwnames[] = {
8289 (char *) "self",(char *) "align", NULL
8290 };
8291
8292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
8293 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8294 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8295 arg2 = (int)SWIG_As_int(obj1);
8296 if (PyErr_Occurred()) SWIG_fail;
8297 {
8298 PyThreadState* __tstate = wxPyBeginAllowThreads();
8299 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
8300
8301 wxPyEndAllowThreads(__tstate);
8302 if (PyErr_Occurred()) SWIG_fail;
8303 }
8304 Py_INCREF(Py_None); resultobj = Py_None;
8305 return resultobj;
8306 fail:
8307 return NULL;
8308 }
8309
8310
8311 static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
8312 PyObject *resultobj;
8313 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8314 int result;
8315 PyObject * obj0 = 0 ;
8316 char *kwnames[] = {
8317 (char *) "self", NULL
8318 };
8319
8320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail;
8321 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8322 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8323 {
8324 PyThreadState* __tstate = wxPyBeginAllowThreads();
8325 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
8326
8327 wxPyEndAllowThreads(__tstate);
8328 if (PyErr_Occurred()) SWIG_fail;
8329 }
8330 resultobj = SWIG_From_int((int)result);
8331 return resultobj;
8332 fail:
8333 return NULL;
8334 }
8335
8336
8337 static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *, PyObject *args) {
8338 PyObject *obj;
8339 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8340 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj);
8341 Py_INCREF(obj);
8342 return Py_BuildValue((char *)"");
8343 }
8344 static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *, PyObject *args, PyObject *kwargs) {
8345 PyObject *resultobj;
8346 int arg1 = (int) 0 ;
8347 wxCalculateLayoutEvent *result;
8348 PyObject * obj0 = 0 ;
8349 char *kwnames[] = {
8350 (char *) "id", NULL
8351 };
8352
8353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) goto fail;
8354 if (obj0) {
8355 arg1 = (int)SWIG_As_int(obj0);
8356 if (PyErr_Occurred()) SWIG_fail;
8357 }
8358 {
8359 PyThreadState* __tstate = wxPyBeginAllowThreads();
8360 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
8361
8362 wxPyEndAllowThreads(__tstate);
8363 if (PyErr_Occurred()) SWIG_fail;
8364 }
8365 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCalculateLayoutEvent, 1);
8366 return resultobj;
8367 fail:
8368 return NULL;
8369 }
8370
8371
8372 static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
8373 PyObject *resultobj;
8374 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
8375 int arg2 ;
8376 PyObject * obj0 = 0 ;
8377 PyObject * obj1 = 0 ;
8378 char *kwnames[] = {
8379 (char *) "self",(char *) "flags", NULL
8380 };
8381
8382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
8383 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
8384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8385 arg2 = (int)SWIG_As_int(obj1);
8386 if (PyErr_Occurred()) SWIG_fail;
8387 {
8388 PyThreadState* __tstate = wxPyBeginAllowThreads();
8389 (arg1)->SetFlags(arg2);
8390
8391 wxPyEndAllowThreads(__tstate);
8392 if (PyErr_Occurred()) SWIG_fail;
8393 }
8394 Py_INCREF(Py_None); resultobj = Py_None;
8395 return resultobj;
8396 fail:
8397 return NULL;
8398 }
8399
8400
8401 static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
8402 PyObject *resultobj;
8403 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
8404 int result;
8405 PyObject * obj0 = 0 ;
8406 char *kwnames[] = {
8407 (char *) "self", NULL
8408 };
8409
8410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail;
8411 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
8412 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8413 {
8414 PyThreadState* __tstate = wxPyBeginAllowThreads();
8415 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
8416
8417 wxPyEndAllowThreads(__tstate);
8418 if (PyErr_Occurred()) SWIG_fail;
8419 }
8420 resultobj = SWIG_From_int((int)result);
8421 return resultobj;
8422 fail:
8423 return NULL;
8424 }
8425
8426
8427 static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *, PyObject *args, PyObject *kwargs) {
8428 PyObject *resultobj;
8429 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
8430 wxRect *arg2 = 0 ;
8431 wxRect temp2 ;
8432 PyObject * obj0 = 0 ;
8433 PyObject * obj1 = 0 ;
8434 char *kwnames[] = {
8435 (char *) "self",(char *) "rect", NULL
8436 };
8437
8438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
8439 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
8440 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8441 {
8442 arg2 = &temp2;
8443 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
8444 }
8445 {
8446 PyThreadState* __tstate = wxPyBeginAllowThreads();
8447 (arg1)->SetRect((wxRect const &)*arg2);
8448
8449 wxPyEndAllowThreads(__tstate);
8450 if (PyErr_Occurred()) SWIG_fail;
8451 }
8452 Py_INCREF(Py_None); resultobj = Py_None;
8453 return resultobj;
8454 fail:
8455 return NULL;
8456 }
8457
8458
8459 static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *, PyObject *args, PyObject *kwargs) {
8460 PyObject *resultobj;
8461 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
8462 wxRect result;
8463 PyObject * obj0 = 0 ;
8464 char *kwnames[] = {
8465 (char *) "self", NULL
8466 };
8467
8468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail;
8469 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
8470 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8471 {
8472 PyThreadState* __tstate = wxPyBeginAllowThreads();
8473 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
8474
8475 wxPyEndAllowThreads(__tstate);
8476 if (PyErr_Occurred()) SWIG_fail;
8477 }
8478 {
8479 wxRect * resultptr;
8480 resultptr = new wxRect((wxRect &) result);
8481 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
8482 }
8483 return resultobj;
8484 fail:
8485 return NULL;
8486 }
8487
8488
8489 static PyObject * CalculateLayoutEvent_swigregister(PyObject *, PyObject *args) {
8490 PyObject *obj;
8491 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8492 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj);
8493 Py_INCREF(obj);
8494 return Py_BuildValue((char *)"");
8495 }
8496 static PyObject *_wrap_new_SashLayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8497 PyObject *resultobj;
8498 wxWindow *arg1 = (wxWindow *) 0 ;
8499 int arg2 = (int) -1 ;
8500 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8501 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8502 wxSize const &arg4_defvalue = wxDefaultSize ;
8503 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8504 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
8505 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
8506 wxString *arg6 = (wxString *) &arg6_defvalue ;
8507 wxSashLayoutWindow *result;
8508 wxPoint temp3 ;
8509 wxSize temp4 ;
8510 bool temp6 = false ;
8511 PyObject * obj0 = 0 ;
8512 PyObject * obj1 = 0 ;
8513 PyObject * obj2 = 0 ;
8514 PyObject * obj3 = 0 ;
8515 PyObject * obj4 = 0 ;
8516 PyObject * obj5 = 0 ;
8517 char *kwnames[] = {
8518 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8519 };
8520
8521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
8522 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8523 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8524 if (obj1) {
8525 arg2 = (int)SWIG_As_int(obj1);
8526 if (PyErr_Occurred()) SWIG_fail;
8527 }
8528 if (obj2) {
8529 {
8530 arg3 = &temp3;
8531 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8532 }
8533 }
8534 if (obj3) {
8535 {
8536 arg4 = &temp4;
8537 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8538 }
8539 }
8540 if (obj4) {
8541 arg5 = (long)SWIG_As_long(obj4);
8542 if (PyErr_Occurred()) SWIG_fail;
8543 }
8544 if (obj5) {
8545 {
8546 arg6 = wxString_in_helper(obj5);
8547 if (arg6 == NULL) SWIG_fail;
8548 temp6 = true;
8549 }
8550 }
8551 {
8552 if (!wxPyCheckForApp()) SWIG_fail;
8553 PyThreadState* __tstate = wxPyBeginAllowThreads();
8554 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8555
8556 wxPyEndAllowThreads(__tstate);
8557 if (PyErr_Occurred()) SWIG_fail;
8558 }
8559 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
8560 {
8561 if (temp6)
8562 delete arg6;
8563 }
8564 return resultobj;
8565 fail:
8566 {
8567 if (temp6)
8568 delete arg6;
8569 }
8570 return NULL;
8571 }
8572
8573
8574 static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8575 PyObject *resultobj;
8576 wxSashLayoutWindow *result;
8577 char *kwnames[] = {
8578 NULL
8579 };
8580
8581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail;
8582 {
8583 if (!wxPyCheckForApp()) SWIG_fail;
8584 PyThreadState* __tstate = wxPyBeginAllowThreads();
8585 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
8586
8587 wxPyEndAllowThreads(__tstate);
8588 if (PyErr_Occurred()) SWIG_fail;
8589 }
8590 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
8591 return resultobj;
8592 fail:
8593 return NULL;
8594 }
8595
8596
8597 static PyObject *_wrap_SashLayoutWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
8598 PyObject *resultobj;
8599 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8600 wxWindow *arg2 = (wxWindow *) 0 ;
8601 int arg3 = (int) -1 ;
8602 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8603 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8604 wxSize const &arg5_defvalue = wxDefaultSize ;
8605 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8606 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
8607 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
8608 wxString *arg7 = (wxString *) &arg7_defvalue ;
8609 bool result;
8610 wxPoint temp4 ;
8611 wxSize temp5 ;
8612 bool temp7 = false ;
8613 PyObject * obj0 = 0 ;
8614 PyObject * obj1 = 0 ;
8615 PyObject * obj2 = 0 ;
8616 PyObject * obj3 = 0 ;
8617 PyObject * obj4 = 0 ;
8618 PyObject * obj5 = 0 ;
8619 PyObject * obj6 = 0 ;
8620 char *kwnames[] = {
8621 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8622 };
8623
8624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
8625 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8626 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8627 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8628 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8629 if (obj2) {
8630 arg3 = (int)SWIG_As_int(obj2);
8631 if (PyErr_Occurred()) SWIG_fail;
8632 }
8633 if (obj3) {
8634 {
8635 arg4 = &temp4;
8636 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8637 }
8638 }
8639 if (obj4) {
8640 {
8641 arg5 = &temp5;
8642 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8643 }
8644 }
8645 if (obj5) {
8646 arg6 = (long)SWIG_As_long(obj5);
8647 if (PyErr_Occurred()) SWIG_fail;
8648 }
8649 if (obj6) {
8650 {
8651 arg7 = wxString_in_helper(obj6);
8652 if (arg7 == NULL) SWIG_fail;
8653 temp7 = true;
8654 }
8655 }
8656 {
8657 PyThreadState* __tstate = wxPyBeginAllowThreads();
8658 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8659
8660 wxPyEndAllowThreads(__tstate);
8661 if (PyErr_Occurred()) SWIG_fail;
8662 }
8663 {
8664 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8665 }
8666 {
8667 if (temp7)
8668 delete arg7;
8669 }
8670 return resultobj;
8671 fail:
8672 {
8673 if (temp7)
8674 delete arg7;
8675 }
8676 return NULL;
8677 }
8678
8679
8680 static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
8681 PyObject *resultobj;
8682 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8683 int result;
8684 PyObject * obj0 = 0 ;
8685 char *kwnames[] = {
8686 (char *) "self", NULL
8687 };
8688
8689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail;
8690 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8691 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8692 {
8693 PyThreadState* __tstate = wxPyBeginAllowThreads();
8694 result = (int)(arg1)->GetAlignment();
8695
8696 wxPyEndAllowThreads(__tstate);
8697 if (PyErr_Occurred()) SWIG_fail;
8698 }
8699 resultobj = SWIG_From_int((int)result);
8700 return resultobj;
8701 fail:
8702 return NULL;
8703 }
8704
8705
8706 static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
8707 PyObject *resultobj;
8708 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8709 int result;
8710 PyObject * obj0 = 0 ;
8711 char *kwnames[] = {
8712 (char *) "self", NULL
8713 };
8714
8715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail;
8716 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8717 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8718 {
8719 PyThreadState* __tstate = wxPyBeginAllowThreads();
8720 result = (int)(arg1)->GetOrientation();
8721
8722 wxPyEndAllowThreads(__tstate);
8723 if (PyErr_Occurred()) SWIG_fail;
8724 }
8725 resultobj = SWIG_From_int((int)result);
8726 return resultobj;
8727 fail:
8728 return NULL;
8729 }
8730
8731
8732 static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
8733 PyObject *resultobj;
8734 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8735 int arg2 ;
8736 PyObject * obj0 = 0 ;
8737 PyObject * obj1 = 0 ;
8738 char *kwnames[] = {
8739 (char *) "self",(char *) "alignment", NULL
8740 };
8741
8742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
8743 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8744 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8745 arg2 = (int)SWIG_As_int(obj1);
8746 if (PyErr_Occurred()) SWIG_fail;
8747 {
8748 PyThreadState* __tstate = wxPyBeginAllowThreads();
8749 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
8750
8751 wxPyEndAllowThreads(__tstate);
8752 if (PyErr_Occurred()) SWIG_fail;
8753 }
8754 Py_INCREF(Py_None); resultobj = Py_None;
8755 return resultobj;
8756 fail:
8757 return NULL;
8758 }
8759
8760
8761 static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) {
8762 PyObject *resultobj;
8763 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8764 wxSize *arg2 = 0 ;
8765 wxSize temp2 ;
8766 PyObject * obj0 = 0 ;
8767 PyObject * obj1 = 0 ;
8768 char *kwnames[] = {
8769 (char *) "self",(char *) "size", NULL
8770 };
8771
8772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail;
8773 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8774 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8775 {
8776 arg2 = &temp2;
8777 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
8778 }
8779 {
8780 PyThreadState* __tstate = wxPyBeginAllowThreads();
8781 (arg1)->SetDefaultSize((wxSize const &)*arg2);
8782
8783 wxPyEndAllowThreads(__tstate);
8784 if (PyErr_Occurred()) SWIG_fail;
8785 }
8786 Py_INCREF(Py_None); resultobj = Py_None;
8787 return resultobj;
8788 fail:
8789 return NULL;
8790 }
8791
8792
8793 static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
8794 PyObject *resultobj;
8795 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8796 int arg2 ;
8797 PyObject * obj0 = 0 ;
8798 PyObject * obj1 = 0 ;
8799 char *kwnames[] = {
8800 (char *) "self",(char *) "orientation", NULL
8801 };
8802
8803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
8804 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8805 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8806 arg2 = (int)SWIG_As_int(obj1);
8807 if (PyErr_Occurred()) SWIG_fail;
8808 {
8809 PyThreadState* __tstate = wxPyBeginAllowThreads();
8810 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
8811
8812 wxPyEndAllowThreads(__tstate);
8813 if (PyErr_Occurred()) SWIG_fail;
8814 }
8815 Py_INCREF(Py_None); resultobj = Py_None;
8816 return resultobj;
8817 fail:
8818 return NULL;
8819 }
8820
8821
8822 static PyObject * SashLayoutWindow_swigregister(PyObject *, PyObject *args) {
8823 PyObject *obj;
8824 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8825 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj);
8826 Py_INCREF(obj);
8827 return Py_BuildValue((char *)"");
8828 }
8829 static PyObject *_wrap_new_LayoutAlgorithm(PyObject *, PyObject *args, PyObject *kwargs) {
8830 PyObject *resultobj;
8831 wxLayoutAlgorithm *result;
8832 char *kwnames[] = {
8833 NULL
8834 };
8835
8836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail;
8837 {
8838 PyThreadState* __tstate = wxPyBeginAllowThreads();
8839 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
8840
8841 wxPyEndAllowThreads(__tstate);
8842 if (PyErr_Occurred()) SWIG_fail;
8843 }
8844 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutAlgorithm, 1);
8845 return resultobj;
8846 fail:
8847 return NULL;
8848 }
8849
8850
8851 static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *, PyObject *args, PyObject *kwargs) {
8852 PyObject *resultobj;
8853 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8854 PyObject * obj0 = 0 ;
8855 char *kwnames[] = {
8856 (char *) "self", NULL
8857 };
8858
8859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail;
8860 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8861 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8862 {
8863 PyThreadState* __tstate = wxPyBeginAllowThreads();
8864 delete arg1;
8865
8866 wxPyEndAllowThreads(__tstate);
8867 if (PyErr_Occurred()) SWIG_fail;
8868 }
8869 Py_INCREF(Py_None); resultobj = Py_None;
8870 return resultobj;
8871 fail:
8872 return NULL;
8873 }
8874
8875
8876 static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *, PyObject *args, PyObject *kwargs) {
8877 PyObject *resultobj;
8878 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8879 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
8880 wxRect *arg3 = (wxRect *) NULL ;
8881 bool result;
8882 PyObject * obj0 = 0 ;
8883 PyObject * obj1 = 0 ;
8884 PyObject * obj2 = 0 ;
8885 char *kwnames[] = {
8886 (char *) "self",(char *) "frame",(char *) "rect", NULL
8887 };
8888
8889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
8890 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8892 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
8893 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8894 if (obj2) {
8895 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxRect,
8896 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8897 }
8898 {
8899 PyThreadState* __tstate = wxPyBeginAllowThreads();
8900 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
8901
8902 wxPyEndAllowThreads(__tstate);
8903 if (PyErr_Occurred()) SWIG_fail;
8904 }
8905 {
8906 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8907 }
8908 return resultobj;
8909 fail:
8910 return NULL;
8911 }
8912
8913
8914 static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *, PyObject *args, PyObject *kwargs) {
8915 PyObject *resultobj;
8916 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8917 wxFrame *arg2 = (wxFrame *) 0 ;
8918 wxWindow *arg3 = (wxWindow *) NULL ;
8919 bool result;
8920 PyObject * obj0 = 0 ;
8921 PyObject * obj1 = 0 ;
8922 PyObject * obj2 = 0 ;
8923 char *kwnames[] = {
8924 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
8925 };
8926
8927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
8928 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8929 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8930 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
8931 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8932 if (obj2) {
8933 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
8934 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8935 }
8936 {
8937 PyThreadState* __tstate = wxPyBeginAllowThreads();
8938 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
8939
8940 wxPyEndAllowThreads(__tstate);
8941 if (PyErr_Occurred()) SWIG_fail;
8942 }
8943 {
8944 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8945 }
8946 return resultobj;
8947 fail:
8948 return NULL;
8949 }
8950
8951
8952 static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8953 PyObject *resultobj;
8954 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8955 wxWindow *arg2 = (wxWindow *) 0 ;
8956 wxWindow *arg3 = (wxWindow *) NULL ;
8957 bool result;
8958 PyObject * obj0 = 0 ;
8959 PyObject * obj1 = 0 ;
8960 PyObject * obj2 = 0 ;
8961 char *kwnames[] = {
8962 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
8963 };
8964
8965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
8966 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8967 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8968 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8969 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8970 if (obj2) {
8971 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
8972 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8973 }
8974 {
8975 PyThreadState* __tstate = wxPyBeginAllowThreads();
8976 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
8977
8978 wxPyEndAllowThreads(__tstate);
8979 if (PyErr_Occurred()) SWIG_fail;
8980 }
8981 {
8982 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8983 }
8984 return resultobj;
8985 fail:
8986 return NULL;
8987 }
8988
8989
8990 static PyObject * LayoutAlgorithm_swigregister(PyObject *, PyObject *args) {
8991 PyObject *obj;
8992 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8993 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj);
8994 Py_INCREF(obj);
8995 return Py_BuildValue((char *)"");
8996 }
8997 static PyObject *_wrap_new_PopupWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8998 PyObject *resultobj;
8999 wxWindow *arg1 = (wxWindow *) 0 ;
9000 int arg2 = (int) wxBORDER_NONE ;
9001 wxPopupWindow *result;
9002 PyObject * obj0 = 0 ;
9003 PyObject * obj1 = 0 ;
9004 char *kwnames[] = {
9005 (char *) "parent",(char *) "flags", NULL
9006 };
9007
9008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) goto fail;
9009 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9010 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9011 if (obj1) {
9012 arg2 = (int)SWIG_As_int(obj1);
9013 if (PyErr_Occurred()) SWIG_fail;
9014 }
9015 {
9016 PyThreadState* __tstate = wxPyBeginAllowThreads();
9017 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
9018
9019 wxPyEndAllowThreads(__tstate);
9020 if (PyErr_Occurred()) SWIG_fail;
9021 }
9022 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
9023 return resultobj;
9024 fail:
9025 return NULL;
9026 }
9027
9028
9029 static PyObject *_wrap_new_PrePopupWindow(PyObject *, PyObject *args, PyObject *kwargs) {
9030 PyObject *resultobj;
9031 wxPopupWindow *result;
9032 char *kwnames[] = {
9033 NULL
9034 };
9035
9036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail;
9037 {
9038 PyThreadState* __tstate = wxPyBeginAllowThreads();
9039 result = (wxPopupWindow *)new wxPopupWindow();
9040
9041 wxPyEndAllowThreads(__tstate);
9042 if (PyErr_Occurred()) SWIG_fail;
9043 }
9044 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
9045 return resultobj;
9046 fail:
9047 return NULL;
9048 }
9049
9050
9051 static PyObject * PopupWindow_swigregister(PyObject *, PyObject *args) {
9052 PyObject *obj;
9053 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9054 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj);
9055 Py_INCREF(obj);
9056 return Py_BuildValue((char *)"");
9057 }
9058 static PyObject *_wrap_new_PopupTransientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
9059 PyObject *resultobj;
9060 wxWindow *arg1 = (wxWindow *) 0 ;
9061 int arg2 = (int) wxBORDER_NONE ;
9062 wxPyPopupTransientWindow *result;
9063 PyObject * obj0 = 0 ;
9064 PyObject * obj1 = 0 ;
9065 char *kwnames[] = {
9066 (char *) "parent",(char *) "style", NULL
9067 };
9068
9069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) goto fail;
9070 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9071 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9072 if (obj1) {
9073 arg2 = (int)SWIG_As_int(obj1);
9074 if (PyErr_Occurred()) SWIG_fail;
9075 }
9076 {
9077 PyThreadState* __tstate = wxPyBeginAllowThreads();
9078 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
9079
9080 wxPyEndAllowThreads(__tstate);
9081 if (PyErr_Occurred()) SWIG_fail;
9082 }
9083 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
9084 return resultobj;
9085 fail:
9086 return NULL;
9087 }
9088
9089
9090 static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
9091 PyObject *resultobj;
9092 wxPyPopupTransientWindow *result;
9093 char *kwnames[] = {
9094 NULL
9095 };
9096
9097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail;
9098 {
9099 PyThreadState* __tstate = wxPyBeginAllowThreads();
9100 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
9101
9102 wxPyEndAllowThreads(__tstate);
9103 if (PyErr_Occurred()) SWIG_fail;
9104 }
9105 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
9106 return resultobj;
9107 fail:
9108 return NULL;
9109 }
9110
9111
9112 static PyObject * PopupTransientWindow_swigregister(PyObject *, PyObject *args) {
9113 PyObject *obj;
9114 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9115 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj);
9116 Py_INCREF(obj);
9117 return Py_BuildValue((char *)"");
9118 }
9119 static PyObject *_wrap_new_TipWindow(PyObject *, PyObject *args, PyObject *kwargs) {
9120 PyObject *resultobj;
9121 wxWindow *arg1 = (wxWindow *) 0 ;
9122 wxString *arg2 = 0 ;
9123 int arg3 = (int) 100 ;
9124 wxRect *arg4 = (wxRect *) NULL ;
9125 wxTipWindow *result;
9126 bool temp2 = false ;
9127 PyObject * obj0 = 0 ;
9128 PyObject * obj1 = 0 ;
9129 PyObject * obj2 = 0 ;
9130 PyObject * obj3 = 0 ;
9131 char *kwnames[] = {
9132 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
9133 };
9134
9135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9136 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9137 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9138 {
9139 arg2 = wxString_in_helper(obj1);
9140 if (arg2 == NULL) SWIG_fail;
9141 temp2 = true;
9142 }
9143 if (obj2) {
9144 arg3 = (int)SWIG_As_int(obj2);
9145 if (PyErr_Occurred()) SWIG_fail;
9146 }
9147 if (obj3) {
9148 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxRect,
9149 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9150 }
9151 {
9152 if (!wxPyCheckForApp()) SWIG_fail;
9153 PyThreadState* __tstate = wxPyBeginAllowThreads();
9154 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
9155
9156 wxPyEndAllowThreads(__tstate);
9157 if (PyErr_Occurred()) SWIG_fail;
9158 }
9159 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTipWindow, 1);
9160 {
9161 if (temp2)
9162 delete arg2;
9163 }
9164 return resultobj;
9165 fail:
9166 {
9167 if (temp2)
9168 delete arg2;
9169 }
9170 return NULL;
9171 }
9172
9173
9174 static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *, PyObject *args, PyObject *kwargs) {
9175 PyObject *resultobj;
9176 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
9177 wxRect *arg2 = 0 ;
9178 wxRect temp2 ;
9179 PyObject * obj0 = 0 ;
9180 PyObject * obj1 = 0 ;
9181 char *kwnames[] = {
9182 (char *) "self",(char *) "rectBound", NULL
9183 };
9184
9185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail;
9186 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow,
9187 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9188 {
9189 arg2 = &temp2;
9190 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
9191 }
9192 {
9193 PyThreadState* __tstate = wxPyBeginAllowThreads();
9194 (arg1)->SetBoundingRect((wxRect const &)*arg2);
9195
9196 wxPyEndAllowThreads(__tstate);
9197 if (PyErr_Occurred()) SWIG_fail;
9198 }
9199 Py_INCREF(Py_None); resultobj = Py_None;
9200 return resultobj;
9201 fail:
9202 return NULL;
9203 }
9204
9205
9206 static PyObject *_wrap_TipWindow_Close(PyObject *, PyObject *args, PyObject *kwargs) {
9207 PyObject *resultobj;
9208 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
9209 PyObject * obj0 = 0 ;
9210 char *kwnames[] = {
9211 (char *) "self", NULL
9212 };
9213
9214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail;
9215 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow,
9216 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9217 {
9218 PyThreadState* __tstate = wxPyBeginAllowThreads();
9219 (arg1)->Close();
9220
9221 wxPyEndAllowThreads(__tstate);
9222 if (PyErr_Occurred()) SWIG_fail;
9223 }
9224 Py_INCREF(Py_None); resultobj = Py_None;
9225 return resultobj;
9226 fail:
9227 return NULL;
9228 }
9229
9230
9231 static PyObject * TipWindow_swigregister(PyObject *, PyObject *args) {
9232 PyObject *obj;
9233 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9234 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj);
9235 Py_INCREF(obj);
9236 return Py_BuildValue((char *)"");
9237 }
9238 static PyObject *_wrap_new_VScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
9239 PyObject *resultobj;
9240 wxWindow *arg1 = (wxWindow *) 0 ;
9241 int arg2 = (int) wxID_ANY ;
9242 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9243 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9244 wxSize const &arg4_defvalue = wxDefaultSize ;
9245 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9246 long arg5 = (long) 0 ;
9247 wxString const &arg6_defvalue = wxPyPanelNameStr ;
9248 wxString *arg6 = (wxString *) &arg6_defvalue ;
9249 wxPyVScrolledWindow *result;
9250 wxPoint temp3 ;
9251 wxSize temp4 ;
9252 bool temp6 = false ;
9253 PyObject * obj0 = 0 ;
9254 PyObject * obj1 = 0 ;
9255 PyObject * obj2 = 0 ;
9256 PyObject * obj3 = 0 ;
9257 PyObject * obj4 = 0 ;
9258 PyObject * obj5 = 0 ;
9259 char *kwnames[] = {
9260 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9261 };
9262
9263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9264 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9266 if (obj1) {
9267 arg2 = (int)SWIG_As_int(obj1);
9268 if (PyErr_Occurred()) SWIG_fail;
9269 }
9270 if (obj2) {
9271 {
9272 arg3 = &temp3;
9273 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9274 }
9275 }
9276 if (obj3) {
9277 {
9278 arg4 = &temp4;
9279 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9280 }
9281 }
9282 if (obj4) {
9283 arg5 = (long)SWIG_As_long(obj4);
9284 if (PyErr_Occurred()) SWIG_fail;
9285 }
9286 if (obj5) {
9287 {
9288 arg6 = wxString_in_helper(obj5);
9289 if (arg6 == NULL) SWIG_fail;
9290 temp6 = true;
9291 }
9292 }
9293 {
9294 if (!wxPyCheckForApp()) SWIG_fail;
9295 PyThreadState* __tstate = wxPyBeginAllowThreads();
9296 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9297
9298 wxPyEndAllowThreads(__tstate);
9299 if (PyErr_Occurred()) SWIG_fail;
9300 }
9301 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
9302 {
9303 if (temp6)
9304 delete arg6;
9305 }
9306 return resultobj;
9307 fail:
9308 {
9309 if (temp6)
9310 delete arg6;
9311 }
9312 return NULL;
9313 }
9314
9315
9316 static PyObject *_wrap_new_PreVScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
9317 PyObject *resultobj;
9318 wxPyVScrolledWindow *result;
9319 char *kwnames[] = {
9320 NULL
9321 };
9322
9323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail;
9324 {
9325 if (!wxPyCheckForApp()) SWIG_fail;
9326 PyThreadState* __tstate = wxPyBeginAllowThreads();
9327 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
9328
9329 wxPyEndAllowThreads(__tstate);
9330 if (PyErr_Occurred()) SWIG_fail;
9331 }
9332 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
9333 return resultobj;
9334 fail:
9335 return NULL;
9336 }
9337
9338
9339 static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
9340 PyObject *resultobj;
9341 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9342 PyObject *arg2 = (PyObject *) 0 ;
9343 PyObject *arg3 = (PyObject *) 0 ;
9344 PyObject * obj0 = 0 ;
9345 PyObject * obj1 = 0 ;
9346 PyObject * obj2 = 0 ;
9347 char *kwnames[] = {
9348 (char *) "self",(char *) "self",(char *) "_class", NULL
9349 };
9350
9351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
9352 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9353 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9354 arg2 = obj1;
9355 arg3 = obj2;
9356 {
9357 PyThreadState* __tstate = wxPyBeginAllowThreads();
9358 (arg1)->_setCallbackInfo(arg2,arg3);
9359
9360 wxPyEndAllowThreads(__tstate);
9361 if (PyErr_Occurred()) SWIG_fail;
9362 }
9363 Py_INCREF(Py_None); resultobj = Py_None;
9364 return resultobj;
9365 fail:
9366 return NULL;
9367 }
9368
9369
9370 static PyObject *_wrap_VScrolledWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
9371 PyObject *resultobj;
9372 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9373 wxWindow *arg2 = (wxWindow *) 0 ;
9374 int arg3 = (int) wxID_ANY ;
9375 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9376 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9377 wxSize const &arg5_defvalue = wxDefaultSize ;
9378 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9379 long arg6 = (long) 0 ;
9380 wxString const &arg7_defvalue = wxPyPanelNameStr ;
9381 wxString *arg7 = (wxString *) &arg7_defvalue ;
9382 bool result;
9383 wxPoint temp4 ;
9384 wxSize temp5 ;
9385 bool temp7 = false ;
9386 PyObject * obj0 = 0 ;
9387 PyObject * obj1 = 0 ;
9388 PyObject * obj2 = 0 ;
9389 PyObject * obj3 = 0 ;
9390 PyObject * obj4 = 0 ;
9391 PyObject * obj5 = 0 ;
9392 PyObject * obj6 = 0 ;
9393 char *kwnames[] = {
9394 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9395 };
9396
9397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
9398 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9399 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9400 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
9401 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9402 if (obj2) {
9403 arg3 = (int)SWIG_As_int(obj2);
9404 if (PyErr_Occurred()) SWIG_fail;
9405 }
9406 if (obj3) {
9407 {
9408 arg4 = &temp4;
9409 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9410 }
9411 }
9412 if (obj4) {
9413 {
9414 arg5 = &temp5;
9415 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9416 }
9417 }
9418 if (obj5) {
9419 arg6 = (long)SWIG_As_long(obj5);
9420 if (PyErr_Occurred()) SWIG_fail;
9421 }
9422 if (obj6) {
9423 {
9424 arg7 = wxString_in_helper(obj6);
9425 if (arg7 == NULL) SWIG_fail;
9426 temp7 = true;
9427 }
9428 }
9429 {
9430 PyThreadState* __tstate = wxPyBeginAllowThreads();
9431 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9432
9433 wxPyEndAllowThreads(__tstate);
9434 if (PyErr_Occurred()) SWIG_fail;
9435 }
9436 {
9437 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9438 }
9439 {
9440 if (temp7)
9441 delete arg7;
9442 }
9443 return resultobj;
9444 fail:
9445 {
9446 if (temp7)
9447 delete arg7;
9448 }
9449 return NULL;
9450 }
9451
9452
9453 static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *, PyObject *args, PyObject *kwargs) {
9454 PyObject *resultobj;
9455 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9456 size_t arg2 ;
9457 PyObject * obj0 = 0 ;
9458 PyObject * obj1 = 0 ;
9459 char *kwnames[] = {
9460 (char *) "self",(char *) "count", NULL
9461 };
9462
9463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) goto fail;
9464 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9465 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9466 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
9467 if (PyErr_Occurred()) SWIG_fail;
9468 {
9469 PyThreadState* __tstate = wxPyBeginAllowThreads();
9470 (arg1)->SetLineCount(arg2);
9471
9472 wxPyEndAllowThreads(__tstate);
9473 if (PyErr_Occurred()) SWIG_fail;
9474 }
9475 Py_INCREF(Py_None); resultobj = Py_None;
9476 return resultobj;
9477 fail:
9478 return NULL;
9479 }
9480
9481
9482 static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *, PyObject *args, PyObject *kwargs) {
9483 PyObject *resultobj;
9484 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9485 size_t arg2 ;
9486 bool result;
9487 PyObject * obj0 = 0 ;
9488 PyObject * obj1 = 0 ;
9489 char *kwnames[] = {
9490 (char *) "self",(char *) "line", NULL
9491 };
9492
9493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail;
9494 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9495 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9496 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
9497 if (PyErr_Occurred()) SWIG_fail;
9498 {
9499 PyThreadState* __tstate = wxPyBeginAllowThreads();
9500 result = (bool)(arg1)->ScrollToLine(arg2);
9501
9502 wxPyEndAllowThreads(__tstate);
9503 if (PyErr_Occurred()) SWIG_fail;
9504 }
9505 {
9506 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9507 }
9508 return resultobj;
9509 fail:
9510 return NULL;
9511 }
9512
9513
9514 static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *, PyObject *args, PyObject *kwargs) {
9515 PyObject *resultobj;
9516 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9517 int arg2 ;
9518 bool result;
9519 PyObject * obj0 = 0 ;
9520 PyObject * obj1 = 0 ;
9521 char *kwnames[] = {
9522 (char *) "self",(char *) "lines", NULL
9523 };
9524
9525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollLines",kwnames,&obj0,&obj1)) goto fail;
9526 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9527 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9528 arg2 = (int)SWIG_As_int(obj1);
9529 if (PyErr_Occurred()) SWIG_fail;
9530 {
9531 PyThreadState* __tstate = wxPyBeginAllowThreads();
9532 result = (bool)(arg1)->ScrollLines(arg2);
9533
9534 wxPyEndAllowThreads(__tstate);
9535 if (PyErr_Occurred()) SWIG_fail;
9536 }
9537 {
9538 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9539 }
9540 return resultobj;
9541 fail:
9542 return NULL;
9543 }
9544
9545
9546 static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *, PyObject *args, PyObject *kwargs) {
9547 PyObject *resultobj;
9548 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9549 int arg2 ;
9550 bool result;
9551 PyObject * obj0 = 0 ;
9552 PyObject * obj1 = 0 ;
9553 char *kwnames[] = {
9554 (char *) "self",(char *) "pages", NULL
9555 };
9556
9557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollPages",kwnames,&obj0,&obj1)) goto fail;
9558 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9559 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9560 arg2 = (int)SWIG_As_int(obj1);
9561 if (PyErr_Occurred()) SWIG_fail;
9562 {
9563 PyThreadState* __tstate = wxPyBeginAllowThreads();
9564 result = (bool)(arg1)->ScrollPages(arg2);
9565
9566 wxPyEndAllowThreads(__tstate);
9567 if (PyErr_Occurred()) SWIG_fail;
9568 }
9569 {
9570 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9571 }
9572 return resultobj;
9573 fail:
9574 return NULL;
9575 }
9576
9577
9578 static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *, PyObject *args, PyObject *kwargs) {
9579 PyObject *resultobj;
9580 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9581 size_t arg2 ;
9582 PyObject * obj0 = 0 ;
9583 PyObject * obj1 = 0 ;
9584 char *kwnames[] = {
9585 (char *) "self",(char *) "line", NULL
9586 };
9587
9588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail;
9589 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9590 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9591 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
9592 if (PyErr_Occurred()) SWIG_fail;
9593 {
9594 PyThreadState* __tstate = wxPyBeginAllowThreads();
9595 (arg1)->RefreshLine(arg2);
9596
9597 wxPyEndAllowThreads(__tstate);
9598 if (PyErr_Occurred()) SWIG_fail;
9599 }
9600 Py_INCREF(Py_None); resultobj = Py_None;
9601 return resultobj;
9602 fail:
9603 return NULL;
9604 }
9605
9606
9607 static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *, PyObject *args, PyObject *kwargs) {
9608 PyObject *resultobj;
9609 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9610 size_t arg2 ;
9611 size_t arg3 ;
9612 PyObject * obj0 = 0 ;
9613 PyObject * obj1 = 0 ;
9614 PyObject * obj2 = 0 ;
9615 char *kwnames[] = {
9616 (char *) "self",(char *) "from",(char *) "to", NULL
9617 };
9618
9619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
9620 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9621 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9622 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
9623 if (PyErr_Occurred()) SWIG_fail;
9624 arg3 = (size_t)SWIG_As_unsigned_SS_long(obj2);
9625 if (PyErr_Occurred()) SWIG_fail;
9626 {
9627 PyThreadState* __tstate = wxPyBeginAllowThreads();
9628 (arg1)->RefreshLines(arg2,arg3);
9629
9630 wxPyEndAllowThreads(__tstate);
9631 if (PyErr_Occurred()) SWIG_fail;
9632 }
9633 Py_INCREF(Py_None); resultobj = Py_None;
9634 return resultobj;
9635 fail:
9636 return NULL;
9637 }
9638
9639
9640 static PyObject *_wrap_VScrolledWindow_HitTestXY(PyObject *, PyObject *args, PyObject *kwargs) {
9641 PyObject *resultobj;
9642 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9643 int arg2 ;
9644 int arg3 ;
9645 int result;
9646 PyObject * obj0 = 0 ;
9647 PyObject * obj1 = 0 ;
9648 PyObject * obj2 = 0 ;
9649 char *kwnames[] = {
9650 (char *) "self",(char *) "x",(char *) "y", NULL
9651 };
9652
9653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
9654 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9655 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9656 arg2 = (int)SWIG_As_int(obj1);
9657 if (PyErr_Occurred()) SWIG_fail;
9658 arg3 = (int)SWIG_As_int(obj2);
9659 if (PyErr_Occurred()) SWIG_fail;
9660 {
9661 PyThreadState* __tstate = wxPyBeginAllowThreads();
9662 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
9663
9664 wxPyEndAllowThreads(__tstate);
9665 if (PyErr_Occurred()) SWIG_fail;
9666 }
9667 resultobj = SWIG_From_int((int)result);
9668 return resultobj;
9669 fail:
9670 return NULL;
9671 }
9672
9673
9674 static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
9675 PyObject *resultobj;
9676 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9677 wxPoint *arg2 = 0 ;
9678 int result;
9679 wxPoint temp2 ;
9680 PyObject * obj0 = 0 ;
9681 PyObject * obj1 = 0 ;
9682 char *kwnames[] = {
9683 (char *) "self",(char *) "pt", NULL
9684 };
9685
9686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail;
9687 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9688 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9689 {
9690 arg2 = &temp2;
9691 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9692 }
9693 {
9694 PyThreadState* __tstate = wxPyBeginAllowThreads();
9695 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
9696
9697 wxPyEndAllowThreads(__tstate);
9698 if (PyErr_Occurred()) SWIG_fail;
9699 }
9700 resultobj = SWIG_From_int((int)result);
9701 return resultobj;
9702 fail:
9703 return NULL;
9704 }
9705
9706
9707 static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *, PyObject *args, PyObject *kwargs) {
9708 PyObject *resultobj;
9709 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9710 PyObject * obj0 = 0 ;
9711 char *kwnames[] = {
9712 (char *) "self", NULL
9713 };
9714
9715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail;
9716 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9717 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9718 {
9719 PyThreadState* __tstate = wxPyBeginAllowThreads();
9720 (arg1)->RefreshAll();
9721
9722 wxPyEndAllowThreads(__tstate);
9723 if (PyErr_Occurred()) SWIG_fail;
9724 }
9725 Py_INCREF(Py_None); resultobj = Py_None;
9726 return resultobj;
9727 fail:
9728 return NULL;
9729 }
9730
9731
9732 static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *, PyObject *args, PyObject *kwargs) {
9733 PyObject *resultobj;
9734 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9735 size_t result;
9736 PyObject * obj0 = 0 ;
9737 char *kwnames[] = {
9738 (char *) "self", NULL
9739 };
9740
9741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail;
9742 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9743 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9744 {
9745 PyThreadState* __tstate = wxPyBeginAllowThreads();
9746 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
9747
9748 wxPyEndAllowThreads(__tstate);
9749 if (PyErr_Occurred()) SWIG_fail;
9750 }
9751 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
9752 return resultobj;
9753 fail:
9754 return NULL;
9755 }
9756
9757
9758 static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) {
9759 PyObject *resultobj;
9760 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9761 size_t result;
9762 PyObject * obj0 = 0 ;
9763 char *kwnames[] = {
9764 (char *) "self", NULL
9765 };
9766
9767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
9768 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9769 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9770 {
9771 PyThreadState* __tstate = wxPyBeginAllowThreads();
9772 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
9773
9774 wxPyEndAllowThreads(__tstate);
9775 if (PyErr_Occurred()) SWIG_fail;
9776 }
9777 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
9778 return resultobj;
9779 fail:
9780 return NULL;
9781 }
9782
9783
9784 static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) {
9785 PyObject *resultobj;
9786 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9787 size_t result;
9788 PyObject * obj0 = 0 ;
9789 char *kwnames[] = {
9790 (char *) "self", NULL
9791 };
9792
9793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail;
9794 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9795 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9796 {
9797 PyThreadState* __tstate = wxPyBeginAllowThreads();
9798 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
9799
9800 wxPyEndAllowThreads(__tstate);
9801 if (PyErr_Occurred()) SWIG_fail;
9802 }
9803 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
9804 return resultobj;
9805 fail:
9806 return NULL;
9807 }
9808
9809
9810 static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) {
9811 PyObject *resultobj;
9812 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9813 size_t arg2 ;
9814 bool result;
9815 PyObject * obj0 = 0 ;
9816 PyObject * obj1 = 0 ;
9817 char *kwnames[] = {
9818 (char *) "self",(char *) "line", NULL
9819 };
9820
9821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail;
9822 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9823 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9824 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
9825 if (PyErr_Occurred()) SWIG_fail;
9826 {
9827 PyThreadState* __tstate = wxPyBeginAllowThreads();
9828 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
9829
9830 wxPyEndAllowThreads(__tstate);
9831 if (PyErr_Occurred()) SWIG_fail;
9832 }
9833 {
9834 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9835 }
9836 return resultobj;
9837 fail:
9838 return NULL;
9839 }
9840
9841
9842 static PyObject * VScrolledWindow_swigregister(PyObject *, PyObject *args) {
9843 PyObject *obj;
9844 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9845 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj);
9846 Py_INCREF(obj);
9847 return Py_BuildValue((char *)"");
9848 }
9849 static int _wrap_VListBoxNameStr_set(PyObject *) {
9850 PyErr_SetString(PyExc_TypeError,"Variable VListBoxNameStr is read-only.");
9851 return 1;
9852 }
9853
9854
9855 static PyObject *_wrap_VListBoxNameStr_get() {
9856 PyObject *pyobj;
9857
9858 {
9859 #if wxUSE_UNICODE
9860 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
9861 #else
9862 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
9863 #endif
9864 }
9865 return pyobj;
9866 }
9867
9868
9869 static PyObject *_wrap_new_VListBox(PyObject *, PyObject *args, PyObject *kwargs) {
9870 PyObject *resultobj;
9871 wxWindow *arg1 = (wxWindow *) 0 ;
9872 int arg2 = (int) wxID_ANY ;
9873 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9874 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9875 wxSize const &arg4_defvalue = wxDefaultSize ;
9876 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9877 long arg5 = (long) 0 ;
9878 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
9879 wxString *arg6 = (wxString *) &arg6_defvalue ;
9880 wxPyVListBox *result;
9881 wxPoint temp3 ;
9882 wxSize temp4 ;
9883 bool temp6 = false ;
9884 PyObject * obj0 = 0 ;
9885 PyObject * obj1 = 0 ;
9886 PyObject * obj2 = 0 ;
9887 PyObject * obj3 = 0 ;
9888 PyObject * obj4 = 0 ;
9889 PyObject * obj5 = 0 ;
9890 char *kwnames[] = {
9891 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9892 };
9893
9894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9895 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9896 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9897 if (obj1) {
9898 arg2 = (int)SWIG_As_int(obj1);
9899 if (PyErr_Occurred()) SWIG_fail;
9900 }
9901 if (obj2) {
9902 {
9903 arg3 = &temp3;
9904 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9905 }
9906 }
9907 if (obj3) {
9908 {
9909 arg4 = &temp4;
9910 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9911 }
9912 }
9913 if (obj4) {
9914 arg5 = (long)SWIG_As_long(obj4);
9915 if (PyErr_Occurred()) SWIG_fail;
9916 }
9917 if (obj5) {
9918 {
9919 arg6 = wxString_in_helper(obj5);
9920 if (arg6 == NULL) SWIG_fail;
9921 temp6 = true;
9922 }
9923 }
9924 {
9925 if (!wxPyCheckForApp()) SWIG_fail;
9926 PyThreadState* __tstate = wxPyBeginAllowThreads();
9927 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9928
9929 wxPyEndAllowThreads(__tstate);
9930 if (PyErr_Occurred()) SWIG_fail;
9931 }
9932 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
9933 {
9934 if (temp6)
9935 delete arg6;
9936 }
9937 return resultobj;
9938 fail:
9939 {
9940 if (temp6)
9941 delete arg6;
9942 }
9943 return NULL;
9944 }
9945
9946
9947 static PyObject *_wrap_new_PreVListBox(PyObject *, PyObject *args, PyObject *kwargs) {
9948 PyObject *resultobj;
9949 wxPyVListBox *result;
9950 char *kwnames[] = {
9951 NULL
9952 };
9953
9954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail;
9955 {
9956 if (!wxPyCheckForApp()) SWIG_fail;
9957 PyThreadState* __tstate = wxPyBeginAllowThreads();
9958 result = (wxPyVListBox *)new wxPyVListBox();
9959
9960 wxPyEndAllowThreads(__tstate);
9961 if (PyErr_Occurred()) SWIG_fail;
9962 }
9963 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
9964 return resultobj;
9965 fail:
9966 return NULL;
9967 }
9968
9969
9970 static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
9971 PyObject *resultobj;
9972 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9973 PyObject *arg2 = (PyObject *) 0 ;
9974 PyObject *arg3 = (PyObject *) 0 ;
9975 PyObject * obj0 = 0 ;
9976 PyObject * obj1 = 0 ;
9977 PyObject * obj2 = 0 ;
9978 char *kwnames[] = {
9979 (char *) "self",(char *) "self",(char *) "_class", NULL
9980 };
9981
9982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
9983 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9984 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9985 arg2 = obj1;
9986 arg3 = obj2;
9987 {
9988 PyThreadState* __tstate = wxPyBeginAllowThreads();
9989 (arg1)->_setCallbackInfo(arg2,arg3);
9990
9991 wxPyEndAllowThreads(__tstate);
9992 if (PyErr_Occurred()) SWIG_fail;
9993 }
9994 Py_INCREF(Py_None); resultobj = Py_None;
9995 return resultobj;
9996 fail:
9997 return NULL;
9998 }
9999
10000
10001 static PyObject *_wrap_VListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
10002 PyObject *resultobj;
10003 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10004 wxWindow *arg2 = (wxWindow *) 0 ;
10005 int arg3 = (int) wxID_ANY ;
10006 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10007 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10008 wxSize const &arg5_defvalue = wxDefaultSize ;
10009 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10010 long arg6 = (long) 0 ;
10011 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
10012 wxString *arg7 = (wxString *) &arg7_defvalue ;
10013 bool result;
10014 wxPoint temp4 ;
10015 wxSize temp5 ;
10016 bool temp7 = false ;
10017 PyObject * obj0 = 0 ;
10018 PyObject * obj1 = 0 ;
10019 PyObject * obj2 = 0 ;
10020 PyObject * obj3 = 0 ;
10021 PyObject * obj4 = 0 ;
10022 PyObject * obj5 = 0 ;
10023 PyObject * obj6 = 0 ;
10024 char *kwnames[] = {
10025 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10026 };
10027
10028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
10029 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10030 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10031 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10032 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10033 if (obj2) {
10034 arg3 = (int)SWIG_As_int(obj2);
10035 if (PyErr_Occurred()) SWIG_fail;
10036 }
10037 if (obj3) {
10038 {
10039 arg4 = &temp4;
10040 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10041 }
10042 }
10043 if (obj4) {
10044 {
10045 arg5 = &temp5;
10046 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10047 }
10048 }
10049 if (obj5) {
10050 arg6 = (long)SWIG_As_long(obj5);
10051 if (PyErr_Occurred()) SWIG_fail;
10052 }
10053 if (obj6) {
10054 {
10055 arg7 = wxString_in_helper(obj6);
10056 if (arg7 == NULL) SWIG_fail;
10057 temp7 = true;
10058 }
10059 }
10060 {
10061 PyThreadState* __tstate = wxPyBeginAllowThreads();
10062 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10063
10064 wxPyEndAllowThreads(__tstate);
10065 if (PyErr_Occurred()) SWIG_fail;
10066 }
10067 {
10068 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10069 }
10070 {
10071 if (temp7)
10072 delete arg7;
10073 }
10074 return resultobj;
10075 fail:
10076 {
10077 if (temp7)
10078 delete arg7;
10079 }
10080 return NULL;
10081 }
10082
10083
10084 static PyObject *_wrap_VListBox_GetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
10085 PyObject *resultobj;
10086 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10087 size_t result;
10088 PyObject * obj0 = 0 ;
10089 char *kwnames[] = {
10090 (char *) "self", NULL
10091 };
10092
10093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail;
10094 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10095 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10096 {
10097 PyThreadState* __tstate = wxPyBeginAllowThreads();
10098 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
10099
10100 wxPyEndAllowThreads(__tstate);
10101 if (PyErr_Occurred()) SWIG_fail;
10102 }
10103 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
10104 return resultobj;
10105 fail:
10106 return NULL;
10107 }
10108
10109
10110 static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *, PyObject *args, PyObject *kwargs) {
10111 PyObject *resultobj;
10112 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10113 bool result;
10114 PyObject * obj0 = 0 ;
10115 char *kwnames[] = {
10116 (char *) "self", NULL
10117 };
10118
10119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail;
10120 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10121 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10122 {
10123 PyThreadState* __tstate = wxPyBeginAllowThreads();
10124 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
10125
10126 wxPyEndAllowThreads(__tstate);
10127 if (PyErr_Occurred()) SWIG_fail;
10128 }
10129 {
10130 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10131 }
10132 return resultobj;
10133 fail:
10134 return NULL;
10135 }
10136
10137
10138 static PyObject *_wrap_VListBox_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
10139 PyObject *resultobj;
10140 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10141 int result;
10142 PyObject * obj0 = 0 ;
10143 char *kwnames[] = {
10144 (char *) "self", NULL
10145 };
10146
10147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",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 = (int)((wxPyVListBox const *)arg1)->GetSelection();
10153
10154 wxPyEndAllowThreads(__tstate);
10155 if (PyErr_Occurred()) SWIG_fail;
10156 }
10157 resultobj = SWIG_From_int((int)result);
10158 return resultobj;
10159 fail:
10160 return NULL;
10161 }
10162
10163
10164 static PyObject *_wrap_VListBox_IsCurrent(PyObject *, PyObject *args, PyObject *kwargs) {
10165 PyObject *resultobj;
10166 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10167 size_t arg2 ;
10168 bool result;
10169 PyObject * obj0 = 0 ;
10170 PyObject * obj1 = 0 ;
10171 char *kwnames[] = {
10172 (char *) "self",(char *) "item", NULL
10173 };
10174
10175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail;
10176 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10177 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10178 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
10179 if (PyErr_Occurred()) SWIG_fail;
10180 {
10181 PyThreadState* __tstate = wxPyBeginAllowThreads();
10182 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
10183
10184 wxPyEndAllowThreads(__tstate);
10185 if (PyErr_Occurred()) SWIG_fail;
10186 }
10187 {
10188 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10189 }
10190 return resultobj;
10191 fail:
10192 return NULL;
10193 }
10194
10195
10196 static PyObject *_wrap_VListBox_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
10197 PyObject *resultobj;
10198 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10199 size_t arg2 ;
10200 bool result;
10201 PyObject * obj0 = 0 ;
10202 PyObject * obj1 = 0 ;
10203 char *kwnames[] = {
10204 (char *) "self",(char *) "item", NULL
10205 };
10206
10207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
10208 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10209 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10210 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
10211 if (PyErr_Occurred()) SWIG_fail;
10212 {
10213 PyThreadState* __tstate = wxPyBeginAllowThreads();
10214 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
10215
10216 wxPyEndAllowThreads(__tstate);
10217 if (PyErr_Occurred()) SWIG_fail;
10218 }
10219 {
10220 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10221 }
10222 return resultobj;
10223 fail:
10224 return NULL;
10225 }
10226
10227
10228 static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *, PyObject *args, PyObject *kwargs) {
10229 PyObject *resultobj;
10230 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10231 size_t result;
10232 PyObject * obj0 = 0 ;
10233 char *kwnames[] = {
10234 (char *) "self", NULL
10235 };
10236
10237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail;
10238 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10239 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10240 {
10241 PyThreadState* __tstate = wxPyBeginAllowThreads();
10242 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
10243
10244 wxPyEndAllowThreads(__tstate);
10245 if (PyErr_Occurred()) SWIG_fail;
10246 }
10247 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
10248 return resultobj;
10249 fail:
10250 return NULL;
10251 }
10252
10253
10254 static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *, PyObject *args, PyObject *kwargs) {
10255 PyObject *resultobj;
10256 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10257 PyObject *result;
10258 PyObject * obj0 = 0 ;
10259 char *kwnames[] = {
10260 (char *) "self", NULL
10261 };
10262
10263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetFirstSelected",kwnames,&obj0)) goto fail;
10264 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10266 {
10267 PyThreadState* __tstate = wxPyBeginAllowThreads();
10268 result = (PyObject *)wxPyVListBox_GetFirstSelected(arg1);
10269
10270 wxPyEndAllowThreads(__tstate);
10271 if (PyErr_Occurred()) SWIG_fail;
10272 }
10273 resultobj = result;
10274 return resultobj;
10275 fail:
10276 return NULL;
10277 }
10278
10279
10280 static PyObject *_wrap_VListBox_GetNextSelected(PyObject *, PyObject *args, PyObject *kwargs) {
10281 PyObject *resultobj;
10282 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10283 unsigned long arg2 ;
10284 PyObject *result;
10285 PyObject * obj0 = 0 ;
10286 PyObject * obj1 = 0 ;
10287 char *kwnames[] = {
10288 (char *) "self",(char *) "cookie", NULL
10289 };
10290
10291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
10292 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10293 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10294 arg2 = (unsigned long)SWIG_As_unsigned_SS_long(obj1);
10295 if (PyErr_Occurred()) SWIG_fail;
10296 {
10297 PyThreadState* __tstate = wxPyBeginAllowThreads();
10298 result = (PyObject *)wxPyVListBox_GetNextSelected(arg1,arg2);
10299
10300 wxPyEndAllowThreads(__tstate);
10301 if (PyErr_Occurred()) SWIG_fail;
10302 }
10303 resultobj = result;
10304 return resultobj;
10305 fail:
10306 return NULL;
10307 }
10308
10309
10310 static PyObject *_wrap_VListBox_GetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
10311 PyObject *resultobj;
10312 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10313 wxPoint result;
10314 PyObject * obj0 = 0 ;
10315 char *kwnames[] = {
10316 (char *) "self", NULL
10317 };
10318
10319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail;
10320 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10322 {
10323 PyThreadState* __tstate = wxPyBeginAllowThreads();
10324 result = ((wxPyVListBox const *)arg1)->GetMargins();
10325
10326 wxPyEndAllowThreads(__tstate);
10327 if (PyErr_Occurred()) SWIG_fail;
10328 }
10329 {
10330 wxPoint * resultptr;
10331 resultptr = new wxPoint((wxPoint &) result);
10332 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
10333 }
10334 return resultobj;
10335 fail:
10336 return NULL;
10337 }
10338
10339
10340 static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) {
10341 PyObject *resultobj;
10342 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10343 wxColour *result;
10344 PyObject * obj0 = 0 ;
10345 char *kwnames[] = {
10346 (char *) "self", NULL
10347 };
10348
10349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail;
10350 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10351 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10352 {
10353 PyThreadState* __tstate = wxPyBeginAllowThreads();
10354 {
10355 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
10356 result = (wxColour *) &_result_ref;
10357 }
10358
10359 wxPyEndAllowThreads(__tstate);
10360 if (PyErr_Occurred()) SWIG_fail;
10361 }
10362 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
10363 return resultobj;
10364 fail:
10365 return NULL;
10366 }
10367
10368
10369 static PyObject *_wrap_VListBox_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
10370 PyObject *resultobj;
10371 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10372 size_t arg2 ;
10373 PyObject * obj0 = 0 ;
10374 PyObject * obj1 = 0 ;
10375 char *kwnames[] = {
10376 (char *) "self",(char *) "count", NULL
10377 };
10378
10379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
10380 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10381 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10382 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
10383 if (PyErr_Occurred()) SWIG_fail;
10384 {
10385 PyThreadState* __tstate = wxPyBeginAllowThreads();
10386 (arg1)->SetItemCount(arg2);
10387
10388 wxPyEndAllowThreads(__tstate);
10389 if (PyErr_Occurred()) SWIG_fail;
10390 }
10391 Py_INCREF(Py_None); resultobj = Py_None;
10392 return resultobj;
10393 fail:
10394 return NULL;
10395 }
10396
10397
10398 static PyObject *_wrap_VListBox_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
10399 PyObject *resultobj;
10400 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10401 PyObject * obj0 = 0 ;
10402 char *kwnames[] = {
10403 (char *) "self", NULL
10404 };
10405
10406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail;
10407 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10408 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10409 {
10410 PyThreadState* __tstate = wxPyBeginAllowThreads();
10411 (arg1)->Clear();
10412
10413 wxPyEndAllowThreads(__tstate);
10414 if (PyErr_Occurred()) SWIG_fail;
10415 }
10416 Py_INCREF(Py_None); resultobj = Py_None;
10417 return resultobj;
10418 fail:
10419 return NULL;
10420 }
10421
10422
10423 static PyObject *_wrap_VListBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
10424 PyObject *resultobj;
10425 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10426 int arg2 ;
10427 PyObject * obj0 = 0 ;
10428 PyObject * obj1 = 0 ;
10429 char *kwnames[] = {
10430 (char *) "self",(char *) "selection", NULL
10431 };
10432
10433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",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 = (int)SWIG_As_int(obj1);
10437 if (PyErr_Occurred()) SWIG_fail;
10438 {
10439 PyThreadState* __tstate = wxPyBeginAllowThreads();
10440 (arg1)->SetSelection(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_Select(PyObject *, PyObject *args, PyObject *kwargs) {
10453 PyObject *resultobj;
10454 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10455 size_t arg2 ;
10456 bool arg3 = (bool) true ;
10457 bool result;
10458 PyObject * obj0 = 0 ;
10459 PyObject * obj1 = 0 ;
10460 PyObject * obj2 = 0 ;
10461 char *kwnames[] = {
10462 (char *) "self",(char *) "item",(char *) "select", NULL
10463 };
10464
10465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
10466 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10468 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
10469 if (PyErr_Occurred()) SWIG_fail;
10470 if (obj2) {
10471 arg3 = (bool)SWIG_As_bool(obj2);
10472 if (PyErr_Occurred()) SWIG_fail;
10473 }
10474 {
10475 PyThreadState* __tstate = wxPyBeginAllowThreads();
10476 result = (bool)(arg1)->Select(arg2,arg3);
10477
10478 wxPyEndAllowThreads(__tstate);
10479 if (PyErr_Occurred()) SWIG_fail;
10480 }
10481 {
10482 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10483 }
10484 return resultobj;
10485 fail:
10486 return NULL;
10487 }
10488
10489
10490 static PyObject *_wrap_VListBox_SelectRange(PyObject *, PyObject *args, PyObject *kwargs) {
10491 PyObject *resultobj;
10492 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10493 size_t arg2 ;
10494 size_t arg3 ;
10495 bool result;
10496 PyObject * obj0 = 0 ;
10497 PyObject * obj1 = 0 ;
10498 PyObject * obj2 = 0 ;
10499 char *kwnames[] = {
10500 (char *) "self",(char *) "from",(char *) "to", NULL
10501 };
10502
10503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
10504 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10505 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10506 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
10507 if (PyErr_Occurred()) SWIG_fail;
10508 arg3 = (size_t)SWIG_As_unsigned_SS_long(obj2);
10509 if (PyErr_Occurred()) SWIG_fail;
10510 {
10511 PyThreadState* __tstate = wxPyBeginAllowThreads();
10512 result = (bool)(arg1)->SelectRange(arg2,arg3);
10513
10514 wxPyEndAllowThreads(__tstate);
10515 if (PyErr_Occurred()) SWIG_fail;
10516 }
10517 {
10518 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10519 }
10520 return resultobj;
10521 fail:
10522 return NULL;
10523 }
10524
10525
10526 static PyObject *_wrap_VListBox_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
10527 PyObject *resultobj;
10528 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10529 size_t arg2 ;
10530 PyObject * obj0 = 0 ;
10531 PyObject * obj1 = 0 ;
10532 char *kwnames[] = {
10533 (char *) "self",(char *) "item", NULL
10534 };
10535
10536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail;
10537 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10538 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10539 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
10540 if (PyErr_Occurred()) SWIG_fail;
10541 {
10542 PyThreadState* __tstate = wxPyBeginAllowThreads();
10543 (arg1)->Toggle(arg2);
10544
10545 wxPyEndAllowThreads(__tstate);
10546 if (PyErr_Occurred()) SWIG_fail;
10547 }
10548 Py_INCREF(Py_None); resultobj = Py_None;
10549 return resultobj;
10550 fail:
10551 return NULL;
10552 }
10553
10554
10555 static PyObject *_wrap_VListBox_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
10556 PyObject *resultobj;
10557 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10558 bool result;
10559 PyObject * obj0 = 0 ;
10560 char *kwnames[] = {
10561 (char *) "self", NULL
10562 };
10563
10564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail;
10565 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10566 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10567 {
10568 PyThreadState* __tstate = wxPyBeginAllowThreads();
10569 result = (bool)(arg1)->SelectAll();
10570
10571 wxPyEndAllowThreads(__tstate);
10572 if (PyErr_Occurred()) SWIG_fail;
10573 }
10574 {
10575 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10576 }
10577 return resultobj;
10578 fail:
10579 return NULL;
10580 }
10581
10582
10583 static PyObject *_wrap_VListBox_DeselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
10584 PyObject *resultobj;
10585 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10586 bool result;
10587 PyObject * obj0 = 0 ;
10588 char *kwnames[] = {
10589 (char *) "self", NULL
10590 };
10591
10592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail;
10593 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10594 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10595 {
10596 PyThreadState* __tstate = wxPyBeginAllowThreads();
10597 result = (bool)(arg1)->DeselectAll();
10598
10599 wxPyEndAllowThreads(__tstate);
10600 if (PyErr_Occurred()) SWIG_fail;
10601 }
10602 {
10603 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10604 }
10605 return resultobj;
10606 fail:
10607 return NULL;
10608 }
10609
10610
10611 static PyObject *_wrap_VListBox_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
10612 PyObject *resultobj;
10613 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10614 wxPoint *arg2 = 0 ;
10615 wxPoint temp2 ;
10616 PyObject * obj0 = 0 ;
10617 PyObject * obj1 = 0 ;
10618 char *kwnames[] = {
10619 (char *) "self",(char *) "pt", NULL
10620 };
10621
10622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail;
10623 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10624 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10625 {
10626 arg2 = &temp2;
10627 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10628 }
10629 {
10630 PyThreadState* __tstate = wxPyBeginAllowThreads();
10631 (arg1)->SetMargins((wxPoint const &)*arg2);
10632
10633 wxPyEndAllowThreads(__tstate);
10634 if (PyErr_Occurred()) SWIG_fail;
10635 }
10636 Py_INCREF(Py_None); resultobj = Py_None;
10637 return resultobj;
10638 fail:
10639 return NULL;
10640 }
10641
10642
10643 static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *, PyObject *args, PyObject *kwargs) {
10644 PyObject *resultobj;
10645 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10646 int arg2 ;
10647 int arg3 ;
10648 PyObject * obj0 = 0 ;
10649 PyObject * obj1 = 0 ;
10650 PyObject * obj2 = 0 ;
10651 char *kwnames[] = {
10652 (char *) "self",(char *) "x",(char *) "y", NULL
10653 };
10654
10655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
10656 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10657 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10658 arg2 = (int)SWIG_As_int(obj1);
10659 if (PyErr_Occurred()) SWIG_fail;
10660 arg3 = (int)SWIG_As_int(obj2);
10661 if (PyErr_Occurred()) SWIG_fail;
10662 {
10663 PyThreadState* __tstate = wxPyBeginAllowThreads();
10664 (arg1)->SetMargins(arg2,arg3);
10665
10666 wxPyEndAllowThreads(__tstate);
10667 if (PyErr_Occurred()) SWIG_fail;
10668 }
10669 Py_INCREF(Py_None); resultobj = Py_None;
10670 return resultobj;
10671 fail:
10672 return NULL;
10673 }
10674
10675
10676 static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) {
10677 PyObject *resultobj;
10678 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10679 wxColour *arg2 = 0 ;
10680 wxColour temp2 ;
10681 PyObject * obj0 = 0 ;
10682 PyObject * obj1 = 0 ;
10683 char *kwnames[] = {
10684 (char *) "self",(char *) "col", NULL
10685 };
10686
10687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail;
10688 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10689 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10690 {
10691 arg2 = &temp2;
10692 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10693 }
10694 {
10695 PyThreadState* __tstate = wxPyBeginAllowThreads();
10696 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
10697
10698 wxPyEndAllowThreads(__tstate);
10699 if (PyErr_Occurred()) SWIG_fail;
10700 }
10701 Py_INCREF(Py_None); resultobj = Py_None;
10702 return resultobj;
10703 fail:
10704 return NULL;
10705 }
10706
10707
10708 static PyObject * VListBox_swigregister(PyObject *, PyObject *args) {
10709 PyObject *obj;
10710 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10711 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj);
10712 Py_INCREF(obj);
10713 return Py_BuildValue((char *)"");
10714 }
10715 static PyObject *_wrap_new_HtmlListBox(PyObject *, PyObject *args, PyObject *kwargs) {
10716 PyObject *resultobj;
10717 wxWindow *arg1 = (wxWindow *) 0 ;
10718 int arg2 = (int) wxID_ANY ;
10719 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10720 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10721 wxSize const &arg4_defvalue = wxDefaultSize ;
10722 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10723 long arg5 = (long) 0 ;
10724 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
10725 wxString *arg6 = (wxString *) &arg6_defvalue ;
10726 wxPyHtmlListBox *result;
10727 wxPoint temp3 ;
10728 wxSize temp4 ;
10729 bool temp6 = false ;
10730 PyObject * obj0 = 0 ;
10731 PyObject * obj1 = 0 ;
10732 PyObject * obj2 = 0 ;
10733 PyObject * obj3 = 0 ;
10734 PyObject * obj4 = 0 ;
10735 PyObject * obj5 = 0 ;
10736 char *kwnames[] = {
10737 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10738 };
10739
10740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
10741 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10742 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10743 if (obj1) {
10744 arg2 = (int)SWIG_As_int(obj1);
10745 if (PyErr_Occurred()) SWIG_fail;
10746 }
10747 if (obj2) {
10748 {
10749 arg3 = &temp3;
10750 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10751 }
10752 }
10753 if (obj3) {
10754 {
10755 arg4 = &temp4;
10756 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10757 }
10758 }
10759 if (obj4) {
10760 arg5 = (long)SWIG_As_long(obj4);
10761 if (PyErr_Occurred()) SWIG_fail;
10762 }
10763 if (obj5) {
10764 {
10765 arg6 = wxString_in_helper(obj5);
10766 if (arg6 == NULL) SWIG_fail;
10767 temp6 = true;
10768 }
10769 }
10770 {
10771 if (!wxPyCheckForApp()) SWIG_fail;
10772 PyThreadState* __tstate = wxPyBeginAllowThreads();
10773 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10774
10775 wxPyEndAllowThreads(__tstate);
10776 if (PyErr_Occurred()) SWIG_fail;
10777 }
10778 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
10779 {
10780 if (temp6)
10781 delete arg6;
10782 }
10783 return resultobj;
10784 fail:
10785 {
10786 if (temp6)
10787 delete arg6;
10788 }
10789 return NULL;
10790 }
10791
10792
10793 static PyObject *_wrap_new_PreHtmlListBox(PyObject *, PyObject *args, PyObject *kwargs) {
10794 PyObject *resultobj;
10795 wxPyHtmlListBox *result;
10796 char *kwnames[] = {
10797 NULL
10798 };
10799
10800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail;
10801 {
10802 if (!wxPyCheckForApp()) SWIG_fail;
10803 PyThreadState* __tstate = wxPyBeginAllowThreads();
10804 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
10805
10806 wxPyEndAllowThreads(__tstate);
10807 if (PyErr_Occurred()) SWIG_fail;
10808 }
10809 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
10810 return resultobj;
10811 fail:
10812 return NULL;
10813 }
10814
10815
10816 static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
10817 PyObject *resultobj;
10818 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10819 PyObject *arg2 = (PyObject *) 0 ;
10820 PyObject *arg3 = (PyObject *) 0 ;
10821 PyObject * obj0 = 0 ;
10822 PyObject * obj1 = 0 ;
10823 PyObject * obj2 = 0 ;
10824 char *kwnames[] = {
10825 (char *) "self",(char *) "self",(char *) "_class", NULL
10826 };
10827
10828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
10829 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10830 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10831 arg2 = obj1;
10832 arg3 = obj2;
10833 {
10834 PyThreadState* __tstate = wxPyBeginAllowThreads();
10835 (arg1)->_setCallbackInfo(arg2,arg3);
10836
10837 wxPyEndAllowThreads(__tstate);
10838 if (PyErr_Occurred()) SWIG_fail;
10839 }
10840 Py_INCREF(Py_None); resultobj = Py_None;
10841 return resultobj;
10842 fail:
10843 return NULL;
10844 }
10845
10846
10847 static PyObject *_wrap_HtmlListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
10848 PyObject *resultobj;
10849 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10850 wxWindow *arg2 = (wxWindow *) 0 ;
10851 int arg3 = (int) wxID_ANY ;
10852 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10853 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10854 wxSize const &arg5_defvalue = wxDefaultSize ;
10855 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10856 long arg6 = (long) 0 ;
10857 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
10858 wxString *arg7 = (wxString *) &arg7_defvalue ;
10859 bool result;
10860 wxPoint temp4 ;
10861 wxSize temp5 ;
10862 bool temp7 = false ;
10863 PyObject * obj0 = 0 ;
10864 PyObject * obj1 = 0 ;
10865 PyObject * obj2 = 0 ;
10866 PyObject * obj3 = 0 ;
10867 PyObject * obj4 = 0 ;
10868 PyObject * obj5 = 0 ;
10869 PyObject * obj6 = 0 ;
10870 char *kwnames[] = {
10871 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10872 };
10873
10874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
10875 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10876 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10877 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10878 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10879 if (obj2) {
10880 arg3 = (int)SWIG_As_int(obj2);
10881 if (PyErr_Occurred()) SWIG_fail;
10882 }
10883 if (obj3) {
10884 {
10885 arg4 = &temp4;
10886 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10887 }
10888 }
10889 if (obj4) {
10890 {
10891 arg5 = &temp5;
10892 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10893 }
10894 }
10895 if (obj5) {
10896 arg6 = (long)SWIG_As_long(obj5);
10897 if (PyErr_Occurred()) SWIG_fail;
10898 }
10899 if (obj6) {
10900 {
10901 arg7 = wxString_in_helper(obj6);
10902 if (arg7 == NULL) SWIG_fail;
10903 temp7 = true;
10904 }
10905 }
10906 {
10907 PyThreadState* __tstate = wxPyBeginAllowThreads();
10908 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10909
10910 wxPyEndAllowThreads(__tstate);
10911 if (PyErr_Occurred()) SWIG_fail;
10912 }
10913 {
10914 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10915 }
10916 {
10917 if (temp7)
10918 delete arg7;
10919 }
10920 return resultobj;
10921 fail:
10922 {
10923 if (temp7)
10924 delete arg7;
10925 }
10926 return NULL;
10927 }
10928
10929
10930 static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *, PyObject *args, PyObject *kwargs) {
10931 PyObject *resultobj;
10932 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10933 PyObject * obj0 = 0 ;
10934 char *kwnames[] = {
10935 (char *) "self", NULL
10936 };
10937
10938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail;
10939 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10940 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10941 {
10942 PyThreadState* __tstate = wxPyBeginAllowThreads();
10943 (arg1)->RefreshAll();
10944
10945 wxPyEndAllowThreads(__tstate);
10946 if (PyErr_Occurred()) SWIG_fail;
10947 }
10948 Py_INCREF(Py_None); resultobj = Py_None;
10949 return resultobj;
10950 fail:
10951 return NULL;
10952 }
10953
10954
10955 static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
10956 PyObject *resultobj;
10957 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10958 size_t arg2 ;
10959 PyObject * obj0 = 0 ;
10960 PyObject * obj1 = 0 ;
10961 char *kwnames[] = {
10962 (char *) "self",(char *) "count", NULL
10963 };
10964
10965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
10966 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10967 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10968 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
10969 if (PyErr_Occurred()) SWIG_fail;
10970 {
10971 PyThreadState* __tstate = wxPyBeginAllowThreads();
10972 (arg1)->SetItemCount(arg2);
10973
10974 wxPyEndAllowThreads(__tstate);
10975 if (PyErr_Occurred()) SWIG_fail;
10976 }
10977 Py_INCREF(Py_None); resultobj = Py_None;
10978 return resultobj;
10979 fail:
10980 return NULL;
10981 }
10982
10983
10984 static PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *, PyObject *args, PyObject *kwargs) {
10985 PyObject *resultobj;
10986 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10987 wxFileSystem *result;
10988 PyObject * obj0 = 0 ;
10989 char *kwnames[] = {
10990 (char *) "self", NULL
10991 };
10992
10993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_GetFileSystem",kwnames,&obj0)) goto fail;
10994 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10995 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10996 {
10997 PyThreadState* __tstate = wxPyBeginAllowThreads();
10998 {
10999 wxFileSystem &_result_ref = (arg1)->GetFileSystem();
11000 result = (wxFileSystem *) &_result_ref;
11001 }
11002
11003 wxPyEndAllowThreads(__tstate);
11004 if (PyErr_Occurred()) SWIG_fail;
11005 }
11006 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileSystem, 0);
11007 return resultobj;
11008 fail:
11009 return NULL;
11010 }
11011
11012
11013 static PyObject * HtmlListBox_swigregister(PyObject *, PyObject *args) {
11014 PyObject *obj;
11015 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11016 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj);
11017 Py_INCREF(obj);
11018 return Py_BuildValue((char *)"");
11019 }
11020 static PyObject *_wrap_new_TaskBarIcon(PyObject *, PyObject *args, PyObject *kwargs) {
11021 PyObject *resultobj;
11022 wxTaskBarIcon *result;
11023 char *kwnames[] = {
11024 NULL
11025 };
11026
11027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail;
11028 {
11029 if (!wxPyCheckForApp()) SWIG_fail;
11030 PyThreadState* __tstate = wxPyBeginAllowThreads();
11031 result = (wxTaskBarIcon *)new wxTaskBarIcon();
11032
11033 wxPyEndAllowThreads(__tstate);
11034 if (PyErr_Occurred()) SWIG_fail;
11035 }
11036 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIcon, 1);
11037 return resultobj;
11038 fail:
11039 return NULL;
11040 }
11041
11042
11043 static PyObject *_wrap_delete_TaskBarIcon(PyObject *, PyObject *args, PyObject *kwargs) {
11044 PyObject *resultobj;
11045 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
11046 PyObject * obj0 = 0 ;
11047 char *kwnames[] = {
11048 (char *) "self", NULL
11049 };
11050
11051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TaskBarIcon",kwnames,&obj0)) goto fail;
11052 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
11053 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11054 {
11055 PyThreadState* __tstate = wxPyBeginAllowThreads();
11056 delete arg1;
11057
11058 wxPyEndAllowThreads(__tstate);
11059 if (PyErr_Occurred()) SWIG_fail;
11060 }
11061 Py_INCREF(Py_None); resultobj = Py_None;
11062 return resultobj;
11063 fail:
11064 return NULL;
11065 }
11066
11067
11068 static PyObject *_wrap_TaskBarIcon_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
11069 PyObject *resultobj;
11070 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
11071 PyObject * obj0 = 0 ;
11072 char *kwnames[] = {
11073 (char *) "self", NULL
11074 };
11075
11076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_Destroy",kwnames,&obj0)) goto fail;
11077 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
11078 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11079 {
11080 PyThreadState* __tstate = wxPyBeginAllowThreads();
11081 wxTaskBarIcon_Destroy(arg1);
11082
11083 wxPyEndAllowThreads(__tstate);
11084 if (PyErr_Occurred()) SWIG_fail;
11085 }
11086 Py_INCREF(Py_None); resultobj = Py_None;
11087 return resultobj;
11088 fail:
11089 return NULL;
11090 }
11091
11092
11093 static PyObject *_wrap_TaskBarIcon_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
11094 PyObject *resultobj;
11095 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
11096 bool result;
11097 PyObject * obj0 = 0 ;
11098 char *kwnames[] = {
11099 (char *) "self", NULL
11100 };
11101
11102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsOk",kwnames,&obj0)) goto fail;
11103 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
11104 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11105 {
11106 PyThreadState* __tstate = wxPyBeginAllowThreads();
11107 result = (bool)((wxTaskBarIcon const *)arg1)->IsOk();
11108
11109 wxPyEndAllowThreads(__tstate);
11110 if (PyErr_Occurred()) SWIG_fail;
11111 }
11112 {
11113 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11114 }
11115 return resultobj;
11116 fail:
11117 return NULL;
11118 }
11119
11120
11121 static PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *, PyObject *args, PyObject *kwargs) {
11122 PyObject *resultobj;
11123 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
11124 bool result;
11125 PyObject * obj0 = 0 ;
11126 char *kwnames[] = {
11127 (char *) "self", NULL
11128 };
11129
11130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsIconInstalled",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 result = (bool)((wxTaskBarIcon const *)arg1)->IsIconInstalled();
11136
11137 wxPyEndAllowThreads(__tstate);
11138 if (PyErr_Occurred()) SWIG_fail;
11139 }
11140 {
11141 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11142 }
11143 return resultobj;
11144 fail:
11145 return NULL;
11146 }
11147
11148
11149 static PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
11150 PyObject *resultobj;
11151 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
11152 wxIcon *arg2 = 0 ;
11153 wxString const &arg3_defvalue = wxPyEmptyString ;
11154 wxString *arg3 = (wxString *) &arg3_defvalue ;
11155 bool result;
11156 bool temp3 = false ;
11157 PyObject * obj0 = 0 ;
11158 PyObject * obj1 = 0 ;
11159 PyObject * obj2 = 0 ;
11160 char *kwnames[] = {
11161 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
11162 };
11163
11164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
11165 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
11166 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11167 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
11168 SWIG_POINTER_EXCEPTION | 0)) == -1)
11169 SWIG_fail;
11170 if (arg2 == NULL) {
11171 PyErr_SetString(PyExc_TypeError,"null reference");
11172 SWIG_fail;
11173 }
11174 if (obj2) {
11175 {
11176 arg3 = wxString_in_helper(obj2);
11177 if (arg3 == NULL) SWIG_fail;
11178 temp3 = true;
11179 }
11180 }
11181 {
11182 PyThreadState* __tstate = wxPyBeginAllowThreads();
11183 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
11184
11185 wxPyEndAllowThreads(__tstate);
11186 if (PyErr_Occurred()) SWIG_fail;
11187 }
11188 {
11189 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11190 }
11191 {
11192 if (temp3)
11193 delete arg3;
11194 }
11195 return resultobj;
11196 fail:
11197 {
11198 if (temp3)
11199 delete arg3;
11200 }
11201 return NULL;
11202 }
11203
11204
11205 static PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *, PyObject *args, PyObject *kwargs) {
11206 PyObject *resultobj;
11207 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
11208 bool result;
11209 PyObject * obj0 = 0 ;
11210 char *kwnames[] = {
11211 (char *) "self", NULL
11212 };
11213
11214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_RemoveIcon",kwnames,&obj0)) goto fail;
11215 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
11216 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11217 {
11218 PyThreadState* __tstate = wxPyBeginAllowThreads();
11219 result = (bool)(arg1)->RemoveIcon();
11220
11221 wxPyEndAllowThreads(__tstate);
11222 if (PyErr_Occurred()) SWIG_fail;
11223 }
11224 {
11225 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11226 }
11227 return resultobj;
11228 fail:
11229 return NULL;
11230 }
11231
11232
11233 static PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *, PyObject *args, PyObject *kwargs) {
11234 PyObject *resultobj;
11235 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
11236 wxMenu *arg2 = (wxMenu *) 0 ;
11237 bool result;
11238 PyObject * obj0 = 0 ;
11239 PyObject * obj1 = 0 ;
11240 char *kwnames[] = {
11241 (char *) "self",(char *) "menu", NULL
11242 };
11243
11244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) goto fail;
11245 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
11246 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11247 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
11248 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11249 {
11250 PyThreadState* __tstate = wxPyBeginAllowThreads();
11251 result = (bool)(arg1)->PopupMenu(arg2);
11252
11253 wxPyEndAllowThreads(__tstate);
11254 if (PyErr_Occurred()) SWIG_fail;
11255 }
11256 {
11257 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11258 }
11259 return resultobj;
11260 fail:
11261 return NULL;
11262 }
11263
11264
11265 static PyObject * TaskBarIcon_swigregister(PyObject *, PyObject *args) {
11266 PyObject *obj;
11267 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11268 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon, obj);
11269 Py_INCREF(obj);
11270 return Py_BuildValue((char *)"");
11271 }
11272 static PyObject *_wrap_new_TaskBarIconEvent(PyObject *, PyObject *args, PyObject *kwargs) {
11273 PyObject *resultobj;
11274 wxEventType arg1 ;
11275 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
11276 wxTaskBarIconEvent *result;
11277 PyObject * obj0 = 0 ;
11278 PyObject * obj1 = 0 ;
11279 char *kwnames[] = {
11280 (char *) "evtType",(char *) "tbIcon", NULL
11281 };
11282
11283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) goto fail;
11284 arg1 = (wxEventType)SWIG_As_int(obj0);
11285 if (PyErr_Occurred()) SWIG_fail;
11286 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTaskBarIcon,
11287 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11288 {
11289 PyThreadState* __tstate = wxPyBeginAllowThreads();
11290 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
11291
11292 wxPyEndAllowThreads(__tstate);
11293 if (PyErr_Occurred()) SWIG_fail;
11294 }
11295 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIconEvent, 1);
11296 return resultobj;
11297 fail:
11298 return NULL;
11299 }
11300
11301
11302 static PyObject * TaskBarIconEvent_swigregister(PyObject *, PyObject *args) {
11303 PyObject *obj;
11304 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11305 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj);
11306 Py_INCREF(obj);
11307 return Py_BuildValue((char *)"");
11308 }
11309 static int _wrap_FileSelectorPromptStr_set(PyObject *) {
11310 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
11311 return 1;
11312 }
11313
11314
11315 static PyObject *_wrap_FileSelectorPromptStr_get() {
11316 PyObject *pyobj;
11317
11318 {
11319 #if wxUSE_UNICODE
11320 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
11321 #else
11322 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
11323 #endif
11324 }
11325 return pyobj;
11326 }
11327
11328
11329 static int _wrap_DirSelectorPromptStr_set(PyObject *) {
11330 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
11331 return 1;
11332 }
11333
11334
11335 static PyObject *_wrap_DirSelectorPromptStr_get() {
11336 PyObject *pyobj;
11337
11338 {
11339 #if wxUSE_UNICODE
11340 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
11341 #else
11342 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
11343 #endif
11344 }
11345 return pyobj;
11346 }
11347
11348
11349 static int _wrap_DirDialogNameStr_set(PyObject *) {
11350 PyErr_SetString(PyExc_TypeError,"Variable DirDialogNameStr is read-only.");
11351 return 1;
11352 }
11353
11354
11355 static PyObject *_wrap_DirDialogNameStr_get() {
11356 PyObject *pyobj;
11357
11358 {
11359 #if wxUSE_UNICODE
11360 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
11361 #else
11362 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
11363 #endif
11364 }
11365 return pyobj;
11366 }
11367
11368
11369 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *) {
11370 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
11371 return 1;
11372 }
11373
11374
11375 static PyObject *_wrap_FileSelectorDefaultWildcardStr_get() {
11376 PyObject *pyobj;
11377
11378 {
11379 #if wxUSE_UNICODE
11380 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
11381 #else
11382 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
11383 #endif
11384 }
11385 return pyobj;
11386 }
11387
11388
11389 static int _wrap_GetTextFromUserPromptStr_set(PyObject *) {
11390 PyErr_SetString(PyExc_TypeError,"Variable GetTextFromUserPromptStr is read-only.");
11391 return 1;
11392 }
11393
11394
11395 static PyObject *_wrap_GetTextFromUserPromptStr_get() {
11396 PyObject *pyobj;
11397
11398 {
11399 #if wxUSE_UNICODE
11400 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
11401 #else
11402 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
11403 #endif
11404 }
11405 return pyobj;
11406 }
11407
11408
11409 static int _wrap_MessageBoxCaptionStr_set(PyObject *) {
11410 PyErr_SetString(PyExc_TypeError,"Variable MessageBoxCaptionStr is read-only.");
11411 return 1;
11412 }
11413
11414
11415 static PyObject *_wrap_MessageBoxCaptionStr_get() {
11416 PyObject *pyobj;
11417
11418 {
11419 #if wxUSE_UNICODE
11420 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
11421 #else
11422 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
11423 #endif
11424 }
11425 return pyobj;
11426 }
11427
11428
11429 static PyObject *_wrap_new_ColourData(PyObject *, PyObject *args, PyObject *kwargs) {
11430 PyObject *resultobj;
11431 wxColourData *result;
11432 char *kwnames[] = {
11433 NULL
11434 };
11435
11436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail;
11437 {
11438 PyThreadState* __tstate = wxPyBeginAllowThreads();
11439 result = (wxColourData *)new wxColourData();
11440
11441 wxPyEndAllowThreads(__tstate);
11442 if (PyErr_Occurred()) SWIG_fail;
11443 }
11444 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 1);
11445 return resultobj;
11446 fail:
11447 return NULL;
11448 }
11449
11450
11451 static PyObject *_wrap_delete_ColourData(PyObject *, PyObject *args, PyObject *kwargs) {
11452 PyObject *resultobj;
11453 wxColourData *arg1 = (wxColourData *) 0 ;
11454 PyObject * obj0 = 0 ;
11455 char *kwnames[] = {
11456 (char *) "self", NULL
11457 };
11458
11459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail;
11460 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11461 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11462 {
11463 PyThreadState* __tstate = wxPyBeginAllowThreads();
11464 delete arg1;
11465
11466 wxPyEndAllowThreads(__tstate);
11467 if (PyErr_Occurred()) SWIG_fail;
11468 }
11469 Py_INCREF(Py_None); resultobj = Py_None;
11470 return resultobj;
11471 fail:
11472 return NULL;
11473 }
11474
11475
11476 static PyObject *_wrap_ColourData_GetChooseFull(PyObject *, PyObject *args, PyObject *kwargs) {
11477 PyObject *resultobj;
11478 wxColourData *arg1 = (wxColourData *) 0 ;
11479 bool result;
11480 PyObject * obj0 = 0 ;
11481 char *kwnames[] = {
11482 (char *) "self", NULL
11483 };
11484
11485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail;
11486 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11487 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11488 {
11489 PyThreadState* __tstate = wxPyBeginAllowThreads();
11490 result = (bool)(arg1)->GetChooseFull();
11491
11492 wxPyEndAllowThreads(__tstate);
11493 if (PyErr_Occurred()) SWIG_fail;
11494 }
11495 {
11496 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11497 }
11498 return resultobj;
11499 fail:
11500 return NULL;
11501 }
11502
11503
11504 static PyObject *_wrap_ColourData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
11505 PyObject *resultobj;
11506 wxColourData *arg1 = (wxColourData *) 0 ;
11507 wxColour result;
11508 PyObject * obj0 = 0 ;
11509 char *kwnames[] = {
11510 (char *) "self", NULL
11511 };
11512
11513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",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 result = (arg1)->GetColour();
11519
11520 wxPyEndAllowThreads(__tstate);
11521 if (PyErr_Occurred()) SWIG_fail;
11522 }
11523 {
11524 wxColour * resultptr;
11525 resultptr = new wxColour((wxColour &) result);
11526 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
11527 }
11528 return resultobj;
11529 fail:
11530 return NULL;
11531 }
11532
11533
11534 static PyObject *_wrap_ColourData_GetCustomColour(PyObject *, PyObject *args, PyObject *kwargs) {
11535 PyObject *resultobj;
11536 wxColourData *arg1 = (wxColourData *) 0 ;
11537 int arg2 ;
11538 wxColour result;
11539 PyObject * obj0 = 0 ;
11540 PyObject * obj1 = 0 ;
11541 char *kwnames[] = {
11542 (char *) "self",(char *) "i", NULL
11543 };
11544
11545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) goto fail;
11546 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11547 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11548 arg2 = (int)SWIG_As_int(obj1);
11549 if (PyErr_Occurred()) SWIG_fail;
11550 {
11551 PyThreadState* __tstate = wxPyBeginAllowThreads();
11552 result = (arg1)->GetCustomColour(arg2);
11553
11554 wxPyEndAllowThreads(__tstate);
11555 if (PyErr_Occurred()) SWIG_fail;
11556 }
11557 {
11558 wxColour * resultptr;
11559 resultptr = new wxColour((wxColour &) result);
11560 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
11561 }
11562 return resultobj;
11563 fail:
11564 return NULL;
11565 }
11566
11567
11568 static PyObject *_wrap_ColourData_SetChooseFull(PyObject *, PyObject *args, PyObject *kwargs) {
11569 PyObject *resultobj;
11570 wxColourData *arg1 = (wxColourData *) 0 ;
11571 int arg2 ;
11572 PyObject * obj0 = 0 ;
11573 PyObject * obj1 = 0 ;
11574 char *kwnames[] = {
11575 (char *) "self",(char *) "flag", NULL
11576 };
11577
11578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) goto fail;
11579 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11580 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11581 arg2 = (int)SWIG_As_int(obj1);
11582 if (PyErr_Occurred()) SWIG_fail;
11583 {
11584 PyThreadState* __tstate = wxPyBeginAllowThreads();
11585 (arg1)->SetChooseFull(arg2);
11586
11587 wxPyEndAllowThreads(__tstate);
11588 if (PyErr_Occurred()) SWIG_fail;
11589 }
11590 Py_INCREF(Py_None); resultobj = Py_None;
11591 return resultobj;
11592 fail:
11593 return NULL;
11594 }
11595
11596
11597 static PyObject *_wrap_ColourData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
11598 PyObject *resultobj;
11599 wxColourData *arg1 = (wxColourData *) 0 ;
11600 wxColour *arg2 = 0 ;
11601 wxColour temp2 ;
11602 PyObject * obj0 = 0 ;
11603 PyObject * obj1 = 0 ;
11604 char *kwnames[] = {
11605 (char *) "self",(char *) "colour", NULL
11606 };
11607
11608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail;
11609 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11610 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11611 {
11612 arg2 = &temp2;
11613 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
11614 }
11615 {
11616 PyThreadState* __tstate = wxPyBeginAllowThreads();
11617 (arg1)->SetColour((wxColour const &)*arg2);
11618
11619 wxPyEndAllowThreads(__tstate);
11620 if (PyErr_Occurred()) SWIG_fail;
11621 }
11622 Py_INCREF(Py_None); resultobj = Py_None;
11623 return resultobj;
11624 fail:
11625 return NULL;
11626 }
11627
11628
11629 static PyObject *_wrap_ColourData_SetCustomColour(PyObject *, PyObject *args, PyObject *kwargs) {
11630 PyObject *resultobj;
11631 wxColourData *arg1 = (wxColourData *) 0 ;
11632 int arg2 ;
11633 wxColour *arg3 = 0 ;
11634 wxColour temp3 ;
11635 PyObject * obj0 = 0 ;
11636 PyObject * obj1 = 0 ;
11637 PyObject * obj2 = 0 ;
11638 char *kwnames[] = {
11639 (char *) "self",(char *) "i",(char *) "colour", NULL
11640 };
11641
11642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
11643 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11644 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11645 arg2 = (int)SWIG_As_int(obj1);
11646 if (PyErr_Occurred()) SWIG_fail;
11647 {
11648 arg3 = &temp3;
11649 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
11650 }
11651 {
11652 PyThreadState* __tstate = wxPyBeginAllowThreads();
11653 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
11654
11655 wxPyEndAllowThreads(__tstate);
11656 if (PyErr_Occurred()) SWIG_fail;
11657 }
11658 Py_INCREF(Py_None); resultobj = Py_None;
11659 return resultobj;
11660 fail:
11661 return NULL;
11662 }
11663
11664
11665 static PyObject * ColourData_swigregister(PyObject *, PyObject *args) {
11666 PyObject *obj;
11667 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11668 SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj);
11669 Py_INCREF(obj);
11670 return Py_BuildValue((char *)"");
11671 }
11672 static PyObject *_wrap_new_ColourDialog(PyObject *, PyObject *args, PyObject *kwargs) {
11673 PyObject *resultobj;
11674 wxWindow *arg1 = (wxWindow *) 0 ;
11675 wxColourData *arg2 = (wxColourData *) NULL ;
11676 wxColourDialog *result;
11677 PyObject * obj0 = 0 ;
11678 PyObject * obj1 = 0 ;
11679 char *kwnames[] = {
11680 (char *) "parent",(char *) "data", NULL
11681 };
11682
11683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail;
11684 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11685 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11686 if (obj1) {
11687 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxColourData,
11688 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11689 }
11690 {
11691 if (!wxPyCheckForApp()) SWIG_fail;
11692 PyThreadState* __tstate = wxPyBeginAllowThreads();
11693 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
11694
11695 wxPyEndAllowThreads(__tstate);
11696 if (PyErr_Occurred()) SWIG_fail;
11697 }
11698 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourDialog, 1);
11699 return resultobj;
11700 fail:
11701 return NULL;
11702 }
11703
11704
11705 static PyObject *_wrap_ColourDialog_GetColourData(PyObject *, PyObject *args, PyObject *kwargs) {
11706 PyObject *resultobj;
11707 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
11708 wxColourData *result;
11709 PyObject * obj0 = 0 ;
11710 char *kwnames[] = {
11711 (char *) "self", NULL
11712 };
11713
11714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail;
11715 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourDialog,
11716 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11717 {
11718 PyThreadState* __tstate = wxPyBeginAllowThreads();
11719 {
11720 wxColourData &_result_ref = (arg1)->GetColourData();
11721 result = (wxColourData *) &_result_ref;
11722 }
11723
11724 wxPyEndAllowThreads(__tstate);
11725 if (PyErr_Occurred()) SWIG_fail;
11726 }
11727 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 0);
11728 return resultobj;
11729 fail:
11730 return NULL;
11731 }
11732
11733
11734 static PyObject * ColourDialog_swigregister(PyObject *, PyObject *args) {
11735 PyObject *obj;
11736 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11737 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj);
11738 Py_INCREF(obj);
11739 return Py_BuildValue((char *)"");
11740 }
11741 static PyObject *_wrap_new_DirDialog(PyObject *, PyObject *args, PyObject *kwargs) {
11742 PyObject *resultobj;
11743 wxWindow *arg1 = (wxWindow *) 0 ;
11744 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
11745 wxString *arg2 = (wxString *) &arg2_defvalue ;
11746 wxString const &arg3_defvalue = wxPyEmptyString ;
11747 wxString *arg3 = (wxString *) &arg3_defvalue ;
11748 long arg4 = (long) 0 ;
11749 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11750 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11751 wxSize const &arg6_defvalue = wxDefaultSize ;
11752 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11753 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
11754 wxString *arg7 = (wxString *) &arg7_defvalue ;
11755 wxDirDialog *result;
11756 bool temp2 = false ;
11757 bool temp3 = false ;
11758 wxPoint temp5 ;
11759 wxSize temp6 ;
11760 bool temp7 = false ;
11761 PyObject * obj0 = 0 ;
11762 PyObject * obj1 = 0 ;
11763 PyObject * obj2 = 0 ;
11764 PyObject * obj3 = 0 ;
11765 PyObject * obj4 = 0 ;
11766 PyObject * obj5 = 0 ;
11767 PyObject * obj6 = 0 ;
11768 char *kwnames[] = {
11769 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
11770 };
11771
11772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11773 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11774 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11775 if (obj1) {
11776 {
11777 arg2 = wxString_in_helper(obj1);
11778 if (arg2 == NULL) SWIG_fail;
11779 temp2 = true;
11780 }
11781 }
11782 if (obj2) {
11783 {
11784 arg3 = wxString_in_helper(obj2);
11785 if (arg3 == NULL) SWIG_fail;
11786 temp3 = true;
11787 }
11788 }
11789 if (obj3) {
11790 arg4 = (long)SWIG_As_long(obj3);
11791 if (PyErr_Occurred()) SWIG_fail;
11792 }
11793 if (obj4) {
11794 {
11795 arg5 = &temp5;
11796 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11797 }
11798 }
11799 if (obj5) {
11800 {
11801 arg6 = &temp6;
11802 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11803 }
11804 }
11805 if (obj6) {
11806 {
11807 arg7 = wxString_in_helper(obj6);
11808 if (arg7 == NULL) SWIG_fail;
11809 temp7 = true;
11810 }
11811 }
11812 {
11813 if (!wxPyCheckForApp()) SWIG_fail;
11814 PyThreadState* __tstate = wxPyBeginAllowThreads();
11815 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
11816
11817 wxPyEndAllowThreads(__tstate);
11818 if (PyErr_Occurred()) SWIG_fail;
11819 }
11820 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirDialog, 1);
11821 {
11822 if (temp2)
11823 delete arg2;
11824 }
11825 {
11826 if (temp3)
11827 delete arg3;
11828 }
11829 {
11830 if (temp7)
11831 delete arg7;
11832 }
11833 return resultobj;
11834 fail:
11835 {
11836 if (temp2)
11837 delete arg2;
11838 }
11839 {
11840 if (temp3)
11841 delete arg3;
11842 }
11843 {
11844 if (temp7)
11845 delete arg7;
11846 }
11847 return NULL;
11848 }
11849
11850
11851 static PyObject *_wrap_DirDialog_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
11852 PyObject *resultobj;
11853 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11854 wxString result;
11855 PyObject * obj0 = 0 ;
11856 char *kwnames[] = {
11857 (char *) "self", NULL
11858 };
11859
11860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail;
11861 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11862 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11863 {
11864 PyThreadState* __tstate = wxPyBeginAllowThreads();
11865 result = (arg1)->GetPath();
11866
11867 wxPyEndAllowThreads(__tstate);
11868 if (PyErr_Occurred()) SWIG_fail;
11869 }
11870 {
11871 #if wxUSE_UNICODE
11872 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11873 #else
11874 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11875 #endif
11876 }
11877 return resultobj;
11878 fail:
11879 return NULL;
11880 }
11881
11882
11883 static PyObject *_wrap_DirDialog_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
11884 PyObject *resultobj;
11885 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11886 wxString result;
11887 PyObject * obj0 = 0 ;
11888 char *kwnames[] = {
11889 (char *) "self", NULL
11890 };
11891
11892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail;
11893 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11894 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11895 {
11896 PyThreadState* __tstate = wxPyBeginAllowThreads();
11897 result = (arg1)->GetMessage();
11898
11899 wxPyEndAllowThreads(__tstate);
11900 if (PyErr_Occurred()) SWIG_fail;
11901 }
11902 {
11903 #if wxUSE_UNICODE
11904 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11905 #else
11906 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11907 #endif
11908 }
11909 return resultobj;
11910 fail:
11911 return NULL;
11912 }
11913
11914
11915 static PyObject *_wrap_DirDialog_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
11916 PyObject *resultobj;
11917 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11918 long result;
11919 PyObject * obj0 = 0 ;
11920 char *kwnames[] = {
11921 (char *) "self", NULL
11922 };
11923
11924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail;
11925 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11926 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11927 {
11928 PyThreadState* __tstate = wxPyBeginAllowThreads();
11929 result = (long)(arg1)->GetStyle();
11930
11931 wxPyEndAllowThreads(__tstate);
11932 if (PyErr_Occurred()) SWIG_fail;
11933 }
11934 resultobj = SWIG_From_long((long)result);
11935 return resultobj;
11936 fail:
11937 return NULL;
11938 }
11939
11940
11941 static PyObject *_wrap_DirDialog_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
11942 PyObject *resultobj;
11943 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11944 wxString *arg2 = 0 ;
11945 bool temp2 = false ;
11946 PyObject * obj0 = 0 ;
11947 PyObject * obj1 = 0 ;
11948 char *kwnames[] = {
11949 (char *) "self",(char *) "message", NULL
11950 };
11951
11952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
11953 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11954 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11955 {
11956 arg2 = wxString_in_helper(obj1);
11957 if (arg2 == NULL) SWIG_fail;
11958 temp2 = true;
11959 }
11960 {
11961 PyThreadState* __tstate = wxPyBeginAllowThreads();
11962 (arg1)->SetMessage((wxString const &)*arg2);
11963
11964 wxPyEndAllowThreads(__tstate);
11965 if (PyErr_Occurred()) SWIG_fail;
11966 }
11967 Py_INCREF(Py_None); resultobj = Py_None;
11968 {
11969 if (temp2)
11970 delete arg2;
11971 }
11972 return resultobj;
11973 fail:
11974 {
11975 if (temp2)
11976 delete arg2;
11977 }
11978 return NULL;
11979 }
11980
11981
11982 static PyObject *_wrap_DirDialog_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
11983 PyObject *resultobj;
11984 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11985 wxString *arg2 = 0 ;
11986 bool temp2 = false ;
11987 PyObject * obj0 = 0 ;
11988 PyObject * obj1 = 0 ;
11989 char *kwnames[] = {
11990 (char *) "self",(char *) "path", NULL
11991 };
11992
11993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
11994 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11995 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11996 {
11997 arg2 = wxString_in_helper(obj1);
11998 if (arg2 == NULL) SWIG_fail;
11999 temp2 = true;
12000 }
12001 {
12002 PyThreadState* __tstate = wxPyBeginAllowThreads();
12003 (arg1)->SetPath((wxString const &)*arg2);
12004
12005 wxPyEndAllowThreads(__tstate);
12006 if (PyErr_Occurred()) SWIG_fail;
12007 }
12008 Py_INCREF(Py_None); resultobj = Py_None;
12009 {
12010 if (temp2)
12011 delete arg2;
12012 }
12013 return resultobj;
12014 fail:
12015 {
12016 if (temp2)
12017 delete arg2;
12018 }
12019 return NULL;
12020 }
12021
12022
12023 static PyObject * DirDialog_swigregister(PyObject *, PyObject *args) {
12024 PyObject *obj;
12025 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12026 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj);
12027 Py_INCREF(obj);
12028 return Py_BuildValue((char *)"");
12029 }
12030 static PyObject *_wrap_new_FileDialog(PyObject *, PyObject *args, PyObject *kwargs) {
12031 PyObject *resultobj;
12032 wxWindow *arg1 = (wxWindow *) 0 ;
12033 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
12034 wxString *arg2 = (wxString *) &arg2_defvalue ;
12035 wxString const &arg3_defvalue = wxPyEmptyString ;
12036 wxString *arg3 = (wxString *) &arg3_defvalue ;
12037 wxString const &arg4_defvalue = wxPyEmptyString ;
12038 wxString *arg4 = (wxString *) &arg4_defvalue ;
12039 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
12040 wxString *arg5 = (wxString *) &arg5_defvalue ;
12041 long arg6 = (long) 0 ;
12042 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12043 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12044 wxFileDialog *result;
12045 bool temp2 = false ;
12046 bool temp3 = false ;
12047 bool temp4 = false ;
12048 bool temp5 = false ;
12049 wxPoint temp7 ;
12050 PyObject * obj0 = 0 ;
12051 PyObject * obj1 = 0 ;
12052 PyObject * obj2 = 0 ;
12053 PyObject * obj3 = 0 ;
12054 PyObject * obj4 = 0 ;
12055 PyObject * obj5 = 0 ;
12056 PyObject * obj6 = 0 ;
12057 char *kwnames[] = {
12058 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
12059 };
12060
12061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
12062 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12063 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12064 if (obj1) {
12065 {
12066 arg2 = wxString_in_helper(obj1);
12067 if (arg2 == NULL) SWIG_fail;
12068 temp2 = true;
12069 }
12070 }
12071 if (obj2) {
12072 {
12073 arg3 = wxString_in_helper(obj2);
12074 if (arg3 == NULL) SWIG_fail;
12075 temp3 = true;
12076 }
12077 }
12078 if (obj3) {
12079 {
12080 arg4 = wxString_in_helper(obj3);
12081 if (arg4 == NULL) SWIG_fail;
12082 temp4 = true;
12083 }
12084 }
12085 if (obj4) {
12086 {
12087 arg5 = wxString_in_helper(obj4);
12088 if (arg5 == NULL) SWIG_fail;
12089 temp5 = true;
12090 }
12091 }
12092 if (obj5) {
12093 arg6 = (long)SWIG_As_long(obj5);
12094 if (PyErr_Occurred()) SWIG_fail;
12095 }
12096 if (obj6) {
12097 {
12098 arg7 = &temp7;
12099 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
12100 }
12101 }
12102 {
12103 if (!wxPyCheckForApp()) SWIG_fail;
12104 PyThreadState* __tstate = wxPyBeginAllowThreads();
12105 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
12106
12107 wxPyEndAllowThreads(__tstate);
12108 if (PyErr_Occurred()) SWIG_fail;
12109 }
12110 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileDialog, 1);
12111 {
12112 if (temp2)
12113 delete arg2;
12114 }
12115 {
12116 if (temp3)
12117 delete arg3;
12118 }
12119 {
12120 if (temp4)
12121 delete arg4;
12122 }
12123 {
12124 if (temp5)
12125 delete arg5;
12126 }
12127 return resultobj;
12128 fail:
12129 {
12130 if (temp2)
12131 delete arg2;
12132 }
12133 {
12134 if (temp3)
12135 delete arg3;
12136 }
12137 {
12138 if (temp4)
12139 delete arg4;
12140 }
12141 {
12142 if (temp5)
12143 delete arg5;
12144 }
12145 return NULL;
12146 }
12147
12148
12149 static PyObject *_wrap_FileDialog_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
12150 PyObject *resultobj;
12151 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12152 wxString *arg2 = 0 ;
12153 bool temp2 = false ;
12154 PyObject * obj0 = 0 ;
12155 PyObject * obj1 = 0 ;
12156 char *kwnames[] = {
12157 (char *) "self",(char *) "message", NULL
12158 };
12159
12160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
12161 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12162 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12163 {
12164 arg2 = wxString_in_helper(obj1);
12165 if (arg2 == NULL) SWIG_fail;
12166 temp2 = true;
12167 }
12168 {
12169 PyThreadState* __tstate = wxPyBeginAllowThreads();
12170 (arg1)->SetMessage((wxString const &)*arg2);
12171
12172 wxPyEndAllowThreads(__tstate);
12173 if (PyErr_Occurred()) SWIG_fail;
12174 }
12175 Py_INCREF(Py_None); resultobj = Py_None;
12176 {
12177 if (temp2)
12178 delete arg2;
12179 }
12180 return resultobj;
12181 fail:
12182 {
12183 if (temp2)
12184 delete arg2;
12185 }
12186 return NULL;
12187 }
12188
12189
12190 static PyObject *_wrap_FileDialog_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
12191 PyObject *resultobj;
12192 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12193 wxString *arg2 = 0 ;
12194 bool temp2 = false ;
12195 PyObject * obj0 = 0 ;
12196 PyObject * obj1 = 0 ;
12197 char *kwnames[] = {
12198 (char *) "self",(char *) "path", NULL
12199 };
12200
12201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
12202 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12203 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12204 {
12205 arg2 = wxString_in_helper(obj1);
12206 if (arg2 == NULL) SWIG_fail;
12207 temp2 = true;
12208 }
12209 {
12210 PyThreadState* __tstate = wxPyBeginAllowThreads();
12211 (arg1)->SetPath((wxString const &)*arg2);
12212
12213 wxPyEndAllowThreads(__tstate);
12214 if (PyErr_Occurred()) SWIG_fail;
12215 }
12216 Py_INCREF(Py_None); resultobj = Py_None;
12217 {
12218 if (temp2)
12219 delete arg2;
12220 }
12221 return resultobj;
12222 fail:
12223 {
12224 if (temp2)
12225 delete arg2;
12226 }
12227 return NULL;
12228 }
12229
12230
12231 static PyObject *_wrap_FileDialog_SetDirectory(PyObject *, PyObject *args, PyObject *kwargs) {
12232 PyObject *resultobj;
12233 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12234 wxString *arg2 = 0 ;
12235 bool temp2 = false ;
12236 PyObject * obj0 = 0 ;
12237 PyObject * obj1 = 0 ;
12238 char *kwnames[] = {
12239 (char *) "self",(char *) "dir", NULL
12240 };
12241
12242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail;
12243 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12244 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12245 {
12246 arg2 = wxString_in_helper(obj1);
12247 if (arg2 == NULL) SWIG_fail;
12248 temp2 = true;
12249 }
12250 {
12251 PyThreadState* __tstate = wxPyBeginAllowThreads();
12252 (arg1)->SetDirectory((wxString const &)*arg2);
12253
12254 wxPyEndAllowThreads(__tstate);
12255 if (PyErr_Occurred()) SWIG_fail;
12256 }
12257 Py_INCREF(Py_None); resultobj = Py_None;
12258 {
12259 if (temp2)
12260 delete arg2;
12261 }
12262 return resultobj;
12263 fail:
12264 {
12265 if (temp2)
12266 delete arg2;
12267 }
12268 return NULL;
12269 }
12270
12271
12272 static PyObject *_wrap_FileDialog_SetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
12273 PyObject *resultobj;
12274 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12275 wxString *arg2 = 0 ;
12276 bool temp2 = false ;
12277 PyObject * obj0 = 0 ;
12278 PyObject * obj1 = 0 ;
12279 char *kwnames[] = {
12280 (char *) "self",(char *) "name", NULL
12281 };
12282
12283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail;
12284 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12285 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12286 {
12287 arg2 = wxString_in_helper(obj1);
12288 if (arg2 == NULL) SWIG_fail;
12289 temp2 = true;
12290 }
12291 {
12292 PyThreadState* __tstate = wxPyBeginAllowThreads();
12293 (arg1)->SetFilename((wxString const &)*arg2);
12294
12295 wxPyEndAllowThreads(__tstate);
12296 if (PyErr_Occurred()) SWIG_fail;
12297 }
12298 Py_INCREF(Py_None); resultobj = Py_None;
12299 {
12300 if (temp2)
12301 delete arg2;
12302 }
12303 return resultobj;
12304 fail:
12305 {
12306 if (temp2)
12307 delete arg2;
12308 }
12309 return NULL;
12310 }
12311
12312
12313 static PyObject *_wrap_FileDialog_SetWildcard(PyObject *, PyObject *args, PyObject *kwargs) {
12314 PyObject *resultobj;
12315 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12316 wxString *arg2 = 0 ;
12317 bool temp2 = false ;
12318 PyObject * obj0 = 0 ;
12319 PyObject * obj1 = 0 ;
12320 char *kwnames[] = {
12321 (char *) "self",(char *) "wildCard", NULL
12322 };
12323
12324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail;
12325 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12326 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12327 {
12328 arg2 = wxString_in_helper(obj1);
12329 if (arg2 == NULL) SWIG_fail;
12330 temp2 = true;
12331 }
12332 {
12333 PyThreadState* __tstate = wxPyBeginAllowThreads();
12334 (arg1)->SetWildcard((wxString const &)*arg2);
12335
12336 wxPyEndAllowThreads(__tstate);
12337 if (PyErr_Occurred()) SWIG_fail;
12338 }
12339 Py_INCREF(Py_None); resultobj = Py_None;
12340 {
12341 if (temp2)
12342 delete arg2;
12343 }
12344 return resultobj;
12345 fail:
12346 {
12347 if (temp2)
12348 delete arg2;
12349 }
12350 return NULL;
12351 }
12352
12353
12354 static PyObject *_wrap_FileDialog_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
12355 PyObject *resultobj;
12356 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12357 long arg2 ;
12358 PyObject * obj0 = 0 ;
12359 PyObject * obj1 = 0 ;
12360 char *kwnames[] = {
12361 (char *) "self",(char *) "style", NULL
12362 };
12363
12364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetStyle",kwnames,&obj0,&obj1)) goto fail;
12365 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12366 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12367 arg2 = (long)SWIG_As_long(obj1);
12368 if (PyErr_Occurred()) SWIG_fail;
12369 {
12370 PyThreadState* __tstate = wxPyBeginAllowThreads();
12371 (arg1)->SetStyle(arg2);
12372
12373 wxPyEndAllowThreads(__tstate);
12374 if (PyErr_Occurred()) SWIG_fail;
12375 }
12376 Py_INCREF(Py_None); resultobj = Py_None;
12377 return resultobj;
12378 fail:
12379 return NULL;
12380 }
12381
12382
12383 static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
12384 PyObject *resultobj;
12385 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12386 int arg2 ;
12387 PyObject * obj0 = 0 ;
12388 PyObject * obj1 = 0 ;
12389 char *kwnames[] = {
12390 (char *) "self",(char *) "filterIndex", NULL
12391 };
12392
12393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
12394 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12395 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12396 arg2 = (int)SWIG_As_int(obj1);
12397 if (PyErr_Occurred()) SWIG_fail;
12398 {
12399 PyThreadState* __tstate = wxPyBeginAllowThreads();
12400 (arg1)->SetFilterIndex(arg2);
12401
12402 wxPyEndAllowThreads(__tstate);
12403 if (PyErr_Occurred()) SWIG_fail;
12404 }
12405 Py_INCREF(Py_None); resultobj = Py_None;
12406 return resultobj;
12407 fail:
12408 return NULL;
12409 }
12410
12411
12412 static PyObject *_wrap_FileDialog_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
12413 PyObject *resultobj;
12414 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12415 wxString result;
12416 PyObject * obj0 = 0 ;
12417 char *kwnames[] = {
12418 (char *) "self", NULL
12419 };
12420
12421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail;
12422 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12423 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12424 {
12425 PyThreadState* __tstate = wxPyBeginAllowThreads();
12426 result = ((wxFileDialog const *)arg1)->GetMessage();
12427
12428 wxPyEndAllowThreads(__tstate);
12429 if (PyErr_Occurred()) SWIG_fail;
12430 }
12431 {
12432 #if wxUSE_UNICODE
12433 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12434 #else
12435 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12436 #endif
12437 }
12438 return resultobj;
12439 fail:
12440 return NULL;
12441 }
12442
12443
12444 static PyObject *_wrap_FileDialog_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
12445 PyObject *resultobj;
12446 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12447 wxString result;
12448 PyObject * obj0 = 0 ;
12449 char *kwnames[] = {
12450 (char *) "self", NULL
12451 };
12452
12453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail;
12454 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12455 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12456 {
12457 PyThreadState* __tstate = wxPyBeginAllowThreads();
12458 result = ((wxFileDialog const *)arg1)->GetPath();
12459
12460 wxPyEndAllowThreads(__tstate);
12461 if (PyErr_Occurred()) SWIG_fail;
12462 }
12463 {
12464 #if wxUSE_UNICODE
12465 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12466 #else
12467 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12468 #endif
12469 }
12470 return resultobj;
12471 fail:
12472 return NULL;
12473 }
12474
12475
12476 static PyObject *_wrap_FileDialog_GetDirectory(PyObject *, PyObject *args, PyObject *kwargs) {
12477 PyObject *resultobj;
12478 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12479 wxString result;
12480 PyObject * obj0 = 0 ;
12481 char *kwnames[] = {
12482 (char *) "self", NULL
12483 };
12484
12485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail;
12486 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12487 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12488 {
12489 PyThreadState* __tstate = wxPyBeginAllowThreads();
12490 result = ((wxFileDialog const *)arg1)->GetDirectory();
12491
12492 wxPyEndAllowThreads(__tstate);
12493 if (PyErr_Occurred()) SWIG_fail;
12494 }
12495 {
12496 #if wxUSE_UNICODE
12497 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12498 #else
12499 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12500 #endif
12501 }
12502 return resultobj;
12503 fail:
12504 return NULL;
12505 }
12506
12507
12508 static PyObject *_wrap_FileDialog_GetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
12509 PyObject *resultobj;
12510 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12511 wxString result;
12512 PyObject * obj0 = 0 ;
12513 char *kwnames[] = {
12514 (char *) "self", NULL
12515 };
12516
12517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail;
12518 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12519 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12520 {
12521 PyThreadState* __tstate = wxPyBeginAllowThreads();
12522 result = ((wxFileDialog const *)arg1)->GetFilename();
12523
12524 wxPyEndAllowThreads(__tstate);
12525 if (PyErr_Occurred()) SWIG_fail;
12526 }
12527 {
12528 #if wxUSE_UNICODE
12529 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12530 #else
12531 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12532 #endif
12533 }
12534 return resultobj;
12535 fail:
12536 return NULL;
12537 }
12538
12539
12540 static PyObject *_wrap_FileDialog_GetWildcard(PyObject *, PyObject *args, PyObject *kwargs) {
12541 PyObject *resultobj;
12542 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12543 wxString result;
12544 PyObject * obj0 = 0 ;
12545 char *kwnames[] = {
12546 (char *) "self", NULL
12547 };
12548
12549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail;
12550 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12551 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12552 {
12553 PyThreadState* __tstate = wxPyBeginAllowThreads();
12554 result = ((wxFileDialog const *)arg1)->GetWildcard();
12555
12556 wxPyEndAllowThreads(__tstate);
12557 if (PyErr_Occurred()) SWIG_fail;
12558 }
12559 {
12560 #if wxUSE_UNICODE
12561 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12562 #else
12563 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12564 #endif
12565 }
12566 return resultobj;
12567 fail:
12568 return NULL;
12569 }
12570
12571
12572 static PyObject *_wrap_FileDialog_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
12573 PyObject *resultobj;
12574 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12575 long result;
12576 PyObject * obj0 = 0 ;
12577 char *kwnames[] = {
12578 (char *) "self", NULL
12579 };
12580
12581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail;
12582 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12583 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12584 {
12585 PyThreadState* __tstate = wxPyBeginAllowThreads();
12586 result = (long)((wxFileDialog const *)arg1)->GetStyle();
12587
12588 wxPyEndAllowThreads(__tstate);
12589 if (PyErr_Occurred()) SWIG_fail;
12590 }
12591 resultobj = SWIG_From_long((long)result);
12592 return resultobj;
12593 fail:
12594 return NULL;
12595 }
12596
12597
12598 static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
12599 PyObject *resultobj;
12600 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12601 int result;
12602 PyObject * obj0 = 0 ;
12603 char *kwnames[] = {
12604 (char *) "self", NULL
12605 };
12606
12607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail;
12608 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12609 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12610 {
12611 PyThreadState* __tstate = wxPyBeginAllowThreads();
12612 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
12613
12614 wxPyEndAllowThreads(__tstate);
12615 if (PyErr_Occurred()) SWIG_fail;
12616 }
12617 resultobj = SWIG_From_int((int)result);
12618 return resultobj;
12619 fail:
12620 return NULL;
12621 }
12622
12623
12624 static PyObject *_wrap_FileDialog_GetFilenames(PyObject *, PyObject *args, PyObject *kwargs) {
12625 PyObject *resultobj;
12626 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12627 PyObject *result;
12628 PyObject * obj0 = 0 ;
12629 char *kwnames[] = {
12630 (char *) "self", NULL
12631 };
12632
12633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail;
12634 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12635 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12636 {
12637 PyThreadState* __tstate = wxPyBeginAllowThreads();
12638 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
12639
12640 wxPyEndAllowThreads(__tstate);
12641 if (PyErr_Occurred()) SWIG_fail;
12642 }
12643 resultobj = result;
12644 return resultobj;
12645 fail:
12646 return NULL;
12647 }
12648
12649
12650 static PyObject *_wrap_FileDialog_GetPaths(PyObject *, PyObject *args, PyObject *kwargs) {
12651 PyObject *resultobj;
12652 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12653 PyObject *result;
12654 PyObject * obj0 = 0 ;
12655 char *kwnames[] = {
12656 (char *) "self", NULL
12657 };
12658
12659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail;
12660 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12661 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12662 {
12663 PyThreadState* __tstate = wxPyBeginAllowThreads();
12664 result = (PyObject *)wxFileDialog_GetPaths(arg1);
12665
12666 wxPyEndAllowThreads(__tstate);
12667 if (PyErr_Occurred()) SWIG_fail;
12668 }
12669 resultobj = result;
12670 return resultobj;
12671 fail:
12672 return NULL;
12673 }
12674
12675
12676 static PyObject * FileDialog_swigregister(PyObject *, PyObject *args) {
12677 PyObject *obj;
12678 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12679 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj);
12680 Py_INCREF(obj);
12681 return Py_BuildValue((char *)"");
12682 }
12683 static PyObject *_wrap_new_MultiChoiceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
12684 PyObject *resultobj;
12685 wxWindow *arg1 = (wxWindow *) 0 ;
12686 wxString *arg2 = 0 ;
12687 wxString *arg3 = 0 ;
12688 int arg4 = (int) 0 ;
12689 wxString *arg5 = (wxString *) NULL ;
12690 long arg6 = (long) wxCHOICEDLG_STYLE ;
12691 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12692 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12693 wxMultiChoiceDialog *result;
12694 bool temp2 = false ;
12695 bool temp3 = false ;
12696 wxPoint temp6 ;
12697 PyObject * obj0 = 0 ;
12698 PyObject * obj1 = 0 ;
12699 PyObject * obj2 = 0 ;
12700 PyObject * obj3 = 0 ;
12701 PyObject * obj4 = 0 ;
12702 PyObject * obj5 = 0 ;
12703 char *kwnames[] = {
12704 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12705 };
12706
12707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12708 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12709 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12710 {
12711 arg2 = wxString_in_helper(obj1);
12712 if (arg2 == NULL) SWIG_fail;
12713 temp2 = true;
12714 }
12715 {
12716 arg3 = wxString_in_helper(obj2);
12717 if (arg3 == NULL) SWIG_fail;
12718 temp3 = true;
12719 }
12720 if (obj3) {
12721 {
12722 arg4 = PyList_Size(obj3);
12723 arg5 = wxString_LIST_helper(obj3);
12724 if (arg5 == NULL) SWIG_fail;
12725 }
12726 }
12727 if (obj4) {
12728 arg6 = (long)SWIG_As_long(obj4);
12729 if (PyErr_Occurred()) SWIG_fail;
12730 }
12731 if (obj5) {
12732 {
12733 arg7 = &temp6;
12734 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
12735 }
12736 }
12737 {
12738 if (!wxPyCheckForApp()) SWIG_fail;
12739 PyThreadState* __tstate = wxPyBeginAllowThreads();
12740 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
12741
12742 wxPyEndAllowThreads(__tstate);
12743 if (PyErr_Occurred()) SWIG_fail;
12744 }
12745 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMultiChoiceDialog, 1);
12746 {
12747 if (temp2)
12748 delete arg2;
12749 }
12750 {
12751 if (temp3)
12752 delete arg3;
12753 }
12754 {
12755 if (arg5) delete [] arg5;
12756 }
12757 return resultobj;
12758 fail:
12759 {
12760 if (temp2)
12761 delete arg2;
12762 }
12763 {
12764 if (temp3)
12765 delete arg3;
12766 }
12767 {
12768 if (arg5) delete [] arg5;
12769 }
12770 return NULL;
12771 }
12772
12773
12774 static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
12775 PyObject *resultobj;
12776 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
12777 wxArrayInt *arg2 = 0 ;
12778 bool temp2 = false ;
12779 PyObject * obj0 = 0 ;
12780 PyObject * obj1 = 0 ;
12781 char *kwnames[] = {
12782 (char *) "self",(char *) "selections", NULL
12783 };
12784
12785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail;
12786 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog,
12787 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12788 {
12789 if (! PySequence_Check(obj1)) {
12790 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
12791 SWIG_fail;
12792 }
12793 arg2 = new wxArrayInt;
12794 temp2 = true;
12795 int i, len=PySequence_Length(obj1);
12796 for (i=0; i<len; i++) {
12797 PyObject* item = PySequence_GetItem(obj1, i);
12798 PyObject* number = PyNumber_Int(item);
12799 arg2->Add(PyInt_AS_LONG(number));
12800 Py_DECREF(item);
12801 Py_DECREF(number);
12802 }
12803 }
12804 {
12805 PyThreadState* __tstate = wxPyBeginAllowThreads();
12806 (arg1)->SetSelections((wxArrayInt const &)*arg2);
12807
12808 wxPyEndAllowThreads(__tstate);
12809 if (PyErr_Occurred()) SWIG_fail;
12810 }
12811 Py_INCREF(Py_None); resultobj = Py_None;
12812 {
12813 if (temp2) delete arg2;
12814 }
12815 return resultobj;
12816 fail:
12817 {
12818 if (temp2) delete arg2;
12819 }
12820 return NULL;
12821 }
12822
12823
12824 static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
12825 PyObject *resultobj;
12826 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
12827 PyObject *result;
12828 PyObject * obj0 = 0 ;
12829 char *kwnames[] = {
12830 (char *) "self", NULL
12831 };
12832
12833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail;
12834 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog,
12835 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12836 {
12837 PyThreadState* __tstate = wxPyBeginAllowThreads();
12838 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
12839
12840 wxPyEndAllowThreads(__tstate);
12841 if (PyErr_Occurred()) SWIG_fail;
12842 }
12843 resultobj = result;
12844 return resultobj;
12845 fail:
12846 return NULL;
12847 }
12848
12849
12850 static PyObject * MultiChoiceDialog_swigregister(PyObject *, PyObject *args) {
12851 PyObject *obj;
12852 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12853 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj);
12854 Py_INCREF(obj);
12855 return Py_BuildValue((char *)"");
12856 }
12857 static PyObject *_wrap_new_SingleChoiceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
12858 PyObject *resultobj;
12859 wxWindow *arg1 = (wxWindow *) 0 ;
12860 wxString *arg2 = 0 ;
12861 wxString *arg3 = 0 ;
12862 int arg4 ;
12863 wxString *arg5 = (wxString *) 0 ;
12864 long arg6 = (long) wxCHOICEDLG_STYLE ;
12865 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12866 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12867 wxSingleChoiceDialog *result;
12868 bool temp2 = false ;
12869 bool temp3 = false ;
12870 wxPoint temp6 ;
12871 PyObject * obj0 = 0 ;
12872 PyObject * obj1 = 0 ;
12873 PyObject * obj2 = 0 ;
12874 PyObject * obj3 = 0 ;
12875 PyObject * obj4 = 0 ;
12876 PyObject * obj5 = 0 ;
12877 char *kwnames[] = {
12878 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12879 };
12880
12881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12882 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12883 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12884 {
12885 arg2 = wxString_in_helper(obj1);
12886 if (arg2 == NULL) SWIG_fail;
12887 temp2 = true;
12888 }
12889 {
12890 arg3 = wxString_in_helper(obj2);
12891 if (arg3 == NULL) SWIG_fail;
12892 temp3 = true;
12893 }
12894 {
12895 arg4 = PyList_Size(obj3);
12896 arg5 = wxString_LIST_helper(obj3);
12897 if (arg5 == NULL) SWIG_fail;
12898 }
12899 if (obj4) {
12900 arg6 = (long)SWIG_As_long(obj4);
12901 if (PyErr_Occurred()) SWIG_fail;
12902 }
12903 if (obj5) {
12904 {
12905 arg7 = &temp6;
12906 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
12907 }
12908 }
12909 {
12910 if (!wxPyCheckForApp()) SWIG_fail;
12911 PyThreadState* __tstate = wxPyBeginAllowThreads();
12912 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
12913
12914 wxPyEndAllowThreads(__tstate);
12915 if (PyErr_Occurred()) SWIG_fail;
12916 }
12917 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleChoiceDialog, 1);
12918 {
12919 if (temp2)
12920 delete arg2;
12921 }
12922 {
12923 if (temp3)
12924 delete arg3;
12925 }
12926 {
12927 if (arg5) delete [] arg5;
12928 }
12929 return resultobj;
12930 fail:
12931 {
12932 if (temp2)
12933 delete arg2;
12934 }
12935 {
12936 if (temp3)
12937 delete arg3;
12938 }
12939 {
12940 if (arg5) delete [] arg5;
12941 }
12942 return NULL;
12943 }
12944
12945
12946 static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
12947 PyObject *resultobj;
12948 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12949 int result;
12950 PyObject * obj0 = 0 ;
12951 char *kwnames[] = {
12952 (char *) "self", NULL
12953 };
12954
12955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail;
12956 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
12957 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12958 {
12959 PyThreadState* __tstate = wxPyBeginAllowThreads();
12960 result = (int)(arg1)->GetSelection();
12961
12962 wxPyEndAllowThreads(__tstate);
12963 if (PyErr_Occurred()) SWIG_fail;
12964 }
12965 resultobj = SWIG_From_int((int)result);
12966 return resultobj;
12967 fail:
12968 return NULL;
12969 }
12970
12971
12972 static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
12973 PyObject *resultobj;
12974 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12975 wxString result;
12976 PyObject * obj0 = 0 ;
12977 char *kwnames[] = {
12978 (char *) "self", NULL
12979 };
12980
12981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail;
12982 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
12983 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12984 {
12985 PyThreadState* __tstate = wxPyBeginAllowThreads();
12986 result = (arg1)->GetStringSelection();
12987
12988 wxPyEndAllowThreads(__tstate);
12989 if (PyErr_Occurred()) SWIG_fail;
12990 }
12991 {
12992 #if wxUSE_UNICODE
12993 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12994 #else
12995 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12996 #endif
12997 }
12998 return resultobj;
12999 fail:
13000 return NULL;
13001 }
13002
13003
13004 static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13005 PyObject *resultobj;
13006 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
13007 int arg2 ;
13008 PyObject * obj0 = 0 ;
13009 PyObject * obj1 = 0 ;
13010 char *kwnames[] = {
13011 (char *) "self",(char *) "sel", NULL
13012 };
13013
13014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) goto fail;
13015 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
13016 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13017 arg2 = (int)SWIG_As_int(obj1);
13018 if (PyErr_Occurred()) SWIG_fail;
13019 {
13020 PyThreadState* __tstate = wxPyBeginAllowThreads();
13021 (arg1)->SetSelection(arg2);
13022
13023 wxPyEndAllowThreads(__tstate);
13024 if (PyErr_Occurred()) SWIG_fail;
13025 }
13026 Py_INCREF(Py_None); resultobj = Py_None;
13027 return resultobj;
13028 fail:
13029 return NULL;
13030 }
13031
13032
13033 static PyObject * SingleChoiceDialog_swigregister(PyObject *, PyObject *args) {
13034 PyObject *obj;
13035 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13036 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj);
13037 Py_INCREF(obj);
13038 return Py_BuildValue((char *)"");
13039 }
13040 static PyObject *_wrap_new_TextEntryDialog(PyObject *, PyObject *args, PyObject *kwargs) {
13041 PyObject *resultobj;
13042 wxWindow *arg1 = (wxWindow *) 0 ;
13043 wxString *arg2 = 0 ;
13044 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
13045 wxString *arg3 = (wxString *) &arg3_defvalue ;
13046 wxString const &arg4_defvalue = wxPyEmptyString ;
13047 wxString *arg4 = (wxString *) &arg4_defvalue ;
13048 long arg5 = (long) wxOK|wxCANCEL|wxCENTRE ;
13049 wxPoint const &arg6_defvalue = wxDefaultPosition ;
13050 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
13051 wxTextEntryDialog *result;
13052 bool temp2 = false ;
13053 bool temp3 = false ;
13054 bool temp4 = false ;
13055 wxPoint temp6 ;
13056 PyObject * obj0 = 0 ;
13057 PyObject * obj1 = 0 ;
13058 PyObject * obj2 = 0 ;
13059 PyObject * obj3 = 0 ;
13060 PyObject * obj4 = 0 ;
13061 PyObject * obj5 = 0 ;
13062 char *kwnames[] = {
13063 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
13064 };
13065
13066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
13067 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13068 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13069 {
13070 arg2 = wxString_in_helper(obj1);
13071 if (arg2 == NULL) SWIG_fail;
13072 temp2 = true;
13073 }
13074 if (obj2) {
13075 {
13076 arg3 = wxString_in_helper(obj2);
13077 if (arg3 == NULL) SWIG_fail;
13078 temp3 = true;
13079 }
13080 }
13081 if (obj3) {
13082 {
13083 arg4 = wxString_in_helper(obj3);
13084 if (arg4 == NULL) SWIG_fail;
13085 temp4 = true;
13086 }
13087 }
13088 if (obj4) {
13089 arg5 = (long)SWIG_As_long(obj4);
13090 if (PyErr_Occurred()) SWIG_fail;
13091 }
13092 if (obj5) {
13093 {
13094 arg6 = &temp6;
13095 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
13096 }
13097 }
13098 {
13099 if (!wxPyCheckForApp()) SWIG_fail;
13100 PyThreadState* __tstate = wxPyBeginAllowThreads();
13101 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
13102
13103 wxPyEndAllowThreads(__tstate);
13104 if (PyErr_Occurred()) SWIG_fail;
13105 }
13106 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextEntryDialog, 1);
13107 {
13108 if (temp2)
13109 delete arg2;
13110 }
13111 {
13112 if (temp3)
13113 delete arg3;
13114 }
13115 {
13116 if (temp4)
13117 delete arg4;
13118 }
13119 return resultobj;
13120 fail:
13121 {
13122 if (temp2)
13123 delete arg2;
13124 }
13125 {
13126 if (temp3)
13127 delete arg3;
13128 }
13129 {
13130 if (temp4)
13131 delete arg4;
13132 }
13133 return NULL;
13134 }
13135
13136
13137 static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
13138 PyObject *resultobj;
13139 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
13140 wxString result;
13141 PyObject * obj0 = 0 ;
13142 char *kwnames[] = {
13143 (char *) "self", NULL
13144 };
13145
13146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail;
13147 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog,
13148 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13149 {
13150 PyThreadState* __tstate = wxPyBeginAllowThreads();
13151 result = (arg1)->GetValue();
13152
13153 wxPyEndAllowThreads(__tstate);
13154 if (PyErr_Occurred()) SWIG_fail;
13155 }
13156 {
13157 #if wxUSE_UNICODE
13158 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13159 #else
13160 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13161 #endif
13162 }
13163 return resultobj;
13164 fail:
13165 return NULL;
13166 }
13167
13168
13169 static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
13170 PyObject *resultobj;
13171 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
13172 wxString *arg2 = 0 ;
13173 bool temp2 = false ;
13174 PyObject * obj0 = 0 ;
13175 PyObject * obj1 = 0 ;
13176 char *kwnames[] = {
13177 (char *) "self",(char *) "value", NULL
13178 };
13179
13180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail;
13181 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog,
13182 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13183 {
13184 arg2 = wxString_in_helper(obj1);
13185 if (arg2 == NULL) SWIG_fail;
13186 temp2 = true;
13187 }
13188 {
13189 PyThreadState* __tstate = wxPyBeginAllowThreads();
13190 (arg1)->SetValue((wxString const &)*arg2);
13191
13192 wxPyEndAllowThreads(__tstate);
13193 if (PyErr_Occurred()) SWIG_fail;
13194 }
13195 Py_INCREF(Py_None); resultobj = Py_None;
13196 {
13197 if (temp2)
13198 delete arg2;
13199 }
13200 return resultobj;
13201 fail:
13202 {
13203 if (temp2)
13204 delete arg2;
13205 }
13206 return NULL;
13207 }
13208
13209
13210 static PyObject * TextEntryDialog_swigregister(PyObject *, PyObject *args) {
13211 PyObject *obj;
13212 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13213 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj);
13214 Py_INCREF(obj);
13215 return Py_BuildValue((char *)"");
13216 }
13217 static PyObject *_wrap_new_FontData(PyObject *, PyObject *args, PyObject *kwargs) {
13218 PyObject *resultobj;
13219 wxFontData *result;
13220 char *kwnames[] = {
13221 NULL
13222 };
13223
13224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail;
13225 {
13226 PyThreadState* __tstate = wxPyBeginAllowThreads();
13227 result = (wxFontData *)new wxFontData();
13228
13229 wxPyEndAllowThreads(__tstate);
13230 if (PyErr_Occurred()) SWIG_fail;
13231 }
13232 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 1);
13233 return resultobj;
13234 fail:
13235 return NULL;
13236 }
13237
13238
13239 static PyObject *_wrap_delete_FontData(PyObject *, PyObject *args, PyObject *kwargs) {
13240 PyObject *resultobj;
13241 wxFontData *arg1 = (wxFontData *) 0 ;
13242 PyObject * obj0 = 0 ;
13243 char *kwnames[] = {
13244 (char *) "self", NULL
13245 };
13246
13247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail;
13248 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13249 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13250 {
13251 PyThreadState* __tstate = wxPyBeginAllowThreads();
13252 delete arg1;
13253
13254 wxPyEndAllowThreads(__tstate);
13255 if (PyErr_Occurred()) SWIG_fail;
13256 }
13257 Py_INCREF(Py_None); resultobj = Py_None;
13258 return resultobj;
13259 fail:
13260 return NULL;
13261 }
13262
13263
13264 static PyObject *_wrap_FontData_EnableEffects(PyObject *, PyObject *args, PyObject *kwargs) {
13265 PyObject *resultobj;
13266 wxFontData *arg1 = (wxFontData *) 0 ;
13267 bool arg2 ;
13268 PyObject * obj0 = 0 ;
13269 PyObject * obj1 = 0 ;
13270 char *kwnames[] = {
13271 (char *) "self",(char *) "enable", NULL
13272 };
13273
13274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail;
13275 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13276 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13277 arg2 = (bool)SWIG_As_bool(obj1);
13278 if (PyErr_Occurred()) SWIG_fail;
13279 {
13280 PyThreadState* __tstate = wxPyBeginAllowThreads();
13281 (arg1)->EnableEffects(arg2);
13282
13283 wxPyEndAllowThreads(__tstate);
13284 if (PyErr_Occurred()) SWIG_fail;
13285 }
13286 Py_INCREF(Py_None); resultobj = Py_None;
13287 return resultobj;
13288 fail:
13289 return NULL;
13290 }
13291
13292
13293 static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *, PyObject *args, PyObject *kwargs) {
13294 PyObject *resultobj;
13295 wxFontData *arg1 = (wxFontData *) 0 ;
13296 bool result;
13297 PyObject * obj0 = 0 ;
13298 char *kwnames[] = {
13299 (char *) "self", NULL
13300 };
13301
13302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail;
13303 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13304 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13305 {
13306 PyThreadState* __tstate = wxPyBeginAllowThreads();
13307 result = (bool)(arg1)->GetAllowSymbols();
13308
13309 wxPyEndAllowThreads(__tstate);
13310 if (PyErr_Occurred()) SWIG_fail;
13311 }
13312 {
13313 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13314 }
13315 return resultobj;
13316 fail:
13317 return NULL;
13318 }
13319
13320
13321 static PyObject *_wrap_FontData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
13322 PyObject *resultobj;
13323 wxFontData *arg1 = (wxFontData *) 0 ;
13324 wxColour result;
13325 PyObject * obj0 = 0 ;
13326 char *kwnames[] = {
13327 (char *) "self", NULL
13328 };
13329
13330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail;
13331 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13332 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13333 {
13334 PyThreadState* __tstate = wxPyBeginAllowThreads();
13335 result = (arg1)->GetColour();
13336
13337 wxPyEndAllowThreads(__tstate);
13338 if (PyErr_Occurred()) SWIG_fail;
13339 }
13340 {
13341 wxColour * resultptr;
13342 resultptr = new wxColour((wxColour &) result);
13343 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
13344 }
13345 return resultobj;
13346 fail:
13347 return NULL;
13348 }
13349
13350
13351 static PyObject *_wrap_FontData_GetChosenFont(PyObject *, PyObject *args, PyObject *kwargs) {
13352 PyObject *resultobj;
13353 wxFontData *arg1 = (wxFontData *) 0 ;
13354 wxFont result;
13355 PyObject * obj0 = 0 ;
13356 char *kwnames[] = {
13357 (char *) "self", NULL
13358 };
13359
13360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail;
13361 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13362 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13363 {
13364 PyThreadState* __tstate = wxPyBeginAllowThreads();
13365 result = (arg1)->GetChosenFont();
13366
13367 wxPyEndAllowThreads(__tstate);
13368 if (PyErr_Occurred()) SWIG_fail;
13369 }
13370 {
13371 wxFont * resultptr;
13372 resultptr = new wxFont((wxFont &) result);
13373 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
13374 }
13375 return resultobj;
13376 fail:
13377 return NULL;
13378 }
13379
13380
13381 static PyObject *_wrap_FontData_GetEnableEffects(PyObject *, PyObject *args, PyObject *kwargs) {
13382 PyObject *resultobj;
13383 wxFontData *arg1 = (wxFontData *) 0 ;
13384 bool result;
13385 PyObject * obj0 = 0 ;
13386 char *kwnames[] = {
13387 (char *) "self", NULL
13388 };
13389
13390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail;
13391 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13392 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13393 {
13394 PyThreadState* __tstate = wxPyBeginAllowThreads();
13395 result = (bool)(arg1)->GetEnableEffects();
13396
13397 wxPyEndAllowThreads(__tstate);
13398 if (PyErr_Occurred()) SWIG_fail;
13399 }
13400 {
13401 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13402 }
13403 return resultobj;
13404 fail:
13405 return NULL;
13406 }
13407
13408
13409 static PyObject *_wrap_FontData_GetInitialFont(PyObject *, PyObject *args, PyObject *kwargs) {
13410 PyObject *resultobj;
13411 wxFontData *arg1 = (wxFontData *) 0 ;
13412 wxFont result;
13413 PyObject * obj0 = 0 ;
13414 char *kwnames[] = {
13415 (char *) "self", NULL
13416 };
13417
13418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail;
13419 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13420 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13421 {
13422 PyThreadState* __tstate = wxPyBeginAllowThreads();
13423 result = (arg1)->GetInitialFont();
13424
13425 wxPyEndAllowThreads(__tstate);
13426 if (PyErr_Occurred()) SWIG_fail;
13427 }
13428 {
13429 wxFont * resultptr;
13430 resultptr = new wxFont((wxFont &) result);
13431 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
13432 }
13433 return resultobj;
13434 fail:
13435 return NULL;
13436 }
13437
13438
13439 static PyObject *_wrap_FontData_GetShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
13440 PyObject *resultobj;
13441 wxFontData *arg1 = (wxFontData *) 0 ;
13442 bool result;
13443 PyObject * obj0 = 0 ;
13444 char *kwnames[] = {
13445 (char *) "self", NULL
13446 };
13447
13448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail;
13449 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13450 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13451 {
13452 PyThreadState* __tstate = wxPyBeginAllowThreads();
13453 result = (bool)(arg1)->GetShowHelp();
13454
13455 wxPyEndAllowThreads(__tstate);
13456 if (PyErr_Occurred()) SWIG_fail;
13457 }
13458 {
13459 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13460 }
13461 return resultobj;
13462 fail:
13463 return NULL;
13464 }
13465
13466
13467 static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *, PyObject *args, PyObject *kwargs) {
13468 PyObject *resultobj;
13469 wxFontData *arg1 = (wxFontData *) 0 ;
13470 bool arg2 ;
13471 PyObject * obj0 = 0 ;
13472 PyObject * obj1 = 0 ;
13473 char *kwnames[] = {
13474 (char *) "self",(char *) "allowSymbols", NULL
13475 };
13476
13477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail;
13478 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13479 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13480 arg2 = (bool)SWIG_As_bool(obj1);
13481 if (PyErr_Occurred()) SWIG_fail;
13482 {
13483 PyThreadState* __tstate = wxPyBeginAllowThreads();
13484 (arg1)->SetAllowSymbols(arg2);
13485
13486 wxPyEndAllowThreads(__tstate);
13487 if (PyErr_Occurred()) SWIG_fail;
13488 }
13489 Py_INCREF(Py_None); resultobj = Py_None;
13490 return resultobj;
13491 fail:
13492 return NULL;
13493 }
13494
13495
13496 static PyObject *_wrap_FontData_SetChosenFont(PyObject *, PyObject *args, PyObject *kwargs) {
13497 PyObject *resultobj;
13498 wxFontData *arg1 = (wxFontData *) 0 ;
13499 wxFont *arg2 = 0 ;
13500 PyObject * obj0 = 0 ;
13501 PyObject * obj1 = 0 ;
13502 char *kwnames[] = {
13503 (char *) "self",(char *) "font", NULL
13504 };
13505
13506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail;
13507 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13508 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13509 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
13510 SWIG_POINTER_EXCEPTION | 0)) == -1)
13511 SWIG_fail;
13512 if (arg2 == NULL) {
13513 PyErr_SetString(PyExc_TypeError,"null reference");
13514 SWIG_fail;
13515 }
13516 {
13517 PyThreadState* __tstate = wxPyBeginAllowThreads();
13518 (arg1)->SetChosenFont((wxFont const &)*arg2);
13519
13520 wxPyEndAllowThreads(__tstate);
13521 if (PyErr_Occurred()) SWIG_fail;
13522 }
13523 Py_INCREF(Py_None); resultobj = Py_None;
13524 return resultobj;
13525 fail:
13526 return NULL;
13527 }
13528
13529
13530 static PyObject *_wrap_FontData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
13531 PyObject *resultobj;
13532 wxFontData *arg1 = (wxFontData *) 0 ;
13533 wxColour *arg2 = 0 ;
13534 wxColour temp2 ;
13535 PyObject * obj0 = 0 ;
13536 PyObject * obj1 = 0 ;
13537 char *kwnames[] = {
13538 (char *) "self",(char *) "colour", NULL
13539 };
13540
13541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail;
13542 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13543 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13544 {
13545 arg2 = &temp2;
13546 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
13547 }
13548 {
13549 PyThreadState* __tstate = wxPyBeginAllowThreads();
13550 (arg1)->SetColour((wxColour const &)*arg2);
13551
13552 wxPyEndAllowThreads(__tstate);
13553 if (PyErr_Occurred()) SWIG_fail;
13554 }
13555 Py_INCREF(Py_None); resultobj = Py_None;
13556 return resultobj;
13557 fail:
13558 return NULL;
13559 }
13560
13561
13562 static PyObject *_wrap_FontData_SetInitialFont(PyObject *, PyObject *args, PyObject *kwargs) {
13563 PyObject *resultobj;
13564 wxFontData *arg1 = (wxFontData *) 0 ;
13565 wxFont *arg2 = 0 ;
13566 PyObject * obj0 = 0 ;
13567 PyObject * obj1 = 0 ;
13568 char *kwnames[] = {
13569 (char *) "self",(char *) "font", NULL
13570 };
13571
13572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail;
13573 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13574 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13575 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
13576 SWIG_POINTER_EXCEPTION | 0)) == -1)
13577 SWIG_fail;
13578 if (arg2 == NULL) {
13579 PyErr_SetString(PyExc_TypeError,"null reference");
13580 SWIG_fail;
13581 }
13582 {
13583 PyThreadState* __tstate = wxPyBeginAllowThreads();
13584 (arg1)->SetInitialFont((wxFont const &)*arg2);
13585
13586 wxPyEndAllowThreads(__tstate);
13587 if (PyErr_Occurred()) SWIG_fail;
13588 }
13589 Py_INCREF(Py_None); resultobj = Py_None;
13590 return resultobj;
13591 fail:
13592 return NULL;
13593 }
13594
13595
13596 static PyObject *_wrap_FontData_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
13597 PyObject *resultobj;
13598 wxFontData *arg1 = (wxFontData *) 0 ;
13599 int arg2 ;
13600 int arg3 ;
13601 PyObject * obj0 = 0 ;
13602 PyObject * obj1 = 0 ;
13603 PyObject * obj2 = 0 ;
13604 char *kwnames[] = {
13605 (char *) "self",(char *) "min",(char *) "max", NULL
13606 };
13607
13608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
13609 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13610 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13611 arg2 = (int)SWIG_As_int(obj1);
13612 if (PyErr_Occurred()) SWIG_fail;
13613 arg3 = (int)SWIG_As_int(obj2);
13614 if (PyErr_Occurred()) SWIG_fail;
13615 {
13616 PyThreadState* __tstate = wxPyBeginAllowThreads();
13617 (arg1)->SetRange(arg2,arg3);
13618
13619 wxPyEndAllowThreads(__tstate);
13620 if (PyErr_Occurred()) SWIG_fail;
13621 }
13622 Py_INCREF(Py_None); resultobj = Py_None;
13623 return resultobj;
13624 fail:
13625 return NULL;
13626 }
13627
13628
13629 static PyObject *_wrap_FontData_SetShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
13630 PyObject *resultobj;
13631 wxFontData *arg1 = (wxFontData *) 0 ;
13632 bool arg2 ;
13633 PyObject * obj0 = 0 ;
13634 PyObject * obj1 = 0 ;
13635 char *kwnames[] = {
13636 (char *) "self",(char *) "showHelp", NULL
13637 };
13638
13639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail;
13640 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13641 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13642 arg2 = (bool)SWIG_As_bool(obj1);
13643 if (PyErr_Occurred()) SWIG_fail;
13644 {
13645 PyThreadState* __tstate = wxPyBeginAllowThreads();
13646 (arg1)->SetShowHelp(arg2);
13647
13648 wxPyEndAllowThreads(__tstate);
13649 if (PyErr_Occurred()) SWIG_fail;
13650 }
13651 Py_INCREF(Py_None); resultobj = Py_None;
13652 return resultobj;
13653 fail:
13654 return NULL;
13655 }
13656
13657
13658 static PyObject * FontData_swigregister(PyObject *, PyObject *args) {
13659 PyObject *obj;
13660 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13661 SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj);
13662 Py_INCREF(obj);
13663 return Py_BuildValue((char *)"");
13664 }
13665 static PyObject *_wrap_new_FontDialog(PyObject *, PyObject *args, PyObject *kwargs) {
13666 PyObject *resultobj;
13667 wxWindow *arg1 = (wxWindow *) 0 ;
13668 wxFontData *arg2 = 0 ;
13669 wxFontDialog *result;
13670 PyObject * obj0 = 0 ;
13671 PyObject * obj1 = 0 ;
13672 char *kwnames[] = {
13673 (char *) "parent",(char *) "data", NULL
13674 };
13675
13676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail;
13677 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13678 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13679 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFontData,
13680 SWIG_POINTER_EXCEPTION | 0)) == -1)
13681 SWIG_fail;
13682 if (arg2 == NULL) {
13683 PyErr_SetString(PyExc_TypeError,"null reference");
13684 SWIG_fail;
13685 }
13686 {
13687 if (!wxPyCheckForApp()) SWIG_fail;
13688 PyThreadState* __tstate = wxPyBeginAllowThreads();
13689 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
13690
13691 wxPyEndAllowThreads(__tstate);
13692 if (PyErr_Occurred()) SWIG_fail;
13693 }
13694 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontDialog, 1);
13695 return resultobj;
13696 fail:
13697 return NULL;
13698 }
13699
13700
13701 static PyObject *_wrap_FontDialog_GetFontData(PyObject *, PyObject *args, PyObject *kwargs) {
13702 PyObject *resultobj;
13703 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
13704 wxFontData *result;
13705 PyObject * obj0 = 0 ;
13706 char *kwnames[] = {
13707 (char *) "self", NULL
13708 };
13709
13710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail;
13711 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontDialog,
13712 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13713 {
13714 PyThreadState* __tstate = wxPyBeginAllowThreads();
13715 {
13716 wxFontData &_result_ref = (arg1)->GetFontData();
13717 result = (wxFontData *) &_result_ref;
13718 }
13719
13720 wxPyEndAllowThreads(__tstate);
13721 if (PyErr_Occurred()) SWIG_fail;
13722 }
13723 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 0);
13724 return resultobj;
13725 fail:
13726 return NULL;
13727 }
13728
13729
13730 static PyObject * FontDialog_swigregister(PyObject *, PyObject *args) {
13731 PyObject *obj;
13732 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13733 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj);
13734 Py_INCREF(obj);
13735 return Py_BuildValue((char *)"");
13736 }
13737 static PyObject *_wrap_new_MessageDialog(PyObject *, PyObject *args, PyObject *kwargs) {
13738 PyObject *resultobj;
13739 wxWindow *arg1 = (wxWindow *) 0 ;
13740 wxString *arg2 = 0 ;
13741 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
13742 wxString *arg3 = (wxString *) &arg3_defvalue ;
13743 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
13744 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13745 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13746 wxMessageDialog *result;
13747 bool temp2 = false ;
13748 bool temp3 = false ;
13749 wxPoint temp5 ;
13750 PyObject * obj0 = 0 ;
13751 PyObject * obj1 = 0 ;
13752 PyObject * obj2 = 0 ;
13753 PyObject * obj3 = 0 ;
13754 PyObject * obj4 = 0 ;
13755 char *kwnames[] = {
13756 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
13757 };
13758
13759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13760 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13761 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13762 {
13763 arg2 = wxString_in_helper(obj1);
13764 if (arg2 == NULL) SWIG_fail;
13765 temp2 = true;
13766 }
13767 if (obj2) {
13768 {
13769 arg3 = wxString_in_helper(obj2);
13770 if (arg3 == NULL) SWIG_fail;
13771 temp3 = true;
13772 }
13773 }
13774 if (obj3) {
13775 arg4 = (long)SWIG_As_long(obj3);
13776 if (PyErr_Occurred()) SWIG_fail;
13777 }
13778 if (obj4) {
13779 {
13780 arg5 = &temp5;
13781 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13782 }
13783 }
13784 {
13785 if (!wxPyCheckForApp()) SWIG_fail;
13786 PyThreadState* __tstate = wxPyBeginAllowThreads();
13787 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
13788
13789 wxPyEndAllowThreads(__tstate);
13790 if (PyErr_Occurred()) SWIG_fail;
13791 }
13792 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMessageDialog, 1);
13793 {
13794 if (temp2)
13795 delete arg2;
13796 }
13797 {
13798 if (temp3)
13799 delete arg3;
13800 }
13801 return resultobj;
13802 fail:
13803 {
13804 if (temp2)
13805 delete arg2;
13806 }
13807 {
13808 if (temp3)
13809 delete arg3;
13810 }
13811 return NULL;
13812 }
13813
13814
13815 static PyObject * MessageDialog_swigregister(PyObject *, PyObject *args) {
13816 PyObject *obj;
13817 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13818 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj);
13819 Py_INCREF(obj);
13820 return Py_BuildValue((char *)"");
13821 }
13822 static PyObject *_wrap_new_ProgressDialog(PyObject *, PyObject *args, PyObject *kwargs) {
13823 PyObject *resultobj;
13824 wxString *arg1 = 0 ;
13825 wxString *arg2 = 0 ;
13826 int arg3 = (int) 100 ;
13827 wxWindow *arg4 = (wxWindow *) NULL ;
13828 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
13829 wxProgressDialog *result;
13830 bool temp1 = false ;
13831 bool temp2 = false ;
13832 PyObject * obj0 = 0 ;
13833 PyObject * obj1 = 0 ;
13834 PyObject * obj2 = 0 ;
13835 PyObject * obj3 = 0 ;
13836 PyObject * obj4 = 0 ;
13837 char *kwnames[] = {
13838 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
13839 };
13840
13841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13842 {
13843 arg1 = wxString_in_helper(obj0);
13844 if (arg1 == NULL) SWIG_fail;
13845 temp1 = true;
13846 }
13847 {
13848 arg2 = wxString_in_helper(obj1);
13849 if (arg2 == NULL) SWIG_fail;
13850 temp2 = true;
13851 }
13852 if (obj2) {
13853 arg3 = (int)SWIG_As_int(obj2);
13854 if (PyErr_Occurred()) SWIG_fail;
13855 }
13856 if (obj3) {
13857 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
13858 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13859 }
13860 if (obj4) {
13861 arg5 = (int)SWIG_As_int(obj4);
13862 if (PyErr_Occurred()) SWIG_fail;
13863 }
13864 {
13865 if (!wxPyCheckForApp()) SWIG_fail;
13866 PyThreadState* __tstate = wxPyBeginAllowThreads();
13867 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
13868
13869 wxPyEndAllowThreads(__tstate);
13870 if (PyErr_Occurred()) SWIG_fail;
13871 }
13872 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxProgressDialog, 1);
13873 {
13874 if (temp1)
13875 delete arg1;
13876 }
13877 {
13878 if (temp2)
13879 delete arg2;
13880 }
13881 return resultobj;
13882 fail:
13883 {
13884 if (temp1)
13885 delete arg1;
13886 }
13887 {
13888 if (temp2)
13889 delete arg2;
13890 }
13891 return NULL;
13892 }
13893
13894
13895 static PyObject *_wrap_ProgressDialog_Update(PyObject *, PyObject *args, PyObject *kwargs) {
13896 PyObject *resultobj;
13897 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
13898 int arg2 ;
13899 wxString const &arg3_defvalue = wxPyEmptyString ;
13900 wxString *arg3 = (wxString *) &arg3_defvalue ;
13901 bool result;
13902 bool temp3 = false ;
13903 PyObject * obj0 = 0 ;
13904 PyObject * obj1 = 0 ;
13905 PyObject * obj2 = 0 ;
13906 char *kwnames[] = {
13907 (char *) "self",(char *) "value",(char *) "newmsg", NULL
13908 };
13909
13910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) goto fail;
13911 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog,
13912 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13913 arg2 = (int)SWIG_As_int(obj1);
13914 if (PyErr_Occurred()) SWIG_fail;
13915 if (obj2) {
13916 {
13917 arg3 = wxString_in_helper(obj2);
13918 if (arg3 == NULL) SWIG_fail;
13919 temp3 = true;
13920 }
13921 }
13922 {
13923 PyThreadState* __tstate = wxPyBeginAllowThreads();
13924 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3);
13925
13926 wxPyEndAllowThreads(__tstate);
13927 if (PyErr_Occurred()) SWIG_fail;
13928 }
13929 {
13930 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13931 }
13932 {
13933 if (temp3)
13934 delete arg3;
13935 }
13936 return resultobj;
13937 fail:
13938 {
13939 if (temp3)
13940 delete arg3;
13941 }
13942 return NULL;
13943 }
13944
13945
13946 static PyObject *_wrap_ProgressDialog_Resume(PyObject *, PyObject *args, PyObject *kwargs) {
13947 PyObject *resultobj;
13948 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
13949 PyObject * obj0 = 0 ;
13950 char *kwnames[] = {
13951 (char *) "self", NULL
13952 };
13953
13954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail;
13955 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog,
13956 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13957 {
13958 PyThreadState* __tstate = wxPyBeginAllowThreads();
13959 (arg1)->Resume();
13960
13961 wxPyEndAllowThreads(__tstate);
13962 if (PyErr_Occurred()) SWIG_fail;
13963 }
13964 Py_INCREF(Py_None); resultobj = Py_None;
13965 return resultobj;
13966 fail:
13967 return NULL;
13968 }
13969
13970
13971 static PyObject * ProgressDialog_swigregister(PyObject *, PyObject *args) {
13972 PyObject *obj;
13973 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13974 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj);
13975 Py_INCREF(obj);
13976 return Py_BuildValue((char *)"");
13977 }
13978 static PyObject *_wrap_new_FindDialogEvent(PyObject *, PyObject *args, PyObject *kwargs) {
13979 PyObject *resultobj;
13980 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13981 int arg2 = (int) 0 ;
13982 wxFindDialogEvent *result;
13983 PyObject * obj0 = 0 ;
13984 PyObject * obj1 = 0 ;
13985 char *kwnames[] = {
13986 (char *) "commandType",(char *) "id", NULL
13987 };
13988
13989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) goto fail;
13990 if (obj0) {
13991 arg1 = (wxEventType)SWIG_As_int(obj0);
13992 if (PyErr_Occurred()) SWIG_fail;
13993 }
13994 if (obj1) {
13995 arg2 = (int)SWIG_As_int(obj1);
13996 if (PyErr_Occurred()) SWIG_fail;
13997 }
13998 {
13999 PyThreadState* __tstate = wxPyBeginAllowThreads();
14000 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
14001
14002 wxPyEndAllowThreads(__tstate);
14003 if (PyErr_Occurred()) SWIG_fail;
14004 }
14005 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindDialogEvent, 1);
14006 return resultobj;
14007 fail:
14008 return NULL;
14009 }
14010
14011
14012 static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
14013 PyObject *resultobj;
14014 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
14015 int result;
14016 PyObject * obj0 = 0 ;
14017 char *kwnames[] = {
14018 (char *) "self", NULL
14019 };
14020
14021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail;
14022 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14023 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14024 {
14025 PyThreadState* __tstate = wxPyBeginAllowThreads();
14026 result = (int)(arg1)->GetFlags();
14027
14028 wxPyEndAllowThreads(__tstate);
14029 if (PyErr_Occurred()) SWIG_fail;
14030 }
14031 resultobj = SWIG_From_int((int)result);
14032 return resultobj;
14033 fail:
14034 return NULL;
14035 }
14036
14037
14038 static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
14039 PyObject *resultobj;
14040 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
14041 wxString *result;
14042 PyObject * obj0 = 0 ;
14043 char *kwnames[] = {
14044 (char *) "self", NULL
14045 };
14046
14047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail;
14048 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14049 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14050 {
14051 PyThreadState* __tstate = wxPyBeginAllowThreads();
14052 {
14053 wxString const &_result_ref = (arg1)->GetFindString();
14054 result = (wxString *) &_result_ref;
14055 }
14056
14057 wxPyEndAllowThreads(__tstate);
14058 if (PyErr_Occurred()) SWIG_fail;
14059 }
14060 {
14061 #if wxUSE_UNICODE
14062 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14063 #else
14064 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14065 #endif
14066 }
14067 return resultobj;
14068 fail:
14069 return NULL;
14070 }
14071
14072
14073 static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
14074 PyObject *resultobj;
14075 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
14076 wxString *result;
14077 PyObject * obj0 = 0 ;
14078 char *kwnames[] = {
14079 (char *) "self", NULL
14080 };
14081
14082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail;
14083 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14084 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14085 {
14086 PyThreadState* __tstate = wxPyBeginAllowThreads();
14087 {
14088 wxString const &_result_ref = (arg1)->GetReplaceString();
14089 result = (wxString *) &_result_ref;
14090 }
14091
14092 wxPyEndAllowThreads(__tstate);
14093 if (PyErr_Occurred()) SWIG_fail;
14094 }
14095 {
14096 #if wxUSE_UNICODE
14097 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14098 #else
14099 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14100 #endif
14101 }
14102 return resultobj;
14103 fail:
14104 return NULL;
14105 }
14106
14107
14108 static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *, PyObject *args, PyObject *kwargs) {
14109 PyObject *resultobj;
14110 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
14111 wxFindReplaceDialog *result;
14112 PyObject * obj0 = 0 ;
14113 char *kwnames[] = {
14114 (char *) "self", NULL
14115 };
14116
14117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail;
14118 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14119 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14120 {
14121 PyThreadState* __tstate = wxPyBeginAllowThreads();
14122 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
14123
14124 wxPyEndAllowThreads(__tstate);
14125 if (PyErr_Occurred()) SWIG_fail;
14126 }
14127 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 0);
14128 return resultobj;
14129 fail:
14130 return NULL;
14131 }
14132
14133
14134 static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
14135 PyObject *resultobj;
14136 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
14137 int arg2 ;
14138 PyObject * obj0 = 0 ;
14139 PyObject * obj1 = 0 ;
14140 char *kwnames[] = {
14141 (char *) "self",(char *) "flags", NULL
14142 };
14143
14144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
14145 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14146 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14147 arg2 = (int)SWIG_As_int(obj1);
14148 if (PyErr_Occurred()) SWIG_fail;
14149 {
14150 PyThreadState* __tstate = wxPyBeginAllowThreads();
14151 (arg1)->SetFlags(arg2);
14152
14153 wxPyEndAllowThreads(__tstate);
14154 if (PyErr_Occurred()) SWIG_fail;
14155 }
14156 Py_INCREF(Py_None); resultobj = Py_None;
14157 return resultobj;
14158 fail:
14159 return NULL;
14160 }
14161
14162
14163 static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
14164 PyObject *resultobj;
14165 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
14166 wxString *arg2 = 0 ;
14167 bool temp2 = false ;
14168 PyObject * obj0 = 0 ;
14169 PyObject * obj1 = 0 ;
14170 char *kwnames[] = {
14171 (char *) "self",(char *) "str", NULL
14172 };
14173
14174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail;
14175 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14176 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14177 {
14178 arg2 = wxString_in_helper(obj1);
14179 if (arg2 == NULL) SWIG_fail;
14180 temp2 = true;
14181 }
14182 {
14183 PyThreadState* __tstate = wxPyBeginAllowThreads();
14184 (arg1)->SetFindString((wxString const &)*arg2);
14185
14186 wxPyEndAllowThreads(__tstate);
14187 if (PyErr_Occurred()) SWIG_fail;
14188 }
14189 Py_INCREF(Py_None); resultobj = Py_None;
14190 {
14191 if (temp2)
14192 delete arg2;
14193 }
14194 return resultobj;
14195 fail:
14196 {
14197 if (temp2)
14198 delete arg2;
14199 }
14200 return NULL;
14201 }
14202
14203
14204 static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
14205 PyObject *resultobj;
14206 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
14207 wxString *arg2 = 0 ;
14208 bool temp2 = false ;
14209 PyObject * obj0 = 0 ;
14210 PyObject * obj1 = 0 ;
14211 char *kwnames[] = {
14212 (char *) "self",(char *) "str", NULL
14213 };
14214
14215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
14216 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14217 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14218 {
14219 arg2 = wxString_in_helper(obj1);
14220 if (arg2 == NULL) SWIG_fail;
14221 temp2 = true;
14222 }
14223 {
14224 PyThreadState* __tstate = wxPyBeginAllowThreads();
14225 (arg1)->SetReplaceString((wxString const &)*arg2);
14226
14227 wxPyEndAllowThreads(__tstate);
14228 if (PyErr_Occurred()) SWIG_fail;
14229 }
14230 Py_INCREF(Py_None); resultobj = Py_None;
14231 {
14232 if (temp2)
14233 delete arg2;
14234 }
14235 return resultobj;
14236 fail:
14237 {
14238 if (temp2)
14239 delete arg2;
14240 }
14241 return NULL;
14242 }
14243
14244
14245 static PyObject * FindDialogEvent_swigregister(PyObject *, PyObject *args) {
14246 PyObject *obj;
14247 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14248 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj);
14249 Py_INCREF(obj);
14250 return Py_BuildValue((char *)"");
14251 }
14252 static PyObject *_wrap_new_FindReplaceData(PyObject *, PyObject *args, PyObject *kwargs) {
14253 PyObject *resultobj;
14254 int arg1 = (int) 0 ;
14255 wxFindReplaceData *result;
14256 PyObject * obj0 = 0 ;
14257 char *kwnames[] = {
14258 (char *) "flags", NULL
14259 };
14260
14261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) goto fail;
14262 if (obj0) {
14263 arg1 = (int)SWIG_As_int(obj0);
14264 if (PyErr_Occurred()) SWIG_fail;
14265 }
14266 {
14267 PyThreadState* __tstate = wxPyBeginAllowThreads();
14268 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
14269
14270 wxPyEndAllowThreads(__tstate);
14271 if (PyErr_Occurred()) SWIG_fail;
14272 }
14273 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 1);
14274 return resultobj;
14275 fail:
14276 return NULL;
14277 }
14278
14279
14280 static PyObject *_wrap_delete_FindReplaceData(PyObject *, PyObject *args, PyObject *kwargs) {
14281 PyObject *resultobj;
14282 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14283 PyObject * obj0 = 0 ;
14284 char *kwnames[] = {
14285 (char *) "self", NULL
14286 };
14287
14288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail;
14289 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14290 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14291 {
14292 PyThreadState* __tstate = wxPyBeginAllowThreads();
14293 delete arg1;
14294
14295 wxPyEndAllowThreads(__tstate);
14296 if (PyErr_Occurred()) SWIG_fail;
14297 }
14298 Py_INCREF(Py_None); resultobj = Py_None;
14299 return resultobj;
14300 fail:
14301 return NULL;
14302 }
14303
14304
14305 static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
14306 PyObject *resultobj;
14307 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14308 wxString *result;
14309 PyObject * obj0 = 0 ;
14310 char *kwnames[] = {
14311 (char *) "self", NULL
14312 };
14313
14314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail;
14315 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14316 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14317 {
14318 PyThreadState* __tstate = wxPyBeginAllowThreads();
14319 {
14320 wxString const &_result_ref = (arg1)->GetFindString();
14321 result = (wxString *) &_result_ref;
14322 }
14323
14324 wxPyEndAllowThreads(__tstate);
14325 if (PyErr_Occurred()) SWIG_fail;
14326 }
14327 {
14328 #if wxUSE_UNICODE
14329 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14330 #else
14331 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14332 #endif
14333 }
14334 return resultobj;
14335 fail:
14336 return NULL;
14337 }
14338
14339
14340 static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
14341 PyObject *resultobj;
14342 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14343 wxString *result;
14344 PyObject * obj0 = 0 ;
14345 char *kwnames[] = {
14346 (char *) "self", NULL
14347 };
14348
14349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail;
14350 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14351 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14352 {
14353 PyThreadState* __tstate = wxPyBeginAllowThreads();
14354 {
14355 wxString const &_result_ref = (arg1)->GetReplaceString();
14356 result = (wxString *) &_result_ref;
14357 }
14358
14359 wxPyEndAllowThreads(__tstate);
14360 if (PyErr_Occurred()) SWIG_fail;
14361 }
14362 {
14363 #if wxUSE_UNICODE
14364 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14365 #else
14366 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14367 #endif
14368 }
14369 return resultobj;
14370 fail:
14371 return NULL;
14372 }
14373
14374
14375 static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
14376 PyObject *resultobj;
14377 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14378 int result;
14379 PyObject * obj0 = 0 ;
14380 char *kwnames[] = {
14381 (char *) "self", NULL
14382 };
14383
14384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail;
14385 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14386 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14387 {
14388 PyThreadState* __tstate = wxPyBeginAllowThreads();
14389 result = (int)(arg1)->GetFlags();
14390
14391 wxPyEndAllowThreads(__tstate);
14392 if (PyErr_Occurred()) SWIG_fail;
14393 }
14394 resultobj = SWIG_From_int((int)result);
14395 return resultobj;
14396 fail:
14397 return NULL;
14398 }
14399
14400
14401 static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
14402 PyObject *resultobj;
14403 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14404 int arg2 ;
14405 PyObject * obj0 = 0 ;
14406 PyObject * obj1 = 0 ;
14407 char *kwnames[] = {
14408 (char *) "self",(char *) "flags", NULL
14409 };
14410
14411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) goto fail;
14412 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14413 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14414 arg2 = (int)SWIG_As_int(obj1);
14415 if (PyErr_Occurred()) SWIG_fail;
14416 {
14417 PyThreadState* __tstate = wxPyBeginAllowThreads();
14418 (arg1)->SetFlags(arg2);
14419
14420 wxPyEndAllowThreads(__tstate);
14421 if (PyErr_Occurred()) SWIG_fail;
14422 }
14423 Py_INCREF(Py_None); resultobj = Py_None;
14424 return resultobj;
14425 fail:
14426 return NULL;
14427 }
14428
14429
14430 static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
14431 PyObject *resultobj;
14432 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14433 wxString *arg2 = 0 ;
14434 bool temp2 = false ;
14435 PyObject * obj0 = 0 ;
14436 PyObject * obj1 = 0 ;
14437 char *kwnames[] = {
14438 (char *) "self",(char *) "str", NULL
14439 };
14440
14441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail;
14442 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14443 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14444 {
14445 arg2 = wxString_in_helper(obj1);
14446 if (arg2 == NULL) SWIG_fail;
14447 temp2 = true;
14448 }
14449 {
14450 PyThreadState* __tstate = wxPyBeginAllowThreads();
14451 (arg1)->SetFindString((wxString const &)*arg2);
14452
14453 wxPyEndAllowThreads(__tstate);
14454 if (PyErr_Occurred()) SWIG_fail;
14455 }
14456 Py_INCREF(Py_None); resultobj = Py_None;
14457 {
14458 if (temp2)
14459 delete arg2;
14460 }
14461 return resultobj;
14462 fail:
14463 {
14464 if (temp2)
14465 delete arg2;
14466 }
14467 return NULL;
14468 }
14469
14470
14471 static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
14472 PyObject *resultobj;
14473 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14474 wxString *arg2 = 0 ;
14475 bool temp2 = false ;
14476 PyObject * obj0 = 0 ;
14477 PyObject * obj1 = 0 ;
14478 char *kwnames[] = {
14479 (char *) "self",(char *) "str", NULL
14480 };
14481
14482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
14483 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14484 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14485 {
14486 arg2 = wxString_in_helper(obj1);
14487 if (arg2 == NULL) SWIG_fail;
14488 temp2 = true;
14489 }
14490 {
14491 PyThreadState* __tstate = wxPyBeginAllowThreads();
14492 (arg1)->SetReplaceString((wxString const &)*arg2);
14493
14494 wxPyEndAllowThreads(__tstate);
14495 if (PyErr_Occurred()) SWIG_fail;
14496 }
14497 Py_INCREF(Py_None); resultobj = Py_None;
14498 {
14499 if (temp2)
14500 delete arg2;
14501 }
14502 return resultobj;
14503 fail:
14504 {
14505 if (temp2)
14506 delete arg2;
14507 }
14508 return NULL;
14509 }
14510
14511
14512 static PyObject * FindReplaceData_swigregister(PyObject *, PyObject *args) {
14513 PyObject *obj;
14514 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14515 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj);
14516 Py_INCREF(obj);
14517 return Py_BuildValue((char *)"");
14518 }
14519 static PyObject *_wrap_new_FindReplaceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
14520 PyObject *resultobj;
14521 wxWindow *arg1 = (wxWindow *) 0 ;
14522 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
14523 wxString *arg3 = 0 ;
14524 int arg4 = (int) 0 ;
14525 wxFindReplaceDialog *result;
14526 bool temp3 = false ;
14527 PyObject * obj0 = 0 ;
14528 PyObject * obj1 = 0 ;
14529 PyObject * obj2 = 0 ;
14530 PyObject * obj3 = 0 ;
14531 char *kwnames[] = {
14532 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14533 };
14534
14535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14536 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14537 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14538 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData,
14539 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14540 {
14541 arg3 = wxString_in_helper(obj2);
14542 if (arg3 == NULL) SWIG_fail;
14543 temp3 = true;
14544 }
14545 if (obj3) {
14546 arg4 = (int)SWIG_As_int(obj3);
14547 if (PyErr_Occurred()) SWIG_fail;
14548 }
14549 {
14550 if (!wxPyCheckForApp()) SWIG_fail;
14551 PyThreadState* __tstate = wxPyBeginAllowThreads();
14552 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
14553
14554 wxPyEndAllowThreads(__tstate);
14555 if (PyErr_Occurred()) SWIG_fail;
14556 }
14557 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
14558 {
14559 if (temp3)
14560 delete arg3;
14561 }
14562 return resultobj;
14563 fail:
14564 {
14565 if (temp3)
14566 delete arg3;
14567 }
14568 return NULL;
14569 }
14570
14571
14572 static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
14573 PyObject *resultobj;
14574 wxFindReplaceDialog *result;
14575 char *kwnames[] = {
14576 NULL
14577 };
14578
14579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail;
14580 {
14581 if (!wxPyCheckForApp()) SWIG_fail;
14582 PyThreadState* __tstate = wxPyBeginAllowThreads();
14583 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
14584
14585 wxPyEndAllowThreads(__tstate);
14586 if (PyErr_Occurred()) SWIG_fail;
14587 }
14588 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
14589 return resultobj;
14590 fail:
14591 return NULL;
14592 }
14593
14594
14595 static PyObject *_wrap_FindReplaceDialog_Create(PyObject *, PyObject *args, PyObject *kwargs) {
14596 PyObject *resultobj;
14597 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14598 wxWindow *arg2 = (wxWindow *) 0 ;
14599 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
14600 wxString *arg4 = 0 ;
14601 int arg5 = (int) 0 ;
14602 bool result;
14603 bool temp4 = false ;
14604 PyObject * obj0 = 0 ;
14605 PyObject * obj1 = 0 ;
14606 PyObject * obj2 = 0 ;
14607 PyObject * obj3 = 0 ;
14608 PyObject * obj4 = 0 ;
14609 char *kwnames[] = {
14610 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14611 };
14612
14613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
14614 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14615 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14616 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14617 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14618 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFindReplaceData,
14619 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14620 {
14621 arg4 = wxString_in_helper(obj3);
14622 if (arg4 == NULL) SWIG_fail;
14623 temp4 = true;
14624 }
14625 if (obj4) {
14626 arg5 = (int)SWIG_As_int(obj4);
14627 if (PyErr_Occurred()) SWIG_fail;
14628 }
14629 {
14630 PyThreadState* __tstate = wxPyBeginAllowThreads();
14631 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
14632
14633 wxPyEndAllowThreads(__tstate);
14634 if (PyErr_Occurred()) SWIG_fail;
14635 }
14636 {
14637 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14638 }
14639 {
14640 if (temp4)
14641 delete arg4;
14642 }
14643 return resultobj;
14644 fail:
14645 {
14646 if (temp4)
14647 delete arg4;
14648 }
14649 return NULL;
14650 }
14651
14652
14653 static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
14654 PyObject *resultobj;
14655 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14656 wxFindReplaceData *result;
14657 PyObject * obj0 = 0 ;
14658 char *kwnames[] = {
14659 (char *) "self", NULL
14660 };
14661
14662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail;
14663 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14664 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14665 {
14666 PyThreadState* __tstate = wxPyBeginAllowThreads();
14667 result = (wxFindReplaceData *)(arg1)->GetData();
14668
14669 wxPyEndAllowThreads(__tstate);
14670 if (PyErr_Occurred()) SWIG_fail;
14671 }
14672 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 0);
14673 return resultobj;
14674 fail:
14675 return NULL;
14676 }
14677
14678
14679 static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
14680 PyObject *resultobj;
14681 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14682 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
14683 PyObject * obj0 = 0 ;
14684 PyObject * obj1 = 0 ;
14685 char *kwnames[] = {
14686 (char *) "self",(char *) "data", NULL
14687 };
14688
14689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail;
14690 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14691 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14692 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData,
14693 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14694 {
14695 PyThreadState* __tstate = wxPyBeginAllowThreads();
14696 (arg1)->SetData(arg2);
14697
14698 wxPyEndAllowThreads(__tstate);
14699 if (PyErr_Occurred()) SWIG_fail;
14700 }
14701 Py_INCREF(Py_None); resultobj = Py_None;
14702 return resultobj;
14703 fail:
14704 return NULL;
14705 }
14706
14707
14708 static PyObject * FindReplaceDialog_swigregister(PyObject *, PyObject *args) {
14709 PyObject *obj;
14710 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14711 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj);
14712 Py_INCREF(obj);
14713 return Py_BuildValue((char *)"");
14714 }
14715 static PyObject *_wrap_new_MDIParentFrame(PyObject *, PyObject *args, PyObject *kwargs) {
14716 PyObject *resultobj;
14717 wxWindow *arg1 = (wxWindow *) 0 ;
14718 int arg2 = (int) (int)-1 ;
14719 wxString const &arg3_defvalue = wxPyEmptyString ;
14720 wxString *arg3 = (wxString *) &arg3_defvalue ;
14721 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14722 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14723 wxSize const &arg5_defvalue = wxDefaultSize ;
14724 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14725 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
14726 wxString const &arg7_defvalue = wxPyFrameNameStr ;
14727 wxString *arg7 = (wxString *) &arg7_defvalue ;
14728 wxMDIParentFrame *result;
14729 bool temp3 = false ;
14730 wxPoint temp4 ;
14731 wxSize temp5 ;
14732 bool temp7 = false ;
14733 PyObject * obj0 = 0 ;
14734 PyObject * obj1 = 0 ;
14735 PyObject * obj2 = 0 ;
14736 PyObject * obj3 = 0 ;
14737 PyObject * obj4 = 0 ;
14738 PyObject * obj5 = 0 ;
14739 PyObject * obj6 = 0 ;
14740 char *kwnames[] = {
14741 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14742 };
14743
14744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
14745 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14746 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14747 if (obj1) {
14748 arg2 = (int)SWIG_As_int(obj1);
14749 if (PyErr_Occurred()) SWIG_fail;
14750 }
14751 if (obj2) {
14752 {
14753 arg3 = wxString_in_helper(obj2);
14754 if (arg3 == NULL) SWIG_fail;
14755 temp3 = true;
14756 }
14757 }
14758 if (obj3) {
14759 {
14760 arg4 = &temp4;
14761 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14762 }
14763 }
14764 if (obj4) {
14765 {
14766 arg5 = &temp5;
14767 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14768 }
14769 }
14770 if (obj5) {
14771 arg6 = (long)SWIG_As_long(obj5);
14772 if (PyErr_Occurred()) SWIG_fail;
14773 }
14774 if (obj6) {
14775 {
14776 arg7 = wxString_in_helper(obj6);
14777 if (arg7 == NULL) SWIG_fail;
14778 temp7 = true;
14779 }
14780 }
14781 {
14782 if (!wxPyCheckForApp()) SWIG_fail;
14783 PyThreadState* __tstate = wxPyBeginAllowThreads();
14784 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14785
14786 wxPyEndAllowThreads(__tstate);
14787 if (PyErr_Occurred()) SWIG_fail;
14788 }
14789 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
14790 {
14791 if (temp3)
14792 delete arg3;
14793 }
14794 {
14795 if (temp7)
14796 delete arg7;
14797 }
14798 return resultobj;
14799 fail:
14800 {
14801 if (temp3)
14802 delete arg3;
14803 }
14804 {
14805 if (temp7)
14806 delete arg7;
14807 }
14808 return NULL;
14809 }
14810
14811
14812 static PyObject *_wrap_new_PreMDIParentFrame(PyObject *, PyObject *args, PyObject *kwargs) {
14813 PyObject *resultobj;
14814 wxMDIParentFrame *result;
14815 char *kwnames[] = {
14816 NULL
14817 };
14818
14819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail;
14820 {
14821 if (!wxPyCheckForApp()) SWIG_fail;
14822 PyThreadState* __tstate = wxPyBeginAllowThreads();
14823 result = (wxMDIParentFrame *)new wxMDIParentFrame();
14824
14825 wxPyEndAllowThreads(__tstate);
14826 if (PyErr_Occurred()) SWIG_fail;
14827 }
14828 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
14829 return resultobj;
14830 fail:
14831 return NULL;
14832 }
14833
14834
14835 static PyObject *_wrap_MDIParentFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
14836 PyObject *resultobj;
14837 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14838 wxWindow *arg2 = (wxWindow *) 0 ;
14839 int arg3 = (int) (int)-1 ;
14840 wxString const &arg4_defvalue = wxPyEmptyString ;
14841 wxString *arg4 = (wxString *) &arg4_defvalue ;
14842 wxPoint const &arg5_defvalue = wxDefaultPosition ;
14843 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
14844 wxSize const &arg6_defvalue = wxDefaultSize ;
14845 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
14846 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
14847 wxString const &arg8_defvalue = wxPyFrameNameStr ;
14848 wxString *arg8 = (wxString *) &arg8_defvalue ;
14849 bool result;
14850 bool temp4 = false ;
14851 wxPoint temp5 ;
14852 wxSize temp6 ;
14853 bool temp8 = false ;
14854 PyObject * obj0 = 0 ;
14855 PyObject * obj1 = 0 ;
14856 PyObject * obj2 = 0 ;
14857 PyObject * obj3 = 0 ;
14858 PyObject * obj4 = 0 ;
14859 PyObject * obj5 = 0 ;
14860 PyObject * obj6 = 0 ;
14861 PyObject * obj7 = 0 ;
14862 char *kwnames[] = {
14863 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14864 };
14865
14866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
14867 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14868 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14869 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14870 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14871 if (obj2) {
14872 arg3 = (int)SWIG_As_int(obj2);
14873 if (PyErr_Occurred()) SWIG_fail;
14874 }
14875 if (obj3) {
14876 {
14877 arg4 = wxString_in_helper(obj3);
14878 if (arg4 == NULL) SWIG_fail;
14879 temp4 = true;
14880 }
14881 }
14882 if (obj4) {
14883 {
14884 arg5 = &temp5;
14885 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14886 }
14887 }
14888 if (obj5) {
14889 {
14890 arg6 = &temp6;
14891 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
14892 }
14893 }
14894 if (obj6) {
14895 arg7 = (long)SWIG_As_long(obj6);
14896 if (PyErr_Occurred()) SWIG_fail;
14897 }
14898 if (obj7) {
14899 {
14900 arg8 = wxString_in_helper(obj7);
14901 if (arg8 == NULL) SWIG_fail;
14902 temp8 = true;
14903 }
14904 }
14905 {
14906 PyThreadState* __tstate = wxPyBeginAllowThreads();
14907 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
14908
14909 wxPyEndAllowThreads(__tstate);
14910 if (PyErr_Occurred()) SWIG_fail;
14911 }
14912 {
14913 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14914 }
14915 {
14916 if (temp4)
14917 delete arg4;
14918 }
14919 {
14920 if (temp8)
14921 delete arg8;
14922 }
14923 return resultobj;
14924 fail:
14925 {
14926 if (temp4)
14927 delete arg4;
14928 }
14929 {
14930 if (temp8)
14931 delete arg8;
14932 }
14933 return NULL;
14934 }
14935
14936
14937 static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *, PyObject *args, PyObject *kwargs) {
14938 PyObject *resultobj;
14939 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14940 PyObject * obj0 = 0 ;
14941 char *kwnames[] = {
14942 (char *) "self", NULL
14943 };
14944
14945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail;
14946 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14947 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14948 {
14949 PyThreadState* __tstate = wxPyBeginAllowThreads();
14950 (arg1)->ActivateNext();
14951
14952 wxPyEndAllowThreads(__tstate);
14953 if (PyErr_Occurred()) SWIG_fail;
14954 }
14955 Py_INCREF(Py_None); resultobj = Py_None;
14956 return resultobj;
14957 fail:
14958 return NULL;
14959 }
14960
14961
14962 static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *, PyObject *args, PyObject *kwargs) {
14963 PyObject *resultobj;
14964 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14965 PyObject * obj0 = 0 ;
14966 char *kwnames[] = {
14967 (char *) "self", NULL
14968 };
14969
14970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail;
14971 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14972 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14973 {
14974 PyThreadState* __tstate = wxPyBeginAllowThreads();
14975 (arg1)->ActivatePrevious();
14976
14977 wxPyEndAllowThreads(__tstate);
14978 if (PyErr_Occurred()) SWIG_fail;
14979 }
14980 Py_INCREF(Py_None); resultobj = Py_None;
14981 return resultobj;
14982 fail:
14983 return NULL;
14984 }
14985
14986
14987 static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *, PyObject *args, PyObject *kwargs) {
14988 PyObject *resultobj;
14989 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14990 PyObject * obj0 = 0 ;
14991 char *kwnames[] = {
14992 (char *) "self", NULL
14993 };
14994
14995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail;
14996 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14997 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14998 {
14999 PyThreadState* __tstate = wxPyBeginAllowThreads();
15000 (arg1)->ArrangeIcons();
15001
15002 wxPyEndAllowThreads(__tstate);
15003 if (PyErr_Occurred()) SWIG_fail;
15004 }
15005 Py_INCREF(Py_None); resultobj = Py_None;
15006 return resultobj;
15007 fail:
15008 return NULL;
15009 }
15010
15011
15012 static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *, PyObject *args, PyObject *kwargs) {
15013 PyObject *resultobj;
15014 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15015 PyObject * obj0 = 0 ;
15016 char *kwnames[] = {
15017 (char *) "self", NULL
15018 };
15019
15020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail;
15021 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15022 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15023 {
15024 PyThreadState* __tstate = wxPyBeginAllowThreads();
15025 (arg1)->Cascade();
15026
15027 wxPyEndAllowThreads(__tstate);
15028 if (PyErr_Occurred()) SWIG_fail;
15029 }
15030 Py_INCREF(Py_None); resultobj = Py_None;
15031 return resultobj;
15032 fail:
15033 return NULL;
15034 }
15035
15036
15037 static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *, PyObject *args, PyObject *kwargs) {
15038 PyObject *resultobj;
15039 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15040 wxMDIChildFrame *result;
15041 PyObject * obj0 = 0 ;
15042 char *kwnames[] = {
15043 (char *) "self", NULL
15044 };
15045
15046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail;
15047 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15048 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15049 {
15050 PyThreadState* __tstate = wxPyBeginAllowThreads();
15051 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
15052
15053 wxPyEndAllowThreads(__tstate);
15054 if (PyErr_Occurred()) SWIG_fail;
15055 }
15056 {
15057 resultobj = wxPyMake_wxObject(result, 0);
15058 }
15059 return resultobj;
15060 fail:
15061 return NULL;
15062 }
15063
15064
15065 static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
15066 PyObject *resultobj;
15067 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15068 wxMDIClientWindow *result;
15069 PyObject * obj0 = 0 ;
15070 char *kwnames[] = {
15071 (char *) "self", NULL
15072 };
15073
15074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",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 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
15080
15081 wxPyEndAllowThreads(__tstate);
15082 if (PyErr_Occurred()) SWIG_fail;
15083 }
15084 {
15085 resultobj = wxPyMake_wxObject(result, 0);
15086 }
15087 return resultobj;
15088 fail:
15089 return NULL;
15090 }
15091
15092
15093 static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
15094 PyObject *resultobj;
15095 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15096 wxWindow *result;
15097 PyObject * obj0 = 0 ;
15098 char *kwnames[] = {
15099 (char *) "self", NULL
15100 };
15101
15102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail;
15103 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15104 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15105 {
15106 PyThreadState* __tstate = wxPyBeginAllowThreads();
15107 result = (wxWindow *)(arg1)->GetToolBar();
15108
15109 wxPyEndAllowThreads(__tstate);
15110 if (PyErr_Occurred()) SWIG_fail;
15111 }
15112 {
15113 resultobj = wxPyMake_wxObject(result, 0);
15114 }
15115 return resultobj;
15116 fail:
15117 return NULL;
15118 }
15119
15120
15121 static PyObject *_wrap_MDIParentFrame_Tile(PyObject *, PyObject *args, PyObject *kwargs) {
15122 PyObject *resultobj;
15123 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15124 PyObject * obj0 = 0 ;
15125 char *kwnames[] = {
15126 (char *) "self", NULL
15127 };
15128
15129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Tile",kwnames,&obj0)) goto fail;
15130 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15131 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15132 {
15133 PyThreadState* __tstate = wxPyBeginAllowThreads();
15134 (arg1)->Tile();
15135
15136 wxPyEndAllowThreads(__tstate);
15137 if (PyErr_Occurred()) SWIG_fail;
15138 }
15139 Py_INCREF(Py_None); resultobj = Py_None;
15140 return resultobj;
15141 fail:
15142 return NULL;
15143 }
15144
15145
15146 static PyObject * MDIParentFrame_swigregister(PyObject *, PyObject *args) {
15147 PyObject *obj;
15148 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15149 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj);
15150 Py_INCREF(obj);
15151 return Py_BuildValue((char *)"");
15152 }
15153 static PyObject *_wrap_new_MDIChildFrame(PyObject *, PyObject *args, PyObject *kwargs) {
15154 PyObject *resultobj;
15155 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15156 int arg2 = (int) (int)-1 ;
15157 wxString const &arg3_defvalue = wxPyEmptyString ;
15158 wxString *arg3 = (wxString *) &arg3_defvalue ;
15159 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15160 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15161 wxSize const &arg5_defvalue = wxDefaultSize ;
15162 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15163 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
15164 wxString const &arg7_defvalue = wxPyFrameNameStr ;
15165 wxString *arg7 = (wxString *) &arg7_defvalue ;
15166 wxMDIChildFrame *result;
15167 bool temp3 = false ;
15168 wxPoint temp4 ;
15169 wxSize temp5 ;
15170 bool temp7 = false ;
15171 PyObject * obj0 = 0 ;
15172 PyObject * obj1 = 0 ;
15173 PyObject * obj2 = 0 ;
15174 PyObject * obj3 = 0 ;
15175 PyObject * obj4 = 0 ;
15176 PyObject * obj5 = 0 ;
15177 PyObject * obj6 = 0 ;
15178 char *kwnames[] = {
15179 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15180 };
15181
15182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15183 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15184 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15185 if (obj1) {
15186 arg2 = (int)SWIG_As_int(obj1);
15187 if (PyErr_Occurred()) SWIG_fail;
15188 }
15189 if (obj2) {
15190 {
15191 arg3 = wxString_in_helper(obj2);
15192 if (arg3 == NULL) SWIG_fail;
15193 temp3 = true;
15194 }
15195 }
15196 if (obj3) {
15197 {
15198 arg4 = &temp4;
15199 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15200 }
15201 }
15202 if (obj4) {
15203 {
15204 arg5 = &temp5;
15205 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15206 }
15207 }
15208 if (obj5) {
15209 arg6 = (long)SWIG_As_long(obj5);
15210 if (PyErr_Occurred()) SWIG_fail;
15211 }
15212 if (obj6) {
15213 {
15214 arg7 = wxString_in_helper(obj6);
15215 if (arg7 == NULL) SWIG_fail;
15216 temp7 = true;
15217 }
15218 }
15219 {
15220 if (!wxPyCheckForApp()) SWIG_fail;
15221 PyThreadState* __tstate = wxPyBeginAllowThreads();
15222 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15223
15224 wxPyEndAllowThreads(__tstate);
15225 if (PyErr_Occurred()) SWIG_fail;
15226 }
15227 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIChildFrame, 1);
15228 {
15229 if (temp3)
15230 delete arg3;
15231 }
15232 {
15233 if (temp7)
15234 delete arg7;
15235 }
15236 return resultobj;
15237 fail:
15238 {
15239 if (temp3)
15240 delete arg3;
15241 }
15242 {
15243 if (temp7)
15244 delete arg7;
15245 }
15246 return NULL;
15247 }
15248
15249
15250 static PyObject *_wrap_new_PreMDIChildFrame(PyObject *, PyObject *args, PyObject *kwargs) {
15251 PyObject *resultobj;
15252 wxMDIChildFrame *result;
15253 char *kwnames[] = {
15254 NULL
15255 };
15256
15257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail;
15258 {
15259 if (!wxPyCheckForApp()) SWIG_fail;
15260 PyThreadState* __tstate = wxPyBeginAllowThreads();
15261 result = (wxMDIChildFrame *)new wxMDIChildFrame();
15262
15263 wxPyEndAllowThreads(__tstate);
15264 if (PyErr_Occurred()) SWIG_fail;
15265 }
15266 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIChildFrame, 1);
15267 return resultobj;
15268 fail:
15269 return NULL;
15270 }
15271
15272
15273 static PyObject *_wrap_MDIChildFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
15274 PyObject *resultobj;
15275 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15276 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
15277 int arg3 = (int) (int)-1 ;
15278 wxString const &arg4_defvalue = wxPyEmptyString ;
15279 wxString *arg4 = (wxString *) &arg4_defvalue ;
15280 wxPoint const &arg5_defvalue = wxDefaultPosition ;
15281 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
15282 wxSize const &arg6_defvalue = wxDefaultSize ;
15283 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
15284 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
15285 wxString const &arg8_defvalue = wxPyFrameNameStr ;
15286 wxString *arg8 = (wxString *) &arg8_defvalue ;
15287 bool result;
15288 bool temp4 = false ;
15289 wxPoint temp5 ;
15290 wxSize temp6 ;
15291 bool temp8 = false ;
15292 PyObject * obj0 = 0 ;
15293 PyObject * obj1 = 0 ;
15294 PyObject * obj2 = 0 ;
15295 PyObject * obj3 = 0 ;
15296 PyObject * obj4 = 0 ;
15297 PyObject * obj5 = 0 ;
15298 PyObject * obj6 = 0 ;
15299 PyObject * obj7 = 0 ;
15300 char *kwnames[] = {
15301 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15302 };
15303
15304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15305 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15306 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15307 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
15308 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15309 if (obj2) {
15310 arg3 = (int)SWIG_As_int(obj2);
15311 if (PyErr_Occurred()) SWIG_fail;
15312 }
15313 if (obj3) {
15314 {
15315 arg4 = wxString_in_helper(obj3);
15316 if (arg4 == NULL) SWIG_fail;
15317 temp4 = true;
15318 }
15319 }
15320 if (obj4) {
15321 {
15322 arg5 = &temp5;
15323 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
15324 }
15325 }
15326 if (obj5) {
15327 {
15328 arg6 = &temp6;
15329 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
15330 }
15331 }
15332 if (obj6) {
15333 arg7 = (long)SWIG_As_long(obj6);
15334 if (PyErr_Occurred()) SWIG_fail;
15335 }
15336 if (obj7) {
15337 {
15338 arg8 = wxString_in_helper(obj7);
15339 if (arg8 == NULL) SWIG_fail;
15340 temp8 = true;
15341 }
15342 }
15343 {
15344 PyThreadState* __tstate = wxPyBeginAllowThreads();
15345 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
15346
15347 wxPyEndAllowThreads(__tstate);
15348 if (PyErr_Occurred()) SWIG_fail;
15349 }
15350 {
15351 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15352 }
15353 {
15354 if (temp4)
15355 delete arg4;
15356 }
15357 {
15358 if (temp8)
15359 delete arg8;
15360 }
15361 return resultobj;
15362 fail:
15363 {
15364 if (temp4)
15365 delete arg4;
15366 }
15367 {
15368 if (temp8)
15369 delete arg8;
15370 }
15371 return NULL;
15372 }
15373
15374
15375 static PyObject *_wrap_MDIChildFrame_Activate(PyObject *, PyObject *args, PyObject *kwargs) {
15376 PyObject *resultobj;
15377 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15378 PyObject * obj0 = 0 ;
15379 char *kwnames[] = {
15380 (char *) "self", NULL
15381 };
15382
15383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail;
15384 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15385 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15386 {
15387 PyThreadState* __tstate = wxPyBeginAllowThreads();
15388 (arg1)->Activate();
15389
15390 wxPyEndAllowThreads(__tstate);
15391 if (PyErr_Occurred()) SWIG_fail;
15392 }
15393 Py_INCREF(Py_None); resultobj = Py_None;
15394 return resultobj;
15395 fail:
15396 return NULL;
15397 }
15398
15399
15400 static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *, PyObject *args, PyObject *kwargs) {
15401 PyObject *resultobj;
15402 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15403 bool arg2 ;
15404 PyObject * obj0 = 0 ;
15405 PyObject * obj1 = 0 ;
15406 char *kwnames[] = {
15407 (char *) "self",(char *) "maximize", NULL
15408 };
15409
15410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail;
15411 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15412 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15413 arg2 = (bool)SWIG_As_bool(obj1);
15414 if (PyErr_Occurred()) SWIG_fail;
15415 {
15416 PyThreadState* __tstate = wxPyBeginAllowThreads();
15417 (arg1)->Maximize(arg2);
15418
15419 wxPyEndAllowThreads(__tstate);
15420 if (PyErr_Occurred()) SWIG_fail;
15421 }
15422 Py_INCREF(Py_None); resultobj = Py_None;
15423 return resultobj;
15424 fail:
15425 return NULL;
15426 }
15427
15428
15429 static PyObject *_wrap_MDIChildFrame_Restore(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_Restore",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)->Restore();
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 * MDIChildFrame_swigregister(PyObject *, PyObject *args) {
15455 PyObject *obj;
15456 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15457 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj);
15458 Py_INCREF(obj);
15459 return Py_BuildValue((char *)"");
15460 }
15461 static PyObject *_wrap_new_MDIClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
15462 PyObject *resultobj;
15463 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15464 long arg2 = (long) 0 ;
15465 wxMDIClientWindow *result;
15466 PyObject * obj0 = 0 ;
15467 PyObject * obj1 = 0 ;
15468 char *kwnames[] = {
15469 (char *) "parent",(char *) "style", NULL
15470 };
15471
15472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) goto fail;
15473 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15474 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15475 if (obj1) {
15476 arg2 = (long)SWIG_As_long(obj1);
15477 if (PyErr_Occurred()) SWIG_fail;
15478 }
15479 {
15480 if (!wxPyCheckForApp()) SWIG_fail;
15481 PyThreadState* __tstate = wxPyBeginAllowThreads();
15482 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
15483
15484 wxPyEndAllowThreads(__tstate);
15485 if (PyErr_Occurred()) SWIG_fail;
15486 }
15487 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIClientWindow, 1);
15488 return resultobj;
15489 fail:
15490 return NULL;
15491 }
15492
15493
15494 static PyObject *_wrap_new_PreMDIClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
15495 PyObject *resultobj;
15496 wxMDIClientWindow *result;
15497 char *kwnames[] = {
15498 NULL
15499 };
15500
15501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail;
15502 {
15503 if (!wxPyCheckForApp()) SWIG_fail;
15504 PyThreadState* __tstate = wxPyBeginAllowThreads();
15505 result = (wxMDIClientWindow *)new wxMDIClientWindow();
15506
15507 wxPyEndAllowThreads(__tstate);
15508 if (PyErr_Occurred()) SWIG_fail;
15509 }
15510 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIClientWindow, 1);
15511 return resultobj;
15512 fail:
15513 return NULL;
15514 }
15515
15516
15517 static PyObject *_wrap_MDIClientWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
15518 PyObject *resultobj;
15519 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
15520 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
15521 long arg3 = (long) 0 ;
15522 bool result;
15523 PyObject * obj0 = 0 ;
15524 PyObject * obj1 = 0 ;
15525 PyObject * obj2 = 0 ;
15526 char *kwnames[] = {
15527 (char *) "self",(char *) "parent",(char *) "style", NULL
15528 };
15529
15530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
15531 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIClientWindow,
15532 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15533 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
15534 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15535 if (obj2) {
15536 arg3 = (long)SWIG_As_long(obj2);
15537 if (PyErr_Occurred()) SWIG_fail;
15538 }
15539 {
15540 PyThreadState* __tstate = wxPyBeginAllowThreads();
15541 result = (bool)(arg1)->Create(arg2,arg3);
15542
15543 wxPyEndAllowThreads(__tstate);
15544 if (PyErr_Occurred()) SWIG_fail;
15545 }
15546 {
15547 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15548 }
15549 return resultobj;
15550 fail:
15551 return NULL;
15552 }
15553
15554
15555 static PyObject * MDIClientWindow_swigregister(PyObject *, PyObject *args) {
15556 PyObject *obj;
15557 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15558 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj);
15559 Py_INCREF(obj);
15560 return Py_BuildValue((char *)"");
15561 }
15562 static PyObject *_wrap_new_PyWindow(PyObject *, PyObject *args, PyObject *kwargs) {
15563 PyObject *resultobj;
15564 wxWindow *arg1 = (wxWindow *) 0 ;
15565 int arg2 = (int) (int)-1 ;
15566 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15567 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15568 wxSize const &arg4_defvalue = wxDefaultSize ;
15569 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15570 long arg5 = (long) 0 ;
15571 wxString const &arg6_defvalue = wxPyPanelNameStr ;
15572 wxString *arg6 = (wxString *) &arg6_defvalue ;
15573 wxPyWindow *result;
15574 wxPoint temp3 ;
15575 wxSize temp4 ;
15576 bool temp6 = false ;
15577 PyObject * obj0 = 0 ;
15578 PyObject * obj1 = 0 ;
15579 PyObject * obj2 = 0 ;
15580 PyObject * obj3 = 0 ;
15581 PyObject * obj4 = 0 ;
15582 PyObject * obj5 = 0 ;
15583 char *kwnames[] = {
15584 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15585 };
15586
15587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15588 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
15589 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15590 if (obj1) {
15591 arg2 = (int)SWIG_As_int(obj1);
15592 if (PyErr_Occurred()) SWIG_fail;
15593 }
15594 if (obj2) {
15595 {
15596 arg3 = &temp3;
15597 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15598 }
15599 }
15600 if (obj3) {
15601 {
15602 arg4 = &temp4;
15603 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15604 }
15605 }
15606 if (obj4) {
15607 arg5 = (long)SWIG_As_long(obj4);
15608 if (PyErr_Occurred()) SWIG_fail;
15609 }
15610 if (obj5) {
15611 {
15612 arg6 = wxString_in_helper(obj5);
15613 if (arg6 == NULL) SWIG_fail;
15614 temp6 = true;
15615 }
15616 }
15617 {
15618 if (!wxPyCheckForApp()) SWIG_fail;
15619 PyThreadState* __tstate = wxPyBeginAllowThreads();
15620 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15621
15622 wxPyEndAllowThreads(__tstate);
15623 if (PyErr_Occurred()) SWIG_fail;
15624 }
15625 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
15626 {
15627 if (temp6)
15628 delete arg6;
15629 }
15630 return resultobj;
15631 fail:
15632 {
15633 if (temp6)
15634 delete arg6;
15635 }
15636 return NULL;
15637 }
15638
15639
15640 static PyObject *_wrap_new_PrePyWindow(PyObject *, PyObject *args, PyObject *kwargs) {
15641 PyObject *resultobj;
15642 wxPyWindow *result;
15643 char *kwnames[] = {
15644 NULL
15645 };
15646
15647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyWindow",kwnames)) goto fail;
15648 {
15649 if (!wxPyCheckForApp()) SWIG_fail;
15650 PyThreadState* __tstate = wxPyBeginAllowThreads();
15651 result = (wxPyWindow *)new wxPyWindow();
15652
15653 wxPyEndAllowThreads(__tstate);
15654 if (PyErr_Occurred()) SWIG_fail;
15655 }
15656 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
15657 return resultobj;
15658 fail:
15659 return NULL;
15660 }
15661
15662
15663 static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
15664 PyObject *resultobj;
15665 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15666 PyObject *arg2 = (PyObject *) 0 ;
15667 PyObject *arg3 = (PyObject *) 0 ;
15668 PyObject * obj0 = 0 ;
15669 PyObject * obj1 = 0 ;
15670 PyObject * obj2 = 0 ;
15671 char *kwnames[] = {
15672 (char *) "self",(char *) "self",(char *) "_class", NULL
15673 };
15674
15675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15676 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15677 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15678 arg2 = obj1;
15679 arg3 = obj2;
15680 {
15681 PyThreadState* __tstate = wxPyBeginAllowThreads();
15682 (arg1)->_setCallbackInfo(arg2,arg3);
15683
15684 wxPyEndAllowThreads(__tstate);
15685 if (PyErr_Occurred()) SWIG_fail;
15686 }
15687 Py_INCREF(Py_None); resultobj = Py_None;
15688 return resultobj;
15689 fail:
15690 return NULL;
15691 }
15692
15693
15694 static PyObject *_wrap_PyWindow_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
15695 PyObject *resultobj;
15696 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15697 wxSize *arg2 = 0 ;
15698 wxSize temp2 ;
15699 PyObject * obj0 = 0 ;
15700 PyObject * obj1 = 0 ;
15701 char *kwnames[] = {
15702 (char *) "self",(char *) "size", NULL
15703 };
15704
15705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
15706 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15707 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15708 {
15709 arg2 = &temp2;
15710 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
15711 }
15712 {
15713 PyThreadState* __tstate = wxPyBeginAllowThreads();
15714 (arg1)->SetBestSize((wxSize const &)*arg2);
15715
15716 wxPyEndAllowThreads(__tstate);
15717 if (PyErr_Occurred()) SWIG_fail;
15718 }
15719 Py_INCREF(Py_None); resultobj = Py_None;
15720 return resultobj;
15721 fail:
15722 return NULL;
15723 }
15724
15725
15726 static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
15727 PyObject *resultobj;
15728 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15729 int arg2 ;
15730 int arg3 ;
15731 int arg4 ;
15732 int arg5 ;
15733 PyObject * obj0 = 0 ;
15734 PyObject * obj1 = 0 ;
15735 PyObject * obj2 = 0 ;
15736 PyObject * obj3 = 0 ;
15737 PyObject * obj4 = 0 ;
15738 char *kwnames[] = {
15739 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15740 };
15741
15742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15743 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15744 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15745 arg2 = (int)SWIG_As_int(obj1);
15746 if (PyErr_Occurred()) SWIG_fail;
15747 arg3 = (int)SWIG_As_int(obj2);
15748 if (PyErr_Occurred()) SWIG_fail;
15749 arg4 = (int)SWIG_As_int(obj3);
15750 if (PyErr_Occurred()) SWIG_fail;
15751 arg5 = (int)SWIG_As_int(obj4);
15752 if (PyErr_Occurred()) SWIG_fail;
15753 {
15754 PyThreadState* __tstate = wxPyBeginAllowThreads();
15755 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
15756
15757 wxPyEndAllowThreads(__tstate);
15758 if (PyErr_Occurred()) SWIG_fail;
15759 }
15760 Py_INCREF(Py_None); resultobj = Py_None;
15761 return resultobj;
15762 fail:
15763 return NULL;
15764 }
15765
15766
15767 static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
15768 PyObject *resultobj;
15769 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15770 int arg2 ;
15771 int arg3 ;
15772 int arg4 ;
15773 int arg5 ;
15774 int arg6 = (int) wxSIZE_AUTO ;
15775 PyObject * obj0 = 0 ;
15776 PyObject * obj1 = 0 ;
15777 PyObject * obj2 = 0 ;
15778 PyObject * obj3 = 0 ;
15779 PyObject * obj4 = 0 ;
15780 PyObject * obj5 = 0 ;
15781 char *kwnames[] = {
15782 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15783 };
15784
15785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15786 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15787 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15788 arg2 = (int)SWIG_As_int(obj1);
15789 if (PyErr_Occurred()) SWIG_fail;
15790 arg3 = (int)SWIG_As_int(obj2);
15791 if (PyErr_Occurred()) SWIG_fail;
15792 arg4 = (int)SWIG_As_int(obj3);
15793 if (PyErr_Occurred()) SWIG_fail;
15794 arg5 = (int)SWIG_As_int(obj4);
15795 if (PyErr_Occurred()) SWIG_fail;
15796 if (obj5) {
15797 arg6 = (int)SWIG_As_int(obj5);
15798 if (PyErr_Occurred()) SWIG_fail;
15799 }
15800 {
15801 PyThreadState* __tstate = wxPyBeginAllowThreads();
15802 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
15803
15804 wxPyEndAllowThreads(__tstate);
15805 if (PyErr_Occurred()) SWIG_fail;
15806 }
15807 Py_INCREF(Py_None); resultobj = Py_None;
15808 return resultobj;
15809 fail:
15810 return NULL;
15811 }
15812
15813
15814 static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
15815 PyObject *resultobj;
15816 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15817 int arg2 ;
15818 int arg3 ;
15819 PyObject * obj0 = 0 ;
15820 PyObject * obj1 = 0 ;
15821 PyObject * obj2 = 0 ;
15822 char *kwnames[] = {
15823 (char *) "self",(char *) "width",(char *) "height", NULL
15824 };
15825
15826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15827 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15828 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15829 arg2 = (int)SWIG_As_int(obj1);
15830 if (PyErr_Occurred()) SWIG_fail;
15831 arg3 = (int)SWIG_As_int(obj2);
15832 if (PyErr_Occurred()) SWIG_fail;
15833 {
15834 PyThreadState* __tstate = wxPyBeginAllowThreads();
15835 (arg1)->base_DoSetClientSize(arg2,arg3);
15836
15837 wxPyEndAllowThreads(__tstate);
15838 if (PyErr_Occurred()) SWIG_fail;
15839 }
15840 Py_INCREF(Py_None); resultobj = Py_None;
15841 return resultobj;
15842 fail:
15843 return NULL;
15844 }
15845
15846
15847 static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
15848 PyObject *resultobj;
15849 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15850 int arg2 ;
15851 int arg3 ;
15852 PyObject * obj0 = 0 ;
15853 PyObject * obj1 = 0 ;
15854 PyObject * obj2 = 0 ;
15855 char *kwnames[] = {
15856 (char *) "self",(char *) "x",(char *) "y", NULL
15857 };
15858
15859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15860 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15861 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15862 arg2 = (int)SWIG_As_int(obj1);
15863 if (PyErr_Occurred()) SWIG_fail;
15864 arg3 = (int)SWIG_As_int(obj2);
15865 if (PyErr_Occurred()) SWIG_fail;
15866 {
15867 PyThreadState* __tstate = wxPyBeginAllowThreads();
15868 (arg1)->base_DoSetVirtualSize(arg2,arg3);
15869
15870 wxPyEndAllowThreads(__tstate);
15871 if (PyErr_Occurred()) SWIG_fail;
15872 }
15873 Py_INCREF(Py_None); resultobj = Py_None;
15874 return resultobj;
15875 fail:
15876 return NULL;
15877 }
15878
15879
15880 static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
15881 PyObject *resultobj;
15882 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15883 int *arg2 = (int *) 0 ;
15884 int *arg3 = (int *) 0 ;
15885 int temp2 ;
15886 int res2 = 0 ;
15887 int temp3 ;
15888 int res3 = 0 ;
15889 PyObject * obj0 = 0 ;
15890 char *kwnames[] = {
15891 (char *) "self", NULL
15892 };
15893
15894 arg2 = &temp2; res2 = SWIG_NEWOBJ;
15895 arg3 = &temp3; res3 = SWIG_NEWOBJ;
15896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
15897 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15898 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15899 {
15900 PyThreadState* __tstate = wxPyBeginAllowThreads();
15901 ((wxPyWindow const *)arg1)->base_DoGetSize(arg2,arg3);
15902
15903 wxPyEndAllowThreads(__tstate);
15904 if (PyErr_Occurred()) SWIG_fail;
15905 }
15906 Py_INCREF(Py_None); resultobj = Py_None;
15907 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
15908 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
15909 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
15910 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
15911 return resultobj;
15912 fail:
15913 return NULL;
15914 }
15915
15916
15917 static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
15918 PyObject *resultobj;
15919 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15920 int *arg2 = (int *) 0 ;
15921 int *arg3 = (int *) 0 ;
15922 int temp2 ;
15923 int res2 = 0 ;
15924 int temp3 ;
15925 int res3 = 0 ;
15926 PyObject * obj0 = 0 ;
15927 char *kwnames[] = {
15928 (char *) "self", NULL
15929 };
15930
15931 arg2 = &temp2; res2 = SWIG_NEWOBJ;
15932 arg3 = &temp3; res3 = SWIG_NEWOBJ;
15933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
15934 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15935 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15936 {
15937 PyThreadState* __tstate = wxPyBeginAllowThreads();
15938 ((wxPyWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
15939
15940 wxPyEndAllowThreads(__tstate);
15941 if (PyErr_Occurred()) SWIG_fail;
15942 }
15943 Py_INCREF(Py_None); resultobj = Py_None;
15944 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
15945 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
15946 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
15947 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
15948 return resultobj;
15949 fail:
15950 return NULL;
15951 }
15952
15953
15954 static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
15955 PyObject *resultobj;
15956 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15957 int *arg2 = (int *) 0 ;
15958 int *arg3 = (int *) 0 ;
15959 int temp2 ;
15960 int res2 = 0 ;
15961 int temp3 ;
15962 int res3 = 0 ;
15963 PyObject * obj0 = 0 ;
15964 char *kwnames[] = {
15965 (char *) "self", NULL
15966 };
15967
15968 arg2 = &temp2; res2 = SWIG_NEWOBJ;
15969 arg3 = &temp3; res3 = SWIG_NEWOBJ;
15970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
15971 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15972 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15973 {
15974 PyThreadState* __tstate = wxPyBeginAllowThreads();
15975 ((wxPyWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
15976
15977 wxPyEndAllowThreads(__tstate);
15978 if (PyErr_Occurred()) SWIG_fail;
15979 }
15980 Py_INCREF(Py_None); resultobj = Py_None;
15981 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
15982 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
15983 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
15984 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
15985 return resultobj;
15986 fail:
15987 return NULL;
15988 }
15989
15990
15991 static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
15992 PyObject *resultobj;
15993 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15994 wxSize result;
15995 PyObject * obj0 = 0 ;
15996 char *kwnames[] = {
15997 (char *) "self", NULL
15998 };
15999
16000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
16001 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16002 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16003 {
16004 PyThreadState* __tstate = wxPyBeginAllowThreads();
16005 result = ((wxPyWindow const *)arg1)->base_DoGetVirtualSize();
16006
16007 wxPyEndAllowThreads(__tstate);
16008 if (PyErr_Occurred()) SWIG_fail;
16009 }
16010 {
16011 wxSize * resultptr;
16012 resultptr = new wxSize((wxSize &) result);
16013 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16014 }
16015 return resultobj;
16016 fail:
16017 return NULL;
16018 }
16019
16020
16021 static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
16022 PyObject *resultobj;
16023 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16024 wxSize result;
16025 PyObject * obj0 = 0 ;
16026 char *kwnames[] = {
16027 (char *) "self", NULL
16028 };
16029
16030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
16031 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16032 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16033 {
16034 PyThreadState* __tstate = wxPyBeginAllowThreads();
16035 result = ((wxPyWindow const *)arg1)->base_DoGetBestSize();
16036
16037 wxPyEndAllowThreads(__tstate);
16038 if (PyErr_Occurred()) SWIG_fail;
16039 }
16040 {
16041 wxSize * resultptr;
16042 resultptr = new wxSize((wxSize &) result);
16043 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16044 }
16045 return resultobj;
16046 fail:
16047 return NULL;
16048 }
16049
16050
16051 static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
16052 PyObject *resultobj;
16053 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16054 PyObject * obj0 = 0 ;
16055 char *kwnames[] = {
16056 (char *) "self", NULL
16057 };
16058
16059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_InitDialog",kwnames,&obj0)) goto fail;
16060 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16061 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16062 {
16063 PyThreadState* __tstate = wxPyBeginAllowThreads();
16064 (arg1)->base_InitDialog();
16065
16066 wxPyEndAllowThreads(__tstate);
16067 if (PyErr_Occurred()) SWIG_fail;
16068 }
16069 Py_INCREF(Py_None); resultobj = Py_None;
16070 return resultobj;
16071 fail:
16072 return NULL;
16073 }
16074
16075
16076 static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
16077 PyObject *resultobj;
16078 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16079 bool result;
16080 PyObject * obj0 = 0 ;
16081 char *kwnames[] = {
16082 (char *) "self", NULL
16083 };
16084
16085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
16086 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16087 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16088 {
16089 PyThreadState* __tstate = wxPyBeginAllowThreads();
16090 result = (bool)(arg1)->base_TransferDataToWindow();
16091
16092 wxPyEndAllowThreads(__tstate);
16093 if (PyErr_Occurred()) SWIG_fail;
16094 }
16095 {
16096 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16097 }
16098 return resultobj;
16099 fail:
16100 return NULL;
16101 }
16102
16103
16104 static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
16105 PyObject *resultobj;
16106 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16107 bool result;
16108 PyObject * obj0 = 0 ;
16109 char *kwnames[] = {
16110 (char *) "self", NULL
16111 };
16112
16113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataFromWindow",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 result = (bool)(arg1)->base_TransferDataFromWindow();
16119
16120 wxPyEndAllowThreads(__tstate);
16121 if (PyErr_Occurred()) SWIG_fail;
16122 }
16123 {
16124 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16125 }
16126 return resultobj;
16127 fail:
16128 return NULL;
16129 }
16130
16131
16132 static PyObject *_wrap_PyWindow_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
16133 PyObject *resultobj;
16134 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16135 bool result;
16136 PyObject * obj0 = 0 ;
16137 char *kwnames[] = {
16138 (char *) "self", NULL
16139 };
16140
16141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_Validate",kwnames,&obj0)) goto fail;
16142 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16143 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16144 {
16145 PyThreadState* __tstate = wxPyBeginAllowThreads();
16146 result = (bool)(arg1)->base_Validate();
16147
16148 wxPyEndAllowThreads(__tstate);
16149 if (PyErr_Occurred()) SWIG_fail;
16150 }
16151 {
16152 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16153 }
16154 return resultobj;
16155 fail:
16156 return NULL;
16157 }
16158
16159
16160 static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
16161 PyObject *resultobj;
16162 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16163 bool result;
16164 PyObject * obj0 = 0 ;
16165 char *kwnames[] = {
16166 (char *) "self", NULL
16167 };
16168
16169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
16170 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16172 {
16173 PyThreadState* __tstate = wxPyBeginAllowThreads();
16174 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocus();
16175
16176 wxPyEndAllowThreads(__tstate);
16177 if (PyErr_Occurred()) SWIG_fail;
16178 }
16179 {
16180 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16181 }
16182 return resultobj;
16183 fail:
16184 return NULL;
16185 }
16186
16187
16188 static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
16189 PyObject *resultobj;
16190 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16191 bool result;
16192 PyObject * obj0 = 0 ;
16193 char *kwnames[] = {
16194 (char *) "self", NULL
16195 };
16196
16197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
16198 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16199 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16200 {
16201 PyThreadState* __tstate = wxPyBeginAllowThreads();
16202 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
16203
16204 wxPyEndAllowThreads(__tstate);
16205 if (PyErr_Occurred()) SWIG_fail;
16206 }
16207 {
16208 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16209 }
16210 return resultobj;
16211 fail:
16212 return NULL;
16213 }
16214
16215
16216 static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
16217 PyObject *resultobj;
16218 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16219 wxSize result;
16220 PyObject * obj0 = 0 ;
16221 char *kwnames[] = {
16222 (char *) "self", NULL
16223 };
16224
16225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
16226 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16227 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16228 {
16229 PyThreadState* __tstate = wxPyBeginAllowThreads();
16230 result = ((wxPyWindow const *)arg1)->base_GetMaxSize();
16231
16232 wxPyEndAllowThreads(__tstate);
16233 if (PyErr_Occurred()) SWIG_fail;
16234 }
16235 {
16236 wxSize * resultptr;
16237 resultptr = new wxSize((wxSize &) result);
16238 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16239 }
16240 return resultobj;
16241 fail:
16242 return NULL;
16243 }
16244
16245
16246 static PyObject *_wrap_PyWindow_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
16247 PyObject *resultobj;
16248 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16249 wxWindow *arg2 = (wxWindow *) 0 ;
16250 PyObject * obj0 = 0 ;
16251 PyObject * obj1 = 0 ;
16252 char *kwnames[] = {
16253 (char *) "self",(char *) "child", NULL
16254 };
16255
16256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
16257 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16258 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16259 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16260 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16261 {
16262 PyThreadState* __tstate = wxPyBeginAllowThreads();
16263 (arg1)->base_AddChild(arg2);
16264
16265 wxPyEndAllowThreads(__tstate);
16266 if (PyErr_Occurred()) SWIG_fail;
16267 }
16268 Py_INCREF(Py_None); resultobj = Py_None;
16269 return resultobj;
16270 fail:
16271 return NULL;
16272 }
16273
16274
16275 static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
16276 PyObject *resultobj;
16277 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16278 wxWindow *arg2 = (wxWindow *) 0 ;
16279 PyObject * obj0 = 0 ;
16280 PyObject * obj1 = 0 ;
16281 char *kwnames[] = {
16282 (char *) "self",(char *) "child", NULL
16283 };
16284
16285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
16286 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16287 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16288 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16289 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16290 {
16291 PyThreadState* __tstate = wxPyBeginAllowThreads();
16292 (arg1)->base_RemoveChild(arg2);
16293
16294 wxPyEndAllowThreads(__tstate);
16295 if (PyErr_Occurred()) SWIG_fail;
16296 }
16297 Py_INCREF(Py_None); resultobj = Py_None;
16298 return resultobj;
16299 fail:
16300 return NULL;
16301 }
16302
16303
16304 static PyObject *_wrap_PyWindow_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
16305 PyObject *resultobj;
16306 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16307 bool result;
16308 PyObject * obj0 = 0 ;
16309 char *kwnames[] = {
16310 (char *) "self", NULL
16311 };
16312
16313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
16314 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16315 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16316 {
16317 PyThreadState* __tstate = wxPyBeginAllowThreads();
16318 result = (bool)((wxPyWindow const *)arg1)->base_ShouldInheritColours();
16319
16320 wxPyEndAllowThreads(__tstate);
16321 if (PyErr_Occurred()) SWIG_fail;
16322 }
16323 {
16324 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16325 }
16326 return resultobj;
16327 fail:
16328 return NULL;
16329 }
16330
16331
16332 static PyObject *_wrap_PyWindow_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) {
16333 PyObject *resultobj;
16334 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16335 wxColour *arg2 = 0 ;
16336 wxColour temp2 ;
16337 PyObject * obj0 = 0 ;
16338 PyObject * obj1 = 0 ;
16339 char *kwnames[] = {
16340 (char *) "self",(char *) "c", NULL
16341 };
16342
16343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
16344 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16345 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16346 {
16347 arg2 = &temp2;
16348 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16349 }
16350 {
16351 PyThreadState* __tstate = wxPyBeginAllowThreads();
16352 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
16353
16354 wxPyEndAllowThreads(__tstate);
16355 if (PyErr_Occurred()) SWIG_fail;
16356 }
16357 Py_INCREF(Py_None); resultobj = Py_None;
16358 return resultobj;
16359 fail:
16360 return NULL;
16361 }
16362
16363
16364 static PyObject *_wrap_PyWindow_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
16365 PyObject *resultobj;
16366 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16367 wxVisualAttributes result;
16368 PyObject * obj0 = 0 ;
16369 char *kwnames[] = {
16370 (char *) "self", NULL
16371 };
16372
16373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
16374 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16375 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16376 {
16377 PyThreadState* __tstate = wxPyBeginAllowThreads();
16378 result = (arg1)->base_GetDefaultAttributes();
16379
16380 wxPyEndAllowThreads(__tstate);
16381 if (PyErr_Occurred()) SWIG_fail;
16382 }
16383 {
16384 wxVisualAttributes * resultptr;
16385 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
16386 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
16387 }
16388 return resultobj;
16389 fail:
16390 return NULL;
16391 }
16392
16393
16394 static PyObject * PyWindow_swigregister(PyObject *, PyObject *args) {
16395 PyObject *obj;
16396 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16397 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj);
16398 Py_INCREF(obj);
16399 return Py_BuildValue((char *)"");
16400 }
16401 static PyObject *_wrap_new_PyPanel(PyObject *, PyObject *args, PyObject *kwargs) {
16402 PyObject *resultobj;
16403 wxWindow *arg1 = (wxWindow *) 0 ;
16404 int arg2 = (int) (int)-1 ;
16405 wxPoint const &arg3_defvalue = wxDefaultPosition ;
16406 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
16407 wxSize const &arg4_defvalue = wxDefaultSize ;
16408 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
16409 long arg5 = (long) 0 ;
16410 wxString const &arg6_defvalue = wxPyPanelNameStr ;
16411 wxString *arg6 = (wxString *) &arg6_defvalue ;
16412 wxPyPanel *result;
16413 wxPoint temp3 ;
16414 wxSize temp4 ;
16415 bool temp6 = false ;
16416 PyObject * obj0 = 0 ;
16417 PyObject * obj1 = 0 ;
16418 PyObject * obj2 = 0 ;
16419 PyObject * obj3 = 0 ;
16420 PyObject * obj4 = 0 ;
16421 PyObject * obj5 = 0 ;
16422 char *kwnames[] = {
16423 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16424 };
16425
16426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16427 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
16428 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16429 if (obj1) {
16430 arg2 = (int)SWIG_As_int(obj1);
16431 if (PyErr_Occurred()) SWIG_fail;
16432 }
16433 if (obj2) {
16434 {
16435 arg3 = &temp3;
16436 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
16437 }
16438 }
16439 if (obj3) {
16440 {
16441 arg4 = &temp4;
16442 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
16443 }
16444 }
16445 if (obj4) {
16446 arg5 = (long)SWIG_As_long(obj4);
16447 if (PyErr_Occurred()) SWIG_fail;
16448 }
16449 if (obj5) {
16450 {
16451 arg6 = wxString_in_helper(obj5);
16452 if (arg6 == NULL) SWIG_fail;
16453 temp6 = true;
16454 }
16455 }
16456 {
16457 if (!wxPyCheckForApp()) SWIG_fail;
16458 PyThreadState* __tstate = wxPyBeginAllowThreads();
16459 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
16460
16461 wxPyEndAllowThreads(__tstate);
16462 if (PyErr_Occurred()) SWIG_fail;
16463 }
16464 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
16465 {
16466 if (temp6)
16467 delete arg6;
16468 }
16469 return resultobj;
16470 fail:
16471 {
16472 if (temp6)
16473 delete arg6;
16474 }
16475 return NULL;
16476 }
16477
16478
16479 static PyObject *_wrap_new_PrePyPanel(PyObject *, PyObject *args, PyObject *kwargs) {
16480 PyObject *resultobj;
16481 wxPyPanel *result;
16482 char *kwnames[] = {
16483 NULL
16484 };
16485
16486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyPanel",kwnames)) goto fail;
16487 {
16488 if (!wxPyCheckForApp()) SWIG_fail;
16489 PyThreadState* __tstate = wxPyBeginAllowThreads();
16490 result = (wxPyPanel *)new wxPyPanel();
16491
16492 wxPyEndAllowThreads(__tstate);
16493 if (PyErr_Occurred()) SWIG_fail;
16494 }
16495 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
16496 return resultobj;
16497 fail:
16498 return NULL;
16499 }
16500
16501
16502 static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
16503 PyObject *resultobj;
16504 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16505 PyObject *arg2 = (PyObject *) 0 ;
16506 PyObject *arg3 = (PyObject *) 0 ;
16507 PyObject * obj0 = 0 ;
16508 PyObject * obj1 = 0 ;
16509 PyObject * obj2 = 0 ;
16510 char *kwnames[] = {
16511 (char *) "self",(char *) "self",(char *) "_class", NULL
16512 };
16513
16514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
16515 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16516 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16517 arg2 = obj1;
16518 arg3 = obj2;
16519 {
16520 PyThreadState* __tstate = wxPyBeginAllowThreads();
16521 (arg1)->_setCallbackInfo(arg2,arg3);
16522
16523 wxPyEndAllowThreads(__tstate);
16524 if (PyErr_Occurred()) SWIG_fail;
16525 }
16526 Py_INCREF(Py_None); resultobj = Py_None;
16527 return resultobj;
16528 fail:
16529 return NULL;
16530 }
16531
16532
16533 static PyObject *_wrap_PyPanel_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
16534 PyObject *resultobj;
16535 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16536 wxSize *arg2 = 0 ;
16537 wxSize temp2 ;
16538 PyObject * obj0 = 0 ;
16539 PyObject * obj1 = 0 ;
16540 char *kwnames[] = {
16541 (char *) "self",(char *) "size", NULL
16542 };
16543
16544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
16545 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16546 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16547 {
16548 arg2 = &temp2;
16549 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16550 }
16551 {
16552 PyThreadState* __tstate = wxPyBeginAllowThreads();
16553 (arg1)->SetBestSize((wxSize const &)*arg2);
16554
16555 wxPyEndAllowThreads(__tstate);
16556 if (PyErr_Occurred()) SWIG_fail;
16557 }
16558 Py_INCREF(Py_None); resultobj = Py_None;
16559 return resultobj;
16560 fail:
16561 return NULL;
16562 }
16563
16564
16565 static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
16566 PyObject *resultobj;
16567 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16568 int arg2 ;
16569 int arg3 ;
16570 int arg4 ;
16571 int arg5 ;
16572 PyObject * obj0 = 0 ;
16573 PyObject * obj1 = 0 ;
16574 PyObject * obj2 = 0 ;
16575 PyObject * obj3 = 0 ;
16576 PyObject * obj4 = 0 ;
16577 char *kwnames[] = {
16578 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16579 };
16580
16581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16582 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16583 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16584 arg2 = (int)SWIG_As_int(obj1);
16585 if (PyErr_Occurred()) SWIG_fail;
16586 arg3 = (int)SWIG_As_int(obj2);
16587 if (PyErr_Occurred()) SWIG_fail;
16588 arg4 = (int)SWIG_As_int(obj3);
16589 if (PyErr_Occurred()) SWIG_fail;
16590 arg5 = (int)SWIG_As_int(obj4);
16591 if (PyErr_Occurred()) SWIG_fail;
16592 {
16593 PyThreadState* __tstate = wxPyBeginAllowThreads();
16594 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
16595
16596 wxPyEndAllowThreads(__tstate);
16597 if (PyErr_Occurred()) SWIG_fail;
16598 }
16599 Py_INCREF(Py_None); resultobj = Py_None;
16600 return resultobj;
16601 fail:
16602 return NULL;
16603 }
16604
16605
16606 static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
16607 PyObject *resultobj;
16608 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16609 int arg2 ;
16610 int arg3 ;
16611 int arg4 ;
16612 int arg5 ;
16613 int arg6 = (int) wxSIZE_AUTO ;
16614 PyObject * obj0 = 0 ;
16615 PyObject * obj1 = 0 ;
16616 PyObject * obj2 = 0 ;
16617 PyObject * obj3 = 0 ;
16618 PyObject * obj4 = 0 ;
16619 PyObject * obj5 = 0 ;
16620 char *kwnames[] = {
16621 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
16622 };
16623
16624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16625 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16626 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16627 arg2 = (int)SWIG_As_int(obj1);
16628 if (PyErr_Occurred()) SWIG_fail;
16629 arg3 = (int)SWIG_As_int(obj2);
16630 if (PyErr_Occurred()) SWIG_fail;
16631 arg4 = (int)SWIG_As_int(obj3);
16632 if (PyErr_Occurred()) SWIG_fail;
16633 arg5 = (int)SWIG_As_int(obj4);
16634 if (PyErr_Occurred()) SWIG_fail;
16635 if (obj5) {
16636 arg6 = (int)SWIG_As_int(obj5);
16637 if (PyErr_Occurred()) SWIG_fail;
16638 }
16639 {
16640 PyThreadState* __tstate = wxPyBeginAllowThreads();
16641 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
16642
16643 wxPyEndAllowThreads(__tstate);
16644 if (PyErr_Occurred()) SWIG_fail;
16645 }
16646 Py_INCREF(Py_None); resultobj = Py_None;
16647 return resultobj;
16648 fail:
16649 return NULL;
16650 }
16651
16652
16653 static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
16654 PyObject *resultobj;
16655 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16656 int arg2 ;
16657 int arg3 ;
16658 PyObject * obj0 = 0 ;
16659 PyObject * obj1 = 0 ;
16660 PyObject * obj2 = 0 ;
16661 char *kwnames[] = {
16662 (char *) "self",(char *) "width",(char *) "height", NULL
16663 };
16664
16665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16666 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16667 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16668 arg2 = (int)SWIG_As_int(obj1);
16669 if (PyErr_Occurred()) SWIG_fail;
16670 arg3 = (int)SWIG_As_int(obj2);
16671 if (PyErr_Occurred()) SWIG_fail;
16672 {
16673 PyThreadState* __tstate = wxPyBeginAllowThreads();
16674 (arg1)->base_DoSetClientSize(arg2,arg3);
16675
16676 wxPyEndAllowThreads(__tstate);
16677 if (PyErr_Occurred()) SWIG_fail;
16678 }
16679 Py_INCREF(Py_None); resultobj = Py_None;
16680 return resultobj;
16681 fail:
16682 return NULL;
16683 }
16684
16685
16686 static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
16687 PyObject *resultobj;
16688 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16689 int arg2 ;
16690 int arg3 ;
16691 PyObject * obj0 = 0 ;
16692 PyObject * obj1 = 0 ;
16693 PyObject * obj2 = 0 ;
16694 char *kwnames[] = {
16695 (char *) "self",(char *) "x",(char *) "y", NULL
16696 };
16697
16698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16699 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16700 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16701 arg2 = (int)SWIG_As_int(obj1);
16702 if (PyErr_Occurred()) SWIG_fail;
16703 arg3 = (int)SWIG_As_int(obj2);
16704 if (PyErr_Occurred()) SWIG_fail;
16705 {
16706 PyThreadState* __tstate = wxPyBeginAllowThreads();
16707 (arg1)->base_DoSetVirtualSize(arg2,arg3);
16708
16709 wxPyEndAllowThreads(__tstate);
16710 if (PyErr_Occurred()) SWIG_fail;
16711 }
16712 Py_INCREF(Py_None); resultobj = Py_None;
16713 return resultobj;
16714 fail:
16715 return NULL;
16716 }
16717
16718
16719 static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
16720 PyObject *resultobj;
16721 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16722 int *arg2 = (int *) 0 ;
16723 int *arg3 = (int *) 0 ;
16724 int temp2 ;
16725 int res2 = 0 ;
16726 int temp3 ;
16727 int res3 = 0 ;
16728 PyObject * obj0 = 0 ;
16729 char *kwnames[] = {
16730 (char *) "self", NULL
16731 };
16732
16733 arg2 = &temp2; res2 = SWIG_NEWOBJ;
16734 arg3 = &temp3; res3 = SWIG_NEWOBJ;
16735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetSize",kwnames,&obj0)) goto fail;
16736 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16737 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16738 {
16739 PyThreadState* __tstate = wxPyBeginAllowThreads();
16740 ((wxPyPanel const *)arg1)->base_DoGetSize(arg2,arg3);
16741
16742 wxPyEndAllowThreads(__tstate);
16743 if (PyErr_Occurred()) SWIG_fail;
16744 }
16745 Py_INCREF(Py_None); resultobj = Py_None;
16746 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
16747 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
16748 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
16749 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
16750 return resultobj;
16751 fail:
16752 return NULL;
16753 }
16754
16755
16756 static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
16757 PyObject *resultobj;
16758 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16759 int *arg2 = (int *) 0 ;
16760 int *arg3 = (int *) 0 ;
16761 int temp2 ;
16762 int res2 = 0 ;
16763 int temp3 ;
16764 int res3 = 0 ;
16765 PyObject * obj0 = 0 ;
16766 char *kwnames[] = {
16767 (char *) "self", NULL
16768 };
16769
16770 arg2 = &temp2; res2 = SWIG_NEWOBJ;
16771 arg3 = &temp3; res3 = SWIG_NEWOBJ;
16772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetClientSize",kwnames,&obj0)) goto fail;
16773 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16774 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16775 {
16776 PyThreadState* __tstate = wxPyBeginAllowThreads();
16777 ((wxPyPanel const *)arg1)->base_DoGetClientSize(arg2,arg3);
16778
16779 wxPyEndAllowThreads(__tstate);
16780 if (PyErr_Occurred()) SWIG_fail;
16781 }
16782 Py_INCREF(Py_None); resultobj = Py_None;
16783 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
16784 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
16785 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
16786 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
16787 return resultobj;
16788 fail:
16789 return NULL;
16790 }
16791
16792
16793 static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
16794 PyObject *resultobj;
16795 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16796 int *arg2 = (int *) 0 ;
16797 int *arg3 = (int *) 0 ;
16798 int temp2 ;
16799 int res2 = 0 ;
16800 int temp3 ;
16801 int res3 = 0 ;
16802 PyObject * obj0 = 0 ;
16803 char *kwnames[] = {
16804 (char *) "self", NULL
16805 };
16806
16807 arg2 = &temp2; res2 = SWIG_NEWOBJ;
16808 arg3 = &temp3; res3 = SWIG_NEWOBJ;
16809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetPosition",kwnames,&obj0)) goto fail;
16810 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16811 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16812 {
16813 PyThreadState* __tstate = wxPyBeginAllowThreads();
16814 ((wxPyPanel const *)arg1)->base_DoGetPosition(arg2,arg3);
16815
16816 wxPyEndAllowThreads(__tstate);
16817 if (PyErr_Occurred()) SWIG_fail;
16818 }
16819 Py_INCREF(Py_None); resultobj = Py_None;
16820 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
16821 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
16822 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
16823 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
16824 return resultobj;
16825 fail:
16826 return NULL;
16827 }
16828
16829
16830 static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
16831 PyObject *resultobj;
16832 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16833 wxSize result;
16834 PyObject * obj0 = 0 ;
16835 char *kwnames[] = {
16836 (char *) "self", NULL
16837 };
16838
16839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
16840 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16841 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16842 {
16843 PyThreadState* __tstate = wxPyBeginAllowThreads();
16844 result = ((wxPyPanel const *)arg1)->base_DoGetVirtualSize();
16845
16846 wxPyEndAllowThreads(__tstate);
16847 if (PyErr_Occurred()) SWIG_fail;
16848 }
16849 {
16850 wxSize * resultptr;
16851 resultptr = new wxSize((wxSize &) result);
16852 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16853 }
16854 return resultobj;
16855 fail:
16856 return NULL;
16857 }
16858
16859
16860 static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
16861 PyObject *resultobj;
16862 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16863 wxSize result;
16864 PyObject * obj0 = 0 ;
16865 char *kwnames[] = {
16866 (char *) "self", NULL
16867 };
16868
16869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetBestSize",kwnames,&obj0)) goto fail;
16870 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16871 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16872 {
16873 PyThreadState* __tstate = wxPyBeginAllowThreads();
16874 result = ((wxPyPanel const *)arg1)->base_DoGetBestSize();
16875
16876 wxPyEndAllowThreads(__tstate);
16877 if (PyErr_Occurred()) SWIG_fail;
16878 }
16879 {
16880 wxSize * resultptr;
16881 resultptr = new wxSize((wxSize &) result);
16882 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16883 }
16884 return resultobj;
16885 fail:
16886 return NULL;
16887 }
16888
16889
16890 static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
16891 PyObject *resultobj;
16892 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16893 PyObject * obj0 = 0 ;
16894 char *kwnames[] = {
16895 (char *) "self", NULL
16896 };
16897
16898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_InitDialog",kwnames,&obj0)) goto fail;
16899 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16900 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16901 {
16902 PyThreadState* __tstate = wxPyBeginAllowThreads();
16903 (arg1)->base_InitDialog();
16904
16905 wxPyEndAllowThreads(__tstate);
16906 if (PyErr_Occurred()) SWIG_fail;
16907 }
16908 Py_INCREF(Py_None); resultobj = Py_None;
16909 return resultobj;
16910 fail:
16911 return NULL;
16912 }
16913
16914
16915 static PyObject *_wrap_PyPanel_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
16916 PyObject *resultobj;
16917 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16918 bool result;
16919 PyObject * obj0 = 0 ;
16920 char *kwnames[] = {
16921 (char *) "self", NULL
16922 };
16923
16924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
16925 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16926 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16927 {
16928 PyThreadState* __tstate = wxPyBeginAllowThreads();
16929 result = (bool)(arg1)->base_TransferDataToWindow();
16930
16931 wxPyEndAllowThreads(__tstate);
16932 if (PyErr_Occurred()) SWIG_fail;
16933 }
16934 {
16935 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16936 }
16937 return resultobj;
16938 fail:
16939 return NULL;
16940 }
16941
16942
16943 static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
16944 PyObject *resultobj;
16945 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16946 bool result;
16947 PyObject * obj0 = 0 ;
16948 char *kwnames[] = {
16949 (char *) "self", NULL
16950 };
16951
16952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataFromWindow",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 result = (bool)(arg1)->base_TransferDataFromWindow();
16958
16959 wxPyEndAllowThreads(__tstate);
16960 if (PyErr_Occurred()) SWIG_fail;
16961 }
16962 {
16963 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16964 }
16965 return resultobj;
16966 fail:
16967 return NULL;
16968 }
16969
16970
16971 static PyObject *_wrap_PyPanel_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
16972 PyObject *resultobj;
16973 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16974 bool result;
16975 PyObject * obj0 = 0 ;
16976 char *kwnames[] = {
16977 (char *) "self", NULL
16978 };
16979
16980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_Validate",kwnames,&obj0)) goto fail;
16981 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16982 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16983 {
16984 PyThreadState* __tstate = wxPyBeginAllowThreads();
16985 result = (bool)(arg1)->base_Validate();
16986
16987 wxPyEndAllowThreads(__tstate);
16988 if (PyErr_Occurred()) SWIG_fail;
16989 }
16990 {
16991 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16992 }
16993 return resultobj;
16994 fail:
16995 return NULL;
16996 }
16997
16998
16999 static PyObject *_wrap_PyPanel_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
17000 PyObject *resultobj;
17001 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17002 bool result;
17003 PyObject * obj0 = 0 ;
17004 char *kwnames[] = {
17005 (char *) "self", NULL
17006 };
17007
17008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocus",kwnames,&obj0)) goto fail;
17009 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17010 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17011 {
17012 PyThreadState* __tstate = wxPyBeginAllowThreads();
17013 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocus();
17014
17015 wxPyEndAllowThreads(__tstate);
17016 if (PyErr_Occurred()) SWIG_fail;
17017 }
17018 {
17019 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17020 }
17021 return resultobj;
17022 fail:
17023 return NULL;
17024 }
17025
17026
17027 static PyObject *_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
17028 PyObject *resultobj;
17029 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17030 bool result;
17031 PyObject * obj0 = 0 ;
17032 char *kwnames[] = {
17033 (char *) "self", NULL
17034 };
17035
17036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
17037 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17038 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17039 {
17040 PyThreadState* __tstate = wxPyBeginAllowThreads();
17041 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocusFromKeyboard();
17042
17043 wxPyEndAllowThreads(__tstate);
17044 if (PyErr_Occurred()) SWIG_fail;
17045 }
17046 {
17047 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17048 }
17049 return resultobj;
17050 fail:
17051 return NULL;
17052 }
17053
17054
17055 static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
17056 PyObject *resultobj;
17057 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17058 wxSize result;
17059 PyObject * obj0 = 0 ;
17060 char *kwnames[] = {
17061 (char *) "self", NULL
17062 };
17063
17064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetMaxSize",kwnames,&obj0)) goto fail;
17065 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17066 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17067 {
17068 PyThreadState* __tstate = wxPyBeginAllowThreads();
17069 result = ((wxPyPanel const *)arg1)->base_GetMaxSize();
17070
17071 wxPyEndAllowThreads(__tstate);
17072 if (PyErr_Occurred()) SWIG_fail;
17073 }
17074 {
17075 wxSize * resultptr;
17076 resultptr = new wxSize((wxSize &) result);
17077 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17078 }
17079 return resultobj;
17080 fail:
17081 return NULL;
17082 }
17083
17084
17085 static PyObject *_wrap_PyPanel_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
17086 PyObject *resultobj;
17087 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17088 wxWindow *arg2 = (wxWindow *) 0 ;
17089 PyObject * obj0 = 0 ;
17090 PyObject * obj1 = 0 ;
17091 char *kwnames[] = {
17092 (char *) "self",(char *) "child", NULL
17093 };
17094
17095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
17096 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17097 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17098 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17099 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17100 {
17101 PyThreadState* __tstate = wxPyBeginAllowThreads();
17102 (arg1)->base_AddChild(arg2);
17103
17104 wxPyEndAllowThreads(__tstate);
17105 if (PyErr_Occurred()) SWIG_fail;
17106 }
17107 Py_INCREF(Py_None); resultobj = Py_None;
17108 return resultobj;
17109 fail:
17110 return NULL;
17111 }
17112
17113
17114 static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
17115 PyObject *resultobj;
17116 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17117 wxWindow *arg2 = (wxWindow *) 0 ;
17118 PyObject * obj0 = 0 ;
17119 PyObject * obj1 = 0 ;
17120 char *kwnames[] = {
17121 (char *) "self",(char *) "child", NULL
17122 };
17123
17124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
17125 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17126 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17127 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17128 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17129 {
17130 PyThreadState* __tstate = wxPyBeginAllowThreads();
17131 (arg1)->base_RemoveChild(arg2);
17132
17133 wxPyEndAllowThreads(__tstate);
17134 if (PyErr_Occurred()) SWIG_fail;
17135 }
17136 Py_INCREF(Py_None); resultobj = Py_None;
17137 return resultobj;
17138 fail:
17139 return NULL;
17140 }
17141
17142
17143 static PyObject *_wrap_PyPanel_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
17144 PyObject *resultobj;
17145 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17146 bool result;
17147 PyObject * obj0 = 0 ;
17148 char *kwnames[] = {
17149 (char *) "self", NULL
17150 };
17151
17152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
17153 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17154 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17155 {
17156 PyThreadState* __tstate = wxPyBeginAllowThreads();
17157 result = (bool)((wxPyPanel const *)arg1)->base_ShouldInheritColours();
17158
17159 wxPyEndAllowThreads(__tstate);
17160 if (PyErr_Occurred()) SWIG_fail;
17161 }
17162 {
17163 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17164 }
17165 return resultobj;
17166 fail:
17167 return NULL;
17168 }
17169
17170
17171 static PyObject *_wrap_PyPanel_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) {
17172 PyObject *resultobj;
17173 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17174 wxColour *arg2 = 0 ;
17175 wxColour temp2 ;
17176 PyObject * obj0 = 0 ;
17177 PyObject * obj1 = 0 ;
17178 char *kwnames[] = {
17179 (char *) "self",(char *) "c", NULL
17180 };
17181
17182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
17183 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17184 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17185 {
17186 arg2 = &temp2;
17187 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17188 }
17189 {
17190 PyThreadState* __tstate = wxPyBeginAllowThreads();
17191 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
17192
17193 wxPyEndAllowThreads(__tstate);
17194 if (PyErr_Occurred()) SWIG_fail;
17195 }
17196 Py_INCREF(Py_None); resultobj = Py_None;
17197 return resultobj;
17198 fail:
17199 return NULL;
17200 }
17201
17202
17203 static PyObject *_wrap_PyPanel_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
17204 PyObject *resultobj;
17205 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17206 wxVisualAttributes result;
17207 PyObject * obj0 = 0 ;
17208 char *kwnames[] = {
17209 (char *) "self", NULL
17210 };
17211
17212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
17213 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17214 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17215 {
17216 PyThreadState* __tstate = wxPyBeginAllowThreads();
17217 result = (arg1)->base_GetDefaultAttributes();
17218
17219 wxPyEndAllowThreads(__tstate);
17220 if (PyErr_Occurred()) SWIG_fail;
17221 }
17222 {
17223 wxVisualAttributes * resultptr;
17224 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
17225 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
17226 }
17227 return resultobj;
17228 fail:
17229 return NULL;
17230 }
17231
17232
17233 static PyObject * PyPanel_swigregister(PyObject *, PyObject *args) {
17234 PyObject *obj;
17235 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17236 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj);
17237 Py_INCREF(obj);
17238 return Py_BuildValue((char *)"");
17239 }
17240 static PyObject *_wrap_new_PyScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17241 PyObject *resultobj;
17242 wxWindow *arg1 = (wxWindow *) 0 ;
17243 int arg2 = (int) (int)-1 ;
17244 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17245 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17246 wxSize const &arg4_defvalue = wxDefaultSize ;
17247 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17248 long arg5 = (long) 0 ;
17249 wxString const &arg6_defvalue = wxPyPanelNameStr ;
17250 wxString *arg6 = (wxString *) &arg6_defvalue ;
17251 wxPyScrolledWindow *result;
17252 wxPoint temp3 ;
17253 wxSize temp4 ;
17254 bool temp6 = false ;
17255 PyObject * obj0 = 0 ;
17256 PyObject * obj1 = 0 ;
17257 PyObject * obj2 = 0 ;
17258 PyObject * obj3 = 0 ;
17259 PyObject * obj4 = 0 ;
17260 PyObject * obj5 = 0 ;
17261 char *kwnames[] = {
17262 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17263 };
17264
17265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17266 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
17267 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17268 if (obj1) {
17269 arg2 = (int)SWIG_As_int(obj1);
17270 if (PyErr_Occurred()) SWIG_fail;
17271 }
17272 if (obj2) {
17273 {
17274 arg3 = &temp3;
17275 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17276 }
17277 }
17278 if (obj3) {
17279 {
17280 arg4 = &temp4;
17281 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17282 }
17283 }
17284 if (obj4) {
17285 arg5 = (long)SWIG_As_long(obj4);
17286 if (PyErr_Occurred()) SWIG_fail;
17287 }
17288 if (obj5) {
17289 {
17290 arg6 = wxString_in_helper(obj5);
17291 if (arg6 == NULL) SWIG_fail;
17292 temp6 = true;
17293 }
17294 }
17295 {
17296 if (!wxPyCheckForApp()) SWIG_fail;
17297 PyThreadState* __tstate = wxPyBeginAllowThreads();
17298 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17299
17300 wxPyEndAllowThreads(__tstate);
17301 if (PyErr_Occurred()) SWIG_fail;
17302 }
17303 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
17304 {
17305 if (temp6)
17306 delete arg6;
17307 }
17308 return resultobj;
17309 fail:
17310 {
17311 if (temp6)
17312 delete arg6;
17313 }
17314 return NULL;
17315 }
17316
17317
17318 static PyObject *_wrap_new_PrePyScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17319 PyObject *resultobj;
17320 wxPyScrolledWindow *result;
17321 char *kwnames[] = {
17322 NULL
17323 };
17324
17325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyScrolledWindow",kwnames)) goto fail;
17326 {
17327 if (!wxPyCheckForApp()) SWIG_fail;
17328 PyThreadState* __tstate = wxPyBeginAllowThreads();
17329 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
17330
17331 wxPyEndAllowThreads(__tstate);
17332 if (PyErr_Occurred()) SWIG_fail;
17333 }
17334 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
17335 return resultobj;
17336 fail:
17337 return NULL;
17338 }
17339
17340
17341 static PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
17342 PyObject *resultobj;
17343 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17344 PyObject *arg2 = (PyObject *) 0 ;
17345 PyObject *arg3 = (PyObject *) 0 ;
17346 PyObject * obj0 = 0 ;
17347 PyObject * obj1 = 0 ;
17348 PyObject * obj2 = 0 ;
17349 char *kwnames[] = {
17350 (char *) "self",(char *) "self",(char *) "_class", NULL
17351 };
17352
17353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
17354 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17355 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17356 arg2 = obj1;
17357 arg3 = obj2;
17358 {
17359 PyThreadState* __tstate = wxPyBeginAllowThreads();
17360 (arg1)->_setCallbackInfo(arg2,arg3);
17361
17362 wxPyEndAllowThreads(__tstate);
17363 if (PyErr_Occurred()) SWIG_fail;
17364 }
17365 Py_INCREF(Py_None); resultobj = Py_None;
17366 return resultobj;
17367 fail:
17368 return NULL;
17369 }
17370
17371
17372 static PyObject *_wrap_PyScrolledWindow_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
17373 PyObject *resultobj;
17374 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17375 wxSize *arg2 = 0 ;
17376 wxSize temp2 ;
17377 PyObject * obj0 = 0 ;
17378 PyObject * obj1 = 0 ;
17379 char *kwnames[] = {
17380 (char *) "self",(char *) "size", NULL
17381 };
17382
17383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
17384 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17385 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17386 {
17387 arg2 = &temp2;
17388 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17389 }
17390 {
17391 PyThreadState* __tstate = wxPyBeginAllowThreads();
17392 (arg1)->SetBestSize((wxSize const &)*arg2);
17393
17394 wxPyEndAllowThreads(__tstate);
17395 if (PyErr_Occurred()) SWIG_fail;
17396 }
17397 Py_INCREF(Py_None); resultobj = Py_None;
17398 return resultobj;
17399 fail:
17400 return NULL;
17401 }
17402
17403
17404 static PyObject *_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17405 PyObject *resultobj;
17406 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17407 int arg2 ;
17408 int arg3 ;
17409 int arg4 ;
17410 int arg5 ;
17411 PyObject * obj0 = 0 ;
17412 PyObject * obj1 = 0 ;
17413 PyObject * obj2 = 0 ;
17414 PyObject * obj3 = 0 ;
17415 PyObject * obj4 = 0 ;
17416 char *kwnames[] = {
17417 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
17418 };
17419
17420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
17421 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17422 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17423 arg2 = (int)SWIG_As_int(obj1);
17424 if (PyErr_Occurred()) SWIG_fail;
17425 arg3 = (int)SWIG_As_int(obj2);
17426 if (PyErr_Occurred()) SWIG_fail;
17427 arg4 = (int)SWIG_As_int(obj3);
17428 if (PyErr_Occurred()) SWIG_fail;
17429 arg5 = (int)SWIG_As_int(obj4);
17430 if (PyErr_Occurred()) SWIG_fail;
17431 {
17432 PyThreadState* __tstate = wxPyBeginAllowThreads();
17433 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
17434
17435 wxPyEndAllowThreads(__tstate);
17436 if (PyErr_Occurred()) SWIG_fail;
17437 }
17438 Py_INCREF(Py_None); resultobj = Py_None;
17439 return resultobj;
17440 fail:
17441 return NULL;
17442 }
17443
17444
17445 static PyObject *_wrap_PyScrolledWindow_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
17446 PyObject *resultobj;
17447 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17448 int arg2 ;
17449 int arg3 ;
17450 int arg4 ;
17451 int arg5 ;
17452 int arg6 = (int) wxSIZE_AUTO ;
17453 PyObject * obj0 = 0 ;
17454 PyObject * obj1 = 0 ;
17455 PyObject * obj2 = 0 ;
17456 PyObject * obj3 = 0 ;
17457 PyObject * obj4 = 0 ;
17458 PyObject * obj5 = 0 ;
17459 char *kwnames[] = {
17460 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
17461 };
17462
17463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17464 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17465 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17466 arg2 = (int)SWIG_As_int(obj1);
17467 if (PyErr_Occurred()) SWIG_fail;
17468 arg3 = (int)SWIG_As_int(obj2);
17469 if (PyErr_Occurred()) SWIG_fail;
17470 arg4 = (int)SWIG_As_int(obj3);
17471 if (PyErr_Occurred()) SWIG_fail;
17472 arg5 = (int)SWIG_As_int(obj4);
17473 if (PyErr_Occurred()) SWIG_fail;
17474 if (obj5) {
17475 arg6 = (int)SWIG_As_int(obj5);
17476 if (PyErr_Occurred()) SWIG_fail;
17477 }
17478 {
17479 PyThreadState* __tstate = wxPyBeginAllowThreads();
17480 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
17481
17482 wxPyEndAllowThreads(__tstate);
17483 if (PyErr_Occurred()) SWIG_fail;
17484 }
17485 Py_INCREF(Py_None); resultobj = Py_None;
17486 return resultobj;
17487 fail:
17488 return NULL;
17489 }
17490
17491
17492 static PyObject *_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
17493 PyObject *resultobj;
17494 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17495 int arg2 ;
17496 int arg3 ;
17497 PyObject * obj0 = 0 ;
17498 PyObject * obj1 = 0 ;
17499 PyObject * obj2 = 0 ;
17500 char *kwnames[] = {
17501 (char *) "self",(char *) "width",(char *) "height", NULL
17502 };
17503
17504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
17505 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17506 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17507 arg2 = (int)SWIG_As_int(obj1);
17508 if (PyErr_Occurred()) SWIG_fail;
17509 arg3 = (int)SWIG_As_int(obj2);
17510 if (PyErr_Occurred()) SWIG_fail;
17511 {
17512 PyThreadState* __tstate = wxPyBeginAllowThreads();
17513 (arg1)->base_DoSetClientSize(arg2,arg3);
17514
17515 wxPyEndAllowThreads(__tstate);
17516 if (PyErr_Occurred()) SWIG_fail;
17517 }
17518 Py_INCREF(Py_None); resultobj = Py_None;
17519 return resultobj;
17520 fail:
17521 return NULL;
17522 }
17523
17524
17525 static PyObject *_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
17526 PyObject *resultobj;
17527 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17528 int arg2 ;
17529 int arg3 ;
17530 PyObject * obj0 = 0 ;
17531 PyObject * obj1 = 0 ;
17532 PyObject * obj2 = 0 ;
17533 char *kwnames[] = {
17534 (char *) "self",(char *) "x",(char *) "y", NULL
17535 };
17536
17537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
17538 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17539 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17540 arg2 = (int)SWIG_As_int(obj1);
17541 if (PyErr_Occurred()) SWIG_fail;
17542 arg3 = (int)SWIG_As_int(obj2);
17543 if (PyErr_Occurred()) SWIG_fail;
17544 {
17545 PyThreadState* __tstate = wxPyBeginAllowThreads();
17546 (arg1)->base_DoSetVirtualSize(arg2,arg3);
17547
17548 wxPyEndAllowThreads(__tstate);
17549 if (PyErr_Occurred()) SWIG_fail;
17550 }
17551 Py_INCREF(Py_None); resultobj = Py_None;
17552 return resultobj;
17553 fail:
17554 return NULL;
17555 }
17556
17557
17558 static PyObject *_wrap_PyScrolledWindow_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
17559 PyObject *resultobj;
17560 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17561 int *arg2 = (int *) 0 ;
17562 int *arg3 = (int *) 0 ;
17563 int temp2 ;
17564 int res2 = 0 ;
17565 int temp3 ;
17566 int res3 = 0 ;
17567 PyObject * obj0 = 0 ;
17568 char *kwnames[] = {
17569 (char *) "self", NULL
17570 };
17571
17572 arg2 = &temp2; res2 = SWIG_NEWOBJ;
17573 arg3 = &temp3; res3 = SWIG_NEWOBJ;
17574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
17575 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17576 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17577 {
17578 PyThreadState* __tstate = wxPyBeginAllowThreads();
17579 ((wxPyScrolledWindow const *)arg1)->base_DoGetSize(arg2,arg3);
17580
17581 wxPyEndAllowThreads(__tstate);
17582 if (PyErr_Occurred()) SWIG_fail;
17583 }
17584 Py_INCREF(Py_None); resultobj = Py_None;
17585 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
17586 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
17587 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
17588 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
17589 return resultobj;
17590 fail:
17591 return NULL;
17592 }
17593
17594
17595 static PyObject *_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
17596 PyObject *resultobj;
17597 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17598 int *arg2 = (int *) 0 ;
17599 int *arg3 = (int *) 0 ;
17600 int temp2 ;
17601 int res2 = 0 ;
17602 int temp3 ;
17603 int res3 = 0 ;
17604 PyObject * obj0 = 0 ;
17605 char *kwnames[] = {
17606 (char *) "self", NULL
17607 };
17608
17609 arg2 = &temp2; res2 = SWIG_NEWOBJ;
17610 arg3 = &temp3; res3 = SWIG_NEWOBJ;
17611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
17612 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17613 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17614 {
17615 PyThreadState* __tstate = wxPyBeginAllowThreads();
17616 ((wxPyScrolledWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
17617
17618 wxPyEndAllowThreads(__tstate);
17619 if (PyErr_Occurred()) SWIG_fail;
17620 }
17621 Py_INCREF(Py_None); resultobj = Py_None;
17622 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
17623 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
17624 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
17625 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
17626 return resultobj;
17627 fail:
17628 return NULL;
17629 }
17630
17631
17632 static PyObject *_wrap_PyScrolledWindow_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
17633 PyObject *resultobj;
17634 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17635 int *arg2 = (int *) 0 ;
17636 int *arg3 = (int *) 0 ;
17637 int temp2 ;
17638 int res2 = 0 ;
17639 int temp3 ;
17640 int res3 = 0 ;
17641 PyObject * obj0 = 0 ;
17642 char *kwnames[] = {
17643 (char *) "self", NULL
17644 };
17645
17646 arg2 = &temp2; res2 = SWIG_NEWOBJ;
17647 arg3 = &temp3; res3 = SWIG_NEWOBJ;
17648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
17649 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17650 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17651 {
17652 PyThreadState* __tstate = wxPyBeginAllowThreads();
17653 ((wxPyScrolledWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
17654
17655 wxPyEndAllowThreads(__tstate);
17656 if (PyErr_Occurred()) SWIG_fail;
17657 }
17658 Py_INCREF(Py_None); resultobj = Py_None;
17659 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
17660 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
17661 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
17662 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
17663 return resultobj;
17664 fail:
17665 return NULL;
17666 }
17667
17668
17669 static PyObject *_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
17670 PyObject *resultobj;
17671 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17672 wxSize result;
17673 PyObject * obj0 = 0 ;
17674 char *kwnames[] = {
17675 (char *) "self", NULL
17676 };
17677
17678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
17679 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17680 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17681 {
17682 PyThreadState* __tstate = wxPyBeginAllowThreads();
17683 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetVirtualSize();
17684
17685 wxPyEndAllowThreads(__tstate);
17686 if (PyErr_Occurred()) SWIG_fail;
17687 }
17688 {
17689 wxSize * resultptr;
17690 resultptr = new wxSize((wxSize &) result);
17691 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17692 }
17693 return resultobj;
17694 fail:
17695 return NULL;
17696 }
17697
17698
17699 static PyObject *_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
17700 PyObject *resultobj;
17701 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17702 wxSize result;
17703 PyObject * obj0 = 0 ;
17704 char *kwnames[] = {
17705 (char *) "self", NULL
17706 };
17707
17708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
17709 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17710 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17711 {
17712 PyThreadState* __tstate = wxPyBeginAllowThreads();
17713 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetBestSize();
17714
17715 wxPyEndAllowThreads(__tstate);
17716 if (PyErr_Occurred()) SWIG_fail;
17717 }
17718 {
17719 wxSize * resultptr;
17720 resultptr = new wxSize((wxSize &) result);
17721 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17722 }
17723 return resultobj;
17724 fail:
17725 return NULL;
17726 }
17727
17728
17729 static PyObject *_wrap_PyScrolledWindow_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
17730 PyObject *resultobj;
17731 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17732 PyObject * obj0 = 0 ;
17733 char *kwnames[] = {
17734 (char *) "self", NULL
17735 };
17736
17737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames,&obj0)) goto fail;
17738 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17739 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17740 {
17741 PyThreadState* __tstate = wxPyBeginAllowThreads();
17742 (arg1)->base_InitDialog();
17743
17744 wxPyEndAllowThreads(__tstate);
17745 if (PyErr_Occurred()) SWIG_fail;
17746 }
17747 Py_INCREF(Py_None); resultobj = Py_None;
17748 return resultobj;
17749 fail:
17750 return NULL;
17751 }
17752
17753
17754 static PyObject *_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17755 PyObject *resultobj;
17756 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17757 bool result;
17758 PyObject * obj0 = 0 ;
17759 char *kwnames[] = {
17760 (char *) "self", NULL
17761 };
17762
17763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
17764 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17765 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17766 {
17767 PyThreadState* __tstate = wxPyBeginAllowThreads();
17768 result = (bool)(arg1)->base_TransferDataToWindow();
17769
17770 wxPyEndAllowThreads(__tstate);
17771 if (PyErr_Occurred()) SWIG_fail;
17772 }
17773 {
17774 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17775 }
17776 return resultobj;
17777 fail:
17778 return NULL;
17779 }
17780
17781
17782 static PyObject *_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17783 PyObject *resultobj;
17784 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17785 bool result;
17786 PyObject * obj0 = 0 ;
17787 char *kwnames[] = {
17788 (char *) "self", NULL
17789 };
17790
17791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",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 result = (bool)(arg1)->base_TransferDataFromWindow();
17797
17798 wxPyEndAllowThreads(__tstate);
17799 if (PyErr_Occurred()) SWIG_fail;
17800 }
17801 {
17802 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17803 }
17804 return resultobj;
17805 fail:
17806 return NULL;
17807 }
17808
17809
17810 static PyObject *_wrap_PyScrolledWindow_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
17811 PyObject *resultobj;
17812 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17813 bool result;
17814 PyObject * obj0 = 0 ;
17815 char *kwnames[] = {
17816 (char *) "self", NULL
17817 };
17818
17819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_Validate",kwnames,&obj0)) goto fail;
17820 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17821 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17822 {
17823 PyThreadState* __tstate = wxPyBeginAllowThreads();
17824 result = (bool)(arg1)->base_Validate();
17825
17826 wxPyEndAllowThreads(__tstate);
17827 if (PyErr_Occurred()) SWIG_fail;
17828 }
17829 {
17830 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17831 }
17832 return resultobj;
17833 fail:
17834 return NULL;
17835 }
17836
17837
17838 static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
17839 PyObject *resultobj;
17840 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17841 bool result;
17842 PyObject * obj0 = 0 ;
17843 char *kwnames[] = {
17844 (char *) "self", NULL
17845 };
17846
17847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
17848 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17849 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17850 {
17851 PyThreadState* __tstate = wxPyBeginAllowThreads();
17852 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocus();
17853
17854 wxPyEndAllowThreads(__tstate);
17855 if (PyErr_Occurred()) SWIG_fail;
17856 }
17857 {
17858 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17859 }
17860 return resultobj;
17861 fail:
17862 return NULL;
17863 }
17864
17865
17866 static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
17867 PyObject *resultobj;
17868 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17869 bool result;
17870 PyObject * obj0 = 0 ;
17871 char *kwnames[] = {
17872 (char *) "self", NULL
17873 };
17874
17875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
17876 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17877 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17878 {
17879 PyThreadState* __tstate = wxPyBeginAllowThreads();
17880 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
17881
17882 wxPyEndAllowThreads(__tstate);
17883 if (PyErr_Occurred()) SWIG_fail;
17884 }
17885 {
17886 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17887 }
17888 return resultobj;
17889 fail:
17890 return NULL;
17891 }
17892
17893
17894 static PyObject *_wrap_PyScrolledWindow_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
17895 PyObject *resultobj;
17896 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17897 wxSize result;
17898 PyObject * obj0 = 0 ;
17899 char *kwnames[] = {
17900 (char *) "self", NULL
17901 };
17902
17903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
17904 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17905 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17906 {
17907 PyThreadState* __tstate = wxPyBeginAllowThreads();
17908 result = ((wxPyScrolledWindow const *)arg1)->base_GetMaxSize();
17909
17910 wxPyEndAllowThreads(__tstate);
17911 if (PyErr_Occurred()) SWIG_fail;
17912 }
17913 {
17914 wxSize * resultptr;
17915 resultptr = new wxSize((wxSize &) result);
17916 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17917 }
17918 return resultobj;
17919 fail:
17920 return NULL;
17921 }
17922
17923
17924 static PyObject *_wrap_PyScrolledWindow_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
17925 PyObject *resultobj;
17926 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17927 wxWindow *arg2 = (wxWindow *) 0 ;
17928 PyObject * obj0 = 0 ;
17929 PyObject * obj1 = 0 ;
17930 char *kwnames[] = {
17931 (char *) "self",(char *) "child", NULL
17932 };
17933
17934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
17935 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17936 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17937 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17938 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17939 {
17940 PyThreadState* __tstate = wxPyBeginAllowThreads();
17941 (arg1)->base_AddChild(arg2);
17942
17943 wxPyEndAllowThreads(__tstate);
17944 if (PyErr_Occurred()) SWIG_fail;
17945 }
17946 Py_INCREF(Py_None); resultobj = Py_None;
17947 return resultobj;
17948 fail:
17949 return NULL;
17950 }
17951
17952
17953 static PyObject *_wrap_PyScrolledWindow_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
17954 PyObject *resultobj;
17955 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17956 wxWindow *arg2 = (wxWindow *) 0 ;
17957 PyObject * obj0 = 0 ;
17958 PyObject * obj1 = 0 ;
17959 char *kwnames[] = {
17960 (char *) "self",(char *) "child", NULL
17961 };
17962
17963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
17964 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17965 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17966 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17967 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17968 {
17969 PyThreadState* __tstate = wxPyBeginAllowThreads();
17970 (arg1)->base_RemoveChild(arg2);
17971
17972 wxPyEndAllowThreads(__tstate);
17973 if (PyErr_Occurred()) SWIG_fail;
17974 }
17975 Py_INCREF(Py_None); resultobj = Py_None;
17976 return resultobj;
17977 fail:
17978 return NULL;
17979 }
17980
17981
17982 static PyObject *_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
17983 PyObject *resultobj;
17984 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17985 bool result;
17986 PyObject * obj0 = 0 ;
17987 char *kwnames[] = {
17988 (char *) "self", NULL
17989 };
17990
17991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
17992 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17993 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17994 {
17995 PyThreadState* __tstate = wxPyBeginAllowThreads();
17996 result = (bool)((wxPyScrolledWindow const *)arg1)->base_ShouldInheritColours();
17997
17998 wxPyEndAllowThreads(__tstate);
17999 if (PyErr_Occurred()) SWIG_fail;
18000 }
18001 {
18002 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18003 }
18004 return resultobj;
18005 fail:
18006 return NULL;
18007 }
18008
18009
18010 static PyObject *_wrap_PyScrolledWindow_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) {
18011 PyObject *resultobj;
18012 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18013 wxColour *arg2 = 0 ;
18014 wxColour temp2 ;
18015 PyObject * obj0 = 0 ;
18016 PyObject * obj1 = 0 ;
18017 char *kwnames[] = {
18018 (char *) "self",(char *) "c", NULL
18019 };
18020
18021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
18022 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18023 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18024 {
18025 arg2 = &temp2;
18026 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18027 }
18028 {
18029 PyThreadState* __tstate = wxPyBeginAllowThreads();
18030 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
18031
18032 wxPyEndAllowThreads(__tstate);
18033 if (PyErr_Occurred()) SWIG_fail;
18034 }
18035 Py_INCREF(Py_None); resultobj = Py_None;
18036 return resultobj;
18037 fail:
18038 return NULL;
18039 }
18040
18041
18042 static PyObject *_wrap_PyScrolledWindow_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
18043 PyObject *resultobj;
18044 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18045 wxVisualAttributes result;
18046 PyObject * obj0 = 0 ;
18047 char *kwnames[] = {
18048 (char *) "self", NULL
18049 };
18050
18051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
18052 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18053 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18054 {
18055 PyThreadState* __tstate = wxPyBeginAllowThreads();
18056 result = (arg1)->base_GetDefaultAttributes();
18057
18058 wxPyEndAllowThreads(__tstate);
18059 if (PyErr_Occurred()) SWIG_fail;
18060 }
18061 {
18062 wxVisualAttributes * resultptr;
18063 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
18064 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
18065 }
18066 return resultobj;
18067 fail:
18068 return NULL;
18069 }
18070
18071
18072 static PyObject * PyScrolledWindow_swigregister(PyObject *, PyObject *args) {
18073 PyObject *obj;
18074 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18075 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow, obj);
18076 Py_INCREF(obj);
18077 return Py_BuildValue((char *)"");
18078 }
18079 static int _wrap_PrintoutTitleStr_set(PyObject *) {
18080 PyErr_SetString(PyExc_TypeError,"Variable PrintoutTitleStr is read-only.");
18081 return 1;
18082 }
18083
18084
18085 static PyObject *_wrap_PrintoutTitleStr_get() {
18086 PyObject *pyobj;
18087
18088 {
18089 #if wxUSE_UNICODE
18090 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
18091 #else
18092 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
18093 #endif
18094 }
18095 return pyobj;
18096 }
18097
18098
18099 static int _wrap_PreviewCanvasNameStr_set(PyObject *) {
18100 PyErr_SetString(PyExc_TypeError,"Variable PreviewCanvasNameStr is read-only.");
18101 return 1;
18102 }
18103
18104
18105 static PyObject *_wrap_PreviewCanvasNameStr_get() {
18106 PyObject *pyobj;
18107
18108 {
18109 #if wxUSE_UNICODE
18110 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
18111 #else
18112 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
18113 #endif
18114 }
18115 return pyobj;
18116 }
18117
18118
18119 static PyObject *_wrap_new_PrintData__SWIG_0(PyObject *, PyObject *args) {
18120 PyObject *resultobj;
18121 wxPrintData *result;
18122
18123 if(!PyArg_ParseTuple(args,(char *)":new_PrintData")) goto fail;
18124 {
18125 PyThreadState* __tstate = wxPyBeginAllowThreads();
18126 result = (wxPrintData *)new wxPrintData();
18127
18128 wxPyEndAllowThreads(__tstate);
18129 if (PyErr_Occurred()) SWIG_fail;
18130 }
18131 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
18132 return resultobj;
18133 fail:
18134 return NULL;
18135 }
18136
18137
18138 static PyObject *_wrap_new_PrintData__SWIG_1(PyObject *, PyObject *args) {
18139 PyObject *resultobj;
18140 wxPrintData *arg1 = 0 ;
18141 wxPrintData *result;
18142 PyObject * obj0 = 0 ;
18143
18144 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintData",&obj0)) goto fail;
18145 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18146 SWIG_POINTER_EXCEPTION | 0)) == -1)
18147 SWIG_fail;
18148 if (arg1 == NULL) {
18149 PyErr_SetString(PyExc_TypeError,"null reference");
18150 SWIG_fail;
18151 }
18152 {
18153 PyThreadState* __tstate = wxPyBeginAllowThreads();
18154 result = (wxPrintData *)new wxPrintData((wxPrintData const &)*arg1);
18155
18156 wxPyEndAllowThreads(__tstate);
18157 if (PyErr_Occurred()) SWIG_fail;
18158 }
18159 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
18160 return resultobj;
18161 fail:
18162 return NULL;
18163 }
18164
18165
18166 static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args) {
18167 int argc;
18168 PyObject *argv[2];
18169 int ii;
18170
18171 argc = PyObject_Length(args);
18172 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
18173 argv[ii] = PyTuple_GetItem(args,ii);
18174 }
18175 if (argc == 0) {
18176 return _wrap_new_PrintData__SWIG_0(self,args);
18177 }
18178 if (argc == 1) {
18179 int _v;
18180 {
18181 void *ptr;
18182 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
18183 _v = 0;
18184 PyErr_Clear();
18185 } else {
18186 _v = 1;
18187 }
18188 }
18189 if (_v) {
18190 return _wrap_new_PrintData__SWIG_1(self,args);
18191 }
18192 }
18193
18194 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintData'");
18195 return NULL;
18196 }
18197
18198
18199 static PyObject *_wrap_delete_PrintData(PyObject *, PyObject *args, PyObject *kwargs) {
18200 PyObject *resultobj;
18201 wxPrintData *arg1 = (wxPrintData *) 0 ;
18202 PyObject * obj0 = 0 ;
18203 char *kwnames[] = {
18204 (char *) "self", NULL
18205 };
18206
18207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail;
18208 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18209 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18210 {
18211 PyThreadState* __tstate = wxPyBeginAllowThreads();
18212 delete arg1;
18213
18214 wxPyEndAllowThreads(__tstate);
18215 if (PyErr_Occurred()) SWIG_fail;
18216 }
18217 Py_INCREF(Py_None); resultobj = Py_None;
18218 return resultobj;
18219 fail:
18220 return NULL;
18221 }
18222
18223
18224 static PyObject *_wrap_PrintData_GetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
18225 PyObject *resultobj;
18226 wxPrintData *arg1 = (wxPrintData *) 0 ;
18227 int result;
18228 PyObject * obj0 = 0 ;
18229 char *kwnames[] = {
18230 (char *) "self", NULL
18231 };
18232
18233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail;
18234 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18235 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18236 {
18237 PyThreadState* __tstate = wxPyBeginAllowThreads();
18238 result = (int)(arg1)->GetNoCopies();
18239
18240 wxPyEndAllowThreads(__tstate);
18241 if (PyErr_Occurred()) SWIG_fail;
18242 }
18243 resultobj = SWIG_From_int((int)result);
18244 return resultobj;
18245 fail:
18246 return NULL;
18247 }
18248
18249
18250 static PyObject *_wrap_PrintData_GetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
18251 PyObject *resultobj;
18252 wxPrintData *arg1 = (wxPrintData *) 0 ;
18253 bool result;
18254 PyObject * obj0 = 0 ;
18255 char *kwnames[] = {
18256 (char *) "self", NULL
18257 };
18258
18259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail;
18260 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18261 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18262 {
18263 PyThreadState* __tstate = wxPyBeginAllowThreads();
18264 result = (bool)(arg1)->GetCollate();
18265
18266 wxPyEndAllowThreads(__tstate);
18267 if (PyErr_Occurred()) SWIG_fail;
18268 }
18269 {
18270 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18271 }
18272 return resultobj;
18273 fail:
18274 return NULL;
18275 }
18276
18277
18278 static PyObject *_wrap_PrintData_GetOrientation(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_GetOrientation",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)->GetOrientation();
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_Ok(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_Ok",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)->Ok();
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_GetPrinterName(PyObject *, PyObject *args, PyObject *kwargs) {
18333 PyObject *resultobj;
18334 wxPrintData *arg1 = (wxPrintData *) 0 ;
18335 wxString *result;
18336 PyObject * obj0 = 0 ;
18337 char *kwnames[] = {
18338 (char *) "self", NULL
18339 };
18340
18341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",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 {
18347 wxString const &_result_ref = (arg1)->GetPrinterName();
18348 result = (wxString *) &_result_ref;
18349 }
18350
18351 wxPyEndAllowThreads(__tstate);
18352 if (PyErr_Occurred()) SWIG_fail;
18353 }
18354 {
18355 #if wxUSE_UNICODE
18356 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18357 #else
18358 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18359 #endif
18360 }
18361 return resultobj;
18362 fail:
18363 return NULL;
18364 }
18365
18366
18367 static PyObject *_wrap_PrintData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
18368 PyObject *resultobj;
18369 wxPrintData *arg1 = (wxPrintData *) 0 ;
18370 bool result;
18371 PyObject * obj0 = 0 ;
18372 char *kwnames[] = {
18373 (char *) "self", NULL
18374 };
18375
18376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail;
18377 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18378 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18379 {
18380 PyThreadState* __tstate = wxPyBeginAllowThreads();
18381 result = (bool)(arg1)->GetColour();
18382
18383 wxPyEndAllowThreads(__tstate);
18384 if (PyErr_Occurred()) SWIG_fail;
18385 }
18386 {
18387 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18388 }
18389 return resultobj;
18390 fail:
18391 return NULL;
18392 }
18393
18394
18395 static PyObject *_wrap_PrintData_GetDuplex(PyObject *, PyObject *args, PyObject *kwargs) {
18396 PyObject *resultobj;
18397 wxPrintData *arg1 = (wxPrintData *) 0 ;
18398 int result;
18399 PyObject * obj0 = 0 ;
18400 char *kwnames[] = {
18401 (char *) "self", NULL
18402 };
18403
18404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail;
18405 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18406 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18407 {
18408 PyThreadState* __tstate = wxPyBeginAllowThreads();
18409 result = (int)(arg1)->GetDuplex();
18410
18411 wxPyEndAllowThreads(__tstate);
18412 if (PyErr_Occurred()) SWIG_fail;
18413 }
18414 resultobj = SWIG_From_int((int)result);
18415 return resultobj;
18416 fail:
18417 return NULL;
18418 }
18419
18420
18421 static PyObject *_wrap_PrintData_GetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
18422 PyObject *resultobj;
18423 wxPrintData *arg1 = (wxPrintData *) 0 ;
18424 int result;
18425 PyObject * obj0 = 0 ;
18426 char *kwnames[] = {
18427 (char *) "self", NULL
18428 };
18429
18430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",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 = (int)(arg1)->GetPaperId();
18436
18437 wxPyEndAllowThreads(__tstate);
18438 if (PyErr_Occurred()) SWIG_fail;
18439 }
18440 resultobj = SWIG_From_int((int)result);
18441 return resultobj;
18442 fail:
18443 return NULL;
18444 }
18445
18446
18447 static PyObject *_wrap_PrintData_GetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
18448 PyObject *resultobj;
18449 wxPrintData *arg1 = (wxPrintData *) 0 ;
18450 wxSize *result;
18451 PyObject * obj0 = 0 ;
18452 char *kwnames[] = {
18453 (char *) "self", NULL
18454 };
18455
18456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail;
18457 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18458 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18459 {
18460 PyThreadState* __tstate = wxPyBeginAllowThreads();
18461 {
18462 wxSize const &_result_ref = (arg1)->GetPaperSize();
18463 result = (wxSize *) &_result_ref;
18464 }
18465
18466 wxPyEndAllowThreads(__tstate);
18467 if (PyErr_Occurred()) SWIG_fail;
18468 }
18469 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0);
18470 return resultobj;
18471 fail:
18472 return NULL;
18473 }
18474
18475
18476 static PyObject *_wrap_PrintData_GetQuality(PyObject *, PyObject *args, PyObject *kwargs) {
18477 PyObject *resultobj;
18478 wxPrintData *arg1 = (wxPrintData *) 0 ;
18479 int result;
18480 PyObject * obj0 = 0 ;
18481 char *kwnames[] = {
18482 (char *) "self", NULL
18483 };
18484
18485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail;
18486 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18487 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18488 {
18489 PyThreadState* __tstate = wxPyBeginAllowThreads();
18490 result = (int)(arg1)->GetQuality();
18491
18492 wxPyEndAllowThreads(__tstate);
18493 if (PyErr_Occurred()) SWIG_fail;
18494 }
18495 resultobj = SWIG_From_int((int)result);
18496 return resultobj;
18497 fail:
18498 return NULL;
18499 }
18500
18501
18502 static PyObject *_wrap_PrintData_GetBin(PyObject *, PyObject *args, PyObject *kwargs) {
18503 PyObject *resultobj;
18504 wxPrintData *arg1 = (wxPrintData *) 0 ;
18505 int result;
18506 PyObject * obj0 = 0 ;
18507 char *kwnames[] = {
18508 (char *) "self", NULL
18509 };
18510
18511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetBin",kwnames,&obj0)) goto fail;
18512 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18513 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18514 {
18515 PyThreadState* __tstate = wxPyBeginAllowThreads();
18516 result = (int)(arg1)->GetBin();
18517
18518 wxPyEndAllowThreads(__tstate);
18519 if (PyErr_Occurred()) SWIG_fail;
18520 }
18521 resultobj = SWIG_From_int((int)result);
18522 return resultobj;
18523 fail:
18524 return NULL;
18525 }
18526
18527
18528 static PyObject *_wrap_PrintData_SetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
18529 PyObject *resultobj;
18530 wxPrintData *arg1 = (wxPrintData *) 0 ;
18531 int arg2 ;
18532 PyObject * obj0 = 0 ;
18533 PyObject * obj1 = 0 ;
18534 char *kwnames[] = {
18535 (char *) "self",(char *) "v", NULL
18536 };
18537
18538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
18539 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18540 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18541 arg2 = (int)SWIG_As_int(obj1);
18542 if (PyErr_Occurred()) SWIG_fail;
18543 {
18544 PyThreadState* __tstate = wxPyBeginAllowThreads();
18545 (arg1)->SetNoCopies(arg2);
18546
18547 wxPyEndAllowThreads(__tstate);
18548 if (PyErr_Occurred()) SWIG_fail;
18549 }
18550 Py_INCREF(Py_None); resultobj = Py_None;
18551 return resultobj;
18552 fail:
18553 return NULL;
18554 }
18555
18556
18557 static PyObject *_wrap_PrintData_SetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
18558 PyObject *resultobj;
18559 wxPrintData *arg1 = (wxPrintData *) 0 ;
18560 bool arg2 ;
18561 PyObject * obj0 = 0 ;
18562 PyObject * obj1 = 0 ;
18563 char *kwnames[] = {
18564 (char *) "self",(char *) "flag", NULL
18565 };
18566
18567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
18568 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18569 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18570 arg2 = (bool)SWIG_As_bool(obj1);
18571 if (PyErr_Occurred()) SWIG_fail;
18572 {
18573 PyThreadState* __tstate = wxPyBeginAllowThreads();
18574 (arg1)->SetCollate(arg2);
18575
18576 wxPyEndAllowThreads(__tstate);
18577 if (PyErr_Occurred()) SWIG_fail;
18578 }
18579 Py_INCREF(Py_None); resultobj = Py_None;
18580 return resultobj;
18581 fail:
18582 return NULL;
18583 }
18584
18585
18586 static PyObject *_wrap_PrintData_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
18587 PyObject *resultobj;
18588 wxPrintData *arg1 = (wxPrintData *) 0 ;
18589 int arg2 ;
18590 PyObject * obj0 = 0 ;
18591 PyObject * obj1 = 0 ;
18592 char *kwnames[] = {
18593 (char *) "self",(char *) "orient", NULL
18594 };
18595
18596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
18597 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18598 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18599 arg2 = (int)SWIG_As_int(obj1);
18600 if (PyErr_Occurred()) SWIG_fail;
18601 {
18602 PyThreadState* __tstate = wxPyBeginAllowThreads();
18603 (arg1)->SetOrientation(arg2);
18604
18605 wxPyEndAllowThreads(__tstate);
18606 if (PyErr_Occurred()) SWIG_fail;
18607 }
18608 Py_INCREF(Py_None); resultobj = Py_None;
18609 return resultobj;
18610 fail:
18611 return NULL;
18612 }
18613
18614
18615 static PyObject *_wrap_PrintData_SetPrinterName(PyObject *, PyObject *args, PyObject *kwargs) {
18616 PyObject *resultobj;
18617 wxPrintData *arg1 = (wxPrintData *) 0 ;
18618 wxString *arg2 = 0 ;
18619 bool temp2 = false ;
18620 PyObject * obj0 = 0 ;
18621 PyObject * obj1 = 0 ;
18622 char *kwnames[] = {
18623 (char *) "self",(char *) "name", NULL
18624 };
18625
18626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail;
18627 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18628 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18629 {
18630 arg2 = wxString_in_helper(obj1);
18631 if (arg2 == NULL) SWIG_fail;
18632 temp2 = true;
18633 }
18634 {
18635 PyThreadState* __tstate = wxPyBeginAllowThreads();
18636 (arg1)->SetPrinterName((wxString const &)*arg2);
18637
18638 wxPyEndAllowThreads(__tstate);
18639 if (PyErr_Occurred()) SWIG_fail;
18640 }
18641 Py_INCREF(Py_None); resultobj = Py_None;
18642 {
18643 if (temp2)
18644 delete arg2;
18645 }
18646 return resultobj;
18647 fail:
18648 {
18649 if (temp2)
18650 delete arg2;
18651 }
18652 return NULL;
18653 }
18654
18655
18656 static PyObject *_wrap_PrintData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
18657 PyObject *resultobj;
18658 wxPrintData *arg1 = (wxPrintData *) 0 ;
18659 bool arg2 ;
18660 PyObject * obj0 = 0 ;
18661 PyObject * obj1 = 0 ;
18662 char *kwnames[] = {
18663 (char *) "self",(char *) "colour", NULL
18664 };
18665
18666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail;
18667 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18668 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18669 arg2 = (bool)SWIG_As_bool(obj1);
18670 if (PyErr_Occurred()) SWIG_fail;
18671 {
18672 PyThreadState* __tstate = wxPyBeginAllowThreads();
18673 (arg1)->SetColour(arg2);
18674
18675 wxPyEndAllowThreads(__tstate);
18676 if (PyErr_Occurred()) SWIG_fail;
18677 }
18678 Py_INCREF(Py_None); resultobj = Py_None;
18679 return resultobj;
18680 fail:
18681 return NULL;
18682 }
18683
18684
18685 static PyObject *_wrap_PrintData_SetDuplex(PyObject *, PyObject *args, PyObject *kwargs) {
18686 PyObject *resultobj;
18687 wxPrintData *arg1 = (wxPrintData *) 0 ;
18688 int arg2 ;
18689 PyObject * obj0 = 0 ;
18690 PyObject * obj1 = 0 ;
18691 char *kwnames[] = {
18692 (char *) "self",(char *) "duplex", NULL
18693 };
18694
18695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) goto fail;
18696 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18697 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18698 arg2 = (int)SWIG_As_int(obj1);
18699 if (PyErr_Occurred()) SWIG_fail;
18700 {
18701 PyThreadState* __tstate = wxPyBeginAllowThreads();
18702 (arg1)->SetDuplex((wxDuplexMode )arg2);
18703
18704 wxPyEndAllowThreads(__tstate);
18705 if (PyErr_Occurred()) SWIG_fail;
18706 }
18707 Py_INCREF(Py_None); resultobj = Py_None;
18708 return resultobj;
18709 fail:
18710 return NULL;
18711 }
18712
18713
18714 static PyObject *_wrap_PrintData_SetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
18715 PyObject *resultobj;
18716 wxPrintData *arg1 = (wxPrintData *) 0 ;
18717 int arg2 ;
18718 PyObject * obj0 = 0 ;
18719 PyObject * obj1 = 0 ;
18720 char *kwnames[] = {
18721 (char *) "self",(char *) "sizeId", NULL
18722 };
18723
18724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
18725 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18726 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18727 arg2 = (int)SWIG_As_int(obj1);
18728 if (PyErr_Occurred()) SWIG_fail;
18729 {
18730 PyThreadState* __tstate = wxPyBeginAllowThreads();
18731 (arg1)->SetPaperId((wxPaperSize )arg2);
18732
18733 wxPyEndAllowThreads(__tstate);
18734 if (PyErr_Occurred()) SWIG_fail;
18735 }
18736 Py_INCREF(Py_None); resultobj = Py_None;
18737 return resultobj;
18738 fail:
18739 return NULL;
18740 }
18741
18742
18743 static PyObject *_wrap_PrintData_SetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
18744 PyObject *resultobj;
18745 wxPrintData *arg1 = (wxPrintData *) 0 ;
18746 wxSize *arg2 = 0 ;
18747 wxSize temp2 ;
18748 PyObject * obj0 = 0 ;
18749 PyObject * obj1 = 0 ;
18750 char *kwnames[] = {
18751 (char *) "self",(char *) "sz", NULL
18752 };
18753
18754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
18755 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18756 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18757 {
18758 arg2 = &temp2;
18759 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
18760 }
18761 {
18762 PyThreadState* __tstate = wxPyBeginAllowThreads();
18763 (arg1)->SetPaperSize((wxSize const &)*arg2);
18764
18765 wxPyEndAllowThreads(__tstate);
18766 if (PyErr_Occurred()) SWIG_fail;
18767 }
18768 Py_INCREF(Py_None); resultobj = Py_None;
18769 return resultobj;
18770 fail:
18771 return NULL;
18772 }
18773
18774
18775 static PyObject *_wrap_PrintData_SetQuality(PyObject *, PyObject *args, PyObject *kwargs) {
18776 PyObject *resultobj;
18777 wxPrintData *arg1 = (wxPrintData *) 0 ;
18778 int arg2 ;
18779 PyObject * obj0 = 0 ;
18780 PyObject * obj1 = 0 ;
18781 char *kwnames[] = {
18782 (char *) "self",(char *) "quality", NULL
18783 };
18784
18785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) goto fail;
18786 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18787 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18788 arg2 = (int)SWIG_As_int(obj1);
18789 if (PyErr_Occurred()) SWIG_fail;
18790 {
18791 PyThreadState* __tstate = wxPyBeginAllowThreads();
18792 (arg1)->SetQuality(arg2);
18793
18794 wxPyEndAllowThreads(__tstate);
18795 if (PyErr_Occurred()) SWIG_fail;
18796 }
18797 Py_INCREF(Py_None); resultobj = Py_None;
18798 return resultobj;
18799 fail:
18800 return NULL;
18801 }
18802
18803
18804 static PyObject *_wrap_PrintData_SetBin(PyObject *, PyObject *args, PyObject *kwargs) {
18805 PyObject *resultobj;
18806 wxPrintData *arg1 = (wxPrintData *) 0 ;
18807 int arg2 ;
18808 PyObject * obj0 = 0 ;
18809 PyObject * obj1 = 0 ;
18810 char *kwnames[] = {
18811 (char *) "self",(char *) "bin", NULL
18812 };
18813
18814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetBin",kwnames,&obj0,&obj1)) goto fail;
18815 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18816 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18817 arg2 = (int)SWIG_As_int(obj1);
18818 if (PyErr_Occurred()) SWIG_fail;
18819 {
18820 PyThreadState* __tstate = wxPyBeginAllowThreads();
18821 (arg1)->SetBin((wxPrintBin )arg2);
18822
18823 wxPyEndAllowThreads(__tstate);
18824 if (PyErr_Occurred()) SWIG_fail;
18825 }
18826 Py_INCREF(Py_None); resultobj = Py_None;
18827 return resultobj;
18828 fail:
18829 return NULL;
18830 }
18831
18832
18833 static PyObject *_wrap_PrintData_GetPrinterCommand(PyObject *, PyObject *args, PyObject *kwargs) {
18834 PyObject *resultobj;
18835 wxPrintData *arg1 = (wxPrintData *) 0 ;
18836 wxString *result;
18837 PyObject * obj0 = 0 ;
18838 char *kwnames[] = {
18839 (char *) "self", NULL
18840 };
18841
18842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterCommand",kwnames,&obj0)) goto fail;
18843 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18844 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18845 {
18846 PyThreadState* __tstate = wxPyBeginAllowThreads();
18847 {
18848 wxString const &_result_ref = (arg1)->GetPrinterCommand();
18849 result = (wxString *) &_result_ref;
18850 }
18851
18852 wxPyEndAllowThreads(__tstate);
18853 if (PyErr_Occurred()) SWIG_fail;
18854 }
18855 {
18856 #if wxUSE_UNICODE
18857 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18858 #else
18859 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18860 #endif
18861 }
18862 return resultobj;
18863 fail:
18864 return NULL;
18865 }
18866
18867
18868 static PyObject *_wrap_PrintData_GetPrinterOptions(PyObject *, PyObject *args, PyObject *kwargs) {
18869 PyObject *resultobj;
18870 wxPrintData *arg1 = (wxPrintData *) 0 ;
18871 wxString *result;
18872 PyObject * obj0 = 0 ;
18873 char *kwnames[] = {
18874 (char *) "self", NULL
18875 };
18876
18877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterOptions",kwnames,&obj0)) goto fail;
18878 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18879 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18880 {
18881 PyThreadState* __tstate = wxPyBeginAllowThreads();
18882 {
18883 wxString const &_result_ref = (arg1)->GetPrinterOptions();
18884 result = (wxString *) &_result_ref;
18885 }
18886
18887 wxPyEndAllowThreads(__tstate);
18888 if (PyErr_Occurred()) SWIG_fail;
18889 }
18890 {
18891 #if wxUSE_UNICODE
18892 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18893 #else
18894 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18895 #endif
18896 }
18897 return resultobj;
18898 fail:
18899 return NULL;
18900 }
18901
18902
18903 static PyObject *_wrap_PrintData_GetPreviewCommand(PyObject *, PyObject *args, PyObject *kwargs) {
18904 PyObject *resultobj;
18905 wxPrintData *arg1 = (wxPrintData *) 0 ;
18906 wxString *result;
18907 PyObject * obj0 = 0 ;
18908 char *kwnames[] = {
18909 (char *) "self", NULL
18910 };
18911
18912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPreviewCommand",kwnames,&obj0)) goto fail;
18913 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18914 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18915 {
18916 PyThreadState* __tstate = wxPyBeginAllowThreads();
18917 {
18918 wxString const &_result_ref = (arg1)->GetPreviewCommand();
18919 result = (wxString *) &_result_ref;
18920 }
18921
18922 wxPyEndAllowThreads(__tstate);
18923 if (PyErr_Occurred()) SWIG_fail;
18924 }
18925 {
18926 #if wxUSE_UNICODE
18927 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18928 #else
18929 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18930 #endif
18931 }
18932 return resultobj;
18933 fail:
18934 return NULL;
18935 }
18936
18937
18938 static PyObject *_wrap_PrintData_GetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
18939 PyObject *resultobj;
18940 wxPrintData *arg1 = (wxPrintData *) 0 ;
18941 wxString *result;
18942 PyObject * obj0 = 0 ;
18943 char *kwnames[] = {
18944 (char *) "self", NULL
18945 };
18946
18947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail;
18948 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18949 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18950 {
18951 PyThreadState* __tstate = wxPyBeginAllowThreads();
18952 {
18953 wxString const &_result_ref = (arg1)->GetFilename();
18954 result = (wxString *) &_result_ref;
18955 }
18956
18957 wxPyEndAllowThreads(__tstate);
18958 if (PyErr_Occurred()) SWIG_fail;
18959 }
18960 {
18961 #if wxUSE_UNICODE
18962 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18963 #else
18964 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18965 #endif
18966 }
18967 return resultobj;
18968 fail:
18969 return NULL;
18970 }
18971
18972
18973 static PyObject *_wrap_PrintData_GetFontMetricPath(PyObject *, PyObject *args, PyObject *kwargs) {
18974 PyObject *resultobj;
18975 wxPrintData *arg1 = (wxPrintData *) 0 ;
18976 wxString *result;
18977 PyObject * obj0 = 0 ;
18978 char *kwnames[] = {
18979 (char *) "self", NULL
18980 };
18981
18982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFontMetricPath",kwnames,&obj0)) goto fail;
18983 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18984 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18985 {
18986 PyThreadState* __tstate = wxPyBeginAllowThreads();
18987 {
18988 wxString const &_result_ref = (arg1)->GetFontMetricPath();
18989 result = (wxString *) &_result_ref;
18990 }
18991
18992 wxPyEndAllowThreads(__tstate);
18993 if (PyErr_Occurred()) SWIG_fail;
18994 }
18995 {
18996 #if wxUSE_UNICODE
18997 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18998 #else
18999 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19000 #endif
19001 }
19002 return resultobj;
19003 fail:
19004 return NULL;
19005 }
19006
19007
19008 static PyObject *_wrap_PrintData_GetPrinterScaleX(PyObject *, PyObject *args, PyObject *kwargs) {
19009 PyObject *resultobj;
19010 wxPrintData *arg1 = (wxPrintData *) 0 ;
19011 double result;
19012 PyObject * obj0 = 0 ;
19013 char *kwnames[] = {
19014 (char *) "self", NULL
19015 };
19016
19017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleX",kwnames,&obj0)) goto fail;
19018 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19019 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19020 {
19021 PyThreadState* __tstate = wxPyBeginAllowThreads();
19022 result = (double)(arg1)->GetPrinterScaleX();
19023
19024 wxPyEndAllowThreads(__tstate);
19025 if (PyErr_Occurred()) SWIG_fail;
19026 }
19027 resultobj = SWIG_From_double((double)result);
19028 return resultobj;
19029 fail:
19030 return NULL;
19031 }
19032
19033
19034 static PyObject *_wrap_PrintData_GetPrinterScaleY(PyObject *, PyObject *args, PyObject *kwargs) {
19035 PyObject *resultobj;
19036 wxPrintData *arg1 = (wxPrintData *) 0 ;
19037 double result;
19038 PyObject * obj0 = 0 ;
19039 char *kwnames[] = {
19040 (char *) "self", NULL
19041 };
19042
19043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleY",kwnames,&obj0)) goto fail;
19044 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19045 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19046 {
19047 PyThreadState* __tstate = wxPyBeginAllowThreads();
19048 result = (double)(arg1)->GetPrinterScaleY();
19049
19050 wxPyEndAllowThreads(__tstate);
19051 if (PyErr_Occurred()) SWIG_fail;
19052 }
19053 resultobj = SWIG_From_double((double)result);
19054 return resultobj;
19055 fail:
19056 return NULL;
19057 }
19058
19059
19060 static PyObject *_wrap_PrintData_GetPrinterTranslateX(PyObject *, PyObject *args, PyObject *kwargs) {
19061 PyObject *resultobj;
19062 wxPrintData *arg1 = (wxPrintData *) 0 ;
19063 long result;
19064 PyObject * obj0 = 0 ;
19065 char *kwnames[] = {
19066 (char *) "self", NULL
19067 };
19068
19069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateX",kwnames,&obj0)) goto fail;
19070 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19071 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19072 {
19073 PyThreadState* __tstate = wxPyBeginAllowThreads();
19074 result = (long)(arg1)->GetPrinterTranslateX();
19075
19076 wxPyEndAllowThreads(__tstate);
19077 if (PyErr_Occurred()) SWIG_fail;
19078 }
19079 resultobj = SWIG_From_long((long)result);
19080 return resultobj;
19081 fail:
19082 return NULL;
19083 }
19084
19085
19086 static PyObject *_wrap_PrintData_GetPrinterTranslateY(PyObject *, PyObject *args, PyObject *kwargs) {
19087 PyObject *resultobj;
19088 wxPrintData *arg1 = (wxPrintData *) 0 ;
19089 long result;
19090 PyObject * obj0 = 0 ;
19091 char *kwnames[] = {
19092 (char *) "self", NULL
19093 };
19094
19095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateY",kwnames,&obj0)) goto fail;
19096 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19097 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19098 {
19099 PyThreadState* __tstate = wxPyBeginAllowThreads();
19100 result = (long)(arg1)->GetPrinterTranslateY();
19101
19102 wxPyEndAllowThreads(__tstate);
19103 if (PyErr_Occurred()) SWIG_fail;
19104 }
19105 resultobj = SWIG_From_long((long)result);
19106 return resultobj;
19107 fail:
19108 return NULL;
19109 }
19110
19111
19112 static PyObject *_wrap_PrintData_GetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) {
19113 PyObject *resultobj;
19114 wxPrintData *arg1 = (wxPrintData *) 0 ;
19115 int result;
19116 PyObject * obj0 = 0 ;
19117 char *kwnames[] = {
19118 (char *) "self", NULL
19119 };
19120
19121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail;
19122 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19123 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19124 {
19125 PyThreadState* __tstate = wxPyBeginAllowThreads();
19126 result = (int)(arg1)->GetPrintMode();
19127
19128 wxPyEndAllowThreads(__tstate);
19129 if (PyErr_Occurred()) SWIG_fail;
19130 }
19131 resultobj = SWIG_From_int((int)result);
19132 return resultobj;
19133 fail:
19134 return NULL;
19135 }
19136
19137
19138 static PyObject *_wrap_PrintData_SetPrinterCommand(PyObject *, PyObject *args, PyObject *kwargs) {
19139 PyObject *resultobj;
19140 wxPrintData *arg1 = (wxPrintData *) 0 ;
19141 wxString *arg2 = 0 ;
19142 bool temp2 = false ;
19143 PyObject * obj0 = 0 ;
19144 PyObject * obj1 = 0 ;
19145 char *kwnames[] = {
19146 (char *) "self",(char *) "command", NULL
19147 };
19148
19149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterCommand",kwnames,&obj0,&obj1)) goto fail;
19150 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19151 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19152 {
19153 arg2 = wxString_in_helper(obj1);
19154 if (arg2 == NULL) SWIG_fail;
19155 temp2 = true;
19156 }
19157 {
19158 PyThreadState* __tstate = wxPyBeginAllowThreads();
19159 (arg1)->SetPrinterCommand((wxString const &)*arg2);
19160
19161 wxPyEndAllowThreads(__tstate);
19162 if (PyErr_Occurred()) SWIG_fail;
19163 }
19164 Py_INCREF(Py_None); resultobj = Py_None;
19165 {
19166 if (temp2)
19167 delete arg2;
19168 }
19169 return resultobj;
19170 fail:
19171 {
19172 if (temp2)
19173 delete arg2;
19174 }
19175 return NULL;
19176 }
19177
19178
19179 static PyObject *_wrap_PrintData_SetPrinterOptions(PyObject *, PyObject *args, PyObject *kwargs) {
19180 PyObject *resultobj;
19181 wxPrintData *arg1 = (wxPrintData *) 0 ;
19182 wxString *arg2 = 0 ;
19183 bool temp2 = false ;
19184 PyObject * obj0 = 0 ;
19185 PyObject * obj1 = 0 ;
19186 char *kwnames[] = {
19187 (char *) "self",(char *) "options", NULL
19188 };
19189
19190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterOptions",kwnames,&obj0,&obj1)) goto fail;
19191 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19192 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19193 {
19194 arg2 = wxString_in_helper(obj1);
19195 if (arg2 == NULL) SWIG_fail;
19196 temp2 = true;
19197 }
19198 {
19199 PyThreadState* __tstate = wxPyBeginAllowThreads();
19200 (arg1)->SetPrinterOptions((wxString const &)*arg2);
19201
19202 wxPyEndAllowThreads(__tstate);
19203 if (PyErr_Occurred()) SWIG_fail;
19204 }
19205 Py_INCREF(Py_None); resultobj = Py_None;
19206 {
19207 if (temp2)
19208 delete arg2;
19209 }
19210 return resultobj;
19211 fail:
19212 {
19213 if (temp2)
19214 delete arg2;
19215 }
19216 return NULL;
19217 }
19218
19219
19220 static PyObject *_wrap_PrintData_SetPreviewCommand(PyObject *, PyObject *args, PyObject *kwargs) {
19221 PyObject *resultobj;
19222 wxPrintData *arg1 = (wxPrintData *) 0 ;
19223 wxString *arg2 = 0 ;
19224 bool temp2 = false ;
19225 PyObject * obj0 = 0 ;
19226 PyObject * obj1 = 0 ;
19227 char *kwnames[] = {
19228 (char *) "self",(char *) "command", NULL
19229 };
19230
19231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPreviewCommand",kwnames,&obj0,&obj1)) goto fail;
19232 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19233 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19234 {
19235 arg2 = wxString_in_helper(obj1);
19236 if (arg2 == NULL) SWIG_fail;
19237 temp2 = true;
19238 }
19239 {
19240 PyThreadState* __tstate = wxPyBeginAllowThreads();
19241 (arg1)->SetPreviewCommand((wxString const &)*arg2);
19242
19243 wxPyEndAllowThreads(__tstate);
19244 if (PyErr_Occurred()) SWIG_fail;
19245 }
19246 Py_INCREF(Py_None); resultobj = Py_None;
19247 {
19248 if (temp2)
19249 delete arg2;
19250 }
19251 return resultobj;
19252 fail:
19253 {
19254 if (temp2)
19255 delete arg2;
19256 }
19257 return NULL;
19258 }
19259
19260
19261 static PyObject *_wrap_PrintData_SetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
19262 PyObject *resultobj;
19263 wxPrintData *arg1 = (wxPrintData *) 0 ;
19264 wxString *arg2 = 0 ;
19265 bool temp2 = false ;
19266 PyObject * obj0 = 0 ;
19267 PyObject * obj1 = 0 ;
19268 char *kwnames[] = {
19269 (char *) "self",(char *) "filename", NULL
19270 };
19271
19272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail;
19273 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19274 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19275 {
19276 arg2 = wxString_in_helper(obj1);
19277 if (arg2 == NULL) SWIG_fail;
19278 temp2 = true;
19279 }
19280 {
19281 PyThreadState* __tstate = wxPyBeginAllowThreads();
19282 (arg1)->SetFilename((wxString const &)*arg2);
19283
19284 wxPyEndAllowThreads(__tstate);
19285 if (PyErr_Occurred()) SWIG_fail;
19286 }
19287 Py_INCREF(Py_None); resultobj = Py_None;
19288 {
19289 if (temp2)
19290 delete arg2;
19291 }
19292 return resultobj;
19293 fail:
19294 {
19295 if (temp2)
19296 delete arg2;
19297 }
19298 return NULL;
19299 }
19300
19301
19302 static PyObject *_wrap_PrintData_SetFontMetricPath(PyObject *, PyObject *args, PyObject *kwargs) {
19303 PyObject *resultobj;
19304 wxPrintData *arg1 = (wxPrintData *) 0 ;
19305 wxString *arg2 = 0 ;
19306 bool temp2 = false ;
19307 PyObject * obj0 = 0 ;
19308 PyObject * obj1 = 0 ;
19309 char *kwnames[] = {
19310 (char *) "self",(char *) "path", NULL
19311 };
19312
19313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFontMetricPath",kwnames,&obj0,&obj1)) goto fail;
19314 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19315 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19316 {
19317 arg2 = wxString_in_helper(obj1);
19318 if (arg2 == NULL) SWIG_fail;
19319 temp2 = true;
19320 }
19321 {
19322 PyThreadState* __tstate = wxPyBeginAllowThreads();
19323 (arg1)->SetFontMetricPath((wxString const &)*arg2);
19324
19325 wxPyEndAllowThreads(__tstate);
19326 if (PyErr_Occurred()) SWIG_fail;
19327 }
19328 Py_INCREF(Py_None); resultobj = Py_None;
19329 {
19330 if (temp2)
19331 delete arg2;
19332 }
19333 return resultobj;
19334 fail:
19335 {
19336 if (temp2)
19337 delete arg2;
19338 }
19339 return NULL;
19340 }
19341
19342
19343 static PyObject *_wrap_PrintData_SetPrinterScaleX(PyObject *, PyObject *args, PyObject *kwargs) {
19344 PyObject *resultobj;
19345 wxPrintData *arg1 = (wxPrintData *) 0 ;
19346 double arg2 ;
19347 PyObject * obj0 = 0 ;
19348 PyObject * obj1 = 0 ;
19349 char *kwnames[] = {
19350 (char *) "self",(char *) "x", NULL
19351 };
19352
19353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleX",kwnames,&obj0,&obj1)) goto fail;
19354 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19355 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19356 arg2 = (double)SWIG_As_double(obj1);
19357 if (PyErr_Occurred()) SWIG_fail;
19358 {
19359 PyThreadState* __tstate = wxPyBeginAllowThreads();
19360 (arg1)->SetPrinterScaleX(arg2);
19361
19362 wxPyEndAllowThreads(__tstate);
19363 if (PyErr_Occurred()) SWIG_fail;
19364 }
19365 Py_INCREF(Py_None); resultobj = Py_None;
19366 return resultobj;
19367 fail:
19368 return NULL;
19369 }
19370
19371
19372 static PyObject *_wrap_PrintData_SetPrinterScaleY(PyObject *, PyObject *args, PyObject *kwargs) {
19373 PyObject *resultobj;
19374 wxPrintData *arg1 = (wxPrintData *) 0 ;
19375 double arg2 ;
19376 PyObject * obj0 = 0 ;
19377 PyObject * obj1 = 0 ;
19378 char *kwnames[] = {
19379 (char *) "self",(char *) "y", NULL
19380 };
19381
19382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleY",kwnames,&obj0,&obj1)) goto fail;
19383 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19385 arg2 = (double)SWIG_As_double(obj1);
19386 if (PyErr_Occurred()) SWIG_fail;
19387 {
19388 PyThreadState* __tstate = wxPyBeginAllowThreads();
19389 (arg1)->SetPrinterScaleY(arg2);
19390
19391 wxPyEndAllowThreads(__tstate);
19392 if (PyErr_Occurred()) SWIG_fail;
19393 }
19394 Py_INCREF(Py_None); resultobj = Py_None;
19395 return resultobj;
19396 fail:
19397 return NULL;
19398 }
19399
19400
19401 static PyObject *_wrap_PrintData_SetPrinterScaling(PyObject *, PyObject *args, PyObject *kwargs) {
19402 PyObject *resultobj;
19403 wxPrintData *arg1 = (wxPrintData *) 0 ;
19404 double arg2 ;
19405 double arg3 ;
19406 PyObject * obj0 = 0 ;
19407 PyObject * obj1 = 0 ;
19408 PyObject * obj2 = 0 ;
19409 char *kwnames[] = {
19410 (char *) "self",(char *) "x",(char *) "y", NULL
19411 };
19412
19413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterScaling",kwnames,&obj0,&obj1,&obj2)) goto fail;
19414 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19415 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19416 arg2 = (double)SWIG_As_double(obj1);
19417 if (PyErr_Occurred()) SWIG_fail;
19418 arg3 = (double)SWIG_As_double(obj2);
19419 if (PyErr_Occurred()) SWIG_fail;
19420 {
19421 PyThreadState* __tstate = wxPyBeginAllowThreads();
19422 (arg1)->SetPrinterScaling(arg2,arg3);
19423
19424 wxPyEndAllowThreads(__tstate);
19425 if (PyErr_Occurred()) SWIG_fail;
19426 }
19427 Py_INCREF(Py_None); resultobj = Py_None;
19428 return resultobj;
19429 fail:
19430 return NULL;
19431 }
19432
19433
19434 static PyObject *_wrap_PrintData_SetPrinterTranslateX(PyObject *, PyObject *args, PyObject *kwargs) {
19435 PyObject *resultobj;
19436 wxPrintData *arg1 = (wxPrintData *) 0 ;
19437 long arg2 ;
19438 PyObject * obj0 = 0 ;
19439 PyObject * obj1 = 0 ;
19440 char *kwnames[] = {
19441 (char *) "self",(char *) "x", NULL
19442 };
19443
19444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames,&obj0,&obj1)) goto fail;
19445 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19446 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19447 arg2 = (long)SWIG_As_long(obj1);
19448 if (PyErr_Occurred()) SWIG_fail;
19449 {
19450 PyThreadState* __tstate = wxPyBeginAllowThreads();
19451 (arg1)->SetPrinterTranslateX(arg2);
19452
19453 wxPyEndAllowThreads(__tstate);
19454 if (PyErr_Occurred()) SWIG_fail;
19455 }
19456 Py_INCREF(Py_None); resultobj = Py_None;
19457 return resultobj;
19458 fail:
19459 return NULL;
19460 }
19461
19462
19463 static PyObject *_wrap_PrintData_SetPrinterTranslateY(PyObject *, PyObject *args, PyObject *kwargs) {
19464 PyObject *resultobj;
19465 wxPrintData *arg1 = (wxPrintData *) 0 ;
19466 long arg2 ;
19467 PyObject * obj0 = 0 ;
19468 PyObject * obj1 = 0 ;
19469 char *kwnames[] = {
19470 (char *) "self",(char *) "y", NULL
19471 };
19472
19473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames,&obj0,&obj1)) goto fail;
19474 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19475 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19476 arg2 = (long)SWIG_As_long(obj1);
19477 if (PyErr_Occurred()) SWIG_fail;
19478 {
19479 PyThreadState* __tstate = wxPyBeginAllowThreads();
19480 (arg1)->SetPrinterTranslateY(arg2);
19481
19482 wxPyEndAllowThreads(__tstate);
19483 if (PyErr_Occurred()) SWIG_fail;
19484 }
19485 Py_INCREF(Py_None); resultobj = Py_None;
19486 return resultobj;
19487 fail:
19488 return NULL;
19489 }
19490
19491
19492 static PyObject *_wrap_PrintData_SetPrinterTranslation(PyObject *, PyObject *args, PyObject *kwargs) {
19493 PyObject *resultobj;
19494 wxPrintData *arg1 = (wxPrintData *) 0 ;
19495 long arg2 ;
19496 long arg3 ;
19497 PyObject * obj0 = 0 ;
19498 PyObject * obj1 = 0 ;
19499 PyObject * obj2 = 0 ;
19500 char *kwnames[] = {
19501 (char *) "self",(char *) "x",(char *) "y", NULL
19502 };
19503
19504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames,&obj0,&obj1,&obj2)) goto fail;
19505 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19506 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19507 arg2 = (long)SWIG_As_long(obj1);
19508 if (PyErr_Occurred()) SWIG_fail;
19509 arg3 = (long)SWIG_As_long(obj2);
19510 if (PyErr_Occurred()) SWIG_fail;
19511 {
19512 PyThreadState* __tstate = wxPyBeginAllowThreads();
19513 (arg1)->SetPrinterTranslation(arg2,arg3);
19514
19515 wxPyEndAllowThreads(__tstate);
19516 if (PyErr_Occurred()) SWIG_fail;
19517 }
19518 Py_INCREF(Py_None); resultobj = Py_None;
19519 return resultobj;
19520 fail:
19521 return NULL;
19522 }
19523
19524
19525 static PyObject *_wrap_PrintData_SetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) {
19526 PyObject *resultobj;
19527 wxPrintData *arg1 = (wxPrintData *) 0 ;
19528 int arg2 ;
19529 PyObject * obj0 = 0 ;
19530 PyObject * obj1 = 0 ;
19531 char *kwnames[] = {
19532 (char *) "self",(char *) "printMode", NULL
19533 };
19534
19535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) goto fail;
19536 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19537 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19538 arg2 = (int)SWIG_As_int(obj1);
19539 if (PyErr_Occurred()) SWIG_fail;
19540 {
19541 PyThreadState* __tstate = wxPyBeginAllowThreads();
19542 (arg1)->SetPrintMode((wxPrintMode )arg2);
19543
19544 wxPyEndAllowThreads(__tstate);
19545 if (PyErr_Occurred()) SWIG_fail;
19546 }
19547 Py_INCREF(Py_None); resultobj = Py_None;
19548 return resultobj;
19549 fail:
19550 return NULL;
19551 }
19552
19553
19554 static PyObject *_wrap_PrintData_GetOutputStream(PyObject *, PyObject *args, PyObject *kwargs) {
19555 PyObject *resultobj;
19556 wxPrintData *arg1 = (wxPrintData *) 0 ;
19557 wxOutputStream *result;
19558 PyObject * obj0 = 0 ;
19559 char *kwnames[] = {
19560 (char *) "self", NULL
19561 };
19562
19563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOutputStream",kwnames,&obj0)) goto fail;
19564 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19565 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19566 {
19567 PyThreadState* __tstate = wxPyBeginAllowThreads();
19568 result = (wxOutputStream *)(arg1)->GetOutputStream();
19569
19570 wxPyEndAllowThreads(__tstate);
19571 if (PyErr_Occurred()) SWIG_fail;
19572 }
19573 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxOutputStream, 0);
19574 return resultobj;
19575 fail:
19576 return NULL;
19577 }
19578
19579
19580 static PyObject *_wrap_PrintData_SetOutputStream(PyObject *, PyObject *args, PyObject *kwargs) {
19581 PyObject *resultobj;
19582 wxPrintData *arg1 = (wxPrintData *) 0 ;
19583 wxOutputStream *arg2 = (wxOutputStream *) 0 ;
19584 PyObject * obj0 = 0 ;
19585 PyObject * obj1 = 0 ;
19586 char *kwnames[] = {
19587 (char *) "self",(char *) "outputstream", NULL
19588 };
19589
19590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOutputStream",kwnames,&obj0,&obj1)) goto fail;
19591 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19592 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19593 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxOutputStream,
19594 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19595 {
19596 PyThreadState* __tstate = wxPyBeginAllowThreads();
19597 (arg1)->SetOutputStream(arg2);
19598
19599 wxPyEndAllowThreads(__tstate);
19600 if (PyErr_Occurred()) SWIG_fail;
19601 }
19602 Py_INCREF(Py_None); resultobj = Py_None;
19603 return resultobj;
19604 fail:
19605 return NULL;
19606 }
19607
19608
19609 static PyObject * PrintData_swigregister(PyObject *, PyObject *args) {
19610 PyObject *obj;
19611 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19612 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj);
19613 Py_INCREF(obj);
19614 return Py_BuildValue((char *)"");
19615 }
19616 static PyObject *_wrap_new_PageSetupDialogData__SWIG_0(PyObject *, PyObject *args) {
19617 PyObject *resultobj;
19618 wxPageSetupDialogData *result;
19619
19620 if(!PyArg_ParseTuple(args,(char *)":new_PageSetupDialogData")) goto fail;
19621 {
19622 PyThreadState* __tstate = wxPyBeginAllowThreads();
19623 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
19624
19625 wxPyEndAllowThreads(__tstate);
19626 if (PyErr_Occurred()) SWIG_fail;
19627 }
19628 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
19629 return resultobj;
19630 fail:
19631 return NULL;
19632 }
19633
19634
19635 static PyObject *_wrap_new_PageSetupDialogData__SWIG_1(PyObject *, PyObject *args) {
19636 PyObject *resultobj;
19637 wxPageSetupDialogData *arg1 = 0 ;
19638 wxPageSetupDialogData *result;
19639 PyObject * obj0 = 0 ;
19640
19641 if(!PyArg_ParseTuple(args,(char *)"O:new_PageSetupDialogData",&obj0)) goto fail;
19642 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19643 SWIG_POINTER_EXCEPTION | 0)) == -1)
19644 SWIG_fail;
19645 if (arg1 == NULL) {
19646 PyErr_SetString(PyExc_TypeError,"null reference");
19647 SWIG_fail;
19648 }
19649 {
19650 PyThreadState* __tstate = wxPyBeginAllowThreads();
19651 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPageSetupDialogData const &)*arg1);
19652
19653 wxPyEndAllowThreads(__tstate);
19654 if (PyErr_Occurred()) SWIG_fail;
19655 }
19656 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
19657 return resultobj;
19658 fail:
19659 return NULL;
19660 }
19661
19662
19663 static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args) {
19664 int argc;
19665 PyObject *argv[2];
19666 int ii;
19667
19668 argc = PyObject_Length(args);
19669 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
19670 argv[ii] = PyTuple_GetItem(args,ii);
19671 }
19672 if (argc == 0) {
19673 return _wrap_new_PageSetupDialogData__SWIG_0(self,args);
19674 }
19675 if (argc == 1) {
19676 int _v;
19677 {
19678 void *ptr;
19679 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPageSetupDialogData, 0) == -1) {
19680 _v = 0;
19681 PyErr_Clear();
19682 } else {
19683 _v = 1;
19684 }
19685 }
19686 if (_v) {
19687 return _wrap_new_PageSetupDialogData__SWIG_1(self,args);
19688 }
19689 }
19690
19691 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PageSetupDialogData'");
19692 return NULL;
19693 }
19694
19695
19696 static PyObject *_wrap_delete_PageSetupDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
19697 PyObject *resultobj;
19698 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19699 PyObject * obj0 = 0 ;
19700 char *kwnames[] = {
19701 (char *) "self", NULL
19702 };
19703
19704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail;
19705 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19706 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19707 {
19708 PyThreadState* __tstate = wxPyBeginAllowThreads();
19709 delete arg1;
19710
19711 wxPyEndAllowThreads(__tstate);
19712 if (PyErr_Occurred()) SWIG_fail;
19713 }
19714 Py_INCREF(Py_None); resultobj = Py_None;
19715 return resultobj;
19716 fail:
19717 return NULL;
19718 }
19719
19720
19721 static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
19722 PyObject *resultobj;
19723 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19724 bool arg2 ;
19725 PyObject * obj0 = 0 ;
19726 PyObject * obj1 = 0 ;
19727 char *kwnames[] = {
19728 (char *) "self",(char *) "flag", NULL
19729 };
19730
19731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
19732 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19733 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19734 arg2 = (bool)SWIG_As_bool(obj1);
19735 if (PyErr_Occurred()) SWIG_fail;
19736 {
19737 PyThreadState* __tstate = wxPyBeginAllowThreads();
19738 (arg1)->EnableHelp(arg2);
19739
19740 wxPyEndAllowThreads(__tstate);
19741 if (PyErr_Occurred()) SWIG_fail;
19742 }
19743 Py_INCREF(Py_None); resultobj = Py_None;
19744 return resultobj;
19745 fail:
19746 return NULL;
19747 }
19748
19749
19750 static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *, PyObject *args, PyObject *kwargs) {
19751 PyObject *resultobj;
19752 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19753 bool arg2 ;
19754 PyObject * obj0 = 0 ;
19755 PyObject * obj1 = 0 ;
19756 char *kwnames[] = {
19757 (char *) "self",(char *) "flag", NULL
19758 };
19759
19760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail;
19761 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19762 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19763 arg2 = (bool)SWIG_As_bool(obj1);
19764 if (PyErr_Occurred()) SWIG_fail;
19765 {
19766 PyThreadState* __tstate = wxPyBeginAllowThreads();
19767 (arg1)->EnableMargins(arg2);
19768
19769 wxPyEndAllowThreads(__tstate);
19770 if (PyErr_Occurred()) SWIG_fail;
19771 }
19772 Py_INCREF(Py_None); resultobj = Py_None;
19773 return resultobj;
19774 fail:
19775 return NULL;
19776 }
19777
19778
19779 static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
19780 PyObject *resultobj;
19781 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19782 bool arg2 ;
19783 PyObject * obj0 = 0 ;
19784 PyObject * obj1 = 0 ;
19785 char *kwnames[] = {
19786 (char *) "self",(char *) "flag", NULL
19787 };
19788
19789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail;
19790 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19791 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19792 arg2 = (bool)SWIG_As_bool(obj1);
19793 if (PyErr_Occurred()) SWIG_fail;
19794 {
19795 PyThreadState* __tstate = wxPyBeginAllowThreads();
19796 (arg1)->EnableOrientation(arg2);
19797
19798 wxPyEndAllowThreads(__tstate);
19799 if (PyErr_Occurred()) SWIG_fail;
19800 }
19801 Py_INCREF(Py_None); resultobj = Py_None;
19802 return resultobj;
19803 fail:
19804 return NULL;
19805 }
19806
19807
19808 static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *, PyObject *args, PyObject *kwargs) {
19809 PyObject *resultobj;
19810 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19811 bool arg2 ;
19812 PyObject * obj0 = 0 ;
19813 PyObject * obj1 = 0 ;
19814 char *kwnames[] = {
19815 (char *) "self",(char *) "flag", NULL
19816 };
19817
19818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail;
19819 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19820 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19821 arg2 = (bool)SWIG_As_bool(obj1);
19822 if (PyErr_Occurred()) SWIG_fail;
19823 {
19824 PyThreadState* __tstate = wxPyBeginAllowThreads();
19825 (arg1)->EnablePaper(arg2);
19826
19827 wxPyEndAllowThreads(__tstate);
19828 if (PyErr_Occurred()) SWIG_fail;
19829 }
19830 Py_INCREF(Py_None); resultobj = Py_None;
19831 return resultobj;
19832 fail:
19833 return NULL;
19834 }
19835
19836
19837 static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *, PyObject *args, PyObject *kwargs) {
19838 PyObject *resultobj;
19839 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19840 bool arg2 ;
19841 PyObject * obj0 = 0 ;
19842 PyObject * obj1 = 0 ;
19843 char *kwnames[] = {
19844 (char *) "self",(char *) "flag", NULL
19845 };
19846
19847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail;
19848 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19849 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19850 arg2 = (bool)SWIG_As_bool(obj1);
19851 if (PyErr_Occurred()) SWIG_fail;
19852 {
19853 PyThreadState* __tstate = wxPyBeginAllowThreads();
19854 (arg1)->EnablePrinter(arg2);
19855
19856 wxPyEndAllowThreads(__tstate);
19857 if (PyErr_Occurred()) SWIG_fail;
19858 }
19859 Py_INCREF(Py_None); resultobj = Py_None;
19860 return resultobj;
19861 fail:
19862 return NULL;
19863 }
19864
19865
19866 static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *, PyObject *args, PyObject *kwargs) {
19867 PyObject *resultobj;
19868 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19869 bool result;
19870 PyObject * obj0 = 0 ;
19871 char *kwnames[] = {
19872 (char *) "self", NULL
19873 };
19874
19875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames,&obj0)) goto fail;
19876 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19877 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19878 {
19879 PyThreadState* __tstate = wxPyBeginAllowThreads();
19880 result = (bool)(arg1)->GetDefaultMinMargins();
19881
19882 wxPyEndAllowThreads(__tstate);
19883 if (PyErr_Occurred()) SWIG_fail;
19884 }
19885 {
19886 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19887 }
19888 return resultobj;
19889 fail:
19890 return NULL;
19891 }
19892
19893
19894 static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *, PyObject *args, PyObject *kwargs) {
19895 PyObject *resultobj;
19896 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19897 bool result;
19898 PyObject * obj0 = 0 ;
19899 char *kwnames[] = {
19900 (char *) "self", NULL
19901 };
19902
19903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail;
19904 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19905 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19906 {
19907 PyThreadState* __tstate = wxPyBeginAllowThreads();
19908 result = (bool)(arg1)->GetEnableMargins();
19909
19910 wxPyEndAllowThreads(__tstate);
19911 if (PyErr_Occurred()) SWIG_fail;
19912 }
19913 {
19914 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19915 }
19916 return resultobj;
19917 fail:
19918 return NULL;
19919 }
19920
19921
19922 static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
19923 PyObject *resultobj;
19924 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19925 bool result;
19926 PyObject * obj0 = 0 ;
19927 char *kwnames[] = {
19928 (char *) "self", NULL
19929 };
19930
19931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail;
19932 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19933 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19934 {
19935 PyThreadState* __tstate = wxPyBeginAllowThreads();
19936 result = (bool)(arg1)->GetEnableOrientation();
19937
19938 wxPyEndAllowThreads(__tstate);
19939 if (PyErr_Occurred()) SWIG_fail;
19940 }
19941 {
19942 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19943 }
19944 return resultobj;
19945 fail:
19946 return NULL;
19947 }
19948
19949
19950 static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *, PyObject *args, PyObject *kwargs) {
19951 PyObject *resultobj;
19952 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19953 bool result;
19954 PyObject * obj0 = 0 ;
19955 char *kwnames[] = {
19956 (char *) "self", NULL
19957 };
19958
19959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail;
19960 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19961 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19962 {
19963 PyThreadState* __tstate = wxPyBeginAllowThreads();
19964 result = (bool)(arg1)->GetEnablePaper();
19965
19966 wxPyEndAllowThreads(__tstate);
19967 if (PyErr_Occurred()) SWIG_fail;
19968 }
19969 {
19970 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19971 }
19972 return resultobj;
19973 fail:
19974 return NULL;
19975 }
19976
19977
19978 static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *, PyObject *args, PyObject *kwargs) {
19979 PyObject *resultobj;
19980 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19981 bool result;
19982 PyObject * obj0 = 0 ;
19983 char *kwnames[] = {
19984 (char *) "self", NULL
19985 };
19986
19987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail;
19988 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19989 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19990 {
19991 PyThreadState* __tstate = wxPyBeginAllowThreads();
19992 result = (bool)(arg1)->GetEnablePrinter();
19993
19994 wxPyEndAllowThreads(__tstate);
19995 if (PyErr_Occurred()) SWIG_fail;
19996 }
19997 {
19998 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19999 }
20000 return resultobj;
20001 fail:
20002 return NULL;
20003 }
20004
20005
20006 static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
20007 PyObject *resultobj;
20008 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20009 bool result;
20010 PyObject * obj0 = 0 ;
20011 char *kwnames[] = {
20012 (char *) "self", NULL
20013 };
20014
20015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
20016 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20017 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20018 {
20019 PyThreadState* __tstate = wxPyBeginAllowThreads();
20020 result = (bool)(arg1)->GetEnableHelp();
20021
20022 wxPyEndAllowThreads(__tstate);
20023 if (PyErr_Occurred()) SWIG_fail;
20024 }
20025 {
20026 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20027 }
20028 return resultobj;
20029 fail:
20030 return NULL;
20031 }
20032
20033
20034 static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *, PyObject *args, PyObject *kwargs) {
20035 PyObject *resultobj;
20036 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20037 bool result;
20038 PyObject * obj0 = 0 ;
20039 char *kwnames[] = {
20040 (char *) "self", NULL
20041 };
20042
20043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames,&obj0)) goto fail;
20044 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20045 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20046 {
20047 PyThreadState* __tstate = wxPyBeginAllowThreads();
20048 result = (bool)(arg1)->GetDefaultInfo();
20049
20050 wxPyEndAllowThreads(__tstate);
20051 if (PyErr_Occurred()) SWIG_fail;
20052 }
20053 {
20054 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20055 }
20056 return resultobj;
20057 fail:
20058 return NULL;
20059 }
20060
20061
20062 static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
20063 PyObject *resultobj;
20064 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20065 wxPoint result;
20066 PyObject * obj0 = 0 ;
20067 char *kwnames[] = {
20068 (char *) "self", NULL
20069 };
20070
20071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail;
20072 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20073 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20074 {
20075 PyThreadState* __tstate = wxPyBeginAllowThreads();
20076 result = (arg1)->GetMarginTopLeft();
20077
20078 wxPyEndAllowThreads(__tstate);
20079 if (PyErr_Occurred()) SWIG_fail;
20080 }
20081 {
20082 wxPoint * resultptr;
20083 resultptr = new wxPoint((wxPoint &) result);
20084 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
20085 }
20086 return resultobj;
20087 fail:
20088 return NULL;
20089 }
20090
20091
20092 static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
20093 PyObject *resultobj;
20094 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20095 wxPoint result;
20096 PyObject * obj0 = 0 ;
20097 char *kwnames[] = {
20098 (char *) "self", NULL
20099 };
20100
20101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail;
20102 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20103 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20104 {
20105 PyThreadState* __tstate = wxPyBeginAllowThreads();
20106 result = (arg1)->GetMarginBottomRight();
20107
20108 wxPyEndAllowThreads(__tstate);
20109 if (PyErr_Occurred()) SWIG_fail;
20110 }
20111 {
20112 wxPoint * resultptr;
20113 resultptr = new wxPoint((wxPoint &) result);
20114 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
20115 }
20116 return resultobj;
20117 fail:
20118 return NULL;
20119 }
20120
20121
20122 static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
20123 PyObject *resultobj;
20124 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20125 wxPoint result;
20126 PyObject * obj0 = 0 ;
20127 char *kwnames[] = {
20128 (char *) "self", NULL
20129 };
20130
20131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail;
20132 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20133 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20134 {
20135 PyThreadState* __tstate = wxPyBeginAllowThreads();
20136 result = (arg1)->GetMinMarginTopLeft();
20137
20138 wxPyEndAllowThreads(__tstate);
20139 if (PyErr_Occurred()) SWIG_fail;
20140 }
20141 {
20142 wxPoint * resultptr;
20143 resultptr = new wxPoint((wxPoint &) result);
20144 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
20145 }
20146 return resultobj;
20147 fail:
20148 return NULL;
20149 }
20150
20151
20152 static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
20153 PyObject *resultobj;
20154 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20155 wxPoint result;
20156 PyObject * obj0 = 0 ;
20157 char *kwnames[] = {
20158 (char *) "self", NULL
20159 };
20160
20161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail;
20162 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20163 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20164 {
20165 PyThreadState* __tstate = wxPyBeginAllowThreads();
20166 result = (arg1)->GetMinMarginBottomRight();
20167
20168 wxPyEndAllowThreads(__tstate);
20169 if (PyErr_Occurred()) SWIG_fail;
20170 }
20171 {
20172 wxPoint * resultptr;
20173 resultptr = new wxPoint((wxPoint &) result);
20174 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
20175 }
20176 return resultobj;
20177 fail:
20178 return NULL;
20179 }
20180
20181
20182 static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
20183 PyObject *resultobj;
20184 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20185 int result;
20186 PyObject * obj0 = 0 ;
20187 char *kwnames[] = {
20188 (char *) "self", NULL
20189 };
20190
20191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",kwnames,&obj0)) goto fail;
20192 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20193 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20194 {
20195 PyThreadState* __tstate = wxPyBeginAllowThreads();
20196 result = (int)(arg1)->GetPaperId();
20197
20198 wxPyEndAllowThreads(__tstate);
20199 if (PyErr_Occurred()) SWIG_fail;
20200 }
20201 resultobj = SWIG_From_int((int)result);
20202 return resultobj;
20203 fail:
20204 return NULL;
20205 }
20206
20207
20208 static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
20209 PyObject *resultobj;
20210 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20211 wxSize result;
20212 PyObject * obj0 = 0 ;
20213 char *kwnames[] = {
20214 (char *) "self", NULL
20215 };
20216
20217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail;
20218 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20220 {
20221 PyThreadState* __tstate = wxPyBeginAllowThreads();
20222 result = (arg1)->GetPaperSize();
20223
20224 wxPyEndAllowThreads(__tstate);
20225 if (PyErr_Occurred()) SWIG_fail;
20226 }
20227 {
20228 wxSize * resultptr;
20229 resultptr = new wxSize((wxSize &) result);
20230 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20231 }
20232 return resultobj;
20233 fail:
20234 return NULL;
20235 }
20236
20237
20238 static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
20239 PyObject *resultobj;
20240 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20241 wxPrintData *result;
20242 PyObject * obj0 = 0 ;
20243 char *kwnames[] = {
20244 (char *) "self", NULL
20245 };
20246
20247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail;
20248 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20249 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20250 {
20251 PyThreadState* __tstate = wxPyBeginAllowThreads();
20252 {
20253 wxPrintData &_result_ref = (arg1)->GetPrintData();
20254 result = (wxPrintData *) &_result_ref;
20255 }
20256
20257 wxPyEndAllowThreads(__tstate);
20258 if (PyErr_Occurred()) SWIG_fail;
20259 }
20260 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
20261 return resultobj;
20262 fail:
20263 return NULL;
20264 }
20265
20266
20267 static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
20268 PyObject *resultobj;
20269 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20270 bool result;
20271 PyObject * obj0 = 0 ;
20272 char *kwnames[] = {
20273 (char *) "self", NULL
20274 };
20275
20276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_Ok",kwnames,&obj0)) goto fail;
20277 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20278 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20279 {
20280 PyThreadState* __tstate = wxPyBeginAllowThreads();
20281 result = (bool)(arg1)->Ok();
20282
20283 wxPyEndAllowThreads(__tstate);
20284 if (PyErr_Occurred()) SWIG_fail;
20285 }
20286 {
20287 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20288 }
20289 return resultobj;
20290 fail:
20291 return NULL;
20292 }
20293
20294
20295 static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *, PyObject *args, PyObject *kwargs) {
20296 PyObject *resultobj;
20297 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20298 bool arg2 ;
20299 PyObject * obj0 = 0 ;
20300 PyObject * obj1 = 0 ;
20301 char *kwnames[] = {
20302 (char *) "self",(char *) "flag", NULL
20303 };
20304
20305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail;
20306 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20307 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20308 arg2 = (bool)SWIG_As_bool(obj1);
20309 if (PyErr_Occurred()) SWIG_fail;
20310 {
20311 PyThreadState* __tstate = wxPyBeginAllowThreads();
20312 (arg1)->SetDefaultInfo(arg2);
20313
20314 wxPyEndAllowThreads(__tstate);
20315 if (PyErr_Occurred()) SWIG_fail;
20316 }
20317 Py_INCREF(Py_None); resultobj = Py_None;
20318 return resultobj;
20319 fail:
20320 return NULL;
20321 }
20322
20323
20324 static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *, PyObject *args, PyObject *kwargs) {
20325 PyObject *resultobj;
20326 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20327 bool arg2 ;
20328 PyObject * obj0 = 0 ;
20329 PyObject * obj1 = 0 ;
20330 char *kwnames[] = {
20331 (char *) "self",(char *) "flag", NULL
20332 };
20333
20334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail;
20335 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20336 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20337 arg2 = (bool)SWIG_As_bool(obj1);
20338 if (PyErr_Occurred()) SWIG_fail;
20339 {
20340 PyThreadState* __tstate = wxPyBeginAllowThreads();
20341 (arg1)->SetDefaultMinMargins(arg2);
20342
20343 wxPyEndAllowThreads(__tstate);
20344 if (PyErr_Occurred()) SWIG_fail;
20345 }
20346 Py_INCREF(Py_None); resultobj = Py_None;
20347 return resultobj;
20348 fail:
20349 return NULL;
20350 }
20351
20352
20353 static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
20354 PyObject *resultobj;
20355 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20356 wxPoint *arg2 = 0 ;
20357 wxPoint temp2 ;
20358 PyObject * obj0 = 0 ;
20359 PyObject * obj1 = 0 ;
20360 char *kwnames[] = {
20361 (char *) "self",(char *) "pt", NULL
20362 };
20363
20364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
20365 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20366 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20367 {
20368 arg2 = &temp2;
20369 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20370 }
20371 {
20372 PyThreadState* __tstate = wxPyBeginAllowThreads();
20373 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
20374
20375 wxPyEndAllowThreads(__tstate);
20376 if (PyErr_Occurred()) SWIG_fail;
20377 }
20378 Py_INCREF(Py_None); resultobj = Py_None;
20379 return resultobj;
20380 fail:
20381 return NULL;
20382 }
20383
20384
20385 static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
20386 PyObject *resultobj;
20387 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20388 wxPoint *arg2 = 0 ;
20389 wxPoint temp2 ;
20390 PyObject * obj0 = 0 ;
20391 PyObject * obj1 = 0 ;
20392 char *kwnames[] = {
20393 (char *) "self",(char *) "pt", NULL
20394 };
20395
20396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
20397 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20398 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20399 {
20400 arg2 = &temp2;
20401 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20402 }
20403 {
20404 PyThreadState* __tstate = wxPyBeginAllowThreads();
20405 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
20406
20407 wxPyEndAllowThreads(__tstate);
20408 if (PyErr_Occurred()) SWIG_fail;
20409 }
20410 Py_INCREF(Py_None); resultobj = Py_None;
20411 return resultobj;
20412 fail:
20413 return NULL;
20414 }
20415
20416
20417 static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
20418 PyObject *resultobj;
20419 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20420 wxPoint *arg2 = 0 ;
20421 wxPoint temp2 ;
20422 PyObject * obj0 = 0 ;
20423 PyObject * obj1 = 0 ;
20424 char *kwnames[] = {
20425 (char *) "self",(char *) "pt", NULL
20426 };
20427
20428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
20429 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20430 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20431 {
20432 arg2 = &temp2;
20433 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20434 }
20435 {
20436 PyThreadState* __tstate = wxPyBeginAllowThreads();
20437 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
20438
20439 wxPyEndAllowThreads(__tstate);
20440 if (PyErr_Occurred()) SWIG_fail;
20441 }
20442 Py_INCREF(Py_None); resultobj = Py_None;
20443 return resultobj;
20444 fail:
20445 return NULL;
20446 }
20447
20448
20449 static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
20450 PyObject *resultobj;
20451 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20452 wxPoint *arg2 = 0 ;
20453 wxPoint temp2 ;
20454 PyObject * obj0 = 0 ;
20455 PyObject * obj1 = 0 ;
20456 char *kwnames[] = {
20457 (char *) "self",(char *) "pt", NULL
20458 };
20459
20460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
20461 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20462 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20463 {
20464 arg2 = &temp2;
20465 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20466 }
20467 {
20468 PyThreadState* __tstate = wxPyBeginAllowThreads();
20469 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
20470
20471 wxPyEndAllowThreads(__tstate);
20472 if (PyErr_Occurred()) SWIG_fail;
20473 }
20474 Py_INCREF(Py_None); resultobj = Py_None;
20475 return resultobj;
20476 fail:
20477 return NULL;
20478 }
20479
20480
20481 static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
20482 PyObject *resultobj;
20483 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20484 int arg2 ;
20485 PyObject * obj0 = 0 ;
20486 PyObject * obj1 = 0 ;
20487 char *kwnames[] = {
20488 (char *) "self",(char *) "id", NULL
20489 };
20490
20491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
20492 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20493 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20494 arg2 = (int)SWIG_As_int(obj1);
20495 if (PyErr_Occurred()) SWIG_fail;
20496 {
20497 PyThreadState* __tstate = wxPyBeginAllowThreads();
20498 (arg1)->SetPaperId((wxPaperSize )arg2);
20499
20500 wxPyEndAllowThreads(__tstate);
20501 if (PyErr_Occurred()) SWIG_fail;
20502 }
20503 Py_INCREF(Py_None); resultobj = Py_None;
20504 return resultobj;
20505 fail:
20506 return NULL;
20507 }
20508
20509
20510 static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
20511 PyObject *resultobj;
20512 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20513 wxSize *arg2 = 0 ;
20514 wxSize temp2 ;
20515 PyObject * obj0 = 0 ;
20516 PyObject * obj1 = 0 ;
20517 char *kwnames[] = {
20518 (char *) "self",(char *) "size", NULL
20519 };
20520
20521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
20522 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20523 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20524 {
20525 arg2 = &temp2;
20526 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
20527 }
20528 {
20529 PyThreadState* __tstate = wxPyBeginAllowThreads();
20530 (arg1)->SetPaperSize((wxSize const &)*arg2);
20531
20532 wxPyEndAllowThreads(__tstate);
20533 if (PyErr_Occurred()) SWIG_fail;
20534 }
20535 Py_INCREF(Py_None); resultobj = Py_None;
20536 return resultobj;
20537 fail:
20538 return NULL;
20539 }
20540
20541
20542 static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
20543 PyObject *resultobj;
20544 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20545 wxPrintData *arg2 = 0 ;
20546 PyObject * obj0 = 0 ;
20547 PyObject * obj1 = 0 ;
20548 char *kwnames[] = {
20549 (char *) "self",(char *) "printData", NULL
20550 };
20551
20552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
20553 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20554 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20555 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData,
20556 SWIG_POINTER_EXCEPTION | 0)) == -1)
20557 SWIG_fail;
20558 if (arg2 == NULL) {
20559 PyErr_SetString(PyExc_TypeError,"null reference");
20560 SWIG_fail;
20561 }
20562 {
20563 PyThreadState* __tstate = wxPyBeginAllowThreads();
20564 (arg1)->SetPrintData((wxPrintData const &)*arg2);
20565
20566 wxPyEndAllowThreads(__tstate);
20567 if (PyErr_Occurred()) SWIG_fail;
20568 }
20569 Py_INCREF(Py_None); resultobj = Py_None;
20570 return resultobj;
20571 fail:
20572 return NULL;
20573 }
20574
20575
20576 static PyObject * PageSetupDialogData_swigregister(PyObject *, PyObject *args) {
20577 PyObject *obj;
20578 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20579 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj);
20580 Py_INCREF(obj);
20581 return Py_BuildValue((char *)"");
20582 }
20583 static PyObject *_wrap_new_PageSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
20584 PyObject *resultobj;
20585 wxWindow *arg1 = (wxWindow *) 0 ;
20586 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
20587 wxPageSetupDialog *result;
20588 PyObject * obj0 = 0 ;
20589 PyObject * obj1 = 0 ;
20590 char *kwnames[] = {
20591 (char *) "parent",(char *) "data", NULL
20592 };
20593
20594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail;
20595 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
20596 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20597 if (obj1) {
20598 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPageSetupDialogData,
20599 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20600 }
20601 {
20602 if (!wxPyCheckForApp()) SWIG_fail;
20603 PyThreadState* __tstate = wxPyBeginAllowThreads();
20604 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
20605
20606 wxPyEndAllowThreads(__tstate);
20607 if (PyErr_Occurred()) SWIG_fail;
20608 }
20609 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialog, 1);
20610 return resultobj;
20611 fail:
20612 return NULL;
20613 }
20614
20615
20616 static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *, PyObject *args, PyObject *kwargs) {
20617 PyObject *resultobj;
20618 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
20619 wxPageSetupDialogData *result;
20620 PyObject * obj0 = 0 ;
20621 char *kwnames[] = {
20622 (char *) "self", NULL
20623 };
20624
20625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail;
20626 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog,
20627 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20628 {
20629 PyThreadState* __tstate = wxPyBeginAllowThreads();
20630 {
20631 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
20632 result = (wxPageSetupDialogData *) &_result_ref;
20633 }
20634
20635 wxPyEndAllowThreads(__tstate);
20636 if (PyErr_Occurred()) SWIG_fail;
20637 }
20638 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
20639 return resultobj;
20640 fail:
20641 return NULL;
20642 }
20643
20644
20645 static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
20646 PyObject *resultobj;
20647 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
20648 int result;
20649 PyObject * obj0 = 0 ;
20650 char *kwnames[] = {
20651 (char *) "self", NULL
20652 };
20653
20654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail;
20655 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog,
20656 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20657 {
20658 PyThreadState* __tstate = wxPyBeginAllowThreads();
20659 result = (int)(arg1)->ShowModal();
20660
20661 wxPyEndAllowThreads(__tstate);
20662 if (PyErr_Occurred()) SWIG_fail;
20663 }
20664 resultobj = SWIG_From_int((int)result);
20665 return resultobj;
20666 fail:
20667 return NULL;
20668 }
20669
20670
20671 static PyObject * PageSetupDialog_swigregister(PyObject *, PyObject *args) {
20672 PyObject *obj;
20673 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20674 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj);
20675 Py_INCREF(obj);
20676 return Py_BuildValue((char *)"");
20677 }
20678 static PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *, PyObject *args) {
20679 PyObject *resultobj;
20680 wxPrintDialogData *result;
20681
20682 if(!PyArg_ParseTuple(args,(char *)":new_PrintDialogData")) goto fail;
20683 {
20684 PyThreadState* __tstate = wxPyBeginAllowThreads();
20685 result = (wxPrintDialogData *)new wxPrintDialogData();
20686
20687 wxPyEndAllowThreads(__tstate);
20688 if (PyErr_Occurred()) SWIG_fail;
20689 }
20690 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
20691 return resultobj;
20692 fail:
20693 return NULL;
20694 }
20695
20696
20697 static PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *, PyObject *args) {
20698 PyObject *resultobj;
20699 wxPrintData *arg1 = 0 ;
20700 wxPrintDialogData *result;
20701 PyObject * obj0 = 0 ;
20702
20703 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintDialogData",&obj0)) goto fail;
20704 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
20705 SWIG_POINTER_EXCEPTION | 0)) == -1)
20706 SWIG_fail;
20707 if (arg1 == NULL) {
20708 PyErr_SetString(PyExc_TypeError,"null reference");
20709 SWIG_fail;
20710 }
20711 {
20712 PyThreadState* __tstate = wxPyBeginAllowThreads();
20713 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
20714
20715 wxPyEndAllowThreads(__tstate);
20716 if (PyErr_Occurred()) SWIG_fail;
20717 }
20718 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
20719 return resultobj;
20720 fail:
20721 return NULL;
20722 }
20723
20724
20725 static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
20726 int argc;
20727 PyObject *argv[2];
20728 int ii;
20729
20730 argc = PyObject_Length(args);
20731 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
20732 argv[ii] = PyTuple_GetItem(args,ii);
20733 }
20734 if (argc == 0) {
20735 return _wrap_new_PrintDialogData__SWIG_0(self,args);
20736 }
20737 if (argc == 1) {
20738 int _v;
20739 {
20740 void *ptr;
20741 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
20742 _v = 0;
20743 PyErr_Clear();
20744 } else {
20745 _v = 1;
20746 }
20747 }
20748 if (_v) {
20749 return _wrap_new_PrintDialogData__SWIG_1(self,args);
20750 }
20751 }
20752
20753 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintDialogData'");
20754 return NULL;
20755 }
20756
20757
20758 static PyObject *_wrap_delete_PrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
20759 PyObject *resultobj;
20760 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20761 PyObject * obj0 = 0 ;
20762 char *kwnames[] = {
20763 (char *) "self", NULL
20764 };
20765
20766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail;
20767 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20768 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20769 {
20770 PyThreadState* __tstate = wxPyBeginAllowThreads();
20771 delete arg1;
20772
20773 wxPyEndAllowThreads(__tstate);
20774 if (PyErr_Occurred()) SWIG_fail;
20775 }
20776 Py_INCREF(Py_None); resultobj = Py_None;
20777 return resultobj;
20778 fail:
20779 return NULL;
20780 }
20781
20782
20783 static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
20784 PyObject *resultobj;
20785 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20786 int result;
20787 PyObject * obj0 = 0 ;
20788 char *kwnames[] = {
20789 (char *) "self", NULL
20790 };
20791
20792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail;
20793 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20794 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20795 {
20796 PyThreadState* __tstate = wxPyBeginAllowThreads();
20797 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
20798
20799 wxPyEndAllowThreads(__tstate);
20800 if (PyErr_Occurred()) SWIG_fail;
20801 }
20802 resultobj = SWIG_From_int((int)result);
20803 return resultobj;
20804 fail:
20805 return NULL;
20806 }
20807
20808
20809 static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *, PyObject *args, PyObject *kwargs) {
20810 PyObject *resultobj;
20811 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20812 int result;
20813 PyObject * obj0 = 0 ;
20814 char *kwnames[] = {
20815 (char *) "self", NULL
20816 };
20817
20818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail;
20819 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20820 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20821 {
20822 PyThreadState* __tstate = wxPyBeginAllowThreads();
20823 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
20824
20825 wxPyEndAllowThreads(__tstate);
20826 if (PyErr_Occurred()) SWIG_fail;
20827 }
20828 resultobj = SWIG_From_int((int)result);
20829 return resultobj;
20830 fail:
20831 return NULL;
20832 }
20833
20834
20835 static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
20836 PyObject *resultobj;
20837 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20838 int result;
20839 PyObject * obj0 = 0 ;
20840 char *kwnames[] = {
20841 (char *) "self", NULL
20842 };
20843
20844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail;
20845 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20846 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20847 {
20848 PyThreadState* __tstate = wxPyBeginAllowThreads();
20849 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
20850
20851 wxPyEndAllowThreads(__tstate);
20852 if (PyErr_Occurred()) SWIG_fail;
20853 }
20854 resultobj = SWIG_From_int((int)result);
20855 return resultobj;
20856 fail:
20857 return NULL;
20858 }
20859
20860
20861 static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
20862 PyObject *resultobj;
20863 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20864 int result;
20865 PyObject * obj0 = 0 ;
20866 char *kwnames[] = {
20867 (char *) "self", NULL
20868 };
20869
20870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail;
20871 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20872 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20873 {
20874 PyThreadState* __tstate = wxPyBeginAllowThreads();
20875 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
20876
20877 wxPyEndAllowThreads(__tstate);
20878 if (PyErr_Occurred()) SWIG_fail;
20879 }
20880 resultobj = SWIG_From_int((int)result);
20881 return resultobj;
20882 fail:
20883 return NULL;
20884 }
20885
20886
20887 static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
20888 PyObject *resultobj;
20889 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20890 int result;
20891 PyObject * obj0 = 0 ;
20892 char *kwnames[] = {
20893 (char *) "self", NULL
20894 };
20895
20896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail;
20897 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20898 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20899 {
20900 PyThreadState* __tstate = wxPyBeginAllowThreads();
20901 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
20902
20903 wxPyEndAllowThreads(__tstate);
20904 if (PyErr_Occurred()) SWIG_fail;
20905 }
20906 resultobj = SWIG_From_int((int)result);
20907 return resultobj;
20908 fail:
20909 return NULL;
20910 }
20911
20912
20913 static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
20914 PyObject *resultobj;
20915 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20916 bool result;
20917 PyObject * obj0 = 0 ;
20918 char *kwnames[] = {
20919 (char *) "self", NULL
20920 };
20921
20922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail;
20923 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20924 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20925 {
20926 PyThreadState* __tstate = wxPyBeginAllowThreads();
20927 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
20928
20929 wxPyEndAllowThreads(__tstate);
20930 if (PyErr_Occurred()) SWIG_fail;
20931 }
20932 {
20933 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20934 }
20935 return resultobj;
20936 fail:
20937 return NULL;
20938 }
20939
20940
20941 static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
20942 PyObject *resultobj;
20943 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20944 bool result;
20945 PyObject * obj0 = 0 ;
20946 char *kwnames[] = {
20947 (char *) "self", NULL
20948 };
20949
20950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",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 = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
20956
20957 wxPyEndAllowThreads(__tstate);
20958 if (PyErr_Occurred()) SWIG_fail;
20959 }
20960 {
20961 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20962 }
20963 return resultobj;
20964 fail:
20965 return NULL;
20966 }
20967
20968
20969 static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
20970 PyObject *resultobj;
20971 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20972 bool result;
20973 PyObject * obj0 = 0 ;
20974 char *kwnames[] = {
20975 (char *) "self", NULL
20976 };
20977
20978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail;
20979 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20980 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20981 {
20982 PyThreadState* __tstate = wxPyBeginAllowThreads();
20983 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
20984
20985 wxPyEndAllowThreads(__tstate);
20986 if (PyErr_Occurred()) SWIG_fail;
20987 }
20988 {
20989 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20990 }
20991 return resultobj;
20992 fail:
20993 return NULL;
20994 }
20995
20996
20997 static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
20998 PyObject *resultobj;
20999 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21000 bool result;
21001 PyObject * obj0 = 0 ;
21002 char *kwnames[] = {
21003 (char *) "self", NULL
21004 };
21005
21006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail;
21007 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21008 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21009 {
21010 PyThreadState* __tstate = wxPyBeginAllowThreads();
21011 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
21012
21013 wxPyEndAllowThreads(__tstate);
21014 if (PyErr_Occurred()) SWIG_fail;
21015 }
21016 {
21017 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21018 }
21019 return resultobj;
21020 fail:
21021 return NULL;
21022 }
21023
21024
21025 static PyObject *_wrap_PrintDialogData_GetSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
21026 PyObject *resultobj;
21027 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21028 bool result;
21029 PyObject * obj0 = 0 ;
21030 char *kwnames[] = {
21031 (char *) "self", NULL
21032 };
21033
21034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSetupDialog",kwnames,&obj0)) goto fail;
21035 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21036 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21037 {
21038 PyThreadState* __tstate = wxPyBeginAllowThreads();
21039 result = (bool)((wxPrintDialogData const *)arg1)->GetSetupDialog();
21040
21041 wxPyEndAllowThreads(__tstate);
21042 if (PyErr_Occurred()) SWIG_fail;
21043 }
21044 {
21045 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21046 }
21047 return resultobj;
21048 fail:
21049 return NULL;
21050 }
21051
21052
21053 static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
21054 PyObject *resultobj;
21055 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21056 int arg2 ;
21057 PyObject * obj0 = 0 ;
21058 PyObject * obj1 = 0 ;
21059 char *kwnames[] = {
21060 (char *) "self",(char *) "v", NULL
21061 };
21062
21063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) goto fail;
21064 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21065 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21066 arg2 = (int)SWIG_As_int(obj1);
21067 if (PyErr_Occurred()) SWIG_fail;
21068 {
21069 PyThreadState* __tstate = wxPyBeginAllowThreads();
21070 (arg1)->SetFromPage(arg2);
21071
21072 wxPyEndAllowThreads(__tstate);
21073 if (PyErr_Occurred()) SWIG_fail;
21074 }
21075 Py_INCREF(Py_None); resultobj = Py_None;
21076 return resultobj;
21077 fail:
21078 return NULL;
21079 }
21080
21081
21082 static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *, PyObject *args, PyObject *kwargs) {
21083 PyObject *resultobj;
21084 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21085 int arg2 ;
21086 PyObject * obj0 = 0 ;
21087 PyObject * obj1 = 0 ;
21088 char *kwnames[] = {
21089 (char *) "self",(char *) "v", NULL
21090 };
21091
21092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) goto fail;
21093 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21094 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21095 arg2 = (int)SWIG_As_int(obj1);
21096 if (PyErr_Occurred()) SWIG_fail;
21097 {
21098 PyThreadState* __tstate = wxPyBeginAllowThreads();
21099 (arg1)->SetToPage(arg2);
21100
21101 wxPyEndAllowThreads(__tstate);
21102 if (PyErr_Occurred()) SWIG_fail;
21103 }
21104 Py_INCREF(Py_None); resultobj = Py_None;
21105 return resultobj;
21106 fail:
21107 return NULL;
21108 }
21109
21110
21111 static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
21112 PyObject *resultobj;
21113 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21114 int arg2 ;
21115 PyObject * obj0 = 0 ;
21116 PyObject * obj1 = 0 ;
21117 char *kwnames[] = {
21118 (char *) "self",(char *) "v", NULL
21119 };
21120
21121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) goto fail;
21122 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21123 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21124 arg2 = (int)SWIG_As_int(obj1);
21125 if (PyErr_Occurred()) SWIG_fail;
21126 {
21127 PyThreadState* __tstate = wxPyBeginAllowThreads();
21128 (arg1)->SetMinPage(arg2);
21129
21130 wxPyEndAllowThreads(__tstate);
21131 if (PyErr_Occurred()) SWIG_fail;
21132 }
21133 Py_INCREF(Py_None); resultobj = Py_None;
21134 return resultobj;
21135 fail:
21136 return NULL;
21137 }
21138
21139
21140 static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
21141 PyObject *resultobj;
21142 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21143 int arg2 ;
21144 PyObject * obj0 = 0 ;
21145 PyObject * obj1 = 0 ;
21146 char *kwnames[] = {
21147 (char *) "self",(char *) "v", NULL
21148 };
21149
21150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) goto fail;
21151 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21152 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21153 arg2 = (int)SWIG_As_int(obj1);
21154 if (PyErr_Occurred()) SWIG_fail;
21155 {
21156 PyThreadState* __tstate = wxPyBeginAllowThreads();
21157 (arg1)->SetMaxPage(arg2);
21158
21159 wxPyEndAllowThreads(__tstate);
21160 if (PyErr_Occurred()) SWIG_fail;
21161 }
21162 Py_INCREF(Py_None); resultobj = Py_None;
21163 return resultobj;
21164 fail:
21165 return NULL;
21166 }
21167
21168
21169 static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
21170 PyObject *resultobj;
21171 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21172 int arg2 ;
21173 PyObject * obj0 = 0 ;
21174 PyObject * obj1 = 0 ;
21175 char *kwnames[] = {
21176 (char *) "self",(char *) "v", NULL
21177 };
21178
21179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
21180 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21181 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21182 arg2 = (int)SWIG_As_int(obj1);
21183 if (PyErr_Occurred()) SWIG_fail;
21184 {
21185 PyThreadState* __tstate = wxPyBeginAllowThreads();
21186 (arg1)->SetNoCopies(arg2);
21187
21188 wxPyEndAllowThreads(__tstate);
21189 if (PyErr_Occurred()) SWIG_fail;
21190 }
21191 Py_INCREF(Py_None); resultobj = Py_None;
21192 return resultobj;
21193 fail:
21194 return NULL;
21195 }
21196
21197
21198 static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
21199 PyObject *resultobj;
21200 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21201 bool arg2 ;
21202 PyObject * obj0 = 0 ;
21203 PyObject * obj1 = 0 ;
21204 char *kwnames[] = {
21205 (char *) "self",(char *) "flag", NULL
21206 };
21207
21208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail;
21209 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21210 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21211 arg2 = (bool)SWIG_As_bool(obj1);
21212 if (PyErr_Occurred()) SWIG_fail;
21213 {
21214 PyThreadState* __tstate = wxPyBeginAllowThreads();
21215 (arg1)->SetAllPages(arg2);
21216
21217 wxPyEndAllowThreads(__tstate);
21218 if (PyErr_Occurred()) SWIG_fail;
21219 }
21220 Py_INCREF(Py_None); resultobj = Py_None;
21221 return resultobj;
21222 fail:
21223 return NULL;
21224 }
21225
21226
21227 static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
21228 PyObject *resultobj;
21229 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21230 bool arg2 ;
21231 PyObject * obj0 = 0 ;
21232 PyObject * obj1 = 0 ;
21233 char *kwnames[] = {
21234 (char *) "self",(char *) "flag", NULL
21235 };
21236
21237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail;
21238 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21239 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21240 arg2 = (bool)SWIG_As_bool(obj1);
21241 if (PyErr_Occurred()) SWIG_fail;
21242 {
21243 PyThreadState* __tstate = wxPyBeginAllowThreads();
21244 (arg1)->SetSelection(arg2);
21245
21246 wxPyEndAllowThreads(__tstate);
21247 if (PyErr_Occurred()) SWIG_fail;
21248 }
21249 Py_INCREF(Py_None); resultobj = Py_None;
21250 return resultobj;
21251 fail:
21252 return NULL;
21253 }
21254
21255
21256 static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
21257 PyObject *resultobj;
21258 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21259 bool arg2 ;
21260 PyObject * obj0 = 0 ;
21261 PyObject * obj1 = 0 ;
21262 char *kwnames[] = {
21263 (char *) "self",(char *) "flag", NULL
21264 };
21265
21266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
21267 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21268 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21269 arg2 = (bool)SWIG_As_bool(obj1);
21270 if (PyErr_Occurred()) SWIG_fail;
21271 {
21272 PyThreadState* __tstate = wxPyBeginAllowThreads();
21273 (arg1)->SetCollate(arg2);
21274
21275 wxPyEndAllowThreads(__tstate);
21276 if (PyErr_Occurred()) SWIG_fail;
21277 }
21278 Py_INCREF(Py_None); resultobj = Py_None;
21279 return resultobj;
21280 fail:
21281 return NULL;
21282 }
21283
21284
21285 static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
21286 PyObject *resultobj;
21287 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21288 bool arg2 ;
21289 PyObject * obj0 = 0 ;
21290 PyObject * obj1 = 0 ;
21291 char *kwnames[] = {
21292 (char *) "self",(char *) "flag", NULL
21293 };
21294
21295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail;
21296 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21297 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21298 arg2 = (bool)SWIG_As_bool(obj1);
21299 if (PyErr_Occurred()) SWIG_fail;
21300 {
21301 PyThreadState* __tstate = wxPyBeginAllowThreads();
21302 (arg1)->SetPrintToFile(arg2);
21303
21304 wxPyEndAllowThreads(__tstate);
21305 if (PyErr_Occurred()) SWIG_fail;
21306 }
21307 Py_INCREF(Py_None); resultobj = Py_None;
21308 return resultobj;
21309 fail:
21310 return NULL;
21311 }
21312
21313
21314 static PyObject *_wrap_PrintDialogData_SetSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
21315 PyObject *resultobj;
21316 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21317 bool arg2 ;
21318 PyObject * obj0 = 0 ;
21319 PyObject * obj1 = 0 ;
21320 char *kwnames[] = {
21321 (char *) "self",(char *) "flag", NULL
21322 };
21323
21324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames,&obj0,&obj1)) goto fail;
21325 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21326 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21327 arg2 = (bool)SWIG_As_bool(obj1);
21328 if (PyErr_Occurred()) SWIG_fail;
21329 {
21330 PyThreadState* __tstate = wxPyBeginAllowThreads();
21331 (arg1)->SetSetupDialog(arg2);
21332
21333 wxPyEndAllowThreads(__tstate);
21334 if (PyErr_Occurred()) SWIG_fail;
21335 }
21336 Py_INCREF(Py_None); resultobj = Py_None;
21337 return resultobj;
21338 fail:
21339 return NULL;
21340 }
21341
21342
21343 static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
21344 PyObject *resultobj;
21345 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21346 bool arg2 ;
21347 PyObject * obj0 = 0 ;
21348 PyObject * obj1 = 0 ;
21349 char *kwnames[] = {
21350 (char *) "self",(char *) "flag", NULL
21351 };
21352
21353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail;
21354 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21355 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21356 arg2 = (bool)SWIG_As_bool(obj1);
21357 if (PyErr_Occurred()) SWIG_fail;
21358 {
21359 PyThreadState* __tstate = wxPyBeginAllowThreads();
21360 (arg1)->EnablePrintToFile(arg2);
21361
21362 wxPyEndAllowThreads(__tstate);
21363 if (PyErr_Occurred()) SWIG_fail;
21364 }
21365 Py_INCREF(Py_None); resultobj = Py_None;
21366 return resultobj;
21367 fail:
21368 return NULL;
21369 }
21370
21371
21372 static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *, PyObject *args, PyObject *kwargs) {
21373 PyObject *resultobj;
21374 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21375 bool arg2 ;
21376 PyObject * obj0 = 0 ;
21377 PyObject * obj1 = 0 ;
21378 char *kwnames[] = {
21379 (char *) "self",(char *) "flag", NULL
21380 };
21381
21382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail;
21383 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21385 arg2 = (bool)SWIG_As_bool(obj1);
21386 if (PyErr_Occurred()) SWIG_fail;
21387 {
21388 PyThreadState* __tstate = wxPyBeginAllowThreads();
21389 (arg1)->EnableSelection(arg2);
21390
21391 wxPyEndAllowThreads(__tstate);
21392 if (PyErr_Occurred()) SWIG_fail;
21393 }
21394 Py_INCREF(Py_None); resultobj = Py_None;
21395 return resultobj;
21396 fail:
21397 return NULL;
21398 }
21399
21400
21401 static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *, PyObject *args, PyObject *kwargs) {
21402 PyObject *resultobj;
21403 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21404 bool arg2 ;
21405 PyObject * obj0 = 0 ;
21406 PyObject * obj1 = 0 ;
21407 char *kwnames[] = {
21408 (char *) "self",(char *) "flag", NULL
21409 };
21410
21411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail;
21412 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21413 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21414 arg2 = (bool)SWIG_As_bool(obj1);
21415 if (PyErr_Occurred()) SWIG_fail;
21416 {
21417 PyThreadState* __tstate = wxPyBeginAllowThreads();
21418 (arg1)->EnablePageNumbers(arg2);
21419
21420 wxPyEndAllowThreads(__tstate);
21421 if (PyErr_Occurred()) SWIG_fail;
21422 }
21423 Py_INCREF(Py_None); resultobj = Py_None;
21424 return resultobj;
21425 fail:
21426 return NULL;
21427 }
21428
21429
21430 static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
21431 PyObject *resultobj;
21432 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21433 bool arg2 ;
21434 PyObject * obj0 = 0 ;
21435 PyObject * obj1 = 0 ;
21436 char *kwnames[] = {
21437 (char *) "self",(char *) "flag", NULL
21438 };
21439
21440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
21441 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21442 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21443 arg2 = (bool)SWIG_As_bool(obj1);
21444 if (PyErr_Occurred()) SWIG_fail;
21445 {
21446 PyThreadState* __tstate = wxPyBeginAllowThreads();
21447 (arg1)->EnableHelp(arg2);
21448
21449 wxPyEndAllowThreads(__tstate);
21450 if (PyErr_Occurred()) SWIG_fail;
21451 }
21452 Py_INCREF(Py_None); resultobj = Py_None;
21453 return resultobj;
21454 fail:
21455 return NULL;
21456 }
21457
21458
21459 static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
21460 PyObject *resultobj;
21461 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21462 bool result;
21463 PyObject * obj0 = 0 ;
21464 char *kwnames[] = {
21465 (char *) "self", NULL
21466 };
21467
21468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail;
21469 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21470 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21471 {
21472 PyThreadState* __tstate = wxPyBeginAllowThreads();
21473 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
21474
21475 wxPyEndAllowThreads(__tstate);
21476 if (PyErr_Occurred()) SWIG_fail;
21477 }
21478 {
21479 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21480 }
21481 return resultobj;
21482 fail:
21483 return NULL;
21484 }
21485
21486
21487 static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *, PyObject *args, PyObject *kwargs) {
21488 PyObject *resultobj;
21489 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21490 bool result;
21491 PyObject * obj0 = 0 ;
21492 char *kwnames[] = {
21493 (char *) "self", NULL
21494 };
21495
21496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail;
21497 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21498 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21499 {
21500 PyThreadState* __tstate = wxPyBeginAllowThreads();
21501 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
21502
21503 wxPyEndAllowThreads(__tstate);
21504 if (PyErr_Occurred()) SWIG_fail;
21505 }
21506 {
21507 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21508 }
21509 return resultobj;
21510 fail:
21511 return NULL;
21512 }
21513
21514
21515 static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *, PyObject *args, PyObject *kwargs) {
21516 PyObject *resultobj;
21517 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21518 bool result;
21519 PyObject * obj0 = 0 ;
21520 char *kwnames[] = {
21521 (char *) "self", NULL
21522 };
21523
21524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail;
21525 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21526 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21527 {
21528 PyThreadState* __tstate = wxPyBeginAllowThreads();
21529 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
21530
21531 wxPyEndAllowThreads(__tstate);
21532 if (PyErr_Occurred()) SWIG_fail;
21533 }
21534 {
21535 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21536 }
21537 return resultobj;
21538 fail:
21539 return NULL;
21540 }
21541
21542
21543 static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
21544 PyObject *resultobj;
21545 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21546 bool result;
21547 PyObject * obj0 = 0 ;
21548 char *kwnames[] = {
21549 (char *) "self", NULL
21550 };
21551
21552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
21553 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21554 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21555 {
21556 PyThreadState* __tstate = wxPyBeginAllowThreads();
21557 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
21558
21559 wxPyEndAllowThreads(__tstate);
21560 if (PyErr_Occurred()) SWIG_fail;
21561 }
21562 {
21563 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21564 }
21565 return resultobj;
21566 fail:
21567 return NULL;
21568 }
21569
21570
21571 static PyObject *_wrap_PrintDialogData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
21572 PyObject *resultobj;
21573 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21574 bool result;
21575 PyObject * obj0 = 0 ;
21576 char *kwnames[] = {
21577 (char *) "self", NULL
21578 };
21579
21580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail;
21581 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21582 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21583 {
21584 PyThreadState* __tstate = wxPyBeginAllowThreads();
21585 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
21586
21587 wxPyEndAllowThreads(__tstate);
21588 if (PyErr_Occurred()) SWIG_fail;
21589 }
21590 {
21591 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21592 }
21593 return resultobj;
21594 fail:
21595 return NULL;
21596 }
21597
21598
21599 static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
21600 PyObject *resultobj;
21601 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21602 wxPrintData *result;
21603 PyObject * obj0 = 0 ;
21604 char *kwnames[] = {
21605 (char *) "self", NULL
21606 };
21607
21608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail;
21609 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21610 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21611 {
21612 PyThreadState* __tstate = wxPyBeginAllowThreads();
21613 {
21614 wxPrintData &_result_ref = (arg1)->GetPrintData();
21615 result = (wxPrintData *) &_result_ref;
21616 }
21617
21618 wxPyEndAllowThreads(__tstate);
21619 if (PyErr_Occurred()) SWIG_fail;
21620 }
21621 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
21622 return resultobj;
21623 fail:
21624 return NULL;
21625 }
21626
21627
21628 static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
21629 PyObject *resultobj;
21630 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21631 wxPrintData *arg2 = 0 ;
21632 PyObject * obj0 = 0 ;
21633 PyObject * obj1 = 0 ;
21634 char *kwnames[] = {
21635 (char *) "self",(char *) "printData", NULL
21636 };
21637
21638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
21639 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21640 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21641 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData,
21642 SWIG_POINTER_EXCEPTION | 0)) == -1)
21643 SWIG_fail;
21644 if (arg2 == NULL) {
21645 PyErr_SetString(PyExc_TypeError,"null reference");
21646 SWIG_fail;
21647 }
21648 {
21649 PyThreadState* __tstate = wxPyBeginAllowThreads();
21650 (arg1)->SetPrintData((wxPrintData const &)*arg2);
21651
21652 wxPyEndAllowThreads(__tstate);
21653 if (PyErr_Occurred()) SWIG_fail;
21654 }
21655 Py_INCREF(Py_None); resultobj = Py_None;
21656 return resultobj;
21657 fail:
21658 return NULL;
21659 }
21660
21661
21662 static PyObject * PrintDialogData_swigregister(PyObject *, PyObject *args) {
21663 PyObject *obj;
21664 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21665 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj);
21666 Py_INCREF(obj);
21667 return Py_BuildValue((char *)"");
21668 }
21669 static PyObject *_wrap_new_PrintDialog(PyObject *, PyObject *args, PyObject *kwargs) {
21670 PyObject *resultobj;
21671 wxWindow *arg1 = (wxWindow *) 0 ;
21672 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
21673 wxPrintDialog *result;
21674 PyObject * obj0 = 0 ;
21675 PyObject * obj1 = 0 ;
21676 char *kwnames[] = {
21677 (char *) "parent",(char *) "data", NULL
21678 };
21679
21680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
21681 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21682 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21683 if (obj1) {
21684 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintDialogData,
21685 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21686 }
21687 {
21688 if (!wxPyCheckForApp()) SWIG_fail;
21689 PyThreadState* __tstate = wxPyBeginAllowThreads();
21690 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
21691
21692 wxPyEndAllowThreads(__tstate);
21693 if (PyErr_Occurred()) SWIG_fail;
21694 }
21695 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialog, 1);
21696 return resultobj;
21697 fail:
21698 return NULL;
21699 }
21700
21701
21702 static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
21703 PyObject *resultobj;
21704 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
21705 wxPrintDialogData *result;
21706 PyObject * obj0 = 0 ;
21707 char *kwnames[] = {
21708 (char *) "self", NULL
21709 };
21710
21711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail;
21712 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
21713 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21714 {
21715 PyThreadState* __tstate = wxPyBeginAllowThreads();
21716 {
21717 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
21718 result = (wxPrintDialogData *) &_result_ref;
21719 }
21720
21721 wxPyEndAllowThreads(__tstate);
21722 if (PyErr_Occurred()) SWIG_fail;
21723 }
21724 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
21725 return resultobj;
21726 fail:
21727 return NULL;
21728 }
21729
21730
21731 static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *, PyObject *args, PyObject *kwargs) {
21732 PyObject *resultobj;
21733 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
21734 wxDC *result;
21735 PyObject * obj0 = 0 ;
21736 char *kwnames[] = {
21737 (char *) "self", NULL
21738 };
21739
21740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail;
21741 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
21742 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21743 {
21744 PyThreadState* __tstate = wxPyBeginAllowThreads();
21745 result = (wxDC *)(arg1)->GetPrintDC();
21746
21747 wxPyEndAllowThreads(__tstate);
21748 if (PyErr_Occurred()) SWIG_fail;
21749 }
21750 {
21751 resultobj = wxPyMake_wxObject(result, 1);
21752 }
21753 return resultobj;
21754 fail:
21755 return NULL;
21756 }
21757
21758
21759 static PyObject *_wrap_PrintDialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
21760 PyObject *resultobj;
21761 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
21762 int result;
21763 PyObject * obj0 = 0 ;
21764 char *kwnames[] = {
21765 (char *) "self", NULL
21766 };
21767
21768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail;
21769 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
21770 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21771 {
21772 PyThreadState* __tstate = wxPyBeginAllowThreads();
21773 result = (int)(arg1)->ShowModal();
21774
21775 wxPyEndAllowThreads(__tstate);
21776 if (PyErr_Occurred()) SWIG_fail;
21777 }
21778 resultobj = SWIG_From_int((int)result);
21779 return resultobj;
21780 fail:
21781 return NULL;
21782 }
21783
21784
21785 static PyObject * PrintDialog_swigregister(PyObject *, PyObject *args) {
21786 PyObject *obj;
21787 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21788 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj);
21789 Py_INCREF(obj);
21790 return Py_BuildValue((char *)"");
21791 }
21792 static PyObject *_wrap_new_Printer(PyObject *, PyObject *args, PyObject *kwargs) {
21793 PyObject *resultobj;
21794 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
21795 wxPrinter *result;
21796 PyObject * obj0 = 0 ;
21797 char *kwnames[] = {
21798 (char *) "data", NULL
21799 };
21800
21801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail;
21802 if (obj0) {
21803 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21804 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21805 }
21806 {
21807 if (!wxPyCheckForApp()) SWIG_fail;
21808 PyThreadState* __tstate = wxPyBeginAllowThreads();
21809 result = (wxPrinter *)new wxPrinter(arg1);
21810
21811 wxPyEndAllowThreads(__tstate);
21812 if (PyErr_Occurred()) SWIG_fail;
21813 }
21814 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrinter, 1);
21815 return resultobj;
21816 fail:
21817 return NULL;
21818 }
21819
21820
21821 static PyObject *_wrap_delete_Printer(PyObject *, PyObject *args, PyObject *kwargs) {
21822 PyObject *resultobj;
21823 wxPrinter *arg1 = (wxPrinter *) 0 ;
21824 PyObject * obj0 = 0 ;
21825 char *kwnames[] = {
21826 (char *) "self", NULL
21827 };
21828
21829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail;
21830 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21831 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21832 {
21833 PyThreadState* __tstate = wxPyBeginAllowThreads();
21834 delete arg1;
21835
21836 wxPyEndAllowThreads(__tstate);
21837 if (PyErr_Occurred()) SWIG_fail;
21838 }
21839 Py_INCREF(Py_None); resultobj = Py_None;
21840 return resultobj;
21841 fail:
21842 return NULL;
21843 }
21844
21845
21846 static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *, PyObject *args, PyObject *kwargs) {
21847 PyObject *resultobj;
21848 wxPrinter *arg1 = (wxPrinter *) 0 ;
21849 wxWindow *arg2 = (wxWindow *) 0 ;
21850 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
21851 PyObject * obj0 = 0 ;
21852 PyObject * obj1 = 0 ;
21853 PyObject * obj2 = 0 ;
21854 char *kwnames[] = {
21855 (char *) "self",(char *) "parent",(char *) "printout", NULL
21856 };
21857
21858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
21859 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21860 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21861 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21862 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21863 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
21864 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21865 {
21866 PyThreadState* __tstate = wxPyBeginAllowThreads();
21867 (arg1)->CreateAbortWindow(arg2,arg3);
21868
21869 wxPyEndAllowThreads(__tstate);
21870 if (PyErr_Occurred()) SWIG_fail;
21871 }
21872 Py_INCREF(Py_None); resultobj = Py_None;
21873 return resultobj;
21874 fail:
21875 return NULL;
21876 }
21877
21878
21879 static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
21880 PyObject *resultobj;
21881 wxPrinter *arg1 = (wxPrinter *) 0 ;
21882 wxPrintDialogData *result;
21883 PyObject * obj0 = 0 ;
21884 char *kwnames[] = {
21885 (char *) "self", NULL
21886 };
21887
21888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail;
21889 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21890 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21891 {
21892 PyThreadState* __tstate = wxPyBeginAllowThreads();
21893 {
21894 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
21895 result = (wxPrintDialogData *) &_result_ref;
21896 }
21897
21898 wxPyEndAllowThreads(__tstate);
21899 if (PyErr_Occurred()) SWIG_fail;
21900 }
21901 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
21902 return resultobj;
21903 fail:
21904 return NULL;
21905 }
21906
21907
21908 static PyObject *_wrap_Printer_Print(PyObject *, PyObject *args, PyObject *kwargs) {
21909 PyObject *resultobj;
21910 wxPrinter *arg1 = (wxPrinter *) 0 ;
21911 wxWindow *arg2 = (wxWindow *) 0 ;
21912 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
21913 int arg4 = (int) true ;
21914 bool result;
21915 PyObject * obj0 = 0 ;
21916 PyObject * obj1 = 0 ;
21917 PyObject * obj2 = 0 ;
21918 PyObject * obj3 = 0 ;
21919 char *kwnames[] = {
21920 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
21921 };
21922
21923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21924 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21925 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21926 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21927 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21928 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
21929 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21930 if (obj3) {
21931 arg4 = (int)SWIG_As_int(obj3);
21932 if (PyErr_Occurred()) SWIG_fail;
21933 }
21934 {
21935 PyThreadState* __tstate = wxPyBeginAllowThreads();
21936 result = (bool)(arg1)->Print(arg2,arg3,arg4);
21937
21938 wxPyEndAllowThreads(__tstate);
21939 if (PyErr_Occurred()) SWIG_fail;
21940 }
21941 {
21942 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21943 }
21944 return resultobj;
21945 fail:
21946 return NULL;
21947 }
21948
21949
21950 static PyObject *_wrap_Printer_PrintDialog(PyObject *, PyObject *args, PyObject *kwargs) {
21951 PyObject *resultobj;
21952 wxPrinter *arg1 = (wxPrinter *) 0 ;
21953 wxWindow *arg2 = (wxWindow *) 0 ;
21954 wxDC *result;
21955 PyObject * obj0 = 0 ;
21956 PyObject * obj1 = 0 ;
21957 char *kwnames[] = {
21958 (char *) "self",(char *) "parent", NULL
21959 };
21960
21961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
21962 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21963 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21964 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21965 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21966 {
21967 PyThreadState* __tstate = wxPyBeginAllowThreads();
21968 result = (wxDC *)(arg1)->PrintDialog(arg2);
21969
21970 wxPyEndAllowThreads(__tstate);
21971 if (PyErr_Occurred()) SWIG_fail;
21972 }
21973 {
21974 resultobj = wxPyMake_wxObject(result, 0);
21975 }
21976 return resultobj;
21977 fail:
21978 return NULL;
21979 }
21980
21981
21982 static PyObject *_wrap_Printer_ReportError(PyObject *, PyObject *args, PyObject *kwargs) {
21983 PyObject *resultobj;
21984 wxPrinter *arg1 = (wxPrinter *) 0 ;
21985 wxWindow *arg2 = (wxWindow *) 0 ;
21986 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
21987 wxString *arg4 = 0 ;
21988 bool temp4 = false ;
21989 PyObject * obj0 = 0 ;
21990 PyObject * obj1 = 0 ;
21991 PyObject * obj2 = 0 ;
21992 PyObject * obj3 = 0 ;
21993 char *kwnames[] = {
21994 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
21995 };
21996
21997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21998 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21999 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22000 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
22001 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22002 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
22003 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22004 {
22005 arg4 = wxString_in_helper(obj3);
22006 if (arg4 == NULL) SWIG_fail;
22007 temp4 = true;
22008 }
22009 {
22010 PyThreadState* __tstate = wxPyBeginAllowThreads();
22011 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
22012
22013 wxPyEndAllowThreads(__tstate);
22014 if (PyErr_Occurred()) SWIG_fail;
22015 }
22016 Py_INCREF(Py_None); resultobj = Py_None;
22017 {
22018 if (temp4)
22019 delete arg4;
22020 }
22021 return resultobj;
22022 fail:
22023 {
22024 if (temp4)
22025 delete arg4;
22026 }
22027 return NULL;
22028 }
22029
22030
22031 static PyObject *_wrap_Printer_Setup(PyObject *, PyObject *args, PyObject *kwargs) {
22032 PyObject *resultobj;
22033 wxPrinter *arg1 = (wxPrinter *) 0 ;
22034 wxWindow *arg2 = (wxWindow *) 0 ;
22035 bool result;
22036 PyObject * obj0 = 0 ;
22037 PyObject * obj1 = 0 ;
22038 char *kwnames[] = {
22039 (char *) "self",(char *) "parent", NULL
22040 };
22041
22042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail;
22043 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
22044 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22045 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
22046 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22047 {
22048 PyThreadState* __tstate = wxPyBeginAllowThreads();
22049 result = (bool)(arg1)->Setup(arg2);
22050
22051 wxPyEndAllowThreads(__tstate);
22052 if (PyErr_Occurred()) SWIG_fail;
22053 }
22054 {
22055 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22056 }
22057 return resultobj;
22058 fail:
22059 return NULL;
22060 }
22061
22062
22063 static PyObject *_wrap_Printer_GetAbort(PyObject *, PyObject *args, PyObject *kwargs) {
22064 PyObject *resultobj;
22065 wxPrinter *arg1 = (wxPrinter *) 0 ;
22066 bool result;
22067 PyObject * obj0 = 0 ;
22068 char *kwnames[] = {
22069 (char *) "self", NULL
22070 };
22071
22072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail;
22073 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
22074 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22075 {
22076 PyThreadState* __tstate = wxPyBeginAllowThreads();
22077 result = (bool)(arg1)->GetAbort();
22078
22079 wxPyEndAllowThreads(__tstate);
22080 if (PyErr_Occurred()) SWIG_fail;
22081 }
22082 {
22083 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22084 }
22085 return resultobj;
22086 fail:
22087 return NULL;
22088 }
22089
22090
22091 static PyObject *_wrap_Printer_GetLastError(PyObject *, PyObject *args, PyObject *kwargs) {
22092 PyObject *resultobj;
22093 int result;
22094 char *kwnames[] = {
22095 NULL
22096 };
22097
22098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail;
22099 {
22100 PyThreadState* __tstate = wxPyBeginAllowThreads();
22101 result = (int)wxPrinter::GetLastError();
22102
22103 wxPyEndAllowThreads(__tstate);
22104 if (PyErr_Occurred()) SWIG_fail;
22105 }
22106 resultobj = SWIG_From_int((int)result);
22107 return resultobj;
22108 fail:
22109 return NULL;
22110 }
22111
22112
22113 static PyObject * Printer_swigregister(PyObject *, PyObject *args) {
22114 PyObject *obj;
22115 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22116 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj);
22117 Py_INCREF(obj);
22118 return Py_BuildValue((char *)"");
22119 }
22120 static PyObject *_wrap_new_Printout(PyObject *, PyObject *args, PyObject *kwargs) {
22121 PyObject *resultobj;
22122 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
22123 wxString *arg1 = (wxString *) &arg1_defvalue ;
22124 wxPyPrintout *result;
22125 bool temp1 = false ;
22126 PyObject * obj0 = 0 ;
22127 char *kwnames[] = {
22128 (char *) "title", NULL
22129 };
22130
22131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail;
22132 if (obj0) {
22133 {
22134 arg1 = wxString_in_helper(obj0);
22135 if (arg1 == NULL) SWIG_fail;
22136 temp1 = true;
22137 }
22138 }
22139 {
22140 if (!wxPyCheckForApp()) SWIG_fail;
22141 PyThreadState* __tstate = wxPyBeginAllowThreads();
22142 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
22143
22144 wxPyEndAllowThreads(__tstate);
22145 if (PyErr_Occurred()) SWIG_fail;
22146 }
22147 {
22148 resultobj = wxPyMake_wxObject(result, 1);
22149 }
22150 {
22151 if (temp1)
22152 delete arg1;
22153 }
22154 return resultobj;
22155 fail:
22156 {
22157 if (temp1)
22158 delete arg1;
22159 }
22160 return NULL;
22161 }
22162
22163
22164 static PyObject *_wrap_Printout__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
22165 PyObject *resultobj;
22166 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22167 PyObject *arg2 = (PyObject *) 0 ;
22168 PyObject *arg3 = (PyObject *) 0 ;
22169 PyObject * obj0 = 0 ;
22170 PyObject * obj1 = 0 ;
22171 PyObject * obj2 = 0 ;
22172 char *kwnames[] = {
22173 (char *) "self",(char *) "self",(char *) "_class", NULL
22174 };
22175
22176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
22177 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22178 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22179 arg2 = obj1;
22180 arg3 = obj2;
22181 {
22182 PyThreadState* __tstate = wxPyBeginAllowThreads();
22183 (arg1)->_setCallbackInfo(arg2,arg3);
22184
22185 wxPyEndAllowThreads(__tstate);
22186 if (PyErr_Occurred()) SWIG_fail;
22187 }
22188 Py_INCREF(Py_None); resultobj = Py_None;
22189 return resultobj;
22190 fail:
22191 return NULL;
22192 }
22193
22194
22195 static PyObject *_wrap_Printout_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
22196 PyObject *resultobj;
22197 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22198 wxString result;
22199 PyObject * obj0 = 0 ;
22200 char *kwnames[] = {
22201 (char *) "self", NULL
22202 };
22203
22204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail;
22205 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22206 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22207 {
22208 PyThreadState* __tstate = wxPyBeginAllowThreads();
22209 result = ((wxPyPrintout const *)arg1)->GetTitle();
22210
22211 wxPyEndAllowThreads(__tstate);
22212 if (PyErr_Occurred()) SWIG_fail;
22213 }
22214 {
22215 #if wxUSE_UNICODE
22216 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
22217 #else
22218 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
22219 #endif
22220 }
22221 return resultobj;
22222 fail:
22223 return NULL;
22224 }
22225
22226
22227 static PyObject *_wrap_Printout_GetDC(PyObject *, PyObject *args, PyObject *kwargs) {
22228 PyObject *resultobj;
22229 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22230 wxDC *result;
22231 PyObject * obj0 = 0 ;
22232 char *kwnames[] = {
22233 (char *) "self", NULL
22234 };
22235
22236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail;
22237 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22238 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22239 {
22240 PyThreadState* __tstate = wxPyBeginAllowThreads();
22241 result = (wxDC *)(arg1)->GetDC();
22242
22243 wxPyEndAllowThreads(__tstate);
22244 if (PyErr_Occurred()) SWIG_fail;
22245 }
22246 {
22247 resultobj = wxPyMake_wxObject(result, 0);
22248 }
22249 return resultobj;
22250 fail:
22251 return NULL;
22252 }
22253
22254
22255 static PyObject *_wrap_Printout_SetDC(PyObject *, PyObject *args, PyObject *kwargs) {
22256 PyObject *resultobj;
22257 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22258 wxDC *arg2 = (wxDC *) 0 ;
22259 PyObject * obj0 = 0 ;
22260 PyObject * obj1 = 0 ;
22261 char *kwnames[] = {
22262 (char *) "self",(char *) "dc", NULL
22263 };
22264
22265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail;
22266 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22267 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22268 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
22269 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22270 {
22271 PyThreadState* __tstate = wxPyBeginAllowThreads();
22272 (arg1)->SetDC(arg2);
22273
22274 wxPyEndAllowThreads(__tstate);
22275 if (PyErr_Occurred()) SWIG_fail;
22276 }
22277 Py_INCREF(Py_None); resultobj = Py_None;
22278 return resultobj;
22279 fail:
22280 return NULL;
22281 }
22282
22283
22284 static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *, PyObject *args, PyObject *kwargs) {
22285 PyObject *resultobj;
22286 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22287 int arg2 ;
22288 int arg3 ;
22289 PyObject * obj0 = 0 ;
22290 PyObject * obj1 = 0 ;
22291 PyObject * obj2 = 0 ;
22292 char *kwnames[] = {
22293 (char *) "self",(char *) "w",(char *) "h", NULL
22294 };
22295
22296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) goto fail;
22297 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22299 arg2 = (int)SWIG_As_int(obj1);
22300 if (PyErr_Occurred()) SWIG_fail;
22301 arg3 = (int)SWIG_As_int(obj2);
22302 if (PyErr_Occurred()) SWIG_fail;
22303 {
22304 PyThreadState* __tstate = wxPyBeginAllowThreads();
22305 (arg1)->SetPageSizePixels(arg2,arg3);
22306
22307 wxPyEndAllowThreads(__tstate);
22308 if (PyErr_Occurred()) SWIG_fail;
22309 }
22310 Py_INCREF(Py_None); resultobj = Py_None;
22311 return resultobj;
22312 fail:
22313 return NULL;
22314 }
22315
22316
22317 static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *, PyObject *args, PyObject *kwargs) {
22318 PyObject *resultobj;
22319 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22320 int *arg2 = (int *) 0 ;
22321 int *arg3 = (int *) 0 ;
22322 int temp2 ;
22323 int res2 = 0 ;
22324 int temp3 ;
22325 int res3 = 0 ;
22326 PyObject * obj0 = 0 ;
22327 char *kwnames[] = {
22328 (char *) "self", NULL
22329 };
22330
22331 arg2 = &temp2; res2 = SWIG_NEWOBJ;
22332 arg3 = &temp3; res3 = SWIG_NEWOBJ;
22333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail;
22334 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22335 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22336 {
22337 PyThreadState* __tstate = wxPyBeginAllowThreads();
22338 (arg1)->GetPageSizePixels(arg2,arg3);
22339
22340 wxPyEndAllowThreads(__tstate);
22341 if (PyErr_Occurred()) SWIG_fail;
22342 }
22343 Py_INCREF(Py_None); resultobj = Py_None;
22344 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
22345 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
22346 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
22347 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
22348 return resultobj;
22349 fail:
22350 return NULL;
22351 }
22352
22353
22354 static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
22355 PyObject *resultobj;
22356 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22357 int arg2 ;
22358 int arg3 ;
22359 PyObject * obj0 = 0 ;
22360 PyObject * obj1 = 0 ;
22361 PyObject * obj2 = 0 ;
22362 char *kwnames[] = {
22363 (char *) "self",(char *) "w",(char *) "h", NULL
22364 };
22365
22366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) goto fail;
22367 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22368 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22369 arg2 = (int)SWIG_As_int(obj1);
22370 if (PyErr_Occurred()) SWIG_fail;
22371 arg3 = (int)SWIG_As_int(obj2);
22372 if (PyErr_Occurred()) SWIG_fail;
22373 {
22374 PyThreadState* __tstate = wxPyBeginAllowThreads();
22375 (arg1)->SetPageSizeMM(arg2,arg3);
22376
22377 wxPyEndAllowThreads(__tstate);
22378 if (PyErr_Occurred()) SWIG_fail;
22379 }
22380 Py_INCREF(Py_None); resultobj = Py_None;
22381 return resultobj;
22382 fail:
22383 return NULL;
22384 }
22385
22386
22387 static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
22388 PyObject *resultobj;
22389 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22390 int *arg2 = (int *) 0 ;
22391 int *arg3 = (int *) 0 ;
22392 int temp2 ;
22393 int res2 = 0 ;
22394 int temp3 ;
22395 int res3 = 0 ;
22396 PyObject * obj0 = 0 ;
22397 char *kwnames[] = {
22398 (char *) "self", NULL
22399 };
22400
22401 arg2 = &temp2; res2 = SWIG_NEWOBJ;
22402 arg3 = &temp3; res3 = SWIG_NEWOBJ;
22403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail;
22404 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22405 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22406 {
22407 PyThreadState* __tstate = wxPyBeginAllowThreads();
22408 (arg1)->GetPageSizeMM(arg2,arg3);
22409
22410 wxPyEndAllowThreads(__tstate);
22411 if (PyErr_Occurred()) SWIG_fail;
22412 }
22413 Py_INCREF(Py_None); resultobj = Py_None;
22414 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
22415 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
22416 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
22417 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
22418 return resultobj;
22419 fail:
22420 return NULL;
22421 }
22422
22423
22424 static PyObject *_wrap_Printout_SetPPIScreen(PyObject *, PyObject *args, PyObject *kwargs) {
22425 PyObject *resultobj;
22426 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22427 int arg2 ;
22428 int arg3 ;
22429 PyObject * obj0 = 0 ;
22430 PyObject * obj1 = 0 ;
22431 PyObject * obj2 = 0 ;
22432 char *kwnames[] = {
22433 (char *) "self",(char *) "x",(char *) "y", NULL
22434 };
22435
22436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
22437 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22438 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22439 arg2 = (int)SWIG_As_int(obj1);
22440 if (PyErr_Occurred()) SWIG_fail;
22441 arg3 = (int)SWIG_As_int(obj2);
22442 if (PyErr_Occurred()) SWIG_fail;
22443 {
22444 PyThreadState* __tstate = wxPyBeginAllowThreads();
22445 (arg1)->SetPPIScreen(arg2,arg3);
22446
22447 wxPyEndAllowThreads(__tstate);
22448 if (PyErr_Occurred()) SWIG_fail;
22449 }
22450 Py_INCREF(Py_None); resultobj = Py_None;
22451 return resultobj;
22452 fail:
22453 return NULL;
22454 }
22455
22456
22457 static PyObject *_wrap_Printout_GetPPIScreen(PyObject *, PyObject *args, PyObject *kwargs) {
22458 PyObject *resultobj;
22459 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22460 int *arg2 = (int *) 0 ;
22461 int *arg3 = (int *) 0 ;
22462 int temp2 ;
22463 int res2 = 0 ;
22464 int temp3 ;
22465 int res3 = 0 ;
22466 PyObject * obj0 = 0 ;
22467 char *kwnames[] = {
22468 (char *) "self", NULL
22469 };
22470
22471 arg2 = &temp2; res2 = SWIG_NEWOBJ;
22472 arg3 = &temp3; res3 = SWIG_NEWOBJ;
22473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",kwnames,&obj0)) goto fail;
22474 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22475 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22476 {
22477 PyThreadState* __tstate = wxPyBeginAllowThreads();
22478 (arg1)->GetPPIScreen(arg2,arg3);
22479
22480 wxPyEndAllowThreads(__tstate);
22481 if (PyErr_Occurred()) SWIG_fail;
22482 }
22483 Py_INCREF(Py_None); resultobj = Py_None;
22484 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
22485 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
22486 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
22487 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
22488 return resultobj;
22489 fail:
22490 return NULL;
22491 }
22492
22493
22494 static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *, PyObject *args, PyObject *kwargs) {
22495 PyObject *resultobj;
22496 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22497 int arg2 ;
22498 int arg3 ;
22499 PyObject * obj0 = 0 ;
22500 PyObject * obj1 = 0 ;
22501 PyObject * obj2 = 0 ;
22502 char *kwnames[] = {
22503 (char *) "self",(char *) "x",(char *) "y", NULL
22504 };
22505
22506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) goto fail;
22507 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22508 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22509 arg2 = (int)SWIG_As_int(obj1);
22510 if (PyErr_Occurred()) SWIG_fail;
22511 arg3 = (int)SWIG_As_int(obj2);
22512 if (PyErr_Occurred()) SWIG_fail;
22513 {
22514 PyThreadState* __tstate = wxPyBeginAllowThreads();
22515 (arg1)->SetPPIPrinter(arg2,arg3);
22516
22517 wxPyEndAllowThreads(__tstate);
22518 if (PyErr_Occurred()) SWIG_fail;
22519 }
22520 Py_INCREF(Py_None); resultobj = Py_None;
22521 return resultobj;
22522 fail:
22523 return NULL;
22524 }
22525
22526
22527 static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *, PyObject *args, PyObject *kwargs) {
22528 PyObject *resultobj;
22529 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22530 int *arg2 = (int *) 0 ;
22531 int *arg3 = (int *) 0 ;
22532 int temp2 ;
22533 int res2 = 0 ;
22534 int temp3 ;
22535 int res3 = 0 ;
22536 PyObject * obj0 = 0 ;
22537 char *kwnames[] = {
22538 (char *) "self", NULL
22539 };
22540
22541 arg2 = &temp2; res2 = SWIG_NEWOBJ;
22542 arg3 = &temp3; res3 = SWIG_NEWOBJ;
22543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail;
22544 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22545 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22546 {
22547 PyThreadState* __tstate = wxPyBeginAllowThreads();
22548 (arg1)->GetPPIPrinter(arg2,arg3);
22549
22550 wxPyEndAllowThreads(__tstate);
22551 if (PyErr_Occurred()) SWIG_fail;
22552 }
22553 Py_INCREF(Py_None); resultobj = Py_None;
22554 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
22555 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
22556 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
22557 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
22558 return resultobj;
22559 fail:
22560 return NULL;
22561 }
22562
22563
22564 static PyObject *_wrap_Printout_IsPreview(PyObject *, PyObject *args, PyObject *kwargs) {
22565 PyObject *resultobj;
22566 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22567 bool result;
22568 PyObject * obj0 = 0 ;
22569 char *kwnames[] = {
22570 (char *) "self", NULL
22571 };
22572
22573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail;
22574 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22575 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22576 {
22577 PyThreadState* __tstate = wxPyBeginAllowThreads();
22578 result = (bool)(arg1)->IsPreview();
22579
22580 wxPyEndAllowThreads(__tstate);
22581 if (PyErr_Occurred()) SWIG_fail;
22582 }
22583 {
22584 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22585 }
22586 return resultobj;
22587 fail:
22588 return NULL;
22589 }
22590
22591
22592 static PyObject *_wrap_Printout_SetIsPreview(PyObject *, PyObject *args, PyObject *kwargs) {
22593 PyObject *resultobj;
22594 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22595 bool arg2 ;
22596 PyObject * obj0 = 0 ;
22597 PyObject * obj1 = 0 ;
22598 char *kwnames[] = {
22599 (char *) "self",(char *) "p", NULL
22600 };
22601
22602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail;
22603 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22604 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22605 arg2 = (bool)SWIG_As_bool(obj1);
22606 if (PyErr_Occurred()) SWIG_fail;
22607 {
22608 PyThreadState* __tstate = wxPyBeginAllowThreads();
22609 (arg1)->SetIsPreview(arg2);
22610
22611 wxPyEndAllowThreads(__tstate);
22612 if (PyErr_Occurred()) SWIG_fail;
22613 }
22614 Py_INCREF(Py_None); resultobj = Py_None;
22615 return resultobj;
22616 fail:
22617 return NULL;
22618 }
22619
22620
22621 static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *, PyObject *args, PyObject *kwargs) {
22622 PyObject *resultobj;
22623 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22624 int arg2 ;
22625 int arg3 ;
22626 bool result;
22627 PyObject * obj0 = 0 ;
22628 PyObject * obj1 = 0 ;
22629 PyObject * obj2 = 0 ;
22630 char *kwnames[] = {
22631 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
22632 };
22633
22634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_base_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) goto fail;
22635 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22636 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22637 arg2 = (int)SWIG_As_int(obj1);
22638 if (PyErr_Occurred()) SWIG_fail;
22639 arg3 = (int)SWIG_As_int(obj2);
22640 if (PyErr_Occurred()) SWIG_fail;
22641 {
22642 PyThreadState* __tstate = wxPyBeginAllowThreads();
22643 result = (bool)(arg1)->base_OnBeginDocument(arg2,arg3);
22644
22645 wxPyEndAllowThreads(__tstate);
22646 if (PyErr_Occurred()) SWIG_fail;
22647 }
22648 {
22649 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22650 }
22651 return resultobj;
22652 fail:
22653 return NULL;
22654 }
22655
22656
22657 static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *, PyObject *args, PyObject *kwargs) {
22658 PyObject *resultobj;
22659 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22660 PyObject * obj0 = 0 ;
22661 char *kwnames[] = {
22662 (char *) "self", NULL
22663 };
22664
22665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndDocument",kwnames,&obj0)) goto fail;
22666 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22667 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22668 {
22669 PyThreadState* __tstate = wxPyBeginAllowThreads();
22670 (arg1)->base_OnEndDocument();
22671
22672 wxPyEndAllowThreads(__tstate);
22673 if (PyErr_Occurred()) SWIG_fail;
22674 }
22675 Py_INCREF(Py_None); resultobj = Py_None;
22676 return resultobj;
22677 fail:
22678 return NULL;
22679 }
22680
22681
22682 static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
22683 PyObject *resultobj;
22684 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22685 PyObject * obj0 = 0 ;
22686 char *kwnames[] = {
22687 (char *) "self", NULL
22688 };
22689
22690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnBeginPrinting",kwnames,&obj0)) goto fail;
22691 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22692 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22693 {
22694 PyThreadState* __tstate = wxPyBeginAllowThreads();
22695 (arg1)->base_OnBeginPrinting();
22696
22697 wxPyEndAllowThreads(__tstate);
22698 if (PyErr_Occurred()) SWIG_fail;
22699 }
22700 Py_INCREF(Py_None); resultobj = Py_None;
22701 return resultobj;
22702 fail:
22703 return NULL;
22704 }
22705
22706
22707 static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
22708 PyObject *resultobj;
22709 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22710 PyObject * obj0 = 0 ;
22711 char *kwnames[] = {
22712 (char *) "self", NULL
22713 };
22714
22715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndPrinting",kwnames,&obj0)) goto fail;
22716 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22717 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22718 {
22719 PyThreadState* __tstate = wxPyBeginAllowThreads();
22720 (arg1)->base_OnEndPrinting();
22721
22722 wxPyEndAllowThreads(__tstate);
22723 if (PyErr_Occurred()) SWIG_fail;
22724 }
22725 Py_INCREF(Py_None); resultobj = Py_None;
22726 return resultobj;
22727 fail:
22728 return NULL;
22729 }
22730
22731
22732 static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *, PyObject *args, PyObject *kwargs) {
22733 PyObject *resultobj;
22734 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22735 PyObject * obj0 = 0 ;
22736 char *kwnames[] = {
22737 (char *) "self", NULL
22738 };
22739
22740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnPreparePrinting",kwnames,&obj0)) goto fail;
22741 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22742 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22743 {
22744 PyThreadState* __tstate = wxPyBeginAllowThreads();
22745 (arg1)->base_OnPreparePrinting();
22746
22747 wxPyEndAllowThreads(__tstate);
22748 if (PyErr_Occurred()) SWIG_fail;
22749 }
22750 Py_INCREF(Py_None); resultobj = Py_None;
22751 return resultobj;
22752 fail:
22753 return NULL;
22754 }
22755
22756
22757 static PyObject *_wrap_Printout_base_HasPage(PyObject *, PyObject *args, PyObject *kwargs) {
22758 PyObject *resultobj;
22759 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22760 int arg2 ;
22761 bool result;
22762 PyObject * obj0 = 0 ;
22763 PyObject * obj1 = 0 ;
22764 char *kwnames[] = {
22765 (char *) "self",(char *) "page", NULL
22766 };
22767
22768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_base_HasPage",kwnames,&obj0,&obj1)) goto fail;
22769 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22770 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22771 arg2 = (int)SWIG_As_int(obj1);
22772 if (PyErr_Occurred()) SWIG_fail;
22773 {
22774 PyThreadState* __tstate = wxPyBeginAllowThreads();
22775 result = (bool)(arg1)->base_HasPage(arg2);
22776
22777 wxPyEndAllowThreads(__tstate);
22778 if (PyErr_Occurred()) SWIG_fail;
22779 }
22780 {
22781 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22782 }
22783 return resultobj;
22784 fail:
22785 return NULL;
22786 }
22787
22788
22789 static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *, PyObject *args, PyObject *kwargs) {
22790 PyObject *resultobj;
22791 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22792 int *arg2 = (int *) 0 ;
22793 int *arg3 = (int *) 0 ;
22794 int *arg4 = (int *) 0 ;
22795 int *arg5 = (int *) 0 ;
22796 int temp2 ;
22797 int res2 = 0 ;
22798 int temp3 ;
22799 int res3 = 0 ;
22800 int temp4 ;
22801 int res4 = 0 ;
22802 int temp5 ;
22803 int res5 = 0 ;
22804 PyObject * obj0 = 0 ;
22805 char *kwnames[] = {
22806 (char *) "self", NULL
22807 };
22808
22809 arg2 = &temp2; res2 = SWIG_NEWOBJ;
22810 arg3 = &temp3; res3 = SWIG_NEWOBJ;
22811 arg4 = &temp4; res4 = SWIG_NEWOBJ;
22812 arg5 = &temp5; res5 = SWIG_NEWOBJ;
22813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_GetPageInfo",kwnames,&obj0)) goto fail;
22814 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22816 {
22817 PyThreadState* __tstate = wxPyBeginAllowThreads();
22818 (arg1)->base_GetPageInfo(arg2,arg3,arg4,arg5);
22819
22820 wxPyEndAllowThreads(__tstate);
22821 if (PyErr_Occurred()) SWIG_fail;
22822 }
22823 Py_INCREF(Py_None); resultobj = Py_None;
22824 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
22825 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
22826 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
22827 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
22828 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
22829 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
22830 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
22831 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
22832 return resultobj;
22833 fail:
22834 return NULL;
22835 }
22836
22837
22838 static PyObject * Printout_swigregister(PyObject *, PyObject *args) {
22839 PyObject *obj;
22840 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22841 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj);
22842 Py_INCREF(obj);
22843 return Py_BuildValue((char *)"");
22844 }
22845 static PyObject *_wrap_new_PreviewCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
22846 PyObject *resultobj;
22847 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22848 wxWindow *arg2 = (wxWindow *) 0 ;
22849 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22850 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22851 wxSize const &arg4_defvalue = wxDefaultSize ;
22852 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22853 long arg5 = (long) 0 ;
22854 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
22855 wxString *arg6 = (wxString *) &arg6_defvalue ;
22856 wxPreviewCanvas *result;
22857 wxPoint temp3 ;
22858 wxSize temp4 ;
22859 bool temp6 = false ;
22860 PyObject * obj0 = 0 ;
22861 PyObject * obj1 = 0 ;
22862 PyObject * obj2 = 0 ;
22863 PyObject * obj3 = 0 ;
22864 PyObject * obj4 = 0 ;
22865 PyObject * obj5 = 0 ;
22866 char *kwnames[] = {
22867 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22868 };
22869
22870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
22871 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22872 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22873 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
22874 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22875 if (obj2) {
22876 {
22877 arg3 = &temp3;
22878 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22879 }
22880 }
22881 if (obj3) {
22882 {
22883 arg4 = &temp4;
22884 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22885 }
22886 }
22887 if (obj4) {
22888 arg5 = (long)SWIG_As_long(obj4);
22889 if (PyErr_Occurred()) SWIG_fail;
22890 }
22891 if (obj5) {
22892 {
22893 arg6 = wxString_in_helper(obj5);
22894 if (arg6 == NULL) SWIG_fail;
22895 temp6 = true;
22896 }
22897 }
22898 {
22899 if (!wxPyCheckForApp()) SWIG_fail;
22900 PyThreadState* __tstate = wxPyBeginAllowThreads();
22901 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22902
22903 wxPyEndAllowThreads(__tstate);
22904 if (PyErr_Occurred()) SWIG_fail;
22905 }
22906 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 1);
22907 {
22908 if (temp6)
22909 delete arg6;
22910 }
22911 return resultobj;
22912 fail:
22913 {
22914 if (temp6)
22915 delete arg6;
22916 }
22917 return NULL;
22918 }
22919
22920
22921 static PyObject * PreviewCanvas_swigregister(PyObject *, PyObject *args) {
22922 PyObject *obj;
22923 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22924 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj);
22925 Py_INCREF(obj);
22926 return Py_BuildValue((char *)"");
22927 }
22928 static PyObject *_wrap_new_PreviewFrame(PyObject *, PyObject *args, PyObject *kwargs) {
22929 PyObject *resultobj;
22930 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22931 wxFrame *arg2 = (wxFrame *) 0 ;
22932 wxString *arg3 = 0 ;
22933 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22934 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22935 wxSize const &arg5_defvalue = wxDefaultSize ;
22936 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22937 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
22938 wxString const &arg7_defvalue = wxPyFrameNameStr ;
22939 wxString *arg7 = (wxString *) &arg7_defvalue ;
22940 wxPreviewFrame *result;
22941 bool temp3 = false ;
22942 wxPoint temp4 ;
22943 wxSize temp5 ;
22944 bool temp7 = false ;
22945 PyObject * obj0 = 0 ;
22946 PyObject * obj1 = 0 ;
22947 PyObject * obj2 = 0 ;
22948 PyObject * obj3 = 0 ;
22949 PyObject * obj4 = 0 ;
22950 PyObject * obj5 = 0 ;
22951 PyObject * obj6 = 0 ;
22952 char *kwnames[] = {
22953 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22954 };
22955
22956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
22957 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22958 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22959 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
22960 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22961 {
22962 arg3 = wxString_in_helper(obj2);
22963 if (arg3 == NULL) SWIG_fail;
22964 temp3 = true;
22965 }
22966 if (obj3) {
22967 {
22968 arg4 = &temp4;
22969 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22970 }
22971 }
22972 if (obj4) {
22973 {
22974 arg5 = &temp5;
22975 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22976 }
22977 }
22978 if (obj5) {
22979 arg6 = (long)SWIG_As_long(obj5);
22980 if (PyErr_Occurred()) SWIG_fail;
22981 }
22982 if (obj6) {
22983 {
22984 arg7 = wxString_in_helper(obj6);
22985 if (arg7 == NULL) SWIG_fail;
22986 temp7 = true;
22987 }
22988 }
22989 {
22990 if (!wxPyCheckForApp()) SWIG_fail;
22991 PyThreadState* __tstate = wxPyBeginAllowThreads();
22992 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
22993
22994 wxPyEndAllowThreads(__tstate);
22995 if (PyErr_Occurred()) SWIG_fail;
22996 }
22997 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewFrame, 1);
22998 {
22999 if (temp3)
23000 delete arg3;
23001 }
23002 {
23003 if (temp7)
23004 delete arg7;
23005 }
23006 return resultobj;
23007 fail:
23008 {
23009 if (temp3)
23010 delete arg3;
23011 }
23012 {
23013 if (temp7)
23014 delete arg7;
23015 }
23016 return NULL;
23017 }
23018
23019
23020 static PyObject *_wrap_PreviewFrame_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
23021 PyObject *resultobj;
23022 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
23023 PyObject * obj0 = 0 ;
23024 char *kwnames[] = {
23025 (char *) "self", NULL
23026 };
23027
23028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail;
23029 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
23030 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23031 {
23032 PyThreadState* __tstate = wxPyBeginAllowThreads();
23033 (arg1)->Initialize();
23034
23035 wxPyEndAllowThreads(__tstate);
23036 if (PyErr_Occurred()) SWIG_fail;
23037 }
23038 Py_INCREF(Py_None); resultobj = Py_None;
23039 return resultobj;
23040 fail:
23041 return NULL;
23042 }
23043
23044
23045 static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
23046 PyObject *resultobj;
23047 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
23048 PyObject * obj0 = 0 ;
23049 char *kwnames[] = {
23050 (char *) "self", NULL
23051 };
23052
23053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail;
23054 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
23055 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23056 {
23057 PyThreadState* __tstate = wxPyBeginAllowThreads();
23058 (arg1)->CreateControlBar();
23059
23060 wxPyEndAllowThreads(__tstate);
23061 if (PyErr_Occurred()) SWIG_fail;
23062 }
23063 Py_INCREF(Py_None); resultobj = Py_None;
23064 return resultobj;
23065 fail:
23066 return NULL;
23067 }
23068
23069
23070 static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
23071 PyObject *resultobj;
23072 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
23073 PyObject * obj0 = 0 ;
23074 char *kwnames[] = {
23075 (char *) "self", NULL
23076 };
23077
23078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail;
23079 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
23080 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23081 {
23082 PyThreadState* __tstate = wxPyBeginAllowThreads();
23083 (arg1)->CreateCanvas();
23084
23085 wxPyEndAllowThreads(__tstate);
23086 if (PyErr_Occurred()) SWIG_fail;
23087 }
23088 Py_INCREF(Py_None); resultobj = Py_None;
23089 return resultobj;
23090 fail:
23091 return NULL;
23092 }
23093
23094
23095 static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
23096 PyObject *resultobj;
23097 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
23098 wxPreviewControlBar *result;
23099 PyObject * obj0 = 0 ;
23100 char *kwnames[] = {
23101 (char *) "self", NULL
23102 };
23103
23104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail;
23105 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
23106 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23107 {
23108 PyThreadState* __tstate = wxPyBeginAllowThreads();
23109 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
23110
23111 wxPyEndAllowThreads(__tstate);
23112 if (PyErr_Occurred()) SWIG_fail;
23113 }
23114 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 0);
23115 return resultobj;
23116 fail:
23117 return NULL;
23118 }
23119
23120
23121 static PyObject * PreviewFrame_swigregister(PyObject *, PyObject *args) {
23122 PyObject *obj;
23123 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23124 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj);
23125 Py_INCREF(obj);
23126 return Py_BuildValue((char *)"");
23127 }
23128 static PyObject *_wrap_new_PreviewControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
23129 PyObject *resultobj;
23130 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23131 long arg2 ;
23132 wxWindow *arg3 = (wxWindow *) 0 ;
23133 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23134 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23135 wxSize const &arg5_defvalue = wxDefaultSize ;
23136 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23137 long arg6 = (long) wxTAB_TRAVERSAL ;
23138 wxString const &arg7_defvalue = wxPyPanelNameStr ;
23139 wxString *arg7 = (wxString *) &arg7_defvalue ;
23140 wxPreviewControlBar *result;
23141 wxPoint temp4 ;
23142 wxSize temp5 ;
23143 bool temp7 = false ;
23144 PyObject * obj0 = 0 ;
23145 PyObject * obj1 = 0 ;
23146 PyObject * obj2 = 0 ;
23147 PyObject * obj3 = 0 ;
23148 PyObject * obj4 = 0 ;
23149 PyObject * obj5 = 0 ;
23150 PyObject * obj6 = 0 ;
23151 char *kwnames[] = {
23152 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23153 };
23154
23155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
23156 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23157 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23158 arg2 = (long)SWIG_As_long(obj1);
23159 if (PyErr_Occurred()) SWIG_fail;
23160 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
23161 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23162 if (obj3) {
23163 {
23164 arg4 = &temp4;
23165 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23166 }
23167 }
23168 if (obj4) {
23169 {
23170 arg5 = &temp5;
23171 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23172 }
23173 }
23174 if (obj5) {
23175 arg6 = (long)SWIG_As_long(obj5);
23176 if (PyErr_Occurred()) SWIG_fail;
23177 }
23178 if (obj6) {
23179 {
23180 arg7 = wxString_in_helper(obj6);
23181 if (arg7 == NULL) SWIG_fail;
23182 temp7 = true;
23183 }
23184 }
23185 {
23186 if (!wxPyCheckForApp()) SWIG_fail;
23187 PyThreadState* __tstate = wxPyBeginAllowThreads();
23188 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
23189
23190 wxPyEndAllowThreads(__tstate);
23191 if (PyErr_Occurred()) SWIG_fail;
23192 }
23193 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 1);
23194 {
23195 if (temp7)
23196 delete arg7;
23197 }
23198 return resultobj;
23199 fail:
23200 {
23201 if (temp7)
23202 delete arg7;
23203 }
23204 return NULL;
23205 }
23206
23207
23208 static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
23209 PyObject *resultobj;
23210 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23211 int result;
23212 PyObject * obj0 = 0 ;
23213 char *kwnames[] = {
23214 (char *) "self", NULL
23215 };
23216
23217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail;
23218 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23220 {
23221 PyThreadState* __tstate = wxPyBeginAllowThreads();
23222 result = (int)(arg1)->GetZoomControl();
23223
23224 wxPyEndAllowThreads(__tstate);
23225 if (PyErr_Occurred()) SWIG_fail;
23226 }
23227 resultobj = SWIG_From_int((int)result);
23228 return resultobj;
23229 fail:
23230 return NULL;
23231 }
23232
23233
23234 static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
23235 PyObject *resultobj;
23236 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23237 int arg2 ;
23238 PyObject * obj0 = 0 ;
23239 PyObject * obj1 = 0 ;
23240 char *kwnames[] = {
23241 (char *) "self",(char *) "zoom", NULL
23242 };
23243
23244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
23245 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23246 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23247 arg2 = (int)SWIG_As_int(obj1);
23248 if (PyErr_Occurred()) SWIG_fail;
23249 {
23250 PyThreadState* __tstate = wxPyBeginAllowThreads();
23251 (arg1)->SetZoomControl(arg2);
23252
23253 wxPyEndAllowThreads(__tstate);
23254 if (PyErr_Occurred()) SWIG_fail;
23255 }
23256 Py_INCREF(Py_None); resultobj = Py_None;
23257 return resultobj;
23258 fail:
23259 return NULL;
23260 }
23261
23262
23263 static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *, PyObject *args, PyObject *kwargs) {
23264 PyObject *resultobj;
23265 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23266 wxPrintPreview *result;
23267 PyObject * obj0 = 0 ;
23268 char *kwnames[] = {
23269 (char *) "self", NULL
23270 };
23271
23272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail;
23273 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23274 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23275 {
23276 PyThreadState* __tstate = wxPyBeginAllowThreads();
23277 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
23278
23279 wxPyEndAllowThreads(__tstate);
23280 if (PyErr_Occurred()) SWIG_fail;
23281 }
23282 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 0);
23283 return resultobj;
23284 fail:
23285 return NULL;
23286 }
23287
23288
23289 static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *, PyObject *args, PyObject *kwargs) {
23290 PyObject *resultobj;
23291 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23292 PyObject * obj0 = 0 ;
23293 char *kwnames[] = {
23294 (char *) "self", NULL
23295 };
23296
23297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail;
23298 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23299 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23300 {
23301 PyThreadState* __tstate = wxPyBeginAllowThreads();
23302 (arg1)->OnNext();
23303
23304 wxPyEndAllowThreads(__tstate);
23305 if (PyErr_Occurred()) SWIG_fail;
23306 }
23307 Py_INCREF(Py_None); resultobj = Py_None;
23308 return resultobj;
23309 fail:
23310 return NULL;
23311 }
23312
23313
23314 static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *, PyObject *args, PyObject *kwargs) {
23315 PyObject *resultobj;
23316 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23317 PyObject * obj0 = 0 ;
23318 char *kwnames[] = {
23319 (char *) "self", NULL
23320 };
23321
23322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail;
23323 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23324 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23325 {
23326 PyThreadState* __tstate = wxPyBeginAllowThreads();
23327 (arg1)->OnPrevious();
23328
23329 wxPyEndAllowThreads(__tstate);
23330 if (PyErr_Occurred()) SWIG_fail;
23331 }
23332 Py_INCREF(Py_None); resultobj = Py_None;
23333 return resultobj;
23334 fail:
23335 return NULL;
23336 }
23337
23338
23339 static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *, PyObject *args, PyObject *kwargs) {
23340 PyObject *resultobj;
23341 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23342 PyObject * obj0 = 0 ;
23343 char *kwnames[] = {
23344 (char *) "self", NULL
23345 };
23346
23347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail;
23348 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23349 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23350 {
23351 PyThreadState* __tstate = wxPyBeginAllowThreads();
23352 (arg1)->OnFirst();
23353
23354 wxPyEndAllowThreads(__tstate);
23355 if (PyErr_Occurred()) SWIG_fail;
23356 }
23357 Py_INCREF(Py_None); resultobj = Py_None;
23358 return resultobj;
23359 fail:
23360 return NULL;
23361 }
23362
23363
23364 static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *, PyObject *args, PyObject *kwargs) {
23365 PyObject *resultobj;
23366 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23367 PyObject * obj0 = 0 ;
23368 char *kwnames[] = {
23369 (char *) "self", NULL
23370 };
23371
23372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail;
23373 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23374 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23375 {
23376 PyThreadState* __tstate = wxPyBeginAllowThreads();
23377 (arg1)->OnLast();
23378
23379 wxPyEndAllowThreads(__tstate);
23380 if (PyErr_Occurred()) SWIG_fail;
23381 }
23382 Py_INCREF(Py_None); resultobj = Py_None;
23383 return resultobj;
23384 fail:
23385 return NULL;
23386 }
23387
23388
23389 static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *, PyObject *args, PyObject *kwargs) {
23390 PyObject *resultobj;
23391 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23392 PyObject * obj0 = 0 ;
23393 char *kwnames[] = {
23394 (char *) "self", NULL
23395 };
23396
23397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail;
23398 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23399 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23400 {
23401 PyThreadState* __tstate = wxPyBeginAllowThreads();
23402 (arg1)->OnGoto();
23403
23404 wxPyEndAllowThreads(__tstate);
23405 if (PyErr_Occurred()) SWIG_fail;
23406 }
23407 Py_INCREF(Py_None); resultobj = Py_None;
23408 return resultobj;
23409 fail:
23410 return NULL;
23411 }
23412
23413
23414 static PyObject * PreviewControlBar_swigregister(PyObject *, PyObject *args) {
23415 PyObject *obj;
23416 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23417 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj);
23418 Py_INCREF(obj);
23419 return Py_BuildValue((char *)"");
23420 }
23421 static PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *, PyObject *args) {
23422 PyObject *resultobj;
23423 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23424 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23425 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
23426 wxPrintPreview *result;
23427 PyObject * obj0 = 0 ;
23428 PyObject * obj1 = 0 ;
23429 PyObject * obj2 = 0 ;
23430
23431 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
23432 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23433 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23434 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23435 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23436 if (obj2) {
23437 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintDialogData,
23438 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23439 }
23440 {
23441 if (!wxPyCheckForApp()) SWIG_fail;
23442 PyThreadState* __tstate = wxPyBeginAllowThreads();
23443 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
23444
23445 wxPyEndAllowThreads(__tstate);
23446 if (PyErr_Occurred()) SWIG_fail;
23447 }
23448 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
23449 return resultobj;
23450 fail:
23451 return NULL;
23452 }
23453
23454
23455 static PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *, PyObject *args) {
23456 PyObject *resultobj;
23457 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23458 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23459 wxPrintData *arg3 = (wxPrintData *) 0 ;
23460 wxPrintPreview *result;
23461 PyObject * obj0 = 0 ;
23462 PyObject * obj1 = 0 ;
23463 PyObject * obj2 = 0 ;
23464
23465 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
23466 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23468 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23469 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23470 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData,
23471 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23472 {
23473 if (!wxPyCheckForApp()) SWIG_fail;
23474 PyThreadState* __tstate = wxPyBeginAllowThreads();
23475 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
23476
23477 wxPyEndAllowThreads(__tstate);
23478 if (PyErr_Occurred()) SWIG_fail;
23479 }
23480 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
23481 return resultobj;
23482 fail:
23483 return NULL;
23484 }
23485
23486
23487 static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
23488 int argc;
23489 PyObject *argv[4];
23490 int ii;
23491
23492 argc = PyObject_Length(args);
23493 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
23494 argv[ii] = PyTuple_GetItem(args,ii);
23495 }
23496 if ((argc >= 2) && (argc <= 3)) {
23497 int _v;
23498 {
23499 void *ptr;
23500 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23501 _v = 0;
23502 PyErr_Clear();
23503 } else {
23504 _v = 1;
23505 }
23506 }
23507 if (_v) {
23508 {
23509 void *ptr;
23510 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23511 _v = 0;
23512 PyErr_Clear();
23513 } else {
23514 _v = 1;
23515 }
23516 }
23517 if (_v) {
23518 if (argc <= 2) {
23519 return _wrap_new_PrintPreview__SWIG_0(self,args);
23520 }
23521 {
23522 void *ptr;
23523 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
23524 _v = 0;
23525 PyErr_Clear();
23526 } else {
23527 _v = 1;
23528 }
23529 }
23530 if (_v) {
23531 return _wrap_new_PrintPreview__SWIG_0(self,args);
23532 }
23533 }
23534 }
23535 }
23536 if (argc == 3) {
23537 int _v;
23538 {
23539 void *ptr;
23540 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23541 _v = 0;
23542 PyErr_Clear();
23543 } else {
23544 _v = 1;
23545 }
23546 }
23547 if (_v) {
23548 {
23549 void *ptr;
23550 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23551 _v = 0;
23552 PyErr_Clear();
23553 } else {
23554 _v = 1;
23555 }
23556 }
23557 if (_v) {
23558 {
23559 void *ptr;
23560 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
23561 _v = 0;
23562 PyErr_Clear();
23563 } else {
23564 _v = 1;
23565 }
23566 }
23567 if (_v) {
23568 return _wrap_new_PrintPreview__SWIG_1(self,args);
23569 }
23570 }
23571 }
23572 }
23573
23574 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintPreview'");
23575 return NULL;
23576 }
23577
23578
23579 static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
23580 PyObject *resultobj;
23581 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23582 int arg2 ;
23583 bool result;
23584 PyObject * obj0 = 0 ;
23585 PyObject * obj1 = 0 ;
23586 char *kwnames[] = {
23587 (char *) "self",(char *) "pageNum", NULL
23588 };
23589
23590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
23591 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23592 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23593 arg2 = (int)SWIG_As_int(obj1);
23594 if (PyErr_Occurred()) SWIG_fail;
23595 {
23596 PyThreadState* __tstate = wxPyBeginAllowThreads();
23597 result = (bool)(arg1)->SetCurrentPage(arg2);
23598
23599 wxPyEndAllowThreads(__tstate);
23600 if (PyErr_Occurred()) SWIG_fail;
23601 }
23602 {
23603 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23604 }
23605 return resultobj;
23606 fail:
23607 return NULL;
23608 }
23609
23610
23611 static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
23612 PyObject *resultobj;
23613 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23614 int result;
23615 PyObject * obj0 = 0 ;
23616 char *kwnames[] = {
23617 (char *) "self", NULL
23618 };
23619
23620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail;
23621 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23622 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23623 {
23624 PyThreadState* __tstate = wxPyBeginAllowThreads();
23625 result = (int)(arg1)->GetCurrentPage();
23626
23627 wxPyEndAllowThreads(__tstate);
23628 if (PyErr_Occurred()) SWIG_fail;
23629 }
23630 resultobj = SWIG_From_int((int)result);
23631 return resultobj;
23632 fail:
23633 return NULL;
23634 }
23635
23636
23637 static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *, PyObject *args, PyObject *kwargs) {
23638 PyObject *resultobj;
23639 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23640 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23641 PyObject * obj0 = 0 ;
23642 PyObject * obj1 = 0 ;
23643 char *kwnames[] = {
23644 (char *) "self",(char *) "printout", NULL
23645 };
23646
23647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail;
23648 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23649 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23650 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23651 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23652 {
23653 PyThreadState* __tstate = wxPyBeginAllowThreads();
23654 (arg1)->SetPrintout(arg2);
23655
23656 wxPyEndAllowThreads(__tstate);
23657 if (PyErr_Occurred()) SWIG_fail;
23658 }
23659 Py_INCREF(Py_None); resultobj = Py_None;
23660 return resultobj;
23661 fail:
23662 return NULL;
23663 }
23664
23665
23666 static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *, PyObject *args, PyObject *kwargs) {
23667 PyObject *resultobj;
23668 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23669 wxPyPrintout *result;
23670 PyObject * obj0 = 0 ;
23671 char *kwnames[] = {
23672 (char *) "self", NULL
23673 };
23674
23675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail;
23676 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23677 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23678 {
23679 PyThreadState* __tstate = wxPyBeginAllowThreads();
23680 result = (wxPyPrintout *)(arg1)->GetPrintout();
23681
23682 wxPyEndAllowThreads(__tstate);
23683 if (PyErr_Occurred()) SWIG_fail;
23684 }
23685 {
23686 resultobj = wxPyMake_wxObject(result, 0);
23687 }
23688 return resultobj;
23689 fail:
23690 return NULL;
23691 }
23692
23693
23694 static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
23695 PyObject *resultobj;
23696 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23697 wxPyPrintout *result;
23698 PyObject * obj0 = 0 ;
23699 char *kwnames[] = {
23700 (char *) "self", NULL
23701 };
23702
23703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail;
23704 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23705 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23706 {
23707 PyThreadState* __tstate = wxPyBeginAllowThreads();
23708 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
23709
23710 wxPyEndAllowThreads(__tstate);
23711 if (PyErr_Occurred()) SWIG_fail;
23712 }
23713 {
23714 resultobj = wxPyMake_wxObject(result, 0);
23715 }
23716 return resultobj;
23717 fail:
23718 return NULL;
23719 }
23720
23721
23722 static PyObject *_wrap_PrintPreview_SetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
23723 PyObject *resultobj;
23724 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23725 wxFrame *arg2 = (wxFrame *) 0 ;
23726 PyObject * obj0 = 0 ;
23727 PyObject * obj1 = 0 ;
23728 char *kwnames[] = {
23729 (char *) "self",(char *) "frame", NULL
23730 };
23731
23732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail;
23733 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23734 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23735 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
23736 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23737 {
23738 PyThreadState* __tstate = wxPyBeginAllowThreads();
23739 (arg1)->SetFrame(arg2);
23740
23741 wxPyEndAllowThreads(__tstate);
23742 if (PyErr_Occurred()) SWIG_fail;
23743 }
23744 Py_INCREF(Py_None); resultobj = Py_None;
23745 return resultobj;
23746 fail:
23747 return NULL;
23748 }
23749
23750
23751 static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
23752 PyObject *resultobj;
23753 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23754 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23755 PyObject * obj0 = 0 ;
23756 PyObject * obj1 = 0 ;
23757 char *kwnames[] = {
23758 (char *) "self",(char *) "canvas", NULL
23759 };
23760
23761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
23762 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23763 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23764 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23765 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23766 {
23767 PyThreadState* __tstate = wxPyBeginAllowThreads();
23768 (arg1)->SetCanvas(arg2);
23769
23770 wxPyEndAllowThreads(__tstate);
23771 if (PyErr_Occurred()) SWIG_fail;
23772 }
23773 Py_INCREF(Py_None); resultobj = Py_None;
23774 return resultobj;
23775 fail:
23776 return NULL;
23777 }
23778
23779
23780 static PyObject *_wrap_PrintPreview_GetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
23781 PyObject *resultobj;
23782 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23783 wxFrame *result;
23784 PyObject * obj0 = 0 ;
23785 char *kwnames[] = {
23786 (char *) "self", NULL
23787 };
23788
23789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail;
23790 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23791 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23792 {
23793 PyThreadState* __tstate = wxPyBeginAllowThreads();
23794 result = (wxFrame *)(arg1)->GetFrame();
23795
23796 wxPyEndAllowThreads(__tstate);
23797 if (PyErr_Occurred()) SWIG_fail;
23798 }
23799 {
23800 resultobj = wxPyMake_wxObject(result, 0);
23801 }
23802 return resultobj;
23803 fail:
23804 return NULL;
23805 }
23806
23807
23808 static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
23809 PyObject *resultobj;
23810 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23811 wxPreviewCanvas *result;
23812 PyObject * obj0 = 0 ;
23813 char *kwnames[] = {
23814 (char *) "self", NULL
23815 };
23816
23817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail;
23818 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23819 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23820 {
23821 PyThreadState* __tstate = wxPyBeginAllowThreads();
23822 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
23823
23824 wxPyEndAllowThreads(__tstate);
23825 if (PyErr_Occurred()) SWIG_fail;
23826 }
23827 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 0);
23828 return resultobj;
23829 fail:
23830 return NULL;
23831 }
23832
23833
23834 static PyObject *_wrap_PrintPreview_PaintPage(PyObject *, PyObject *args, PyObject *kwargs) {
23835 PyObject *resultobj;
23836 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23837 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23838 wxDC *arg3 = 0 ;
23839 bool result;
23840 PyObject * obj0 = 0 ;
23841 PyObject * obj1 = 0 ;
23842 PyObject * obj2 = 0 ;
23843 char *kwnames[] = {
23844 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23845 };
23846
23847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
23848 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23849 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23850 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23851 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23852 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
23853 SWIG_POINTER_EXCEPTION | 0)) == -1)
23854 SWIG_fail;
23855 if (arg3 == NULL) {
23856 PyErr_SetString(PyExc_TypeError,"null reference");
23857 SWIG_fail;
23858 }
23859 {
23860 PyThreadState* __tstate = wxPyBeginAllowThreads();
23861 result = (bool)(arg1)->PaintPage(arg2,*arg3);
23862
23863 wxPyEndAllowThreads(__tstate);
23864 if (PyErr_Occurred()) SWIG_fail;
23865 }
23866 {
23867 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23868 }
23869 return resultobj;
23870 fail:
23871 return NULL;
23872 }
23873
23874
23875 static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *, PyObject *args, PyObject *kwargs) {
23876 PyObject *resultobj;
23877 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23878 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23879 wxDC *arg3 = 0 ;
23880 bool result;
23881 PyObject * obj0 = 0 ;
23882 PyObject * obj1 = 0 ;
23883 PyObject * obj2 = 0 ;
23884 char *kwnames[] = {
23885 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23886 };
23887
23888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
23889 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23890 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23891 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23892 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23893 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
23894 SWIG_POINTER_EXCEPTION | 0)) == -1)
23895 SWIG_fail;
23896 if (arg3 == NULL) {
23897 PyErr_SetString(PyExc_TypeError,"null reference");
23898 SWIG_fail;
23899 }
23900 {
23901 PyThreadState* __tstate = wxPyBeginAllowThreads();
23902 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
23903
23904 wxPyEndAllowThreads(__tstate);
23905 if (PyErr_Occurred()) SWIG_fail;
23906 }
23907 {
23908 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23909 }
23910 return resultobj;
23911 fail:
23912 return NULL;
23913 }
23914
23915
23916 static PyObject *_wrap_PrintPreview_RenderPage(PyObject *, PyObject *args, PyObject *kwargs) {
23917 PyObject *resultobj;
23918 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23919 int arg2 ;
23920 bool result;
23921 PyObject * obj0 = 0 ;
23922 PyObject * obj1 = 0 ;
23923 char *kwnames[] = {
23924 (char *) "self",(char *) "pageNum", NULL
23925 };
23926
23927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) goto fail;
23928 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23929 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23930 arg2 = (int)SWIG_As_int(obj1);
23931 if (PyErr_Occurred()) SWIG_fail;
23932 {
23933 PyThreadState* __tstate = wxPyBeginAllowThreads();
23934 result = (bool)(arg1)->RenderPage(arg2);
23935
23936 wxPyEndAllowThreads(__tstate);
23937 if (PyErr_Occurred()) SWIG_fail;
23938 }
23939 {
23940 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23941 }
23942 return resultobj;
23943 fail:
23944 return NULL;
23945 }
23946
23947
23948 static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
23949 PyObject *resultobj;
23950 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23951 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23952 PyObject * obj0 = 0 ;
23953 PyObject * obj1 = 0 ;
23954 char *kwnames[] = {
23955 (char *) "self",(char *) "canvas", NULL
23956 };
23957
23958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail;
23959 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23960 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23961 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23962 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23963 {
23964 PyThreadState* __tstate = wxPyBeginAllowThreads();
23965 (arg1)->AdjustScrollbars(arg2);
23966
23967 wxPyEndAllowThreads(__tstate);
23968 if (PyErr_Occurred()) SWIG_fail;
23969 }
23970 Py_INCREF(Py_None); resultobj = Py_None;
23971 return resultobj;
23972 fail:
23973 return NULL;
23974 }
23975
23976
23977 static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
23978 PyObject *resultobj;
23979 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23980 wxPrintDialogData *result;
23981 PyObject * obj0 = 0 ;
23982 char *kwnames[] = {
23983 (char *) "self", NULL
23984 };
23985
23986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail;
23987 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23989 {
23990 PyThreadState* __tstate = wxPyBeginAllowThreads();
23991 {
23992 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
23993 result = (wxPrintDialogData *) &_result_ref;
23994 }
23995
23996 wxPyEndAllowThreads(__tstate);
23997 if (PyErr_Occurred()) SWIG_fail;
23998 }
23999 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
24000 return resultobj;
24001 fail:
24002 return NULL;
24003 }
24004
24005
24006 static PyObject *_wrap_PrintPreview_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
24007 PyObject *resultobj;
24008 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24009 int arg2 ;
24010 PyObject * obj0 = 0 ;
24011 PyObject * obj1 = 0 ;
24012 char *kwnames[] = {
24013 (char *) "self",(char *) "percent", NULL
24014 };
24015
24016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) goto fail;
24017 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24018 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24019 arg2 = (int)SWIG_As_int(obj1);
24020 if (PyErr_Occurred()) SWIG_fail;
24021 {
24022 PyThreadState* __tstate = wxPyBeginAllowThreads();
24023 (arg1)->SetZoom(arg2);
24024
24025 wxPyEndAllowThreads(__tstate);
24026 if (PyErr_Occurred()) SWIG_fail;
24027 }
24028 Py_INCREF(Py_None); resultobj = Py_None;
24029 return resultobj;
24030 fail:
24031 return NULL;
24032 }
24033
24034
24035 static PyObject *_wrap_PrintPreview_GetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
24036 PyObject *resultobj;
24037 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24038 int result;
24039 PyObject * obj0 = 0 ;
24040 char *kwnames[] = {
24041 (char *) "self", NULL
24042 };
24043
24044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail;
24045 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24046 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24047 {
24048 PyThreadState* __tstate = wxPyBeginAllowThreads();
24049 result = (int)(arg1)->GetZoom();
24050
24051 wxPyEndAllowThreads(__tstate);
24052 if (PyErr_Occurred()) SWIG_fail;
24053 }
24054 resultobj = SWIG_From_int((int)result);
24055 return resultobj;
24056 fail:
24057 return NULL;
24058 }
24059
24060
24061 static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
24062 PyObject *resultobj;
24063 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24064 int result;
24065 PyObject * obj0 = 0 ;
24066 char *kwnames[] = {
24067 (char *) "self", NULL
24068 };
24069
24070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail;
24071 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24072 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24073 {
24074 PyThreadState* __tstate = wxPyBeginAllowThreads();
24075 result = (int)(arg1)->GetMaxPage();
24076
24077 wxPyEndAllowThreads(__tstate);
24078 if (PyErr_Occurred()) SWIG_fail;
24079 }
24080 resultobj = SWIG_From_int((int)result);
24081 return resultobj;
24082 fail:
24083 return NULL;
24084 }
24085
24086
24087 static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
24088 PyObject *resultobj;
24089 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24090 int result;
24091 PyObject * obj0 = 0 ;
24092 char *kwnames[] = {
24093 (char *) "self", NULL
24094 };
24095
24096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail;
24097 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24098 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24099 {
24100 PyThreadState* __tstate = wxPyBeginAllowThreads();
24101 result = (int)(arg1)->GetMinPage();
24102
24103 wxPyEndAllowThreads(__tstate);
24104 if (PyErr_Occurred()) SWIG_fail;
24105 }
24106 resultobj = SWIG_From_int((int)result);
24107 return resultobj;
24108 fail:
24109 return NULL;
24110 }
24111
24112
24113 static PyObject *_wrap_PrintPreview_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
24114 PyObject *resultobj;
24115 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24116 bool result;
24117 PyObject * obj0 = 0 ;
24118 char *kwnames[] = {
24119 (char *) "self", NULL
24120 };
24121
24122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail;
24123 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24124 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24125 {
24126 PyThreadState* __tstate = wxPyBeginAllowThreads();
24127 result = (bool)(arg1)->Ok();
24128
24129 wxPyEndAllowThreads(__tstate);
24130 if (PyErr_Occurred()) SWIG_fail;
24131 }
24132 {
24133 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24134 }
24135 return resultobj;
24136 fail:
24137 return NULL;
24138 }
24139
24140
24141 static PyObject *_wrap_PrintPreview_SetOk(PyObject *, PyObject *args, PyObject *kwargs) {
24142 PyObject *resultobj;
24143 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24144 bool arg2 ;
24145 PyObject * obj0 = 0 ;
24146 PyObject * obj1 = 0 ;
24147 char *kwnames[] = {
24148 (char *) "self",(char *) "ok", NULL
24149 };
24150
24151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail;
24152 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24153 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24154 arg2 = (bool)SWIG_As_bool(obj1);
24155 if (PyErr_Occurred()) SWIG_fail;
24156 {
24157 PyThreadState* __tstate = wxPyBeginAllowThreads();
24158 (arg1)->SetOk(arg2);
24159
24160 wxPyEndAllowThreads(__tstate);
24161 if (PyErr_Occurred()) SWIG_fail;
24162 }
24163 Py_INCREF(Py_None); resultobj = Py_None;
24164 return resultobj;
24165 fail:
24166 return NULL;
24167 }
24168
24169
24170 static PyObject *_wrap_PrintPreview_Print(PyObject *, PyObject *args, PyObject *kwargs) {
24171 PyObject *resultobj;
24172 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24173 bool arg2 ;
24174 bool result;
24175 PyObject * obj0 = 0 ;
24176 PyObject * obj1 = 0 ;
24177 char *kwnames[] = {
24178 (char *) "self",(char *) "interactive", NULL
24179 };
24180
24181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail;
24182 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24183 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24184 arg2 = (bool)SWIG_As_bool(obj1);
24185 if (PyErr_Occurred()) SWIG_fail;
24186 {
24187 PyThreadState* __tstate = wxPyBeginAllowThreads();
24188 result = (bool)(arg1)->Print(arg2);
24189
24190 wxPyEndAllowThreads(__tstate);
24191 if (PyErr_Occurred()) SWIG_fail;
24192 }
24193 {
24194 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24195 }
24196 return resultobj;
24197 fail:
24198 return NULL;
24199 }
24200
24201
24202 static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *, PyObject *args, PyObject *kwargs) {
24203 PyObject *resultobj;
24204 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24205 PyObject * obj0 = 0 ;
24206 char *kwnames[] = {
24207 (char *) "self", NULL
24208 };
24209
24210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail;
24211 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24212 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24213 {
24214 PyThreadState* __tstate = wxPyBeginAllowThreads();
24215 (arg1)->DetermineScaling();
24216
24217 wxPyEndAllowThreads(__tstate);
24218 if (PyErr_Occurred()) SWIG_fail;
24219 }
24220 Py_INCREF(Py_None); resultobj = Py_None;
24221 return resultobj;
24222 fail:
24223 return NULL;
24224 }
24225
24226
24227 static PyObject * PrintPreview_swigregister(PyObject *, PyObject *args) {
24228 PyObject *obj;
24229 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24230 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj);
24231 Py_INCREF(obj);
24232 return Py_BuildValue((char *)"");
24233 }
24234 static PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *, PyObject *args) {
24235 PyObject *resultobj;
24236 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24237 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
24238 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
24239 wxPyPrintPreview *result;
24240 PyObject * obj0 = 0 ;
24241 PyObject * obj1 = 0 ;
24242 PyObject * obj2 = 0 ;
24243
24244 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
24245 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
24246 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24247 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
24248 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24249 if (obj2) {
24250 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintDialogData,
24251 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24252 }
24253 {
24254 if (!wxPyCheckForApp()) SWIG_fail;
24255 PyThreadState* __tstate = wxPyBeginAllowThreads();
24256 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
24257
24258 wxPyEndAllowThreads(__tstate);
24259 if (PyErr_Occurred()) SWIG_fail;
24260 }
24261 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
24262 return resultobj;
24263 fail:
24264 return NULL;
24265 }
24266
24267
24268 static PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *, PyObject *args) {
24269 PyObject *resultobj;
24270 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24271 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
24272 wxPrintData *arg3 = (wxPrintData *) 0 ;
24273 wxPyPrintPreview *result;
24274 PyObject * obj0 = 0 ;
24275 PyObject * obj1 = 0 ;
24276 PyObject * obj2 = 0 ;
24277
24278 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
24279 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
24280 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24281 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
24282 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24283 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData,
24284 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24285 {
24286 if (!wxPyCheckForApp()) SWIG_fail;
24287 PyThreadState* __tstate = wxPyBeginAllowThreads();
24288 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
24289
24290 wxPyEndAllowThreads(__tstate);
24291 if (PyErr_Occurred()) SWIG_fail;
24292 }
24293 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
24294 return resultobj;
24295 fail:
24296 return NULL;
24297 }
24298
24299
24300 static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
24301 int argc;
24302 PyObject *argv[4];
24303 int ii;
24304
24305 argc = PyObject_Length(args);
24306 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
24307 argv[ii] = PyTuple_GetItem(args,ii);
24308 }
24309 if ((argc >= 2) && (argc <= 3)) {
24310 int _v;
24311 {
24312 void *ptr;
24313 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
24314 _v = 0;
24315 PyErr_Clear();
24316 } else {
24317 _v = 1;
24318 }
24319 }
24320 if (_v) {
24321 {
24322 void *ptr;
24323 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
24324 _v = 0;
24325 PyErr_Clear();
24326 } else {
24327 _v = 1;
24328 }
24329 }
24330 if (_v) {
24331 if (argc <= 2) {
24332 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
24333 }
24334 {
24335 void *ptr;
24336 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
24337 _v = 0;
24338 PyErr_Clear();
24339 } else {
24340 _v = 1;
24341 }
24342 }
24343 if (_v) {
24344 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
24345 }
24346 }
24347 }
24348 }
24349 if (argc == 3) {
24350 int _v;
24351 {
24352 void *ptr;
24353 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
24354 _v = 0;
24355 PyErr_Clear();
24356 } else {
24357 _v = 1;
24358 }
24359 }
24360 if (_v) {
24361 {
24362 void *ptr;
24363 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
24364 _v = 0;
24365 PyErr_Clear();
24366 } else {
24367 _v = 1;
24368 }
24369 }
24370 if (_v) {
24371 {
24372 void *ptr;
24373 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
24374 _v = 0;
24375 PyErr_Clear();
24376 } else {
24377 _v = 1;
24378 }
24379 }
24380 if (_v) {
24381 return _wrap_new_PyPrintPreview__SWIG_1(self,args);
24382 }
24383 }
24384 }
24385 }
24386
24387 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PyPrintPreview'");
24388 return NULL;
24389 }
24390
24391
24392 static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
24393 PyObject *resultobj;
24394 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24395 PyObject *arg2 = (PyObject *) 0 ;
24396 PyObject *arg3 = (PyObject *) 0 ;
24397 PyObject * obj0 = 0 ;
24398 PyObject * obj1 = 0 ;
24399 PyObject * obj2 = 0 ;
24400 char *kwnames[] = {
24401 (char *) "self",(char *) "self",(char *) "_class", NULL
24402 };
24403
24404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24405 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24406 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24407 arg2 = obj1;
24408 arg3 = obj2;
24409 {
24410 PyThreadState* __tstate = wxPyBeginAllowThreads();
24411 (arg1)->_setCallbackInfo(arg2,arg3);
24412
24413 wxPyEndAllowThreads(__tstate);
24414 if (PyErr_Occurred()) SWIG_fail;
24415 }
24416 Py_INCREF(Py_None); resultobj = Py_None;
24417 return resultobj;
24418 fail:
24419 return NULL;
24420 }
24421
24422
24423 static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
24424 PyObject *resultobj;
24425 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24426 int arg2 ;
24427 bool result;
24428 PyObject * obj0 = 0 ;
24429 PyObject * obj1 = 0 ;
24430 char *kwnames[] = {
24431 (char *) "self",(char *) "pageNum", NULL
24432 };
24433
24434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
24435 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24436 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24437 arg2 = (int)SWIG_As_int(obj1);
24438 if (PyErr_Occurred()) SWIG_fail;
24439 {
24440 PyThreadState* __tstate = wxPyBeginAllowThreads();
24441 result = (bool)(arg1)->base_SetCurrentPage(arg2);
24442
24443 wxPyEndAllowThreads(__tstate);
24444 if (PyErr_Occurred()) SWIG_fail;
24445 }
24446 {
24447 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24448 }
24449 return resultobj;
24450 fail:
24451 return NULL;
24452 }
24453
24454
24455 static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *, PyObject *args, PyObject *kwargs) {
24456 PyObject *resultobj;
24457 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24458 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
24459 wxDC *arg3 = 0 ;
24460 bool result;
24461 PyObject * obj0 = 0 ;
24462 PyObject * obj1 = 0 ;
24463 PyObject * obj2 = 0 ;
24464 char *kwnames[] = {
24465 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24466 };
24467
24468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
24469 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24470 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24471 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
24472 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24473 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
24474 SWIG_POINTER_EXCEPTION | 0)) == -1)
24475 SWIG_fail;
24476 if (arg3 == NULL) {
24477 PyErr_SetString(PyExc_TypeError,"null reference");
24478 SWIG_fail;
24479 }
24480 {
24481 PyThreadState* __tstate = wxPyBeginAllowThreads();
24482 result = (bool)(arg1)->base_PaintPage(arg2,*arg3);
24483
24484 wxPyEndAllowThreads(__tstate);
24485 if (PyErr_Occurred()) SWIG_fail;
24486 }
24487 {
24488 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24489 }
24490 return resultobj;
24491 fail:
24492 return NULL;
24493 }
24494
24495
24496 static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *, PyObject *args, PyObject *kwargs) {
24497 PyObject *resultobj;
24498 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24499 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
24500 wxDC *arg3 = 0 ;
24501 bool result;
24502 PyObject * obj0 = 0 ;
24503 PyObject * obj1 = 0 ;
24504 PyObject * obj2 = 0 ;
24505 char *kwnames[] = {
24506 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24507 };
24508
24509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
24510 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24511 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24512 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
24513 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24514 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
24515 SWIG_POINTER_EXCEPTION | 0)) == -1)
24516 SWIG_fail;
24517 if (arg3 == NULL) {
24518 PyErr_SetString(PyExc_TypeError,"null reference");
24519 SWIG_fail;
24520 }
24521 {
24522 PyThreadState* __tstate = wxPyBeginAllowThreads();
24523 result = (bool)(arg1)->base_DrawBlankPage(arg2,*arg3);
24524
24525 wxPyEndAllowThreads(__tstate);
24526 if (PyErr_Occurred()) SWIG_fail;
24527 }
24528 {
24529 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24530 }
24531 return resultobj;
24532 fail:
24533 return NULL;
24534 }
24535
24536
24537 static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *, PyObject *args, PyObject *kwargs) {
24538 PyObject *resultobj;
24539 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24540 int arg2 ;
24541 bool result;
24542 PyObject * obj0 = 0 ;
24543 PyObject * obj1 = 0 ;
24544 char *kwnames[] = {
24545 (char *) "self",(char *) "pageNum", NULL
24546 };
24547
24548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames,&obj0,&obj1)) goto fail;
24549 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24550 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24551 arg2 = (int)SWIG_As_int(obj1);
24552 if (PyErr_Occurred()) SWIG_fail;
24553 {
24554 PyThreadState* __tstate = wxPyBeginAllowThreads();
24555 result = (bool)(arg1)->base_RenderPage(arg2);
24556
24557 wxPyEndAllowThreads(__tstate);
24558 if (PyErr_Occurred()) SWIG_fail;
24559 }
24560 {
24561 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24562 }
24563 return resultobj;
24564 fail:
24565 return NULL;
24566 }
24567
24568
24569 static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
24570 PyObject *resultobj;
24571 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24572 int arg2 ;
24573 PyObject * obj0 = 0 ;
24574 PyObject * obj1 = 0 ;
24575 char *kwnames[] = {
24576 (char *) "self",(char *) "percent", NULL
24577 };
24578
24579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames,&obj0,&obj1)) goto fail;
24580 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24581 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24582 arg2 = (int)SWIG_As_int(obj1);
24583 if (PyErr_Occurred()) SWIG_fail;
24584 {
24585 PyThreadState* __tstate = wxPyBeginAllowThreads();
24586 (arg1)->base_SetZoom(arg2);
24587
24588 wxPyEndAllowThreads(__tstate);
24589 if (PyErr_Occurred()) SWIG_fail;
24590 }
24591 Py_INCREF(Py_None); resultobj = Py_None;
24592 return resultobj;
24593 fail:
24594 return NULL;
24595 }
24596
24597
24598 static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *, PyObject *args, PyObject *kwargs) {
24599 PyObject *resultobj;
24600 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24601 bool arg2 ;
24602 bool result;
24603 PyObject * obj0 = 0 ;
24604 PyObject * obj1 = 0 ;
24605 char *kwnames[] = {
24606 (char *) "self",(char *) "interactive", NULL
24607 };
24608
24609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_Print",kwnames,&obj0,&obj1)) goto fail;
24610 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24611 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24612 arg2 = (bool)SWIG_As_bool(obj1);
24613 if (PyErr_Occurred()) SWIG_fail;
24614 {
24615 PyThreadState* __tstate = wxPyBeginAllowThreads();
24616 result = (bool)(arg1)->base_Print(arg2);
24617
24618 wxPyEndAllowThreads(__tstate);
24619 if (PyErr_Occurred()) SWIG_fail;
24620 }
24621 {
24622 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24623 }
24624 return resultobj;
24625 fail:
24626 return NULL;
24627 }
24628
24629
24630 static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *, PyObject *args, PyObject *kwargs) {
24631 PyObject *resultobj;
24632 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24633 PyObject * obj0 = 0 ;
24634 char *kwnames[] = {
24635 (char *) "self", NULL
24636 };
24637
24638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames,&obj0)) goto fail;
24639 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24640 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24641 {
24642 PyThreadState* __tstate = wxPyBeginAllowThreads();
24643 (arg1)->base_DetermineScaling();
24644
24645 wxPyEndAllowThreads(__tstate);
24646 if (PyErr_Occurred()) SWIG_fail;
24647 }
24648 Py_INCREF(Py_None); resultobj = Py_None;
24649 return resultobj;
24650 fail:
24651 return NULL;
24652 }
24653
24654
24655 static PyObject * PyPrintPreview_swigregister(PyObject *, PyObject *args) {
24656 PyObject *obj;
24657 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24658 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj);
24659 Py_INCREF(obj);
24660 return Py_BuildValue((char *)"");
24661 }
24662 static PyObject *_wrap_new_PyPreviewFrame(PyObject *, PyObject *args, PyObject *kwargs) {
24663 PyObject *resultobj;
24664 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24665 wxFrame *arg2 = (wxFrame *) 0 ;
24666 wxString *arg3 = 0 ;
24667 wxPoint const &arg4_defvalue = wxDefaultPosition ;
24668 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
24669 wxSize const &arg5_defvalue = wxDefaultSize ;
24670 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
24671 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
24672 wxString const &arg7_defvalue = wxPyFrameNameStr ;
24673 wxString *arg7 = (wxString *) &arg7_defvalue ;
24674 wxPyPreviewFrame *result;
24675 bool temp3 = false ;
24676 wxPoint temp4 ;
24677 wxSize temp5 ;
24678 bool temp7 = false ;
24679 PyObject * obj0 = 0 ;
24680 PyObject * obj1 = 0 ;
24681 PyObject * obj2 = 0 ;
24682 PyObject * obj3 = 0 ;
24683 PyObject * obj4 = 0 ;
24684 PyObject * obj5 = 0 ;
24685 PyObject * obj6 = 0 ;
24686 char *kwnames[] = {
24687 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24688 };
24689
24690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
24691 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24692 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24693 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
24694 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24695 {
24696 arg3 = wxString_in_helper(obj2);
24697 if (arg3 == NULL) SWIG_fail;
24698 temp3 = true;
24699 }
24700 if (obj3) {
24701 {
24702 arg4 = &temp4;
24703 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
24704 }
24705 }
24706 if (obj4) {
24707 {
24708 arg5 = &temp5;
24709 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
24710 }
24711 }
24712 if (obj5) {
24713 arg6 = (long)SWIG_As_long(obj5);
24714 if (PyErr_Occurred()) SWIG_fail;
24715 }
24716 if (obj6) {
24717 {
24718 arg7 = wxString_in_helper(obj6);
24719 if (arg7 == NULL) SWIG_fail;
24720 temp7 = true;
24721 }
24722 }
24723 {
24724 if (!wxPyCheckForApp()) SWIG_fail;
24725 PyThreadState* __tstate = wxPyBeginAllowThreads();
24726 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
24727
24728 wxPyEndAllowThreads(__tstate);
24729 if (PyErr_Occurred()) SWIG_fail;
24730 }
24731 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewFrame, 1);
24732 {
24733 if (temp3)
24734 delete arg3;
24735 }
24736 {
24737 if (temp7)
24738 delete arg7;
24739 }
24740 return resultobj;
24741 fail:
24742 {
24743 if (temp3)
24744 delete arg3;
24745 }
24746 {
24747 if (temp7)
24748 delete arg7;
24749 }
24750 return NULL;
24751 }
24752
24753
24754 static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
24755 PyObject *resultobj;
24756 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24757 PyObject *arg2 = (PyObject *) 0 ;
24758 PyObject *arg3 = (PyObject *) 0 ;
24759 PyObject * obj0 = 0 ;
24760 PyObject * obj1 = 0 ;
24761 PyObject * obj2 = 0 ;
24762 char *kwnames[] = {
24763 (char *) "self",(char *) "self",(char *) "_class", NULL
24764 };
24765
24766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24767 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24768 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24769 arg2 = obj1;
24770 arg3 = obj2;
24771 {
24772 PyThreadState* __tstate = wxPyBeginAllowThreads();
24773 (arg1)->_setCallbackInfo(arg2,arg3);
24774
24775 wxPyEndAllowThreads(__tstate);
24776 if (PyErr_Occurred()) SWIG_fail;
24777 }
24778 Py_INCREF(Py_None); resultobj = Py_None;
24779 return resultobj;
24780 fail:
24781 return NULL;
24782 }
24783
24784
24785 static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
24786 PyObject *resultobj;
24787 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24788 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
24789 PyObject * obj0 = 0 ;
24790 PyObject * obj1 = 0 ;
24791 char *kwnames[] = {
24792 (char *) "self",(char *) "canvas", NULL
24793 };
24794
24795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail;
24796 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24798 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
24799 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24800 {
24801 PyThreadState* __tstate = wxPyBeginAllowThreads();
24802 (arg1)->SetPreviewCanvas(arg2);
24803
24804 wxPyEndAllowThreads(__tstate);
24805 if (PyErr_Occurred()) SWIG_fail;
24806 }
24807 Py_INCREF(Py_None); resultobj = Py_None;
24808 return resultobj;
24809 fail:
24810 return NULL;
24811 }
24812
24813
24814 static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
24815 PyObject *resultobj;
24816 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24817 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
24818 PyObject * obj0 = 0 ;
24819 PyObject * obj1 = 0 ;
24820 char *kwnames[] = {
24821 (char *) "self",(char *) "bar", NULL
24822 };
24823
24824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail;
24825 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24826 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24827 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewControlBar,
24828 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24829 {
24830 PyThreadState* __tstate = wxPyBeginAllowThreads();
24831 (arg1)->SetControlBar(arg2);
24832
24833 wxPyEndAllowThreads(__tstate);
24834 if (PyErr_Occurred()) SWIG_fail;
24835 }
24836 Py_INCREF(Py_None); resultobj = Py_None;
24837 return resultobj;
24838 fail:
24839 return NULL;
24840 }
24841
24842
24843 static PyObject *_wrap_PyPreviewFrame_base_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
24844 PyObject *resultobj;
24845 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24846 PyObject * obj0 = 0 ;
24847 char *kwnames[] = {
24848 (char *) "self", NULL
24849 };
24850
24851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_Initialize",kwnames,&obj0)) goto fail;
24852 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24853 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24854 {
24855 PyThreadState* __tstate = wxPyBeginAllowThreads();
24856 (arg1)->base_Initialize();
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_base_CreateCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
24869 PyObject *resultobj;
24870 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24871 PyObject * obj0 = 0 ;
24872 char *kwnames[] = {
24873 (char *) "self", NULL
24874 };
24875
24876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames,&obj0)) goto fail;
24877 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24878 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24879 {
24880 PyThreadState* __tstate = wxPyBeginAllowThreads();
24881 (arg1)->base_CreateCanvas();
24882
24883 wxPyEndAllowThreads(__tstate);
24884 if (PyErr_Occurred()) SWIG_fail;
24885 }
24886 Py_INCREF(Py_None); resultobj = Py_None;
24887 return resultobj;
24888 fail:
24889 return NULL;
24890 }
24891
24892
24893 static PyObject *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
24894 PyObject *resultobj;
24895 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24896 PyObject * obj0 = 0 ;
24897 char *kwnames[] = {
24898 (char *) "self", NULL
24899 };
24900
24901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames,&obj0)) goto fail;
24902 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24903 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24904 {
24905 PyThreadState* __tstate = wxPyBeginAllowThreads();
24906 (arg1)->base_CreateControlBar();
24907
24908 wxPyEndAllowThreads(__tstate);
24909 if (PyErr_Occurred()) SWIG_fail;
24910 }
24911 Py_INCREF(Py_None); resultobj = Py_None;
24912 return resultobj;
24913 fail:
24914 return NULL;
24915 }
24916
24917
24918 static PyObject * PyPreviewFrame_swigregister(PyObject *, PyObject *args) {
24919 PyObject *obj;
24920 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24921 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj);
24922 Py_INCREF(obj);
24923 return Py_BuildValue((char *)"");
24924 }
24925 static PyObject *_wrap_new_PyPreviewControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
24926 PyObject *resultobj;
24927 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24928 long arg2 ;
24929 wxWindow *arg3 = (wxWindow *) 0 ;
24930 wxPoint const &arg4_defvalue = wxDefaultPosition ;
24931 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
24932 wxSize const &arg5_defvalue = wxDefaultSize ;
24933 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
24934 long arg6 = (long) 0 ;
24935 wxString const &arg7_defvalue = wxPyPanelNameStr ;
24936 wxString *arg7 = (wxString *) &arg7_defvalue ;
24937 wxPyPreviewControlBar *result;
24938 wxPoint temp4 ;
24939 wxSize temp5 ;
24940 bool temp7 = false ;
24941 PyObject * obj0 = 0 ;
24942 PyObject * obj1 = 0 ;
24943 PyObject * obj2 = 0 ;
24944 PyObject * obj3 = 0 ;
24945 PyObject * obj4 = 0 ;
24946 PyObject * obj5 = 0 ;
24947 PyObject * obj6 = 0 ;
24948 char *kwnames[] = {
24949 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24950 };
24951
24952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
24953 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24954 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24955 arg2 = (long)SWIG_As_long(obj1);
24956 if (PyErr_Occurred()) SWIG_fail;
24957 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
24958 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24959 if (obj3) {
24960 {
24961 arg4 = &temp4;
24962 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
24963 }
24964 }
24965 if (obj4) {
24966 {
24967 arg5 = &temp5;
24968 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
24969 }
24970 }
24971 if (obj5) {
24972 arg6 = (long)SWIG_As_long(obj5);
24973 if (PyErr_Occurred()) SWIG_fail;
24974 }
24975 if (obj6) {
24976 {
24977 arg7 = wxString_in_helper(obj6);
24978 if (arg7 == NULL) SWIG_fail;
24979 temp7 = true;
24980 }
24981 }
24982 {
24983 if (!wxPyCheckForApp()) SWIG_fail;
24984 PyThreadState* __tstate = wxPyBeginAllowThreads();
24985 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
24986
24987 wxPyEndAllowThreads(__tstate);
24988 if (PyErr_Occurred()) SWIG_fail;
24989 }
24990 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewControlBar, 1);
24991 {
24992 if (temp7)
24993 delete arg7;
24994 }
24995 return resultobj;
24996 fail:
24997 {
24998 if (temp7)
24999 delete arg7;
25000 }
25001 return NULL;
25002 }
25003
25004
25005 static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
25006 PyObject *resultobj;
25007 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
25008 PyObject *arg2 = (PyObject *) 0 ;
25009 PyObject *arg3 = (PyObject *) 0 ;
25010 PyObject * obj0 = 0 ;
25011 PyObject * obj1 = 0 ;
25012 PyObject * obj2 = 0 ;
25013 char *kwnames[] = {
25014 (char *) "self",(char *) "self",(char *) "_class", NULL
25015 };
25016
25017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
25018 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
25019 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25020 arg2 = obj1;
25021 arg3 = obj2;
25022 {
25023 PyThreadState* __tstate = wxPyBeginAllowThreads();
25024 (arg1)->_setCallbackInfo(arg2,arg3);
25025
25026 wxPyEndAllowThreads(__tstate);
25027 if (PyErr_Occurred()) SWIG_fail;
25028 }
25029 Py_INCREF(Py_None); resultobj = Py_None;
25030 return resultobj;
25031 fail:
25032 return NULL;
25033 }
25034
25035
25036 static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *, PyObject *args, PyObject *kwargs) {
25037 PyObject *resultobj;
25038 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
25039 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
25040 PyObject * obj0 = 0 ;
25041 PyObject * obj1 = 0 ;
25042 char *kwnames[] = {
25043 (char *) "self",(char *) "preview", NULL
25044 };
25045
25046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail;
25047 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
25048 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25049 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintPreview,
25050 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25051 {
25052 PyThreadState* __tstate = wxPyBeginAllowThreads();
25053 (arg1)->SetPrintPreview(arg2);
25054
25055 wxPyEndAllowThreads(__tstate);
25056 if (PyErr_Occurred()) SWIG_fail;
25057 }
25058 Py_INCREF(Py_None); resultobj = Py_None;
25059 return resultobj;
25060 fail:
25061 return NULL;
25062 }
25063
25064
25065 static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *, PyObject *args, PyObject *kwargs) {
25066 PyObject *resultobj;
25067 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
25068 PyObject * obj0 = 0 ;
25069 char *kwnames[] = {
25070 (char *) "self", NULL
25071 };
25072
25073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames,&obj0)) goto fail;
25074 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
25075 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25076 {
25077 PyThreadState* __tstate = wxPyBeginAllowThreads();
25078 (arg1)->base_CreateButtons();
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_base_SetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
25091 PyObject *resultobj;
25092 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
25093 int arg2 ;
25094 PyObject * obj0 = 0 ;
25095 PyObject * obj1 = 0 ;
25096 char *kwnames[] = {
25097 (char *) "self",(char *) "zoom", NULL
25098 };
25099
25100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
25101 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
25102 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25103 arg2 = (int)SWIG_As_int(obj1);
25104 if (PyErr_Occurred()) SWIG_fail;
25105 {
25106 PyThreadState* __tstate = wxPyBeginAllowThreads();
25107 (arg1)->base_SetZoomControl(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 * PyPreviewControlBar_swigregister(PyObject *, PyObject *args) {
25120 PyObject *obj;
25121 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25122 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj);
25123 Py_INCREF(obj);
25124 return Py_BuildValue((char *)"");
25125 }
25126 static PyMethodDef SwigMethods[] = {
25127 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS, NULL },
25128 { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS, NULL },
25129 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25130 { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25131 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25132 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS, NULL },
25133 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25134 { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25135 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25136 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS, NULL },
25137 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS, NULL },
25138 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL },
25139 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL },
25140 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS, NULL },
25141 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS, NULL },
25142 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS, NULL },
25143 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS, NULL },
25144 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS, NULL },
25145 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS, NULL },
25146 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS, NULL },
25147 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS, NULL },
25148 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS, NULL },
25149 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL },
25150 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS, NULL },
25151 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25152 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25153 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS, NULL },
25154 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction) _wrap_ScrolledWindow_GetTargetRect, METH_VARARGS | METH_KEYWORDS, NULL },
25155 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction) _wrap_ScrolledWindow_DoPrepareDC, METH_VARARGS | METH_KEYWORDS, NULL },
25156 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25157 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS, NULL },
25158 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS, NULL },
25159 { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS, NULL },
25160 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS, NULL },
25161 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS, NULL },
25162 { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS, NULL },
25163 { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS, NULL },
25164 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL },
25165 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS, NULL },
25166 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS, NULL },
25167 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS, NULL },
25168 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL },
25169 { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL },
25170 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS, NULL },
25171 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction) _wrap_TopLevelWindow_RequestUserAttention, METH_VARARGS | METH_KEYWORDS, NULL },
25172 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacSetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL },
25173 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacGetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL },
25174 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS, NULL },
25175 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS, NULL },
25176 { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25177 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25178 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS, NULL },
25179 { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS, NULL },
25180 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL },
25181 { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL },
25182 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS, NULL },
25183 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS, NULL },
25184 { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL },
25185 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL },
25186 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
25187 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL },
25188 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
25189 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
25190 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL },
25191 { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL },
25192 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
25193 { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
25194 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
25195 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS, NULL },
25196 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS, NULL },
25197 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25198 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS, NULL },
25199 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS, NULL },
25200 { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25201 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25202 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL },
25203 { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL },
25204 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS, NULL },
25205 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL },
25206 { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS, NULL },
25207 { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL },
25208 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS, NULL },
25209 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25210 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS, NULL },
25211 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25212 { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25213 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25214 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS, NULL },
25215 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25216 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
25217 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
25218 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS, NULL },
25219 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS, NULL },
25220 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS, NULL },
25221 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25222 { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS, NULL },
25223 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS, NULL },
25224 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS, NULL },
25225 { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS, NULL },
25226 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25227 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL },
25228 { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL },
25229 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
25230 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
25231 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
25232 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
25233 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL },
25234 { (char *)"StatusBar_SetStatusStyles", (PyCFunction) _wrap_StatusBar_SetStatusStyles, METH_VARARGS | METH_KEYWORDS, NULL },
25235 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS, NULL },
25236 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL },
25237 { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS, NULL },
25238 { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS, NULL },
25239 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25240 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS, NULL },
25241 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25242 { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25243 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25244 { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS, NULL },
25245 { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS, NULL },
25246 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL },
25247 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL },
25248 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS, NULL },
25249 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS, NULL },
25250 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS, NULL },
25251 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS, NULL },
25252 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25253 { (char *)"SplitterWindow_UpdateSize", (PyCFunction) _wrap_SplitterWindow_UpdateSize, METH_VARARGS | METH_KEYWORDS, NULL },
25254 { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS, NULL },
25255 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS, NULL },
25256 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
25257 { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS, NULL },
25258 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
25259 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL },
25260 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL },
25261 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL },
25262 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL },
25263 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL },
25264 { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS, NULL },
25265 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL },
25266 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL },
25267 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25268 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS, NULL },
25269 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS, NULL },
25270 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL },
25271 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL },
25272 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS, NULL },
25273 { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS, NULL },
25274 { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS, NULL },
25275 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS, NULL },
25276 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25277 { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25278 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25279 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL },
25280 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL },
25281 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS, NULL },
25282 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS, NULL },
25283 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS, NULL },
25284 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
25285 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
25286 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
25287 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
25288 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL },
25289 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL },
25290 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL },
25291 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL },
25292 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL },
25293 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL },
25294 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL },
25295 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL },
25296 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL },
25297 { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS, NULL },
25298 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS, NULL },
25299 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS, NULL },
25300 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL },
25301 { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS, NULL },
25302 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS, NULL },
25303 { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS, NULL },
25304 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL },
25305 { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL },
25306 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS, NULL },
25307 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS, NULL },
25308 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL },
25309 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL },
25310 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25311 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25312 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25313 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25314 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25315 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25316 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
25317 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
25318 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS, NULL },
25319 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS, NULL },
25320 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25321 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25322 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL },
25323 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS, NULL },
25324 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS, NULL },
25325 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25326 { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25327 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25328 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
25329 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25330 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
25331 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL },
25332 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25333 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS, NULL },
25334 { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS, NULL },
25335 { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS, NULL },
25336 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25337 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25338 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25339 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS, NULL },
25340 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25341 { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25342 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS, NULL },
25343 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25344 { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25345 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS, NULL },
25346 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25347 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL },
25348 { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS, NULL },
25349 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS, NULL },
25350 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25351 { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25352 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25353 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25354 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS, NULL },
25355 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL },
25356 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS, NULL },
25357 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS, NULL },
25358 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS, NULL },
25359 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS, NULL },
25360 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction) _wrap_VScrolledWindow_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL },
25361 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL },
25362 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS, NULL },
25363 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS, NULL },
25364 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL },
25365 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL },
25366 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL },
25367 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL },
25368 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL },
25369 { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS, NULL },
25370 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25371 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25372 { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS, NULL },
25373 { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25374 { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25375 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS, NULL },
25376 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL },
25377 { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS, NULL },
25378 { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS, NULL },
25379 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL },
25380 { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS, NULL },
25381 { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL },
25382 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL },
25383 { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS, NULL },
25384 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25385 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL },
25386 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS, NULL },
25387 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS, NULL },
25388 { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL },
25389 { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS, NULL },
25390 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL },
25391 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL },
25392 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL },
25393 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS, NULL },
25394 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL },
25395 { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL },
25396 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25397 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25398 { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS, NULL },
25399 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL },
25400 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction) _wrap_HtmlListBox_GetFileSystem, METH_VARARGS | METH_KEYWORDS, NULL },
25401 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS, NULL },
25402 { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS, NULL },
25403 { (char *)"delete_TaskBarIcon", (PyCFunction) _wrap_delete_TaskBarIcon, METH_VARARGS | METH_KEYWORDS, NULL },
25404 { (char *)"TaskBarIcon_Destroy", (PyCFunction) _wrap_TaskBarIcon_Destroy, METH_VARARGS | METH_KEYWORDS, NULL },
25405 { (char *)"TaskBarIcon_IsOk", (PyCFunction) _wrap_TaskBarIcon_IsOk, METH_VARARGS | METH_KEYWORDS, NULL },
25406 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction) _wrap_TaskBarIcon_IsIconInstalled, METH_VARARGS | METH_KEYWORDS, NULL },
25407 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL },
25408 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction) _wrap_TaskBarIcon_RemoveIcon, METH_VARARGS | METH_KEYWORDS, NULL },
25409 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL },
25410 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS, NULL },
25411 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS, NULL },
25412 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS, NULL },
25413 { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS, NULL },
25414 { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS, NULL },
25415 { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL },
25416 { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL },
25417 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL },
25418 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL },
25419 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL },
25420 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL },
25421 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS, NULL },
25422 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25423 { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS, NULL },
25424 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS, NULL },
25425 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25426 { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS, NULL },
25427 { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL },
25428 { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
25429 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL },
25430 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL },
25431 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS, NULL },
25432 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25433 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL },
25434 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL },
25435 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS, NULL },
25436 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL },
25437 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS, NULL },
25438 { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
25439 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL },
25440 { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL },
25441 { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS, NULL },
25442 { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS, NULL },
25443 { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS, NULL },
25444 { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS, NULL },
25445 { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
25446 { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL },
25447 { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS, NULL },
25448 { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS, NULL },
25449 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS, NULL },
25450 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25451 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS, NULL },
25452 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL },
25453 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS, NULL },
25454 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25455 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25456 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25457 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25458 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS, NULL },
25459 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25460 { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
25461 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS, NULL },
25462 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS, NULL },
25463 { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS, NULL },
25464 { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS, NULL },
25465 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS, NULL },
25466 { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL },
25467 { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL },
25468 { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL },
25469 { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS, NULL },
25470 { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL },
25471 { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL },
25472 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL },
25473 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL },
25474 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL },
25475 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL },
25476 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS, NULL },
25477 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL },
25478 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS, NULL },
25479 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25480 { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS, NULL },
25481 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS, NULL },
25482 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25483 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS, NULL },
25484 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25485 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL },
25486 { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS, NULL },
25487 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL },
25488 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL },
25489 { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25490 { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS, NULL },
25491 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL },
25492 { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25493 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25494 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL },
25495 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL },
25496 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS, NULL },
25497 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL },
25498 { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL },
25499 { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS, NULL },
25500 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL },
25501 { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25502 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25503 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL },
25504 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL },
25505 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS, NULL },
25506 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25507 { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25508 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25509 { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS, NULL },
25510 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS, NULL },
25511 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS, NULL },
25512 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25513 { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25514 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25515 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS, NULL },
25516 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS, NULL },
25517 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS, NULL },
25518 { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS, NULL },
25519 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS, NULL },
25520 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25521 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
25522 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS, NULL },
25523 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS, NULL },
25524 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25525 { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25526 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25527 { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS, NULL },
25528 { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS, NULL },
25529 { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS, NULL },
25530 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS, NULL },
25531 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25532 { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25533 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25534 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS, NULL },
25535 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25536 { (char *)"new_PrePyWindow", (PyCFunction) _wrap_new_PrePyWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25537 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25538 { (char *)"PyWindow_SetBestSize", (PyCFunction) _wrap_PyWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
25539 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25540 { (char *)"PyWindow_base_DoSetSize", (PyCFunction) _wrap_PyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25541 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
25542 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
25543 { (char *)"PyWindow_base_DoGetSize", (PyCFunction) _wrap_PyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25544 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
25545 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction) _wrap_PyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
25546 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
25547 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
25548 { (char *)"PyWindow_base_InitDialog", (PyCFunction) _wrap_PyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25549 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25550 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25551 { (char *)"PyWindow_base_Validate", (PyCFunction) _wrap_PyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL },
25552 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL },
25553 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL },
25554 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction) _wrap_PyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL },
25555 { (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL },
25556 { (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL },
25557 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL },
25558 { (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL },
25559 { (char *)"PyWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25560 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL },
25561 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL },
25562 { (char *)"new_PrePyPanel", (PyCFunction) _wrap_new_PrePyPanel, METH_VARARGS | METH_KEYWORDS, NULL },
25563 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25564 { (char *)"PyPanel_SetBestSize", (PyCFunction) _wrap_PyPanel_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
25565 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction) _wrap_PyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25566 { (char *)"PyPanel_base_DoSetSize", (PyCFunction) _wrap_PyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25567 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction) _wrap_PyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
25568 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
25569 { (char *)"PyPanel_base_DoGetSize", (PyCFunction) _wrap_PyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25570 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction) _wrap_PyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
25571 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction) _wrap_PyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
25572 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
25573 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction) _wrap_PyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
25574 { (char *)"PyPanel_base_InitDialog", (PyCFunction) _wrap_PyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25575 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25576 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25577 { (char *)"PyPanel_base_Validate", (PyCFunction) _wrap_PyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL },
25578 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction) _wrap_PyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL },
25579 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL },
25580 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction) _wrap_PyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL },
25581 { (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL },
25582 { (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL },
25583 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction) _wrap_PyPanel_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL },
25584 { (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyPanel_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL },
25585 { (char *)"PyPanel_base_GetDefaultAttributes", (PyCFunction) _wrap_PyPanel_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25586 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL },
25587 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25588 { (char *)"new_PrePyScrolledWindow", (PyCFunction) _wrap_new_PrePyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25589 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25590 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction) _wrap_PyScrolledWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
25591 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25592 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25593 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
25594 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
25595 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25596 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
25597 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
25598 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
25599 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
25600 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction) _wrap_PyScrolledWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25601 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25602 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25603 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction) _wrap_PyScrolledWindow_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL },
25604 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL },
25605 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL },
25606 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction) _wrap_PyScrolledWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL },
25607 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction) _wrap_PyScrolledWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL },
25608 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction) _wrap_PyScrolledWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL },
25609 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyScrolledWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL },
25610 { (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL },
25611 { (char *)"PyScrolledWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyScrolledWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25612 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS, NULL },
25613 { (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS, NULL },
25614 { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS, NULL },
25615 { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL },
25616 { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS, NULL },
25617 { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25618 { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
25619 { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL },
25620 { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL },
25621 { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS, NULL },
25622 { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS, NULL },
25623 { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL },
25624 { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS, NULL },
25625 { (char *)"PrintData_GetBin", (PyCFunction) _wrap_PrintData_GetBin, METH_VARARGS | METH_KEYWORDS, NULL },
25626 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL },
25627 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL },
25628 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25629 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL },
25630 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL },
25631 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS, NULL },
25632 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL },
25633 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL },
25634 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS, NULL },
25635 { (char *)"PrintData_SetBin", (PyCFunction) _wrap_PrintData_SetBin, METH_VARARGS | METH_KEYWORDS, NULL },
25636 { (char *)"PrintData_GetPrinterCommand", (PyCFunction) _wrap_PrintData_GetPrinterCommand, METH_VARARGS | METH_KEYWORDS, NULL },
25637 { (char *)"PrintData_GetPrinterOptions", (PyCFunction) _wrap_PrintData_GetPrinterOptions, METH_VARARGS | METH_KEYWORDS, NULL },
25638 { (char *)"PrintData_GetPreviewCommand", (PyCFunction) _wrap_PrintData_GetPreviewCommand, METH_VARARGS | METH_KEYWORDS, NULL },
25639 { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS, NULL },
25640 { (char *)"PrintData_GetFontMetricPath", (PyCFunction) _wrap_PrintData_GetFontMetricPath, METH_VARARGS | METH_KEYWORDS, NULL },
25641 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction) _wrap_PrintData_GetPrinterScaleX, METH_VARARGS | METH_KEYWORDS, NULL },
25642 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction) _wrap_PrintData_GetPrinterScaleY, METH_VARARGS | METH_KEYWORDS, NULL },
25643 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction) _wrap_PrintData_GetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS, NULL },
25644 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction) _wrap_PrintData_GetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS, NULL },
25645 { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL },
25646 { (char *)"PrintData_SetPrinterCommand", (PyCFunction) _wrap_PrintData_SetPrinterCommand, METH_VARARGS | METH_KEYWORDS, NULL },
25647 { (char *)"PrintData_SetPrinterOptions", (PyCFunction) _wrap_PrintData_SetPrinterOptions, METH_VARARGS | METH_KEYWORDS, NULL },
25648 { (char *)"PrintData_SetPreviewCommand", (PyCFunction) _wrap_PrintData_SetPreviewCommand, METH_VARARGS | METH_KEYWORDS, NULL },
25649 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL },
25650 { (char *)"PrintData_SetFontMetricPath", (PyCFunction) _wrap_PrintData_SetFontMetricPath, METH_VARARGS | METH_KEYWORDS, NULL },
25651 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction) _wrap_PrintData_SetPrinterScaleX, METH_VARARGS | METH_KEYWORDS, NULL },
25652 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction) _wrap_PrintData_SetPrinterScaleY, METH_VARARGS | METH_KEYWORDS, NULL },
25653 { (char *)"PrintData_SetPrinterScaling", (PyCFunction) _wrap_PrintData_SetPrinterScaling, METH_VARARGS | METH_KEYWORDS, NULL },
25654 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction) _wrap_PrintData_SetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS, NULL },
25655 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction) _wrap_PrintData_SetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS, NULL },
25656 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction) _wrap_PrintData_SetPrinterTranslation, METH_VARARGS | METH_KEYWORDS, NULL },
25657 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL },
25658 { (char *)"PrintData_GetOutputStream", (PyCFunction) _wrap_PrintData_GetOutputStream, METH_VARARGS | METH_KEYWORDS, NULL },
25659 { (char *)"PrintData_SetOutputStream", (PyCFunction) _wrap_PrintData_SetOutputStream, METH_VARARGS | METH_KEYWORDS, NULL },
25660 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS, NULL },
25661 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData, METH_VARARGS, NULL },
25662 { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS, NULL },
25663 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL },
25664 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS, NULL },
25665 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25666 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS, NULL },
25667 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL },
25668 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL },
25669 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS, NULL },
25670 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25671 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS, NULL },
25672 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL },
25673 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS, NULL },
25674 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25675 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL },
25676 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL },
25677 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL },
25678 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL },
25679 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS, NULL },
25680 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL },
25681 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL },
25682 { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
25683 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25684 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL },
25685 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL },
25686 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL },
25687 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL },
25688 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL },
25689 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL },
25690 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL },
25691 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL },
25692 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS, NULL },
25693 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25694 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS, NULL },
25695 { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL },
25696 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS, NULL },
25697 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS, NULL },
25698 { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL },
25699 { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS, NULL },
25700 { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS, NULL },
25701 { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS, NULL },
25702 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL },
25703 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL },
25704 { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS, NULL },
25705 { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25706 { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS, NULL },
25707 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL },
25708 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction) _wrap_PrintDialogData_GetSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25709 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS, NULL },
25710 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS, NULL },
25711 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS, NULL },
25712 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL },
25713 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL },
25714 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS, NULL },
25715 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25716 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL },
25717 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL },
25718 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction) _wrap_PrintDialogData_SetSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25719 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL },
25720 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25721 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL },
25722 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL },
25723 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL },
25724 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25725 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL },
25726 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS, NULL },
25727 { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
25728 { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL },
25729 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL },
25730 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS, NULL },
25731 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25732 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL },
25733 { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS, NULL },
25734 { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL },
25735 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS, NULL },
25736 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS, NULL },
25737 { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS, NULL },
25738 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25739 { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL },
25740 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS, NULL },
25741 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25742 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS, NULL },
25743 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS, NULL },
25744 { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS, NULL },
25745 { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS, NULL },
25746 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS, NULL },
25747 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS, NULL },
25748 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25749 { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL },
25750 { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS, NULL },
25751 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS, NULL },
25752 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL },
25753 { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL },
25754 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL },
25755 { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL },
25756 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL },
25757 { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL },
25758 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL },
25759 { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL },
25760 { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS, NULL },
25761 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS, NULL },
25762 { (char *)"Printout_base_OnBeginDocument", (PyCFunction) _wrap_Printout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS, NULL },
25763 { (char *)"Printout_base_OnEndDocument", (PyCFunction) _wrap_Printout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS, NULL },
25764 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS, NULL },
25765 { (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS, NULL },
25766 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS, NULL },
25767 { (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS, NULL },
25768 { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25769 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS, NULL },
25770 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
25771 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS, NULL },
25772 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25773 { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS, NULL },
25774 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
25775 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
25776 { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
25777 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS, NULL },
25778 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
25779 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL },
25780 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL },
25781 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL },
25782 { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS, NULL },
25783 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS, NULL },
25784 { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS, NULL },
25785 { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS, NULL },
25786 { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS, NULL },
25787 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS, NULL },
25788 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS, NULL },
25789 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL },
25790 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL },
25791 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS, NULL },
25792 { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS, NULL },
25793 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS, NULL },
25794 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25795 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
25796 { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25797 { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
25798 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL },
25799 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL },
25800 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL },
25801 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL },
25802 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL },
25803 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL },
25804 { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS, NULL },
25805 { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL },
25806 { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS, NULL },
25807 { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
25808 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS, NULL },
25809 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL },
25810 { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS, NULL },
25811 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS, NULL },
25812 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS, NULL },
25813 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25814 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL },
25815 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction) _wrap_PyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL },
25816 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL },
25817 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction) _wrap_PyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL },
25818 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction) _wrap_PyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL },
25819 { (char *)"PyPrintPreview_base_Print", (PyCFunction) _wrap_PyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS, NULL },
25820 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS, NULL },
25821 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS, NULL },
25822 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25823 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25824 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
25825 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
25826 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction) _wrap_PyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS, NULL },
25827 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
25828 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
25829 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS, NULL },
25830 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
25831 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25832 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL },
25833 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS, NULL },
25834 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL },
25835 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS, NULL },
25836 { NULL, NULL, 0, NULL }
25837 };
25838
25839
25840 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
25841
25842 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
25843 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25844 }
25845 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
25846 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
25847 }
25848 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
25849 return (void *)((wxEvent *) ((wxMenuEvent *) x));
25850 }
25851 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
25852 return (void *)((wxEvent *) ((wxCloseEvent *) x));
25853 }
25854 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
25855 return (void *)((wxEvent *) ((wxMouseEvent *) x));
25856 }
25857 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
25858 return (void *)((wxEvent *) ((wxEraseEvent *) x));
25859 }
25860 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
25861 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
25862 }
25863 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
25864 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
25865 }
25866 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
25867 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
25868 }
25869 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
25870 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
25871 }
25872 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
25873 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
25874 }
25875 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
25876 return (void *)((wxEvent *) ((wxPyEvent *) x));
25877 }
25878 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
25879 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
25880 }
25881 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
25882 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
25883 }
25884 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
25885 return (void *)((wxEvent *) ((wxIdleEvent *) x));
25886 }
25887 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
25888 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
25889 }
25890 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
25891 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
25892 }
25893 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
25894 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
25895 }
25896 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
25897 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
25898 }
25899 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
25900 return (void *)((wxEvent *) ((wxActivateEvent *) x));
25901 }
25902 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
25903 return (void *)((wxEvent *) ((wxSizeEvent *) x));
25904 }
25905 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
25906 return (void *)((wxEvent *) ((wxMoveEvent *) x));
25907 }
25908 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
25909 return (void *)((wxEvent *) ((wxPaintEvent *) x));
25910 }
25911 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
25912 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
25913 }
25914 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
25915 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
25916 }
25917 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
25918 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
25919 }
25920 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
25921 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
25922 }
25923 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
25924 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
25925 }
25926 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
25927 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
25928 }
25929 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
25930 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
25931 }
25932 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
25933 return (void *)((wxEvent *) ((wxFocusEvent *) x));
25934 }
25935 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
25936 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
25937 }
25938 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
25939 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
25940 }
25941 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
25942 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
25943 }
25944 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
25945 return (void *)((wxEvent *) ((wxShowEvent *) x));
25946 }
25947 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
25948 return (void *)((wxEvent *) ((wxCommandEvent *) x));
25949 }
25950 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
25951 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
25952 }
25953 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
25954 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
25955 }
25956 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
25957 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
25958 }
25959 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
25960 return (void *)((wxEvent *) ((wxKeyEvent *) x));
25961 }
25962 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
25963 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
25964 }
25965 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
25966 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
25967 }
25968 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
25969 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
25970 }
25971 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
25972 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
25973 }
25974 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
25975 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
25976 }
25977 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
25978 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
25979 }
25980 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
25981 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
25982 }
25983 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
25984 return (void *)((wxEvtHandler *) ((wxValidator *) x));
25985 }
25986 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
25987 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
25988 }
25989 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
25990 return (void *)((wxEvtHandler *) ((wxMenu *) x));
25991 }
25992 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
25993 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
25994 }
25995 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
25996 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
25997 }
25998 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
25999 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
26000 }
26001 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
26002 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
26003 }
26004 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
26005 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
26006 }
26007 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
26008 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
26009 }
26010 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
26011 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
26012 }
26013 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
26014 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
26015 }
26016 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
26017 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
26018 }
26019 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
26020 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
26021 }
26022 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
26023 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
26024 }
26025 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
26026 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
26027 }
26028 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
26029 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
26030 }
26031 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
26032 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
26033 }
26034 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
26035 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
26036 }
26037 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
26038 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
26039 }
26040 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
26041 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
26042 }
26043 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
26044 return (void *)((wxEvtHandler *) ((wxWindow *) x));
26045 }
26046 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
26047 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
26048 }
26049 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
26050 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
26051 }
26052 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
26053 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
26054 }
26055 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
26056 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
26057 }
26058 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
26059 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
26060 }
26061 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
26062 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
26063 }
26064 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
26065 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
26066 }
26067 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
26068 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
26069 }
26070 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
26071 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
26072 }
26073 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
26074 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
26075 }
26076 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
26077 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
26078 }
26079 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
26080 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
26081 }
26082 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
26083 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
26084 }
26085 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
26086 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26087 }
26088 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
26089 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
26090 }
26091 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
26092 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26093 }
26094 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) {
26095 return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x));
26096 }
26097 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
26098 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
26099 }
26100 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
26101 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
26102 }
26103 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
26104 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
26105 }
26106 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
26107 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
26108 }
26109 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
26110 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
26111 }
26112 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) {
26113 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
26114 }
26115 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) {
26116 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
26117 }
26118 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
26119 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
26120 }
26121 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
26122 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
26123 }
26124 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
26125 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
26126 }
26127 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
26128 return (void *)((wxFrame *) ((wxProgressDialog *) x));
26129 }
26130 static void *_p_wxTipWindowTo_p_wxFrame(void *x) {
26131 return (void *)((wxFrame *) ((wxTipWindow *) x));
26132 }
26133 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
26134 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
26135 }
26136 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
26137 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
26138 }
26139 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
26140 return (void *)((wxFrame *) ((wxMiniFrame *) x));
26141 }
26142 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
26143 return (void *)((wxFrame *) ((wxSplashScreen *) x));
26144 }
26145 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
26146 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
26147 }
26148 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
26149 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
26150 }
26151 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
26152 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
26153 }
26154 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
26155 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
26156 }
26157 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
26158 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
26159 }
26160 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
26161 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
26162 }
26163 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
26164 return (void *)((wxObject *) ((wxSizerItem *) x));
26165 }
26166 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
26167 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
26168 }
26169 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
26170 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
26171 }
26172 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
26173 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
26174 }
26175 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
26176 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
26177 }
26178 static void *_p_wxSizerTo_p_wxObject(void *x) {
26179 return (void *)((wxObject *) ((wxSizer *) x));
26180 }
26181 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
26182 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
26183 }
26184 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
26185 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
26186 }
26187 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
26188 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
26189 }
26190 static void *_p_wxEventTo_p_wxObject(void *x) {
26191 return (void *)((wxObject *) ((wxEvent *) x));
26192 }
26193 static void *_p_wxFontDataTo_p_wxObject(void *x) {
26194 return (void *)((wxObject *) ((wxFontData *) x));
26195 }
26196 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
26197 return (void *)((wxObject *) ((wxPrintData *) x));
26198 }
26199 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
26200 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
26201 }
26202 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
26203 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
26204 }
26205 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
26206 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
26207 }
26208 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
26209 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
26210 }
26211 static void *_p_wxTaskBarIconTo_p_wxObject(void *x) {
26212 return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x));
26213 }
26214 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
26215 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
26216 }
26217 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
26218 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
26219 }
26220 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
26221 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
26222 }
26223 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
26224 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
26225 }
26226 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
26227 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
26228 }
26229 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
26230 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
26231 }
26232 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
26233 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
26234 }
26235 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
26236 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
26237 }
26238 static void *_p_wxControlTo_p_wxObject(void *x) {
26239 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
26240 }
26241 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
26242 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
26243 }
26244 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
26245 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
26246 }
26247 static void *_p_wxFSFileTo_p_wxObject(void *x) {
26248 return (void *)((wxObject *) ((wxFSFile *) x));
26249 }
26250 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
26251 return (void *)((wxObject *) ((wxFindReplaceData *) x));
26252 }
26253 static void *_p_wxPySizerTo_p_wxObject(void *x) {
26254 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
26255 }
26256 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
26257 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
26258 }
26259 static void *_p_wxColourDataTo_p_wxObject(void *x) {
26260 return (void *)((wxObject *) ((wxColourData *) x));
26261 }
26262 static void *_p_wxPyEventTo_p_wxObject(void *x) {
26263 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
26264 }
26265 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
26266 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
26267 }
26268 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
26269 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
26270 }
26271 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
26272 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
26273 }
26274 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
26275 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
26276 }
26277 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
26278 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
26279 }
26280 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
26281 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
26282 }
26283 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
26284 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
26285 }
26286 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
26287 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
26288 }
26289 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
26290 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
26291 }
26292 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
26293 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
26294 }
26295 static void *_p_wxShowEventTo_p_wxObject(void *x) {
26296 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
26297 }
26298 static void *_p_wxPrinterTo_p_wxObject(void *x) {
26299 return (void *)((wxObject *) ((wxPrinter *) x));
26300 }
26301 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
26302 return (void *)((wxObject *) ((wxMenuItem *) x));
26303 }
26304 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
26305 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
26306 }
26307 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
26308 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
26309 }
26310 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
26311 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
26312 }
26313 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
26314 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
26315 }
26316 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
26317 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
26318 }
26319 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
26320 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
26321 }
26322 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
26323 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
26324 }
26325 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
26326 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
26327 }
26328 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
26329 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
26330 }
26331 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
26332 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
26333 }
26334 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
26335 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
26336 }
26337 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
26338 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
26339 }
26340 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
26341 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
26342 }
26343 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
26344 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
26345 }
26346 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
26347 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
26348 }
26349 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
26350 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
26351 }
26352 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
26353 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
26354 }
26355 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
26356 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
26357 }
26358 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
26359 return (void *)((wxObject *) ((wxImageHandler *) x));
26360 }
26361 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
26362 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
26363 }
26364 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
26365 return (void *)((wxObject *) ((wxEvtHandler *) x));
26366 }
26367 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
26368 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
26369 }
26370 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
26371 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26372 }
26373 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
26374 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
26375 }
26376 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
26377 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
26378 }
26379 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
26380 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
26381 }
26382 static void *_p_wxImageTo_p_wxObject(void *x) {
26383 return (void *)((wxObject *) ((wxImage *) x));
26384 }
26385 static void *_p_wxFrameTo_p_wxObject(void *x) {
26386 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
26387 }
26388 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
26389 return (void *)((wxObject *) ((wxPyPrintout *) x));
26390 }
26391 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
26392 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
26393 }
26394 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
26395 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
26396 }
26397 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
26398 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
26399 }
26400 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
26401 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
26402 }
26403 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
26404 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
26405 }
26406 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
26407 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
26408 }
26409 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
26410 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
26411 }
26412 static void *_p_wxWindowTo_p_wxObject(void *x) {
26413 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
26414 }
26415 static void *_p_wxMenuTo_p_wxObject(void *x) {
26416 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
26417 }
26418 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
26419 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
26420 }
26421 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
26422 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
26423 }
26424 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
26425 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
26426 }
26427 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
26428 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
26429 }
26430 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
26431 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
26432 }
26433 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
26434 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
26435 }
26436 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
26437 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
26438 }
26439 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
26440 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
26441 }
26442 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
26443 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
26444 }
26445 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
26446 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
26447 }
26448 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
26449 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
26450 }
26451 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
26452 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
26453 }
26454 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
26455 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
26456 }
26457 static void *_p_wxSashEventTo_p_wxObject(void *x) {
26458 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
26459 }
26460 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
26461 return (void *)((wxObject *) ((wxPrintPreview *) x));
26462 }
26463 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
26464 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
26465 }
26466 static void *_p_wxPanelTo_p_wxObject(void *x) {
26467 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
26468 }
26469 static void *_p_wxDialogTo_p_wxObject(void *x) {
26470 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
26471 }
26472 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
26473 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
26474 }
26475 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
26476 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
26477 }
26478 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
26479 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
26480 }
26481 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
26482 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
26483 }
26484 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
26485 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
26486 }
26487 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
26488 return (void *)((wxObject *) ((wxFileSystem *) x));
26489 }
26490 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
26491 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
26492 }
26493 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
26494 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
26495 }
26496 static void *_p_wxPyAppTo_p_wxObject(void *x) {
26497 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
26498 }
26499 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
26500 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
26501 }
26502 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
26503 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
26504 }
26505 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
26506 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
26507 }
26508 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
26509 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
26510 }
26511 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
26512 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
26513 }
26514 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
26515 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
26516 }
26517 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
26518 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26519 }
26520 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
26521 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
26522 }
26523 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
26524 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
26525 }
26526 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
26527 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
26528 }
26529 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
26530 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
26531 }
26532 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
26533 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
26534 }
26535 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
26536 return (void *)((wxObject *) ((wxPrintDialogData *) x));
26537 }
26538 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
26539 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
26540 }
26541 static void *_p_wxValidatorTo_p_wxObject(void *x) {
26542 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
26543 }
26544 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
26545 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26546 }
26547 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
26548 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
26549 }
26550 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
26551 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
26552 }
26553 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
26554 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
26555 }
26556 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
26557 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
26558 }
26559 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
26560 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
26561 }
26562 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
26563 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
26564 }
26565 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
26566 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
26567 }
26568 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
26569 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
26570 }
26571 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
26572 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
26573 }
26574 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x) {
26575 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPageSetupDialog *) x));
26576 }
26577 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x) {
26578 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPrintDialog *) x));
26579 }
26580 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
26581 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
26582 }
26583 static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x) {
26584 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxTipWindow *) x));
26585 }
26586 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
26587 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
26588 }
26589 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
26590 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
26591 }
26592 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
26593 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
26594 }
26595 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
26596 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
26597 }
26598 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
26599 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
26600 }
26601 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
26602 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
26603 }
26604 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
26605 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
26606 }
26607 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
26608 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
26609 }
26610 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
26611 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
26612 }
26613 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
26614 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
26615 }
26616 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
26617 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
26618 }
26619 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
26620 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
26621 }
26622 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
26623 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
26624 }
26625 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
26626 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
26627 }
26628 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
26629 return (void *)((wxWindow *) ((wxMenuBar *) x));
26630 }
26631 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
26632 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
26633 }
26634 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
26635 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
26636 }
26637 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
26638 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
26639 }
26640 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
26641 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
26642 }
26643 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
26644 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
26645 }
26646 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
26647 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
26648 }
26649 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
26650 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
26651 }
26652 static void *_p_wxPanelTo_p_wxWindow(void *x) {
26653 return (void *)((wxWindow *) ((wxPanel *) x));
26654 }
26655 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
26656 return (void *)((wxWindow *) ((wxStatusBar *) x));
26657 }
26658 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
26659 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
26660 }
26661 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
26662 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
26663 }
26664 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
26665 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
26666 }
26667 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
26668 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
26669 }
26670 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
26671 return (void *)((wxWindow *) ((wxPopupWindow *) x));
26672 }
26673 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
26674 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
26675 }
26676 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
26677 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
26678 }
26679 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
26680 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
26681 }
26682 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
26683 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
26684 }
26685 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
26686 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
26687 }
26688 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
26689 return (void *)((wxWindow *) ((wxSashWindow *) x));
26690 }
26691 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
26692 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
26693 }
26694 static void *_p_wxControlTo_p_wxWindow(void *x) {
26695 return (void *)((wxWindow *) ((wxControl *) x));
26696 }
26697 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
26698 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
26699 }
26700 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
26701 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
26702 }
26703 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
26704 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
26705 }
26706 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
26707 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
26708 }
26709 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
26710 return (void *)((wxWindow *) ((wxPyWindow *) x));
26711 }
26712 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
26713 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
26714 }
26715 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
26716 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
26717 }
26718 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
26719 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26720 }
26721 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
26722 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
26723 }
26724 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
26725 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26726 }
26727 static void *_p_wxFrameTo_p_wxWindow(void *x) {
26728 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
26729 }
26730 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
26731 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
26732 }
26733 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
26734 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
26735 }
26736 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
26737 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
26738 }
26739 static void *_p_wxDialogTo_p_wxWindow(void *x) {
26740 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
26741 }
26742 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) {
26743 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
26744 }
26745 static void *_p_wxPrintDialogTo_p_wxWindow(void *x) {
26746 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
26747 }
26748 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
26749 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
26750 }
26751 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
26752 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
26753 }
26754 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
26755 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
26756 }
26757 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
26758 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
26759 }
26760 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
26761 return (void *)((wxDialog *) ((wxColourDialog *) x));
26762 }
26763 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
26764 return (void *)((wxDialog *) ((wxDirDialog *) x));
26765 }
26766 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
26767 return (void *)((wxDialog *) ((wxFontDialog *) x));
26768 }
26769 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x) {
26770 return (void *)((wxDialog *) ((wxPageSetupDialog *) x));
26771 }
26772 static void *_p_wxPrintDialogTo_p_wxDialog(void *x) {
26773 return (void *)((wxDialog *) ((wxPrintDialog *) x));
26774 }
26775 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
26776 return (void *)((wxDialog *) ((wxFileDialog *) x));
26777 }
26778 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
26779 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
26780 }
26781 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
26782 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
26783 }
26784 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
26785 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
26786 }
26787 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
26788 return (void *)((wxDialog *) ((wxMessageDialog *) x));
26789 }
26790 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
26791 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
26792 }
26793 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
26794 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
26795 }
26796 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
26797 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
26798 }
26799 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
26800 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
26801 }
26802 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
26803 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26804 }
26805 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
26806 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
26807 }
26808 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
26809 return (void *)((wxPanel *) ((wxPyPanel *) x));
26810 }
26811 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
26812 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
26813 }
26814 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
26815 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
26816 }
26817 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
26818 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26819 }
26820 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
26821 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
26822 }
26823 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
26824 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
26825 }
26826 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
26827 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
26828 }
26829 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
26830 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
26831 }
26832 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
26833 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
26834 }
26835 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
26836 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
26837 }
26838 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
26839 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
26840 }
26841 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
26842 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
26843 }
26844 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
26845 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
26846 }
26847 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
26848 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
26849 }
26850 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
26851 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
26852 }
26853 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
26854 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26855 }
26856 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}};
26857 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}};
26858 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}};
26859 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}};
26860 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}};
26861 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}};
26862 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}};
26863 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}};
26864 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}};
26865 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}};
26866 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}};
26867 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}};
26868 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}};
26869 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}};
26870 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}};
26871 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}};
26872 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}};
26873 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}};
26874 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}};
26875 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}};
26876 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}};
26877 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}};
26878 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}};
26879 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}};
26880 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}};
26881 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}};
26882 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}};
26883 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}};
26884 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}};
26885 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}};
26886 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}};
26887 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}};
26888 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}};
26889 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}};
26890 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}};
26891 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}};
26892 static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26893 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}};
26894 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}};
26895 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}};
26896 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}};
26897 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}};
26898 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}};
26899 static swig_type_info _swigt__p_wxFrame[] = {{"_p_wxFrame", 0, "wxFrame *", 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxFrame", 0, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26900 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}};
26901 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}};
26902 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}};
26903 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}};
26904 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}};
26905 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}};
26906 static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFontData", _p_wxFontDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintData", _p_wxPrintDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxLayoutAlgorithm", _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindReplaceData", _p_wxFindReplaceDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxColourData", _p_wxColourDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrinter", _p_wxPrinterTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPrintout", _p_wxPyPrintoutTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialogData", _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintDialogData", _p_wxPrintDialogDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26907 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}};
26908 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}};
26909 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}};
26910 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}};
26911 static swig_type_info _swigt__p_wxPyPopupTransientWindow[] = {{"_p_wxPyPopupTransientWindow", 0, "wxPyPopupTransientWindow *", 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26912 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}};
26913 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}};
26914 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}};
26915 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}};
26916 static swig_type_info _swigt__p_wxPopupWindow[] = {{"_p_wxPopupWindow", 0, "wxPopupWindow *", 0, 0, 0, 0},{"_p_wxPopupWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxPopupWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26917 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}};
26918 static swig_type_info _swigt__p_wxTopLevelWindow[] = {{"_p_wxTopLevelWindow", 0, "wxTopLevelWindow *", 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", 0, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26919 static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26920 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}};
26921 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}};
26922 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}};
26923 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}};
26924 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}};
26925 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}};
26926 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}};
26927 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}};
26928 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}};
26929 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}};
26930 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}};
26931 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}};
26932 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}};
26933 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}};
26934 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}};
26935 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}};
26936 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}};
26937 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}};
26938 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}};
26939 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}};
26940 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}};
26941 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}};
26942
26943 static swig_type_info *swig_types_initial[] = {
26944 _swigt__p_wxQueryLayoutInfoEvent,
26945 _swigt__p_wxPreviewFrame,
26946 _swigt__p_wxPyPreviewFrame,
26947 _swigt__p_wxPyPanel,
26948 _swigt__p_wxMenu,
26949 _swigt__p_wxFontData,
26950 _swigt__p_wxEvent,
26951 _swigt__p_wxPrintData,
26952 _swigt__p_wxTaskBarIcon,
26953 _swigt__p_wxIconBundle,
26954 _swigt__p_wxLayoutAlgorithm,
26955 _swigt__p_wxFindDialogEvent,
26956 _swigt__p_wxPreviewCanvas,
26957 _swigt__p_wxFont,
26958 _swigt__p_wxSplitterEvent,
26959 _swigt__p_wxRegion,
26960 _swigt__p_wxFindReplaceData,
26961 _swigt__p_int,
26962 _swigt__p_wxSize,
26963 _swigt__p_wxDC,
26964 _swigt__p_wxIcon,
26965 _swigt__p_wxVisualAttributes,
26966 _swigt__p_wxMDIChildFrame,
26967 _swigt__p_wxColourData,
26968 _swigt__p_wxNotifyEvent,
26969 _swigt__p_wxPyWindow,
26970 _swigt__p_wxSplashScreen,
26971 _swigt__p_wxFindReplaceDialog,
26972 _swigt__p_wxProgressDialog,
26973 _swigt__p_wxMessageDialog,
26974 _swigt__p_wxTextEntryDialog,
26975 _swigt__p_wxSingleChoiceDialog,
26976 _swigt__p_wxMultiChoiceDialog,
26977 _swigt__p_wxFileDialog,
26978 _swigt__p_wxPrinter,
26979 _swigt__p_wxArrayInt,
26980 _swigt__p_wxEvtHandler,
26981 _swigt__p_wxCalculateLayoutEvent,
26982 _swigt__p_wxPyHtmlListBox,
26983 _swigt__p_wxPyVListBox,
26984 _swigt__p_wxRect,
26985 _swigt__p_char,
26986 _swigt__p_wxMiniFrame,
26987 _swigt__p_wxFrame,
26988 _swigt__p_wxPyPrintout,
26989 _swigt__p_wxTaskBarIconEvent,
26990 _swigt__p_wxScrollWinEvent,
26991 _swigt__p_wxStatusBar,
26992 _swigt__p_wxMDIParentFrame,
26993 _swigt__p_wxPoint,
26994 _swigt__p_wxObject,
26995 _swigt__p_wxOutputStream,
26996 _swigt__p_wxPyScrolledWindow,
26997 _swigt__p_wxMDIClientWindow,
26998 _swigt__p_wxTipWindow,
26999 _swigt__p_wxPyPopupTransientWindow,
27000 _swigt__p_wxSashLayoutWindow,
27001 _swigt__p_wxSplitterWindow,
27002 _swigt__p_wxSplashScreenWindow,
27003 _swigt__p_wxPyVScrolledWindow,
27004 _swigt__p_wxPopupWindow,
27005 _swigt__p_wxSashWindow,
27006 _swigt__p_wxTopLevelWindow,
27007 _swigt__p_wxWindow,
27008 _swigt__p_wxScrolledWindow,
27009 _swigt__p_wxMenuBar,
27010 _swigt__p_wxPrintPreview,
27011 _swigt__p_wxSashEvent,
27012 _swigt__p_wxString,
27013 _swigt__p_wxPyPrintPreview,
27014 _swigt__p_wxFontDialog,
27015 _swigt__p_wxDirDialog,
27016 _swigt__p_wxColourDialog,
27017 _swigt__p_wxDialog,
27018 _swigt__p_wxPanel,
27019 _swigt__p_wxPageSetupDialog,
27020 _swigt__p_wxPrintDialog,
27021 _swigt__p_wxFileSystem,
27022 _swigt__p_wxBitmap,
27023 _swigt__p_wxCommandEvent,
27024 _swigt__p_wxPreviewControlBar,
27025 _swigt__p_wxPyPreviewControlBar,
27026 _swigt__p_wxColour,
27027 _swigt__p_wxToolBar,
27028 _swigt__p_wxPageSetupDialogData,
27029 _swigt__p_wxPrintDialogData,
27030 0
27031 };
27032
27033
27034 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
27035
27036 static swig_const_info swig_const_table[] = {
27037 {0, 0, 0, 0.0, 0, 0}};
27038
27039 #ifdef __cplusplus
27040 }
27041 #endif
27042
27043 #ifdef __cplusplus
27044 extern "C"
27045 #endif
27046 SWIGEXPORT(void) SWIG_init(void) {
27047 static PyObject *SWIG_globals = 0;
27048 static int typeinit = 0;
27049 PyObject *m, *d;
27050 int i;
27051 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
27052 m = Py_InitModule((char *) SWIG_name, SwigMethods);
27053 d = PyModule_GetDict(m);
27054
27055 if (!typeinit) {
27056 for (i = 0; swig_types_initial[i]; i++) {
27057 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
27058 }
27059 typeinit = 1;
27060 }
27061 SWIG_InstallConstants(d,swig_const_table);
27062
27063 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
27064 SWIG_addvarlink(SWIG_globals,(char*)"FrameNameStr",_wrap_FrameNameStr_get, _wrap_FrameNameStr_set);
27065 SWIG_addvarlink(SWIG_globals,(char*)"DialogNameStr",_wrap_DialogNameStr_get, _wrap_DialogNameStr_set);
27066 SWIG_addvarlink(SWIG_globals,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get, _wrap_StatusLineNameStr_set);
27067 SWIG_addvarlink(SWIG_globals,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get, _wrap_ToolBarNameStr_set);
27068 PyDict_SetItemString(d,"STAY_ON_TOP", SWIG_From_int((int)wxSTAY_ON_TOP));
27069 PyDict_SetItemString(d,"ICONIZE", SWIG_From_int((int)wxICONIZE));
27070 PyDict_SetItemString(d,"MINIMIZE", SWIG_From_int((int)wxMINIMIZE));
27071 PyDict_SetItemString(d,"MAXIMIZE", SWIG_From_int((int)wxMAXIMIZE));
27072 PyDict_SetItemString(d,"CLOSE_BOX", SWIG_From_int((int)wxCLOSE_BOX));
27073 PyDict_SetItemString(d,"THICK_FRAME", SWIG_From_int((int)wxTHICK_FRAME));
27074 PyDict_SetItemString(d,"SYSTEM_MENU", SWIG_From_int((int)wxSYSTEM_MENU));
27075 PyDict_SetItemString(d,"MINIMIZE_BOX", SWIG_From_int((int)wxMINIMIZE_BOX));
27076 PyDict_SetItemString(d,"MAXIMIZE_BOX", SWIG_From_int((int)wxMAXIMIZE_BOX));
27077 PyDict_SetItemString(d,"TINY_CAPTION_HORIZ", SWIG_From_int((int)wxTINY_CAPTION_HORIZ));
27078 PyDict_SetItemString(d,"TINY_CAPTION_VERT", SWIG_From_int((int)wxTINY_CAPTION_VERT));
27079 PyDict_SetItemString(d,"RESIZE_BOX", SWIG_From_int((int)wxRESIZE_BOX));
27080 PyDict_SetItemString(d,"RESIZE_BORDER", SWIG_From_int((int)wxRESIZE_BORDER));
27081 PyDict_SetItemString(d,"DIALOG_NO_PARENT", SWIG_From_int((int)wxDIALOG_NO_PARENT));
27082 PyDict_SetItemString(d,"DEFAULT_FRAME_STYLE", SWIG_From_int((int)wxDEFAULT_FRAME_STYLE));
27083 PyDict_SetItemString(d,"DEFAULT_DIALOG_STYLE", SWIG_From_int((int)wxDEFAULT_DIALOG_STYLE));
27084 PyDict_SetItemString(d,"FRAME_TOOL_WINDOW", SWIG_From_int((int)wxFRAME_TOOL_WINDOW));
27085 PyDict_SetItemString(d,"FRAME_FLOAT_ON_PARENT", SWIG_From_int((int)wxFRAME_FLOAT_ON_PARENT));
27086 PyDict_SetItemString(d,"FRAME_NO_WINDOW_MENU", SWIG_From_int((int)wxFRAME_NO_WINDOW_MENU));
27087 PyDict_SetItemString(d,"FRAME_NO_TASKBAR", SWIG_From_int((int)wxFRAME_NO_TASKBAR));
27088 PyDict_SetItemString(d,"FRAME_SHAPED", SWIG_From_int((int)wxFRAME_SHAPED));
27089 PyDict_SetItemString(d,"FRAME_DRAWER", SWIG_From_int((int)wxFRAME_DRAWER));
27090 PyDict_SetItemString(d,"DIALOG_MODAL", SWIG_From_int((int)wxDIALOG_MODAL));
27091 PyDict_SetItemString(d,"DIALOG_MODELESS", SWIG_From_int((int)wxDIALOG_MODELESS));
27092 PyDict_SetItemString(d,"USER_COLOURS", SWIG_From_int((int)wxUSER_COLOURS));
27093 PyDict_SetItemString(d,"NO_3D", SWIG_From_int((int)wxNO_3D));
27094 PyDict_SetItemString(d,"FULLSCREEN_NOMENUBAR", SWIG_From_int((int)wxFULLSCREEN_NOMENUBAR));
27095 PyDict_SetItemString(d,"FULLSCREEN_NOTOOLBAR", SWIG_From_int((int)wxFULLSCREEN_NOTOOLBAR));
27096 PyDict_SetItemString(d,"FULLSCREEN_NOSTATUSBAR", SWIG_From_int((int)wxFULLSCREEN_NOSTATUSBAR));
27097 PyDict_SetItemString(d,"FULLSCREEN_NOBORDER", SWIG_From_int((int)wxFULLSCREEN_NOBORDER));
27098 PyDict_SetItemString(d,"FULLSCREEN_NOCAPTION", SWIG_From_int((int)wxFULLSCREEN_NOCAPTION));
27099 PyDict_SetItemString(d,"FULLSCREEN_ALL", SWIG_From_int((int)wxFULLSCREEN_ALL));
27100 PyDict_SetItemString(d,"TOPLEVEL_EX_DIALOG", SWIG_From_int((int)wxTOPLEVEL_EX_DIALOG));
27101 PyDict_SetItemString(d,"USER_ATTENTION_INFO", SWIG_From_int((int)wxUSER_ATTENTION_INFO));
27102 PyDict_SetItemString(d,"USER_ATTENTION_ERROR", SWIG_From_int((int)wxUSER_ATTENTION_ERROR));
27103 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_PARENT", SWIG_From_int((int)wxSPLASH_CENTRE_ON_PARENT));
27104 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_SCREEN", SWIG_From_int((int)wxSPLASH_CENTRE_ON_SCREEN));
27105 PyDict_SetItemString(d,"SPLASH_NO_CENTRE", SWIG_From_int((int)wxSPLASH_NO_CENTRE));
27106 PyDict_SetItemString(d,"SPLASH_TIMEOUT", SWIG_From_int((int)wxSPLASH_TIMEOUT));
27107 PyDict_SetItemString(d,"SPLASH_NO_TIMEOUT", SWIG_From_int((int)wxSPLASH_NO_TIMEOUT));
27108 PyDict_SetItemString(d,"SB_NORMAL", SWIG_From_int((int)wxSB_NORMAL));
27109 PyDict_SetItemString(d,"SB_FLAT", SWIG_From_int((int)wxSB_FLAT));
27110 PyDict_SetItemString(d,"SB_RAISED", SWIG_From_int((int)wxSB_RAISED));
27111 SWIG_addvarlink(SWIG_globals,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get, _wrap_SplitterNameStr_set);
27112 PyDict_SetItemString(d,"SP_NOBORDER", SWIG_From_int((int)wxSP_NOBORDER));
27113 PyDict_SetItemString(d,"SP_NOSASH", SWIG_From_int((int)wxSP_NOSASH));
27114 PyDict_SetItemString(d,"SP_PERMIT_UNSPLIT", SWIG_From_int((int)wxSP_PERMIT_UNSPLIT));
27115 PyDict_SetItemString(d,"SP_LIVE_UPDATE", SWIG_From_int((int)wxSP_LIVE_UPDATE));
27116 PyDict_SetItemString(d,"SP_3DSASH", SWIG_From_int((int)wxSP_3DSASH));
27117 PyDict_SetItemString(d,"SP_3DBORDER", SWIG_From_int((int)wxSP_3DBORDER));
27118 PyDict_SetItemString(d,"SP_NO_XP_THEME", SWIG_From_int((int)wxSP_NO_XP_THEME));
27119 PyDict_SetItemString(d,"SP_BORDER", SWIG_From_int((int)wxSP_BORDER));
27120 PyDict_SetItemString(d,"SP_3D", SWIG_From_int((int)wxSP_3D));
27121 PyDict_SetItemString(d,"SPLIT_HORIZONTAL", SWIG_From_int((int)wxSPLIT_HORIZONTAL));
27122 PyDict_SetItemString(d,"SPLIT_VERTICAL", SWIG_From_int((int)wxSPLIT_VERTICAL));
27123 PyDict_SetItemString(d,"SPLIT_DRAG_NONE", SWIG_From_int((int)wxSPLIT_DRAG_NONE));
27124 PyDict_SetItemString(d,"SPLIT_DRAG_DRAGGING", SWIG_From_int((int)wxSPLIT_DRAG_DRAGGING));
27125 PyDict_SetItemString(d,"SPLIT_DRAG_LEFT_DOWN", SWIG_From_int((int)wxSPLIT_DRAG_LEFT_DOWN));
27126 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
27127 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
27128 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
27129 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
27130 SWIG_addvarlink(SWIG_globals,(char*)"SashNameStr",_wrap_SashNameStr_get, _wrap_SashNameStr_set);
27131 SWIG_addvarlink(SWIG_globals,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get, _wrap_SashLayoutNameStr_set);
27132 PyDict_SetItemString(d,"SASH_DRAG_NONE", SWIG_From_int((int)wxSASH_DRAG_NONE));
27133 PyDict_SetItemString(d,"SASH_DRAG_DRAGGING", SWIG_From_int((int)wxSASH_DRAG_DRAGGING));
27134 PyDict_SetItemString(d,"SASH_DRAG_LEFT_DOWN", SWIG_From_int((int)wxSASH_DRAG_LEFT_DOWN));
27135 PyDict_SetItemString(d,"SW_NOBORDER", SWIG_From_int((int)wxSW_NOBORDER));
27136 PyDict_SetItemString(d,"SW_BORDER", SWIG_From_int((int)wxSW_BORDER));
27137 PyDict_SetItemString(d,"SW_3DSASH", SWIG_From_int((int)wxSW_3DSASH));
27138 PyDict_SetItemString(d,"SW_3DBORDER", SWIG_From_int((int)wxSW_3DBORDER));
27139 PyDict_SetItemString(d,"SW_3D", SWIG_From_int((int)wxSW_3D));
27140 PyDict_SetItemString(d,"SASH_TOP", SWIG_From_int((int)wxSASH_TOP));
27141 PyDict_SetItemString(d,"SASH_RIGHT", SWIG_From_int((int)wxSASH_RIGHT));
27142 PyDict_SetItemString(d,"SASH_BOTTOM", SWIG_From_int((int)wxSASH_BOTTOM));
27143 PyDict_SetItemString(d,"SASH_LEFT", SWIG_From_int((int)wxSASH_LEFT));
27144 PyDict_SetItemString(d,"SASH_NONE", SWIG_From_int((int)wxSASH_NONE));
27145 PyDict_SetItemString(d,"SASH_STATUS_OK", SWIG_From_int((int)wxSASH_STATUS_OK));
27146 PyDict_SetItemString(d,"SASH_STATUS_OUT_OF_RANGE", SWIG_From_int((int)wxSASH_STATUS_OUT_OF_RANGE));
27147 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
27148 PyDict_SetItemString(d,"LAYOUT_HORIZONTAL", SWIG_From_int((int)wxLAYOUT_HORIZONTAL));
27149 PyDict_SetItemString(d,"LAYOUT_VERTICAL", SWIG_From_int((int)wxLAYOUT_VERTICAL));
27150 PyDict_SetItemString(d,"LAYOUT_NONE", SWIG_From_int((int)wxLAYOUT_NONE));
27151 PyDict_SetItemString(d,"LAYOUT_TOP", SWIG_From_int((int)wxLAYOUT_TOP));
27152 PyDict_SetItemString(d,"LAYOUT_LEFT", SWIG_From_int((int)wxLAYOUT_LEFT));
27153 PyDict_SetItemString(d,"LAYOUT_RIGHT", SWIG_From_int((int)wxLAYOUT_RIGHT));
27154 PyDict_SetItemString(d,"LAYOUT_BOTTOM", SWIG_From_int((int)wxLAYOUT_BOTTOM));
27155 PyDict_SetItemString(d,"LAYOUT_LENGTH_Y", SWIG_From_int((int)wxLAYOUT_LENGTH_Y));
27156 PyDict_SetItemString(d,"LAYOUT_LENGTH_X", SWIG_From_int((int)wxLAYOUT_LENGTH_X));
27157 PyDict_SetItemString(d,"LAYOUT_MRU_LENGTH", SWIG_From_int((int)wxLAYOUT_MRU_LENGTH));
27158 PyDict_SetItemString(d,"LAYOUT_QUERY", SWIG_From_int((int)wxLAYOUT_QUERY));
27159 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
27160 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
27161 SWIG_addvarlink(SWIG_globals,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get, _wrap_VListBoxNameStr_set);
27162
27163 // Map renamed classes back to their common name for OOR
27164 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
27165 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
27166 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
27167
27168 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
27169 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
27170 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
27171 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
27172 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
27173 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
27174 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
27175 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
27176 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
27177 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get, _wrap_DirDialogNameStr_set);
27178 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
27179 SWIG_addvarlink(SWIG_globals,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get, _wrap_GetTextFromUserPromptStr_set);
27180 SWIG_addvarlink(SWIG_globals,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get, _wrap_MessageBoxCaptionStr_set);
27181 PyDict_SetItemString(d,"CHOICEDLG_STYLE", SWIG_From_int((int)wxCHOICEDLG_STYLE));
27182 PyDict_SetItemString(d,"FR_DOWN", SWIG_From_int((int)wxFR_DOWN));
27183 PyDict_SetItemString(d,"FR_WHOLEWORD", SWIG_From_int((int)wxFR_WHOLEWORD));
27184 PyDict_SetItemString(d,"FR_MATCHCASE", SWIG_From_int((int)wxFR_MATCHCASE));
27185 PyDict_SetItemString(d,"FR_REPLACEDIALOG", SWIG_From_int((int)wxFR_REPLACEDIALOG));
27186 PyDict_SetItemString(d,"FR_NOUPDOWN", SWIG_From_int((int)wxFR_NOUPDOWN));
27187 PyDict_SetItemString(d,"FR_NOMATCHCASE", SWIG_From_int((int)wxFR_NOMATCHCASE));
27188 PyDict_SetItemString(d,"FR_NOWHOLEWORD", SWIG_From_int((int)wxFR_NOWHOLEWORD));
27189 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
27190 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
27191 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
27192 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
27193 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
27194 PyDict_SetItemString(d,"IDM_WINDOWTILE", SWIG_From_int((int)4001));
27195 PyDict_SetItemString(d,"IDM_WINDOWTILEHOR", SWIG_From_int((int)4001));
27196 PyDict_SetItemString(d,"IDM_WINDOWCASCADE", SWIG_From_int((int)4002));
27197 PyDict_SetItemString(d,"IDM_WINDOWICONS", SWIG_From_int((int)4003));
27198 PyDict_SetItemString(d,"IDM_WINDOWNEXT", SWIG_From_int((int)4004));
27199 PyDict_SetItemString(d,"IDM_WINDOWTILEVERT", SWIG_From_int((int)4005));
27200 PyDict_SetItemString(d,"FIRST_MDI_CHILD", SWIG_From_int((int)4100));
27201 PyDict_SetItemString(d,"LAST_MDI_CHILD", SWIG_From_int((int)4600));
27202 SWIG_addvarlink(SWIG_globals,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get, _wrap_PrintoutTitleStr_set);
27203 SWIG_addvarlink(SWIG_globals,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get, _wrap_PreviewCanvasNameStr_set);
27204 PyDict_SetItemString(d,"PRINT_MODE_NONE", SWIG_From_int((int)wxPRINT_MODE_NONE));
27205 PyDict_SetItemString(d,"PRINT_MODE_PREVIEW", SWIG_From_int((int)wxPRINT_MODE_PREVIEW));
27206 PyDict_SetItemString(d,"PRINT_MODE_FILE", SWIG_From_int((int)wxPRINT_MODE_FILE));
27207 PyDict_SetItemString(d,"PRINT_MODE_PRINTER", SWIG_From_int((int)wxPRINT_MODE_PRINTER));
27208 PyDict_SetItemString(d,"PRINT_MODE_STREAM", SWIG_From_int((int)wxPRINT_MODE_STREAM));
27209 PyDict_SetItemString(d,"PRINTBIN_DEFAULT", SWIG_From_int((int)wxPRINTBIN_DEFAULT));
27210 PyDict_SetItemString(d,"PRINTBIN_ONLYONE", SWIG_From_int((int)wxPRINTBIN_ONLYONE));
27211 PyDict_SetItemString(d,"PRINTBIN_LOWER", SWIG_From_int((int)wxPRINTBIN_LOWER));
27212 PyDict_SetItemString(d,"PRINTBIN_MIDDLE", SWIG_From_int((int)wxPRINTBIN_MIDDLE));
27213 PyDict_SetItemString(d,"PRINTBIN_MANUAL", SWIG_From_int((int)wxPRINTBIN_MANUAL));
27214 PyDict_SetItemString(d,"PRINTBIN_ENVELOPE", SWIG_From_int((int)wxPRINTBIN_ENVELOPE));
27215 PyDict_SetItemString(d,"PRINTBIN_ENVMANUAL", SWIG_From_int((int)wxPRINTBIN_ENVMANUAL));
27216 PyDict_SetItemString(d,"PRINTBIN_AUTO", SWIG_From_int((int)wxPRINTBIN_AUTO));
27217 PyDict_SetItemString(d,"PRINTBIN_TRACTOR", SWIG_From_int((int)wxPRINTBIN_TRACTOR));
27218 PyDict_SetItemString(d,"PRINTBIN_SMALLFMT", SWIG_From_int((int)wxPRINTBIN_SMALLFMT));
27219 PyDict_SetItemString(d,"PRINTBIN_LARGEFMT", SWIG_From_int((int)wxPRINTBIN_LARGEFMT));
27220 PyDict_SetItemString(d,"PRINTBIN_LARGECAPACITY", SWIG_From_int((int)wxPRINTBIN_LARGECAPACITY));
27221 PyDict_SetItemString(d,"PRINTBIN_CASSETTE", SWIG_From_int((int)wxPRINTBIN_CASSETTE));
27222 PyDict_SetItemString(d,"PRINTBIN_FORMSOURCE", SWIG_From_int((int)wxPRINTBIN_FORMSOURCE));
27223 PyDict_SetItemString(d,"PRINTBIN_USER", SWIG_From_int((int)wxPRINTBIN_USER));
27224 PyDict_SetItemString(d,"PRINTER_NO_ERROR", SWIG_From_int((int)wxPRINTER_NO_ERROR));
27225 PyDict_SetItemString(d,"PRINTER_CANCELLED", SWIG_From_int((int)wxPRINTER_CANCELLED));
27226 PyDict_SetItemString(d,"PRINTER_ERROR", SWIG_From_int((int)wxPRINTER_ERROR));
27227 PyDict_SetItemString(d,"PREVIEW_PRINT", SWIG_From_int((int)wxPREVIEW_PRINT));
27228 PyDict_SetItemString(d,"PREVIEW_PREVIOUS", SWIG_From_int((int)wxPREVIEW_PREVIOUS));
27229 PyDict_SetItemString(d,"PREVIEW_NEXT", SWIG_From_int((int)wxPREVIEW_NEXT));
27230 PyDict_SetItemString(d,"PREVIEW_ZOOM", SWIG_From_int((int)wxPREVIEW_ZOOM));
27231 PyDict_SetItemString(d,"PREVIEW_FIRST", SWIG_From_int((int)wxPREVIEW_FIRST));
27232 PyDict_SetItemString(d,"PREVIEW_LAST", SWIG_From_int((int)wxPREVIEW_LAST));
27233 PyDict_SetItemString(d,"PREVIEW_GOTO", SWIG_From_int((int)wxPREVIEW_GOTO));
27234 PyDict_SetItemString(d,"PREVIEW_DEFAULT", SWIG_From_int((int)wxPREVIEW_DEFAULT));
27235 PyDict_SetItemString(d,"ID_PREVIEW_CLOSE", SWIG_From_int((int)wxID_PREVIEW_CLOSE));
27236 PyDict_SetItemString(d,"ID_PREVIEW_NEXT", SWIG_From_int((int)wxID_PREVIEW_NEXT));
27237 PyDict_SetItemString(d,"ID_PREVIEW_PREVIOUS", SWIG_From_int((int)wxID_PREVIEW_PREVIOUS));
27238 PyDict_SetItemString(d,"ID_PREVIEW_PRINT", SWIG_From_int((int)wxID_PREVIEW_PRINT));
27239 PyDict_SetItemString(d,"ID_PREVIEW_ZOOM", SWIG_From_int((int)wxID_PREVIEW_ZOOM));
27240 PyDict_SetItemString(d,"ID_PREVIEW_FIRST", SWIG_From_int((int)wxID_PREVIEW_FIRST));
27241 PyDict_SetItemString(d,"ID_PREVIEW_LAST", SWIG_From_int((int)wxID_PREVIEW_LAST));
27242 PyDict_SetItemString(d,"ID_PREVIEW_GOTO", SWIG_From_int((int)wxID_PREVIEW_GOTO));
27243
27244 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
27245
27246 }
27247