]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/mac/_windows_wrap.cpp
reSWIGged
[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_wxPyTaskBarIcon swig_types[9]
221 #define SWIGTYPE_p_wxIconBundle swig_types[10]
222 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[11]
223 #define SWIGTYPE_p_wxFindDialogEvent swig_types[12]
224 #define SWIGTYPE_p_wxPreviewCanvas swig_types[13]
225 #define SWIGTYPE_p_wxFont swig_types[14]
226 #define SWIGTYPE_p_wxSplitterEvent swig_types[15]
227 #define SWIGTYPE_p_wxRegion swig_types[16]
228 #define SWIGTYPE_p_wxFindReplaceData swig_types[17]
229 #define SWIGTYPE_p_int swig_types[18]
230 #define SWIGTYPE_p_wxSize swig_types[19]
231 #define SWIGTYPE_p_wxDC swig_types[20]
232 #define SWIGTYPE_p_wxIcon swig_types[21]
233 #define SWIGTYPE_p_wxVisualAttributes swig_types[22]
234 #define SWIGTYPE_p_wxMDIChildFrame swig_types[23]
235 #define SWIGTYPE_p_wxColourData swig_types[24]
236 #define SWIGTYPE_p_wxNotifyEvent swig_types[25]
237 #define SWIGTYPE_p_wxPyWindow swig_types[26]
238 #define SWIGTYPE_p_wxSplashScreen swig_types[27]
239 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[28]
240 #define SWIGTYPE_p_wxProgressDialog swig_types[29]
241 #define SWIGTYPE_p_wxMessageDialog swig_types[30]
242 #define SWIGTYPE_p_wxTextEntryDialog swig_types[31]
243 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[32]
244 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[33]
245 #define SWIGTYPE_p_wxFileDialog swig_types[34]
246 #define SWIGTYPE_p_wxPrinter swig_types[35]
247 #define SWIGTYPE_p_wxArrayInt swig_types[36]
248 #define SWIGTYPE_p_wxEvtHandler swig_types[37]
249 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[38]
250 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[39]
251 #define SWIGTYPE_p_wxPyVListBox swig_types[40]
252 #define SWIGTYPE_p_wxRect swig_types[41]
253 #define SWIGTYPE_p_char swig_types[42]
254 #define SWIGTYPE_p_wxMiniFrame swig_types[43]
255 #define SWIGTYPE_p_wxFrame swig_types[44]
256 #define SWIGTYPE_p_wxPyPrintout swig_types[45]
257 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[46]
258 #define SWIGTYPE_p_wxScrollWinEvent swig_types[47]
259 #define SWIGTYPE_p_wxStatusBar swig_types[48]
260 #define SWIGTYPE_p_wxMDIParentFrame swig_types[49]
261 #define SWIGTYPE_p_wxPoint swig_types[50]
262 #define SWIGTYPE_p_wxObject swig_types[51]
263 #define SWIGTYPE_p_wxOutputStream 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_wxPyScrolledWindow swig_types[66]
278 #define SWIGTYPE_p_wxPrintPreview swig_types[67]
279 #define SWIGTYPE_p_wxSashEvent swig_types[68]
280 #define SWIGTYPE_p_wxString swig_types[69]
281 #define SWIGTYPE_p_wxPyPrintPreview swig_types[70]
282 #define SWIGTYPE_p_wxFontDialog swig_types[71]
283 #define SWIGTYPE_p_wxDirDialog swig_types[72]
284 #define SWIGTYPE_p_wxColourDialog swig_types[73]
285 #define SWIGTYPE_p_wxDialog swig_types[74]
286 #define SWIGTYPE_p_wxPanel swig_types[75]
287 #define SWIGTYPE_p_wxPageSetupDialog swig_types[76]
288 #define SWIGTYPE_p_wxPrintDialog swig_types[77]
289 #define SWIGTYPE_p_wxFileSystem swig_types[78]
290 #define SWIGTYPE_p_wxBitmap swig_types[79]
291 #define SWIGTYPE_p_wxCommandEvent swig_types[80]
292 #define SWIGTYPE_p_wxPreviewControlBar swig_types[81]
293 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[82]
294 #define SWIGTYPE_p_wxColour swig_types[83]
295 #define SWIGTYPE_p_wxToolBar swig_types[84]
296 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[85]
297 #define SWIGTYPE_p_wxPrintDialogData swig_types[86]
298 static swig_type_info *swig_types[88];
299
300 /* -------- TYPES TABLE (END) -------- */
301
302
303 /*-----------------------------------------------
304 @(target):= _windows_.so
305 ------------------------------------------------*/
306 #define SWIG_init init_windows_
307
308 #define SWIG_name "_windows_"
309
310 /* Auxiliar swig macros that appear in the header */
311
312 #define SWIG_OLDOBJ 1
313 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
314 #define SWIG_PYSTR SWIG_NEWOBJ + 1
315
316 #ifdef __cplusplus
317 #define SWIGSTATICINLINE(a) static inline a
318 #define SWIGSTATIC(a) static a
319 #define swig_new_array(size,Type) (new Type[(size)])
320 #define swig_delete(cptr) delete cptr
321 #define swig_delete_array(cptr) delete[] cptr
322 #define swig_const_cast(a,Type) const_cast<Type >(a)
323 #define swig_static_cast(a,Type) static_cast<Type >(a)
324 #define swig_reinterpret_cast(a,Type) reinterpret_cast<Type >(a)
325 #define swig_new_copy(ptr,Type) (new Type(*ptr))
326 #define swig_numeric_cast(a,Type) static_cast<Type >(a)
327
328 #else /* C case */
329
330 #define SWIGSTATICINLINE(a) static a
331 #define SWIGSTATIC(a) static a
332 #define swig_new_array(size,Type) ((Type*) malloc((size)*sizeof(Type)))
333 #define swig_delete(cptr) free((char*)cptr)
334 #define swig_delete_array(cptr) free((char*)cptr)
335 #define swig_const_cast(a,Type) (Type)(a)
336 #define swig_static_cast(a,Type) (Type)(a)
337 #define swig_reinterpret_cast(a,Type) (Type)(a)
338 #define swig_numeric_cast(a,Type) (Type)(a)
339 #define swig_new_copy(ptr,Type) ((Type*)memcpy(malloc(sizeof(Type)),ptr,sizeof(Type)))
340
341 #endif /* __cplusplus */
342
343
344 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
345 #define SWIG_From_signed_SS_char PyInt_FromLong
346 /*@@*/
347 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
348 #define SWIG_From_unsigned_SS_char PyInt_FromLong
349 /*@@*/
350 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
351 #define SWIG_From_short PyInt_FromLong
352 /*@@*/
353 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
354 #define SWIG_From_unsigned_SS_short PyInt_FromLong
355 /*@@*/
356 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
357 #define SWIG_From_int PyInt_FromLong
358 /*@@*/
359 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
360 #define SWIG_From_long PyInt_FromLong
361 /*@@*/
362 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
363 #define SWIG_From_float PyFloat_FromDouble
364 /*@@*/
365 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
366 #define SWIG_From_double PyFloat_FromDouble
367 /*@@*/
368
369
370 #include "wx/wxPython/wxPython.h"
371 #include "wx/wxPython/pyclasses.h"
372
373
374 static const wxString wxPyEmptyString(wxEmptyString);
375 static const wxString wxPyPanelNameStr(wxPanelNameStr);
376
377
378
379 #include <limits.h>
380
381
382 SWIGSTATICINLINE(int)
383 SWIG_CheckLongInRange(long value, long min_value, long max_value,
384 const char *errmsg)
385 {
386 if (value < min_value) {
387 if (errmsg) {
388 PyErr_Format(PyExc_OverflowError,
389 "value %ld is less than '%s' minimum %ld",
390 value, errmsg, min_value);
391 }
392 return 0;
393 } else if (value > max_value) {
394 if (errmsg) {
395 PyErr_Format(PyExc_OverflowError,
396 "value %ld is greater than '%s' maximum %ld",
397 value, errmsg, max_value);
398 }
399 return 0;
400 }
401 return 1;
402 }
403
404
405 // See my_fragments.i
406 SWIGSTATICINLINE(int)
407 SWIG_AsVal_long(PyObject* obj, long* val)
408 {
409 if (PyNumber_Check(obj)) {
410 if (val) *val = PyInt_AsLong(obj);
411 return 1;
412 }
413 else {
414 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
415 obj->ob_type->tp_name);
416 PyErr_SetObject(PyExc_TypeError, errmsg);
417 Py_DECREF(errmsg);
418 }
419 return 0;
420 }
421
422
423 #if INT_MAX != LONG_MAX
424 SWIGSTATICINLINE(int)
425 SWIG_AsVal_int(PyObject *obj, int *val)
426 {
427 const char* errmsg = val ? "int" : 0;
428 long v;
429 if (SWIG_AsVal_long(obj, &v)) {
430 if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) {
431 if (val) *val = swig_numeric_cast(v, int);
432 return 1;
433 } else {
434 return 0;
435 }
436 } else {
437 PyErr_Clear();
438 }
439 if (val) {
440 PyErr_SetString(PyExc_TypeError, "an int is expected");
441 }
442 return 0;
443 }
444 #else
445 SWIGSTATICINLINE(int)
446 SWIG_AsVal_int(PyObject *obj, int *val)
447 {
448 return SWIG_AsVal_long(obj,(long*)val);
449 }
450 #endif
451
452
453 SWIGSTATICINLINE(int)
454 SWIG_As_int(PyObject* obj)
455 {
456 int v;
457 if (!SWIG_AsVal_int(obj, &v)) {
458 /*
459 this is needed to make valgrind/purify happier. the other
460 solution is throw an exception, but since this code should work
461 with plain C ....
462 */
463 memset((void*)&v, 0, sizeof(int));
464 }
465 return v;
466 }
467
468
469 SWIGSTATICINLINE(long)
470 SWIG_As_long(PyObject* obj)
471 {
472 long v;
473 if (!SWIG_AsVal_long(obj, &v)) {
474 /*
475 this is needed to make valgrind/purify happier. the other
476 solution is throw an exception, but since this code should work
477 with plain C ....
478 */
479 memset((void*)&v, 0, sizeof(long));
480 }
481 return v;
482 }
483
484
485 SWIGSTATICINLINE(int)
486 SWIG_Check_int(PyObject* obj)
487 {
488 return SWIG_AsVal_int(obj, (int*)0);
489 }
490
491
492 SWIGSTATICINLINE(int)
493 SWIG_Check_long(PyObject* obj)
494 {
495 return SWIG_AsVal_long(obj, (long*)0);
496 }
497
498
499 SWIGSTATICINLINE(int)
500 SWIG_AsVal_bool(PyObject *obj, bool *val)
501 {
502 /* if (val) *val = PyObject_IsTrue(obj); return 1; */
503 if (obj == Py_True) {
504 if (val) *val = true;
505 return 1;
506 }
507 if (obj == Py_False) {
508 if (val) *val = false;
509 return 1;
510 }
511 int res = 0;
512 if (SWIG_AsVal_int(obj, &res)) {
513 if (val) *val = (bool)res;
514 return 1;
515 }
516 if (val) {
517 PyErr_SetString(PyExc_TypeError, "a bool is expected");
518 }
519 return 0;
520 }
521
522
523 SWIGSTATICINLINE(bool)
524 SWIG_As_bool(PyObject* obj)
525 {
526 bool v;
527 if (!SWIG_AsVal_bool(obj, &v)) {
528 /*
529 this is needed to make valgrind/purify happier. the other
530 solution is throw an exception, but since this code should work
531 with plain C ....
532 */
533 memset((void*)&v, 0, sizeof(bool));
534 }
535 return v;
536 }
537
538
539 SWIGSTATICINLINE(int)
540 SWIG_Check_bool(PyObject* obj)
541 {
542 return SWIG_AsVal_bool(obj, (bool*)0);
543 }
544
545
546 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
547 PyObject* o2;
548 PyObject* o3;
549
550 if (!target) {
551 target = o;
552 } else if (target == Py_None) {
553 Py_DECREF(Py_None);
554 target = o;
555 } else {
556 if (!PyTuple_Check(target)) {
557 o2 = target;
558 target = PyTuple_New(1);
559 PyTuple_SetItem(target, 0, o2);
560 }
561 o3 = PyTuple_New(1);
562 PyTuple_SetItem(o3, 0, o);
563
564 o2 = target;
565 target = PySequence_Concat(o2, o3);
566 Py_DECREF(o2);
567 Py_DECREF(o3);
568 }
569 return target;
570 }
571
572
573
574 // See my_fragments.i
575 SWIGSTATICINLINE(int)
576 SWIG_AsVal_double(PyObject *obj, double* val)
577 {
578 if (PyNumber_Check(obj)) {
579 if (val) *val = PyFloat_AsDouble(obj);
580 return 1;
581 }
582 else {
583 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
584 obj->ob_type->tp_name);
585 PyErr_SetObject(PyExc_TypeError, errmsg);
586 Py_DECREF(errmsg);
587 }
588 return 0;
589 }
590
591
592 SWIGSTATICINLINE(double)
593 SWIG_As_double(PyObject* obj)
594 {
595 double v;
596 if (!SWIG_AsVal_double(obj, &v)) {
597 /*
598 this is needed to make valgrind/purify happier. the other
599 solution is throw an exception, but since this code should work
600 with plain C ....
601 */
602 memset((void*)&v, 0, sizeof(double));
603 }
604 return v;
605 }
606
607
608 SWIGSTATICINLINE(int)
609 SWIG_Check_double(PyObject* obj)
610 {
611 return SWIG_AsVal_double(obj, (double*)0);
612 }
613
614 static const wxString wxPyFrameNameStr(wxFrameNameStr);
615 static const wxString wxPyDialogNameStr(wxDialogNameStr);
616 static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr);
617 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
618
619
620 wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
621 wxRect r;
622 self->GetFieldRect(i, r);
623 return r;
624 }
625 static const wxString wxPySplitterNameStr(wxT("splitter"));
626 static const wxString wxPySashNameStr(wxT("sashWindow"));
627 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
628
629 #include <wx/popupwin.h>
630
631
632 class wxPopupWindow : public wxWindow {
633 public:
634 wxPopupWindow(wxWindow *, int) { wxPyRaiseNotImplemented(); }
635 wxPopupWindow() { wxPyRaiseNotImplemented(); }
636 };
637
638 class wxPyPopupTransientWindow : public wxPopupWindow
639 {
640 public:
641 wxPyPopupTransientWindow(wxWindow *, int) { wxPyRaiseNotImplemented(); }
642 wxPyPopupTransientWindow() { wxPyRaiseNotImplemented(); }
643 };
644
645
646 #include <wx/tipwin.h>
647
648 wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength,wxRect *rectBound){
649 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
650 }
651
652 #include <wx/tipwin.h>
653
654
655 #include <wx/vscroll.h>
656
657
658 class wxPyVScrolledWindow : public wxVScrolledWindow
659 {
660 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow);
661 public:
662 wxPyVScrolledWindow() : wxVScrolledWindow() {}
663
664 wxPyVScrolledWindow(wxWindow *parent,
665 wxWindowID id = wxID_ANY,
666 const wxPoint& pos = wxDefaultPosition,
667 const wxSize& size = wxDefaultSize,
668 long style = 0,
669 const wxString& name = wxPyPanelNameStr)
670 : wxVScrolledWindow(parent, id, pos, size, style, name)
671 {}
672
673 // Overridable virtuals
674
675 // this function must be overridden in the derived class and it should
676 // return the height of the given line in pixels
677 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
678
679
680 // this function doesn't have to be overridden but it may be useful to do
681 // it if calculating the lines heights is a relatively expensive operation
682 // as it gives the user code a possibility to calculate several of them at
683 // once
684 //
685 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
686 // shouldn't rely on the latter being called for all lines in the interval
687 // specified here. It is also possible that OnGetLineHeight() will be
688 // called for the lines outside of this interval, so this is really just a
689 // hint, not a promise.
690 //
691 // finally note that lineMin is inclusive, while lineMax is exclusive, as
692 // usual
693 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
694
695
696 // when the number of lines changes, we try to estimate the total height
697 // of all lines which is a rather expensive operation in terms of lines
698 // access, so if the user code may estimate the average height
699 // better/faster than we do, it should override this function to implement
700 // its own logic
701 //
702 // this function should return the best guess for the total height it may
703 // make
704 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
705
706
707 // Also expose some other interesting protected methods
708
709
710 // find the index of the line we need to show at the top of the window such
711 // that the last (fully or partially) visible line is the given one
712 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = false)
713 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
714
715 // get the total height of the lines between lineMin (inclusive) and
716 // lineMax (exclusive)
717 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
718 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
719
720
721 PYPRIVATE;
722 };
723
724 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
725
726 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
727 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
728 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
729
730
731 // See my_fragments.i
732 SWIGSTATICINLINE(int)
733 SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val)
734 {
735 long v = 0;
736 if (SWIG_AsVal_long(obj, &v) && v < 0) {
737 PyErr_SetString(PyExc_TypeError, "negative value received for unsigned type");
738 return 0;
739 }
740 else if (val)
741 *val = (unsigned long)v;
742 return 1;
743 }
744
745
746 SWIGSTATICINLINE(unsigned long)
747 SWIG_As_unsigned_SS_long(PyObject* obj)
748 {
749 unsigned long v;
750 if (!SWIG_AsVal_unsigned_SS_long(obj, &v)) {
751 /*
752 this is needed to make valgrind/purify happier. the other
753 solution is throw an exception, but since this code should work
754 with plain C ....
755 */
756 memset((void*)&v, 0, sizeof(unsigned long));
757 }
758 return v;
759 }
760
761
762 SWIGSTATICINLINE(int)
763 SWIG_Check_unsigned_SS_long(PyObject* obj)
764 {
765 return SWIG_AsVal_unsigned_SS_long(obj, (unsigned long*)0);
766 }
767
768
769 SWIGSTATICINLINE(PyObject* )
770 SWIG_From_unsigned_SS_long(unsigned long value)
771 {
772 return (value > LONG_MAX) ?
773 PyLong_FromUnsignedLong(value)
774 : PyInt_FromLong(swig_numeric_cast(value,long));
775 }
776
777
778 #include <wx/vlbox.h>
779
780 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
781
782 class wxPyVListBox : public wxVListBox
783 {
784 DECLARE_ABSTRACT_CLASS(wxPyVListBox);
785 public:
786 wxPyVListBox() : wxVListBox() {}
787
788 wxPyVListBox(wxWindow *parent,
789 wxWindowID id = wxID_ANY,
790 const wxPoint& pos = wxDefaultPosition,
791 const wxSize& size = wxDefaultSize,
792 long style = 0,
793 const wxString& name = wxPyVListBoxNameStr)
794 : wxVListBox(parent, id, pos, size, style, name)
795 {}
796
797 // Overridable virtuals
798
799 // the derived class must implement this function to actually draw the item
800 // with the given index on the provided DC
801 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
802 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
803
804
805 // the derived class must implement this method to return the height of the
806 // specified item
807 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
808 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
809
810
811 // this method may be used to draw separators between the lines; note that
812 // the rectangle may be modified, typically to deflate it a bit before
813 // passing to OnDrawItem()
814 //
815 // the base class version doesn't do anything
816 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
817 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator);
818
819
820 // this method is used to draw the items background and, maybe, a border
821 // around it
822 //
823 // the base class version implements a reasonable default behaviour which
824 // consists in drawing the selected item with the standard background
825 // colour and drawing a border around the item if it is either selected or
826 // current
827 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
828 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
829
830
831 PYPRIVATE;
832 };
833
834 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
835
836 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
837 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
838 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawSeparator);
839 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
840
841
842 PyObject *wxPyVListBox_GetFirstSelected(wxPyVListBox *self){
843 unsigned long cookie = 0;
844 int selected = self->GetFirstSelected(cookie);
845 bool blocked = wxPyBeginBlockThreads();
846 PyObject* tup = PyTuple_New(2);
847 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
848 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
849 wxPyEndBlockThreads(blocked);
850 return tup;
851 }
852 PyObject *wxPyVListBox_GetNextSelected(wxPyVListBox *self,unsigned long cookie){
853 int selected = self->GetNextSelected(cookie);
854 bool blocked = wxPyBeginBlockThreads();
855 PyObject* tup = PyTuple_New(2);
856 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
857 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
858 wxPyEndBlockThreads(blocked);
859 return tup;
860 }
861
862 #include <wx/htmllbox.h>
863
864
865 class wxPyHtmlListBox : public wxHtmlListBox
866 {
867 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox);
868 public:
869 wxPyHtmlListBox() : wxHtmlListBox() {}
870
871 wxPyHtmlListBox(wxWindow *parent,
872 wxWindowID id = wxID_ANY,
873 const wxPoint& pos = wxDefaultPosition,
874 const wxSize& size = wxDefaultSize,
875 long style = 0,
876 const wxString& name = wxPyVListBoxNameStr)
877 : wxHtmlListBox(parent, id, pos, size, style, name)
878 {}
879
880 // Overridable virtuals
881
882 // this method must be implemented in the derived class and should return
883 // the body (i.e. without <html>) of the HTML for the given item
884 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
885
886 // this function may be overridden to decorate HTML returned by OnGetItem()
887 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
888
889 // TODO:
890 // // this method allows to customize the selection appearance: it may be used
891 // // to specify the colour of the text which normally has the given colour
892 // // colFg when it is inside the selection
893 // //
894 // // by default, the original colour is not used at all and all text has the
895 // // same (default for this system) colour inside selection
896 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
897
898 // // this is the same as GetSelectedTextColour() but allows to customize the
899 // // background colour -- this is even more rarely used as you can change it
900 // // globally using SetSelectionBackground()
901 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
902
903
904 PYPRIVATE;
905 };
906
907
908 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
909
910 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
911 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
912
913
914
915
916
917 #ifndef wxHAS_TASK_BAR_ICON
918 // implement dummy classes for platforms that don't have it
919
920 class wxTaskBarIcon : public wxEvtHandler
921 {
922 public:
923 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
924 };
925
926
927 class wxTaskBarIconEvent : public wxEvent
928 {
929 public:
930 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
931 { wxPyRaiseNotImplemented(); }
932 virtual wxEvent* Clone() const { return NULL; }
933 bool IsOk() const { return false; }
934 bool IsIconInstalled() const { return false; }
935 bool SetIcon(const wxIcon& icon, const wxString& tooltip = wxPyEmptyString) { return false; }
936 bool RemoveIcon() { return false; }
937 bool PopupMenu(wxMenu *menu) { return false; }
938 };
939
940 enum {
941 wxEVT_TASKBAR_MOVE = 0,
942 wxEVT_TASKBAR_LEFT_DOWN = 0,
943 wxEVT_TASKBAR_LEFT_UP = 0,
944 wxEVT_TASKBAR_RIGHT_DOWN = 0,
945 wxEVT_TASKBAR_RIGHT_UP = 0,
946 wxEVT_TASKBAR_LEFT_DCLICK = 0,
947 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
948 };
949
950
951 #else
952 // Otherwise make a class that can virtualize CreatePopupMenu
953 class wxPyTaskBarIcon : public wxTaskBarIcon
954 {
955 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon);
956 public:
957 wxPyTaskBarIcon() : wxTaskBarIcon()
958 {}
959
960 wxMenu* CreatePopupMenu() {
961 wxMenu *rval = NULL;
962 bool found;
963 bool blocked = wxPyBeginBlockThreads();
964 if ((found = wxPyCBH_findCallback(m_myInst, "CreatePopupMenu"))) {
965 PyObject* ro;
966 wxMenu* ptr;
967 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
968 if (ro) {
969 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxMenu")))
970 rval = ptr;
971 Py_DECREF(ro);
972 }
973 }
974 wxPyEndBlockThreads(blocked);
975 if (! found)
976 rval = wxTaskBarIcon::CreatePopupMenu();
977 return rval;
978 }
979
980 PYPRIVATE;
981 };
982
983 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon);
984
985 #endif
986
987 void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon *self){
988 self->RemoveIcon();
989 delete self;
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_IsActive(PyObject *, PyObject *args, PyObject *kwargs) {
3307 PyObject *resultobj;
3308 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3309 bool result;
3310 PyObject * obj0 = 0 ;
3311 char *kwnames[] = {
3312 (char *) "self", NULL
3313 };
3314
3315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsActive",kwnames,&obj0)) goto fail;
3316 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3317 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3318 {
3319 PyThreadState* __tstate = wxPyBeginAllowThreads();
3320 result = (bool)(arg1)->IsActive();
3321
3322 wxPyEndAllowThreads(__tstate);
3323 if (PyErr_Occurred()) SWIG_fail;
3324 }
3325 {
3326 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3327 }
3328 return resultobj;
3329 fail:
3330 return NULL;
3331 }
3332
3333
3334 static PyObject *_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject *, PyObject *args, PyObject *kwargs) {
3335 PyObject *resultobj;
3336 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3337 bool arg2 ;
3338 PyObject * obj0 = 0 ;
3339 PyObject * obj1 = 0 ;
3340 char *kwnames[] = {
3341 (char *) "self",(char *) "on", NULL
3342 };
3343
3344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames,&obj0,&obj1)) goto fail;
3345 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3346 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3347 arg2 = (bool)SWIG_As_bool(obj1);
3348 if (PyErr_Occurred()) SWIG_fail;
3349 {
3350 PyThreadState* __tstate = wxPyBeginAllowThreads();
3351 (arg1)->MacSetMetalAppearance(arg2);
3352
3353 wxPyEndAllowThreads(__tstate);
3354 if (PyErr_Occurred()) SWIG_fail;
3355 }
3356 Py_INCREF(Py_None); resultobj = Py_None;
3357 return resultobj;
3358 fail:
3359 return NULL;
3360 }
3361
3362
3363 static PyObject *_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject *, PyObject *args, PyObject *kwargs) {
3364 PyObject *resultobj;
3365 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3366 bool result;
3367 PyObject * obj0 = 0 ;
3368 char *kwnames[] = {
3369 (char *) "self", NULL
3370 };
3371
3372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_MacGetMetalAppearance",kwnames,&obj0)) goto fail;
3373 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3374 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3375 {
3376 PyThreadState* __tstate = wxPyBeginAllowThreads();
3377 result = (bool)((wxTopLevelWindow const *)arg1)->MacGetMetalAppearance();
3378
3379 wxPyEndAllowThreads(__tstate);
3380 if (PyErr_Occurred()) SWIG_fail;
3381 }
3382 {
3383 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3384 }
3385 return resultobj;
3386 fail:
3387 return NULL;
3388 }
3389
3390
3391 static PyObject * TopLevelWindow_swigregister(PyObject *, PyObject *args) {
3392 PyObject *obj;
3393 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3394 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj);
3395 Py_INCREF(obj);
3396 return Py_BuildValue((char *)"");
3397 }
3398 static PyObject *_wrap_new_Frame(PyObject *, PyObject *args, PyObject *kwargs) {
3399 PyObject *resultobj;
3400 wxWindow *arg1 = (wxWindow *) 0 ;
3401 int arg2 = (int) (int)-1 ;
3402 wxString const &arg3_defvalue = wxPyEmptyString ;
3403 wxString *arg3 = (wxString *) &arg3_defvalue ;
3404 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3405 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3406 wxSize const &arg5_defvalue = wxDefaultSize ;
3407 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3408 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
3409 wxString const &arg7_defvalue = wxPyFrameNameStr ;
3410 wxString *arg7 = (wxString *) &arg7_defvalue ;
3411 wxFrame *result;
3412 bool temp3 = false ;
3413 wxPoint temp4 ;
3414 wxSize temp5 ;
3415 bool temp7 = false ;
3416 PyObject * obj0 = 0 ;
3417 PyObject * obj1 = 0 ;
3418 PyObject * obj2 = 0 ;
3419 PyObject * obj3 = 0 ;
3420 PyObject * obj4 = 0 ;
3421 PyObject * obj5 = 0 ;
3422 PyObject * obj6 = 0 ;
3423 char *kwnames[] = {
3424 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3425 };
3426
3427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
3428 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
3429 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3430 if (obj1) {
3431 arg2 = (int)SWIG_As_int(obj1);
3432 if (PyErr_Occurred()) SWIG_fail;
3433 }
3434 if (obj2) {
3435 {
3436 arg3 = wxString_in_helper(obj2);
3437 if (arg3 == NULL) SWIG_fail;
3438 temp3 = true;
3439 }
3440 }
3441 if (obj3) {
3442 {
3443 arg4 = &temp4;
3444 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3445 }
3446 }
3447 if (obj4) {
3448 {
3449 arg5 = &temp5;
3450 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3451 }
3452 }
3453 if (obj5) {
3454 arg6 = (long)SWIG_As_long(obj5);
3455 if (PyErr_Occurred()) SWIG_fail;
3456 }
3457 if (obj6) {
3458 {
3459 arg7 = wxString_in_helper(obj6);
3460 if (arg7 == NULL) SWIG_fail;
3461 temp7 = true;
3462 }
3463 }
3464 {
3465 if (!wxPyCheckForApp()) SWIG_fail;
3466 PyThreadState* __tstate = wxPyBeginAllowThreads();
3467 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3468
3469 wxPyEndAllowThreads(__tstate);
3470 if (PyErr_Occurred()) SWIG_fail;
3471 }
3472 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFrame, 1);
3473 {
3474 if (temp3)
3475 delete arg3;
3476 }
3477 {
3478 if (temp7)
3479 delete arg7;
3480 }
3481 return resultobj;
3482 fail:
3483 {
3484 if (temp3)
3485 delete arg3;
3486 }
3487 {
3488 if (temp7)
3489 delete arg7;
3490 }
3491 return NULL;
3492 }
3493
3494
3495 static PyObject *_wrap_new_PreFrame(PyObject *, PyObject *args, PyObject *kwargs) {
3496 PyObject *resultobj;
3497 wxFrame *result;
3498 char *kwnames[] = {
3499 NULL
3500 };
3501
3502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail;
3503 {
3504 if (!wxPyCheckForApp()) SWIG_fail;
3505 PyThreadState* __tstate = wxPyBeginAllowThreads();
3506 result = (wxFrame *)new wxFrame();
3507
3508 wxPyEndAllowThreads(__tstate);
3509 if (PyErr_Occurred()) SWIG_fail;
3510 }
3511 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFrame, 1);
3512 return resultobj;
3513 fail:
3514 return NULL;
3515 }
3516
3517
3518 static PyObject *_wrap_Frame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
3519 PyObject *resultobj;
3520 wxFrame *arg1 = (wxFrame *) 0 ;
3521 wxWindow *arg2 = (wxWindow *) 0 ;
3522 int arg3 = (int) (int)-1 ;
3523 wxString const &arg4_defvalue = wxPyEmptyString ;
3524 wxString *arg4 = (wxString *) &arg4_defvalue ;
3525 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3526 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3527 wxSize const &arg6_defvalue = wxDefaultSize ;
3528 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3529 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
3530 wxString const &arg8_defvalue = wxPyFrameNameStr ;
3531 wxString *arg8 = (wxString *) &arg8_defvalue ;
3532 bool result;
3533 bool temp4 = false ;
3534 wxPoint temp5 ;
3535 wxSize temp6 ;
3536 bool temp8 = false ;
3537 PyObject * obj0 = 0 ;
3538 PyObject * obj1 = 0 ;
3539 PyObject * obj2 = 0 ;
3540 PyObject * obj3 = 0 ;
3541 PyObject * obj4 = 0 ;
3542 PyObject * obj5 = 0 ;
3543 PyObject * obj6 = 0 ;
3544 PyObject * obj7 = 0 ;
3545 char *kwnames[] = {
3546 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3547 };
3548
3549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3550 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3551 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3552 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
3553 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3554 if (obj2) {
3555 arg3 = (int)SWIG_As_int(obj2);
3556 if (PyErr_Occurred()) SWIG_fail;
3557 }
3558 if (obj3) {
3559 {
3560 arg4 = wxString_in_helper(obj3);
3561 if (arg4 == NULL) SWIG_fail;
3562 temp4 = true;
3563 }
3564 }
3565 if (obj4) {
3566 {
3567 arg5 = &temp5;
3568 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3569 }
3570 }
3571 if (obj5) {
3572 {
3573 arg6 = &temp6;
3574 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3575 }
3576 }
3577 if (obj6) {
3578 arg7 = (long)SWIG_As_long(obj6);
3579 if (PyErr_Occurred()) SWIG_fail;
3580 }
3581 if (obj7) {
3582 {
3583 arg8 = wxString_in_helper(obj7);
3584 if (arg8 == NULL) SWIG_fail;
3585 temp8 = true;
3586 }
3587 }
3588 {
3589 PyThreadState* __tstate = wxPyBeginAllowThreads();
3590 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3591
3592 wxPyEndAllowThreads(__tstate);
3593 if (PyErr_Occurred()) SWIG_fail;
3594 }
3595 {
3596 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3597 }
3598 {
3599 if (temp4)
3600 delete arg4;
3601 }
3602 {
3603 if (temp8)
3604 delete arg8;
3605 }
3606 return resultobj;
3607 fail:
3608 {
3609 if (temp4)
3610 delete arg4;
3611 }
3612 {
3613 if (temp8)
3614 delete arg8;
3615 }
3616 return NULL;
3617 }
3618
3619
3620 static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *, PyObject *args, PyObject *kwargs) {
3621 PyObject *resultobj;
3622 wxFrame *arg1 = (wxFrame *) 0 ;
3623 wxPoint result;
3624 PyObject * obj0 = 0 ;
3625 char *kwnames[] = {
3626 (char *) "self", NULL
3627 };
3628
3629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
3630 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3631 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3632 {
3633 PyThreadState* __tstate = wxPyBeginAllowThreads();
3634 result = ((wxFrame const *)arg1)->GetClientAreaOrigin();
3635
3636 wxPyEndAllowThreads(__tstate);
3637 if (PyErr_Occurred()) SWIG_fail;
3638 }
3639 {
3640 wxPoint * resultptr;
3641 resultptr = new wxPoint((wxPoint &) result);
3642 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
3643 }
3644 return resultobj;
3645 fail:
3646 return NULL;
3647 }
3648
3649
3650 static PyObject *_wrap_Frame_SendSizeEvent(PyObject *, PyObject *args, PyObject *kwargs) {
3651 PyObject *resultobj;
3652 wxFrame *arg1 = (wxFrame *) 0 ;
3653 PyObject * obj0 = 0 ;
3654 char *kwnames[] = {
3655 (char *) "self", NULL
3656 };
3657
3658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail;
3659 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3660 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3661 {
3662 PyThreadState* __tstate = wxPyBeginAllowThreads();
3663 (arg1)->SendSizeEvent();
3664
3665 wxPyEndAllowThreads(__tstate);
3666 if (PyErr_Occurred()) SWIG_fail;
3667 }
3668 Py_INCREF(Py_None); resultobj = Py_None;
3669 return resultobj;
3670 fail:
3671 return NULL;
3672 }
3673
3674
3675 static PyObject *_wrap_Frame_SetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) {
3676 PyObject *resultobj;
3677 wxFrame *arg1 = (wxFrame *) 0 ;
3678 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
3679 PyObject * obj0 = 0 ;
3680 PyObject * obj1 = 0 ;
3681 char *kwnames[] = {
3682 (char *) "self",(char *) "menubar", NULL
3683 };
3684
3685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail;
3686 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3687 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3688 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuBar,
3689 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3690 {
3691 PyThreadState* __tstate = wxPyBeginAllowThreads();
3692 (arg1)->SetMenuBar(arg2);
3693
3694 wxPyEndAllowThreads(__tstate);
3695 if (PyErr_Occurred()) SWIG_fail;
3696 }
3697 Py_INCREF(Py_None); resultobj = Py_None;
3698 return resultobj;
3699 fail:
3700 return NULL;
3701 }
3702
3703
3704 static PyObject *_wrap_Frame_GetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) {
3705 PyObject *resultobj;
3706 wxFrame *arg1 = (wxFrame *) 0 ;
3707 wxMenuBar *result;
3708 PyObject * obj0 = 0 ;
3709 char *kwnames[] = {
3710 (char *) "self", NULL
3711 };
3712
3713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail;
3714 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3715 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3716 {
3717 PyThreadState* __tstate = wxPyBeginAllowThreads();
3718 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
3719
3720 wxPyEndAllowThreads(__tstate);
3721 if (PyErr_Occurred()) SWIG_fail;
3722 }
3723 {
3724 resultobj = wxPyMake_wxObject(result, 0);
3725 }
3726 return resultobj;
3727 fail:
3728 return NULL;
3729 }
3730
3731
3732 static PyObject *_wrap_Frame_ProcessCommand(PyObject *, PyObject *args, PyObject *kwargs) {
3733 PyObject *resultobj;
3734 wxFrame *arg1 = (wxFrame *) 0 ;
3735 int arg2 ;
3736 bool result;
3737 PyObject * obj0 = 0 ;
3738 PyObject * obj1 = 0 ;
3739 char *kwnames[] = {
3740 (char *) "self",(char *) "winid", NULL
3741 };
3742
3743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) goto fail;
3744 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3745 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3746 arg2 = (int)SWIG_As_int(obj1);
3747 if (PyErr_Occurred()) SWIG_fail;
3748 {
3749 PyThreadState* __tstate = wxPyBeginAllowThreads();
3750 result = (bool)(arg1)->ProcessCommand(arg2);
3751
3752 wxPyEndAllowThreads(__tstate);
3753 if (PyErr_Occurred()) SWIG_fail;
3754 }
3755 {
3756 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3757 }
3758 return resultobj;
3759 fail:
3760 return NULL;
3761 }
3762
3763
3764 static PyObject *_wrap_Frame_CreateStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
3765 PyObject *resultobj;
3766 wxFrame *arg1 = (wxFrame *) 0 ;
3767 int arg2 = (int) 1 ;
3768 long arg3 = (long) wxST_SIZEGRIP ;
3769 int arg4 = (int) 0 ;
3770 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
3771 wxString *arg5 = (wxString *) &arg5_defvalue ;
3772 wxStatusBar *result;
3773 bool temp5 = false ;
3774 PyObject * obj0 = 0 ;
3775 PyObject * obj1 = 0 ;
3776 PyObject * obj2 = 0 ;
3777 PyObject * obj3 = 0 ;
3778 PyObject * obj4 = 0 ;
3779 char *kwnames[] = {
3780 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3781 };
3782
3783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
3784 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3785 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3786 if (obj1) {
3787 arg2 = (int)SWIG_As_int(obj1);
3788 if (PyErr_Occurred()) SWIG_fail;
3789 }
3790 if (obj2) {
3791 arg3 = (long)SWIG_As_long(obj2);
3792 if (PyErr_Occurred()) SWIG_fail;
3793 }
3794 if (obj3) {
3795 arg4 = (int)SWIG_As_int(obj3);
3796 if (PyErr_Occurred()) SWIG_fail;
3797 }
3798 if (obj4) {
3799 {
3800 arg5 = wxString_in_helper(obj4);
3801 if (arg5 == NULL) SWIG_fail;
3802 temp5 = true;
3803 }
3804 }
3805 {
3806 PyThreadState* __tstate = wxPyBeginAllowThreads();
3807 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
3808
3809 wxPyEndAllowThreads(__tstate);
3810 if (PyErr_Occurred()) SWIG_fail;
3811 }
3812 {
3813 resultobj = wxPyMake_wxObject(result, 0);
3814 }
3815 {
3816 if (temp5)
3817 delete arg5;
3818 }
3819 return resultobj;
3820 fail:
3821 {
3822 if (temp5)
3823 delete arg5;
3824 }
3825 return NULL;
3826 }
3827
3828
3829 static PyObject *_wrap_Frame_GetStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
3830 PyObject *resultobj;
3831 wxFrame *arg1 = (wxFrame *) 0 ;
3832 wxStatusBar *result;
3833 PyObject * obj0 = 0 ;
3834 char *kwnames[] = {
3835 (char *) "self", NULL
3836 };
3837
3838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail;
3839 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3840 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3841 {
3842 PyThreadState* __tstate = wxPyBeginAllowThreads();
3843 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
3844
3845 wxPyEndAllowThreads(__tstate);
3846 if (PyErr_Occurred()) SWIG_fail;
3847 }
3848 {
3849 resultobj = wxPyMake_wxObject(result, 0);
3850 }
3851 return resultobj;
3852 fail:
3853 return NULL;
3854 }
3855
3856
3857 static PyObject *_wrap_Frame_SetStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
3858 PyObject *resultobj;
3859 wxFrame *arg1 = (wxFrame *) 0 ;
3860 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
3861 PyObject * obj0 = 0 ;
3862 PyObject * obj1 = 0 ;
3863 char *kwnames[] = {
3864 (char *) "self",(char *) "statBar", NULL
3865 };
3866
3867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail;
3868 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3869 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3870 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxStatusBar,
3871 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3872 {
3873 PyThreadState* __tstate = wxPyBeginAllowThreads();
3874 (arg1)->SetStatusBar(arg2);
3875
3876 wxPyEndAllowThreads(__tstate);
3877 if (PyErr_Occurred()) SWIG_fail;
3878 }
3879 Py_INCREF(Py_None); resultobj = Py_None;
3880 return resultobj;
3881 fail:
3882 return NULL;
3883 }
3884
3885
3886 static PyObject *_wrap_Frame_SetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
3887 PyObject *resultobj;
3888 wxFrame *arg1 = (wxFrame *) 0 ;
3889 wxString *arg2 = 0 ;
3890 int arg3 = (int) 0 ;
3891 bool temp2 = false ;
3892 PyObject * obj0 = 0 ;
3893 PyObject * obj1 = 0 ;
3894 PyObject * obj2 = 0 ;
3895 char *kwnames[] = {
3896 (char *) "self",(char *) "text",(char *) "number", NULL
3897 };
3898
3899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
3900 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3901 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3902 {
3903 arg2 = wxString_in_helper(obj1);
3904 if (arg2 == NULL) SWIG_fail;
3905 temp2 = true;
3906 }
3907 if (obj2) {
3908 arg3 = (int)SWIG_As_int(obj2);
3909 if (PyErr_Occurred()) SWIG_fail;
3910 }
3911 {
3912 PyThreadState* __tstate = wxPyBeginAllowThreads();
3913 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
3914
3915 wxPyEndAllowThreads(__tstate);
3916 if (PyErr_Occurred()) SWIG_fail;
3917 }
3918 Py_INCREF(Py_None); resultobj = Py_None;
3919 {
3920 if (temp2)
3921 delete arg2;
3922 }
3923 return resultobj;
3924 fail:
3925 {
3926 if (temp2)
3927 delete arg2;
3928 }
3929 return NULL;
3930 }
3931
3932
3933 static PyObject *_wrap_Frame_SetStatusWidths(PyObject *, PyObject *args, PyObject *kwargs) {
3934 PyObject *resultobj;
3935 wxFrame *arg1 = (wxFrame *) 0 ;
3936 int arg2 ;
3937 int *arg3 = (int *) 0 ;
3938 PyObject * obj0 = 0 ;
3939 PyObject * obj1 = 0 ;
3940 char *kwnames[] = {
3941 (char *) "self",(char *) "widths", NULL
3942 };
3943
3944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
3945 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3946 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3947 {
3948 arg2 = PyList_Size(obj1);
3949 arg3 = int_LIST_helper(obj1);
3950 if (arg3 == NULL) SWIG_fail;
3951 }
3952 {
3953 PyThreadState* __tstate = wxPyBeginAllowThreads();
3954 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
3955
3956 wxPyEndAllowThreads(__tstate);
3957 if (PyErr_Occurred()) SWIG_fail;
3958 }
3959 Py_INCREF(Py_None); resultobj = Py_None;
3960 {
3961 if (arg3) delete [] arg3;
3962 }
3963 return resultobj;
3964 fail:
3965 {
3966 if (arg3) delete [] arg3;
3967 }
3968 return NULL;
3969 }
3970
3971
3972 static PyObject *_wrap_Frame_PushStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
3973 PyObject *resultobj;
3974 wxFrame *arg1 = (wxFrame *) 0 ;
3975 wxString *arg2 = 0 ;
3976 int arg3 = (int) 0 ;
3977 bool temp2 = false ;
3978 PyObject * obj0 = 0 ;
3979 PyObject * obj1 = 0 ;
3980 PyObject * obj2 = 0 ;
3981 char *kwnames[] = {
3982 (char *) "self",(char *) "text",(char *) "number", NULL
3983 };
3984
3985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
3986 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3987 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3988 {
3989 arg2 = wxString_in_helper(obj1);
3990 if (arg2 == NULL) SWIG_fail;
3991 temp2 = true;
3992 }
3993 if (obj2) {
3994 arg3 = (int)SWIG_As_int(obj2);
3995 if (PyErr_Occurred()) SWIG_fail;
3996 }
3997 {
3998 PyThreadState* __tstate = wxPyBeginAllowThreads();
3999 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
4000
4001 wxPyEndAllowThreads(__tstate);
4002 if (PyErr_Occurred()) SWIG_fail;
4003 }
4004 Py_INCREF(Py_None); resultobj = Py_None;
4005 {
4006 if (temp2)
4007 delete arg2;
4008 }
4009 return resultobj;
4010 fail:
4011 {
4012 if (temp2)
4013 delete arg2;
4014 }
4015 return NULL;
4016 }
4017
4018
4019 static PyObject *_wrap_Frame_PopStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
4020 PyObject *resultobj;
4021 wxFrame *arg1 = (wxFrame *) 0 ;
4022 int arg2 = (int) 0 ;
4023 PyObject * obj0 = 0 ;
4024 PyObject * obj1 = 0 ;
4025 char *kwnames[] = {
4026 (char *) "self",(char *) "number", NULL
4027 };
4028
4029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
4030 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4031 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4032 if (obj1) {
4033 arg2 = (int)SWIG_As_int(obj1);
4034 if (PyErr_Occurred()) SWIG_fail;
4035 }
4036 {
4037 PyThreadState* __tstate = wxPyBeginAllowThreads();
4038 (arg1)->PopStatusText(arg2);
4039
4040 wxPyEndAllowThreads(__tstate);
4041 if (PyErr_Occurred()) SWIG_fail;
4042 }
4043 Py_INCREF(Py_None); resultobj = Py_None;
4044 return resultobj;
4045 fail:
4046 return NULL;
4047 }
4048
4049
4050 static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *, PyObject *args, PyObject *kwargs) {
4051 PyObject *resultobj;
4052 wxFrame *arg1 = (wxFrame *) 0 ;
4053 int arg2 ;
4054 PyObject * obj0 = 0 ;
4055 PyObject * obj1 = 0 ;
4056 char *kwnames[] = {
4057 (char *) "self",(char *) "n", NULL
4058 };
4059
4060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) goto fail;
4061 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4062 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4063 arg2 = (int)SWIG_As_int(obj1);
4064 if (PyErr_Occurred()) SWIG_fail;
4065 {
4066 PyThreadState* __tstate = wxPyBeginAllowThreads();
4067 (arg1)->SetStatusBarPane(arg2);
4068
4069 wxPyEndAllowThreads(__tstate);
4070 if (PyErr_Occurred()) SWIG_fail;
4071 }
4072 Py_INCREF(Py_None); resultobj = Py_None;
4073 return resultobj;
4074 fail:
4075 return NULL;
4076 }
4077
4078
4079 static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *, PyObject *args, PyObject *kwargs) {
4080 PyObject *resultobj;
4081 wxFrame *arg1 = (wxFrame *) 0 ;
4082 int result;
4083 PyObject * obj0 = 0 ;
4084 char *kwnames[] = {
4085 (char *) "self", NULL
4086 };
4087
4088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail;
4089 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4090 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4091 {
4092 PyThreadState* __tstate = wxPyBeginAllowThreads();
4093 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
4094
4095 wxPyEndAllowThreads(__tstate);
4096 if (PyErr_Occurred()) SWIG_fail;
4097 }
4098 resultobj = SWIG_From_int((int)result);
4099 return resultobj;
4100 fail:
4101 return NULL;
4102 }
4103
4104
4105 static PyObject *_wrap_Frame_CreateToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
4106 PyObject *resultobj;
4107 wxFrame *arg1 = (wxFrame *) 0 ;
4108 long arg2 = (long) -1 ;
4109 int arg3 = (int) -1 ;
4110 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
4111 wxString *arg4 = (wxString *) &arg4_defvalue ;
4112 wxToolBar *result;
4113 bool temp4 = false ;
4114 PyObject * obj0 = 0 ;
4115 PyObject * obj1 = 0 ;
4116 PyObject * obj2 = 0 ;
4117 PyObject * obj3 = 0 ;
4118 char *kwnames[] = {
4119 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
4120 };
4121
4122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
4123 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4124 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4125 if (obj1) {
4126 arg2 = (long)SWIG_As_long(obj1);
4127 if (PyErr_Occurred()) SWIG_fail;
4128 }
4129 if (obj2) {
4130 arg3 = (int)SWIG_As_int(obj2);
4131 if (PyErr_Occurred()) SWIG_fail;
4132 }
4133 if (obj3) {
4134 {
4135 arg4 = wxString_in_helper(obj3);
4136 if (arg4 == NULL) SWIG_fail;
4137 temp4 = true;
4138 }
4139 }
4140 {
4141 PyThreadState* __tstate = wxPyBeginAllowThreads();
4142 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
4143
4144 wxPyEndAllowThreads(__tstate);
4145 if (PyErr_Occurred()) SWIG_fail;
4146 }
4147 {
4148 resultobj = wxPyMake_wxObject(result, 0);
4149 }
4150 {
4151 if (temp4)
4152 delete arg4;
4153 }
4154 return resultobj;
4155 fail:
4156 {
4157 if (temp4)
4158 delete arg4;
4159 }
4160 return NULL;
4161 }
4162
4163
4164 static PyObject *_wrap_Frame_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
4165 PyObject *resultobj;
4166 wxFrame *arg1 = (wxFrame *) 0 ;
4167 wxToolBar *result;
4168 PyObject * obj0 = 0 ;
4169 char *kwnames[] = {
4170 (char *) "self", NULL
4171 };
4172
4173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail;
4174 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4175 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4176 {
4177 PyThreadState* __tstate = wxPyBeginAllowThreads();
4178 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
4179
4180 wxPyEndAllowThreads(__tstate);
4181 if (PyErr_Occurred()) SWIG_fail;
4182 }
4183 {
4184 resultobj = wxPyMake_wxObject(result, 0);
4185 }
4186 return resultobj;
4187 fail:
4188 return NULL;
4189 }
4190
4191
4192 static PyObject *_wrap_Frame_SetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
4193 PyObject *resultobj;
4194 wxFrame *arg1 = (wxFrame *) 0 ;
4195 wxToolBar *arg2 = (wxToolBar *) 0 ;
4196 PyObject * obj0 = 0 ;
4197 PyObject * obj1 = 0 ;
4198 char *kwnames[] = {
4199 (char *) "self",(char *) "toolbar", NULL
4200 };
4201
4202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
4203 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4205 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBar,
4206 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4207 {
4208 PyThreadState* __tstate = wxPyBeginAllowThreads();
4209 (arg1)->SetToolBar(arg2);
4210
4211 wxPyEndAllowThreads(__tstate);
4212 if (PyErr_Occurred()) SWIG_fail;
4213 }
4214 Py_INCREF(Py_None); resultobj = Py_None;
4215 return resultobj;
4216 fail:
4217 return NULL;
4218 }
4219
4220
4221 static PyObject *_wrap_Frame_DoGiveHelp(PyObject *, PyObject *args, PyObject *kwargs) {
4222 PyObject *resultobj;
4223 wxFrame *arg1 = (wxFrame *) 0 ;
4224 wxString *arg2 = 0 ;
4225 bool arg3 ;
4226 bool temp2 = false ;
4227 PyObject * obj0 = 0 ;
4228 PyObject * obj1 = 0 ;
4229 PyObject * obj2 = 0 ;
4230 char *kwnames[] = {
4231 (char *) "self",(char *) "text",(char *) "show", NULL
4232 };
4233
4234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
4235 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4236 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4237 {
4238 arg2 = wxString_in_helper(obj1);
4239 if (arg2 == NULL) SWIG_fail;
4240 temp2 = true;
4241 }
4242 arg3 = (bool)SWIG_As_bool(obj2);
4243 if (PyErr_Occurred()) SWIG_fail;
4244 {
4245 PyThreadState* __tstate = wxPyBeginAllowThreads();
4246 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
4247
4248 wxPyEndAllowThreads(__tstate);
4249 if (PyErr_Occurred()) SWIG_fail;
4250 }
4251 Py_INCREF(Py_None); resultobj = Py_None;
4252 {
4253 if (temp2)
4254 delete arg2;
4255 }
4256 return resultobj;
4257 fail:
4258 {
4259 if (temp2)
4260 delete arg2;
4261 }
4262 return NULL;
4263 }
4264
4265
4266 static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *, PyObject *args, PyObject *kwargs) {
4267 PyObject *resultobj;
4268 wxFrame *arg1 = (wxFrame *) 0 ;
4269 wxMenu *arg2 = (wxMenu *) NULL ;
4270 PyObject * obj0 = 0 ;
4271 PyObject * obj1 = 0 ;
4272 char *kwnames[] = {
4273 (char *) "self",(char *) "menu", NULL
4274 };
4275
4276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail;
4277 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4278 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4279 if (obj1) {
4280 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
4281 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4282 }
4283 {
4284 PyThreadState* __tstate = wxPyBeginAllowThreads();
4285 (arg1)->DoMenuUpdates(arg2);
4286
4287 wxPyEndAllowThreads(__tstate);
4288 if (PyErr_Occurred()) SWIG_fail;
4289 }
4290 Py_INCREF(Py_None); resultobj = Py_None;
4291 return resultobj;
4292 fail:
4293 return NULL;
4294 }
4295
4296
4297 static PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
4298 PyObject *resultobj;
4299 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
4300 wxVisualAttributes result;
4301 PyObject * obj0 = 0 ;
4302 char *kwnames[] = {
4303 (char *) "variant", NULL
4304 };
4305
4306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4307 if (obj0) {
4308 arg1 = (int)SWIG_As_int(obj0);
4309 if (PyErr_Occurred()) SWIG_fail;
4310 }
4311 {
4312 if (!wxPyCheckForApp()) SWIG_fail;
4313 PyThreadState* __tstate = wxPyBeginAllowThreads();
4314 result = wxFrame::GetClassDefaultAttributes((wxWindowVariant )arg1);
4315
4316 wxPyEndAllowThreads(__tstate);
4317 if (PyErr_Occurred()) SWIG_fail;
4318 }
4319 {
4320 wxVisualAttributes * resultptr;
4321 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
4322 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4323 }
4324 return resultobj;
4325 fail:
4326 return NULL;
4327 }
4328
4329
4330 static PyObject * Frame_swigregister(PyObject *, PyObject *args) {
4331 PyObject *obj;
4332 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4333 SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj);
4334 Py_INCREF(obj);
4335 return Py_BuildValue((char *)"");
4336 }
4337 static PyObject *_wrap_new_Dialog(PyObject *, PyObject *args, PyObject *kwargs) {
4338 PyObject *resultobj;
4339 wxWindow *arg1 = (wxWindow *) 0 ;
4340 int arg2 = (int) (int)-1 ;
4341 wxString const &arg3_defvalue = wxPyEmptyString ;
4342 wxString *arg3 = (wxString *) &arg3_defvalue ;
4343 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4344 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4345 wxSize const &arg5_defvalue = wxDefaultSize ;
4346 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4347 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
4348 wxString const &arg7_defvalue = wxPyDialogNameStr ;
4349 wxString *arg7 = (wxString *) &arg7_defvalue ;
4350 wxDialog *result;
4351 bool temp3 = false ;
4352 wxPoint temp4 ;
4353 wxSize temp5 ;
4354 bool temp7 = false ;
4355 PyObject * obj0 = 0 ;
4356 PyObject * obj1 = 0 ;
4357 PyObject * obj2 = 0 ;
4358 PyObject * obj3 = 0 ;
4359 PyObject * obj4 = 0 ;
4360 PyObject * obj5 = 0 ;
4361 PyObject * obj6 = 0 ;
4362 char *kwnames[] = {
4363 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4364 };
4365
4366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4367 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4368 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4369 if (obj1) {
4370 arg2 = (int)SWIG_As_int(obj1);
4371 if (PyErr_Occurred()) SWIG_fail;
4372 }
4373 if (obj2) {
4374 {
4375 arg3 = wxString_in_helper(obj2);
4376 if (arg3 == NULL) SWIG_fail;
4377 temp3 = true;
4378 }
4379 }
4380 if (obj3) {
4381 {
4382 arg4 = &temp4;
4383 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4384 }
4385 }
4386 if (obj4) {
4387 {
4388 arg5 = &temp5;
4389 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4390 }
4391 }
4392 if (obj5) {
4393 arg6 = (long)SWIG_As_long(obj5);
4394 if (PyErr_Occurred()) SWIG_fail;
4395 }
4396 if (obj6) {
4397 {
4398 arg7 = wxString_in_helper(obj6);
4399 if (arg7 == NULL) SWIG_fail;
4400 temp7 = true;
4401 }
4402 }
4403 {
4404 if (!wxPyCheckForApp()) SWIG_fail;
4405 PyThreadState* __tstate = wxPyBeginAllowThreads();
4406 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4407
4408 wxPyEndAllowThreads(__tstate);
4409 if (PyErr_Occurred()) SWIG_fail;
4410 }
4411 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
4412 {
4413 if (temp3)
4414 delete arg3;
4415 }
4416 {
4417 if (temp7)
4418 delete arg7;
4419 }
4420 return resultobj;
4421 fail:
4422 {
4423 if (temp3)
4424 delete arg3;
4425 }
4426 {
4427 if (temp7)
4428 delete arg7;
4429 }
4430 return NULL;
4431 }
4432
4433
4434 static PyObject *_wrap_new_PreDialog(PyObject *, PyObject *args, PyObject *kwargs) {
4435 PyObject *resultobj;
4436 wxDialog *result;
4437 char *kwnames[] = {
4438 NULL
4439 };
4440
4441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail;
4442 {
4443 if (!wxPyCheckForApp()) SWIG_fail;
4444 PyThreadState* __tstate = wxPyBeginAllowThreads();
4445 result = (wxDialog *)new wxDialog();
4446
4447 wxPyEndAllowThreads(__tstate);
4448 if (PyErr_Occurred()) SWIG_fail;
4449 }
4450 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
4451 return resultobj;
4452 fail:
4453 return NULL;
4454 }
4455
4456
4457 static PyObject *_wrap_Dialog_Create(PyObject *, PyObject *args, PyObject *kwargs) {
4458 PyObject *resultobj;
4459 wxDialog *arg1 = (wxDialog *) 0 ;
4460 wxWindow *arg2 = (wxWindow *) 0 ;
4461 int arg3 = (int) (int)-1 ;
4462 wxString const &arg4_defvalue = wxPyEmptyString ;
4463 wxString *arg4 = (wxString *) &arg4_defvalue ;
4464 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4465 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4466 wxSize const &arg6_defvalue = wxDefaultSize ;
4467 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4468 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
4469 wxString const &arg8_defvalue = wxPyDialogNameStr ;
4470 wxString *arg8 = (wxString *) &arg8_defvalue ;
4471 bool result;
4472 bool temp4 = false ;
4473 wxPoint temp5 ;
4474 wxSize temp6 ;
4475 bool temp8 = false ;
4476 PyObject * obj0 = 0 ;
4477 PyObject * obj1 = 0 ;
4478 PyObject * obj2 = 0 ;
4479 PyObject * obj3 = 0 ;
4480 PyObject * obj4 = 0 ;
4481 PyObject * obj5 = 0 ;
4482 PyObject * obj6 = 0 ;
4483 PyObject * obj7 = 0 ;
4484 char *kwnames[] = {
4485 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4486 };
4487
4488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4489 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4490 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4491 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4492 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4493 if (obj2) {
4494 arg3 = (int)SWIG_As_int(obj2);
4495 if (PyErr_Occurred()) SWIG_fail;
4496 }
4497 if (obj3) {
4498 {
4499 arg4 = wxString_in_helper(obj3);
4500 if (arg4 == NULL) SWIG_fail;
4501 temp4 = true;
4502 }
4503 }
4504 if (obj4) {
4505 {
4506 arg5 = &temp5;
4507 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4508 }
4509 }
4510 if (obj5) {
4511 {
4512 arg6 = &temp6;
4513 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4514 }
4515 }
4516 if (obj6) {
4517 arg7 = (long)SWIG_As_long(obj6);
4518 if (PyErr_Occurred()) SWIG_fail;
4519 }
4520 if (obj7) {
4521 {
4522 arg8 = wxString_in_helper(obj7);
4523 if (arg8 == NULL) SWIG_fail;
4524 temp8 = true;
4525 }
4526 }
4527 {
4528 PyThreadState* __tstate = wxPyBeginAllowThreads();
4529 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4530
4531 wxPyEndAllowThreads(__tstate);
4532 if (PyErr_Occurred()) SWIG_fail;
4533 }
4534 {
4535 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4536 }
4537 {
4538 if (temp4)
4539 delete arg4;
4540 }
4541 {
4542 if (temp8)
4543 delete arg8;
4544 }
4545 return resultobj;
4546 fail:
4547 {
4548 if (temp4)
4549 delete arg4;
4550 }
4551 {
4552 if (temp8)
4553 delete arg8;
4554 }
4555 return NULL;
4556 }
4557
4558
4559 static PyObject *_wrap_Dialog_SetReturnCode(PyObject *, PyObject *args, PyObject *kwargs) {
4560 PyObject *resultobj;
4561 wxDialog *arg1 = (wxDialog *) 0 ;
4562 int arg2 ;
4563 PyObject * obj0 = 0 ;
4564 PyObject * obj1 = 0 ;
4565 char *kwnames[] = {
4566 (char *) "self",(char *) "returnCode", NULL
4567 };
4568
4569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) goto fail;
4570 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4571 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4572 arg2 = (int)SWIG_As_int(obj1);
4573 if (PyErr_Occurred()) SWIG_fail;
4574 {
4575 PyThreadState* __tstate = wxPyBeginAllowThreads();
4576 (arg1)->SetReturnCode(arg2);
4577
4578 wxPyEndAllowThreads(__tstate);
4579 if (PyErr_Occurred()) SWIG_fail;
4580 }
4581 Py_INCREF(Py_None); resultobj = Py_None;
4582 return resultobj;
4583 fail:
4584 return NULL;
4585 }
4586
4587
4588 static PyObject *_wrap_Dialog_GetReturnCode(PyObject *, PyObject *args, PyObject *kwargs) {
4589 PyObject *resultobj;
4590 wxDialog *arg1 = (wxDialog *) 0 ;
4591 int result;
4592 PyObject * obj0 = 0 ;
4593 char *kwnames[] = {
4594 (char *) "self", NULL
4595 };
4596
4597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail;
4598 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4599 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4600 {
4601 PyThreadState* __tstate = wxPyBeginAllowThreads();
4602 result = (int)((wxDialog const *)arg1)->GetReturnCode();
4603
4604 wxPyEndAllowThreads(__tstate);
4605 if (PyErr_Occurred()) SWIG_fail;
4606 }
4607 resultobj = SWIG_From_int((int)result);
4608 return resultobj;
4609 fail:
4610 return NULL;
4611 }
4612
4613
4614 static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *, PyObject *args, PyObject *kwargs) {
4615 PyObject *resultobj;
4616 wxDialog *arg1 = (wxDialog *) 0 ;
4617 wxString *arg2 = 0 ;
4618 wxSizer *result;
4619 bool temp2 = false ;
4620 PyObject * obj0 = 0 ;
4621 PyObject * obj1 = 0 ;
4622 char *kwnames[] = {
4623 (char *) "self",(char *) "message", NULL
4624 };
4625
4626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail;
4627 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4628 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4629 {
4630 arg2 = wxString_in_helper(obj1);
4631 if (arg2 == NULL) SWIG_fail;
4632 temp2 = true;
4633 }
4634 {
4635 PyThreadState* __tstate = wxPyBeginAllowThreads();
4636 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
4637
4638 wxPyEndAllowThreads(__tstate);
4639 if (PyErr_Occurred()) SWIG_fail;
4640 }
4641 {
4642 resultobj = wxPyMake_wxSizer(result, 0);
4643 }
4644 {
4645 if (temp2)
4646 delete arg2;
4647 }
4648 return resultobj;
4649 fail:
4650 {
4651 if (temp2)
4652 delete arg2;
4653 }
4654 return NULL;
4655 }
4656
4657
4658 static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *, PyObject *args, PyObject *kwargs) {
4659 PyObject *resultobj;
4660 wxDialog *arg1 = (wxDialog *) 0 ;
4661 long arg2 ;
4662 wxSizer *result;
4663 PyObject * obj0 = 0 ;
4664 PyObject * obj1 = 0 ;
4665 char *kwnames[] = {
4666 (char *) "self",(char *) "flags", NULL
4667 };
4668
4669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1)) goto fail;
4670 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4671 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4672 arg2 = (long)SWIG_As_long(obj1);
4673 if (PyErr_Occurred()) SWIG_fail;
4674 {
4675 PyThreadState* __tstate = wxPyBeginAllowThreads();
4676 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
4677
4678 wxPyEndAllowThreads(__tstate);
4679 if (PyErr_Occurred()) SWIG_fail;
4680 }
4681 {
4682 resultobj = wxPyMake_wxSizer(result, 0);
4683 }
4684 return resultobj;
4685 fail:
4686 return NULL;
4687 }
4688
4689
4690 static PyObject *_wrap_Dialog_IsModal(PyObject *, PyObject *args, PyObject *kwargs) {
4691 PyObject *resultobj;
4692 wxDialog *arg1 = (wxDialog *) 0 ;
4693 bool result;
4694 PyObject * obj0 = 0 ;
4695 char *kwnames[] = {
4696 (char *) "self", NULL
4697 };
4698
4699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",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 = (bool)((wxDialog const *)arg1)->IsModal();
4705
4706 wxPyEndAllowThreads(__tstate);
4707 if (PyErr_Occurred()) SWIG_fail;
4708 }
4709 {
4710 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4711 }
4712 return resultobj;
4713 fail:
4714 return NULL;
4715 }
4716
4717
4718 static PyObject *_wrap_Dialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
4719 PyObject *resultobj;
4720 wxDialog *arg1 = (wxDialog *) 0 ;
4721 int result;
4722 PyObject * obj0 = 0 ;
4723 char *kwnames[] = {
4724 (char *) "self", NULL
4725 };
4726
4727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail;
4728 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4730 {
4731 PyThreadState* __tstate = wxPyBeginAllowThreads();
4732 result = (int)(arg1)->ShowModal();
4733
4734 wxPyEndAllowThreads(__tstate);
4735 if (PyErr_Occurred()) SWIG_fail;
4736 }
4737 resultobj = SWIG_From_int((int)result);
4738 return resultobj;
4739 fail:
4740 return NULL;
4741 }
4742
4743
4744 static PyObject *_wrap_Dialog_EndModal(PyObject *, PyObject *args, PyObject *kwargs) {
4745 PyObject *resultobj;
4746 wxDialog *arg1 = (wxDialog *) 0 ;
4747 int arg2 ;
4748 PyObject * obj0 = 0 ;
4749 PyObject * obj1 = 0 ;
4750 char *kwnames[] = {
4751 (char *) "self",(char *) "retCode", NULL
4752 };
4753
4754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) goto fail;
4755 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4756 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4757 arg2 = (int)SWIG_As_int(obj1);
4758 if (PyErr_Occurred()) SWIG_fail;
4759 {
4760 PyThreadState* __tstate = wxPyBeginAllowThreads();
4761 (arg1)->EndModal(arg2);
4762
4763 wxPyEndAllowThreads(__tstate);
4764 if (PyErr_Occurred()) SWIG_fail;
4765 }
4766 Py_INCREF(Py_None); resultobj = Py_None;
4767 return resultobj;
4768 fail:
4769 return NULL;
4770 }
4771
4772
4773 static PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
4774 PyObject *resultobj;
4775 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
4776 wxVisualAttributes result;
4777 PyObject * obj0 = 0 ;
4778 char *kwnames[] = {
4779 (char *) "variant", NULL
4780 };
4781
4782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4783 if (obj0) {
4784 arg1 = (int)SWIG_As_int(obj0);
4785 if (PyErr_Occurred()) SWIG_fail;
4786 }
4787 {
4788 if (!wxPyCheckForApp()) SWIG_fail;
4789 PyThreadState* __tstate = wxPyBeginAllowThreads();
4790 result = wxDialog::GetClassDefaultAttributes((wxWindowVariant )arg1);
4791
4792 wxPyEndAllowThreads(__tstate);
4793 if (PyErr_Occurred()) SWIG_fail;
4794 }
4795 {
4796 wxVisualAttributes * resultptr;
4797 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
4798 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4799 }
4800 return resultobj;
4801 fail:
4802 return NULL;
4803 }
4804
4805
4806 static PyObject * Dialog_swigregister(PyObject *, PyObject *args) {
4807 PyObject *obj;
4808 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4809 SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj);
4810 Py_INCREF(obj);
4811 return Py_BuildValue((char *)"");
4812 }
4813 static PyObject *_wrap_new_MiniFrame(PyObject *, PyObject *args, PyObject *kwargs) {
4814 PyObject *resultobj;
4815 wxWindow *arg1 = (wxWindow *) 0 ;
4816 int arg2 = (int) (int)-1 ;
4817 wxString const &arg3_defvalue = wxPyEmptyString ;
4818 wxString *arg3 = (wxString *) &arg3_defvalue ;
4819 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4820 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4821 wxSize const &arg5_defvalue = wxDefaultSize ;
4822 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4823 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
4824 wxString const &arg7_defvalue = wxPyFrameNameStr ;
4825 wxString *arg7 = (wxString *) &arg7_defvalue ;
4826 wxMiniFrame *result;
4827 bool temp3 = false ;
4828 wxPoint temp4 ;
4829 wxSize temp5 ;
4830 bool temp7 = false ;
4831 PyObject * obj0 = 0 ;
4832 PyObject * obj1 = 0 ;
4833 PyObject * obj2 = 0 ;
4834 PyObject * obj3 = 0 ;
4835 PyObject * obj4 = 0 ;
4836 PyObject * obj5 = 0 ;
4837 PyObject * obj6 = 0 ;
4838 char *kwnames[] = {
4839 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4840 };
4841
4842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4843 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4844 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4845 if (obj1) {
4846 arg2 = (int)SWIG_As_int(obj1);
4847 if (PyErr_Occurred()) SWIG_fail;
4848 }
4849 if (obj2) {
4850 {
4851 arg3 = wxString_in_helper(obj2);
4852 if (arg3 == NULL) SWIG_fail;
4853 temp3 = true;
4854 }
4855 }
4856 if (obj3) {
4857 {
4858 arg4 = &temp4;
4859 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4860 }
4861 }
4862 if (obj4) {
4863 {
4864 arg5 = &temp5;
4865 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4866 }
4867 }
4868 if (obj5) {
4869 arg6 = (long)SWIG_As_long(obj5);
4870 if (PyErr_Occurred()) SWIG_fail;
4871 }
4872 if (obj6) {
4873 {
4874 arg7 = wxString_in_helper(obj6);
4875 if (arg7 == NULL) SWIG_fail;
4876 temp7 = true;
4877 }
4878 }
4879 {
4880 if (!wxPyCheckForApp()) SWIG_fail;
4881 PyThreadState* __tstate = wxPyBeginAllowThreads();
4882 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4883
4884 wxPyEndAllowThreads(__tstate);
4885 if (PyErr_Occurred()) SWIG_fail;
4886 }
4887 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
4888 {
4889 if (temp3)
4890 delete arg3;
4891 }
4892 {
4893 if (temp7)
4894 delete arg7;
4895 }
4896 return resultobj;
4897 fail:
4898 {
4899 if (temp3)
4900 delete arg3;
4901 }
4902 {
4903 if (temp7)
4904 delete arg7;
4905 }
4906 return NULL;
4907 }
4908
4909
4910 static PyObject *_wrap_new_PreMiniFrame(PyObject *, PyObject *args, PyObject *kwargs) {
4911 PyObject *resultobj;
4912 wxMiniFrame *result;
4913 char *kwnames[] = {
4914 NULL
4915 };
4916
4917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail;
4918 {
4919 if (!wxPyCheckForApp()) SWIG_fail;
4920 PyThreadState* __tstate = wxPyBeginAllowThreads();
4921 result = (wxMiniFrame *)new wxMiniFrame();
4922
4923 wxPyEndAllowThreads(__tstate);
4924 if (PyErr_Occurred()) SWIG_fail;
4925 }
4926 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
4927 return resultobj;
4928 fail:
4929 return NULL;
4930 }
4931
4932
4933 static PyObject *_wrap_MiniFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
4934 PyObject *resultobj;
4935 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
4936 wxWindow *arg2 = (wxWindow *) 0 ;
4937 int arg3 = (int) (int)-1 ;
4938 wxString const &arg4_defvalue = wxPyEmptyString ;
4939 wxString *arg4 = (wxString *) &arg4_defvalue ;
4940 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4941 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4942 wxSize const &arg6_defvalue = wxDefaultSize ;
4943 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4944 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
4945 wxString const &arg8_defvalue = wxPyFrameNameStr ;
4946 wxString *arg8 = (wxString *) &arg8_defvalue ;
4947 bool result;
4948 bool temp4 = false ;
4949 wxPoint temp5 ;
4950 wxSize temp6 ;
4951 bool temp8 = false ;
4952 PyObject * obj0 = 0 ;
4953 PyObject * obj1 = 0 ;
4954 PyObject * obj2 = 0 ;
4955 PyObject * obj3 = 0 ;
4956 PyObject * obj4 = 0 ;
4957 PyObject * obj5 = 0 ;
4958 PyObject * obj6 = 0 ;
4959 PyObject * obj7 = 0 ;
4960 char *kwnames[] = {
4961 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4962 };
4963
4964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4965 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMiniFrame,
4966 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4967 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4968 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4969 if (obj2) {
4970 arg3 = (int)SWIG_As_int(obj2);
4971 if (PyErr_Occurred()) SWIG_fail;
4972 }
4973 if (obj3) {
4974 {
4975 arg4 = wxString_in_helper(obj3);
4976 if (arg4 == NULL) SWIG_fail;
4977 temp4 = true;
4978 }
4979 }
4980 if (obj4) {
4981 {
4982 arg5 = &temp5;
4983 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4984 }
4985 }
4986 if (obj5) {
4987 {
4988 arg6 = &temp6;
4989 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4990 }
4991 }
4992 if (obj6) {
4993 arg7 = (long)SWIG_As_long(obj6);
4994 if (PyErr_Occurred()) SWIG_fail;
4995 }
4996 if (obj7) {
4997 {
4998 arg8 = wxString_in_helper(obj7);
4999 if (arg8 == NULL) SWIG_fail;
5000 temp8 = true;
5001 }
5002 }
5003 {
5004 PyThreadState* __tstate = wxPyBeginAllowThreads();
5005 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
5006
5007 wxPyEndAllowThreads(__tstate);
5008 if (PyErr_Occurred()) SWIG_fail;
5009 }
5010 {
5011 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5012 }
5013 {
5014 if (temp4)
5015 delete arg4;
5016 }
5017 {
5018 if (temp8)
5019 delete arg8;
5020 }
5021 return resultobj;
5022 fail:
5023 {
5024 if (temp4)
5025 delete arg4;
5026 }
5027 {
5028 if (temp8)
5029 delete arg8;
5030 }
5031 return NULL;
5032 }
5033
5034
5035 static PyObject * MiniFrame_swigregister(PyObject *, PyObject *args) {
5036 PyObject *obj;
5037 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5038 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj);
5039 Py_INCREF(obj);
5040 return Py_BuildValue((char *)"");
5041 }
5042 static PyObject *_wrap_new_SplashScreenWindow(PyObject *, PyObject *args, PyObject *kwargs) {
5043 PyObject *resultobj;
5044 wxBitmap *arg1 = 0 ;
5045 wxWindow *arg2 = (wxWindow *) 0 ;
5046 int arg3 ;
5047 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5048 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5049 wxSize const &arg5_defvalue = wxDefaultSize ;
5050 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5051 long arg6 = (long) wxNO_BORDER ;
5052 wxSplashScreenWindow *result;
5053 wxPoint temp4 ;
5054 wxSize temp5 ;
5055 PyObject * obj0 = 0 ;
5056 PyObject * obj1 = 0 ;
5057 PyObject * obj2 = 0 ;
5058 PyObject * obj3 = 0 ;
5059 PyObject * obj4 = 0 ;
5060 PyObject * obj5 = 0 ;
5061 char *kwnames[] = {
5062 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
5063 };
5064
5065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
5066 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
5067 SWIG_POINTER_EXCEPTION | 0)) == -1)
5068 SWIG_fail;
5069 if (arg1 == NULL) {
5070 PyErr_SetString(PyExc_TypeError,"null reference");
5071 SWIG_fail;
5072 }
5073 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5074 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5075 arg3 = (int)SWIG_As_int(obj2);
5076 if (PyErr_Occurred()) SWIG_fail;
5077 if (obj3) {
5078 {
5079 arg4 = &temp4;
5080 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5081 }
5082 }
5083 if (obj4) {
5084 {
5085 arg5 = &temp5;
5086 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5087 }
5088 }
5089 if (obj5) {
5090 arg6 = (long)SWIG_As_long(obj5);
5091 if (PyErr_Occurred()) SWIG_fail;
5092 }
5093 {
5094 if (!wxPyCheckForApp()) SWIG_fail;
5095 PyThreadState* __tstate = wxPyBeginAllowThreads();
5096 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
5097
5098 wxPyEndAllowThreads(__tstate);
5099 if (PyErr_Occurred()) SWIG_fail;
5100 }
5101 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 1);
5102 return resultobj;
5103 fail:
5104 return NULL;
5105 }
5106
5107
5108 static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
5109 PyObject *resultobj;
5110 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
5111 wxBitmap *arg2 = 0 ;
5112 PyObject * obj0 = 0 ;
5113 PyObject * obj1 = 0 ;
5114 char *kwnames[] = {
5115 (char *) "self",(char *) "bitmap", NULL
5116 };
5117
5118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
5119 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow,
5120 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5121 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
5122 SWIG_POINTER_EXCEPTION | 0)) == -1)
5123 SWIG_fail;
5124 if (arg2 == NULL) {
5125 PyErr_SetString(PyExc_TypeError,"null reference");
5126 SWIG_fail;
5127 }
5128 {
5129 PyThreadState* __tstate = wxPyBeginAllowThreads();
5130 (arg1)->SetBitmap((wxBitmap const &)*arg2);
5131
5132 wxPyEndAllowThreads(__tstate);
5133 if (PyErr_Occurred()) SWIG_fail;
5134 }
5135 Py_INCREF(Py_None); resultobj = Py_None;
5136 return resultobj;
5137 fail:
5138 return NULL;
5139 }
5140
5141
5142 static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
5143 PyObject *resultobj;
5144 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
5145 wxBitmap *result;
5146 PyObject * obj0 = 0 ;
5147 char *kwnames[] = {
5148 (char *) "self", NULL
5149 };
5150
5151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail;
5152 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow,
5153 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5154 {
5155 PyThreadState* __tstate = wxPyBeginAllowThreads();
5156 {
5157 wxBitmap &_result_ref = (arg1)->GetBitmap();
5158 result = (wxBitmap *) &_result_ref;
5159 }
5160
5161 wxPyEndAllowThreads(__tstate);
5162 if (PyErr_Occurred()) SWIG_fail;
5163 }
5164 {
5165 wxBitmap* resultptr = new wxBitmap(*result);
5166 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
5167 }
5168 return resultobj;
5169 fail:
5170 return NULL;
5171 }
5172
5173
5174 static PyObject * SplashScreenWindow_swigregister(PyObject *, PyObject *args) {
5175 PyObject *obj;
5176 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5177 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj);
5178 Py_INCREF(obj);
5179 return Py_BuildValue((char *)"");
5180 }
5181 static PyObject *_wrap_new_SplashScreen(PyObject *, PyObject *args, PyObject *kwargs) {
5182 PyObject *resultobj;
5183 wxBitmap *arg1 = 0 ;
5184 long arg2 ;
5185 int arg3 ;
5186 wxWindow *arg4 = (wxWindow *) 0 ;
5187 int arg5 = (int) -1 ;
5188 wxPoint const &arg6_defvalue = wxDefaultPosition ;
5189 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
5190 wxSize const &arg7_defvalue = wxDefaultSize ;
5191 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
5192 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
5193 wxSplashScreen *result;
5194 wxPoint temp6 ;
5195 wxSize temp7 ;
5196 PyObject * obj0 = 0 ;
5197 PyObject * obj1 = 0 ;
5198 PyObject * obj2 = 0 ;
5199 PyObject * obj3 = 0 ;
5200 PyObject * obj4 = 0 ;
5201 PyObject * obj5 = 0 ;
5202 PyObject * obj6 = 0 ;
5203 PyObject * obj7 = 0 ;
5204 char *kwnames[] = {
5205 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
5206 };
5207
5208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
5209 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
5210 SWIG_POINTER_EXCEPTION | 0)) == -1)
5211 SWIG_fail;
5212 if (arg1 == NULL) {
5213 PyErr_SetString(PyExc_TypeError,"null reference");
5214 SWIG_fail;
5215 }
5216 arg2 = (long)SWIG_As_long(obj1);
5217 if (PyErr_Occurred()) SWIG_fail;
5218 arg3 = (int)SWIG_As_int(obj2);
5219 if (PyErr_Occurred()) SWIG_fail;
5220 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
5221 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5222 if (obj4) {
5223 arg5 = (int)SWIG_As_int(obj4);
5224 if (PyErr_Occurred()) SWIG_fail;
5225 }
5226 if (obj5) {
5227 {
5228 arg6 = &temp6;
5229 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
5230 }
5231 }
5232 if (obj6) {
5233 {
5234 arg7 = &temp7;
5235 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
5236 }
5237 }
5238 if (obj7) {
5239 arg8 = (long)SWIG_As_long(obj7);
5240 if (PyErr_Occurred()) SWIG_fail;
5241 }
5242 {
5243 if (!wxPyCheckForApp()) SWIG_fail;
5244 PyThreadState* __tstate = wxPyBeginAllowThreads();
5245 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
5246
5247 wxPyEndAllowThreads(__tstate);
5248 if (PyErr_Occurred()) SWIG_fail;
5249 }
5250 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreen, 1);
5251 return resultobj;
5252 fail:
5253 return NULL;
5254 }
5255
5256
5257 static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *, PyObject *args, PyObject *kwargs) {
5258 PyObject *resultobj;
5259 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
5260 long result;
5261 PyObject * obj0 = 0 ;
5262 char *kwnames[] = {
5263 (char *) "self", NULL
5264 };
5265
5266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail;
5267 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
5268 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5269 {
5270 PyThreadState* __tstate = wxPyBeginAllowThreads();
5271 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
5272
5273 wxPyEndAllowThreads(__tstate);
5274 if (PyErr_Occurred()) SWIG_fail;
5275 }
5276 resultobj = SWIG_From_long((long)result);
5277 return resultobj;
5278 fail:
5279 return NULL;
5280 }
5281
5282
5283 static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
5284 PyObject *resultobj;
5285 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
5286 wxSplashScreenWindow *result;
5287 PyObject * obj0 = 0 ;
5288 char *kwnames[] = {
5289 (char *) "self", NULL
5290 };
5291
5292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail;
5293 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
5294 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5295 {
5296 PyThreadState* __tstate = wxPyBeginAllowThreads();
5297 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
5298
5299 wxPyEndAllowThreads(__tstate);
5300 if (PyErr_Occurred()) SWIG_fail;
5301 }
5302 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 0);
5303 return resultobj;
5304 fail:
5305 return NULL;
5306 }
5307
5308
5309 static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *, PyObject *args, PyObject *kwargs) {
5310 PyObject *resultobj;
5311 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
5312 int result;
5313 PyObject * obj0 = 0 ;
5314 char *kwnames[] = {
5315 (char *) "self", NULL
5316 };
5317
5318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail;
5319 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
5320 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5321 {
5322 PyThreadState* __tstate = wxPyBeginAllowThreads();
5323 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
5324
5325 wxPyEndAllowThreads(__tstate);
5326 if (PyErr_Occurred()) SWIG_fail;
5327 }
5328 resultobj = SWIG_From_int((int)result);
5329 return resultobj;
5330 fail:
5331 return NULL;
5332 }
5333
5334
5335 static PyObject * SplashScreen_swigregister(PyObject *, PyObject *args) {
5336 PyObject *obj;
5337 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5338 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj);
5339 Py_INCREF(obj);
5340 return Py_BuildValue((char *)"");
5341 }
5342 static PyObject *_wrap_new_StatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
5343 PyObject *resultobj;
5344 wxWindow *arg1 = (wxWindow *) 0 ;
5345 int arg2 = (int) -1 ;
5346 long arg3 = (long) wxST_SIZEGRIP ;
5347 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
5348 wxString *arg4 = (wxString *) &arg4_defvalue ;
5349 wxStatusBar *result;
5350 bool temp4 = false ;
5351 PyObject * obj0 = 0 ;
5352 PyObject * obj1 = 0 ;
5353 PyObject * obj2 = 0 ;
5354 PyObject * obj3 = 0 ;
5355 char *kwnames[] = {
5356 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5357 };
5358
5359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5360 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5361 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5362 if (obj1) {
5363 arg2 = (int)SWIG_As_int(obj1);
5364 if (PyErr_Occurred()) SWIG_fail;
5365 }
5366 if (obj2) {
5367 arg3 = (long)SWIG_As_long(obj2);
5368 if (PyErr_Occurred()) SWIG_fail;
5369 }
5370 if (obj3) {
5371 {
5372 arg4 = wxString_in_helper(obj3);
5373 if (arg4 == NULL) SWIG_fail;
5374 temp4 = true;
5375 }
5376 }
5377 {
5378 if (!wxPyCheckForApp()) SWIG_fail;
5379 PyThreadState* __tstate = wxPyBeginAllowThreads();
5380 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
5381
5382 wxPyEndAllowThreads(__tstate);
5383 if (PyErr_Occurred()) SWIG_fail;
5384 }
5385 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStatusBar, 1);
5386 {
5387 if (temp4)
5388 delete arg4;
5389 }
5390 return resultobj;
5391 fail:
5392 {
5393 if (temp4)
5394 delete arg4;
5395 }
5396 return NULL;
5397 }
5398
5399
5400 static PyObject *_wrap_new_PreStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
5401 PyObject *resultobj;
5402 wxStatusBar *result;
5403 char *kwnames[] = {
5404 NULL
5405 };
5406
5407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail;
5408 {
5409 if (!wxPyCheckForApp()) SWIG_fail;
5410 PyThreadState* __tstate = wxPyBeginAllowThreads();
5411 result = (wxStatusBar *)new wxStatusBar();
5412
5413 wxPyEndAllowThreads(__tstate);
5414 if (PyErr_Occurred()) SWIG_fail;
5415 }
5416 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStatusBar, 1);
5417 return resultobj;
5418 fail:
5419 return NULL;
5420 }
5421
5422
5423 static PyObject *_wrap_StatusBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
5424 PyObject *resultobj;
5425 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5426 wxWindow *arg2 = (wxWindow *) 0 ;
5427 int arg3 = (int) -1 ;
5428 long arg4 = (long) wxST_SIZEGRIP ;
5429 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
5430 wxString *arg5 = (wxString *) &arg5_defvalue ;
5431 bool result;
5432 bool temp5 = false ;
5433 PyObject * obj0 = 0 ;
5434 PyObject * obj1 = 0 ;
5435 PyObject * obj2 = 0 ;
5436 PyObject * obj3 = 0 ;
5437 PyObject * obj4 = 0 ;
5438 char *kwnames[] = {
5439 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5440 };
5441
5442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
5443 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5444 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5445 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5446 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5447 if (obj2) {
5448 arg3 = (int)SWIG_As_int(obj2);
5449 if (PyErr_Occurred()) SWIG_fail;
5450 }
5451 if (obj3) {
5452 arg4 = (long)SWIG_As_long(obj3);
5453 if (PyErr_Occurred()) SWIG_fail;
5454 }
5455 if (obj4) {
5456 {
5457 arg5 = wxString_in_helper(obj4);
5458 if (arg5 == NULL) SWIG_fail;
5459 temp5 = true;
5460 }
5461 }
5462 {
5463 PyThreadState* __tstate = wxPyBeginAllowThreads();
5464 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
5465
5466 wxPyEndAllowThreads(__tstate);
5467 if (PyErr_Occurred()) SWIG_fail;
5468 }
5469 {
5470 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5471 }
5472 {
5473 if (temp5)
5474 delete arg5;
5475 }
5476 return resultobj;
5477 fail:
5478 {
5479 if (temp5)
5480 delete arg5;
5481 }
5482 return NULL;
5483 }
5484
5485
5486 static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *, PyObject *args, PyObject *kwargs) {
5487 PyObject *resultobj;
5488 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5489 int arg2 = (int) 1 ;
5490 PyObject * obj0 = 0 ;
5491 PyObject * obj1 = 0 ;
5492 char *kwnames[] = {
5493 (char *) "self",(char *) "number", NULL
5494 };
5495
5496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) goto fail;
5497 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5498 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5499 if (obj1) {
5500 arg2 = (int)SWIG_As_int(obj1);
5501 if (PyErr_Occurred()) SWIG_fail;
5502 }
5503 {
5504 PyThreadState* __tstate = wxPyBeginAllowThreads();
5505 (arg1)->SetFieldsCount(arg2);
5506
5507 wxPyEndAllowThreads(__tstate);
5508 if (PyErr_Occurred()) SWIG_fail;
5509 }
5510 Py_INCREF(Py_None); resultobj = Py_None;
5511 return resultobj;
5512 fail:
5513 return NULL;
5514 }
5515
5516
5517 static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *, PyObject *args, PyObject *kwargs) {
5518 PyObject *resultobj;
5519 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5520 int result;
5521 PyObject * obj0 = 0 ;
5522 char *kwnames[] = {
5523 (char *) "self", NULL
5524 };
5525
5526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail;
5527 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5528 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5529 {
5530 PyThreadState* __tstate = wxPyBeginAllowThreads();
5531 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
5532
5533 wxPyEndAllowThreads(__tstate);
5534 if (PyErr_Occurred()) SWIG_fail;
5535 }
5536 resultobj = SWIG_From_int((int)result);
5537 return resultobj;
5538 fail:
5539 return NULL;
5540 }
5541
5542
5543 static PyObject *_wrap_StatusBar_SetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
5544 PyObject *resultobj;
5545 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5546 wxString *arg2 = 0 ;
5547 int arg3 = (int) 0 ;
5548 bool temp2 = false ;
5549 PyObject * obj0 = 0 ;
5550 PyObject * obj1 = 0 ;
5551 PyObject * obj2 = 0 ;
5552 char *kwnames[] = {
5553 (char *) "self",(char *) "text",(char *) "number", NULL
5554 };
5555
5556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5557 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5558 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5559 {
5560 arg2 = wxString_in_helper(obj1);
5561 if (arg2 == NULL) SWIG_fail;
5562 temp2 = true;
5563 }
5564 if (obj2) {
5565 arg3 = (int)SWIG_As_int(obj2);
5566 if (PyErr_Occurred()) SWIG_fail;
5567 }
5568 {
5569 PyThreadState* __tstate = wxPyBeginAllowThreads();
5570 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
5571
5572 wxPyEndAllowThreads(__tstate);
5573 if (PyErr_Occurred()) SWIG_fail;
5574 }
5575 Py_INCREF(Py_None); resultobj = Py_None;
5576 {
5577 if (temp2)
5578 delete arg2;
5579 }
5580 return resultobj;
5581 fail:
5582 {
5583 if (temp2)
5584 delete arg2;
5585 }
5586 return NULL;
5587 }
5588
5589
5590 static PyObject *_wrap_StatusBar_GetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
5591 PyObject *resultobj;
5592 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5593 int arg2 = (int) 0 ;
5594 wxString result;
5595 PyObject * obj0 = 0 ;
5596 PyObject * obj1 = 0 ;
5597 char *kwnames[] = {
5598 (char *) "self",(char *) "number", NULL
5599 };
5600
5601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) goto fail;
5602 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5603 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5604 if (obj1) {
5605 arg2 = (int)SWIG_As_int(obj1);
5606 if (PyErr_Occurred()) SWIG_fail;
5607 }
5608 {
5609 PyThreadState* __tstate = wxPyBeginAllowThreads();
5610 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
5611
5612 wxPyEndAllowThreads(__tstate);
5613 if (PyErr_Occurred()) SWIG_fail;
5614 }
5615 {
5616 #if wxUSE_UNICODE
5617 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5618 #else
5619 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5620 #endif
5621 }
5622 return resultobj;
5623 fail:
5624 return NULL;
5625 }
5626
5627
5628 static PyObject *_wrap_StatusBar_PushStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
5629 PyObject *resultobj;
5630 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5631 wxString *arg2 = 0 ;
5632 int arg3 = (int) 0 ;
5633 bool temp2 = false ;
5634 PyObject * obj0 = 0 ;
5635 PyObject * obj1 = 0 ;
5636 PyObject * obj2 = 0 ;
5637 char *kwnames[] = {
5638 (char *) "self",(char *) "text",(char *) "number", NULL
5639 };
5640
5641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5642 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5643 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5644 {
5645 arg2 = wxString_in_helper(obj1);
5646 if (arg2 == NULL) SWIG_fail;
5647 temp2 = true;
5648 }
5649 if (obj2) {
5650 arg3 = (int)SWIG_As_int(obj2);
5651 if (PyErr_Occurred()) SWIG_fail;
5652 }
5653 {
5654 PyThreadState* __tstate = wxPyBeginAllowThreads();
5655 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
5656
5657 wxPyEndAllowThreads(__tstate);
5658 if (PyErr_Occurred()) SWIG_fail;
5659 }
5660 Py_INCREF(Py_None); resultobj = Py_None;
5661 {
5662 if (temp2)
5663 delete arg2;
5664 }
5665 return resultobj;
5666 fail:
5667 {
5668 if (temp2)
5669 delete arg2;
5670 }
5671 return NULL;
5672 }
5673
5674
5675 static PyObject *_wrap_StatusBar_PopStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
5676 PyObject *resultobj;
5677 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5678 int arg2 = (int) 0 ;
5679 PyObject * obj0 = 0 ;
5680 PyObject * obj1 = 0 ;
5681 char *kwnames[] = {
5682 (char *) "self",(char *) "number", NULL
5683 };
5684
5685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
5686 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5687 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5688 if (obj1) {
5689 arg2 = (int)SWIG_As_int(obj1);
5690 if (PyErr_Occurred()) SWIG_fail;
5691 }
5692 {
5693 PyThreadState* __tstate = wxPyBeginAllowThreads();
5694 (arg1)->PopStatusText(arg2);
5695
5696 wxPyEndAllowThreads(__tstate);
5697 if (PyErr_Occurred()) SWIG_fail;
5698 }
5699 Py_INCREF(Py_None); resultobj = Py_None;
5700 return resultobj;
5701 fail:
5702 return NULL;
5703 }
5704
5705
5706 static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *, PyObject *args, PyObject *kwargs) {
5707 PyObject *resultobj;
5708 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5709 int arg2 ;
5710 int *arg3 = (int *) 0 ;
5711 PyObject * obj0 = 0 ;
5712 PyObject * obj1 = 0 ;
5713 char *kwnames[] = {
5714 (char *) "self",(char *) "widths", NULL
5715 };
5716
5717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
5718 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5719 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5720 {
5721 arg2 = PyList_Size(obj1);
5722 arg3 = int_LIST_helper(obj1);
5723 if (arg3 == NULL) SWIG_fail;
5724 }
5725 {
5726 PyThreadState* __tstate = wxPyBeginAllowThreads();
5727 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
5728
5729 wxPyEndAllowThreads(__tstate);
5730 if (PyErr_Occurred()) SWIG_fail;
5731 }
5732 Py_INCREF(Py_None); resultobj = Py_None;
5733 {
5734 if (arg3) delete [] arg3;
5735 }
5736 return resultobj;
5737 fail:
5738 {
5739 if (arg3) delete [] arg3;
5740 }
5741 return NULL;
5742 }
5743
5744
5745 static PyObject *_wrap_StatusBar_SetStatusStyles(PyObject *, PyObject *args, PyObject *kwargs) {
5746 PyObject *resultobj;
5747 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5748 int arg2 ;
5749 int *arg3 = (int *) 0 ;
5750 PyObject * obj0 = 0 ;
5751 PyObject * obj1 = 0 ;
5752 char *kwnames[] = {
5753 (char *) "self",(char *) "styles", NULL
5754 };
5755
5756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusStyles",kwnames,&obj0,&obj1)) goto fail;
5757 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5758 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5759 {
5760 arg2 = PyList_Size(obj1);
5761 arg3 = int_LIST_helper(obj1);
5762 if (arg3 == NULL) SWIG_fail;
5763 }
5764 {
5765 PyThreadState* __tstate = wxPyBeginAllowThreads();
5766 (arg1)->SetStatusStyles(arg2,(int const *)arg3);
5767
5768 wxPyEndAllowThreads(__tstate);
5769 if (PyErr_Occurred()) SWIG_fail;
5770 }
5771 Py_INCREF(Py_None); resultobj = Py_None;
5772 {
5773 if (arg3) delete [] arg3;
5774 }
5775 return resultobj;
5776 fail:
5777 {
5778 if (arg3) delete [] arg3;
5779 }
5780 return NULL;
5781 }
5782
5783
5784 static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *, PyObject *args, PyObject *kwargs) {
5785 PyObject *resultobj;
5786 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5787 int arg2 ;
5788 wxRect result;
5789 PyObject * obj0 = 0 ;
5790 PyObject * obj1 = 0 ;
5791 char *kwnames[] = {
5792 (char *) "self",(char *) "i", NULL
5793 };
5794
5795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) goto fail;
5796 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5798 arg2 = (int)SWIG_As_int(obj1);
5799 if (PyErr_Occurred()) SWIG_fail;
5800 {
5801 PyThreadState* __tstate = wxPyBeginAllowThreads();
5802 result = wxStatusBar_GetFieldRect(arg1,arg2);
5803
5804 wxPyEndAllowThreads(__tstate);
5805 if (PyErr_Occurred()) SWIG_fail;
5806 }
5807 {
5808 wxRect * resultptr;
5809 resultptr = new wxRect((wxRect &) result);
5810 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
5811 }
5812 return resultobj;
5813 fail:
5814 return NULL;
5815 }
5816
5817
5818 static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *, PyObject *args, PyObject *kwargs) {
5819 PyObject *resultobj;
5820 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5821 int arg2 ;
5822 PyObject * obj0 = 0 ;
5823 PyObject * obj1 = 0 ;
5824 char *kwnames[] = {
5825 (char *) "self",(char *) "height", NULL
5826 };
5827
5828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) goto fail;
5829 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5830 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5831 arg2 = (int)SWIG_As_int(obj1);
5832 if (PyErr_Occurred()) SWIG_fail;
5833 {
5834 PyThreadState* __tstate = wxPyBeginAllowThreads();
5835 (arg1)->SetMinHeight(arg2);
5836
5837 wxPyEndAllowThreads(__tstate);
5838 if (PyErr_Occurred()) SWIG_fail;
5839 }
5840 Py_INCREF(Py_None); resultobj = Py_None;
5841 return resultobj;
5842 fail:
5843 return NULL;
5844 }
5845
5846
5847 static PyObject *_wrap_StatusBar_GetBorderX(PyObject *, PyObject *args, PyObject *kwargs) {
5848 PyObject *resultobj;
5849 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5850 int result;
5851 PyObject * obj0 = 0 ;
5852 char *kwnames[] = {
5853 (char *) "self", NULL
5854 };
5855
5856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail;
5857 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5858 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5859 {
5860 PyThreadState* __tstate = wxPyBeginAllowThreads();
5861 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
5862
5863 wxPyEndAllowThreads(__tstate);
5864 if (PyErr_Occurred()) SWIG_fail;
5865 }
5866 resultobj = SWIG_From_int((int)result);
5867 return resultobj;
5868 fail:
5869 return NULL;
5870 }
5871
5872
5873 static PyObject *_wrap_StatusBar_GetBorderY(PyObject *, PyObject *args, PyObject *kwargs) {
5874 PyObject *resultobj;
5875 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5876 int result;
5877 PyObject * obj0 = 0 ;
5878 char *kwnames[] = {
5879 (char *) "self", NULL
5880 };
5881
5882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail;
5883 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5884 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5885 {
5886 PyThreadState* __tstate = wxPyBeginAllowThreads();
5887 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
5888
5889 wxPyEndAllowThreads(__tstate);
5890 if (PyErr_Occurred()) SWIG_fail;
5891 }
5892 resultobj = SWIG_From_int((int)result);
5893 return resultobj;
5894 fail:
5895 return NULL;
5896 }
5897
5898
5899 static PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
5900 PyObject *resultobj;
5901 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
5902 wxVisualAttributes result;
5903 PyObject * obj0 = 0 ;
5904 char *kwnames[] = {
5905 (char *) "variant", NULL
5906 };
5907
5908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5909 if (obj0) {
5910 arg1 = (int)SWIG_As_int(obj0);
5911 if (PyErr_Occurred()) SWIG_fail;
5912 }
5913 {
5914 if (!wxPyCheckForApp()) SWIG_fail;
5915 PyThreadState* __tstate = wxPyBeginAllowThreads();
5916 result = wxStatusBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
5917
5918 wxPyEndAllowThreads(__tstate);
5919 if (PyErr_Occurred()) SWIG_fail;
5920 }
5921 {
5922 wxVisualAttributes * resultptr;
5923 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
5924 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5925 }
5926 return resultobj;
5927 fail:
5928 return NULL;
5929 }
5930
5931
5932 static PyObject * StatusBar_swigregister(PyObject *, PyObject *args) {
5933 PyObject *obj;
5934 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5935 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj);
5936 Py_INCREF(obj);
5937 return Py_BuildValue((char *)"");
5938 }
5939 static int _wrap_SplitterNameStr_set(PyObject *) {
5940 PyErr_SetString(PyExc_TypeError,"Variable SplitterNameStr is read-only.");
5941 return 1;
5942 }
5943
5944
5945 static PyObject *_wrap_SplitterNameStr_get() {
5946 PyObject *pyobj;
5947
5948 {
5949 #if wxUSE_UNICODE
5950 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
5951 #else
5952 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
5953 #endif
5954 }
5955 return pyobj;
5956 }
5957
5958
5959 static PyObject *_wrap_new_SplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) {
5960 PyObject *resultobj;
5961 wxWindow *arg1 = (wxWindow *) 0 ;
5962 int arg2 = (int) -1 ;
5963 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5964 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5965 wxSize const &arg4_defvalue = wxDefaultSize ;
5966 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5967 long arg5 = (long) wxSP_3D ;
5968 wxString const &arg6_defvalue = wxPySplitterNameStr ;
5969 wxString *arg6 = (wxString *) &arg6_defvalue ;
5970 wxSplitterWindow *result;
5971 wxPoint temp3 ;
5972 wxSize temp4 ;
5973 bool temp6 = false ;
5974 PyObject * obj0 = 0 ;
5975 PyObject * obj1 = 0 ;
5976 PyObject * obj2 = 0 ;
5977 PyObject * obj3 = 0 ;
5978 PyObject * obj4 = 0 ;
5979 PyObject * obj5 = 0 ;
5980 char *kwnames[] = {
5981 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5982 };
5983
5984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
5985 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5986 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5987 if (obj1) {
5988 arg2 = (int)SWIG_As_int(obj1);
5989 if (PyErr_Occurred()) SWIG_fail;
5990 }
5991 if (obj2) {
5992 {
5993 arg3 = &temp3;
5994 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5995 }
5996 }
5997 if (obj3) {
5998 {
5999 arg4 = &temp4;
6000 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
6001 }
6002 }
6003 if (obj4) {
6004 arg5 = (long)SWIG_As_long(obj4);
6005 if (PyErr_Occurred()) SWIG_fail;
6006 }
6007 if (obj5) {
6008 {
6009 arg6 = wxString_in_helper(obj5);
6010 if (arg6 == NULL) SWIG_fail;
6011 temp6 = true;
6012 }
6013 }
6014 {
6015 if (!wxPyCheckForApp()) SWIG_fail;
6016 PyThreadState* __tstate = wxPyBeginAllowThreads();
6017 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
6018
6019 wxPyEndAllowThreads(__tstate);
6020 if (PyErr_Occurred()) SWIG_fail;
6021 }
6022 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
6023 {
6024 if (temp6)
6025 delete arg6;
6026 }
6027 return resultobj;
6028 fail:
6029 {
6030 if (temp6)
6031 delete arg6;
6032 }
6033 return NULL;
6034 }
6035
6036
6037 static PyObject *_wrap_new_PreSplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) {
6038 PyObject *resultobj;
6039 wxSplitterWindow *result;
6040 char *kwnames[] = {
6041 NULL
6042 };
6043
6044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail;
6045 {
6046 if (!wxPyCheckForApp()) SWIG_fail;
6047 PyThreadState* __tstate = wxPyBeginAllowThreads();
6048 result = (wxSplitterWindow *)new wxSplitterWindow();
6049
6050 wxPyEndAllowThreads(__tstate);
6051 if (PyErr_Occurred()) SWIG_fail;
6052 }
6053 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
6054 return resultobj;
6055 fail:
6056 return NULL;
6057 }
6058
6059
6060 static PyObject *_wrap_SplitterWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
6061 PyObject *resultobj;
6062 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6063 wxWindow *arg2 = (wxWindow *) 0 ;
6064 int arg3 = (int) -1 ;
6065 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6066 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6067 wxSize const &arg5_defvalue = wxDefaultSize ;
6068 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6069 long arg6 = (long) wxSP_3D ;
6070 wxString const &arg7_defvalue = wxPySplitterNameStr ;
6071 wxString *arg7 = (wxString *) &arg7_defvalue ;
6072 bool result;
6073 wxPoint temp4 ;
6074 wxSize temp5 ;
6075 bool temp7 = false ;
6076 PyObject * obj0 = 0 ;
6077 PyObject * obj1 = 0 ;
6078 PyObject * obj2 = 0 ;
6079 PyObject * obj3 = 0 ;
6080 PyObject * obj4 = 0 ;
6081 PyObject * obj5 = 0 ;
6082 PyObject * obj6 = 0 ;
6083 char *kwnames[] = {
6084 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6085 };
6086
6087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
6088 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6089 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6090 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6091 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6092 if (obj2) {
6093 arg3 = (int)SWIG_As_int(obj2);
6094 if (PyErr_Occurred()) SWIG_fail;
6095 }
6096 if (obj3) {
6097 {
6098 arg4 = &temp4;
6099 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6100 }
6101 }
6102 if (obj4) {
6103 {
6104 arg5 = &temp5;
6105 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6106 }
6107 }
6108 if (obj5) {
6109 arg6 = (long)SWIG_As_long(obj5);
6110 if (PyErr_Occurred()) SWIG_fail;
6111 }
6112 if (obj6) {
6113 {
6114 arg7 = wxString_in_helper(obj6);
6115 if (arg7 == NULL) SWIG_fail;
6116 temp7 = true;
6117 }
6118 }
6119 {
6120 PyThreadState* __tstate = wxPyBeginAllowThreads();
6121 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6122
6123 wxPyEndAllowThreads(__tstate);
6124 if (PyErr_Occurred()) SWIG_fail;
6125 }
6126 {
6127 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6128 }
6129 {
6130 if (temp7)
6131 delete arg7;
6132 }
6133 return resultobj;
6134 fail:
6135 {
6136 if (temp7)
6137 delete arg7;
6138 }
6139 return NULL;
6140 }
6141
6142
6143 static PyObject *_wrap_SplitterWindow_GetWindow1(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_GetWindow1",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)->GetWindow1();
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_GetWindow2(PyObject *, PyObject *args, PyObject *kwargs) {
6172 PyObject *resultobj;
6173 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6174 wxWindow *result;
6175 PyObject * obj0 = 0 ;
6176 char *kwnames[] = {
6177 (char *) "self", NULL
6178 };
6179
6180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail;
6181 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6182 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6183 {
6184 PyThreadState* __tstate = wxPyBeginAllowThreads();
6185 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
6186
6187 wxPyEndAllowThreads(__tstate);
6188 if (PyErr_Occurred()) SWIG_fail;
6189 }
6190 {
6191 resultobj = wxPyMake_wxObject(result, 0);
6192 }
6193 return resultobj;
6194 fail:
6195 return NULL;
6196 }
6197
6198
6199 static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *, PyObject *args, PyObject *kwargs) {
6200 PyObject *resultobj;
6201 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6202 int arg2 ;
6203 PyObject * obj0 = 0 ;
6204 PyObject * obj1 = 0 ;
6205 char *kwnames[] = {
6206 (char *) "self",(char *) "mode", NULL
6207 };
6208
6209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) goto fail;
6210 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6211 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6212 arg2 = (int)SWIG_As_int(obj1);
6213 if (PyErr_Occurred()) SWIG_fail;
6214 {
6215 PyThreadState* __tstate = wxPyBeginAllowThreads();
6216 (arg1)->SetSplitMode(arg2);
6217
6218 wxPyEndAllowThreads(__tstate);
6219 if (PyErr_Occurred()) SWIG_fail;
6220 }
6221 Py_INCREF(Py_None); resultobj = Py_None;
6222 return resultobj;
6223 fail:
6224 return NULL;
6225 }
6226
6227
6228 static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *, PyObject *args, PyObject *kwargs) {
6229 PyObject *resultobj;
6230 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6231 int result;
6232 PyObject * obj0 = 0 ;
6233 char *kwnames[] = {
6234 (char *) "self", NULL
6235 };
6236
6237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail;
6238 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6239 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6240 {
6241 PyThreadState* __tstate = wxPyBeginAllowThreads();
6242 result = (int)((wxSplitterWindow const *)arg1)->GetSplitMode();
6243
6244 wxPyEndAllowThreads(__tstate);
6245 if (PyErr_Occurred()) SWIG_fail;
6246 }
6247 resultobj = SWIG_From_int((int)result);
6248 return resultobj;
6249 fail:
6250 return NULL;
6251 }
6252
6253
6254 static PyObject *_wrap_SplitterWindow_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
6255 PyObject *resultobj;
6256 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6257 wxWindow *arg2 = (wxWindow *) 0 ;
6258 PyObject * obj0 = 0 ;
6259 PyObject * obj1 = 0 ;
6260 char *kwnames[] = {
6261 (char *) "self",(char *) "window", NULL
6262 };
6263
6264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail;
6265 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6266 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6267 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6268 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6269 {
6270 PyThreadState* __tstate = wxPyBeginAllowThreads();
6271 (arg1)->Initialize(arg2);
6272
6273 wxPyEndAllowThreads(__tstate);
6274 if (PyErr_Occurred()) SWIG_fail;
6275 }
6276 Py_INCREF(Py_None); resultobj = Py_None;
6277 return resultobj;
6278 fail:
6279 return NULL;
6280 }
6281
6282
6283 static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *, PyObject *args, PyObject *kwargs) {
6284 PyObject *resultobj;
6285 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6286 wxWindow *arg2 = (wxWindow *) 0 ;
6287 wxWindow *arg3 = (wxWindow *) 0 ;
6288 int arg4 = (int) 0 ;
6289 bool result;
6290 PyObject * obj0 = 0 ;
6291 PyObject * obj1 = 0 ;
6292 PyObject * obj2 = 0 ;
6293 PyObject * obj3 = 0 ;
6294 char *kwnames[] = {
6295 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
6296 };
6297
6298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6299 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6300 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6301 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6302 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6303 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
6304 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6305 if (obj3) {
6306 arg4 = (int)SWIG_As_int(obj3);
6307 if (PyErr_Occurred()) SWIG_fail;
6308 }
6309 {
6310 PyThreadState* __tstate = wxPyBeginAllowThreads();
6311 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
6312
6313 wxPyEndAllowThreads(__tstate);
6314 if (PyErr_Occurred()) SWIG_fail;
6315 }
6316 {
6317 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6318 }
6319 return resultobj;
6320 fail:
6321 return NULL;
6322 }
6323
6324
6325 static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *, PyObject *args, PyObject *kwargs) {
6326 PyObject *resultobj;
6327 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6328 wxWindow *arg2 = (wxWindow *) 0 ;
6329 wxWindow *arg3 = (wxWindow *) 0 ;
6330 int arg4 = (int) 0 ;
6331 bool result;
6332 PyObject * obj0 = 0 ;
6333 PyObject * obj1 = 0 ;
6334 PyObject * obj2 = 0 ;
6335 PyObject * obj3 = 0 ;
6336 char *kwnames[] = {
6337 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
6338 };
6339
6340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6341 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6342 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6343 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6344 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6345 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
6346 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6347 if (obj3) {
6348 arg4 = (int)SWIG_As_int(obj3);
6349 if (PyErr_Occurred()) SWIG_fail;
6350 }
6351 {
6352 PyThreadState* __tstate = wxPyBeginAllowThreads();
6353 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
6354
6355 wxPyEndAllowThreads(__tstate);
6356 if (PyErr_Occurred()) SWIG_fail;
6357 }
6358 {
6359 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6360 }
6361 return resultobj;
6362 fail:
6363 return NULL;
6364 }
6365
6366
6367 static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *, PyObject *args, PyObject *kwargs) {
6368 PyObject *resultobj;
6369 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6370 wxWindow *arg2 = (wxWindow *) NULL ;
6371 bool result;
6372 PyObject * obj0 = 0 ;
6373 PyObject * obj1 = 0 ;
6374 char *kwnames[] = {
6375 (char *) "self",(char *) "toRemove", NULL
6376 };
6377
6378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail;
6379 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6380 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6381 if (obj1) {
6382 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6383 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6384 }
6385 {
6386 PyThreadState* __tstate = wxPyBeginAllowThreads();
6387 result = (bool)(arg1)->Unsplit(arg2);
6388
6389 wxPyEndAllowThreads(__tstate);
6390 if (PyErr_Occurred()) SWIG_fail;
6391 }
6392 {
6393 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6394 }
6395 return resultobj;
6396 fail:
6397 return NULL;
6398 }
6399
6400
6401 static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *, PyObject *args, PyObject *kwargs) {
6402 PyObject *resultobj;
6403 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6404 wxWindow *arg2 = (wxWindow *) 0 ;
6405 wxWindow *arg3 = (wxWindow *) 0 ;
6406 bool result;
6407 PyObject * obj0 = 0 ;
6408 PyObject * obj1 = 0 ;
6409 PyObject * obj2 = 0 ;
6410 char *kwnames[] = {
6411 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
6412 };
6413
6414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
6415 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6416 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6417 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6418 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6419 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
6420 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6421 {
6422 PyThreadState* __tstate = wxPyBeginAllowThreads();
6423 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
6424
6425 wxPyEndAllowThreads(__tstate);
6426 if (PyErr_Occurred()) SWIG_fail;
6427 }
6428 {
6429 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6430 }
6431 return resultobj;
6432 fail:
6433 return NULL;
6434 }
6435
6436
6437 static PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *, PyObject *args, PyObject *kwargs) {
6438 PyObject *resultobj;
6439 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6440 PyObject * obj0 = 0 ;
6441 char *kwnames[] = {
6442 (char *) "self", NULL
6443 };
6444
6445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_UpdateSize",kwnames,&obj0)) goto fail;
6446 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6447 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6448 {
6449 PyThreadState* __tstate = wxPyBeginAllowThreads();
6450 (arg1)->UpdateSize();
6451
6452 wxPyEndAllowThreads(__tstate);
6453 if (PyErr_Occurred()) SWIG_fail;
6454 }
6455 Py_INCREF(Py_None); resultobj = Py_None;
6456 return resultobj;
6457 fail:
6458 return NULL;
6459 }
6460
6461
6462 static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *, PyObject *args, PyObject *kwargs) {
6463 PyObject *resultobj;
6464 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6465 bool result;
6466 PyObject * obj0 = 0 ;
6467 char *kwnames[] = {
6468 (char *) "self", NULL
6469 };
6470
6471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail;
6472 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6473 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6474 {
6475 PyThreadState* __tstate = wxPyBeginAllowThreads();
6476 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
6477
6478 wxPyEndAllowThreads(__tstate);
6479 if (PyErr_Occurred()) SWIG_fail;
6480 }
6481 {
6482 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6483 }
6484 return resultobj;
6485 fail:
6486 return NULL;
6487 }
6488
6489
6490 static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *, PyObject *args, PyObject *kwargs) {
6491 PyObject *resultobj;
6492 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6493 int arg2 ;
6494 PyObject * obj0 = 0 ;
6495 PyObject * obj1 = 0 ;
6496 char *kwnames[] = {
6497 (char *) "self",(char *) "width", NULL
6498 };
6499
6500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) goto fail;
6501 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6502 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6503 arg2 = (int)SWIG_As_int(obj1);
6504 if (PyErr_Occurred()) SWIG_fail;
6505 {
6506 PyThreadState* __tstate = wxPyBeginAllowThreads();
6507 (arg1)->SetSashSize(arg2);
6508
6509 wxPyEndAllowThreads(__tstate);
6510 if (PyErr_Occurred()) SWIG_fail;
6511 }
6512 Py_INCREF(Py_None); resultobj = Py_None;
6513 return resultobj;
6514 fail:
6515 return NULL;
6516 }
6517
6518
6519 static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
6520 PyObject *resultobj;
6521 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6522 int arg2 ;
6523 PyObject * obj0 = 0 ;
6524 PyObject * obj1 = 0 ;
6525 char *kwnames[] = {
6526 (char *) "self",(char *) "width", NULL
6527 };
6528
6529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) goto fail;
6530 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6531 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6532 arg2 = (int)SWIG_As_int(obj1);
6533 if (PyErr_Occurred()) SWIG_fail;
6534 {
6535 PyThreadState* __tstate = wxPyBeginAllowThreads();
6536 (arg1)->SetBorderSize(arg2);
6537
6538 wxPyEndAllowThreads(__tstate);
6539 if (PyErr_Occurred()) SWIG_fail;
6540 }
6541 Py_INCREF(Py_None); resultobj = Py_None;
6542 return resultobj;
6543 fail:
6544 return NULL;
6545 }
6546
6547
6548 static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *, PyObject *args, PyObject *kwargs) {
6549 PyObject *resultobj;
6550 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6551 int result;
6552 PyObject * obj0 = 0 ;
6553 char *kwnames[] = {
6554 (char *) "self", NULL
6555 };
6556
6557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail;
6558 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6559 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6560 {
6561 PyThreadState* __tstate = wxPyBeginAllowThreads();
6562 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
6563
6564 wxPyEndAllowThreads(__tstate);
6565 if (PyErr_Occurred()) SWIG_fail;
6566 }
6567 resultobj = SWIG_From_int((int)result);
6568 return resultobj;
6569 fail:
6570 return NULL;
6571 }
6572
6573
6574 static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
6575 PyObject *resultobj;
6576 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6577 int result;
6578 PyObject * obj0 = 0 ;
6579 char *kwnames[] = {
6580 (char *) "self", NULL
6581 };
6582
6583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail;
6584 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6585 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6586 {
6587 PyThreadState* __tstate = wxPyBeginAllowThreads();
6588 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
6589
6590 wxPyEndAllowThreads(__tstate);
6591 if (PyErr_Occurred()) SWIG_fail;
6592 }
6593 resultobj = SWIG_From_int((int)result);
6594 return resultobj;
6595 fail:
6596 return NULL;
6597 }
6598
6599
6600 static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
6601 PyObject *resultobj;
6602 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6603 int arg2 ;
6604 bool arg3 = (bool) true ;
6605 PyObject * obj0 = 0 ;
6606 PyObject * obj1 = 0 ;
6607 PyObject * obj2 = 0 ;
6608 char *kwnames[] = {
6609 (char *) "self",(char *) "position",(char *) "redraw", NULL
6610 };
6611
6612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
6613 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6614 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6615 arg2 = (int)SWIG_As_int(obj1);
6616 if (PyErr_Occurred()) SWIG_fail;
6617 if (obj2) {
6618 arg3 = (bool)SWIG_As_bool(obj2);
6619 if (PyErr_Occurred()) SWIG_fail;
6620 }
6621 {
6622 PyThreadState* __tstate = wxPyBeginAllowThreads();
6623 (arg1)->SetSashPosition(arg2,arg3);
6624
6625 wxPyEndAllowThreads(__tstate);
6626 if (PyErr_Occurred()) SWIG_fail;
6627 }
6628 Py_INCREF(Py_None); resultobj = Py_None;
6629 return resultobj;
6630 fail:
6631 return NULL;
6632 }
6633
6634
6635 static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
6636 PyObject *resultobj;
6637 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6638 int result;
6639 PyObject * obj0 = 0 ;
6640 char *kwnames[] = {
6641 (char *) "self", NULL
6642 };
6643
6644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail;
6645 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6646 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6647 {
6648 PyThreadState* __tstate = wxPyBeginAllowThreads();
6649 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
6650
6651 wxPyEndAllowThreads(__tstate);
6652 if (PyErr_Occurred()) SWIG_fail;
6653 }
6654 resultobj = SWIG_From_int((int)result);
6655 return resultobj;
6656 fail:
6657 return NULL;
6658 }
6659
6660
6661 static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *, PyObject *args, PyObject *kwargs) {
6662 PyObject *resultobj;
6663 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6664 int arg2 ;
6665 PyObject * obj0 = 0 ;
6666 PyObject * obj1 = 0 ;
6667 char *kwnames[] = {
6668 (char *) "self",(char *) "min", NULL
6669 };
6670
6671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) goto fail;
6672 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6673 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6674 arg2 = (int)SWIG_As_int(obj1);
6675 if (PyErr_Occurred()) SWIG_fail;
6676 {
6677 PyThreadState* __tstate = wxPyBeginAllowThreads();
6678 (arg1)->SetMinimumPaneSize(arg2);
6679
6680 wxPyEndAllowThreads(__tstate);
6681 if (PyErr_Occurred()) SWIG_fail;
6682 }
6683 Py_INCREF(Py_None); resultobj = Py_None;
6684 return resultobj;
6685 fail:
6686 return NULL;
6687 }
6688
6689
6690 static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *, PyObject *args, PyObject *kwargs) {
6691 PyObject *resultobj;
6692 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6693 int result;
6694 PyObject * obj0 = 0 ;
6695 char *kwnames[] = {
6696 (char *) "self", NULL
6697 };
6698
6699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail;
6700 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6702 {
6703 PyThreadState* __tstate = wxPyBeginAllowThreads();
6704 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
6705
6706 wxPyEndAllowThreads(__tstate);
6707 if (PyErr_Occurred()) SWIG_fail;
6708 }
6709 resultobj = SWIG_From_int((int)result);
6710 return resultobj;
6711 fail:
6712 return NULL;
6713 }
6714
6715
6716 static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *, PyObject *args, PyObject *kwargs) {
6717 PyObject *resultobj;
6718 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6719 int arg2 ;
6720 int arg3 ;
6721 int arg4 = (int) 5 ;
6722 bool result;
6723 PyObject * obj0 = 0 ;
6724 PyObject * obj1 = 0 ;
6725 PyObject * obj2 = 0 ;
6726 PyObject * obj3 = 0 ;
6727 char *kwnames[] = {
6728 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6729 };
6730
6731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6732 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6733 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6734 arg2 = (int)SWIG_As_int(obj1);
6735 if (PyErr_Occurred()) SWIG_fail;
6736 arg3 = (int)SWIG_As_int(obj2);
6737 if (PyErr_Occurred()) SWIG_fail;
6738 if (obj3) {
6739 arg4 = (int)SWIG_As_int(obj3);
6740 if (PyErr_Occurred()) SWIG_fail;
6741 }
6742 {
6743 PyThreadState* __tstate = wxPyBeginAllowThreads();
6744 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
6745
6746 wxPyEndAllowThreads(__tstate);
6747 if (PyErr_Occurred()) SWIG_fail;
6748 }
6749 {
6750 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6751 }
6752 return resultobj;
6753 fail:
6754 return NULL;
6755 }
6756
6757
6758 static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *, PyObject *args, PyObject *kwargs) {
6759 PyObject *resultobj;
6760 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6761 PyObject * obj0 = 0 ;
6762 char *kwnames[] = {
6763 (char *) "self", NULL
6764 };
6765
6766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail;
6767 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6768 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6769 {
6770 PyThreadState* __tstate = wxPyBeginAllowThreads();
6771 (arg1)->SizeWindows();
6772
6773 wxPyEndAllowThreads(__tstate);
6774 if (PyErr_Occurred()) SWIG_fail;
6775 }
6776 Py_INCREF(Py_None); resultobj = Py_None;
6777 return resultobj;
6778 fail:
6779 return NULL;
6780 }
6781
6782
6783 static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *, PyObject *args, PyObject *kwargs) {
6784 PyObject *resultobj;
6785 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6786 bool arg2 ;
6787 PyObject * obj0 = 0 ;
6788 PyObject * obj1 = 0 ;
6789 char *kwnames[] = {
6790 (char *) "self",(char *) "needUpdating", NULL
6791 };
6792
6793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail;
6794 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6795 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6796 arg2 = (bool)SWIG_As_bool(obj1);
6797 if (PyErr_Occurred()) SWIG_fail;
6798 {
6799 PyThreadState* __tstate = wxPyBeginAllowThreads();
6800 (arg1)->SetNeedUpdating(arg2);
6801
6802 wxPyEndAllowThreads(__tstate);
6803 if (PyErr_Occurred()) SWIG_fail;
6804 }
6805 Py_INCREF(Py_None); resultobj = Py_None;
6806 return resultobj;
6807 fail:
6808 return NULL;
6809 }
6810
6811
6812 static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *, PyObject *args, PyObject *kwargs) {
6813 PyObject *resultobj;
6814 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6815 bool result;
6816 PyObject * obj0 = 0 ;
6817 char *kwnames[] = {
6818 (char *) "self", NULL
6819 };
6820
6821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail;
6822 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6823 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6824 {
6825 PyThreadState* __tstate = wxPyBeginAllowThreads();
6826 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
6827
6828 wxPyEndAllowThreads(__tstate);
6829 if (PyErr_Occurred()) SWIG_fail;
6830 }
6831 {
6832 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6833 }
6834 return resultobj;
6835 fail:
6836 return NULL;
6837 }
6838
6839
6840 static PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
6841 PyObject *resultobj;
6842 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
6843 wxVisualAttributes result;
6844 PyObject * obj0 = 0 ;
6845 char *kwnames[] = {
6846 (char *) "variant", NULL
6847 };
6848
6849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6850 if (obj0) {
6851 arg1 = (int)SWIG_As_int(obj0);
6852 if (PyErr_Occurred()) SWIG_fail;
6853 }
6854 {
6855 if (!wxPyCheckForApp()) SWIG_fail;
6856 PyThreadState* __tstate = wxPyBeginAllowThreads();
6857 result = wxSplitterWindow::GetClassDefaultAttributes((wxWindowVariant )arg1);
6858
6859 wxPyEndAllowThreads(__tstate);
6860 if (PyErr_Occurred()) SWIG_fail;
6861 }
6862 {
6863 wxVisualAttributes * resultptr;
6864 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
6865 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6866 }
6867 return resultobj;
6868 fail:
6869 return NULL;
6870 }
6871
6872
6873 static PyObject * SplitterWindow_swigregister(PyObject *, PyObject *args) {
6874 PyObject *obj;
6875 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6876 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj);
6877 Py_INCREF(obj);
6878 return Py_BuildValue((char *)"");
6879 }
6880 static PyObject *_wrap_new_SplitterEvent(PyObject *, PyObject *args, PyObject *kwargs) {
6881 PyObject *resultobj;
6882 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
6883 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
6884 wxSplitterEvent *result;
6885 PyObject * obj0 = 0 ;
6886 PyObject * obj1 = 0 ;
6887 char *kwnames[] = {
6888 (char *) "type",(char *) "splitter", NULL
6889 };
6890
6891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) goto fail;
6892 if (obj0) {
6893 arg1 = (wxEventType)SWIG_As_int(obj0);
6894 if (PyErr_Occurred()) SWIG_fail;
6895 }
6896 if (obj1) {
6897 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSplitterWindow,
6898 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6899 }
6900 {
6901 PyThreadState* __tstate = wxPyBeginAllowThreads();
6902 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
6903
6904 wxPyEndAllowThreads(__tstate);
6905 if (PyErr_Occurred()) SWIG_fail;
6906 }
6907 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterEvent, 1);
6908 return resultobj;
6909 fail:
6910 return NULL;
6911 }
6912
6913
6914 static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
6915 PyObject *resultobj;
6916 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6917 int arg2 ;
6918 PyObject * obj0 = 0 ;
6919 PyObject * obj1 = 0 ;
6920 char *kwnames[] = {
6921 (char *) "self",(char *) "pos", NULL
6922 };
6923
6924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) goto fail;
6925 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6926 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6927 arg2 = (int)SWIG_As_int(obj1);
6928 if (PyErr_Occurred()) SWIG_fail;
6929 {
6930 PyThreadState* __tstate = wxPyBeginAllowThreads();
6931 (arg1)->SetSashPosition(arg2);
6932
6933 wxPyEndAllowThreads(__tstate);
6934 if (PyErr_Occurred()) SWIG_fail;
6935 }
6936 Py_INCREF(Py_None); resultobj = Py_None;
6937 return resultobj;
6938 fail:
6939 return NULL;
6940 }
6941
6942
6943 static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
6944 PyObject *resultobj;
6945 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6946 int result;
6947 PyObject * obj0 = 0 ;
6948 char *kwnames[] = {
6949 (char *) "self", NULL
6950 };
6951
6952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail;
6953 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6954 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6955 {
6956 PyThreadState* __tstate = wxPyBeginAllowThreads();
6957 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
6958
6959 wxPyEndAllowThreads(__tstate);
6960 if (PyErr_Occurred()) SWIG_fail;
6961 }
6962 resultobj = SWIG_From_int((int)result);
6963 return resultobj;
6964 fail:
6965 return NULL;
6966 }
6967
6968
6969 static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *, PyObject *args, PyObject *kwargs) {
6970 PyObject *resultobj;
6971 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6972 wxWindow *result;
6973 PyObject * obj0 = 0 ;
6974 char *kwnames[] = {
6975 (char *) "self", NULL
6976 };
6977
6978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",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 = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
6984
6985 wxPyEndAllowThreads(__tstate);
6986 if (PyErr_Occurred()) SWIG_fail;
6987 }
6988 {
6989 resultobj = wxPyMake_wxObject(result, 0);
6990 }
6991 return resultobj;
6992 fail:
6993 return NULL;
6994 }
6995
6996
6997 static PyObject *_wrap_SplitterEvent_GetX(PyObject *, PyObject *args, PyObject *kwargs) {
6998 PyObject *resultobj;
6999 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
7000 int result;
7001 PyObject * obj0 = 0 ;
7002 char *kwnames[] = {
7003 (char *) "self", NULL
7004 };
7005
7006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail;
7007 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
7008 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7009 {
7010 PyThreadState* __tstate = wxPyBeginAllowThreads();
7011 result = (int)((wxSplitterEvent const *)arg1)->GetX();
7012
7013 wxPyEndAllowThreads(__tstate);
7014 if (PyErr_Occurred()) SWIG_fail;
7015 }
7016 resultobj = SWIG_From_int((int)result);
7017 return resultobj;
7018 fail:
7019 return NULL;
7020 }
7021
7022
7023 static PyObject *_wrap_SplitterEvent_GetY(PyObject *, PyObject *args, PyObject *kwargs) {
7024 PyObject *resultobj;
7025 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
7026 int result;
7027 PyObject * obj0 = 0 ;
7028 char *kwnames[] = {
7029 (char *) "self", NULL
7030 };
7031
7032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail;
7033 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
7034 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7035 {
7036 PyThreadState* __tstate = wxPyBeginAllowThreads();
7037 result = (int)((wxSplitterEvent const *)arg1)->GetY();
7038
7039 wxPyEndAllowThreads(__tstate);
7040 if (PyErr_Occurred()) SWIG_fail;
7041 }
7042 resultobj = SWIG_From_int((int)result);
7043 return resultobj;
7044 fail:
7045 return NULL;
7046 }
7047
7048
7049 static PyObject * SplitterEvent_swigregister(PyObject *, PyObject *args) {
7050 PyObject *obj;
7051 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7052 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj);
7053 Py_INCREF(obj);
7054 return Py_BuildValue((char *)"");
7055 }
7056 static int _wrap_SashNameStr_set(PyObject *) {
7057 PyErr_SetString(PyExc_TypeError,"Variable SashNameStr is read-only.");
7058 return 1;
7059 }
7060
7061
7062 static PyObject *_wrap_SashNameStr_get() {
7063 PyObject *pyobj;
7064
7065 {
7066 #if wxUSE_UNICODE
7067 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
7068 #else
7069 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
7070 #endif
7071 }
7072 return pyobj;
7073 }
7074
7075
7076 static int _wrap_SashLayoutNameStr_set(PyObject *) {
7077 PyErr_SetString(PyExc_TypeError,"Variable SashLayoutNameStr is read-only.");
7078 return 1;
7079 }
7080
7081
7082 static PyObject *_wrap_SashLayoutNameStr_get() {
7083 PyObject *pyobj;
7084
7085 {
7086 #if wxUSE_UNICODE
7087 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
7088 #else
7089 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
7090 #endif
7091 }
7092 return pyobj;
7093 }
7094
7095
7096 static PyObject *_wrap_new_SashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7097 PyObject *resultobj;
7098 wxWindow *arg1 = (wxWindow *) 0 ;
7099 int arg2 = (int) -1 ;
7100 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7101 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7102 wxSize const &arg4_defvalue = wxDefaultSize ;
7103 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7104 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
7105 wxString const &arg6_defvalue = wxPySashNameStr ;
7106 wxString *arg6 = (wxString *) &arg6_defvalue ;
7107 wxSashWindow *result;
7108 wxPoint temp3 ;
7109 wxSize temp4 ;
7110 bool temp6 = false ;
7111 PyObject * obj0 = 0 ;
7112 PyObject * obj1 = 0 ;
7113 PyObject * obj2 = 0 ;
7114 PyObject * obj3 = 0 ;
7115 PyObject * obj4 = 0 ;
7116 PyObject * obj5 = 0 ;
7117 char *kwnames[] = {
7118 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7119 };
7120
7121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
7122 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
7123 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7124 if (obj1) {
7125 arg2 = (int)SWIG_As_int(obj1);
7126 if (PyErr_Occurred()) SWIG_fail;
7127 }
7128 if (obj2) {
7129 {
7130 arg3 = &temp3;
7131 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7132 }
7133 }
7134 if (obj3) {
7135 {
7136 arg4 = &temp4;
7137 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7138 }
7139 }
7140 if (obj4) {
7141 arg5 = (long)SWIG_As_long(obj4);
7142 if (PyErr_Occurred()) SWIG_fail;
7143 }
7144 if (obj5) {
7145 {
7146 arg6 = wxString_in_helper(obj5);
7147 if (arg6 == NULL) SWIG_fail;
7148 temp6 = true;
7149 }
7150 }
7151 {
7152 if (!wxPyCheckForApp()) SWIG_fail;
7153 PyThreadState* __tstate = wxPyBeginAllowThreads();
7154 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7155
7156 wxPyEndAllowThreads(__tstate);
7157 if (PyErr_Occurred()) SWIG_fail;
7158 }
7159 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
7160 {
7161 if (temp6)
7162 delete arg6;
7163 }
7164 return resultobj;
7165 fail:
7166 {
7167 if (temp6)
7168 delete arg6;
7169 }
7170 return NULL;
7171 }
7172
7173
7174 static PyObject *_wrap_new_PreSashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7175 PyObject *resultobj;
7176 wxSashWindow *result;
7177 char *kwnames[] = {
7178 NULL
7179 };
7180
7181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail;
7182 {
7183 if (!wxPyCheckForApp()) SWIG_fail;
7184 PyThreadState* __tstate = wxPyBeginAllowThreads();
7185 result = (wxSashWindow *)new wxSashWindow();
7186
7187 wxPyEndAllowThreads(__tstate);
7188 if (PyErr_Occurred()) SWIG_fail;
7189 }
7190 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
7191 return resultobj;
7192 fail:
7193 return NULL;
7194 }
7195
7196
7197 static PyObject *_wrap_SashWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7198 PyObject *resultobj;
7199 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7200 wxWindow *arg2 = (wxWindow *) 0 ;
7201 int arg3 = (int) -1 ;
7202 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7203 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7204 wxSize const &arg5_defvalue = wxDefaultSize ;
7205 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7206 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
7207 wxString const &arg7_defvalue = wxPySashNameStr ;
7208 wxString *arg7 = (wxString *) &arg7_defvalue ;
7209 bool result;
7210 wxPoint temp4 ;
7211 wxSize temp5 ;
7212 bool temp7 = false ;
7213 PyObject * obj0 = 0 ;
7214 PyObject * obj1 = 0 ;
7215 PyObject * obj2 = 0 ;
7216 PyObject * obj3 = 0 ;
7217 PyObject * obj4 = 0 ;
7218 PyObject * obj5 = 0 ;
7219 PyObject * obj6 = 0 ;
7220 char *kwnames[] = {
7221 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7222 };
7223
7224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
7225 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7226 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7227 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
7228 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7229 if (obj2) {
7230 arg3 = (int)SWIG_As_int(obj2);
7231 if (PyErr_Occurred()) SWIG_fail;
7232 }
7233 if (obj3) {
7234 {
7235 arg4 = &temp4;
7236 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7237 }
7238 }
7239 if (obj4) {
7240 {
7241 arg5 = &temp5;
7242 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7243 }
7244 }
7245 if (obj5) {
7246 arg6 = (long)SWIG_As_long(obj5);
7247 if (PyErr_Occurred()) SWIG_fail;
7248 }
7249 if (obj6) {
7250 {
7251 arg7 = wxString_in_helper(obj6);
7252 if (arg7 == NULL) SWIG_fail;
7253 temp7 = true;
7254 }
7255 }
7256 {
7257 PyThreadState* __tstate = wxPyBeginAllowThreads();
7258 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7259
7260 wxPyEndAllowThreads(__tstate);
7261 if (PyErr_Occurred()) SWIG_fail;
7262 }
7263 {
7264 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7265 }
7266 {
7267 if (temp7)
7268 delete arg7;
7269 }
7270 return resultobj;
7271 fail:
7272 {
7273 if (temp7)
7274 delete arg7;
7275 }
7276 return NULL;
7277 }
7278
7279
7280 static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *, PyObject *args, PyObject *kwargs) {
7281 PyObject *resultobj;
7282 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7283 int arg2 ;
7284 bool arg3 ;
7285 PyObject * obj0 = 0 ;
7286 PyObject * obj1 = 0 ;
7287 PyObject * obj2 = 0 ;
7288 char *kwnames[] = {
7289 (char *) "self",(char *) "edge",(char *) "sash", NULL
7290 };
7291
7292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) goto fail;
7293 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7294 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7295 arg2 = (int)SWIG_As_int(obj1);
7296 if (PyErr_Occurred()) SWIG_fail;
7297 arg3 = (bool)SWIG_As_bool(obj2);
7298 if (PyErr_Occurred()) SWIG_fail;
7299 {
7300 PyThreadState* __tstate = wxPyBeginAllowThreads();
7301 (arg1)->SetSashVisible((wxSashEdgePosition )arg2,arg3);
7302
7303 wxPyEndAllowThreads(__tstate);
7304 if (PyErr_Occurred()) SWIG_fail;
7305 }
7306 Py_INCREF(Py_None); resultobj = Py_None;
7307 return resultobj;
7308 fail:
7309 return NULL;
7310 }
7311
7312
7313 static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *, PyObject *args, PyObject *kwargs) {
7314 PyObject *resultobj;
7315 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7316 int arg2 ;
7317 bool result;
7318 PyObject * obj0 = 0 ;
7319 PyObject * obj1 = 0 ;
7320 char *kwnames[] = {
7321 (char *) "self",(char *) "edge", NULL
7322 };
7323
7324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) goto fail;
7325 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7326 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7327 arg2 = (int)SWIG_As_int(obj1);
7328 if (PyErr_Occurred()) SWIG_fail;
7329 {
7330 PyThreadState* __tstate = wxPyBeginAllowThreads();
7331 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible((wxSashEdgePosition )arg2);
7332
7333 wxPyEndAllowThreads(__tstate);
7334 if (PyErr_Occurred()) SWIG_fail;
7335 }
7336 {
7337 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7338 }
7339 return resultobj;
7340 fail:
7341 return NULL;
7342 }
7343
7344
7345 static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *, PyObject *args, PyObject *kwargs) {
7346 PyObject *resultobj;
7347 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7348 int arg2 ;
7349 bool arg3 ;
7350 PyObject * obj0 = 0 ;
7351 PyObject * obj1 = 0 ;
7352 PyObject * obj2 = 0 ;
7353 char *kwnames[] = {
7354 (char *) "self",(char *) "edge",(char *) "border", NULL
7355 };
7356
7357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) goto fail;
7358 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7359 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7360 arg2 = (int)SWIG_As_int(obj1);
7361 if (PyErr_Occurred()) SWIG_fail;
7362 arg3 = (bool)SWIG_As_bool(obj2);
7363 if (PyErr_Occurred()) SWIG_fail;
7364 {
7365 PyThreadState* __tstate = wxPyBeginAllowThreads();
7366 (arg1)->SetSashBorder((wxSashEdgePosition )arg2,arg3);
7367
7368 wxPyEndAllowThreads(__tstate);
7369 if (PyErr_Occurred()) SWIG_fail;
7370 }
7371 Py_INCREF(Py_None); resultobj = Py_None;
7372 return resultobj;
7373 fail:
7374 return NULL;
7375 }
7376
7377
7378 static PyObject *_wrap_SashWindow_HasBorder(PyObject *, PyObject *args, PyObject *kwargs) {
7379 PyObject *resultobj;
7380 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7381 int arg2 ;
7382 bool result;
7383 PyObject * obj0 = 0 ;
7384 PyObject * obj1 = 0 ;
7385 char *kwnames[] = {
7386 (char *) "self",(char *) "edge", NULL
7387 };
7388
7389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) goto fail;
7390 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7391 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7392 arg2 = (int)SWIG_As_int(obj1);
7393 if (PyErr_Occurred()) SWIG_fail;
7394 {
7395 PyThreadState* __tstate = wxPyBeginAllowThreads();
7396 result = (bool)((wxSashWindow const *)arg1)->HasBorder((wxSashEdgePosition )arg2);
7397
7398 wxPyEndAllowThreads(__tstate);
7399 if (PyErr_Occurred()) SWIG_fail;
7400 }
7401 {
7402 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7403 }
7404 return resultobj;
7405 fail:
7406 return NULL;
7407 }
7408
7409
7410 static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *, PyObject *args, PyObject *kwargs) {
7411 PyObject *resultobj;
7412 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7413 int arg2 ;
7414 int result;
7415 PyObject * obj0 = 0 ;
7416 PyObject * obj1 = 0 ;
7417 char *kwnames[] = {
7418 (char *) "self",(char *) "edge", NULL
7419 };
7420
7421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) goto fail;
7422 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7423 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7424 arg2 = (int)SWIG_As_int(obj1);
7425 if (PyErr_Occurred()) SWIG_fail;
7426 {
7427 PyThreadState* __tstate = wxPyBeginAllowThreads();
7428 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin((wxSashEdgePosition )arg2);
7429
7430 wxPyEndAllowThreads(__tstate);
7431 if (PyErr_Occurred()) SWIG_fail;
7432 }
7433 resultobj = SWIG_From_int((int)result);
7434 return resultobj;
7435 fail:
7436 return NULL;
7437 }
7438
7439
7440 static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
7441 PyObject *resultobj;
7442 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7443 int arg2 ;
7444 PyObject * obj0 = 0 ;
7445 PyObject * obj1 = 0 ;
7446 char *kwnames[] = {
7447 (char *) "self",(char *) "width", NULL
7448 };
7449
7450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) goto fail;
7451 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7452 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7453 arg2 = (int)SWIG_As_int(obj1);
7454 if (PyErr_Occurred()) SWIG_fail;
7455 {
7456 PyThreadState* __tstate = wxPyBeginAllowThreads();
7457 (arg1)->SetDefaultBorderSize(arg2);
7458
7459 wxPyEndAllowThreads(__tstate);
7460 if (PyErr_Occurred()) SWIG_fail;
7461 }
7462 Py_INCREF(Py_None); resultobj = Py_None;
7463 return resultobj;
7464 fail:
7465 return NULL;
7466 }
7467
7468
7469 static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
7470 PyObject *resultobj;
7471 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7472 int result;
7473 PyObject * obj0 = 0 ;
7474 char *kwnames[] = {
7475 (char *) "self", NULL
7476 };
7477
7478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail;
7479 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7480 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7481 {
7482 PyThreadState* __tstate = wxPyBeginAllowThreads();
7483 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
7484
7485 wxPyEndAllowThreads(__tstate);
7486 if (PyErr_Occurred()) SWIG_fail;
7487 }
7488 resultobj = SWIG_From_int((int)result);
7489 return resultobj;
7490 fail:
7491 return NULL;
7492 }
7493
7494
7495 static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
7496 PyObject *resultobj;
7497 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7498 int arg2 ;
7499 PyObject * obj0 = 0 ;
7500 PyObject * obj1 = 0 ;
7501 char *kwnames[] = {
7502 (char *) "self",(char *) "width", NULL
7503 };
7504
7505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) goto fail;
7506 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7507 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7508 arg2 = (int)SWIG_As_int(obj1);
7509 if (PyErr_Occurred()) SWIG_fail;
7510 {
7511 PyThreadState* __tstate = wxPyBeginAllowThreads();
7512 (arg1)->SetExtraBorderSize(arg2);
7513
7514 wxPyEndAllowThreads(__tstate);
7515 if (PyErr_Occurred()) SWIG_fail;
7516 }
7517 Py_INCREF(Py_None); resultobj = Py_None;
7518 return resultobj;
7519 fail:
7520 return NULL;
7521 }
7522
7523
7524 static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
7525 PyObject *resultobj;
7526 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7527 int result;
7528 PyObject * obj0 = 0 ;
7529 char *kwnames[] = {
7530 (char *) "self", NULL
7531 };
7532
7533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail;
7534 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7535 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7536 {
7537 PyThreadState* __tstate = wxPyBeginAllowThreads();
7538 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
7539
7540 wxPyEndAllowThreads(__tstate);
7541 if (PyErr_Occurred()) SWIG_fail;
7542 }
7543 resultobj = SWIG_From_int((int)result);
7544 return resultobj;
7545 fail:
7546 return NULL;
7547 }
7548
7549
7550 static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
7551 PyObject *resultobj;
7552 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7553 int arg2 ;
7554 PyObject * obj0 = 0 ;
7555 PyObject * obj1 = 0 ;
7556 char *kwnames[] = {
7557 (char *) "self",(char *) "min", NULL
7558 };
7559
7560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) goto fail;
7561 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7562 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7563 arg2 = (int)SWIG_As_int(obj1);
7564 if (PyErr_Occurred()) SWIG_fail;
7565 {
7566 PyThreadState* __tstate = wxPyBeginAllowThreads();
7567 (arg1)->SetMinimumSizeX(arg2);
7568
7569 wxPyEndAllowThreads(__tstate);
7570 if (PyErr_Occurred()) SWIG_fail;
7571 }
7572 Py_INCREF(Py_None); resultobj = Py_None;
7573 return resultobj;
7574 fail:
7575 return NULL;
7576 }
7577
7578
7579 static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
7580 PyObject *resultobj;
7581 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7582 int arg2 ;
7583 PyObject * obj0 = 0 ;
7584 PyObject * obj1 = 0 ;
7585 char *kwnames[] = {
7586 (char *) "self",(char *) "min", NULL
7587 };
7588
7589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) goto fail;
7590 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7591 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7592 arg2 = (int)SWIG_As_int(obj1);
7593 if (PyErr_Occurred()) SWIG_fail;
7594 {
7595 PyThreadState* __tstate = wxPyBeginAllowThreads();
7596 (arg1)->SetMinimumSizeY(arg2);
7597
7598 wxPyEndAllowThreads(__tstate);
7599 if (PyErr_Occurred()) SWIG_fail;
7600 }
7601 Py_INCREF(Py_None); resultobj = Py_None;
7602 return resultobj;
7603 fail:
7604 return NULL;
7605 }
7606
7607
7608 static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
7609 PyObject *resultobj;
7610 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7611 int result;
7612 PyObject * obj0 = 0 ;
7613 char *kwnames[] = {
7614 (char *) "self", NULL
7615 };
7616
7617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail;
7618 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7619 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7620 {
7621 PyThreadState* __tstate = wxPyBeginAllowThreads();
7622 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
7623
7624 wxPyEndAllowThreads(__tstate);
7625 if (PyErr_Occurred()) SWIG_fail;
7626 }
7627 resultobj = SWIG_From_int((int)result);
7628 return resultobj;
7629 fail:
7630 return NULL;
7631 }
7632
7633
7634 static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
7635 PyObject *resultobj;
7636 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7637 int result;
7638 PyObject * obj0 = 0 ;
7639 char *kwnames[] = {
7640 (char *) "self", NULL
7641 };
7642
7643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail;
7644 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7645 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7646 {
7647 PyThreadState* __tstate = wxPyBeginAllowThreads();
7648 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
7649
7650 wxPyEndAllowThreads(__tstate);
7651 if (PyErr_Occurred()) SWIG_fail;
7652 }
7653 resultobj = SWIG_From_int((int)result);
7654 return resultobj;
7655 fail:
7656 return NULL;
7657 }
7658
7659
7660 static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
7661 PyObject *resultobj;
7662 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7663 int arg2 ;
7664 PyObject * obj0 = 0 ;
7665 PyObject * obj1 = 0 ;
7666 char *kwnames[] = {
7667 (char *) "self",(char *) "max", NULL
7668 };
7669
7670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) goto fail;
7671 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7672 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7673 arg2 = (int)SWIG_As_int(obj1);
7674 if (PyErr_Occurred()) SWIG_fail;
7675 {
7676 PyThreadState* __tstate = wxPyBeginAllowThreads();
7677 (arg1)->SetMaximumSizeX(arg2);
7678
7679 wxPyEndAllowThreads(__tstate);
7680 if (PyErr_Occurred()) SWIG_fail;
7681 }
7682 Py_INCREF(Py_None); resultobj = Py_None;
7683 return resultobj;
7684 fail:
7685 return NULL;
7686 }
7687
7688
7689 static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
7690 PyObject *resultobj;
7691 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7692 int arg2 ;
7693 PyObject * obj0 = 0 ;
7694 PyObject * obj1 = 0 ;
7695 char *kwnames[] = {
7696 (char *) "self",(char *) "max", NULL
7697 };
7698
7699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) goto fail;
7700 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7702 arg2 = (int)SWIG_As_int(obj1);
7703 if (PyErr_Occurred()) SWIG_fail;
7704 {
7705 PyThreadState* __tstate = wxPyBeginAllowThreads();
7706 (arg1)->SetMaximumSizeY(arg2);
7707
7708 wxPyEndAllowThreads(__tstate);
7709 if (PyErr_Occurred()) SWIG_fail;
7710 }
7711 Py_INCREF(Py_None); resultobj = Py_None;
7712 return resultobj;
7713 fail:
7714 return NULL;
7715 }
7716
7717
7718 static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
7719 PyObject *resultobj;
7720 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7721 int result;
7722 PyObject * obj0 = 0 ;
7723 char *kwnames[] = {
7724 (char *) "self", NULL
7725 };
7726
7727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail;
7728 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7730 {
7731 PyThreadState* __tstate = wxPyBeginAllowThreads();
7732 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
7733
7734 wxPyEndAllowThreads(__tstate);
7735 if (PyErr_Occurred()) SWIG_fail;
7736 }
7737 resultobj = SWIG_From_int((int)result);
7738 return resultobj;
7739 fail:
7740 return NULL;
7741 }
7742
7743
7744 static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
7745 PyObject *resultobj;
7746 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7747 int result;
7748 PyObject * obj0 = 0 ;
7749 char *kwnames[] = {
7750 (char *) "self", NULL
7751 };
7752
7753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail;
7754 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7755 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7756 {
7757 PyThreadState* __tstate = wxPyBeginAllowThreads();
7758 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
7759
7760 wxPyEndAllowThreads(__tstate);
7761 if (PyErr_Occurred()) SWIG_fail;
7762 }
7763 resultobj = SWIG_From_int((int)result);
7764 return resultobj;
7765 fail:
7766 return NULL;
7767 }
7768
7769
7770 static PyObject *_wrap_SashWindow_SashHitTest(PyObject *, PyObject *args, PyObject *kwargs) {
7771 PyObject *resultobj;
7772 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7773 int arg2 ;
7774 int arg3 ;
7775 int arg4 = (int) 2 ;
7776 int result;
7777 PyObject * obj0 = 0 ;
7778 PyObject * obj1 = 0 ;
7779 PyObject * obj2 = 0 ;
7780 PyObject * obj3 = 0 ;
7781 char *kwnames[] = {
7782 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
7783 };
7784
7785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7786 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7787 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7788 arg2 = (int)SWIG_As_int(obj1);
7789 if (PyErr_Occurred()) SWIG_fail;
7790 arg3 = (int)SWIG_As_int(obj2);
7791 if (PyErr_Occurred()) SWIG_fail;
7792 if (obj3) {
7793 arg4 = (int)SWIG_As_int(obj3);
7794 if (PyErr_Occurred()) SWIG_fail;
7795 }
7796 {
7797 PyThreadState* __tstate = wxPyBeginAllowThreads();
7798 result = (int)(arg1)->SashHitTest(arg2,arg3,arg4);
7799
7800 wxPyEndAllowThreads(__tstate);
7801 if (PyErr_Occurred()) SWIG_fail;
7802 }
7803 resultobj = SWIG_From_int((int)result);
7804 return resultobj;
7805 fail:
7806 return NULL;
7807 }
7808
7809
7810 static PyObject *_wrap_SashWindow_SizeWindows(PyObject *, PyObject *args, PyObject *kwargs) {
7811 PyObject *resultobj;
7812 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7813 PyObject * obj0 = 0 ;
7814 char *kwnames[] = {
7815 (char *) "self", NULL
7816 };
7817
7818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail;
7819 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7820 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7821 {
7822 PyThreadState* __tstate = wxPyBeginAllowThreads();
7823 (arg1)->SizeWindows();
7824
7825 wxPyEndAllowThreads(__tstate);
7826 if (PyErr_Occurred()) SWIG_fail;
7827 }
7828 Py_INCREF(Py_None); resultobj = Py_None;
7829 return resultobj;
7830 fail:
7831 return NULL;
7832 }
7833
7834
7835 static PyObject * SashWindow_swigregister(PyObject *, PyObject *args) {
7836 PyObject *obj;
7837 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7838 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj);
7839 Py_INCREF(obj);
7840 return Py_BuildValue((char *)"");
7841 }
7842 static PyObject *_wrap_new_SashEvent(PyObject *, PyObject *args, PyObject *kwargs) {
7843 PyObject *resultobj;
7844 int arg1 = (int) 0 ;
7845 int arg2 = (int) wxSASH_NONE ;
7846 wxSashEvent *result;
7847 PyObject * obj0 = 0 ;
7848 PyObject * obj1 = 0 ;
7849 char *kwnames[] = {
7850 (char *) "id",(char *) "edge", NULL
7851 };
7852
7853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) goto fail;
7854 if (obj0) {
7855 arg1 = (int)SWIG_As_int(obj0);
7856 if (PyErr_Occurred()) SWIG_fail;
7857 }
7858 if (obj1) {
7859 arg2 = (int)SWIG_As_int(obj1);
7860 if (PyErr_Occurred()) SWIG_fail;
7861 }
7862 {
7863 PyThreadState* __tstate = wxPyBeginAllowThreads();
7864 result = (wxSashEvent *)new wxSashEvent(arg1,(wxSashEdgePosition )arg2);
7865
7866 wxPyEndAllowThreads(__tstate);
7867 if (PyErr_Occurred()) SWIG_fail;
7868 }
7869 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashEvent, 1);
7870 return resultobj;
7871 fail:
7872 return NULL;
7873 }
7874
7875
7876 static PyObject *_wrap_SashEvent_SetEdge(PyObject *, PyObject *args, PyObject *kwargs) {
7877 PyObject *resultobj;
7878 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7879 int arg2 ;
7880 PyObject * obj0 = 0 ;
7881 PyObject * obj1 = 0 ;
7882 char *kwnames[] = {
7883 (char *) "self",(char *) "edge", NULL
7884 };
7885
7886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) goto fail;
7887 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7888 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7889 arg2 = (int)SWIG_As_int(obj1);
7890 if (PyErr_Occurred()) SWIG_fail;
7891 {
7892 PyThreadState* __tstate = wxPyBeginAllowThreads();
7893 (arg1)->SetEdge((wxSashEdgePosition )arg2);
7894
7895 wxPyEndAllowThreads(__tstate);
7896 if (PyErr_Occurred()) SWIG_fail;
7897 }
7898 Py_INCREF(Py_None); resultobj = Py_None;
7899 return resultobj;
7900 fail:
7901 return NULL;
7902 }
7903
7904
7905 static PyObject *_wrap_SashEvent_GetEdge(PyObject *, PyObject *args, PyObject *kwargs) {
7906 PyObject *resultobj;
7907 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7908 int result;
7909 PyObject * obj0 = 0 ;
7910 char *kwnames[] = {
7911 (char *) "self", NULL
7912 };
7913
7914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail;
7915 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7916 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7917 {
7918 PyThreadState* __tstate = wxPyBeginAllowThreads();
7919 result = (int)((wxSashEvent const *)arg1)->GetEdge();
7920
7921 wxPyEndAllowThreads(__tstate);
7922 if (PyErr_Occurred()) SWIG_fail;
7923 }
7924 resultobj = SWIG_From_int((int)result);
7925 return resultobj;
7926 fail:
7927 return NULL;
7928 }
7929
7930
7931 static PyObject *_wrap_SashEvent_SetDragRect(PyObject *, PyObject *args, PyObject *kwargs) {
7932 PyObject *resultobj;
7933 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7934 wxRect *arg2 = 0 ;
7935 wxRect temp2 ;
7936 PyObject * obj0 = 0 ;
7937 PyObject * obj1 = 0 ;
7938 char *kwnames[] = {
7939 (char *) "self",(char *) "rect", NULL
7940 };
7941
7942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail;
7943 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7944 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7945 {
7946 arg2 = &temp2;
7947 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7948 }
7949 {
7950 PyThreadState* __tstate = wxPyBeginAllowThreads();
7951 (arg1)->SetDragRect((wxRect const &)*arg2);
7952
7953 wxPyEndAllowThreads(__tstate);
7954 if (PyErr_Occurred()) SWIG_fail;
7955 }
7956 Py_INCREF(Py_None); resultobj = Py_None;
7957 return resultobj;
7958 fail:
7959 return NULL;
7960 }
7961
7962
7963 static PyObject *_wrap_SashEvent_GetDragRect(PyObject *, PyObject *args, PyObject *kwargs) {
7964 PyObject *resultobj;
7965 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7966 wxRect result;
7967 PyObject * obj0 = 0 ;
7968 char *kwnames[] = {
7969 (char *) "self", NULL
7970 };
7971
7972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail;
7973 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7974 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7975 {
7976 PyThreadState* __tstate = wxPyBeginAllowThreads();
7977 result = ((wxSashEvent const *)arg1)->GetDragRect();
7978
7979 wxPyEndAllowThreads(__tstate);
7980 if (PyErr_Occurred()) SWIG_fail;
7981 }
7982 {
7983 wxRect * resultptr;
7984 resultptr = new wxRect((wxRect &) result);
7985 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
7986 }
7987 return resultobj;
7988 fail:
7989 return NULL;
7990 }
7991
7992
7993 static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *, PyObject *args, PyObject *kwargs) {
7994 PyObject *resultobj;
7995 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7996 int arg2 ;
7997 PyObject * obj0 = 0 ;
7998 PyObject * obj1 = 0 ;
7999 char *kwnames[] = {
8000 (char *) "self",(char *) "status", NULL
8001 };
8002
8003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) goto fail;
8004 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
8005 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8006 arg2 = (int)SWIG_As_int(obj1);
8007 if (PyErr_Occurred()) SWIG_fail;
8008 {
8009 PyThreadState* __tstate = wxPyBeginAllowThreads();
8010 (arg1)->SetDragStatus((wxSashDragStatus )arg2);
8011
8012 wxPyEndAllowThreads(__tstate);
8013 if (PyErr_Occurred()) SWIG_fail;
8014 }
8015 Py_INCREF(Py_None); resultobj = Py_None;
8016 return resultobj;
8017 fail:
8018 return NULL;
8019 }
8020
8021
8022 static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *, PyObject *args, PyObject *kwargs) {
8023 PyObject *resultobj;
8024 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
8025 int result;
8026 PyObject * obj0 = 0 ;
8027 char *kwnames[] = {
8028 (char *) "self", NULL
8029 };
8030
8031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail;
8032 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
8033 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8034 {
8035 PyThreadState* __tstate = wxPyBeginAllowThreads();
8036 result = (int)((wxSashEvent const *)arg1)->GetDragStatus();
8037
8038 wxPyEndAllowThreads(__tstate);
8039 if (PyErr_Occurred()) SWIG_fail;
8040 }
8041 resultobj = SWIG_From_int((int)result);
8042 return resultobj;
8043 fail:
8044 return NULL;
8045 }
8046
8047
8048 static PyObject * SashEvent_swigregister(PyObject *, PyObject *args) {
8049 PyObject *obj;
8050 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8051 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj);
8052 Py_INCREF(obj);
8053 return Py_BuildValue((char *)"");
8054 }
8055 static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *, PyObject *args, PyObject *kwargs) {
8056 PyObject *resultobj;
8057 int arg1 = (int) 0 ;
8058 wxQueryLayoutInfoEvent *result;
8059 PyObject * obj0 = 0 ;
8060 char *kwnames[] = {
8061 (char *) "id", NULL
8062 };
8063
8064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) goto fail;
8065 if (obj0) {
8066 arg1 = (int)SWIG_As_int(obj0);
8067 if (PyErr_Occurred()) SWIG_fail;
8068 }
8069 {
8070 PyThreadState* __tstate = wxPyBeginAllowThreads();
8071 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
8072
8073 wxPyEndAllowThreads(__tstate);
8074 if (PyErr_Occurred()) SWIG_fail;
8075 }
8076 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, 1);
8077 return resultobj;
8078 fail:
8079 return NULL;
8080 }
8081
8082
8083 static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *, PyObject *args, PyObject *kwargs) {
8084 PyObject *resultobj;
8085 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8086 int arg2 ;
8087 PyObject * obj0 = 0 ;
8088 PyObject * obj1 = 0 ;
8089 char *kwnames[] = {
8090 (char *) "self",(char *) "length", NULL
8091 };
8092
8093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) goto fail;
8094 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8095 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8096 arg2 = (int)SWIG_As_int(obj1);
8097 if (PyErr_Occurred()) SWIG_fail;
8098 {
8099 PyThreadState* __tstate = wxPyBeginAllowThreads();
8100 (arg1)->SetRequestedLength(arg2);
8101
8102 wxPyEndAllowThreads(__tstate);
8103 if (PyErr_Occurred()) SWIG_fail;
8104 }
8105 Py_INCREF(Py_None); resultobj = Py_None;
8106 return resultobj;
8107 fail:
8108 return NULL;
8109 }
8110
8111
8112 static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *, PyObject *args, PyObject *kwargs) {
8113 PyObject *resultobj;
8114 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8115 int result;
8116 PyObject * obj0 = 0 ;
8117 char *kwnames[] = {
8118 (char *) "self", NULL
8119 };
8120
8121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail;
8122 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8123 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8124 {
8125 PyThreadState* __tstate = wxPyBeginAllowThreads();
8126 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
8127
8128 wxPyEndAllowThreads(__tstate);
8129 if (PyErr_Occurred()) SWIG_fail;
8130 }
8131 resultobj = SWIG_From_int((int)result);
8132 return resultobj;
8133 fail:
8134 return NULL;
8135 }
8136
8137
8138 static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
8139 PyObject *resultobj;
8140 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8141 int arg2 ;
8142 PyObject * obj0 = 0 ;
8143 PyObject * obj1 = 0 ;
8144 char *kwnames[] = {
8145 (char *) "self",(char *) "flags", NULL
8146 };
8147
8148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
8149 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8150 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8151 arg2 = (int)SWIG_As_int(obj1);
8152 if (PyErr_Occurred()) SWIG_fail;
8153 {
8154 PyThreadState* __tstate = wxPyBeginAllowThreads();
8155 (arg1)->SetFlags(arg2);
8156
8157 wxPyEndAllowThreads(__tstate);
8158 if (PyErr_Occurred()) SWIG_fail;
8159 }
8160 Py_INCREF(Py_None); resultobj = Py_None;
8161 return resultobj;
8162 fail:
8163 return NULL;
8164 }
8165
8166
8167 static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
8168 PyObject *resultobj;
8169 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8170 int result;
8171 PyObject * obj0 = 0 ;
8172 char *kwnames[] = {
8173 (char *) "self", NULL
8174 };
8175
8176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail;
8177 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8178 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8179 {
8180 PyThreadState* __tstate = wxPyBeginAllowThreads();
8181 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
8182
8183 wxPyEndAllowThreads(__tstate);
8184 if (PyErr_Occurred()) SWIG_fail;
8185 }
8186 resultobj = SWIG_From_int((int)result);
8187 return resultobj;
8188 fail:
8189 return NULL;
8190 }
8191
8192
8193 static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
8194 PyObject *resultobj;
8195 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8196 wxSize *arg2 = 0 ;
8197 wxSize temp2 ;
8198 PyObject * obj0 = 0 ;
8199 PyObject * obj1 = 0 ;
8200 char *kwnames[] = {
8201 (char *) "self",(char *) "size", NULL
8202 };
8203
8204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
8205 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8206 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8207 {
8208 arg2 = &temp2;
8209 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
8210 }
8211 {
8212 PyThreadState* __tstate = wxPyBeginAllowThreads();
8213 (arg1)->SetSize((wxSize const &)*arg2);
8214
8215 wxPyEndAllowThreads(__tstate);
8216 if (PyErr_Occurred()) SWIG_fail;
8217 }
8218 Py_INCREF(Py_None); resultobj = Py_None;
8219 return resultobj;
8220 fail:
8221 return NULL;
8222 }
8223
8224
8225 static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
8226 PyObject *resultobj;
8227 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8228 wxSize result;
8229 PyObject * obj0 = 0 ;
8230 char *kwnames[] = {
8231 (char *) "self", NULL
8232 };
8233
8234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail;
8235 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8236 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8237 {
8238 PyThreadState* __tstate = wxPyBeginAllowThreads();
8239 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
8240
8241 wxPyEndAllowThreads(__tstate);
8242 if (PyErr_Occurred()) SWIG_fail;
8243 }
8244 {
8245 wxSize * resultptr;
8246 resultptr = new wxSize((wxSize &) result);
8247 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
8248 }
8249 return resultobj;
8250 fail:
8251 return NULL;
8252 }
8253
8254
8255 static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
8256 PyObject *resultobj;
8257 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8258 int arg2 ;
8259 PyObject * obj0 = 0 ;
8260 PyObject * obj1 = 0 ;
8261 char *kwnames[] = {
8262 (char *) "self",(char *) "orient", NULL
8263 };
8264
8265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
8266 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8267 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8268 arg2 = (int)SWIG_As_int(obj1);
8269 if (PyErr_Occurred()) SWIG_fail;
8270 {
8271 PyThreadState* __tstate = wxPyBeginAllowThreads();
8272 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
8273
8274 wxPyEndAllowThreads(__tstate);
8275 if (PyErr_Occurred()) SWIG_fail;
8276 }
8277 Py_INCREF(Py_None); resultobj = Py_None;
8278 return resultobj;
8279 fail:
8280 return NULL;
8281 }
8282
8283
8284 static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
8285 PyObject *resultobj;
8286 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8287 int result;
8288 PyObject * obj0 = 0 ;
8289 char *kwnames[] = {
8290 (char *) "self", NULL
8291 };
8292
8293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail;
8294 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8295 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8296 {
8297 PyThreadState* __tstate = wxPyBeginAllowThreads();
8298 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
8299
8300 wxPyEndAllowThreads(__tstate);
8301 if (PyErr_Occurred()) SWIG_fail;
8302 }
8303 resultobj = SWIG_From_int((int)result);
8304 return resultobj;
8305 fail:
8306 return NULL;
8307 }
8308
8309
8310 static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
8311 PyObject *resultobj;
8312 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8313 int arg2 ;
8314 PyObject * obj0 = 0 ;
8315 PyObject * obj1 = 0 ;
8316 char *kwnames[] = {
8317 (char *) "self",(char *) "align", NULL
8318 };
8319
8320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
8321 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8322 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8323 arg2 = (int)SWIG_As_int(obj1);
8324 if (PyErr_Occurred()) SWIG_fail;
8325 {
8326 PyThreadState* __tstate = wxPyBeginAllowThreads();
8327 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
8328
8329 wxPyEndAllowThreads(__tstate);
8330 if (PyErr_Occurred()) SWIG_fail;
8331 }
8332 Py_INCREF(Py_None); resultobj = Py_None;
8333 return resultobj;
8334 fail:
8335 return NULL;
8336 }
8337
8338
8339 static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
8340 PyObject *resultobj;
8341 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8342 int result;
8343 PyObject * obj0 = 0 ;
8344 char *kwnames[] = {
8345 (char *) "self", NULL
8346 };
8347
8348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail;
8349 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8350 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8351 {
8352 PyThreadState* __tstate = wxPyBeginAllowThreads();
8353 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
8354
8355 wxPyEndAllowThreads(__tstate);
8356 if (PyErr_Occurred()) SWIG_fail;
8357 }
8358 resultobj = SWIG_From_int((int)result);
8359 return resultobj;
8360 fail:
8361 return NULL;
8362 }
8363
8364
8365 static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *, PyObject *args) {
8366 PyObject *obj;
8367 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8368 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj);
8369 Py_INCREF(obj);
8370 return Py_BuildValue((char *)"");
8371 }
8372 static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *, PyObject *args, PyObject *kwargs) {
8373 PyObject *resultobj;
8374 int arg1 = (int) 0 ;
8375 wxCalculateLayoutEvent *result;
8376 PyObject * obj0 = 0 ;
8377 char *kwnames[] = {
8378 (char *) "id", NULL
8379 };
8380
8381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) goto fail;
8382 if (obj0) {
8383 arg1 = (int)SWIG_As_int(obj0);
8384 if (PyErr_Occurred()) SWIG_fail;
8385 }
8386 {
8387 PyThreadState* __tstate = wxPyBeginAllowThreads();
8388 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
8389
8390 wxPyEndAllowThreads(__tstate);
8391 if (PyErr_Occurred()) SWIG_fail;
8392 }
8393 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCalculateLayoutEvent, 1);
8394 return resultobj;
8395 fail:
8396 return NULL;
8397 }
8398
8399
8400 static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
8401 PyObject *resultobj;
8402 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
8403 int arg2 ;
8404 PyObject * obj0 = 0 ;
8405 PyObject * obj1 = 0 ;
8406 char *kwnames[] = {
8407 (char *) "self",(char *) "flags", NULL
8408 };
8409
8410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
8411 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
8412 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8413 arg2 = (int)SWIG_As_int(obj1);
8414 if (PyErr_Occurred()) SWIG_fail;
8415 {
8416 PyThreadState* __tstate = wxPyBeginAllowThreads();
8417 (arg1)->SetFlags(arg2);
8418
8419 wxPyEndAllowThreads(__tstate);
8420 if (PyErr_Occurred()) SWIG_fail;
8421 }
8422 Py_INCREF(Py_None); resultobj = Py_None;
8423 return resultobj;
8424 fail:
8425 return NULL;
8426 }
8427
8428
8429 static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
8430 PyObject *resultobj;
8431 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
8432 int result;
8433 PyObject * obj0 = 0 ;
8434 char *kwnames[] = {
8435 (char *) "self", NULL
8436 };
8437
8438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail;
8439 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
8440 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8441 {
8442 PyThreadState* __tstate = wxPyBeginAllowThreads();
8443 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
8444
8445 wxPyEndAllowThreads(__tstate);
8446 if (PyErr_Occurred()) SWIG_fail;
8447 }
8448 resultobj = SWIG_From_int((int)result);
8449 return resultobj;
8450 fail:
8451 return NULL;
8452 }
8453
8454
8455 static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *, PyObject *args, PyObject *kwargs) {
8456 PyObject *resultobj;
8457 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
8458 wxRect *arg2 = 0 ;
8459 wxRect temp2 ;
8460 PyObject * obj0 = 0 ;
8461 PyObject * obj1 = 0 ;
8462 char *kwnames[] = {
8463 (char *) "self",(char *) "rect", NULL
8464 };
8465
8466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
8467 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
8468 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8469 {
8470 arg2 = &temp2;
8471 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
8472 }
8473 {
8474 PyThreadState* __tstate = wxPyBeginAllowThreads();
8475 (arg1)->SetRect((wxRect const &)*arg2);
8476
8477 wxPyEndAllowThreads(__tstate);
8478 if (PyErr_Occurred()) SWIG_fail;
8479 }
8480 Py_INCREF(Py_None); resultobj = Py_None;
8481 return resultobj;
8482 fail:
8483 return NULL;
8484 }
8485
8486
8487 static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *, PyObject *args, PyObject *kwargs) {
8488 PyObject *resultobj;
8489 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
8490 wxRect result;
8491 PyObject * obj0 = 0 ;
8492 char *kwnames[] = {
8493 (char *) "self", NULL
8494 };
8495
8496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail;
8497 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
8498 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8499 {
8500 PyThreadState* __tstate = wxPyBeginAllowThreads();
8501 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
8502
8503 wxPyEndAllowThreads(__tstate);
8504 if (PyErr_Occurred()) SWIG_fail;
8505 }
8506 {
8507 wxRect * resultptr;
8508 resultptr = new wxRect((wxRect &) result);
8509 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
8510 }
8511 return resultobj;
8512 fail:
8513 return NULL;
8514 }
8515
8516
8517 static PyObject * CalculateLayoutEvent_swigregister(PyObject *, PyObject *args) {
8518 PyObject *obj;
8519 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8520 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj);
8521 Py_INCREF(obj);
8522 return Py_BuildValue((char *)"");
8523 }
8524 static PyObject *_wrap_new_SashLayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8525 PyObject *resultobj;
8526 wxWindow *arg1 = (wxWindow *) 0 ;
8527 int arg2 = (int) -1 ;
8528 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8529 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8530 wxSize const &arg4_defvalue = wxDefaultSize ;
8531 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8532 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
8533 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
8534 wxString *arg6 = (wxString *) &arg6_defvalue ;
8535 wxSashLayoutWindow *result;
8536 wxPoint temp3 ;
8537 wxSize temp4 ;
8538 bool temp6 = false ;
8539 PyObject * obj0 = 0 ;
8540 PyObject * obj1 = 0 ;
8541 PyObject * obj2 = 0 ;
8542 PyObject * obj3 = 0 ;
8543 PyObject * obj4 = 0 ;
8544 PyObject * obj5 = 0 ;
8545 char *kwnames[] = {
8546 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8547 };
8548
8549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
8550 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8551 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8552 if (obj1) {
8553 arg2 = (int)SWIG_As_int(obj1);
8554 if (PyErr_Occurred()) SWIG_fail;
8555 }
8556 if (obj2) {
8557 {
8558 arg3 = &temp3;
8559 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8560 }
8561 }
8562 if (obj3) {
8563 {
8564 arg4 = &temp4;
8565 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8566 }
8567 }
8568 if (obj4) {
8569 arg5 = (long)SWIG_As_long(obj4);
8570 if (PyErr_Occurred()) SWIG_fail;
8571 }
8572 if (obj5) {
8573 {
8574 arg6 = wxString_in_helper(obj5);
8575 if (arg6 == NULL) SWIG_fail;
8576 temp6 = true;
8577 }
8578 }
8579 {
8580 if (!wxPyCheckForApp()) SWIG_fail;
8581 PyThreadState* __tstate = wxPyBeginAllowThreads();
8582 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8583
8584 wxPyEndAllowThreads(__tstate);
8585 if (PyErr_Occurred()) SWIG_fail;
8586 }
8587 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
8588 {
8589 if (temp6)
8590 delete arg6;
8591 }
8592 return resultobj;
8593 fail:
8594 {
8595 if (temp6)
8596 delete arg6;
8597 }
8598 return NULL;
8599 }
8600
8601
8602 static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8603 PyObject *resultobj;
8604 wxSashLayoutWindow *result;
8605 char *kwnames[] = {
8606 NULL
8607 };
8608
8609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail;
8610 {
8611 if (!wxPyCheckForApp()) SWIG_fail;
8612 PyThreadState* __tstate = wxPyBeginAllowThreads();
8613 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
8614
8615 wxPyEndAllowThreads(__tstate);
8616 if (PyErr_Occurred()) SWIG_fail;
8617 }
8618 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
8619 return resultobj;
8620 fail:
8621 return NULL;
8622 }
8623
8624
8625 static PyObject *_wrap_SashLayoutWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
8626 PyObject *resultobj;
8627 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8628 wxWindow *arg2 = (wxWindow *) 0 ;
8629 int arg3 = (int) -1 ;
8630 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8631 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8632 wxSize const &arg5_defvalue = wxDefaultSize ;
8633 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8634 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
8635 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
8636 wxString *arg7 = (wxString *) &arg7_defvalue ;
8637 bool result;
8638 wxPoint temp4 ;
8639 wxSize temp5 ;
8640 bool temp7 = false ;
8641 PyObject * obj0 = 0 ;
8642 PyObject * obj1 = 0 ;
8643 PyObject * obj2 = 0 ;
8644 PyObject * obj3 = 0 ;
8645 PyObject * obj4 = 0 ;
8646 PyObject * obj5 = 0 ;
8647 PyObject * obj6 = 0 ;
8648 char *kwnames[] = {
8649 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8650 };
8651
8652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
8653 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8654 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8655 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8656 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8657 if (obj2) {
8658 arg3 = (int)SWIG_As_int(obj2);
8659 if (PyErr_Occurred()) SWIG_fail;
8660 }
8661 if (obj3) {
8662 {
8663 arg4 = &temp4;
8664 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8665 }
8666 }
8667 if (obj4) {
8668 {
8669 arg5 = &temp5;
8670 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8671 }
8672 }
8673 if (obj5) {
8674 arg6 = (long)SWIG_As_long(obj5);
8675 if (PyErr_Occurred()) SWIG_fail;
8676 }
8677 if (obj6) {
8678 {
8679 arg7 = wxString_in_helper(obj6);
8680 if (arg7 == NULL) SWIG_fail;
8681 temp7 = true;
8682 }
8683 }
8684 {
8685 PyThreadState* __tstate = wxPyBeginAllowThreads();
8686 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8687
8688 wxPyEndAllowThreads(__tstate);
8689 if (PyErr_Occurred()) SWIG_fail;
8690 }
8691 {
8692 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8693 }
8694 {
8695 if (temp7)
8696 delete arg7;
8697 }
8698 return resultobj;
8699 fail:
8700 {
8701 if (temp7)
8702 delete arg7;
8703 }
8704 return NULL;
8705 }
8706
8707
8708 static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
8709 PyObject *resultobj;
8710 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8711 int result;
8712 PyObject * obj0 = 0 ;
8713 char *kwnames[] = {
8714 (char *) "self", NULL
8715 };
8716
8717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail;
8718 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8719 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8720 {
8721 PyThreadState* __tstate = wxPyBeginAllowThreads();
8722 result = (int)(arg1)->GetAlignment();
8723
8724 wxPyEndAllowThreads(__tstate);
8725 if (PyErr_Occurred()) SWIG_fail;
8726 }
8727 resultobj = SWIG_From_int((int)result);
8728 return resultobj;
8729 fail:
8730 return NULL;
8731 }
8732
8733
8734 static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
8735 PyObject *resultobj;
8736 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8737 int result;
8738 PyObject * obj0 = 0 ;
8739 char *kwnames[] = {
8740 (char *) "self", NULL
8741 };
8742
8743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail;
8744 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8745 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8746 {
8747 PyThreadState* __tstate = wxPyBeginAllowThreads();
8748 result = (int)(arg1)->GetOrientation();
8749
8750 wxPyEndAllowThreads(__tstate);
8751 if (PyErr_Occurred()) SWIG_fail;
8752 }
8753 resultobj = SWIG_From_int((int)result);
8754 return resultobj;
8755 fail:
8756 return NULL;
8757 }
8758
8759
8760 static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
8761 PyObject *resultobj;
8762 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8763 int arg2 ;
8764 PyObject * obj0 = 0 ;
8765 PyObject * obj1 = 0 ;
8766 char *kwnames[] = {
8767 (char *) "self",(char *) "alignment", NULL
8768 };
8769
8770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
8771 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8772 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8773 arg2 = (int)SWIG_As_int(obj1);
8774 if (PyErr_Occurred()) SWIG_fail;
8775 {
8776 PyThreadState* __tstate = wxPyBeginAllowThreads();
8777 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
8778
8779 wxPyEndAllowThreads(__tstate);
8780 if (PyErr_Occurred()) SWIG_fail;
8781 }
8782 Py_INCREF(Py_None); resultobj = Py_None;
8783 return resultobj;
8784 fail:
8785 return NULL;
8786 }
8787
8788
8789 static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) {
8790 PyObject *resultobj;
8791 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8792 wxSize *arg2 = 0 ;
8793 wxSize temp2 ;
8794 PyObject * obj0 = 0 ;
8795 PyObject * obj1 = 0 ;
8796 char *kwnames[] = {
8797 (char *) "self",(char *) "size", NULL
8798 };
8799
8800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail;
8801 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8802 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8803 {
8804 arg2 = &temp2;
8805 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
8806 }
8807 {
8808 PyThreadState* __tstate = wxPyBeginAllowThreads();
8809 (arg1)->SetDefaultSize((wxSize const &)*arg2);
8810
8811 wxPyEndAllowThreads(__tstate);
8812 if (PyErr_Occurred()) SWIG_fail;
8813 }
8814 Py_INCREF(Py_None); resultobj = Py_None;
8815 return resultobj;
8816 fail:
8817 return NULL;
8818 }
8819
8820
8821 static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
8822 PyObject *resultobj;
8823 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8824 int arg2 ;
8825 PyObject * obj0 = 0 ;
8826 PyObject * obj1 = 0 ;
8827 char *kwnames[] = {
8828 (char *) "self",(char *) "orientation", NULL
8829 };
8830
8831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
8832 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8833 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8834 arg2 = (int)SWIG_As_int(obj1);
8835 if (PyErr_Occurred()) SWIG_fail;
8836 {
8837 PyThreadState* __tstate = wxPyBeginAllowThreads();
8838 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
8839
8840 wxPyEndAllowThreads(__tstate);
8841 if (PyErr_Occurred()) SWIG_fail;
8842 }
8843 Py_INCREF(Py_None); resultobj = Py_None;
8844 return resultobj;
8845 fail:
8846 return NULL;
8847 }
8848
8849
8850 static PyObject * SashLayoutWindow_swigregister(PyObject *, PyObject *args) {
8851 PyObject *obj;
8852 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8853 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj);
8854 Py_INCREF(obj);
8855 return Py_BuildValue((char *)"");
8856 }
8857 static PyObject *_wrap_new_LayoutAlgorithm(PyObject *, PyObject *args, PyObject *kwargs) {
8858 PyObject *resultobj;
8859 wxLayoutAlgorithm *result;
8860 char *kwnames[] = {
8861 NULL
8862 };
8863
8864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail;
8865 {
8866 PyThreadState* __tstate = wxPyBeginAllowThreads();
8867 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
8868
8869 wxPyEndAllowThreads(__tstate);
8870 if (PyErr_Occurred()) SWIG_fail;
8871 }
8872 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutAlgorithm, 1);
8873 return resultobj;
8874 fail:
8875 return NULL;
8876 }
8877
8878
8879 static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *, PyObject *args, PyObject *kwargs) {
8880 PyObject *resultobj;
8881 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8882 PyObject * obj0 = 0 ;
8883 char *kwnames[] = {
8884 (char *) "self", NULL
8885 };
8886
8887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail;
8888 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8889 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8890 {
8891 PyThreadState* __tstate = wxPyBeginAllowThreads();
8892 delete arg1;
8893
8894 wxPyEndAllowThreads(__tstate);
8895 if (PyErr_Occurred()) SWIG_fail;
8896 }
8897 Py_INCREF(Py_None); resultobj = Py_None;
8898 return resultobj;
8899 fail:
8900 return NULL;
8901 }
8902
8903
8904 static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *, PyObject *args, PyObject *kwargs) {
8905 PyObject *resultobj;
8906 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8907 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
8908 wxRect *arg3 = (wxRect *) NULL ;
8909 bool result;
8910 PyObject * obj0 = 0 ;
8911 PyObject * obj1 = 0 ;
8912 PyObject * obj2 = 0 ;
8913 char *kwnames[] = {
8914 (char *) "self",(char *) "frame",(char *) "rect", NULL
8915 };
8916
8917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
8918 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8919 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8920 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
8921 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8922 if (obj2) {
8923 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxRect,
8924 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8925 }
8926 {
8927 PyThreadState* __tstate = wxPyBeginAllowThreads();
8928 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
8929
8930 wxPyEndAllowThreads(__tstate);
8931 if (PyErr_Occurred()) SWIG_fail;
8932 }
8933 {
8934 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8935 }
8936 return resultobj;
8937 fail:
8938 return NULL;
8939 }
8940
8941
8942 static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *, PyObject *args, PyObject *kwargs) {
8943 PyObject *resultobj;
8944 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8945 wxFrame *arg2 = (wxFrame *) 0 ;
8946 wxWindow *arg3 = (wxWindow *) NULL ;
8947 bool result;
8948 PyObject * obj0 = 0 ;
8949 PyObject * obj1 = 0 ;
8950 PyObject * obj2 = 0 ;
8951 char *kwnames[] = {
8952 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
8953 };
8954
8955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
8956 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8957 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8958 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
8959 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8960 if (obj2) {
8961 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
8962 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8963 }
8964 {
8965 PyThreadState* __tstate = wxPyBeginAllowThreads();
8966 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
8967
8968 wxPyEndAllowThreads(__tstate);
8969 if (PyErr_Occurred()) SWIG_fail;
8970 }
8971 {
8972 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8973 }
8974 return resultobj;
8975 fail:
8976 return NULL;
8977 }
8978
8979
8980 static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8981 PyObject *resultobj;
8982 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8983 wxWindow *arg2 = (wxWindow *) 0 ;
8984 wxWindow *arg3 = (wxWindow *) NULL ;
8985 bool result;
8986 PyObject * obj0 = 0 ;
8987 PyObject * obj1 = 0 ;
8988 PyObject * obj2 = 0 ;
8989 char *kwnames[] = {
8990 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
8991 };
8992
8993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
8994 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8995 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8996 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8997 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8998 if (obj2) {
8999 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
9000 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9001 }
9002 {
9003 PyThreadState* __tstate = wxPyBeginAllowThreads();
9004 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
9005
9006 wxPyEndAllowThreads(__tstate);
9007 if (PyErr_Occurred()) SWIG_fail;
9008 }
9009 {
9010 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9011 }
9012 return resultobj;
9013 fail:
9014 return NULL;
9015 }
9016
9017
9018 static PyObject * LayoutAlgorithm_swigregister(PyObject *, PyObject *args) {
9019 PyObject *obj;
9020 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9021 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj);
9022 Py_INCREF(obj);
9023 return Py_BuildValue((char *)"");
9024 }
9025 static PyObject *_wrap_new_PopupWindow(PyObject *, PyObject *args, PyObject *kwargs) {
9026 PyObject *resultobj;
9027 wxWindow *arg1 = (wxWindow *) 0 ;
9028 int arg2 = (int) wxBORDER_NONE ;
9029 wxPopupWindow *result;
9030 PyObject * obj0 = 0 ;
9031 PyObject * obj1 = 0 ;
9032 char *kwnames[] = {
9033 (char *) "parent",(char *) "flags", NULL
9034 };
9035
9036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) goto fail;
9037 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9038 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9039 if (obj1) {
9040 arg2 = (int)SWIG_As_int(obj1);
9041 if (PyErr_Occurred()) SWIG_fail;
9042 }
9043 {
9044 PyThreadState* __tstate = wxPyBeginAllowThreads();
9045 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
9046
9047 wxPyEndAllowThreads(__tstate);
9048 if (PyErr_Occurred()) SWIG_fail;
9049 }
9050 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
9051 return resultobj;
9052 fail:
9053 return NULL;
9054 }
9055
9056
9057 static PyObject *_wrap_new_PrePopupWindow(PyObject *, PyObject *args, PyObject *kwargs) {
9058 PyObject *resultobj;
9059 wxPopupWindow *result;
9060 char *kwnames[] = {
9061 NULL
9062 };
9063
9064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail;
9065 {
9066 PyThreadState* __tstate = wxPyBeginAllowThreads();
9067 result = (wxPopupWindow *)new wxPopupWindow();
9068
9069 wxPyEndAllowThreads(__tstate);
9070 if (PyErr_Occurred()) SWIG_fail;
9071 }
9072 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
9073 return resultobj;
9074 fail:
9075 return NULL;
9076 }
9077
9078
9079 static PyObject * PopupWindow_swigregister(PyObject *, PyObject *args) {
9080 PyObject *obj;
9081 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9082 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj);
9083 Py_INCREF(obj);
9084 return Py_BuildValue((char *)"");
9085 }
9086 static PyObject *_wrap_new_PopupTransientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
9087 PyObject *resultobj;
9088 wxWindow *arg1 = (wxWindow *) 0 ;
9089 int arg2 = (int) wxBORDER_NONE ;
9090 wxPyPopupTransientWindow *result;
9091 PyObject * obj0 = 0 ;
9092 PyObject * obj1 = 0 ;
9093 char *kwnames[] = {
9094 (char *) "parent",(char *) "style", NULL
9095 };
9096
9097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) goto fail;
9098 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9099 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9100 if (obj1) {
9101 arg2 = (int)SWIG_As_int(obj1);
9102 if (PyErr_Occurred()) SWIG_fail;
9103 }
9104 {
9105 PyThreadState* __tstate = wxPyBeginAllowThreads();
9106 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
9107
9108 wxPyEndAllowThreads(__tstate);
9109 if (PyErr_Occurred()) SWIG_fail;
9110 }
9111 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
9112 return resultobj;
9113 fail:
9114 return NULL;
9115 }
9116
9117
9118 static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
9119 PyObject *resultobj;
9120 wxPyPopupTransientWindow *result;
9121 char *kwnames[] = {
9122 NULL
9123 };
9124
9125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail;
9126 {
9127 PyThreadState* __tstate = wxPyBeginAllowThreads();
9128 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
9129
9130 wxPyEndAllowThreads(__tstate);
9131 if (PyErr_Occurred()) SWIG_fail;
9132 }
9133 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
9134 return resultobj;
9135 fail:
9136 return NULL;
9137 }
9138
9139
9140 static PyObject * PopupTransientWindow_swigregister(PyObject *, PyObject *args) {
9141 PyObject *obj;
9142 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9143 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj);
9144 Py_INCREF(obj);
9145 return Py_BuildValue((char *)"");
9146 }
9147 static PyObject *_wrap_new_TipWindow(PyObject *, PyObject *args, PyObject *kwargs) {
9148 PyObject *resultobj;
9149 wxWindow *arg1 = (wxWindow *) 0 ;
9150 wxString *arg2 = 0 ;
9151 int arg3 = (int) 100 ;
9152 wxRect *arg4 = (wxRect *) NULL ;
9153 wxTipWindow *result;
9154 bool temp2 = false ;
9155 PyObject * obj0 = 0 ;
9156 PyObject * obj1 = 0 ;
9157 PyObject * obj2 = 0 ;
9158 PyObject * obj3 = 0 ;
9159 char *kwnames[] = {
9160 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
9161 };
9162
9163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9164 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9165 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9166 {
9167 arg2 = wxString_in_helper(obj1);
9168 if (arg2 == NULL) SWIG_fail;
9169 temp2 = true;
9170 }
9171 if (obj2) {
9172 arg3 = (int)SWIG_As_int(obj2);
9173 if (PyErr_Occurred()) SWIG_fail;
9174 }
9175 if (obj3) {
9176 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxRect,
9177 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9178 }
9179 {
9180 if (!wxPyCheckForApp()) SWIG_fail;
9181 PyThreadState* __tstate = wxPyBeginAllowThreads();
9182 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
9183
9184 wxPyEndAllowThreads(__tstate);
9185 if (PyErr_Occurred()) SWIG_fail;
9186 }
9187 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTipWindow, 1);
9188 {
9189 if (temp2)
9190 delete arg2;
9191 }
9192 return resultobj;
9193 fail:
9194 {
9195 if (temp2)
9196 delete arg2;
9197 }
9198 return NULL;
9199 }
9200
9201
9202 static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *, PyObject *args, PyObject *kwargs) {
9203 PyObject *resultobj;
9204 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
9205 wxRect *arg2 = 0 ;
9206 wxRect temp2 ;
9207 PyObject * obj0 = 0 ;
9208 PyObject * obj1 = 0 ;
9209 char *kwnames[] = {
9210 (char *) "self",(char *) "rectBound", NULL
9211 };
9212
9213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail;
9214 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow,
9215 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9216 {
9217 arg2 = &temp2;
9218 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
9219 }
9220 {
9221 PyThreadState* __tstate = wxPyBeginAllowThreads();
9222 (arg1)->SetBoundingRect((wxRect const &)*arg2);
9223
9224 wxPyEndAllowThreads(__tstate);
9225 if (PyErr_Occurred()) SWIG_fail;
9226 }
9227 Py_INCREF(Py_None); resultobj = Py_None;
9228 return resultobj;
9229 fail:
9230 return NULL;
9231 }
9232
9233
9234 static PyObject *_wrap_TipWindow_Close(PyObject *, PyObject *args, PyObject *kwargs) {
9235 PyObject *resultobj;
9236 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
9237 PyObject * obj0 = 0 ;
9238 char *kwnames[] = {
9239 (char *) "self", NULL
9240 };
9241
9242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail;
9243 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow,
9244 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9245 {
9246 PyThreadState* __tstate = wxPyBeginAllowThreads();
9247 (arg1)->Close();
9248
9249 wxPyEndAllowThreads(__tstate);
9250 if (PyErr_Occurred()) SWIG_fail;
9251 }
9252 Py_INCREF(Py_None); resultobj = Py_None;
9253 return resultobj;
9254 fail:
9255 return NULL;
9256 }
9257
9258
9259 static PyObject * TipWindow_swigregister(PyObject *, PyObject *args) {
9260 PyObject *obj;
9261 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9262 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj);
9263 Py_INCREF(obj);
9264 return Py_BuildValue((char *)"");
9265 }
9266 static PyObject *_wrap_new_VScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
9267 PyObject *resultobj;
9268 wxWindow *arg1 = (wxWindow *) 0 ;
9269 int arg2 = (int) wxID_ANY ;
9270 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9271 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9272 wxSize const &arg4_defvalue = wxDefaultSize ;
9273 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9274 long arg5 = (long) 0 ;
9275 wxString const &arg6_defvalue = wxPyPanelNameStr ;
9276 wxString *arg6 = (wxString *) &arg6_defvalue ;
9277 wxPyVScrolledWindow *result;
9278 wxPoint temp3 ;
9279 wxSize temp4 ;
9280 bool temp6 = false ;
9281 PyObject * obj0 = 0 ;
9282 PyObject * obj1 = 0 ;
9283 PyObject * obj2 = 0 ;
9284 PyObject * obj3 = 0 ;
9285 PyObject * obj4 = 0 ;
9286 PyObject * obj5 = 0 ;
9287 char *kwnames[] = {
9288 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9289 };
9290
9291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9292 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9293 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9294 if (obj1) {
9295 arg2 = (int)SWIG_As_int(obj1);
9296 if (PyErr_Occurred()) SWIG_fail;
9297 }
9298 if (obj2) {
9299 {
9300 arg3 = &temp3;
9301 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9302 }
9303 }
9304 if (obj3) {
9305 {
9306 arg4 = &temp4;
9307 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9308 }
9309 }
9310 if (obj4) {
9311 arg5 = (long)SWIG_As_long(obj4);
9312 if (PyErr_Occurred()) SWIG_fail;
9313 }
9314 if (obj5) {
9315 {
9316 arg6 = wxString_in_helper(obj5);
9317 if (arg6 == NULL) SWIG_fail;
9318 temp6 = true;
9319 }
9320 }
9321 {
9322 if (!wxPyCheckForApp()) SWIG_fail;
9323 PyThreadState* __tstate = wxPyBeginAllowThreads();
9324 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9325
9326 wxPyEndAllowThreads(__tstate);
9327 if (PyErr_Occurred()) SWIG_fail;
9328 }
9329 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
9330 {
9331 if (temp6)
9332 delete arg6;
9333 }
9334 return resultobj;
9335 fail:
9336 {
9337 if (temp6)
9338 delete arg6;
9339 }
9340 return NULL;
9341 }
9342
9343
9344 static PyObject *_wrap_new_PreVScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
9345 PyObject *resultobj;
9346 wxPyVScrolledWindow *result;
9347 char *kwnames[] = {
9348 NULL
9349 };
9350
9351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail;
9352 {
9353 if (!wxPyCheckForApp()) SWIG_fail;
9354 PyThreadState* __tstate = wxPyBeginAllowThreads();
9355 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
9356
9357 wxPyEndAllowThreads(__tstate);
9358 if (PyErr_Occurred()) SWIG_fail;
9359 }
9360 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
9361 return resultobj;
9362 fail:
9363 return NULL;
9364 }
9365
9366
9367 static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
9368 PyObject *resultobj;
9369 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9370 PyObject *arg2 = (PyObject *) 0 ;
9371 PyObject *arg3 = (PyObject *) 0 ;
9372 PyObject * obj0 = 0 ;
9373 PyObject * obj1 = 0 ;
9374 PyObject * obj2 = 0 ;
9375 char *kwnames[] = {
9376 (char *) "self",(char *) "self",(char *) "_class", NULL
9377 };
9378
9379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
9380 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9381 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9382 arg2 = obj1;
9383 arg3 = obj2;
9384 {
9385 PyThreadState* __tstate = wxPyBeginAllowThreads();
9386 (arg1)->_setCallbackInfo(arg2,arg3);
9387
9388 wxPyEndAllowThreads(__tstate);
9389 if (PyErr_Occurred()) SWIG_fail;
9390 }
9391 Py_INCREF(Py_None); resultobj = Py_None;
9392 return resultobj;
9393 fail:
9394 return NULL;
9395 }
9396
9397
9398 static PyObject *_wrap_VScrolledWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
9399 PyObject *resultobj;
9400 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9401 wxWindow *arg2 = (wxWindow *) 0 ;
9402 int arg3 = (int) wxID_ANY ;
9403 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9404 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9405 wxSize const &arg5_defvalue = wxDefaultSize ;
9406 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9407 long arg6 = (long) 0 ;
9408 wxString const &arg7_defvalue = wxPyPanelNameStr ;
9409 wxString *arg7 = (wxString *) &arg7_defvalue ;
9410 bool result;
9411 wxPoint temp4 ;
9412 wxSize temp5 ;
9413 bool temp7 = false ;
9414 PyObject * obj0 = 0 ;
9415 PyObject * obj1 = 0 ;
9416 PyObject * obj2 = 0 ;
9417 PyObject * obj3 = 0 ;
9418 PyObject * obj4 = 0 ;
9419 PyObject * obj5 = 0 ;
9420 PyObject * obj6 = 0 ;
9421 char *kwnames[] = {
9422 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9423 };
9424
9425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
9426 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9427 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9428 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
9429 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9430 if (obj2) {
9431 arg3 = (int)SWIG_As_int(obj2);
9432 if (PyErr_Occurred()) SWIG_fail;
9433 }
9434 if (obj3) {
9435 {
9436 arg4 = &temp4;
9437 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9438 }
9439 }
9440 if (obj4) {
9441 {
9442 arg5 = &temp5;
9443 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9444 }
9445 }
9446 if (obj5) {
9447 arg6 = (long)SWIG_As_long(obj5);
9448 if (PyErr_Occurred()) SWIG_fail;
9449 }
9450 if (obj6) {
9451 {
9452 arg7 = wxString_in_helper(obj6);
9453 if (arg7 == NULL) SWIG_fail;
9454 temp7 = true;
9455 }
9456 }
9457 {
9458 PyThreadState* __tstate = wxPyBeginAllowThreads();
9459 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9460
9461 wxPyEndAllowThreads(__tstate);
9462 if (PyErr_Occurred()) SWIG_fail;
9463 }
9464 {
9465 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9466 }
9467 {
9468 if (temp7)
9469 delete arg7;
9470 }
9471 return resultobj;
9472 fail:
9473 {
9474 if (temp7)
9475 delete arg7;
9476 }
9477 return NULL;
9478 }
9479
9480
9481 static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *, PyObject *args, PyObject *kwargs) {
9482 PyObject *resultobj;
9483 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9484 size_t arg2 ;
9485 PyObject * obj0 = 0 ;
9486 PyObject * obj1 = 0 ;
9487 char *kwnames[] = {
9488 (char *) "self",(char *) "count", NULL
9489 };
9490
9491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) goto fail;
9492 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9493 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9494 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
9495 if (PyErr_Occurred()) SWIG_fail;
9496 {
9497 PyThreadState* __tstate = wxPyBeginAllowThreads();
9498 (arg1)->SetLineCount(arg2);
9499
9500 wxPyEndAllowThreads(__tstate);
9501 if (PyErr_Occurred()) SWIG_fail;
9502 }
9503 Py_INCREF(Py_None); resultobj = Py_None;
9504 return resultobj;
9505 fail:
9506 return NULL;
9507 }
9508
9509
9510 static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *, PyObject *args, PyObject *kwargs) {
9511 PyObject *resultobj;
9512 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9513 size_t arg2 ;
9514 bool result;
9515 PyObject * obj0 = 0 ;
9516 PyObject * obj1 = 0 ;
9517 char *kwnames[] = {
9518 (char *) "self",(char *) "line", NULL
9519 };
9520
9521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail;
9522 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9523 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9524 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
9525 if (PyErr_Occurred()) SWIG_fail;
9526 {
9527 PyThreadState* __tstate = wxPyBeginAllowThreads();
9528 result = (bool)(arg1)->ScrollToLine(arg2);
9529
9530 wxPyEndAllowThreads(__tstate);
9531 if (PyErr_Occurred()) SWIG_fail;
9532 }
9533 {
9534 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9535 }
9536 return resultobj;
9537 fail:
9538 return NULL;
9539 }
9540
9541
9542 static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *, PyObject *args, PyObject *kwargs) {
9543 PyObject *resultobj;
9544 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9545 int arg2 ;
9546 bool result;
9547 PyObject * obj0 = 0 ;
9548 PyObject * obj1 = 0 ;
9549 char *kwnames[] = {
9550 (char *) "self",(char *) "lines", NULL
9551 };
9552
9553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollLines",kwnames,&obj0,&obj1)) goto fail;
9554 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9555 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9556 arg2 = (int)SWIG_As_int(obj1);
9557 if (PyErr_Occurred()) SWIG_fail;
9558 {
9559 PyThreadState* __tstate = wxPyBeginAllowThreads();
9560 result = (bool)(arg1)->ScrollLines(arg2);
9561
9562 wxPyEndAllowThreads(__tstate);
9563 if (PyErr_Occurred()) SWIG_fail;
9564 }
9565 {
9566 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9567 }
9568 return resultobj;
9569 fail:
9570 return NULL;
9571 }
9572
9573
9574 static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *, PyObject *args, PyObject *kwargs) {
9575 PyObject *resultobj;
9576 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9577 int arg2 ;
9578 bool result;
9579 PyObject * obj0 = 0 ;
9580 PyObject * obj1 = 0 ;
9581 char *kwnames[] = {
9582 (char *) "self",(char *) "pages", NULL
9583 };
9584
9585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollPages",kwnames,&obj0,&obj1)) goto fail;
9586 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9587 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9588 arg2 = (int)SWIG_As_int(obj1);
9589 if (PyErr_Occurred()) SWIG_fail;
9590 {
9591 PyThreadState* __tstate = wxPyBeginAllowThreads();
9592 result = (bool)(arg1)->ScrollPages(arg2);
9593
9594 wxPyEndAllowThreads(__tstate);
9595 if (PyErr_Occurred()) SWIG_fail;
9596 }
9597 {
9598 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9599 }
9600 return resultobj;
9601 fail:
9602 return NULL;
9603 }
9604
9605
9606 static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *, PyObject *args, PyObject *kwargs) {
9607 PyObject *resultobj;
9608 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9609 size_t arg2 ;
9610 PyObject * obj0 = 0 ;
9611 PyObject * obj1 = 0 ;
9612 char *kwnames[] = {
9613 (char *) "self",(char *) "line", NULL
9614 };
9615
9616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail;
9617 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9618 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9619 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
9620 if (PyErr_Occurred()) SWIG_fail;
9621 {
9622 PyThreadState* __tstate = wxPyBeginAllowThreads();
9623 (arg1)->RefreshLine(arg2);
9624
9625 wxPyEndAllowThreads(__tstate);
9626 if (PyErr_Occurred()) SWIG_fail;
9627 }
9628 Py_INCREF(Py_None); resultobj = Py_None;
9629 return resultobj;
9630 fail:
9631 return NULL;
9632 }
9633
9634
9635 static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *, PyObject *args, PyObject *kwargs) {
9636 PyObject *resultobj;
9637 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9638 size_t arg2 ;
9639 size_t arg3 ;
9640 PyObject * obj0 = 0 ;
9641 PyObject * obj1 = 0 ;
9642 PyObject * obj2 = 0 ;
9643 char *kwnames[] = {
9644 (char *) "self",(char *) "from",(char *) "to", NULL
9645 };
9646
9647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
9648 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9649 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9650 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
9651 if (PyErr_Occurred()) SWIG_fail;
9652 arg3 = (size_t)SWIG_As_unsigned_SS_long(obj2);
9653 if (PyErr_Occurred()) SWIG_fail;
9654 {
9655 PyThreadState* __tstate = wxPyBeginAllowThreads();
9656 (arg1)->RefreshLines(arg2,arg3);
9657
9658 wxPyEndAllowThreads(__tstate);
9659 if (PyErr_Occurred()) SWIG_fail;
9660 }
9661 Py_INCREF(Py_None); resultobj = Py_None;
9662 return resultobj;
9663 fail:
9664 return NULL;
9665 }
9666
9667
9668 static PyObject *_wrap_VScrolledWindow_HitTestXY(PyObject *, PyObject *args, PyObject *kwargs) {
9669 PyObject *resultobj;
9670 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9671 int arg2 ;
9672 int arg3 ;
9673 int result;
9674 PyObject * obj0 = 0 ;
9675 PyObject * obj1 = 0 ;
9676 PyObject * obj2 = 0 ;
9677 char *kwnames[] = {
9678 (char *) "self",(char *) "x",(char *) "y", NULL
9679 };
9680
9681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
9682 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9683 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9684 arg2 = (int)SWIG_As_int(obj1);
9685 if (PyErr_Occurred()) SWIG_fail;
9686 arg3 = (int)SWIG_As_int(obj2);
9687 if (PyErr_Occurred()) SWIG_fail;
9688 {
9689 PyThreadState* __tstate = wxPyBeginAllowThreads();
9690 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
9691
9692 wxPyEndAllowThreads(__tstate);
9693 if (PyErr_Occurred()) SWIG_fail;
9694 }
9695 resultobj = SWIG_From_int((int)result);
9696 return resultobj;
9697 fail:
9698 return NULL;
9699 }
9700
9701
9702 static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
9703 PyObject *resultobj;
9704 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9705 wxPoint *arg2 = 0 ;
9706 int result;
9707 wxPoint temp2 ;
9708 PyObject * obj0 = 0 ;
9709 PyObject * obj1 = 0 ;
9710 char *kwnames[] = {
9711 (char *) "self",(char *) "pt", NULL
9712 };
9713
9714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail;
9715 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9716 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9717 {
9718 arg2 = &temp2;
9719 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9720 }
9721 {
9722 PyThreadState* __tstate = wxPyBeginAllowThreads();
9723 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
9724
9725 wxPyEndAllowThreads(__tstate);
9726 if (PyErr_Occurred()) SWIG_fail;
9727 }
9728 resultobj = SWIG_From_int((int)result);
9729 return resultobj;
9730 fail:
9731 return NULL;
9732 }
9733
9734
9735 static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *, PyObject *args, PyObject *kwargs) {
9736 PyObject *resultobj;
9737 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9738 PyObject * obj0 = 0 ;
9739 char *kwnames[] = {
9740 (char *) "self", NULL
9741 };
9742
9743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail;
9744 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9745 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9746 {
9747 PyThreadState* __tstate = wxPyBeginAllowThreads();
9748 (arg1)->RefreshAll();
9749
9750 wxPyEndAllowThreads(__tstate);
9751 if (PyErr_Occurred()) SWIG_fail;
9752 }
9753 Py_INCREF(Py_None); resultobj = Py_None;
9754 return resultobj;
9755 fail:
9756 return NULL;
9757 }
9758
9759
9760 static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *, PyObject *args, PyObject *kwargs) {
9761 PyObject *resultobj;
9762 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9763 size_t result;
9764 PyObject * obj0 = 0 ;
9765 char *kwnames[] = {
9766 (char *) "self", NULL
9767 };
9768
9769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail;
9770 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9771 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9772 {
9773 PyThreadState* __tstate = wxPyBeginAllowThreads();
9774 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
9775
9776 wxPyEndAllowThreads(__tstate);
9777 if (PyErr_Occurred()) SWIG_fail;
9778 }
9779 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
9780 return resultobj;
9781 fail:
9782 return NULL;
9783 }
9784
9785
9786 static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) {
9787 PyObject *resultobj;
9788 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9789 size_t result;
9790 PyObject * obj0 = 0 ;
9791 char *kwnames[] = {
9792 (char *) "self", NULL
9793 };
9794
9795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
9796 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9798 {
9799 PyThreadState* __tstate = wxPyBeginAllowThreads();
9800 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
9801
9802 wxPyEndAllowThreads(__tstate);
9803 if (PyErr_Occurred()) SWIG_fail;
9804 }
9805 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
9806 return resultobj;
9807 fail:
9808 return NULL;
9809 }
9810
9811
9812 static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) {
9813 PyObject *resultobj;
9814 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9815 size_t result;
9816 PyObject * obj0 = 0 ;
9817 char *kwnames[] = {
9818 (char *) "self", NULL
9819 };
9820
9821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail;
9822 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9823 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9824 {
9825 PyThreadState* __tstate = wxPyBeginAllowThreads();
9826 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
9827
9828 wxPyEndAllowThreads(__tstate);
9829 if (PyErr_Occurred()) SWIG_fail;
9830 }
9831 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
9832 return resultobj;
9833 fail:
9834 return NULL;
9835 }
9836
9837
9838 static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) {
9839 PyObject *resultobj;
9840 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9841 size_t arg2 ;
9842 bool result;
9843 PyObject * obj0 = 0 ;
9844 PyObject * obj1 = 0 ;
9845 char *kwnames[] = {
9846 (char *) "self",(char *) "line", NULL
9847 };
9848
9849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail;
9850 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9851 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9852 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
9853 if (PyErr_Occurred()) SWIG_fail;
9854 {
9855 PyThreadState* __tstate = wxPyBeginAllowThreads();
9856 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
9857
9858 wxPyEndAllowThreads(__tstate);
9859 if (PyErr_Occurred()) SWIG_fail;
9860 }
9861 {
9862 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9863 }
9864 return resultobj;
9865 fail:
9866 return NULL;
9867 }
9868
9869
9870 static PyObject * VScrolledWindow_swigregister(PyObject *, PyObject *args) {
9871 PyObject *obj;
9872 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9873 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj);
9874 Py_INCREF(obj);
9875 return Py_BuildValue((char *)"");
9876 }
9877 static int _wrap_VListBoxNameStr_set(PyObject *) {
9878 PyErr_SetString(PyExc_TypeError,"Variable VListBoxNameStr is read-only.");
9879 return 1;
9880 }
9881
9882
9883 static PyObject *_wrap_VListBoxNameStr_get() {
9884 PyObject *pyobj;
9885
9886 {
9887 #if wxUSE_UNICODE
9888 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
9889 #else
9890 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
9891 #endif
9892 }
9893 return pyobj;
9894 }
9895
9896
9897 static PyObject *_wrap_new_VListBox(PyObject *, PyObject *args, PyObject *kwargs) {
9898 PyObject *resultobj;
9899 wxWindow *arg1 = (wxWindow *) 0 ;
9900 int arg2 = (int) wxID_ANY ;
9901 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9902 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9903 wxSize const &arg4_defvalue = wxDefaultSize ;
9904 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9905 long arg5 = (long) 0 ;
9906 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
9907 wxString *arg6 = (wxString *) &arg6_defvalue ;
9908 wxPyVListBox *result;
9909 wxPoint temp3 ;
9910 wxSize temp4 ;
9911 bool temp6 = false ;
9912 PyObject * obj0 = 0 ;
9913 PyObject * obj1 = 0 ;
9914 PyObject * obj2 = 0 ;
9915 PyObject * obj3 = 0 ;
9916 PyObject * obj4 = 0 ;
9917 PyObject * obj5 = 0 ;
9918 char *kwnames[] = {
9919 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9920 };
9921
9922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9923 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9924 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9925 if (obj1) {
9926 arg2 = (int)SWIG_As_int(obj1);
9927 if (PyErr_Occurred()) SWIG_fail;
9928 }
9929 if (obj2) {
9930 {
9931 arg3 = &temp3;
9932 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9933 }
9934 }
9935 if (obj3) {
9936 {
9937 arg4 = &temp4;
9938 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9939 }
9940 }
9941 if (obj4) {
9942 arg5 = (long)SWIG_As_long(obj4);
9943 if (PyErr_Occurred()) SWIG_fail;
9944 }
9945 if (obj5) {
9946 {
9947 arg6 = wxString_in_helper(obj5);
9948 if (arg6 == NULL) SWIG_fail;
9949 temp6 = true;
9950 }
9951 }
9952 {
9953 if (!wxPyCheckForApp()) SWIG_fail;
9954 PyThreadState* __tstate = wxPyBeginAllowThreads();
9955 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9956
9957 wxPyEndAllowThreads(__tstate);
9958 if (PyErr_Occurred()) SWIG_fail;
9959 }
9960 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
9961 {
9962 if (temp6)
9963 delete arg6;
9964 }
9965 return resultobj;
9966 fail:
9967 {
9968 if (temp6)
9969 delete arg6;
9970 }
9971 return NULL;
9972 }
9973
9974
9975 static PyObject *_wrap_new_PreVListBox(PyObject *, PyObject *args, PyObject *kwargs) {
9976 PyObject *resultobj;
9977 wxPyVListBox *result;
9978 char *kwnames[] = {
9979 NULL
9980 };
9981
9982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail;
9983 {
9984 if (!wxPyCheckForApp()) SWIG_fail;
9985 PyThreadState* __tstate = wxPyBeginAllowThreads();
9986 result = (wxPyVListBox *)new wxPyVListBox();
9987
9988 wxPyEndAllowThreads(__tstate);
9989 if (PyErr_Occurred()) SWIG_fail;
9990 }
9991 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
9992 return resultobj;
9993 fail:
9994 return NULL;
9995 }
9996
9997
9998 static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
9999 PyObject *resultobj;
10000 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10001 PyObject *arg2 = (PyObject *) 0 ;
10002 PyObject *arg3 = (PyObject *) 0 ;
10003 PyObject * obj0 = 0 ;
10004 PyObject * obj1 = 0 ;
10005 PyObject * obj2 = 0 ;
10006 char *kwnames[] = {
10007 (char *) "self",(char *) "self",(char *) "_class", NULL
10008 };
10009
10010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
10011 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10012 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10013 arg2 = obj1;
10014 arg3 = obj2;
10015 {
10016 PyThreadState* __tstate = wxPyBeginAllowThreads();
10017 (arg1)->_setCallbackInfo(arg2,arg3);
10018
10019 wxPyEndAllowThreads(__tstate);
10020 if (PyErr_Occurred()) SWIG_fail;
10021 }
10022 Py_INCREF(Py_None); resultobj = Py_None;
10023 return resultobj;
10024 fail:
10025 return NULL;
10026 }
10027
10028
10029 static PyObject *_wrap_VListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
10030 PyObject *resultobj;
10031 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10032 wxWindow *arg2 = (wxWindow *) 0 ;
10033 int arg3 = (int) wxID_ANY ;
10034 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10035 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10036 wxSize const &arg5_defvalue = wxDefaultSize ;
10037 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10038 long arg6 = (long) 0 ;
10039 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
10040 wxString *arg7 = (wxString *) &arg7_defvalue ;
10041 bool result;
10042 wxPoint temp4 ;
10043 wxSize temp5 ;
10044 bool temp7 = false ;
10045 PyObject * obj0 = 0 ;
10046 PyObject * obj1 = 0 ;
10047 PyObject * obj2 = 0 ;
10048 PyObject * obj3 = 0 ;
10049 PyObject * obj4 = 0 ;
10050 PyObject * obj5 = 0 ;
10051 PyObject * obj6 = 0 ;
10052 char *kwnames[] = {
10053 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10054 };
10055
10056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
10057 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10058 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10059 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10060 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10061 if (obj2) {
10062 arg3 = (int)SWIG_As_int(obj2);
10063 if (PyErr_Occurred()) SWIG_fail;
10064 }
10065 if (obj3) {
10066 {
10067 arg4 = &temp4;
10068 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10069 }
10070 }
10071 if (obj4) {
10072 {
10073 arg5 = &temp5;
10074 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10075 }
10076 }
10077 if (obj5) {
10078 arg6 = (long)SWIG_As_long(obj5);
10079 if (PyErr_Occurred()) SWIG_fail;
10080 }
10081 if (obj6) {
10082 {
10083 arg7 = wxString_in_helper(obj6);
10084 if (arg7 == NULL) SWIG_fail;
10085 temp7 = true;
10086 }
10087 }
10088 {
10089 PyThreadState* __tstate = wxPyBeginAllowThreads();
10090 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10091
10092 wxPyEndAllowThreads(__tstate);
10093 if (PyErr_Occurred()) SWIG_fail;
10094 }
10095 {
10096 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10097 }
10098 {
10099 if (temp7)
10100 delete arg7;
10101 }
10102 return resultobj;
10103 fail:
10104 {
10105 if (temp7)
10106 delete arg7;
10107 }
10108 return NULL;
10109 }
10110
10111
10112 static PyObject *_wrap_VListBox_GetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
10113 PyObject *resultobj;
10114 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10115 size_t result;
10116 PyObject * obj0 = 0 ;
10117 char *kwnames[] = {
10118 (char *) "self", NULL
10119 };
10120
10121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail;
10122 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10123 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10124 {
10125 PyThreadState* __tstate = wxPyBeginAllowThreads();
10126 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
10127
10128 wxPyEndAllowThreads(__tstate);
10129 if (PyErr_Occurred()) SWIG_fail;
10130 }
10131 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
10132 return resultobj;
10133 fail:
10134 return NULL;
10135 }
10136
10137
10138 static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *, PyObject *args, PyObject *kwargs) {
10139 PyObject *resultobj;
10140 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10141 bool result;
10142 PyObject * obj0 = 0 ;
10143 char *kwnames[] = {
10144 (char *) "self", NULL
10145 };
10146
10147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",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 = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
10153
10154 wxPyEndAllowThreads(__tstate);
10155 if (PyErr_Occurred()) SWIG_fail;
10156 }
10157 {
10158 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10159 }
10160 return resultobj;
10161 fail:
10162 return NULL;
10163 }
10164
10165
10166 static PyObject *_wrap_VListBox_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
10167 PyObject *resultobj;
10168 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10169 int result;
10170 PyObject * obj0 = 0 ;
10171 char *kwnames[] = {
10172 (char *) "self", NULL
10173 };
10174
10175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",kwnames,&obj0)) goto fail;
10176 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10177 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10178 {
10179 PyThreadState* __tstate = wxPyBeginAllowThreads();
10180 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
10181
10182 wxPyEndAllowThreads(__tstate);
10183 if (PyErr_Occurred()) SWIG_fail;
10184 }
10185 resultobj = SWIG_From_int((int)result);
10186 return resultobj;
10187 fail:
10188 return NULL;
10189 }
10190
10191
10192 static PyObject *_wrap_VListBox_IsCurrent(PyObject *, PyObject *args, PyObject *kwargs) {
10193 PyObject *resultobj;
10194 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10195 size_t arg2 ;
10196 bool result;
10197 PyObject * obj0 = 0 ;
10198 PyObject * obj1 = 0 ;
10199 char *kwnames[] = {
10200 (char *) "self",(char *) "item", NULL
10201 };
10202
10203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail;
10204 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10205 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10206 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
10207 if (PyErr_Occurred()) SWIG_fail;
10208 {
10209 PyThreadState* __tstate = wxPyBeginAllowThreads();
10210 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
10211
10212 wxPyEndAllowThreads(__tstate);
10213 if (PyErr_Occurred()) SWIG_fail;
10214 }
10215 {
10216 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10217 }
10218 return resultobj;
10219 fail:
10220 return NULL;
10221 }
10222
10223
10224 static PyObject *_wrap_VListBox_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
10225 PyObject *resultobj;
10226 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10227 size_t arg2 ;
10228 bool result;
10229 PyObject * obj0 = 0 ;
10230 PyObject * obj1 = 0 ;
10231 char *kwnames[] = {
10232 (char *) "self",(char *) "item", NULL
10233 };
10234
10235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
10236 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10237 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10238 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
10239 if (PyErr_Occurred()) SWIG_fail;
10240 {
10241 PyThreadState* __tstate = wxPyBeginAllowThreads();
10242 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
10243
10244 wxPyEndAllowThreads(__tstate);
10245 if (PyErr_Occurred()) SWIG_fail;
10246 }
10247 {
10248 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10249 }
10250 return resultobj;
10251 fail:
10252 return NULL;
10253 }
10254
10255
10256 static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *, PyObject *args, PyObject *kwargs) {
10257 PyObject *resultobj;
10258 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10259 size_t result;
10260 PyObject * obj0 = 0 ;
10261 char *kwnames[] = {
10262 (char *) "self", NULL
10263 };
10264
10265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail;
10266 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10267 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10268 {
10269 PyThreadState* __tstate = wxPyBeginAllowThreads();
10270 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
10271
10272 wxPyEndAllowThreads(__tstate);
10273 if (PyErr_Occurred()) SWIG_fail;
10274 }
10275 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
10276 return resultobj;
10277 fail:
10278 return NULL;
10279 }
10280
10281
10282 static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *, PyObject *args, PyObject *kwargs) {
10283 PyObject *resultobj;
10284 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10285 PyObject *result;
10286 PyObject * obj0 = 0 ;
10287 char *kwnames[] = {
10288 (char *) "self", NULL
10289 };
10290
10291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetFirstSelected",kwnames,&obj0)) goto fail;
10292 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10293 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10294 {
10295 PyThreadState* __tstate = wxPyBeginAllowThreads();
10296 result = (PyObject *)wxPyVListBox_GetFirstSelected(arg1);
10297
10298 wxPyEndAllowThreads(__tstate);
10299 if (PyErr_Occurred()) SWIG_fail;
10300 }
10301 resultobj = result;
10302 return resultobj;
10303 fail:
10304 return NULL;
10305 }
10306
10307
10308 static PyObject *_wrap_VListBox_GetNextSelected(PyObject *, PyObject *args, PyObject *kwargs) {
10309 PyObject *resultobj;
10310 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10311 unsigned long arg2 ;
10312 PyObject *result;
10313 PyObject * obj0 = 0 ;
10314 PyObject * obj1 = 0 ;
10315 char *kwnames[] = {
10316 (char *) "self",(char *) "cookie", NULL
10317 };
10318
10319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
10320 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10322 arg2 = (unsigned long)SWIG_As_unsigned_SS_long(obj1);
10323 if (PyErr_Occurred()) SWIG_fail;
10324 {
10325 PyThreadState* __tstate = wxPyBeginAllowThreads();
10326 result = (PyObject *)wxPyVListBox_GetNextSelected(arg1,arg2);
10327
10328 wxPyEndAllowThreads(__tstate);
10329 if (PyErr_Occurred()) SWIG_fail;
10330 }
10331 resultobj = result;
10332 return resultobj;
10333 fail:
10334 return NULL;
10335 }
10336
10337
10338 static PyObject *_wrap_VListBox_GetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
10339 PyObject *resultobj;
10340 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10341 wxPoint result;
10342 PyObject * obj0 = 0 ;
10343 char *kwnames[] = {
10344 (char *) "self", NULL
10345 };
10346
10347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail;
10348 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10349 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10350 {
10351 PyThreadState* __tstate = wxPyBeginAllowThreads();
10352 result = ((wxPyVListBox const *)arg1)->GetMargins();
10353
10354 wxPyEndAllowThreads(__tstate);
10355 if (PyErr_Occurred()) SWIG_fail;
10356 }
10357 {
10358 wxPoint * resultptr;
10359 resultptr = new wxPoint((wxPoint &) result);
10360 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
10361 }
10362 return resultobj;
10363 fail:
10364 return NULL;
10365 }
10366
10367
10368 static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) {
10369 PyObject *resultobj;
10370 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10371 wxColour *result;
10372 PyObject * obj0 = 0 ;
10373 char *kwnames[] = {
10374 (char *) "self", NULL
10375 };
10376
10377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail;
10378 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10379 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10380 {
10381 PyThreadState* __tstate = wxPyBeginAllowThreads();
10382 {
10383 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
10384 result = (wxColour *) &_result_ref;
10385 }
10386
10387 wxPyEndAllowThreads(__tstate);
10388 if (PyErr_Occurred()) SWIG_fail;
10389 }
10390 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
10391 return resultobj;
10392 fail:
10393 return NULL;
10394 }
10395
10396
10397 static PyObject *_wrap_VListBox_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
10398 PyObject *resultobj;
10399 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10400 size_t arg2 ;
10401 PyObject * obj0 = 0 ;
10402 PyObject * obj1 = 0 ;
10403 char *kwnames[] = {
10404 (char *) "self",(char *) "count", NULL
10405 };
10406
10407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
10408 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10409 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10410 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
10411 if (PyErr_Occurred()) SWIG_fail;
10412 {
10413 PyThreadState* __tstate = wxPyBeginAllowThreads();
10414 (arg1)->SetItemCount(arg2);
10415
10416 wxPyEndAllowThreads(__tstate);
10417 if (PyErr_Occurred()) SWIG_fail;
10418 }
10419 Py_INCREF(Py_None); resultobj = Py_None;
10420 return resultobj;
10421 fail:
10422 return NULL;
10423 }
10424
10425
10426 static PyObject *_wrap_VListBox_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
10427 PyObject *resultobj;
10428 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10429 PyObject * obj0 = 0 ;
10430 char *kwnames[] = {
10431 (char *) "self", NULL
10432 };
10433
10434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail;
10435 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10436 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10437 {
10438 PyThreadState* __tstate = wxPyBeginAllowThreads();
10439 (arg1)->Clear();
10440
10441 wxPyEndAllowThreads(__tstate);
10442 if (PyErr_Occurred()) SWIG_fail;
10443 }
10444 Py_INCREF(Py_None); resultobj = Py_None;
10445 return resultobj;
10446 fail:
10447 return NULL;
10448 }
10449
10450
10451 static PyObject *_wrap_VListBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
10452 PyObject *resultobj;
10453 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10454 int arg2 ;
10455 PyObject * obj0 = 0 ;
10456 PyObject * obj1 = 0 ;
10457 char *kwnames[] = {
10458 (char *) "self",(char *) "selection", NULL
10459 };
10460
10461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
10462 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10463 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10464 arg2 = (int)SWIG_As_int(obj1);
10465 if (PyErr_Occurred()) SWIG_fail;
10466 {
10467 PyThreadState* __tstate = wxPyBeginAllowThreads();
10468 (arg1)->SetSelection(arg2);
10469
10470 wxPyEndAllowThreads(__tstate);
10471 if (PyErr_Occurred()) SWIG_fail;
10472 }
10473 Py_INCREF(Py_None); resultobj = Py_None;
10474 return resultobj;
10475 fail:
10476 return NULL;
10477 }
10478
10479
10480 static PyObject *_wrap_VListBox_Select(PyObject *, PyObject *args, PyObject *kwargs) {
10481 PyObject *resultobj;
10482 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10483 size_t arg2 ;
10484 bool arg3 = (bool) true ;
10485 bool result;
10486 PyObject * obj0 = 0 ;
10487 PyObject * obj1 = 0 ;
10488 PyObject * obj2 = 0 ;
10489 char *kwnames[] = {
10490 (char *) "self",(char *) "item",(char *) "select", NULL
10491 };
10492
10493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
10494 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10495 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10496 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
10497 if (PyErr_Occurred()) SWIG_fail;
10498 if (obj2) {
10499 arg3 = (bool)SWIG_As_bool(obj2);
10500 if (PyErr_Occurred()) SWIG_fail;
10501 }
10502 {
10503 PyThreadState* __tstate = wxPyBeginAllowThreads();
10504 result = (bool)(arg1)->Select(arg2,arg3);
10505
10506 wxPyEndAllowThreads(__tstate);
10507 if (PyErr_Occurred()) SWIG_fail;
10508 }
10509 {
10510 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10511 }
10512 return resultobj;
10513 fail:
10514 return NULL;
10515 }
10516
10517
10518 static PyObject *_wrap_VListBox_SelectRange(PyObject *, PyObject *args, PyObject *kwargs) {
10519 PyObject *resultobj;
10520 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10521 size_t arg2 ;
10522 size_t arg3 ;
10523 bool result;
10524 PyObject * obj0 = 0 ;
10525 PyObject * obj1 = 0 ;
10526 PyObject * obj2 = 0 ;
10527 char *kwnames[] = {
10528 (char *) "self",(char *) "from",(char *) "to", NULL
10529 };
10530
10531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
10532 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10533 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10534 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
10535 if (PyErr_Occurred()) SWIG_fail;
10536 arg3 = (size_t)SWIG_As_unsigned_SS_long(obj2);
10537 if (PyErr_Occurred()) SWIG_fail;
10538 {
10539 PyThreadState* __tstate = wxPyBeginAllowThreads();
10540 result = (bool)(arg1)->SelectRange(arg2,arg3);
10541
10542 wxPyEndAllowThreads(__tstate);
10543 if (PyErr_Occurred()) SWIG_fail;
10544 }
10545 {
10546 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10547 }
10548 return resultobj;
10549 fail:
10550 return NULL;
10551 }
10552
10553
10554 static PyObject *_wrap_VListBox_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
10555 PyObject *resultobj;
10556 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10557 size_t arg2 ;
10558 PyObject * obj0 = 0 ;
10559 PyObject * obj1 = 0 ;
10560 char *kwnames[] = {
10561 (char *) "self",(char *) "item", NULL
10562 };
10563
10564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail;
10565 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10566 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10567 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
10568 if (PyErr_Occurred()) SWIG_fail;
10569 {
10570 PyThreadState* __tstate = wxPyBeginAllowThreads();
10571 (arg1)->Toggle(arg2);
10572
10573 wxPyEndAllowThreads(__tstate);
10574 if (PyErr_Occurred()) SWIG_fail;
10575 }
10576 Py_INCREF(Py_None); resultobj = Py_None;
10577 return resultobj;
10578 fail:
10579 return NULL;
10580 }
10581
10582
10583 static PyObject *_wrap_VListBox_SelectAll(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_SelectAll",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)->SelectAll();
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_DeselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
10612 PyObject *resultobj;
10613 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10614 bool result;
10615 PyObject * obj0 = 0 ;
10616 char *kwnames[] = {
10617 (char *) "self", NULL
10618 };
10619
10620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail;
10621 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10622 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10623 {
10624 PyThreadState* __tstate = wxPyBeginAllowThreads();
10625 result = (bool)(arg1)->DeselectAll();
10626
10627 wxPyEndAllowThreads(__tstate);
10628 if (PyErr_Occurred()) SWIG_fail;
10629 }
10630 {
10631 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10632 }
10633 return resultobj;
10634 fail:
10635 return NULL;
10636 }
10637
10638
10639 static PyObject *_wrap_VListBox_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
10640 PyObject *resultobj;
10641 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10642 wxPoint *arg2 = 0 ;
10643 wxPoint temp2 ;
10644 PyObject * obj0 = 0 ;
10645 PyObject * obj1 = 0 ;
10646 char *kwnames[] = {
10647 (char *) "self",(char *) "pt", NULL
10648 };
10649
10650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail;
10651 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10652 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10653 {
10654 arg2 = &temp2;
10655 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10656 }
10657 {
10658 PyThreadState* __tstate = wxPyBeginAllowThreads();
10659 (arg1)->SetMargins((wxPoint const &)*arg2);
10660
10661 wxPyEndAllowThreads(__tstate);
10662 if (PyErr_Occurred()) SWIG_fail;
10663 }
10664 Py_INCREF(Py_None); resultobj = Py_None;
10665 return resultobj;
10666 fail:
10667 return NULL;
10668 }
10669
10670
10671 static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *, PyObject *args, PyObject *kwargs) {
10672 PyObject *resultobj;
10673 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10674 int arg2 ;
10675 int arg3 ;
10676 PyObject * obj0 = 0 ;
10677 PyObject * obj1 = 0 ;
10678 PyObject * obj2 = 0 ;
10679 char *kwnames[] = {
10680 (char *) "self",(char *) "x",(char *) "y", NULL
10681 };
10682
10683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
10684 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10685 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10686 arg2 = (int)SWIG_As_int(obj1);
10687 if (PyErr_Occurred()) SWIG_fail;
10688 arg3 = (int)SWIG_As_int(obj2);
10689 if (PyErr_Occurred()) SWIG_fail;
10690 {
10691 PyThreadState* __tstate = wxPyBeginAllowThreads();
10692 (arg1)->SetMargins(arg2,arg3);
10693
10694 wxPyEndAllowThreads(__tstate);
10695 if (PyErr_Occurred()) SWIG_fail;
10696 }
10697 Py_INCREF(Py_None); resultobj = Py_None;
10698 return resultobj;
10699 fail:
10700 return NULL;
10701 }
10702
10703
10704 static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) {
10705 PyObject *resultobj;
10706 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10707 wxColour *arg2 = 0 ;
10708 wxColour temp2 ;
10709 PyObject * obj0 = 0 ;
10710 PyObject * obj1 = 0 ;
10711 char *kwnames[] = {
10712 (char *) "self",(char *) "col", NULL
10713 };
10714
10715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail;
10716 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10717 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10718 {
10719 arg2 = &temp2;
10720 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10721 }
10722 {
10723 PyThreadState* __tstate = wxPyBeginAllowThreads();
10724 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
10725
10726 wxPyEndAllowThreads(__tstate);
10727 if (PyErr_Occurred()) SWIG_fail;
10728 }
10729 Py_INCREF(Py_None); resultobj = Py_None;
10730 return resultobj;
10731 fail:
10732 return NULL;
10733 }
10734
10735
10736 static PyObject * VListBox_swigregister(PyObject *, PyObject *args) {
10737 PyObject *obj;
10738 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10739 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj);
10740 Py_INCREF(obj);
10741 return Py_BuildValue((char *)"");
10742 }
10743 static PyObject *_wrap_new_HtmlListBox(PyObject *, PyObject *args, PyObject *kwargs) {
10744 PyObject *resultobj;
10745 wxWindow *arg1 = (wxWindow *) 0 ;
10746 int arg2 = (int) wxID_ANY ;
10747 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10748 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10749 wxSize const &arg4_defvalue = wxDefaultSize ;
10750 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10751 long arg5 = (long) 0 ;
10752 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
10753 wxString *arg6 = (wxString *) &arg6_defvalue ;
10754 wxPyHtmlListBox *result;
10755 wxPoint temp3 ;
10756 wxSize temp4 ;
10757 bool temp6 = false ;
10758 PyObject * obj0 = 0 ;
10759 PyObject * obj1 = 0 ;
10760 PyObject * obj2 = 0 ;
10761 PyObject * obj3 = 0 ;
10762 PyObject * obj4 = 0 ;
10763 PyObject * obj5 = 0 ;
10764 char *kwnames[] = {
10765 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10766 };
10767
10768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
10769 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10770 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10771 if (obj1) {
10772 arg2 = (int)SWIG_As_int(obj1);
10773 if (PyErr_Occurred()) SWIG_fail;
10774 }
10775 if (obj2) {
10776 {
10777 arg3 = &temp3;
10778 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10779 }
10780 }
10781 if (obj3) {
10782 {
10783 arg4 = &temp4;
10784 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10785 }
10786 }
10787 if (obj4) {
10788 arg5 = (long)SWIG_As_long(obj4);
10789 if (PyErr_Occurred()) SWIG_fail;
10790 }
10791 if (obj5) {
10792 {
10793 arg6 = wxString_in_helper(obj5);
10794 if (arg6 == NULL) SWIG_fail;
10795 temp6 = true;
10796 }
10797 }
10798 {
10799 if (!wxPyCheckForApp()) SWIG_fail;
10800 PyThreadState* __tstate = wxPyBeginAllowThreads();
10801 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10802
10803 wxPyEndAllowThreads(__tstate);
10804 if (PyErr_Occurred()) SWIG_fail;
10805 }
10806 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
10807 {
10808 if (temp6)
10809 delete arg6;
10810 }
10811 return resultobj;
10812 fail:
10813 {
10814 if (temp6)
10815 delete arg6;
10816 }
10817 return NULL;
10818 }
10819
10820
10821 static PyObject *_wrap_new_PreHtmlListBox(PyObject *, PyObject *args, PyObject *kwargs) {
10822 PyObject *resultobj;
10823 wxPyHtmlListBox *result;
10824 char *kwnames[] = {
10825 NULL
10826 };
10827
10828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail;
10829 {
10830 if (!wxPyCheckForApp()) SWIG_fail;
10831 PyThreadState* __tstate = wxPyBeginAllowThreads();
10832 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
10833
10834 wxPyEndAllowThreads(__tstate);
10835 if (PyErr_Occurred()) SWIG_fail;
10836 }
10837 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
10838 return resultobj;
10839 fail:
10840 return NULL;
10841 }
10842
10843
10844 static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
10845 PyObject *resultobj;
10846 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10847 PyObject *arg2 = (PyObject *) 0 ;
10848 PyObject *arg3 = (PyObject *) 0 ;
10849 PyObject * obj0 = 0 ;
10850 PyObject * obj1 = 0 ;
10851 PyObject * obj2 = 0 ;
10852 char *kwnames[] = {
10853 (char *) "self",(char *) "self",(char *) "_class", NULL
10854 };
10855
10856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
10857 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10858 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10859 arg2 = obj1;
10860 arg3 = obj2;
10861 {
10862 PyThreadState* __tstate = wxPyBeginAllowThreads();
10863 (arg1)->_setCallbackInfo(arg2,arg3);
10864
10865 wxPyEndAllowThreads(__tstate);
10866 if (PyErr_Occurred()) SWIG_fail;
10867 }
10868 Py_INCREF(Py_None); resultobj = Py_None;
10869 return resultobj;
10870 fail:
10871 return NULL;
10872 }
10873
10874
10875 static PyObject *_wrap_HtmlListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
10876 PyObject *resultobj;
10877 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10878 wxWindow *arg2 = (wxWindow *) 0 ;
10879 int arg3 = (int) wxID_ANY ;
10880 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10881 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10882 wxSize const &arg5_defvalue = wxDefaultSize ;
10883 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10884 long arg6 = (long) 0 ;
10885 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
10886 wxString *arg7 = (wxString *) &arg7_defvalue ;
10887 bool result;
10888 wxPoint temp4 ;
10889 wxSize temp5 ;
10890 bool temp7 = false ;
10891 PyObject * obj0 = 0 ;
10892 PyObject * obj1 = 0 ;
10893 PyObject * obj2 = 0 ;
10894 PyObject * obj3 = 0 ;
10895 PyObject * obj4 = 0 ;
10896 PyObject * obj5 = 0 ;
10897 PyObject * obj6 = 0 ;
10898 char *kwnames[] = {
10899 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10900 };
10901
10902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
10903 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10904 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10905 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10906 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10907 if (obj2) {
10908 arg3 = (int)SWIG_As_int(obj2);
10909 if (PyErr_Occurred()) SWIG_fail;
10910 }
10911 if (obj3) {
10912 {
10913 arg4 = &temp4;
10914 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10915 }
10916 }
10917 if (obj4) {
10918 {
10919 arg5 = &temp5;
10920 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10921 }
10922 }
10923 if (obj5) {
10924 arg6 = (long)SWIG_As_long(obj5);
10925 if (PyErr_Occurred()) SWIG_fail;
10926 }
10927 if (obj6) {
10928 {
10929 arg7 = wxString_in_helper(obj6);
10930 if (arg7 == NULL) SWIG_fail;
10931 temp7 = true;
10932 }
10933 }
10934 {
10935 PyThreadState* __tstate = wxPyBeginAllowThreads();
10936 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10937
10938 wxPyEndAllowThreads(__tstate);
10939 if (PyErr_Occurred()) SWIG_fail;
10940 }
10941 {
10942 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10943 }
10944 {
10945 if (temp7)
10946 delete arg7;
10947 }
10948 return resultobj;
10949 fail:
10950 {
10951 if (temp7)
10952 delete arg7;
10953 }
10954 return NULL;
10955 }
10956
10957
10958 static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *, PyObject *args, PyObject *kwargs) {
10959 PyObject *resultobj;
10960 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10961 PyObject * obj0 = 0 ;
10962 char *kwnames[] = {
10963 (char *) "self", NULL
10964 };
10965
10966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail;
10967 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10968 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10969 {
10970 PyThreadState* __tstate = wxPyBeginAllowThreads();
10971 (arg1)->RefreshAll();
10972
10973 wxPyEndAllowThreads(__tstate);
10974 if (PyErr_Occurred()) SWIG_fail;
10975 }
10976 Py_INCREF(Py_None); resultobj = Py_None;
10977 return resultobj;
10978 fail:
10979 return NULL;
10980 }
10981
10982
10983 static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
10984 PyObject *resultobj;
10985 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10986 size_t arg2 ;
10987 PyObject * obj0 = 0 ;
10988 PyObject * obj1 = 0 ;
10989 char *kwnames[] = {
10990 (char *) "self",(char *) "count", NULL
10991 };
10992
10993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
10994 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10995 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10996 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
10997 if (PyErr_Occurred()) SWIG_fail;
10998 {
10999 PyThreadState* __tstate = wxPyBeginAllowThreads();
11000 (arg1)->SetItemCount(arg2);
11001
11002 wxPyEndAllowThreads(__tstate);
11003 if (PyErr_Occurred()) SWIG_fail;
11004 }
11005 Py_INCREF(Py_None); resultobj = Py_None;
11006 return resultobj;
11007 fail:
11008 return NULL;
11009 }
11010
11011
11012 static PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *, PyObject *args, PyObject *kwargs) {
11013 PyObject *resultobj;
11014 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
11015 wxFileSystem *result;
11016 PyObject * obj0 = 0 ;
11017 char *kwnames[] = {
11018 (char *) "self", NULL
11019 };
11020
11021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_GetFileSystem",kwnames,&obj0)) goto fail;
11022 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
11023 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11024 {
11025 PyThreadState* __tstate = wxPyBeginAllowThreads();
11026 {
11027 wxFileSystem &_result_ref = (arg1)->GetFileSystem();
11028 result = (wxFileSystem *) &_result_ref;
11029 }
11030
11031 wxPyEndAllowThreads(__tstate);
11032 if (PyErr_Occurred()) SWIG_fail;
11033 }
11034 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileSystem, 0);
11035 return resultobj;
11036 fail:
11037 return NULL;
11038 }
11039
11040
11041 static PyObject * HtmlListBox_swigregister(PyObject *, PyObject *args) {
11042 PyObject *obj;
11043 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11044 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj);
11045 Py_INCREF(obj);
11046 return Py_BuildValue((char *)"");
11047 }
11048 static PyObject *_wrap_new_TaskBarIcon(PyObject *, PyObject *args, PyObject *kwargs) {
11049 PyObject *resultobj;
11050 wxPyTaskBarIcon *result;
11051 char *kwnames[] = {
11052 NULL
11053 };
11054
11055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail;
11056 {
11057 if (!wxPyCheckForApp()) SWIG_fail;
11058 PyThreadState* __tstate = wxPyBeginAllowThreads();
11059 result = (wxPyTaskBarIcon *)new wxPyTaskBarIcon();
11060
11061 wxPyEndAllowThreads(__tstate);
11062 if (PyErr_Occurred()) SWIG_fail;
11063 }
11064 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTaskBarIcon, 1);
11065 return resultobj;
11066 fail:
11067 return NULL;
11068 }
11069
11070
11071 static PyObject *_wrap_TaskBarIcon__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
11072 PyObject *resultobj;
11073 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
11074 PyObject *arg2 = (PyObject *) 0 ;
11075 PyObject *arg3 = (PyObject *) 0 ;
11076 int arg4 ;
11077 PyObject * obj0 = 0 ;
11078 PyObject * obj1 = 0 ;
11079 PyObject * obj2 = 0 ;
11080 PyObject * obj3 = 0 ;
11081 char *kwnames[] = {
11082 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
11083 };
11084
11085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
11086 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTaskBarIcon,
11087 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11088 arg2 = obj1;
11089 arg3 = obj2;
11090 arg4 = (int)SWIG_As_int(obj3);
11091 if (PyErr_Occurred()) SWIG_fail;
11092 {
11093 PyThreadState* __tstate = wxPyBeginAllowThreads();
11094 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
11095
11096 wxPyEndAllowThreads(__tstate);
11097 if (PyErr_Occurred()) SWIG_fail;
11098 }
11099 Py_INCREF(Py_None); resultobj = Py_None;
11100 return resultobj;
11101 fail:
11102 return NULL;
11103 }
11104
11105
11106 static PyObject *_wrap_TaskBarIcon_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
11107 PyObject *resultobj;
11108 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
11109 PyObject * obj0 = 0 ;
11110 char *kwnames[] = {
11111 (char *) "self", NULL
11112 };
11113
11114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_Destroy",kwnames,&obj0)) goto fail;
11115 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTaskBarIcon,
11116 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11117 {
11118 PyThreadState* __tstate = wxPyBeginAllowThreads();
11119 wxPyTaskBarIcon_Destroy(arg1);
11120
11121 wxPyEndAllowThreads(__tstate);
11122 if (PyErr_Occurred()) SWIG_fail;
11123 }
11124 Py_INCREF(Py_None); resultobj = Py_None;
11125 return resultobj;
11126 fail:
11127 return NULL;
11128 }
11129
11130
11131 static PyObject *_wrap_TaskBarIcon_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
11132 PyObject *resultobj;
11133 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
11134 bool result;
11135 PyObject * obj0 = 0 ;
11136 char *kwnames[] = {
11137 (char *) "self", NULL
11138 };
11139
11140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsOk",kwnames,&obj0)) goto fail;
11141 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTaskBarIcon,
11142 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11143 {
11144 PyThreadState* __tstate = wxPyBeginAllowThreads();
11145 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsOk();
11146
11147 wxPyEndAllowThreads(__tstate);
11148 if (PyErr_Occurred()) SWIG_fail;
11149 }
11150 {
11151 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11152 }
11153 return resultobj;
11154 fail:
11155 return NULL;
11156 }
11157
11158
11159 static PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *, PyObject *args, PyObject *kwargs) {
11160 PyObject *resultobj;
11161 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
11162 bool result;
11163 PyObject * obj0 = 0 ;
11164 char *kwnames[] = {
11165 (char *) "self", NULL
11166 };
11167
11168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames,&obj0)) goto fail;
11169 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTaskBarIcon,
11170 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11171 {
11172 PyThreadState* __tstate = wxPyBeginAllowThreads();
11173 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsIconInstalled();
11174
11175 wxPyEndAllowThreads(__tstate);
11176 if (PyErr_Occurred()) SWIG_fail;
11177 }
11178 {
11179 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11180 }
11181 return resultobj;
11182 fail:
11183 return NULL;
11184 }
11185
11186
11187 static PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
11188 PyObject *resultobj;
11189 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
11190 wxIcon *arg2 = 0 ;
11191 wxString const &arg3_defvalue = wxPyEmptyString ;
11192 wxString *arg3 = (wxString *) &arg3_defvalue ;
11193 bool result;
11194 bool temp3 = false ;
11195 PyObject * obj0 = 0 ;
11196 PyObject * obj1 = 0 ;
11197 PyObject * obj2 = 0 ;
11198 char *kwnames[] = {
11199 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
11200 };
11201
11202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
11203 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTaskBarIcon,
11204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11205 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
11206 SWIG_POINTER_EXCEPTION | 0)) == -1)
11207 SWIG_fail;
11208 if (arg2 == NULL) {
11209 PyErr_SetString(PyExc_TypeError,"null reference");
11210 SWIG_fail;
11211 }
11212 if (obj2) {
11213 {
11214 arg3 = wxString_in_helper(obj2);
11215 if (arg3 == NULL) SWIG_fail;
11216 temp3 = true;
11217 }
11218 }
11219 {
11220 PyThreadState* __tstate = wxPyBeginAllowThreads();
11221 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
11222
11223 wxPyEndAllowThreads(__tstate);
11224 if (PyErr_Occurred()) SWIG_fail;
11225 }
11226 {
11227 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11228 }
11229 {
11230 if (temp3)
11231 delete arg3;
11232 }
11233 return resultobj;
11234 fail:
11235 {
11236 if (temp3)
11237 delete arg3;
11238 }
11239 return NULL;
11240 }
11241
11242
11243 static PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *, PyObject *args, PyObject *kwargs) {
11244 PyObject *resultobj;
11245 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
11246 bool result;
11247 PyObject * obj0 = 0 ;
11248 char *kwnames[] = {
11249 (char *) "self", NULL
11250 };
11251
11252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_RemoveIcon",kwnames,&obj0)) goto fail;
11253 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTaskBarIcon,
11254 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11255 {
11256 PyThreadState* __tstate = wxPyBeginAllowThreads();
11257 result = (bool)(arg1)->RemoveIcon();
11258
11259 wxPyEndAllowThreads(__tstate);
11260 if (PyErr_Occurred()) SWIG_fail;
11261 }
11262 {
11263 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11264 }
11265 return resultobj;
11266 fail:
11267 return NULL;
11268 }
11269
11270
11271 static PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *, PyObject *args, PyObject *kwargs) {
11272 PyObject *resultobj;
11273 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
11274 wxMenu *arg2 = (wxMenu *) 0 ;
11275 bool result;
11276 PyObject * obj0 = 0 ;
11277 PyObject * obj1 = 0 ;
11278 char *kwnames[] = {
11279 (char *) "self",(char *) "menu", NULL
11280 };
11281
11282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) goto fail;
11283 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTaskBarIcon,
11284 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11285 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
11286 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11287 {
11288 PyThreadState* __tstate = wxPyBeginAllowThreads();
11289 result = (bool)(arg1)->PopupMenu(arg2);
11290
11291 wxPyEndAllowThreads(__tstate);
11292 if (PyErr_Occurred()) SWIG_fail;
11293 }
11294 {
11295 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11296 }
11297 return resultobj;
11298 fail:
11299 return NULL;
11300 }
11301
11302
11303 static PyObject * TaskBarIcon_swigregister(PyObject *, PyObject *args) {
11304 PyObject *obj;
11305 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11306 SWIG_TypeClientData(SWIGTYPE_p_wxPyTaskBarIcon, obj);
11307 Py_INCREF(obj);
11308 return Py_BuildValue((char *)"");
11309 }
11310 static PyObject *_wrap_new_TaskBarIconEvent(PyObject *, PyObject *args, PyObject *kwargs) {
11311 PyObject *resultobj;
11312 wxEventType arg1 ;
11313 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
11314 wxTaskBarIconEvent *result;
11315 PyObject * obj0 = 0 ;
11316 PyObject * obj1 = 0 ;
11317 char *kwnames[] = {
11318 (char *) "evtType",(char *) "tbIcon", NULL
11319 };
11320
11321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) goto fail;
11322 arg1 = (wxEventType)SWIG_As_int(obj0);
11323 if (PyErr_Occurred()) SWIG_fail;
11324 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTaskBarIcon,
11325 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11326 {
11327 PyThreadState* __tstate = wxPyBeginAllowThreads();
11328 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
11329
11330 wxPyEndAllowThreads(__tstate);
11331 if (PyErr_Occurred()) SWIG_fail;
11332 }
11333 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIconEvent, 1);
11334 return resultobj;
11335 fail:
11336 return NULL;
11337 }
11338
11339
11340 static PyObject * TaskBarIconEvent_swigregister(PyObject *, PyObject *args) {
11341 PyObject *obj;
11342 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11343 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj);
11344 Py_INCREF(obj);
11345 return Py_BuildValue((char *)"");
11346 }
11347 static int _wrap_FileSelectorPromptStr_set(PyObject *) {
11348 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
11349 return 1;
11350 }
11351
11352
11353 static PyObject *_wrap_FileSelectorPromptStr_get() {
11354 PyObject *pyobj;
11355
11356 {
11357 #if wxUSE_UNICODE
11358 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
11359 #else
11360 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
11361 #endif
11362 }
11363 return pyobj;
11364 }
11365
11366
11367 static int _wrap_DirSelectorPromptStr_set(PyObject *) {
11368 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
11369 return 1;
11370 }
11371
11372
11373 static PyObject *_wrap_DirSelectorPromptStr_get() {
11374 PyObject *pyobj;
11375
11376 {
11377 #if wxUSE_UNICODE
11378 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
11379 #else
11380 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
11381 #endif
11382 }
11383 return pyobj;
11384 }
11385
11386
11387 static int _wrap_DirDialogNameStr_set(PyObject *) {
11388 PyErr_SetString(PyExc_TypeError,"Variable DirDialogNameStr is read-only.");
11389 return 1;
11390 }
11391
11392
11393 static PyObject *_wrap_DirDialogNameStr_get() {
11394 PyObject *pyobj;
11395
11396 {
11397 #if wxUSE_UNICODE
11398 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
11399 #else
11400 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
11401 #endif
11402 }
11403 return pyobj;
11404 }
11405
11406
11407 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *) {
11408 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
11409 return 1;
11410 }
11411
11412
11413 static PyObject *_wrap_FileSelectorDefaultWildcardStr_get() {
11414 PyObject *pyobj;
11415
11416 {
11417 #if wxUSE_UNICODE
11418 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
11419 #else
11420 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
11421 #endif
11422 }
11423 return pyobj;
11424 }
11425
11426
11427 static int _wrap_GetTextFromUserPromptStr_set(PyObject *) {
11428 PyErr_SetString(PyExc_TypeError,"Variable GetTextFromUserPromptStr is read-only.");
11429 return 1;
11430 }
11431
11432
11433 static PyObject *_wrap_GetTextFromUserPromptStr_get() {
11434 PyObject *pyobj;
11435
11436 {
11437 #if wxUSE_UNICODE
11438 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
11439 #else
11440 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
11441 #endif
11442 }
11443 return pyobj;
11444 }
11445
11446
11447 static int _wrap_MessageBoxCaptionStr_set(PyObject *) {
11448 PyErr_SetString(PyExc_TypeError,"Variable MessageBoxCaptionStr is read-only.");
11449 return 1;
11450 }
11451
11452
11453 static PyObject *_wrap_MessageBoxCaptionStr_get() {
11454 PyObject *pyobj;
11455
11456 {
11457 #if wxUSE_UNICODE
11458 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
11459 #else
11460 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
11461 #endif
11462 }
11463 return pyobj;
11464 }
11465
11466
11467 static PyObject *_wrap_new_ColourData(PyObject *, PyObject *args, PyObject *kwargs) {
11468 PyObject *resultobj;
11469 wxColourData *result;
11470 char *kwnames[] = {
11471 NULL
11472 };
11473
11474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail;
11475 {
11476 PyThreadState* __tstate = wxPyBeginAllowThreads();
11477 result = (wxColourData *)new wxColourData();
11478
11479 wxPyEndAllowThreads(__tstate);
11480 if (PyErr_Occurred()) SWIG_fail;
11481 }
11482 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 1);
11483 return resultobj;
11484 fail:
11485 return NULL;
11486 }
11487
11488
11489 static PyObject *_wrap_delete_ColourData(PyObject *, PyObject *args, PyObject *kwargs) {
11490 PyObject *resultobj;
11491 wxColourData *arg1 = (wxColourData *) 0 ;
11492 PyObject * obj0 = 0 ;
11493 char *kwnames[] = {
11494 (char *) "self", NULL
11495 };
11496
11497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail;
11498 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11499 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11500 {
11501 PyThreadState* __tstate = wxPyBeginAllowThreads();
11502 delete arg1;
11503
11504 wxPyEndAllowThreads(__tstate);
11505 if (PyErr_Occurred()) SWIG_fail;
11506 }
11507 Py_INCREF(Py_None); resultobj = Py_None;
11508 return resultobj;
11509 fail:
11510 return NULL;
11511 }
11512
11513
11514 static PyObject *_wrap_ColourData_GetChooseFull(PyObject *, PyObject *args, PyObject *kwargs) {
11515 PyObject *resultobj;
11516 wxColourData *arg1 = (wxColourData *) 0 ;
11517 bool result;
11518 PyObject * obj0 = 0 ;
11519 char *kwnames[] = {
11520 (char *) "self", NULL
11521 };
11522
11523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail;
11524 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11525 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11526 {
11527 PyThreadState* __tstate = wxPyBeginAllowThreads();
11528 result = (bool)(arg1)->GetChooseFull();
11529
11530 wxPyEndAllowThreads(__tstate);
11531 if (PyErr_Occurred()) SWIG_fail;
11532 }
11533 {
11534 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11535 }
11536 return resultobj;
11537 fail:
11538 return NULL;
11539 }
11540
11541
11542 static PyObject *_wrap_ColourData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
11543 PyObject *resultobj;
11544 wxColourData *arg1 = (wxColourData *) 0 ;
11545 wxColour result;
11546 PyObject * obj0 = 0 ;
11547 char *kwnames[] = {
11548 (char *) "self", NULL
11549 };
11550
11551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail;
11552 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11553 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11554 {
11555 PyThreadState* __tstate = wxPyBeginAllowThreads();
11556 result = (arg1)->GetColour();
11557
11558 wxPyEndAllowThreads(__tstate);
11559 if (PyErr_Occurred()) SWIG_fail;
11560 }
11561 {
11562 wxColour * resultptr;
11563 resultptr = new wxColour((wxColour &) result);
11564 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
11565 }
11566 return resultobj;
11567 fail:
11568 return NULL;
11569 }
11570
11571
11572 static PyObject *_wrap_ColourData_GetCustomColour(PyObject *, PyObject *args, PyObject *kwargs) {
11573 PyObject *resultobj;
11574 wxColourData *arg1 = (wxColourData *) 0 ;
11575 int arg2 ;
11576 wxColour result;
11577 PyObject * obj0 = 0 ;
11578 PyObject * obj1 = 0 ;
11579 char *kwnames[] = {
11580 (char *) "self",(char *) "i", NULL
11581 };
11582
11583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) goto fail;
11584 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11585 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11586 arg2 = (int)SWIG_As_int(obj1);
11587 if (PyErr_Occurred()) SWIG_fail;
11588 {
11589 PyThreadState* __tstate = wxPyBeginAllowThreads();
11590 result = (arg1)->GetCustomColour(arg2);
11591
11592 wxPyEndAllowThreads(__tstate);
11593 if (PyErr_Occurred()) SWIG_fail;
11594 }
11595 {
11596 wxColour * resultptr;
11597 resultptr = new wxColour((wxColour &) result);
11598 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
11599 }
11600 return resultobj;
11601 fail:
11602 return NULL;
11603 }
11604
11605
11606 static PyObject *_wrap_ColourData_SetChooseFull(PyObject *, PyObject *args, PyObject *kwargs) {
11607 PyObject *resultobj;
11608 wxColourData *arg1 = (wxColourData *) 0 ;
11609 int arg2 ;
11610 PyObject * obj0 = 0 ;
11611 PyObject * obj1 = 0 ;
11612 char *kwnames[] = {
11613 (char *) "self",(char *) "flag", NULL
11614 };
11615
11616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) goto fail;
11617 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11618 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11619 arg2 = (int)SWIG_As_int(obj1);
11620 if (PyErr_Occurred()) SWIG_fail;
11621 {
11622 PyThreadState* __tstate = wxPyBeginAllowThreads();
11623 (arg1)->SetChooseFull(arg2);
11624
11625 wxPyEndAllowThreads(__tstate);
11626 if (PyErr_Occurred()) SWIG_fail;
11627 }
11628 Py_INCREF(Py_None); resultobj = Py_None;
11629 return resultobj;
11630 fail:
11631 return NULL;
11632 }
11633
11634
11635 static PyObject *_wrap_ColourData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
11636 PyObject *resultobj;
11637 wxColourData *arg1 = (wxColourData *) 0 ;
11638 wxColour *arg2 = 0 ;
11639 wxColour temp2 ;
11640 PyObject * obj0 = 0 ;
11641 PyObject * obj1 = 0 ;
11642 char *kwnames[] = {
11643 (char *) "self",(char *) "colour", NULL
11644 };
11645
11646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail;
11647 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11648 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11649 {
11650 arg2 = &temp2;
11651 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
11652 }
11653 {
11654 PyThreadState* __tstate = wxPyBeginAllowThreads();
11655 (arg1)->SetColour((wxColour const &)*arg2);
11656
11657 wxPyEndAllowThreads(__tstate);
11658 if (PyErr_Occurred()) SWIG_fail;
11659 }
11660 Py_INCREF(Py_None); resultobj = Py_None;
11661 return resultobj;
11662 fail:
11663 return NULL;
11664 }
11665
11666
11667 static PyObject *_wrap_ColourData_SetCustomColour(PyObject *, PyObject *args, PyObject *kwargs) {
11668 PyObject *resultobj;
11669 wxColourData *arg1 = (wxColourData *) 0 ;
11670 int arg2 ;
11671 wxColour *arg3 = 0 ;
11672 wxColour temp3 ;
11673 PyObject * obj0 = 0 ;
11674 PyObject * obj1 = 0 ;
11675 PyObject * obj2 = 0 ;
11676 char *kwnames[] = {
11677 (char *) "self",(char *) "i",(char *) "colour", NULL
11678 };
11679
11680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
11681 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11682 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11683 arg2 = (int)SWIG_As_int(obj1);
11684 if (PyErr_Occurred()) SWIG_fail;
11685 {
11686 arg3 = &temp3;
11687 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
11688 }
11689 {
11690 PyThreadState* __tstate = wxPyBeginAllowThreads();
11691 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
11692
11693 wxPyEndAllowThreads(__tstate);
11694 if (PyErr_Occurred()) SWIG_fail;
11695 }
11696 Py_INCREF(Py_None); resultobj = Py_None;
11697 return resultobj;
11698 fail:
11699 return NULL;
11700 }
11701
11702
11703 static PyObject * ColourData_swigregister(PyObject *, PyObject *args) {
11704 PyObject *obj;
11705 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11706 SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj);
11707 Py_INCREF(obj);
11708 return Py_BuildValue((char *)"");
11709 }
11710 static PyObject *_wrap_new_ColourDialog(PyObject *, PyObject *args, PyObject *kwargs) {
11711 PyObject *resultobj;
11712 wxWindow *arg1 = (wxWindow *) 0 ;
11713 wxColourData *arg2 = (wxColourData *) NULL ;
11714 wxColourDialog *result;
11715 PyObject * obj0 = 0 ;
11716 PyObject * obj1 = 0 ;
11717 char *kwnames[] = {
11718 (char *) "parent",(char *) "data", NULL
11719 };
11720
11721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail;
11722 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11723 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11724 if (obj1) {
11725 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxColourData,
11726 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11727 }
11728 {
11729 if (!wxPyCheckForApp()) SWIG_fail;
11730 PyThreadState* __tstate = wxPyBeginAllowThreads();
11731 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
11732
11733 wxPyEndAllowThreads(__tstate);
11734 if (PyErr_Occurred()) SWIG_fail;
11735 }
11736 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourDialog, 1);
11737 return resultobj;
11738 fail:
11739 return NULL;
11740 }
11741
11742
11743 static PyObject *_wrap_ColourDialog_GetColourData(PyObject *, PyObject *args, PyObject *kwargs) {
11744 PyObject *resultobj;
11745 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
11746 wxColourData *result;
11747 PyObject * obj0 = 0 ;
11748 char *kwnames[] = {
11749 (char *) "self", NULL
11750 };
11751
11752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail;
11753 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourDialog,
11754 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11755 {
11756 PyThreadState* __tstate = wxPyBeginAllowThreads();
11757 {
11758 wxColourData &_result_ref = (arg1)->GetColourData();
11759 result = (wxColourData *) &_result_ref;
11760 }
11761
11762 wxPyEndAllowThreads(__tstate);
11763 if (PyErr_Occurred()) SWIG_fail;
11764 }
11765 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 0);
11766 return resultobj;
11767 fail:
11768 return NULL;
11769 }
11770
11771
11772 static PyObject * ColourDialog_swigregister(PyObject *, PyObject *args) {
11773 PyObject *obj;
11774 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11775 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj);
11776 Py_INCREF(obj);
11777 return Py_BuildValue((char *)"");
11778 }
11779 static PyObject *_wrap_new_DirDialog(PyObject *, PyObject *args, PyObject *kwargs) {
11780 PyObject *resultobj;
11781 wxWindow *arg1 = (wxWindow *) 0 ;
11782 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
11783 wxString *arg2 = (wxString *) &arg2_defvalue ;
11784 wxString const &arg3_defvalue = wxPyEmptyString ;
11785 wxString *arg3 = (wxString *) &arg3_defvalue ;
11786 long arg4 = (long) 0 ;
11787 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11788 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11789 wxSize const &arg6_defvalue = wxDefaultSize ;
11790 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11791 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
11792 wxString *arg7 = (wxString *) &arg7_defvalue ;
11793 wxDirDialog *result;
11794 bool temp2 = false ;
11795 bool temp3 = false ;
11796 wxPoint temp5 ;
11797 wxSize temp6 ;
11798 bool temp7 = false ;
11799 PyObject * obj0 = 0 ;
11800 PyObject * obj1 = 0 ;
11801 PyObject * obj2 = 0 ;
11802 PyObject * obj3 = 0 ;
11803 PyObject * obj4 = 0 ;
11804 PyObject * obj5 = 0 ;
11805 PyObject * obj6 = 0 ;
11806 char *kwnames[] = {
11807 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
11808 };
11809
11810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11811 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11812 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11813 if (obj1) {
11814 {
11815 arg2 = wxString_in_helper(obj1);
11816 if (arg2 == NULL) SWIG_fail;
11817 temp2 = true;
11818 }
11819 }
11820 if (obj2) {
11821 {
11822 arg3 = wxString_in_helper(obj2);
11823 if (arg3 == NULL) SWIG_fail;
11824 temp3 = true;
11825 }
11826 }
11827 if (obj3) {
11828 arg4 = (long)SWIG_As_long(obj3);
11829 if (PyErr_Occurred()) SWIG_fail;
11830 }
11831 if (obj4) {
11832 {
11833 arg5 = &temp5;
11834 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11835 }
11836 }
11837 if (obj5) {
11838 {
11839 arg6 = &temp6;
11840 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11841 }
11842 }
11843 if (obj6) {
11844 {
11845 arg7 = wxString_in_helper(obj6);
11846 if (arg7 == NULL) SWIG_fail;
11847 temp7 = true;
11848 }
11849 }
11850 {
11851 if (!wxPyCheckForApp()) SWIG_fail;
11852 PyThreadState* __tstate = wxPyBeginAllowThreads();
11853 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
11854
11855 wxPyEndAllowThreads(__tstate);
11856 if (PyErr_Occurred()) SWIG_fail;
11857 }
11858 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirDialog, 1);
11859 {
11860 if (temp2)
11861 delete arg2;
11862 }
11863 {
11864 if (temp3)
11865 delete arg3;
11866 }
11867 {
11868 if (temp7)
11869 delete arg7;
11870 }
11871 return resultobj;
11872 fail:
11873 {
11874 if (temp2)
11875 delete arg2;
11876 }
11877 {
11878 if (temp3)
11879 delete arg3;
11880 }
11881 {
11882 if (temp7)
11883 delete arg7;
11884 }
11885 return NULL;
11886 }
11887
11888
11889 static PyObject *_wrap_DirDialog_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
11890 PyObject *resultobj;
11891 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11892 wxString result;
11893 PyObject * obj0 = 0 ;
11894 char *kwnames[] = {
11895 (char *) "self", NULL
11896 };
11897
11898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail;
11899 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11900 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11901 {
11902 PyThreadState* __tstate = wxPyBeginAllowThreads();
11903 result = (arg1)->GetPath();
11904
11905 wxPyEndAllowThreads(__tstate);
11906 if (PyErr_Occurred()) SWIG_fail;
11907 }
11908 {
11909 #if wxUSE_UNICODE
11910 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11911 #else
11912 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11913 #endif
11914 }
11915 return resultobj;
11916 fail:
11917 return NULL;
11918 }
11919
11920
11921 static PyObject *_wrap_DirDialog_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
11922 PyObject *resultobj;
11923 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11924 wxString result;
11925 PyObject * obj0 = 0 ;
11926 char *kwnames[] = {
11927 (char *) "self", NULL
11928 };
11929
11930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail;
11931 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11932 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11933 {
11934 PyThreadState* __tstate = wxPyBeginAllowThreads();
11935 result = (arg1)->GetMessage();
11936
11937 wxPyEndAllowThreads(__tstate);
11938 if (PyErr_Occurred()) SWIG_fail;
11939 }
11940 {
11941 #if wxUSE_UNICODE
11942 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11943 #else
11944 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11945 #endif
11946 }
11947 return resultobj;
11948 fail:
11949 return NULL;
11950 }
11951
11952
11953 static PyObject *_wrap_DirDialog_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
11954 PyObject *resultobj;
11955 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11956 long result;
11957 PyObject * obj0 = 0 ;
11958 char *kwnames[] = {
11959 (char *) "self", NULL
11960 };
11961
11962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail;
11963 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11964 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11965 {
11966 PyThreadState* __tstate = wxPyBeginAllowThreads();
11967 result = (long)(arg1)->GetStyle();
11968
11969 wxPyEndAllowThreads(__tstate);
11970 if (PyErr_Occurred()) SWIG_fail;
11971 }
11972 resultobj = SWIG_From_long((long)result);
11973 return resultobj;
11974 fail:
11975 return NULL;
11976 }
11977
11978
11979 static PyObject *_wrap_DirDialog_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
11980 PyObject *resultobj;
11981 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11982 wxString *arg2 = 0 ;
11983 bool temp2 = false ;
11984 PyObject * obj0 = 0 ;
11985 PyObject * obj1 = 0 ;
11986 char *kwnames[] = {
11987 (char *) "self",(char *) "message", NULL
11988 };
11989
11990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
11991 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11992 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11993 {
11994 arg2 = wxString_in_helper(obj1);
11995 if (arg2 == NULL) SWIG_fail;
11996 temp2 = true;
11997 }
11998 {
11999 PyThreadState* __tstate = wxPyBeginAllowThreads();
12000 (arg1)->SetMessage((wxString const &)*arg2);
12001
12002 wxPyEndAllowThreads(__tstate);
12003 if (PyErr_Occurred()) SWIG_fail;
12004 }
12005 Py_INCREF(Py_None); resultobj = Py_None;
12006 {
12007 if (temp2)
12008 delete arg2;
12009 }
12010 return resultobj;
12011 fail:
12012 {
12013 if (temp2)
12014 delete arg2;
12015 }
12016 return NULL;
12017 }
12018
12019
12020 static PyObject *_wrap_DirDialog_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
12021 PyObject *resultobj;
12022 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
12023 wxString *arg2 = 0 ;
12024 bool temp2 = false ;
12025 PyObject * obj0 = 0 ;
12026 PyObject * obj1 = 0 ;
12027 char *kwnames[] = {
12028 (char *) "self",(char *) "path", NULL
12029 };
12030
12031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
12032 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
12033 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12034 {
12035 arg2 = wxString_in_helper(obj1);
12036 if (arg2 == NULL) SWIG_fail;
12037 temp2 = true;
12038 }
12039 {
12040 PyThreadState* __tstate = wxPyBeginAllowThreads();
12041 (arg1)->SetPath((wxString const &)*arg2);
12042
12043 wxPyEndAllowThreads(__tstate);
12044 if (PyErr_Occurred()) SWIG_fail;
12045 }
12046 Py_INCREF(Py_None); resultobj = Py_None;
12047 {
12048 if (temp2)
12049 delete arg2;
12050 }
12051 return resultobj;
12052 fail:
12053 {
12054 if (temp2)
12055 delete arg2;
12056 }
12057 return NULL;
12058 }
12059
12060
12061 static PyObject * DirDialog_swigregister(PyObject *, PyObject *args) {
12062 PyObject *obj;
12063 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12064 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj);
12065 Py_INCREF(obj);
12066 return Py_BuildValue((char *)"");
12067 }
12068 static PyObject *_wrap_new_FileDialog(PyObject *, PyObject *args, PyObject *kwargs) {
12069 PyObject *resultobj;
12070 wxWindow *arg1 = (wxWindow *) 0 ;
12071 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
12072 wxString *arg2 = (wxString *) &arg2_defvalue ;
12073 wxString const &arg3_defvalue = wxPyEmptyString ;
12074 wxString *arg3 = (wxString *) &arg3_defvalue ;
12075 wxString const &arg4_defvalue = wxPyEmptyString ;
12076 wxString *arg4 = (wxString *) &arg4_defvalue ;
12077 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
12078 wxString *arg5 = (wxString *) &arg5_defvalue ;
12079 long arg6 = (long) 0 ;
12080 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12081 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12082 wxFileDialog *result;
12083 bool temp2 = false ;
12084 bool temp3 = false ;
12085 bool temp4 = false ;
12086 bool temp5 = false ;
12087 wxPoint temp7 ;
12088 PyObject * obj0 = 0 ;
12089 PyObject * obj1 = 0 ;
12090 PyObject * obj2 = 0 ;
12091 PyObject * obj3 = 0 ;
12092 PyObject * obj4 = 0 ;
12093 PyObject * obj5 = 0 ;
12094 PyObject * obj6 = 0 ;
12095 char *kwnames[] = {
12096 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
12097 };
12098
12099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
12100 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12101 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12102 if (obj1) {
12103 {
12104 arg2 = wxString_in_helper(obj1);
12105 if (arg2 == NULL) SWIG_fail;
12106 temp2 = true;
12107 }
12108 }
12109 if (obj2) {
12110 {
12111 arg3 = wxString_in_helper(obj2);
12112 if (arg3 == NULL) SWIG_fail;
12113 temp3 = true;
12114 }
12115 }
12116 if (obj3) {
12117 {
12118 arg4 = wxString_in_helper(obj3);
12119 if (arg4 == NULL) SWIG_fail;
12120 temp4 = true;
12121 }
12122 }
12123 if (obj4) {
12124 {
12125 arg5 = wxString_in_helper(obj4);
12126 if (arg5 == NULL) SWIG_fail;
12127 temp5 = true;
12128 }
12129 }
12130 if (obj5) {
12131 arg6 = (long)SWIG_As_long(obj5);
12132 if (PyErr_Occurred()) SWIG_fail;
12133 }
12134 if (obj6) {
12135 {
12136 arg7 = &temp7;
12137 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
12138 }
12139 }
12140 {
12141 if (!wxPyCheckForApp()) SWIG_fail;
12142 PyThreadState* __tstate = wxPyBeginAllowThreads();
12143 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
12144
12145 wxPyEndAllowThreads(__tstate);
12146 if (PyErr_Occurred()) SWIG_fail;
12147 }
12148 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileDialog, 1);
12149 {
12150 if (temp2)
12151 delete arg2;
12152 }
12153 {
12154 if (temp3)
12155 delete arg3;
12156 }
12157 {
12158 if (temp4)
12159 delete arg4;
12160 }
12161 {
12162 if (temp5)
12163 delete arg5;
12164 }
12165 return resultobj;
12166 fail:
12167 {
12168 if (temp2)
12169 delete arg2;
12170 }
12171 {
12172 if (temp3)
12173 delete arg3;
12174 }
12175 {
12176 if (temp4)
12177 delete arg4;
12178 }
12179 {
12180 if (temp5)
12181 delete arg5;
12182 }
12183 return NULL;
12184 }
12185
12186
12187 static PyObject *_wrap_FileDialog_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
12188 PyObject *resultobj;
12189 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12190 wxString *arg2 = 0 ;
12191 bool temp2 = false ;
12192 PyObject * obj0 = 0 ;
12193 PyObject * obj1 = 0 ;
12194 char *kwnames[] = {
12195 (char *) "self",(char *) "message", NULL
12196 };
12197
12198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
12199 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12200 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12201 {
12202 arg2 = wxString_in_helper(obj1);
12203 if (arg2 == NULL) SWIG_fail;
12204 temp2 = true;
12205 }
12206 {
12207 PyThreadState* __tstate = wxPyBeginAllowThreads();
12208 (arg1)->SetMessage((wxString const &)*arg2);
12209
12210 wxPyEndAllowThreads(__tstate);
12211 if (PyErr_Occurred()) SWIG_fail;
12212 }
12213 Py_INCREF(Py_None); resultobj = Py_None;
12214 {
12215 if (temp2)
12216 delete arg2;
12217 }
12218 return resultobj;
12219 fail:
12220 {
12221 if (temp2)
12222 delete arg2;
12223 }
12224 return NULL;
12225 }
12226
12227
12228 static PyObject *_wrap_FileDialog_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
12229 PyObject *resultobj;
12230 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12231 wxString *arg2 = 0 ;
12232 bool temp2 = false ;
12233 PyObject * obj0 = 0 ;
12234 PyObject * obj1 = 0 ;
12235 char *kwnames[] = {
12236 (char *) "self",(char *) "path", NULL
12237 };
12238
12239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
12240 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12241 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12242 {
12243 arg2 = wxString_in_helper(obj1);
12244 if (arg2 == NULL) SWIG_fail;
12245 temp2 = true;
12246 }
12247 {
12248 PyThreadState* __tstate = wxPyBeginAllowThreads();
12249 (arg1)->SetPath((wxString const &)*arg2);
12250
12251 wxPyEndAllowThreads(__tstate);
12252 if (PyErr_Occurred()) SWIG_fail;
12253 }
12254 Py_INCREF(Py_None); resultobj = Py_None;
12255 {
12256 if (temp2)
12257 delete arg2;
12258 }
12259 return resultobj;
12260 fail:
12261 {
12262 if (temp2)
12263 delete arg2;
12264 }
12265 return NULL;
12266 }
12267
12268
12269 static PyObject *_wrap_FileDialog_SetDirectory(PyObject *, PyObject *args, PyObject *kwargs) {
12270 PyObject *resultobj;
12271 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12272 wxString *arg2 = 0 ;
12273 bool temp2 = false ;
12274 PyObject * obj0 = 0 ;
12275 PyObject * obj1 = 0 ;
12276 char *kwnames[] = {
12277 (char *) "self",(char *) "dir", NULL
12278 };
12279
12280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail;
12281 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12282 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12283 {
12284 arg2 = wxString_in_helper(obj1);
12285 if (arg2 == NULL) SWIG_fail;
12286 temp2 = true;
12287 }
12288 {
12289 PyThreadState* __tstate = wxPyBeginAllowThreads();
12290 (arg1)->SetDirectory((wxString const &)*arg2);
12291
12292 wxPyEndAllowThreads(__tstate);
12293 if (PyErr_Occurred()) SWIG_fail;
12294 }
12295 Py_INCREF(Py_None); resultobj = Py_None;
12296 {
12297 if (temp2)
12298 delete arg2;
12299 }
12300 return resultobj;
12301 fail:
12302 {
12303 if (temp2)
12304 delete arg2;
12305 }
12306 return NULL;
12307 }
12308
12309
12310 static PyObject *_wrap_FileDialog_SetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
12311 PyObject *resultobj;
12312 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12313 wxString *arg2 = 0 ;
12314 bool temp2 = false ;
12315 PyObject * obj0 = 0 ;
12316 PyObject * obj1 = 0 ;
12317 char *kwnames[] = {
12318 (char *) "self",(char *) "name", NULL
12319 };
12320
12321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail;
12322 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12323 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12324 {
12325 arg2 = wxString_in_helper(obj1);
12326 if (arg2 == NULL) SWIG_fail;
12327 temp2 = true;
12328 }
12329 {
12330 PyThreadState* __tstate = wxPyBeginAllowThreads();
12331 (arg1)->SetFilename((wxString const &)*arg2);
12332
12333 wxPyEndAllowThreads(__tstate);
12334 if (PyErr_Occurred()) SWIG_fail;
12335 }
12336 Py_INCREF(Py_None); resultobj = Py_None;
12337 {
12338 if (temp2)
12339 delete arg2;
12340 }
12341 return resultobj;
12342 fail:
12343 {
12344 if (temp2)
12345 delete arg2;
12346 }
12347 return NULL;
12348 }
12349
12350
12351 static PyObject *_wrap_FileDialog_SetWildcard(PyObject *, PyObject *args, PyObject *kwargs) {
12352 PyObject *resultobj;
12353 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12354 wxString *arg2 = 0 ;
12355 bool temp2 = false ;
12356 PyObject * obj0 = 0 ;
12357 PyObject * obj1 = 0 ;
12358 char *kwnames[] = {
12359 (char *) "self",(char *) "wildCard", NULL
12360 };
12361
12362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail;
12363 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12364 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12365 {
12366 arg2 = wxString_in_helper(obj1);
12367 if (arg2 == NULL) SWIG_fail;
12368 temp2 = true;
12369 }
12370 {
12371 PyThreadState* __tstate = wxPyBeginAllowThreads();
12372 (arg1)->SetWildcard((wxString const &)*arg2);
12373
12374 wxPyEndAllowThreads(__tstate);
12375 if (PyErr_Occurred()) SWIG_fail;
12376 }
12377 Py_INCREF(Py_None); resultobj = Py_None;
12378 {
12379 if (temp2)
12380 delete arg2;
12381 }
12382 return resultobj;
12383 fail:
12384 {
12385 if (temp2)
12386 delete arg2;
12387 }
12388 return NULL;
12389 }
12390
12391
12392 static PyObject *_wrap_FileDialog_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
12393 PyObject *resultobj;
12394 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12395 long arg2 ;
12396 PyObject * obj0 = 0 ;
12397 PyObject * obj1 = 0 ;
12398 char *kwnames[] = {
12399 (char *) "self",(char *) "style", NULL
12400 };
12401
12402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetStyle",kwnames,&obj0,&obj1)) goto fail;
12403 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12404 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12405 arg2 = (long)SWIG_As_long(obj1);
12406 if (PyErr_Occurred()) SWIG_fail;
12407 {
12408 PyThreadState* __tstate = wxPyBeginAllowThreads();
12409 (arg1)->SetStyle(arg2);
12410
12411 wxPyEndAllowThreads(__tstate);
12412 if (PyErr_Occurred()) SWIG_fail;
12413 }
12414 Py_INCREF(Py_None); resultobj = Py_None;
12415 return resultobj;
12416 fail:
12417 return NULL;
12418 }
12419
12420
12421 static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
12422 PyObject *resultobj;
12423 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12424 int arg2 ;
12425 PyObject * obj0 = 0 ;
12426 PyObject * obj1 = 0 ;
12427 char *kwnames[] = {
12428 (char *) "self",(char *) "filterIndex", NULL
12429 };
12430
12431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
12432 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12433 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12434 arg2 = (int)SWIG_As_int(obj1);
12435 if (PyErr_Occurred()) SWIG_fail;
12436 {
12437 PyThreadState* __tstate = wxPyBeginAllowThreads();
12438 (arg1)->SetFilterIndex(arg2);
12439
12440 wxPyEndAllowThreads(__tstate);
12441 if (PyErr_Occurred()) SWIG_fail;
12442 }
12443 Py_INCREF(Py_None); resultobj = Py_None;
12444 return resultobj;
12445 fail:
12446 return NULL;
12447 }
12448
12449
12450 static PyObject *_wrap_FileDialog_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
12451 PyObject *resultobj;
12452 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12453 wxString result;
12454 PyObject * obj0 = 0 ;
12455 char *kwnames[] = {
12456 (char *) "self", NULL
12457 };
12458
12459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail;
12460 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12461 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12462 {
12463 PyThreadState* __tstate = wxPyBeginAllowThreads();
12464 result = ((wxFileDialog const *)arg1)->GetMessage();
12465
12466 wxPyEndAllowThreads(__tstate);
12467 if (PyErr_Occurred()) SWIG_fail;
12468 }
12469 {
12470 #if wxUSE_UNICODE
12471 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12472 #else
12473 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12474 #endif
12475 }
12476 return resultobj;
12477 fail:
12478 return NULL;
12479 }
12480
12481
12482 static PyObject *_wrap_FileDialog_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
12483 PyObject *resultobj;
12484 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12485 wxString result;
12486 PyObject * obj0 = 0 ;
12487 char *kwnames[] = {
12488 (char *) "self", NULL
12489 };
12490
12491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail;
12492 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12493 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12494 {
12495 PyThreadState* __tstate = wxPyBeginAllowThreads();
12496 result = ((wxFileDialog const *)arg1)->GetPath();
12497
12498 wxPyEndAllowThreads(__tstate);
12499 if (PyErr_Occurred()) SWIG_fail;
12500 }
12501 {
12502 #if wxUSE_UNICODE
12503 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12504 #else
12505 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12506 #endif
12507 }
12508 return resultobj;
12509 fail:
12510 return NULL;
12511 }
12512
12513
12514 static PyObject *_wrap_FileDialog_GetDirectory(PyObject *, PyObject *args, PyObject *kwargs) {
12515 PyObject *resultobj;
12516 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12517 wxString result;
12518 PyObject * obj0 = 0 ;
12519 char *kwnames[] = {
12520 (char *) "self", NULL
12521 };
12522
12523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail;
12524 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12525 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12526 {
12527 PyThreadState* __tstate = wxPyBeginAllowThreads();
12528 result = ((wxFileDialog const *)arg1)->GetDirectory();
12529
12530 wxPyEndAllowThreads(__tstate);
12531 if (PyErr_Occurred()) SWIG_fail;
12532 }
12533 {
12534 #if wxUSE_UNICODE
12535 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12536 #else
12537 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12538 #endif
12539 }
12540 return resultobj;
12541 fail:
12542 return NULL;
12543 }
12544
12545
12546 static PyObject *_wrap_FileDialog_GetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
12547 PyObject *resultobj;
12548 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12549 wxString result;
12550 PyObject * obj0 = 0 ;
12551 char *kwnames[] = {
12552 (char *) "self", NULL
12553 };
12554
12555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail;
12556 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12557 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12558 {
12559 PyThreadState* __tstate = wxPyBeginAllowThreads();
12560 result = ((wxFileDialog const *)arg1)->GetFilename();
12561
12562 wxPyEndAllowThreads(__tstate);
12563 if (PyErr_Occurred()) SWIG_fail;
12564 }
12565 {
12566 #if wxUSE_UNICODE
12567 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12568 #else
12569 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12570 #endif
12571 }
12572 return resultobj;
12573 fail:
12574 return NULL;
12575 }
12576
12577
12578 static PyObject *_wrap_FileDialog_GetWildcard(PyObject *, PyObject *args, PyObject *kwargs) {
12579 PyObject *resultobj;
12580 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12581 wxString result;
12582 PyObject * obj0 = 0 ;
12583 char *kwnames[] = {
12584 (char *) "self", NULL
12585 };
12586
12587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail;
12588 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12589 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12590 {
12591 PyThreadState* __tstate = wxPyBeginAllowThreads();
12592 result = ((wxFileDialog const *)arg1)->GetWildcard();
12593
12594 wxPyEndAllowThreads(__tstate);
12595 if (PyErr_Occurred()) SWIG_fail;
12596 }
12597 {
12598 #if wxUSE_UNICODE
12599 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12600 #else
12601 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12602 #endif
12603 }
12604 return resultobj;
12605 fail:
12606 return NULL;
12607 }
12608
12609
12610 static PyObject *_wrap_FileDialog_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
12611 PyObject *resultobj;
12612 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12613 long result;
12614 PyObject * obj0 = 0 ;
12615 char *kwnames[] = {
12616 (char *) "self", NULL
12617 };
12618
12619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail;
12620 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12621 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12622 {
12623 PyThreadState* __tstate = wxPyBeginAllowThreads();
12624 result = (long)((wxFileDialog const *)arg1)->GetStyle();
12625
12626 wxPyEndAllowThreads(__tstate);
12627 if (PyErr_Occurred()) SWIG_fail;
12628 }
12629 resultobj = SWIG_From_long((long)result);
12630 return resultobj;
12631 fail:
12632 return NULL;
12633 }
12634
12635
12636 static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
12637 PyObject *resultobj;
12638 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12639 int result;
12640 PyObject * obj0 = 0 ;
12641 char *kwnames[] = {
12642 (char *) "self", NULL
12643 };
12644
12645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail;
12646 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12647 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12648 {
12649 PyThreadState* __tstate = wxPyBeginAllowThreads();
12650 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
12651
12652 wxPyEndAllowThreads(__tstate);
12653 if (PyErr_Occurred()) SWIG_fail;
12654 }
12655 resultobj = SWIG_From_int((int)result);
12656 return resultobj;
12657 fail:
12658 return NULL;
12659 }
12660
12661
12662 static PyObject *_wrap_FileDialog_GetFilenames(PyObject *, PyObject *args, PyObject *kwargs) {
12663 PyObject *resultobj;
12664 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12665 PyObject *result;
12666 PyObject * obj0 = 0 ;
12667 char *kwnames[] = {
12668 (char *) "self", NULL
12669 };
12670
12671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail;
12672 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12673 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12674 {
12675 PyThreadState* __tstate = wxPyBeginAllowThreads();
12676 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
12677
12678 wxPyEndAllowThreads(__tstate);
12679 if (PyErr_Occurred()) SWIG_fail;
12680 }
12681 resultobj = result;
12682 return resultobj;
12683 fail:
12684 return NULL;
12685 }
12686
12687
12688 static PyObject *_wrap_FileDialog_GetPaths(PyObject *, PyObject *args, PyObject *kwargs) {
12689 PyObject *resultobj;
12690 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12691 PyObject *result;
12692 PyObject * obj0 = 0 ;
12693 char *kwnames[] = {
12694 (char *) "self", NULL
12695 };
12696
12697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail;
12698 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12699 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12700 {
12701 PyThreadState* __tstate = wxPyBeginAllowThreads();
12702 result = (PyObject *)wxFileDialog_GetPaths(arg1);
12703
12704 wxPyEndAllowThreads(__tstate);
12705 if (PyErr_Occurred()) SWIG_fail;
12706 }
12707 resultobj = result;
12708 return resultobj;
12709 fail:
12710 return NULL;
12711 }
12712
12713
12714 static PyObject * FileDialog_swigregister(PyObject *, PyObject *args) {
12715 PyObject *obj;
12716 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12717 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj);
12718 Py_INCREF(obj);
12719 return Py_BuildValue((char *)"");
12720 }
12721 static PyObject *_wrap_new_MultiChoiceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
12722 PyObject *resultobj;
12723 wxWindow *arg1 = (wxWindow *) 0 ;
12724 wxString *arg2 = 0 ;
12725 wxString *arg3 = 0 ;
12726 int arg4 = (int) 0 ;
12727 wxString *arg5 = (wxString *) NULL ;
12728 long arg6 = (long) wxCHOICEDLG_STYLE ;
12729 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12730 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12731 wxMultiChoiceDialog *result;
12732 bool temp2 = false ;
12733 bool temp3 = false ;
12734 wxPoint temp6 ;
12735 PyObject * obj0 = 0 ;
12736 PyObject * obj1 = 0 ;
12737 PyObject * obj2 = 0 ;
12738 PyObject * obj3 = 0 ;
12739 PyObject * obj4 = 0 ;
12740 PyObject * obj5 = 0 ;
12741 char *kwnames[] = {
12742 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12743 };
12744
12745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12746 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12747 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12748 {
12749 arg2 = wxString_in_helper(obj1);
12750 if (arg2 == NULL) SWIG_fail;
12751 temp2 = true;
12752 }
12753 {
12754 arg3 = wxString_in_helper(obj2);
12755 if (arg3 == NULL) SWIG_fail;
12756 temp3 = true;
12757 }
12758 if (obj3) {
12759 {
12760 arg4 = PyList_Size(obj3);
12761 arg5 = wxString_LIST_helper(obj3);
12762 if (arg5 == NULL) SWIG_fail;
12763 }
12764 }
12765 if (obj4) {
12766 arg6 = (long)SWIG_As_long(obj4);
12767 if (PyErr_Occurred()) SWIG_fail;
12768 }
12769 if (obj5) {
12770 {
12771 arg7 = &temp6;
12772 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
12773 }
12774 }
12775 {
12776 if (!wxPyCheckForApp()) SWIG_fail;
12777 PyThreadState* __tstate = wxPyBeginAllowThreads();
12778 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
12779
12780 wxPyEndAllowThreads(__tstate);
12781 if (PyErr_Occurred()) SWIG_fail;
12782 }
12783 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMultiChoiceDialog, 1);
12784 {
12785 if (temp2)
12786 delete arg2;
12787 }
12788 {
12789 if (temp3)
12790 delete arg3;
12791 }
12792 {
12793 if (arg5) delete [] arg5;
12794 }
12795 return resultobj;
12796 fail:
12797 {
12798 if (temp2)
12799 delete arg2;
12800 }
12801 {
12802 if (temp3)
12803 delete arg3;
12804 }
12805 {
12806 if (arg5) delete [] arg5;
12807 }
12808 return NULL;
12809 }
12810
12811
12812 static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
12813 PyObject *resultobj;
12814 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
12815 wxArrayInt *arg2 = 0 ;
12816 bool temp2 = false ;
12817 PyObject * obj0 = 0 ;
12818 PyObject * obj1 = 0 ;
12819 char *kwnames[] = {
12820 (char *) "self",(char *) "selections", NULL
12821 };
12822
12823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail;
12824 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog,
12825 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12826 {
12827 if (! PySequence_Check(obj1)) {
12828 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
12829 SWIG_fail;
12830 }
12831 arg2 = new wxArrayInt;
12832 temp2 = true;
12833 int i, len=PySequence_Length(obj1);
12834 for (i=0; i<len; i++) {
12835 PyObject* item = PySequence_GetItem(obj1, i);
12836 PyObject* number = PyNumber_Int(item);
12837 arg2->Add(PyInt_AS_LONG(number));
12838 Py_DECREF(item);
12839 Py_DECREF(number);
12840 }
12841 }
12842 {
12843 PyThreadState* __tstate = wxPyBeginAllowThreads();
12844 (arg1)->SetSelections((wxArrayInt const &)*arg2);
12845
12846 wxPyEndAllowThreads(__tstate);
12847 if (PyErr_Occurred()) SWIG_fail;
12848 }
12849 Py_INCREF(Py_None); resultobj = Py_None;
12850 {
12851 if (temp2) delete arg2;
12852 }
12853 return resultobj;
12854 fail:
12855 {
12856 if (temp2) delete arg2;
12857 }
12858 return NULL;
12859 }
12860
12861
12862 static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
12863 PyObject *resultobj;
12864 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
12865 PyObject *result;
12866 PyObject * obj0 = 0 ;
12867 char *kwnames[] = {
12868 (char *) "self", NULL
12869 };
12870
12871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail;
12872 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog,
12873 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12874 {
12875 PyThreadState* __tstate = wxPyBeginAllowThreads();
12876 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
12877
12878 wxPyEndAllowThreads(__tstate);
12879 if (PyErr_Occurred()) SWIG_fail;
12880 }
12881 resultobj = result;
12882 return resultobj;
12883 fail:
12884 return NULL;
12885 }
12886
12887
12888 static PyObject * MultiChoiceDialog_swigregister(PyObject *, PyObject *args) {
12889 PyObject *obj;
12890 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12891 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj);
12892 Py_INCREF(obj);
12893 return Py_BuildValue((char *)"");
12894 }
12895 static PyObject *_wrap_new_SingleChoiceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
12896 PyObject *resultobj;
12897 wxWindow *arg1 = (wxWindow *) 0 ;
12898 wxString *arg2 = 0 ;
12899 wxString *arg3 = 0 ;
12900 int arg4 ;
12901 wxString *arg5 = (wxString *) 0 ;
12902 long arg6 = (long) wxCHOICEDLG_STYLE ;
12903 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12904 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12905 wxSingleChoiceDialog *result;
12906 bool temp2 = false ;
12907 bool temp3 = false ;
12908 wxPoint temp6 ;
12909 PyObject * obj0 = 0 ;
12910 PyObject * obj1 = 0 ;
12911 PyObject * obj2 = 0 ;
12912 PyObject * obj3 = 0 ;
12913 PyObject * obj4 = 0 ;
12914 PyObject * obj5 = 0 ;
12915 char *kwnames[] = {
12916 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12917 };
12918
12919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12920 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12921 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12922 {
12923 arg2 = wxString_in_helper(obj1);
12924 if (arg2 == NULL) SWIG_fail;
12925 temp2 = true;
12926 }
12927 {
12928 arg3 = wxString_in_helper(obj2);
12929 if (arg3 == NULL) SWIG_fail;
12930 temp3 = true;
12931 }
12932 {
12933 arg4 = PyList_Size(obj3);
12934 arg5 = wxString_LIST_helper(obj3);
12935 if (arg5 == NULL) SWIG_fail;
12936 }
12937 if (obj4) {
12938 arg6 = (long)SWIG_As_long(obj4);
12939 if (PyErr_Occurred()) SWIG_fail;
12940 }
12941 if (obj5) {
12942 {
12943 arg7 = &temp6;
12944 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
12945 }
12946 }
12947 {
12948 if (!wxPyCheckForApp()) SWIG_fail;
12949 PyThreadState* __tstate = wxPyBeginAllowThreads();
12950 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
12951
12952 wxPyEndAllowThreads(__tstate);
12953 if (PyErr_Occurred()) SWIG_fail;
12954 }
12955 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleChoiceDialog, 1);
12956 {
12957 if (temp2)
12958 delete arg2;
12959 }
12960 {
12961 if (temp3)
12962 delete arg3;
12963 }
12964 {
12965 if (arg5) delete [] arg5;
12966 }
12967 return resultobj;
12968 fail:
12969 {
12970 if (temp2)
12971 delete arg2;
12972 }
12973 {
12974 if (temp3)
12975 delete arg3;
12976 }
12977 {
12978 if (arg5) delete [] arg5;
12979 }
12980 return NULL;
12981 }
12982
12983
12984 static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
12985 PyObject *resultobj;
12986 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12987 int result;
12988 PyObject * obj0 = 0 ;
12989 char *kwnames[] = {
12990 (char *) "self", NULL
12991 };
12992
12993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail;
12994 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
12995 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12996 {
12997 PyThreadState* __tstate = wxPyBeginAllowThreads();
12998 result = (int)(arg1)->GetSelection();
12999
13000 wxPyEndAllowThreads(__tstate);
13001 if (PyErr_Occurred()) SWIG_fail;
13002 }
13003 resultobj = SWIG_From_int((int)result);
13004 return resultobj;
13005 fail:
13006 return NULL;
13007 }
13008
13009
13010 static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13011 PyObject *resultobj;
13012 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
13013 wxString result;
13014 PyObject * obj0 = 0 ;
13015 char *kwnames[] = {
13016 (char *) "self", NULL
13017 };
13018
13019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail;
13020 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
13021 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13022 {
13023 PyThreadState* __tstate = wxPyBeginAllowThreads();
13024 result = (arg1)->GetStringSelection();
13025
13026 wxPyEndAllowThreads(__tstate);
13027 if (PyErr_Occurred()) SWIG_fail;
13028 }
13029 {
13030 #if wxUSE_UNICODE
13031 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13032 #else
13033 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13034 #endif
13035 }
13036 return resultobj;
13037 fail:
13038 return NULL;
13039 }
13040
13041
13042 static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13043 PyObject *resultobj;
13044 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
13045 int arg2 ;
13046 PyObject * obj0 = 0 ;
13047 PyObject * obj1 = 0 ;
13048 char *kwnames[] = {
13049 (char *) "self",(char *) "sel", NULL
13050 };
13051
13052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) goto fail;
13053 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
13054 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13055 arg2 = (int)SWIG_As_int(obj1);
13056 if (PyErr_Occurred()) SWIG_fail;
13057 {
13058 PyThreadState* __tstate = wxPyBeginAllowThreads();
13059 (arg1)->SetSelection(arg2);
13060
13061 wxPyEndAllowThreads(__tstate);
13062 if (PyErr_Occurred()) SWIG_fail;
13063 }
13064 Py_INCREF(Py_None); resultobj = Py_None;
13065 return resultobj;
13066 fail:
13067 return NULL;
13068 }
13069
13070
13071 static PyObject * SingleChoiceDialog_swigregister(PyObject *, PyObject *args) {
13072 PyObject *obj;
13073 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13074 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj);
13075 Py_INCREF(obj);
13076 return Py_BuildValue((char *)"");
13077 }
13078 static PyObject *_wrap_new_TextEntryDialog(PyObject *, PyObject *args, PyObject *kwargs) {
13079 PyObject *resultobj;
13080 wxWindow *arg1 = (wxWindow *) 0 ;
13081 wxString *arg2 = 0 ;
13082 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
13083 wxString *arg3 = (wxString *) &arg3_defvalue ;
13084 wxString const &arg4_defvalue = wxPyEmptyString ;
13085 wxString *arg4 = (wxString *) &arg4_defvalue ;
13086 long arg5 = (long) wxOK|wxCANCEL|wxCENTRE ;
13087 wxPoint const &arg6_defvalue = wxDefaultPosition ;
13088 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
13089 wxTextEntryDialog *result;
13090 bool temp2 = false ;
13091 bool temp3 = false ;
13092 bool temp4 = false ;
13093 wxPoint temp6 ;
13094 PyObject * obj0 = 0 ;
13095 PyObject * obj1 = 0 ;
13096 PyObject * obj2 = 0 ;
13097 PyObject * obj3 = 0 ;
13098 PyObject * obj4 = 0 ;
13099 PyObject * obj5 = 0 ;
13100 char *kwnames[] = {
13101 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
13102 };
13103
13104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
13105 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13106 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13107 {
13108 arg2 = wxString_in_helper(obj1);
13109 if (arg2 == NULL) SWIG_fail;
13110 temp2 = true;
13111 }
13112 if (obj2) {
13113 {
13114 arg3 = wxString_in_helper(obj2);
13115 if (arg3 == NULL) SWIG_fail;
13116 temp3 = true;
13117 }
13118 }
13119 if (obj3) {
13120 {
13121 arg4 = wxString_in_helper(obj3);
13122 if (arg4 == NULL) SWIG_fail;
13123 temp4 = true;
13124 }
13125 }
13126 if (obj4) {
13127 arg5 = (long)SWIG_As_long(obj4);
13128 if (PyErr_Occurred()) SWIG_fail;
13129 }
13130 if (obj5) {
13131 {
13132 arg6 = &temp6;
13133 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
13134 }
13135 }
13136 {
13137 if (!wxPyCheckForApp()) SWIG_fail;
13138 PyThreadState* __tstate = wxPyBeginAllowThreads();
13139 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
13140
13141 wxPyEndAllowThreads(__tstate);
13142 if (PyErr_Occurred()) SWIG_fail;
13143 }
13144 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextEntryDialog, 1);
13145 {
13146 if (temp2)
13147 delete arg2;
13148 }
13149 {
13150 if (temp3)
13151 delete arg3;
13152 }
13153 {
13154 if (temp4)
13155 delete arg4;
13156 }
13157 return resultobj;
13158 fail:
13159 {
13160 if (temp2)
13161 delete arg2;
13162 }
13163 {
13164 if (temp3)
13165 delete arg3;
13166 }
13167 {
13168 if (temp4)
13169 delete arg4;
13170 }
13171 return NULL;
13172 }
13173
13174
13175 static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
13176 PyObject *resultobj;
13177 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
13178 wxString result;
13179 PyObject * obj0 = 0 ;
13180 char *kwnames[] = {
13181 (char *) "self", NULL
13182 };
13183
13184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail;
13185 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog,
13186 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13187 {
13188 PyThreadState* __tstate = wxPyBeginAllowThreads();
13189 result = (arg1)->GetValue();
13190
13191 wxPyEndAllowThreads(__tstate);
13192 if (PyErr_Occurred()) SWIG_fail;
13193 }
13194 {
13195 #if wxUSE_UNICODE
13196 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13197 #else
13198 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13199 #endif
13200 }
13201 return resultobj;
13202 fail:
13203 return NULL;
13204 }
13205
13206
13207 static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
13208 PyObject *resultobj;
13209 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
13210 wxString *arg2 = 0 ;
13211 bool temp2 = false ;
13212 PyObject * obj0 = 0 ;
13213 PyObject * obj1 = 0 ;
13214 char *kwnames[] = {
13215 (char *) "self",(char *) "value", NULL
13216 };
13217
13218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail;
13219 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog,
13220 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13221 {
13222 arg2 = wxString_in_helper(obj1);
13223 if (arg2 == NULL) SWIG_fail;
13224 temp2 = true;
13225 }
13226 {
13227 PyThreadState* __tstate = wxPyBeginAllowThreads();
13228 (arg1)->SetValue((wxString const &)*arg2);
13229
13230 wxPyEndAllowThreads(__tstate);
13231 if (PyErr_Occurred()) SWIG_fail;
13232 }
13233 Py_INCREF(Py_None); resultobj = Py_None;
13234 {
13235 if (temp2)
13236 delete arg2;
13237 }
13238 return resultobj;
13239 fail:
13240 {
13241 if (temp2)
13242 delete arg2;
13243 }
13244 return NULL;
13245 }
13246
13247
13248 static PyObject * TextEntryDialog_swigregister(PyObject *, PyObject *args) {
13249 PyObject *obj;
13250 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13251 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj);
13252 Py_INCREF(obj);
13253 return Py_BuildValue((char *)"");
13254 }
13255 static PyObject *_wrap_new_FontData(PyObject *, PyObject *args, PyObject *kwargs) {
13256 PyObject *resultobj;
13257 wxFontData *result;
13258 char *kwnames[] = {
13259 NULL
13260 };
13261
13262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail;
13263 {
13264 PyThreadState* __tstate = wxPyBeginAllowThreads();
13265 result = (wxFontData *)new wxFontData();
13266
13267 wxPyEndAllowThreads(__tstate);
13268 if (PyErr_Occurred()) SWIG_fail;
13269 }
13270 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 1);
13271 return resultobj;
13272 fail:
13273 return NULL;
13274 }
13275
13276
13277 static PyObject *_wrap_delete_FontData(PyObject *, PyObject *args, PyObject *kwargs) {
13278 PyObject *resultobj;
13279 wxFontData *arg1 = (wxFontData *) 0 ;
13280 PyObject * obj0 = 0 ;
13281 char *kwnames[] = {
13282 (char *) "self", NULL
13283 };
13284
13285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail;
13286 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13287 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13288 {
13289 PyThreadState* __tstate = wxPyBeginAllowThreads();
13290 delete arg1;
13291
13292 wxPyEndAllowThreads(__tstate);
13293 if (PyErr_Occurred()) SWIG_fail;
13294 }
13295 Py_INCREF(Py_None); resultobj = Py_None;
13296 return resultobj;
13297 fail:
13298 return NULL;
13299 }
13300
13301
13302 static PyObject *_wrap_FontData_EnableEffects(PyObject *, PyObject *args, PyObject *kwargs) {
13303 PyObject *resultobj;
13304 wxFontData *arg1 = (wxFontData *) 0 ;
13305 bool arg2 ;
13306 PyObject * obj0 = 0 ;
13307 PyObject * obj1 = 0 ;
13308 char *kwnames[] = {
13309 (char *) "self",(char *) "enable", NULL
13310 };
13311
13312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail;
13313 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13314 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13315 arg2 = (bool)SWIG_As_bool(obj1);
13316 if (PyErr_Occurred()) SWIG_fail;
13317 {
13318 PyThreadState* __tstate = wxPyBeginAllowThreads();
13319 (arg1)->EnableEffects(arg2);
13320
13321 wxPyEndAllowThreads(__tstate);
13322 if (PyErr_Occurred()) SWIG_fail;
13323 }
13324 Py_INCREF(Py_None); resultobj = Py_None;
13325 return resultobj;
13326 fail:
13327 return NULL;
13328 }
13329
13330
13331 static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *, PyObject *args, PyObject *kwargs) {
13332 PyObject *resultobj;
13333 wxFontData *arg1 = (wxFontData *) 0 ;
13334 bool result;
13335 PyObject * obj0 = 0 ;
13336 char *kwnames[] = {
13337 (char *) "self", NULL
13338 };
13339
13340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail;
13341 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13342 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13343 {
13344 PyThreadState* __tstate = wxPyBeginAllowThreads();
13345 result = (bool)(arg1)->GetAllowSymbols();
13346
13347 wxPyEndAllowThreads(__tstate);
13348 if (PyErr_Occurred()) SWIG_fail;
13349 }
13350 {
13351 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13352 }
13353 return resultobj;
13354 fail:
13355 return NULL;
13356 }
13357
13358
13359 static PyObject *_wrap_FontData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
13360 PyObject *resultobj;
13361 wxFontData *arg1 = (wxFontData *) 0 ;
13362 wxColour result;
13363 PyObject * obj0 = 0 ;
13364 char *kwnames[] = {
13365 (char *) "self", NULL
13366 };
13367
13368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail;
13369 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13370 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13371 {
13372 PyThreadState* __tstate = wxPyBeginAllowThreads();
13373 result = (arg1)->GetColour();
13374
13375 wxPyEndAllowThreads(__tstate);
13376 if (PyErr_Occurred()) SWIG_fail;
13377 }
13378 {
13379 wxColour * resultptr;
13380 resultptr = new wxColour((wxColour &) result);
13381 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
13382 }
13383 return resultobj;
13384 fail:
13385 return NULL;
13386 }
13387
13388
13389 static PyObject *_wrap_FontData_GetChosenFont(PyObject *, PyObject *args, PyObject *kwargs) {
13390 PyObject *resultobj;
13391 wxFontData *arg1 = (wxFontData *) 0 ;
13392 wxFont result;
13393 PyObject * obj0 = 0 ;
13394 char *kwnames[] = {
13395 (char *) "self", NULL
13396 };
13397
13398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail;
13399 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13400 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13401 {
13402 PyThreadState* __tstate = wxPyBeginAllowThreads();
13403 result = (arg1)->GetChosenFont();
13404
13405 wxPyEndAllowThreads(__tstate);
13406 if (PyErr_Occurred()) SWIG_fail;
13407 }
13408 {
13409 wxFont * resultptr;
13410 resultptr = new wxFont((wxFont &) result);
13411 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
13412 }
13413 return resultobj;
13414 fail:
13415 return NULL;
13416 }
13417
13418
13419 static PyObject *_wrap_FontData_GetEnableEffects(PyObject *, PyObject *args, PyObject *kwargs) {
13420 PyObject *resultobj;
13421 wxFontData *arg1 = (wxFontData *) 0 ;
13422 bool result;
13423 PyObject * obj0 = 0 ;
13424 char *kwnames[] = {
13425 (char *) "self", NULL
13426 };
13427
13428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail;
13429 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13430 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13431 {
13432 PyThreadState* __tstate = wxPyBeginAllowThreads();
13433 result = (bool)(arg1)->GetEnableEffects();
13434
13435 wxPyEndAllowThreads(__tstate);
13436 if (PyErr_Occurred()) SWIG_fail;
13437 }
13438 {
13439 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13440 }
13441 return resultobj;
13442 fail:
13443 return NULL;
13444 }
13445
13446
13447 static PyObject *_wrap_FontData_GetInitialFont(PyObject *, PyObject *args, PyObject *kwargs) {
13448 PyObject *resultobj;
13449 wxFontData *arg1 = (wxFontData *) 0 ;
13450 wxFont result;
13451 PyObject * obj0 = 0 ;
13452 char *kwnames[] = {
13453 (char *) "self", NULL
13454 };
13455
13456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail;
13457 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13458 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13459 {
13460 PyThreadState* __tstate = wxPyBeginAllowThreads();
13461 result = (arg1)->GetInitialFont();
13462
13463 wxPyEndAllowThreads(__tstate);
13464 if (PyErr_Occurred()) SWIG_fail;
13465 }
13466 {
13467 wxFont * resultptr;
13468 resultptr = new wxFont((wxFont &) result);
13469 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
13470 }
13471 return resultobj;
13472 fail:
13473 return NULL;
13474 }
13475
13476
13477 static PyObject *_wrap_FontData_GetShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
13478 PyObject *resultobj;
13479 wxFontData *arg1 = (wxFontData *) 0 ;
13480 bool result;
13481 PyObject * obj0 = 0 ;
13482 char *kwnames[] = {
13483 (char *) "self", NULL
13484 };
13485
13486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail;
13487 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13488 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13489 {
13490 PyThreadState* __tstate = wxPyBeginAllowThreads();
13491 result = (bool)(arg1)->GetShowHelp();
13492
13493 wxPyEndAllowThreads(__tstate);
13494 if (PyErr_Occurred()) SWIG_fail;
13495 }
13496 {
13497 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13498 }
13499 return resultobj;
13500 fail:
13501 return NULL;
13502 }
13503
13504
13505 static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *, PyObject *args, PyObject *kwargs) {
13506 PyObject *resultobj;
13507 wxFontData *arg1 = (wxFontData *) 0 ;
13508 bool arg2 ;
13509 PyObject * obj0 = 0 ;
13510 PyObject * obj1 = 0 ;
13511 char *kwnames[] = {
13512 (char *) "self",(char *) "allowSymbols", NULL
13513 };
13514
13515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail;
13516 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13517 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13518 arg2 = (bool)SWIG_As_bool(obj1);
13519 if (PyErr_Occurred()) SWIG_fail;
13520 {
13521 PyThreadState* __tstate = wxPyBeginAllowThreads();
13522 (arg1)->SetAllowSymbols(arg2);
13523
13524 wxPyEndAllowThreads(__tstate);
13525 if (PyErr_Occurred()) SWIG_fail;
13526 }
13527 Py_INCREF(Py_None); resultobj = Py_None;
13528 return resultobj;
13529 fail:
13530 return NULL;
13531 }
13532
13533
13534 static PyObject *_wrap_FontData_SetChosenFont(PyObject *, PyObject *args, PyObject *kwargs) {
13535 PyObject *resultobj;
13536 wxFontData *arg1 = (wxFontData *) 0 ;
13537 wxFont *arg2 = 0 ;
13538 PyObject * obj0 = 0 ;
13539 PyObject * obj1 = 0 ;
13540 char *kwnames[] = {
13541 (char *) "self",(char *) "font", NULL
13542 };
13543
13544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail;
13545 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13546 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13547 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
13548 SWIG_POINTER_EXCEPTION | 0)) == -1)
13549 SWIG_fail;
13550 if (arg2 == NULL) {
13551 PyErr_SetString(PyExc_TypeError,"null reference");
13552 SWIG_fail;
13553 }
13554 {
13555 PyThreadState* __tstate = wxPyBeginAllowThreads();
13556 (arg1)->SetChosenFont((wxFont const &)*arg2);
13557
13558 wxPyEndAllowThreads(__tstate);
13559 if (PyErr_Occurred()) SWIG_fail;
13560 }
13561 Py_INCREF(Py_None); resultobj = Py_None;
13562 return resultobj;
13563 fail:
13564 return NULL;
13565 }
13566
13567
13568 static PyObject *_wrap_FontData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
13569 PyObject *resultobj;
13570 wxFontData *arg1 = (wxFontData *) 0 ;
13571 wxColour *arg2 = 0 ;
13572 wxColour temp2 ;
13573 PyObject * obj0 = 0 ;
13574 PyObject * obj1 = 0 ;
13575 char *kwnames[] = {
13576 (char *) "self",(char *) "colour", NULL
13577 };
13578
13579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail;
13580 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13581 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13582 {
13583 arg2 = &temp2;
13584 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
13585 }
13586 {
13587 PyThreadState* __tstate = wxPyBeginAllowThreads();
13588 (arg1)->SetColour((wxColour const &)*arg2);
13589
13590 wxPyEndAllowThreads(__tstate);
13591 if (PyErr_Occurred()) SWIG_fail;
13592 }
13593 Py_INCREF(Py_None); resultobj = Py_None;
13594 return resultobj;
13595 fail:
13596 return NULL;
13597 }
13598
13599
13600 static PyObject *_wrap_FontData_SetInitialFont(PyObject *, PyObject *args, PyObject *kwargs) {
13601 PyObject *resultobj;
13602 wxFontData *arg1 = (wxFontData *) 0 ;
13603 wxFont *arg2 = 0 ;
13604 PyObject * obj0 = 0 ;
13605 PyObject * obj1 = 0 ;
13606 char *kwnames[] = {
13607 (char *) "self",(char *) "font", NULL
13608 };
13609
13610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail;
13611 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13612 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13613 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
13614 SWIG_POINTER_EXCEPTION | 0)) == -1)
13615 SWIG_fail;
13616 if (arg2 == NULL) {
13617 PyErr_SetString(PyExc_TypeError,"null reference");
13618 SWIG_fail;
13619 }
13620 {
13621 PyThreadState* __tstate = wxPyBeginAllowThreads();
13622 (arg1)->SetInitialFont((wxFont const &)*arg2);
13623
13624 wxPyEndAllowThreads(__tstate);
13625 if (PyErr_Occurred()) SWIG_fail;
13626 }
13627 Py_INCREF(Py_None); resultobj = Py_None;
13628 return resultobj;
13629 fail:
13630 return NULL;
13631 }
13632
13633
13634 static PyObject *_wrap_FontData_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
13635 PyObject *resultobj;
13636 wxFontData *arg1 = (wxFontData *) 0 ;
13637 int arg2 ;
13638 int arg3 ;
13639 PyObject * obj0 = 0 ;
13640 PyObject * obj1 = 0 ;
13641 PyObject * obj2 = 0 ;
13642 char *kwnames[] = {
13643 (char *) "self",(char *) "min",(char *) "max", NULL
13644 };
13645
13646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
13647 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13648 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13649 arg2 = (int)SWIG_As_int(obj1);
13650 if (PyErr_Occurred()) SWIG_fail;
13651 arg3 = (int)SWIG_As_int(obj2);
13652 if (PyErr_Occurred()) SWIG_fail;
13653 {
13654 PyThreadState* __tstate = wxPyBeginAllowThreads();
13655 (arg1)->SetRange(arg2,arg3);
13656
13657 wxPyEndAllowThreads(__tstate);
13658 if (PyErr_Occurred()) SWIG_fail;
13659 }
13660 Py_INCREF(Py_None); resultobj = Py_None;
13661 return resultobj;
13662 fail:
13663 return NULL;
13664 }
13665
13666
13667 static PyObject *_wrap_FontData_SetShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
13668 PyObject *resultobj;
13669 wxFontData *arg1 = (wxFontData *) 0 ;
13670 bool arg2 ;
13671 PyObject * obj0 = 0 ;
13672 PyObject * obj1 = 0 ;
13673 char *kwnames[] = {
13674 (char *) "self",(char *) "showHelp", NULL
13675 };
13676
13677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail;
13678 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13679 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13680 arg2 = (bool)SWIG_As_bool(obj1);
13681 if (PyErr_Occurred()) SWIG_fail;
13682 {
13683 PyThreadState* __tstate = wxPyBeginAllowThreads();
13684 (arg1)->SetShowHelp(arg2);
13685
13686 wxPyEndAllowThreads(__tstate);
13687 if (PyErr_Occurred()) SWIG_fail;
13688 }
13689 Py_INCREF(Py_None); resultobj = Py_None;
13690 return resultobj;
13691 fail:
13692 return NULL;
13693 }
13694
13695
13696 static PyObject * FontData_swigregister(PyObject *, PyObject *args) {
13697 PyObject *obj;
13698 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13699 SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj);
13700 Py_INCREF(obj);
13701 return Py_BuildValue((char *)"");
13702 }
13703 static PyObject *_wrap_new_FontDialog(PyObject *, PyObject *args, PyObject *kwargs) {
13704 PyObject *resultobj;
13705 wxWindow *arg1 = (wxWindow *) 0 ;
13706 wxFontData *arg2 = 0 ;
13707 wxFontDialog *result;
13708 PyObject * obj0 = 0 ;
13709 PyObject * obj1 = 0 ;
13710 char *kwnames[] = {
13711 (char *) "parent",(char *) "data", NULL
13712 };
13713
13714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail;
13715 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13716 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13717 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFontData,
13718 SWIG_POINTER_EXCEPTION | 0)) == -1)
13719 SWIG_fail;
13720 if (arg2 == NULL) {
13721 PyErr_SetString(PyExc_TypeError,"null reference");
13722 SWIG_fail;
13723 }
13724 {
13725 if (!wxPyCheckForApp()) SWIG_fail;
13726 PyThreadState* __tstate = wxPyBeginAllowThreads();
13727 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
13728
13729 wxPyEndAllowThreads(__tstate);
13730 if (PyErr_Occurred()) SWIG_fail;
13731 }
13732 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontDialog, 1);
13733 return resultobj;
13734 fail:
13735 return NULL;
13736 }
13737
13738
13739 static PyObject *_wrap_FontDialog_GetFontData(PyObject *, PyObject *args, PyObject *kwargs) {
13740 PyObject *resultobj;
13741 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
13742 wxFontData *result;
13743 PyObject * obj0 = 0 ;
13744 char *kwnames[] = {
13745 (char *) "self", NULL
13746 };
13747
13748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail;
13749 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontDialog,
13750 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13751 {
13752 PyThreadState* __tstate = wxPyBeginAllowThreads();
13753 {
13754 wxFontData &_result_ref = (arg1)->GetFontData();
13755 result = (wxFontData *) &_result_ref;
13756 }
13757
13758 wxPyEndAllowThreads(__tstate);
13759 if (PyErr_Occurred()) SWIG_fail;
13760 }
13761 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 0);
13762 return resultobj;
13763 fail:
13764 return NULL;
13765 }
13766
13767
13768 static PyObject * FontDialog_swigregister(PyObject *, PyObject *args) {
13769 PyObject *obj;
13770 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13771 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj);
13772 Py_INCREF(obj);
13773 return Py_BuildValue((char *)"");
13774 }
13775 static PyObject *_wrap_new_MessageDialog(PyObject *, PyObject *args, PyObject *kwargs) {
13776 PyObject *resultobj;
13777 wxWindow *arg1 = (wxWindow *) 0 ;
13778 wxString *arg2 = 0 ;
13779 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
13780 wxString *arg3 = (wxString *) &arg3_defvalue ;
13781 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
13782 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13783 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13784 wxMessageDialog *result;
13785 bool temp2 = false ;
13786 bool temp3 = false ;
13787 wxPoint temp5 ;
13788 PyObject * obj0 = 0 ;
13789 PyObject * obj1 = 0 ;
13790 PyObject * obj2 = 0 ;
13791 PyObject * obj3 = 0 ;
13792 PyObject * obj4 = 0 ;
13793 char *kwnames[] = {
13794 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
13795 };
13796
13797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13798 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13799 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13800 {
13801 arg2 = wxString_in_helper(obj1);
13802 if (arg2 == NULL) SWIG_fail;
13803 temp2 = true;
13804 }
13805 if (obj2) {
13806 {
13807 arg3 = wxString_in_helper(obj2);
13808 if (arg3 == NULL) SWIG_fail;
13809 temp3 = true;
13810 }
13811 }
13812 if (obj3) {
13813 arg4 = (long)SWIG_As_long(obj3);
13814 if (PyErr_Occurred()) SWIG_fail;
13815 }
13816 if (obj4) {
13817 {
13818 arg5 = &temp5;
13819 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13820 }
13821 }
13822 {
13823 if (!wxPyCheckForApp()) SWIG_fail;
13824 PyThreadState* __tstate = wxPyBeginAllowThreads();
13825 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
13826
13827 wxPyEndAllowThreads(__tstate);
13828 if (PyErr_Occurred()) SWIG_fail;
13829 }
13830 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMessageDialog, 1);
13831 {
13832 if (temp2)
13833 delete arg2;
13834 }
13835 {
13836 if (temp3)
13837 delete arg3;
13838 }
13839 return resultobj;
13840 fail:
13841 {
13842 if (temp2)
13843 delete arg2;
13844 }
13845 {
13846 if (temp3)
13847 delete arg3;
13848 }
13849 return NULL;
13850 }
13851
13852
13853 static PyObject * MessageDialog_swigregister(PyObject *, PyObject *args) {
13854 PyObject *obj;
13855 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13856 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj);
13857 Py_INCREF(obj);
13858 return Py_BuildValue((char *)"");
13859 }
13860 static PyObject *_wrap_new_ProgressDialog(PyObject *, PyObject *args, PyObject *kwargs) {
13861 PyObject *resultobj;
13862 wxString *arg1 = 0 ;
13863 wxString *arg2 = 0 ;
13864 int arg3 = (int) 100 ;
13865 wxWindow *arg4 = (wxWindow *) NULL ;
13866 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
13867 wxProgressDialog *result;
13868 bool temp1 = false ;
13869 bool temp2 = false ;
13870 PyObject * obj0 = 0 ;
13871 PyObject * obj1 = 0 ;
13872 PyObject * obj2 = 0 ;
13873 PyObject * obj3 = 0 ;
13874 PyObject * obj4 = 0 ;
13875 char *kwnames[] = {
13876 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
13877 };
13878
13879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13880 {
13881 arg1 = wxString_in_helper(obj0);
13882 if (arg1 == NULL) SWIG_fail;
13883 temp1 = true;
13884 }
13885 {
13886 arg2 = wxString_in_helper(obj1);
13887 if (arg2 == NULL) SWIG_fail;
13888 temp2 = true;
13889 }
13890 if (obj2) {
13891 arg3 = (int)SWIG_As_int(obj2);
13892 if (PyErr_Occurred()) SWIG_fail;
13893 }
13894 if (obj3) {
13895 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
13896 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13897 }
13898 if (obj4) {
13899 arg5 = (int)SWIG_As_int(obj4);
13900 if (PyErr_Occurred()) SWIG_fail;
13901 }
13902 {
13903 if (!wxPyCheckForApp()) SWIG_fail;
13904 PyThreadState* __tstate = wxPyBeginAllowThreads();
13905 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
13906
13907 wxPyEndAllowThreads(__tstate);
13908 if (PyErr_Occurred()) SWIG_fail;
13909 }
13910 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxProgressDialog, 1);
13911 {
13912 if (temp1)
13913 delete arg1;
13914 }
13915 {
13916 if (temp2)
13917 delete arg2;
13918 }
13919 return resultobj;
13920 fail:
13921 {
13922 if (temp1)
13923 delete arg1;
13924 }
13925 {
13926 if (temp2)
13927 delete arg2;
13928 }
13929 return NULL;
13930 }
13931
13932
13933 static PyObject *_wrap_ProgressDialog_Update(PyObject *, PyObject *args, PyObject *kwargs) {
13934 PyObject *resultobj;
13935 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
13936 int arg2 ;
13937 wxString const &arg3_defvalue = wxPyEmptyString ;
13938 wxString *arg3 = (wxString *) &arg3_defvalue ;
13939 bool result;
13940 bool temp3 = false ;
13941 PyObject * obj0 = 0 ;
13942 PyObject * obj1 = 0 ;
13943 PyObject * obj2 = 0 ;
13944 char *kwnames[] = {
13945 (char *) "self",(char *) "value",(char *) "newmsg", NULL
13946 };
13947
13948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) goto fail;
13949 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog,
13950 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13951 arg2 = (int)SWIG_As_int(obj1);
13952 if (PyErr_Occurred()) SWIG_fail;
13953 if (obj2) {
13954 {
13955 arg3 = wxString_in_helper(obj2);
13956 if (arg3 == NULL) SWIG_fail;
13957 temp3 = true;
13958 }
13959 }
13960 {
13961 PyThreadState* __tstate = wxPyBeginAllowThreads();
13962 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3);
13963
13964 wxPyEndAllowThreads(__tstate);
13965 if (PyErr_Occurred()) SWIG_fail;
13966 }
13967 {
13968 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13969 }
13970 {
13971 if (temp3)
13972 delete arg3;
13973 }
13974 return resultobj;
13975 fail:
13976 {
13977 if (temp3)
13978 delete arg3;
13979 }
13980 return NULL;
13981 }
13982
13983
13984 static PyObject *_wrap_ProgressDialog_Resume(PyObject *, PyObject *args, PyObject *kwargs) {
13985 PyObject *resultobj;
13986 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
13987 PyObject * obj0 = 0 ;
13988 char *kwnames[] = {
13989 (char *) "self", NULL
13990 };
13991
13992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail;
13993 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog,
13994 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13995 {
13996 PyThreadState* __tstate = wxPyBeginAllowThreads();
13997 (arg1)->Resume();
13998
13999 wxPyEndAllowThreads(__tstate);
14000 if (PyErr_Occurred()) SWIG_fail;
14001 }
14002 Py_INCREF(Py_None); resultobj = Py_None;
14003 return resultobj;
14004 fail:
14005 return NULL;
14006 }
14007
14008
14009 static PyObject * ProgressDialog_swigregister(PyObject *, PyObject *args) {
14010 PyObject *obj;
14011 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14012 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj);
14013 Py_INCREF(obj);
14014 return Py_BuildValue((char *)"");
14015 }
14016 static PyObject *_wrap_new_FindDialogEvent(PyObject *, PyObject *args, PyObject *kwargs) {
14017 PyObject *resultobj;
14018 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
14019 int arg2 = (int) 0 ;
14020 wxFindDialogEvent *result;
14021 PyObject * obj0 = 0 ;
14022 PyObject * obj1 = 0 ;
14023 char *kwnames[] = {
14024 (char *) "commandType",(char *) "id", NULL
14025 };
14026
14027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) goto fail;
14028 if (obj0) {
14029 arg1 = (wxEventType)SWIG_As_int(obj0);
14030 if (PyErr_Occurred()) SWIG_fail;
14031 }
14032 if (obj1) {
14033 arg2 = (int)SWIG_As_int(obj1);
14034 if (PyErr_Occurred()) SWIG_fail;
14035 }
14036 {
14037 PyThreadState* __tstate = wxPyBeginAllowThreads();
14038 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
14039
14040 wxPyEndAllowThreads(__tstate);
14041 if (PyErr_Occurred()) SWIG_fail;
14042 }
14043 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindDialogEvent, 1);
14044 return resultobj;
14045 fail:
14046 return NULL;
14047 }
14048
14049
14050 static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
14051 PyObject *resultobj;
14052 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
14053 int result;
14054 PyObject * obj0 = 0 ;
14055 char *kwnames[] = {
14056 (char *) "self", NULL
14057 };
14058
14059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail;
14060 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14061 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14062 {
14063 PyThreadState* __tstate = wxPyBeginAllowThreads();
14064 result = (int)(arg1)->GetFlags();
14065
14066 wxPyEndAllowThreads(__tstate);
14067 if (PyErr_Occurred()) SWIG_fail;
14068 }
14069 resultobj = SWIG_From_int((int)result);
14070 return resultobj;
14071 fail:
14072 return NULL;
14073 }
14074
14075
14076 static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
14077 PyObject *resultobj;
14078 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
14079 wxString *result;
14080 PyObject * obj0 = 0 ;
14081 char *kwnames[] = {
14082 (char *) "self", NULL
14083 };
14084
14085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail;
14086 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14087 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14088 {
14089 PyThreadState* __tstate = wxPyBeginAllowThreads();
14090 {
14091 wxString const &_result_ref = (arg1)->GetFindString();
14092 result = (wxString *) &_result_ref;
14093 }
14094
14095 wxPyEndAllowThreads(__tstate);
14096 if (PyErr_Occurred()) SWIG_fail;
14097 }
14098 {
14099 #if wxUSE_UNICODE
14100 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14101 #else
14102 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14103 #endif
14104 }
14105 return resultobj;
14106 fail:
14107 return NULL;
14108 }
14109
14110
14111 static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
14112 PyObject *resultobj;
14113 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
14114 wxString *result;
14115 PyObject * obj0 = 0 ;
14116 char *kwnames[] = {
14117 (char *) "self", NULL
14118 };
14119
14120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail;
14121 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14122 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14123 {
14124 PyThreadState* __tstate = wxPyBeginAllowThreads();
14125 {
14126 wxString const &_result_ref = (arg1)->GetReplaceString();
14127 result = (wxString *) &_result_ref;
14128 }
14129
14130 wxPyEndAllowThreads(__tstate);
14131 if (PyErr_Occurred()) SWIG_fail;
14132 }
14133 {
14134 #if wxUSE_UNICODE
14135 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14136 #else
14137 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14138 #endif
14139 }
14140 return resultobj;
14141 fail:
14142 return NULL;
14143 }
14144
14145
14146 static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *, PyObject *args, PyObject *kwargs) {
14147 PyObject *resultobj;
14148 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
14149 wxFindReplaceDialog *result;
14150 PyObject * obj0 = 0 ;
14151 char *kwnames[] = {
14152 (char *) "self", NULL
14153 };
14154
14155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail;
14156 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14157 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14158 {
14159 PyThreadState* __tstate = wxPyBeginAllowThreads();
14160 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
14161
14162 wxPyEndAllowThreads(__tstate);
14163 if (PyErr_Occurred()) SWIG_fail;
14164 }
14165 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 0);
14166 return resultobj;
14167 fail:
14168 return NULL;
14169 }
14170
14171
14172 static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
14173 PyObject *resultobj;
14174 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
14175 int arg2 ;
14176 PyObject * obj0 = 0 ;
14177 PyObject * obj1 = 0 ;
14178 char *kwnames[] = {
14179 (char *) "self",(char *) "flags", NULL
14180 };
14181
14182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
14183 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14184 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14185 arg2 = (int)SWIG_As_int(obj1);
14186 if (PyErr_Occurred()) SWIG_fail;
14187 {
14188 PyThreadState* __tstate = wxPyBeginAllowThreads();
14189 (arg1)->SetFlags(arg2);
14190
14191 wxPyEndAllowThreads(__tstate);
14192 if (PyErr_Occurred()) SWIG_fail;
14193 }
14194 Py_INCREF(Py_None); resultobj = Py_None;
14195 return resultobj;
14196 fail:
14197 return NULL;
14198 }
14199
14200
14201 static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
14202 PyObject *resultobj;
14203 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
14204 wxString *arg2 = 0 ;
14205 bool temp2 = false ;
14206 PyObject * obj0 = 0 ;
14207 PyObject * obj1 = 0 ;
14208 char *kwnames[] = {
14209 (char *) "self",(char *) "str", NULL
14210 };
14211
14212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail;
14213 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14214 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14215 {
14216 arg2 = wxString_in_helper(obj1);
14217 if (arg2 == NULL) SWIG_fail;
14218 temp2 = true;
14219 }
14220 {
14221 PyThreadState* __tstate = wxPyBeginAllowThreads();
14222 (arg1)->SetFindString((wxString const &)*arg2);
14223
14224 wxPyEndAllowThreads(__tstate);
14225 if (PyErr_Occurred()) SWIG_fail;
14226 }
14227 Py_INCREF(Py_None); resultobj = Py_None;
14228 {
14229 if (temp2)
14230 delete arg2;
14231 }
14232 return resultobj;
14233 fail:
14234 {
14235 if (temp2)
14236 delete arg2;
14237 }
14238 return NULL;
14239 }
14240
14241
14242 static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
14243 PyObject *resultobj;
14244 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
14245 wxString *arg2 = 0 ;
14246 bool temp2 = false ;
14247 PyObject * obj0 = 0 ;
14248 PyObject * obj1 = 0 ;
14249 char *kwnames[] = {
14250 (char *) "self",(char *) "str", NULL
14251 };
14252
14253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
14254 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14255 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14256 {
14257 arg2 = wxString_in_helper(obj1);
14258 if (arg2 == NULL) SWIG_fail;
14259 temp2 = true;
14260 }
14261 {
14262 PyThreadState* __tstate = wxPyBeginAllowThreads();
14263 (arg1)->SetReplaceString((wxString const &)*arg2);
14264
14265 wxPyEndAllowThreads(__tstate);
14266 if (PyErr_Occurred()) SWIG_fail;
14267 }
14268 Py_INCREF(Py_None); resultobj = Py_None;
14269 {
14270 if (temp2)
14271 delete arg2;
14272 }
14273 return resultobj;
14274 fail:
14275 {
14276 if (temp2)
14277 delete arg2;
14278 }
14279 return NULL;
14280 }
14281
14282
14283 static PyObject * FindDialogEvent_swigregister(PyObject *, PyObject *args) {
14284 PyObject *obj;
14285 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14286 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj);
14287 Py_INCREF(obj);
14288 return Py_BuildValue((char *)"");
14289 }
14290 static PyObject *_wrap_new_FindReplaceData(PyObject *, PyObject *args, PyObject *kwargs) {
14291 PyObject *resultobj;
14292 int arg1 = (int) 0 ;
14293 wxFindReplaceData *result;
14294 PyObject * obj0 = 0 ;
14295 char *kwnames[] = {
14296 (char *) "flags", NULL
14297 };
14298
14299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) goto fail;
14300 if (obj0) {
14301 arg1 = (int)SWIG_As_int(obj0);
14302 if (PyErr_Occurred()) SWIG_fail;
14303 }
14304 {
14305 PyThreadState* __tstate = wxPyBeginAllowThreads();
14306 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
14307
14308 wxPyEndAllowThreads(__tstate);
14309 if (PyErr_Occurred()) SWIG_fail;
14310 }
14311 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 1);
14312 return resultobj;
14313 fail:
14314 return NULL;
14315 }
14316
14317
14318 static PyObject *_wrap_delete_FindReplaceData(PyObject *, PyObject *args, PyObject *kwargs) {
14319 PyObject *resultobj;
14320 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14321 PyObject * obj0 = 0 ;
14322 char *kwnames[] = {
14323 (char *) "self", NULL
14324 };
14325
14326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail;
14327 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14328 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14329 {
14330 PyThreadState* __tstate = wxPyBeginAllowThreads();
14331 delete arg1;
14332
14333 wxPyEndAllowThreads(__tstate);
14334 if (PyErr_Occurred()) SWIG_fail;
14335 }
14336 Py_INCREF(Py_None); resultobj = Py_None;
14337 return resultobj;
14338 fail:
14339 return NULL;
14340 }
14341
14342
14343 static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
14344 PyObject *resultobj;
14345 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14346 wxString *result;
14347 PyObject * obj0 = 0 ;
14348 char *kwnames[] = {
14349 (char *) "self", NULL
14350 };
14351
14352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail;
14353 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14354 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14355 {
14356 PyThreadState* __tstate = wxPyBeginAllowThreads();
14357 {
14358 wxString const &_result_ref = (arg1)->GetFindString();
14359 result = (wxString *) &_result_ref;
14360 }
14361
14362 wxPyEndAllowThreads(__tstate);
14363 if (PyErr_Occurred()) SWIG_fail;
14364 }
14365 {
14366 #if wxUSE_UNICODE
14367 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14368 #else
14369 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14370 #endif
14371 }
14372 return resultobj;
14373 fail:
14374 return NULL;
14375 }
14376
14377
14378 static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
14379 PyObject *resultobj;
14380 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14381 wxString *result;
14382 PyObject * obj0 = 0 ;
14383 char *kwnames[] = {
14384 (char *) "self", NULL
14385 };
14386
14387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail;
14388 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14389 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14390 {
14391 PyThreadState* __tstate = wxPyBeginAllowThreads();
14392 {
14393 wxString const &_result_ref = (arg1)->GetReplaceString();
14394 result = (wxString *) &_result_ref;
14395 }
14396
14397 wxPyEndAllowThreads(__tstate);
14398 if (PyErr_Occurred()) SWIG_fail;
14399 }
14400 {
14401 #if wxUSE_UNICODE
14402 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14403 #else
14404 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14405 #endif
14406 }
14407 return resultobj;
14408 fail:
14409 return NULL;
14410 }
14411
14412
14413 static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
14414 PyObject *resultobj;
14415 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14416 int result;
14417 PyObject * obj0 = 0 ;
14418 char *kwnames[] = {
14419 (char *) "self", NULL
14420 };
14421
14422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail;
14423 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14424 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14425 {
14426 PyThreadState* __tstate = wxPyBeginAllowThreads();
14427 result = (int)(arg1)->GetFlags();
14428
14429 wxPyEndAllowThreads(__tstate);
14430 if (PyErr_Occurred()) SWIG_fail;
14431 }
14432 resultobj = SWIG_From_int((int)result);
14433 return resultobj;
14434 fail:
14435 return NULL;
14436 }
14437
14438
14439 static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
14440 PyObject *resultobj;
14441 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14442 int arg2 ;
14443 PyObject * obj0 = 0 ;
14444 PyObject * obj1 = 0 ;
14445 char *kwnames[] = {
14446 (char *) "self",(char *) "flags", NULL
14447 };
14448
14449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) goto fail;
14450 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14451 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14452 arg2 = (int)SWIG_As_int(obj1);
14453 if (PyErr_Occurred()) SWIG_fail;
14454 {
14455 PyThreadState* __tstate = wxPyBeginAllowThreads();
14456 (arg1)->SetFlags(arg2);
14457
14458 wxPyEndAllowThreads(__tstate);
14459 if (PyErr_Occurred()) SWIG_fail;
14460 }
14461 Py_INCREF(Py_None); resultobj = Py_None;
14462 return resultobj;
14463 fail:
14464 return NULL;
14465 }
14466
14467
14468 static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
14469 PyObject *resultobj;
14470 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14471 wxString *arg2 = 0 ;
14472 bool temp2 = false ;
14473 PyObject * obj0 = 0 ;
14474 PyObject * obj1 = 0 ;
14475 char *kwnames[] = {
14476 (char *) "self",(char *) "str", NULL
14477 };
14478
14479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail;
14480 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14482 {
14483 arg2 = wxString_in_helper(obj1);
14484 if (arg2 == NULL) SWIG_fail;
14485 temp2 = true;
14486 }
14487 {
14488 PyThreadState* __tstate = wxPyBeginAllowThreads();
14489 (arg1)->SetFindString((wxString const &)*arg2);
14490
14491 wxPyEndAllowThreads(__tstate);
14492 if (PyErr_Occurred()) SWIG_fail;
14493 }
14494 Py_INCREF(Py_None); resultobj = Py_None;
14495 {
14496 if (temp2)
14497 delete arg2;
14498 }
14499 return resultobj;
14500 fail:
14501 {
14502 if (temp2)
14503 delete arg2;
14504 }
14505 return NULL;
14506 }
14507
14508
14509 static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
14510 PyObject *resultobj;
14511 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14512 wxString *arg2 = 0 ;
14513 bool temp2 = false ;
14514 PyObject * obj0 = 0 ;
14515 PyObject * obj1 = 0 ;
14516 char *kwnames[] = {
14517 (char *) "self",(char *) "str", NULL
14518 };
14519
14520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
14521 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14522 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14523 {
14524 arg2 = wxString_in_helper(obj1);
14525 if (arg2 == NULL) SWIG_fail;
14526 temp2 = true;
14527 }
14528 {
14529 PyThreadState* __tstate = wxPyBeginAllowThreads();
14530 (arg1)->SetReplaceString((wxString const &)*arg2);
14531
14532 wxPyEndAllowThreads(__tstate);
14533 if (PyErr_Occurred()) SWIG_fail;
14534 }
14535 Py_INCREF(Py_None); resultobj = Py_None;
14536 {
14537 if (temp2)
14538 delete arg2;
14539 }
14540 return resultobj;
14541 fail:
14542 {
14543 if (temp2)
14544 delete arg2;
14545 }
14546 return NULL;
14547 }
14548
14549
14550 static PyObject * FindReplaceData_swigregister(PyObject *, PyObject *args) {
14551 PyObject *obj;
14552 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14553 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj);
14554 Py_INCREF(obj);
14555 return Py_BuildValue((char *)"");
14556 }
14557 static PyObject *_wrap_new_FindReplaceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
14558 PyObject *resultobj;
14559 wxWindow *arg1 = (wxWindow *) 0 ;
14560 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
14561 wxString *arg3 = 0 ;
14562 int arg4 = (int) 0 ;
14563 wxFindReplaceDialog *result;
14564 bool temp3 = false ;
14565 PyObject * obj0 = 0 ;
14566 PyObject * obj1 = 0 ;
14567 PyObject * obj2 = 0 ;
14568 PyObject * obj3 = 0 ;
14569 char *kwnames[] = {
14570 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14571 };
14572
14573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14574 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14575 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14576 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData,
14577 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14578 {
14579 arg3 = wxString_in_helper(obj2);
14580 if (arg3 == NULL) SWIG_fail;
14581 temp3 = true;
14582 }
14583 if (obj3) {
14584 arg4 = (int)SWIG_As_int(obj3);
14585 if (PyErr_Occurred()) SWIG_fail;
14586 }
14587 {
14588 if (!wxPyCheckForApp()) SWIG_fail;
14589 PyThreadState* __tstate = wxPyBeginAllowThreads();
14590 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
14591
14592 wxPyEndAllowThreads(__tstate);
14593 if (PyErr_Occurred()) SWIG_fail;
14594 }
14595 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
14596 {
14597 if (temp3)
14598 delete arg3;
14599 }
14600 return resultobj;
14601 fail:
14602 {
14603 if (temp3)
14604 delete arg3;
14605 }
14606 return NULL;
14607 }
14608
14609
14610 static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
14611 PyObject *resultobj;
14612 wxFindReplaceDialog *result;
14613 char *kwnames[] = {
14614 NULL
14615 };
14616
14617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail;
14618 {
14619 if (!wxPyCheckForApp()) SWIG_fail;
14620 PyThreadState* __tstate = wxPyBeginAllowThreads();
14621 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
14622
14623 wxPyEndAllowThreads(__tstate);
14624 if (PyErr_Occurred()) SWIG_fail;
14625 }
14626 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
14627 return resultobj;
14628 fail:
14629 return NULL;
14630 }
14631
14632
14633 static PyObject *_wrap_FindReplaceDialog_Create(PyObject *, PyObject *args, PyObject *kwargs) {
14634 PyObject *resultobj;
14635 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14636 wxWindow *arg2 = (wxWindow *) 0 ;
14637 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
14638 wxString *arg4 = 0 ;
14639 int arg5 = (int) 0 ;
14640 bool result;
14641 bool temp4 = false ;
14642 PyObject * obj0 = 0 ;
14643 PyObject * obj1 = 0 ;
14644 PyObject * obj2 = 0 ;
14645 PyObject * obj3 = 0 ;
14646 PyObject * obj4 = 0 ;
14647 char *kwnames[] = {
14648 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14649 };
14650
14651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
14652 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14653 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14654 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14655 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14656 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFindReplaceData,
14657 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14658 {
14659 arg4 = wxString_in_helper(obj3);
14660 if (arg4 == NULL) SWIG_fail;
14661 temp4 = true;
14662 }
14663 if (obj4) {
14664 arg5 = (int)SWIG_As_int(obj4);
14665 if (PyErr_Occurred()) SWIG_fail;
14666 }
14667 {
14668 PyThreadState* __tstate = wxPyBeginAllowThreads();
14669 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
14670
14671 wxPyEndAllowThreads(__tstate);
14672 if (PyErr_Occurred()) SWIG_fail;
14673 }
14674 {
14675 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14676 }
14677 {
14678 if (temp4)
14679 delete arg4;
14680 }
14681 return resultobj;
14682 fail:
14683 {
14684 if (temp4)
14685 delete arg4;
14686 }
14687 return NULL;
14688 }
14689
14690
14691 static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
14692 PyObject *resultobj;
14693 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14694 wxFindReplaceData *result;
14695 PyObject * obj0 = 0 ;
14696 char *kwnames[] = {
14697 (char *) "self", NULL
14698 };
14699
14700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail;
14701 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14702 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14703 {
14704 PyThreadState* __tstate = wxPyBeginAllowThreads();
14705 result = (wxFindReplaceData *)(arg1)->GetData();
14706
14707 wxPyEndAllowThreads(__tstate);
14708 if (PyErr_Occurred()) SWIG_fail;
14709 }
14710 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 0);
14711 return resultobj;
14712 fail:
14713 return NULL;
14714 }
14715
14716
14717 static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
14718 PyObject *resultobj;
14719 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14720 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
14721 PyObject * obj0 = 0 ;
14722 PyObject * obj1 = 0 ;
14723 char *kwnames[] = {
14724 (char *) "self",(char *) "data", NULL
14725 };
14726
14727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail;
14728 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14730 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData,
14731 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14732 {
14733 PyThreadState* __tstate = wxPyBeginAllowThreads();
14734 (arg1)->SetData(arg2);
14735
14736 wxPyEndAllowThreads(__tstate);
14737 if (PyErr_Occurred()) SWIG_fail;
14738 }
14739 Py_INCREF(Py_None); resultobj = Py_None;
14740 return resultobj;
14741 fail:
14742 return NULL;
14743 }
14744
14745
14746 static PyObject * FindReplaceDialog_swigregister(PyObject *, PyObject *args) {
14747 PyObject *obj;
14748 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14749 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj);
14750 Py_INCREF(obj);
14751 return Py_BuildValue((char *)"");
14752 }
14753 static PyObject *_wrap_new_MDIParentFrame(PyObject *, PyObject *args, PyObject *kwargs) {
14754 PyObject *resultobj;
14755 wxWindow *arg1 = (wxWindow *) 0 ;
14756 int arg2 = (int) (int)-1 ;
14757 wxString const &arg3_defvalue = wxPyEmptyString ;
14758 wxString *arg3 = (wxString *) &arg3_defvalue ;
14759 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14760 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14761 wxSize const &arg5_defvalue = wxDefaultSize ;
14762 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14763 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
14764 wxString const &arg7_defvalue = wxPyFrameNameStr ;
14765 wxString *arg7 = (wxString *) &arg7_defvalue ;
14766 wxMDIParentFrame *result;
14767 bool temp3 = false ;
14768 wxPoint temp4 ;
14769 wxSize temp5 ;
14770 bool temp7 = false ;
14771 PyObject * obj0 = 0 ;
14772 PyObject * obj1 = 0 ;
14773 PyObject * obj2 = 0 ;
14774 PyObject * obj3 = 0 ;
14775 PyObject * obj4 = 0 ;
14776 PyObject * obj5 = 0 ;
14777 PyObject * obj6 = 0 ;
14778 char *kwnames[] = {
14779 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14780 };
14781
14782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
14783 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14784 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14785 if (obj1) {
14786 arg2 = (int)SWIG_As_int(obj1);
14787 if (PyErr_Occurred()) SWIG_fail;
14788 }
14789 if (obj2) {
14790 {
14791 arg3 = wxString_in_helper(obj2);
14792 if (arg3 == NULL) SWIG_fail;
14793 temp3 = true;
14794 }
14795 }
14796 if (obj3) {
14797 {
14798 arg4 = &temp4;
14799 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14800 }
14801 }
14802 if (obj4) {
14803 {
14804 arg5 = &temp5;
14805 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14806 }
14807 }
14808 if (obj5) {
14809 arg6 = (long)SWIG_As_long(obj5);
14810 if (PyErr_Occurred()) SWIG_fail;
14811 }
14812 if (obj6) {
14813 {
14814 arg7 = wxString_in_helper(obj6);
14815 if (arg7 == NULL) SWIG_fail;
14816 temp7 = true;
14817 }
14818 }
14819 {
14820 if (!wxPyCheckForApp()) SWIG_fail;
14821 PyThreadState* __tstate = wxPyBeginAllowThreads();
14822 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14823
14824 wxPyEndAllowThreads(__tstate);
14825 if (PyErr_Occurred()) SWIG_fail;
14826 }
14827 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
14828 {
14829 if (temp3)
14830 delete arg3;
14831 }
14832 {
14833 if (temp7)
14834 delete arg7;
14835 }
14836 return resultobj;
14837 fail:
14838 {
14839 if (temp3)
14840 delete arg3;
14841 }
14842 {
14843 if (temp7)
14844 delete arg7;
14845 }
14846 return NULL;
14847 }
14848
14849
14850 static PyObject *_wrap_new_PreMDIParentFrame(PyObject *, PyObject *args, PyObject *kwargs) {
14851 PyObject *resultobj;
14852 wxMDIParentFrame *result;
14853 char *kwnames[] = {
14854 NULL
14855 };
14856
14857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail;
14858 {
14859 if (!wxPyCheckForApp()) SWIG_fail;
14860 PyThreadState* __tstate = wxPyBeginAllowThreads();
14861 result = (wxMDIParentFrame *)new wxMDIParentFrame();
14862
14863 wxPyEndAllowThreads(__tstate);
14864 if (PyErr_Occurred()) SWIG_fail;
14865 }
14866 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
14867 return resultobj;
14868 fail:
14869 return NULL;
14870 }
14871
14872
14873 static PyObject *_wrap_MDIParentFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
14874 PyObject *resultobj;
14875 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14876 wxWindow *arg2 = (wxWindow *) 0 ;
14877 int arg3 = (int) (int)-1 ;
14878 wxString const &arg4_defvalue = wxPyEmptyString ;
14879 wxString *arg4 = (wxString *) &arg4_defvalue ;
14880 wxPoint const &arg5_defvalue = wxDefaultPosition ;
14881 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
14882 wxSize const &arg6_defvalue = wxDefaultSize ;
14883 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
14884 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
14885 wxString const &arg8_defvalue = wxPyFrameNameStr ;
14886 wxString *arg8 = (wxString *) &arg8_defvalue ;
14887 bool result;
14888 bool temp4 = false ;
14889 wxPoint temp5 ;
14890 wxSize temp6 ;
14891 bool temp8 = false ;
14892 PyObject * obj0 = 0 ;
14893 PyObject * obj1 = 0 ;
14894 PyObject * obj2 = 0 ;
14895 PyObject * obj3 = 0 ;
14896 PyObject * obj4 = 0 ;
14897 PyObject * obj5 = 0 ;
14898 PyObject * obj6 = 0 ;
14899 PyObject * obj7 = 0 ;
14900 char *kwnames[] = {
14901 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14902 };
14903
14904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
14905 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14906 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14907 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14908 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14909 if (obj2) {
14910 arg3 = (int)SWIG_As_int(obj2);
14911 if (PyErr_Occurred()) SWIG_fail;
14912 }
14913 if (obj3) {
14914 {
14915 arg4 = wxString_in_helper(obj3);
14916 if (arg4 == NULL) SWIG_fail;
14917 temp4 = true;
14918 }
14919 }
14920 if (obj4) {
14921 {
14922 arg5 = &temp5;
14923 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14924 }
14925 }
14926 if (obj5) {
14927 {
14928 arg6 = &temp6;
14929 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
14930 }
14931 }
14932 if (obj6) {
14933 arg7 = (long)SWIG_As_long(obj6);
14934 if (PyErr_Occurred()) SWIG_fail;
14935 }
14936 if (obj7) {
14937 {
14938 arg8 = wxString_in_helper(obj7);
14939 if (arg8 == NULL) SWIG_fail;
14940 temp8 = true;
14941 }
14942 }
14943 {
14944 PyThreadState* __tstate = wxPyBeginAllowThreads();
14945 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
14946
14947 wxPyEndAllowThreads(__tstate);
14948 if (PyErr_Occurred()) SWIG_fail;
14949 }
14950 {
14951 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14952 }
14953 {
14954 if (temp4)
14955 delete arg4;
14956 }
14957 {
14958 if (temp8)
14959 delete arg8;
14960 }
14961 return resultobj;
14962 fail:
14963 {
14964 if (temp4)
14965 delete arg4;
14966 }
14967 {
14968 if (temp8)
14969 delete arg8;
14970 }
14971 return NULL;
14972 }
14973
14974
14975 static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *, PyObject *args, PyObject *kwargs) {
14976 PyObject *resultobj;
14977 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14978 PyObject * obj0 = 0 ;
14979 char *kwnames[] = {
14980 (char *) "self", NULL
14981 };
14982
14983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail;
14984 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14985 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14986 {
14987 PyThreadState* __tstate = wxPyBeginAllowThreads();
14988 (arg1)->ActivateNext();
14989
14990 wxPyEndAllowThreads(__tstate);
14991 if (PyErr_Occurred()) SWIG_fail;
14992 }
14993 Py_INCREF(Py_None); resultobj = Py_None;
14994 return resultobj;
14995 fail:
14996 return NULL;
14997 }
14998
14999
15000 static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *, PyObject *args, PyObject *kwargs) {
15001 PyObject *resultobj;
15002 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15003 PyObject * obj0 = 0 ;
15004 char *kwnames[] = {
15005 (char *) "self", NULL
15006 };
15007
15008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail;
15009 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15010 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15011 {
15012 PyThreadState* __tstate = wxPyBeginAllowThreads();
15013 (arg1)->ActivatePrevious();
15014
15015 wxPyEndAllowThreads(__tstate);
15016 if (PyErr_Occurred()) SWIG_fail;
15017 }
15018 Py_INCREF(Py_None); resultobj = Py_None;
15019 return resultobj;
15020 fail:
15021 return NULL;
15022 }
15023
15024
15025 static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *, PyObject *args, PyObject *kwargs) {
15026 PyObject *resultobj;
15027 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15028 PyObject * obj0 = 0 ;
15029 char *kwnames[] = {
15030 (char *) "self", NULL
15031 };
15032
15033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail;
15034 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15035 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15036 {
15037 PyThreadState* __tstate = wxPyBeginAllowThreads();
15038 (arg1)->ArrangeIcons();
15039
15040 wxPyEndAllowThreads(__tstate);
15041 if (PyErr_Occurred()) SWIG_fail;
15042 }
15043 Py_INCREF(Py_None); resultobj = Py_None;
15044 return resultobj;
15045 fail:
15046 return NULL;
15047 }
15048
15049
15050 static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *, PyObject *args, PyObject *kwargs) {
15051 PyObject *resultobj;
15052 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15053 PyObject * obj0 = 0 ;
15054 char *kwnames[] = {
15055 (char *) "self", NULL
15056 };
15057
15058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail;
15059 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15060 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15061 {
15062 PyThreadState* __tstate = wxPyBeginAllowThreads();
15063 (arg1)->Cascade();
15064
15065 wxPyEndAllowThreads(__tstate);
15066 if (PyErr_Occurred()) SWIG_fail;
15067 }
15068 Py_INCREF(Py_None); resultobj = Py_None;
15069 return resultobj;
15070 fail:
15071 return NULL;
15072 }
15073
15074
15075 static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *, PyObject *args, PyObject *kwargs) {
15076 PyObject *resultobj;
15077 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15078 wxMDIChildFrame *result;
15079 PyObject * obj0 = 0 ;
15080 char *kwnames[] = {
15081 (char *) "self", NULL
15082 };
15083
15084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail;
15085 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15086 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15087 {
15088 PyThreadState* __tstate = wxPyBeginAllowThreads();
15089 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
15090
15091 wxPyEndAllowThreads(__tstate);
15092 if (PyErr_Occurred()) SWIG_fail;
15093 }
15094 {
15095 resultobj = wxPyMake_wxObject(result, 0);
15096 }
15097 return resultobj;
15098 fail:
15099 return NULL;
15100 }
15101
15102
15103 static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
15104 PyObject *resultobj;
15105 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15106 wxMDIClientWindow *result;
15107 PyObject * obj0 = 0 ;
15108 char *kwnames[] = {
15109 (char *) "self", NULL
15110 };
15111
15112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail;
15113 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15114 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15115 {
15116 PyThreadState* __tstate = wxPyBeginAllowThreads();
15117 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
15118
15119 wxPyEndAllowThreads(__tstate);
15120 if (PyErr_Occurred()) SWIG_fail;
15121 }
15122 {
15123 resultobj = wxPyMake_wxObject(result, 0);
15124 }
15125 return resultobj;
15126 fail:
15127 return NULL;
15128 }
15129
15130
15131 static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
15132 PyObject *resultobj;
15133 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15134 wxWindow *result;
15135 PyObject * obj0 = 0 ;
15136 char *kwnames[] = {
15137 (char *) "self", NULL
15138 };
15139
15140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail;
15141 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15142 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15143 {
15144 PyThreadState* __tstate = wxPyBeginAllowThreads();
15145 result = (wxWindow *)(arg1)->GetToolBar();
15146
15147 wxPyEndAllowThreads(__tstate);
15148 if (PyErr_Occurred()) SWIG_fail;
15149 }
15150 {
15151 resultobj = wxPyMake_wxObject(result, 0);
15152 }
15153 return resultobj;
15154 fail:
15155 return NULL;
15156 }
15157
15158
15159 static PyObject *_wrap_MDIParentFrame_Tile(PyObject *, PyObject *args, PyObject *kwargs) {
15160 PyObject *resultobj;
15161 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15162 PyObject * obj0 = 0 ;
15163 char *kwnames[] = {
15164 (char *) "self", NULL
15165 };
15166
15167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Tile",kwnames,&obj0)) goto fail;
15168 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15169 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15170 {
15171 PyThreadState* __tstate = wxPyBeginAllowThreads();
15172 (arg1)->Tile();
15173
15174 wxPyEndAllowThreads(__tstate);
15175 if (PyErr_Occurred()) SWIG_fail;
15176 }
15177 Py_INCREF(Py_None); resultobj = Py_None;
15178 return resultobj;
15179 fail:
15180 return NULL;
15181 }
15182
15183
15184 static PyObject * MDIParentFrame_swigregister(PyObject *, PyObject *args) {
15185 PyObject *obj;
15186 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15187 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj);
15188 Py_INCREF(obj);
15189 return Py_BuildValue((char *)"");
15190 }
15191 static PyObject *_wrap_new_MDIChildFrame(PyObject *, PyObject *args, PyObject *kwargs) {
15192 PyObject *resultobj;
15193 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15194 int arg2 = (int) (int)-1 ;
15195 wxString const &arg3_defvalue = wxPyEmptyString ;
15196 wxString *arg3 = (wxString *) &arg3_defvalue ;
15197 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15198 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15199 wxSize const &arg5_defvalue = wxDefaultSize ;
15200 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15201 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
15202 wxString const &arg7_defvalue = wxPyFrameNameStr ;
15203 wxString *arg7 = (wxString *) &arg7_defvalue ;
15204 wxMDIChildFrame *result;
15205 bool temp3 = false ;
15206 wxPoint temp4 ;
15207 wxSize temp5 ;
15208 bool temp7 = false ;
15209 PyObject * obj0 = 0 ;
15210 PyObject * obj1 = 0 ;
15211 PyObject * obj2 = 0 ;
15212 PyObject * obj3 = 0 ;
15213 PyObject * obj4 = 0 ;
15214 PyObject * obj5 = 0 ;
15215 PyObject * obj6 = 0 ;
15216 char *kwnames[] = {
15217 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15218 };
15219
15220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15221 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15222 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15223 if (obj1) {
15224 arg2 = (int)SWIG_As_int(obj1);
15225 if (PyErr_Occurred()) SWIG_fail;
15226 }
15227 if (obj2) {
15228 {
15229 arg3 = wxString_in_helper(obj2);
15230 if (arg3 == NULL) SWIG_fail;
15231 temp3 = true;
15232 }
15233 }
15234 if (obj3) {
15235 {
15236 arg4 = &temp4;
15237 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15238 }
15239 }
15240 if (obj4) {
15241 {
15242 arg5 = &temp5;
15243 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15244 }
15245 }
15246 if (obj5) {
15247 arg6 = (long)SWIG_As_long(obj5);
15248 if (PyErr_Occurred()) SWIG_fail;
15249 }
15250 if (obj6) {
15251 {
15252 arg7 = wxString_in_helper(obj6);
15253 if (arg7 == NULL) SWIG_fail;
15254 temp7 = true;
15255 }
15256 }
15257 {
15258 if (!wxPyCheckForApp()) SWIG_fail;
15259 PyThreadState* __tstate = wxPyBeginAllowThreads();
15260 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15261
15262 wxPyEndAllowThreads(__tstate);
15263 if (PyErr_Occurred()) SWIG_fail;
15264 }
15265 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIChildFrame, 1);
15266 {
15267 if (temp3)
15268 delete arg3;
15269 }
15270 {
15271 if (temp7)
15272 delete arg7;
15273 }
15274 return resultobj;
15275 fail:
15276 {
15277 if (temp3)
15278 delete arg3;
15279 }
15280 {
15281 if (temp7)
15282 delete arg7;
15283 }
15284 return NULL;
15285 }
15286
15287
15288 static PyObject *_wrap_new_PreMDIChildFrame(PyObject *, PyObject *args, PyObject *kwargs) {
15289 PyObject *resultobj;
15290 wxMDIChildFrame *result;
15291 char *kwnames[] = {
15292 NULL
15293 };
15294
15295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail;
15296 {
15297 if (!wxPyCheckForApp()) SWIG_fail;
15298 PyThreadState* __tstate = wxPyBeginAllowThreads();
15299 result = (wxMDIChildFrame *)new wxMDIChildFrame();
15300
15301 wxPyEndAllowThreads(__tstate);
15302 if (PyErr_Occurred()) SWIG_fail;
15303 }
15304 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIChildFrame, 1);
15305 return resultobj;
15306 fail:
15307 return NULL;
15308 }
15309
15310
15311 static PyObject *_wrap_MDIChildFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
15312 PyObject *resultobj;
15313 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15314 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
15315 int arg3 = (int) (int)-1 ;
15316 wxString const &arg4_defvalue = wxPyEmptyString ;
15317 wxString *arg4 = (wxString *) &arg4_defvalue ;
15318 wxPoint const &arg5_defvalue = wxDefaultPosition ;
15319 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
15320 wxSize const &arg6_defvalue = wxDefaultSize ;
15321 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
15322 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
15323 wxString const &arg8_defvalue = wxPyFrameNameStr ;
15324 wxString *arg8 = (wxString *) &arg8_defvalue ;
15325 bool result;
15326 bool temp4 = false ;
15327 wxPoint temp5 ;
15328 wxSize temp6 ;
15329 bool temp8 = false ;
15330 PyObject * obj0 = 0 ;
15331 PyObject * obj1 = 0 ;
15332 PyObject * obj2 = 0 ;
15333 PyObject * obj3 = 0 ;
15334 PyObject * obj4 = 0 ;
15335 PyObject * obj5 = 0 ;
15336 PyObject * obj6 = 0 ;
15337 PyObject * obj7 = 0 ;
15338 char *kwnames[] = {
15339 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15340 };
15341
15342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15343 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15344 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15345 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
15346 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15347 if (obj2) {
15348 arg3 = (int)SWIG_As_int(obj2);
15349 if (PyErr_Occurred()) SWIG_fail;
15350 }
15351 if (obj3) {
15352 {
15353 arg4 = wxString_in_helper(obj3);
15354 if (arg4 == NULL) SWIG_fail;
15355 temp4 = true;
15356 }
15357 }
15358 if (obj4) {
15359 {
15360 arg5 = &temp5;
15361 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
15362 }
15363 }
15364 if (obj5) {
15365 {
15366 arg6 = &temp6;
15367 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
15368 }
15369 }
15370 if (obj6) {
15371 arg7 = (long)SWIG_As_long(obj6);
15372 if (PyErr_Occurred()) SWIG_fail;
15373 }
15374 if (obj7) {
15375 {
15376 arg8 = wxString_in_helper(obj7);
15377 if (arg8 == NULL) SWIG_fail;
15378 temp8 = true;
15379 }
15380 }
15381 {
15382 PyThreadState* __tstate = wxPyBeginAllowThreads();
15383 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
15384
15385 wxPyEndAllowThreads(__tstate);
15386 if (PyErr_Occurred()) SWIG_fail;
15387 }
15388 {
15389 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15390 }
15391 {
15392 if (temp4)
15393 delete arg4;
15394 }
15395 {
15396 if (temp8)
15397 delete arg8;
15398 }
15399 return resultobj;
15400 fail:
15401 {
15402 if (temp4)
15403 delete arg4;
15404 }
15405 {
15406 if (temp8)
15407 delete arg8;
15408 }
15409 return NULL;
15410 }
15411
15412
15413 static PyObject *_wrap_MDIChildFrame_Activate(PyObject *, PyObject *args, PyObject *kwargs) {
15414 PyObject *resultobj;
15415 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15416 PyObject * obj0 = 0 ;
15417 char *kwnames[] = {
15418 (char *) "self", NULL
15419 };
15420
15421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail;
15422 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15423 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15424 {
15425 PyThreadState* __tstate = wxPyBeginAllowThreads();
15426 (arg1)->Activate();
15427
15428 wxPyEndAllowThreads(__tstate);
15429 if (PyErr_Occurred()) SWIG_fail;
15430 }
15431 Py_INCREF(Py_None); resultobj = Py_None;
15432 return resultobj;
15433 fail:
15434 return NULL;
15435 }
15436
15437
15438 static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *, PyObject *args, PyObject *kwargs) {
15439 PyObject *resultobj;
15440 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15441 bool arg2 ;
15442 PyObject * obj0 = 0 ;
15443 PyObject * obj1 = 0 ;
15444 char *kwnames[] = {
15445 (char *) "self",(char *) "maximize", NULL
15446 };
15447
15448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail;
15449 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15450 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15451 arg2 = (bool)SWIG_As_bool(obj1);
15452 if (PyErr_Occurred()) SWIG_fail;
15453 {
15454 PyThreadState* __tstate = wxPyBeginAllowThreads();
15455 (arg1)->Maximize(arg2);
15456
15457 wxPyEndAllowThreads(__tstate);
15458 if (PyErr_Occurred()) SWIG_fail;
15459 }
15460 Py_INCREF(Py_None); resultobj = Py_None;
15461 return resultobj;
15462 fail:
15463 return NULL;
15464 }
15465
15466
15467 static PyObject *_wrap_MDIChildFrame_Restore(PyObject *, PyObject *args, PyObject *kwargs) {
15468 PyObject *resultobj;
15469 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15470 PyObject * obj0 = 0 ;
15471 char *kwnames[] = {
15472 (char *) "self", NULL
15473 };
15474
15475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail;
15476 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15477 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15478 {
15479 PyThreadState* __tstate = wxPyBeginAllowThreads();
15480 (arg1)->Restore();
15481
15482 wxPyEndAllowThreads(__tstate);
15483 if (PyErr_Occurred()) SWIG_fail;
15484 }
15485 Py_INCREF(Py_None); resultobj = Py_None;
15486 return resultobj;
15487 fail:
15488 return NULL;
15489 }
15490
15491
15492 static PyObject * MDIChildFrame_swigregister(PyObject *, PyObject *args) {
15493 PyObject *obj;
15494 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15495 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj);
15496 Py_INCREF(obj);
15497 return Py_BuildValue((char *)"");
15498 }
15499 static PyObject *_wrap_new_MDIClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
15500 PyObject *resultobj;
15501 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15502 long arg2 = (long) 0 ;
15503 wxMDIClientWindow *result;
15504 PyObject * obj0 = 0 ;
15505 PyObject * obj1 = 0 ;
15506 char *kwnames[] = {
15507 (char *) "parent",(char *) "style", NULL
15508 };
15509
15510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) goto fail;
15511 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15512 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15513 if (obj1) {
15514 arg2 = (long)SWIG_As_long(obj1);
15515 if (PyErr_Occurred()) SWIG_fail;
15516 }
15517 {
15518 if (!wxPyCheckForApp()) SWIG_fail;
15519 PyThreadState* __tstate = wxPyBeginAllowThreads();
15520 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
15521
15522 wxPyEndAllowThreads(__tstate);
15523 if (PyErr_Occurred()) SWIG_fail;
15524 }
15525 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIClientWindow, 1);
15526 return resultobj;
15527 fail:
15528 return NULL;
15529 }
15530
15531
15532 static PyObject *_wrap_new_PreMDIClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
15533 PyObject *resultobj;
15534 wxMDIClientWindow *result;
15535 char *kwnames[] = {
15536 NULL
15537 };
15538
15539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail;
15540 {
15541 if (!wxPyCheckForApp()) SWIG_fail;
15542 PyThreadState* __tstate = wxPyBeginAllowThreads();
15543 result = (wxMDIClientWindow *)new wxMDIClientWindow();
15544
15545 wxPyEndAllowThreads(__tstate);
15546 if (PyErr_Occurred()) SWIG_fail;
15547 }
15548 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIClientWindow, 1);
15549 return resultobj;
15550 fail:
15551 return NULL;
15552 }
15553
15554
15555 static PyObject *_wrap_MDIClientWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
15556 PyObject *resultobj;
15557 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
15558 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
15559 long arg3 = (long) 0 ;
15560 bool result;
15561 PyObject * obj0 = 0 ;
15562 PyObject * obj1 = 0 ;
15563 PyObject * obj2 = 0 ;
15564 char *kwnames[] = {
15565 (char *) "self",(char *) "parent",(char *) "style", NULL
15566 };
15567
15568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
15569 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIClientWindow,
15570 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15571 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
15572 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15573 if (obj2) {
15574 arg3 = (long)SWIG_As_long(obj2);
15575 if (PyErr_Occurred()) SWIG_fail;
15576 }
15577 {
15578 PyThreadState* __tstate = wxPyBeginAllowThreads();
15579 result = (bool)(arg1)->Create(arg2,arg3);
15580
15581 wxPyEndAllowThreads(__tstate);
15582 if (PyErr_Occurred()) SWIG_fail;
15583 }
15584 {
15585 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15586 }
15587 return resultobj;
15588 fail:
15589 return NULL;
15590 }
15591
15592
15593 static PyObject * MDIClientWindow_swigregister(PyObject *, PyObject *args) {
15594 PyObject *obj;
15595 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15596 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj);
15597 Py_INCREF(obj);
15598 return Py_BuildValue((char *)"");
15599 }
15600 static PyObject *_wrap_new_PyWindow(PyObject *, PyObject *args, PyObject *kwargs) {
15601 PyObject *resultobj;
15602 wxWindow *arg1 = (wxWindow *) 0 ;
15603 int arg2 = (int) (int)-1 ;
15604 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15605 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15606 wxSize const &arg4_defvalue = wxDefaultSize ;
15607 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15608 long arg5 = (long) 0 ;
15609 wxString const &arg6_defvalue = wxPyPanelNameStr ;
15610 wxString *arg6 = (wxString *) &arg6_defvalue ;
15611 wxPyWindow *result;
15612 wxPoint temp3 ;
15613 wxSize temp4 ;
15614 bool temp6 = false ;
15615 PyObject * obj0 = 0 ;
15616 PyObject * obj1 = 0 ;
15617 PyObject * obj2 = 0 ;
15618 PyObject * obj3 = 0 ;
15619 PyObject * obj4 = 0 ;
15620 PyObject * obj5 = 0 ;
15621 char *kwnames[] = {
15622 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15623 };
15624
15625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15626 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
15627 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15628 if (obj1) {
15629 arg2 = (int)SWIG_As_int(obj1);
15630 if (PyErr_Occurred()) SWIG_fail;
15631 }
15632 if (obj2) {
15633 {
15634 arg3 = &temp3;
15635 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15636 }
15637 }
15638 if (obj3) {
15639 {
15640 arg4 = &temp4;
15641 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15642 }
15643 }
15644 if (obj4) {
15645 arg5 = (long)SWIG_As_long(obj4);
15646 if (PyErr_Occurred()) SWIG_fail;
15647 }
15648 if (obj5) {
15649 {
15650 arg6 = wxString_in_helper(obj5);
15651 if (arg6 == NULL) SWIG_fail;
15652 temp6 = true;
15653 }
15654 }
15655 {
15656 if (!wxPyCheckForApp()) SWIG_fail;
15657 PyThreadState* __tstate = wxPyBeginAllowThreads();
15658 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15659
15660 wxPyEndAllowThreads(__tstate);
15661 if (PyErr_Occurred()) SWIG_fail;
15662 }
15663 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
15664 {
15665 if (temp6)
15666 delete arg6;
15667 }
15668 return resultobj;
15669 fail:
15670 {
15671 if (temp6)
15672 delete arg6;
15673 }
15674 return NULL;
15675 }
15676
15677
15678 static PyObject *_wrap_new_PrePyWindow(PyObject *, PyObject *args, PyObject *kwargs) {
15679 PyObject *resultobj;
15680 wxPyWindow *result;
15681 char *kwnames[] = {
15682 NULL
15683 };
15684
15685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyWindow",kwnames)) goto fail;
15686 {
15687 if (!wxPyCheckForApp()) SWIG_fail;
15688 PyThreadState* __tstate = wxPyBeginAllowThreads();
15689 result = (wxPyWindow *)new wxPyWindow();
15690
15691 wxPyEndAllowThreads(__tstate);
15692 if (PyErr_Occurred()) SWIG_fail;
15693 }
15694 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
15695 return resultobj;
15696 fail:
15697 return NULL;
15698 }
15699
15700
15701 static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
15702 PyObject *resultobj;
15703 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15704 PyObject *arg2 = (PyObject *) 0 ;
15705 PyObject *arg3 = (PyObject *) 0 ;
15706 PyObject * obj0 = 0 ;
15707 PyObject * obj1 = 0 ;
15708 PyObject * obj2 = 0 ;
15709 char *kwnames[] = {
15710 (char *) "self",(char *) "self",(char *) "_class", NULL
15711 };
15712
15713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15714 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15715 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15716 arg2 = obj1;
15717 arg3 = obj2;
15718 {
15719 PyThreadState* __tstate = wxPyBeginAllowThreads();
15720 (arg1)->_setCallbackInfo(arg2,arg3);
15721
15722 wxPyEndAllowThreads(__tstate);
15723 if (PyErr_Occurred()) SWIG_fail;
15724 }
15725 Py_INCREF(Py_None); resultobj = Py_None;
15726 return resultobj;
15727 fail:
15728 return NULL;
15729 }
15730
15731
15732 static PyObject *_wrap_PyWindow_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
15733 PyObject *resultobj;
15734 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15735 wxSize *arg2 = 0 ;
15736 wxSize temp2 ;
15737 PyObject * obj0 = 0 ;
15738 PyObject * obj1 = 0 ;
15739 char *kwnames[] = {
15740 (char *) "self",(char *) "size", NULL
15741 };
15742
15743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
15744 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15745 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15746 {
15747 arg2 = &temp2;
15748 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
15749 }
15750 {
15751 PyThreadState* __tstate = wxPyBeginAllowThreads();
15752 (arg1)->SetBestSize((wxSize const &)*arg2);
15753
15754 wxPyEndAllowThreads(__tstate);
15755 if (PyErr_Occurred()) SWIG_fail;
15756 }
15757 Py_INCREF(Py_None); resultobj = Py_None;
15758 return resultobj;
15759 fail:
15760 return NULL;
15761 }
15762
15763
15764 static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
15765 PyObject *resultobj;
15766 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15767 int arg2 ;
15768 int arg3 ;
15769 int arg4 ;
15770 int arg5 ;
15771 PyObject * obj0 = 0 ;
15772 PyObject * obj1 = 0 ;
15773 PyObject * obj2 = 0 ;
15774 PyObject * obj3 = 0 ;
15775 PyObject * obj4 = 0 ;
15776 char *kwnames[] = {
15777 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15778 };
15779
15780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15781 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15782 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15783 arg2 = (int)SWIG_As_int(obj1);
15784 if (PyErr_Occurred()) SWIG_fail;
15785 arg3 = (int)SWIG_As_int(obj2);
15786 if (PyErr_Occurred()) SWIG_fail;
15787 arg4 = (int)SWIG_As_int(obj3);
15788 if (PyErr_Occurred()) SWIG_fail;
15789 arg5 = (int)SWIG_As_int(obj4);
15790 if (PyErr_Occurred()) SWIG_fail;
15791 {
15792 PyThreadState* __tstate = wxPyBeginAllowThreads();
15793 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
15794
15795 wxPyEndAllowThreads(__tstate);
15796 if (PyErr_Occurred()) SWIG_fail;
15797 }
15798 Py_INCREF(Py_None); resultobj = Py_None;
15799 return resultobj;
15800 fail:
15801 return NULL;
15802 }
15803
15804
15805 static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
15806 PyObject *resultobj;
15807 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15808 int arg2 ;
15809 int arg3 ;
15810 int arg4 ;
15811 int arg5 ;
15812 int arg6 = (int) wxSIZE_AUTO ;
15813 PyObject * obj0 = 0 ;
15814 PyObject * obj1 = 0 ;
15815 PyObject * obj2 = 0 ;
15816 PyObject * obj3 = 0 ;
15817 PyObject * obj4 = 0 ;
15818 PyObject * obj5 = 0 ;
15819 char *kwnames[] = {
15820 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15821 };
15822
15823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15824 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15825 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15826 arg2 = (int)SWIG_As_int(obj1);
15827 if (PyErr_Occurred()) SWIG_fail;
15828 arg3 = (int)SWIG_As_int(obj2);
15829 if (PyErr_Occurred()) SWIG_fail;
15830 arg4 = (int)SWIG_As_int(obj3);
15831 if (PyErr_Occurred()) SWIG_fail;
15832 arg5 = (int)SWIG_As_int(obj4);
15833 if (PyErr_Occurred()) SWIG_fail;
15834 if (obj5) {
15835 arg6 = (int)SWIG_As_int(obj5);
15836 if (PyErr_Occurred()) SWIG_fail;
15837 }
15838 {
15839 PyThreadState* __tstate = wxPyBeginAllowThreads();
15840 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
15841
15842 wxPyEndAllowThreads(__tstate);
15843 if (PyErr_Occurred()) SWIG_fail;
15844 }
15845 Py_INCREF(Py_None); resultobj = Py_None;
15846 return resultobj;
15847 fail:
15848 return NULL;
15849 }
15850
15851
15852 static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
15853 PyObject *resultobj;
15854 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15855 int arg2 ;
15856 int arg3 ;
15857 PyObject * obj0 = 0 ;
15858 PyObject * obj1 = 0 ;
15859 PyObject * obj2 = 0 ;
15860 char *kwnames[] = {
15861 (char *) "self",(char *) "width",(char *) "height", NULL
15862 };
15863
15864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15865 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15866 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15867 arg2 = (int)SWIG_As_int(obj1);
15868 if (PyErr_Occurred()) SWIG_fail;
15869 arg3 = (int)SWIG_As_int(obj2);
15870 if (PyErr_Occurred()) SWIG_fail;
15871 {
15872 PyThreadState* __tstate = wxPyBeginAllowThreads();
15873 (arg1)->base_DoSetClientSize(arg2,arg3);
15874
15875 wxPyEndAllowThreads(__tstate);
15876 if (PyErr_Occurred()) SWIG_fail;
15877 }
15878 Py_INCREF(Py_None); resultobj = Py_None;
15879 return resultobj;
15880 fail:
15881 return NULL;
15882 }
15883
15884
15885 static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
15886 PyObject *resultobj;
15887 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15888 int arg2 ;
15889 int arg3 ;
15890 PyObject * obj0 = 0 ;
15891 PyObject * obj1 = 0 ;
15892 PyObject * obj2 = 0 ;
15893 char *kwnames[] = {
15894 (char *) "self",(char *) "x",(char *) "y", NULL
15895 };
15896
15897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15898 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15899 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15900 arg2 = (int)SWIG_As_int(obj1);
15901 if (PyErr_Occurred()) SWIG_fail;
15902 arg3 = (int)SWIG_As_int(obj2);
15903 if (PyErr_Occurred()) SWIG_fail;
15904 {
15905 PyThreadState* __tstate = wxPyBeginAllowThreads();
15906 (arg1)->base_DoSetVirtualSize(arg2,arg3);
15907
15908 wxPyEndAllowThreads(__tstate);
15909 if (PyErr_Occurred()) SWIG_fail;
15910 }
15911 Py_INCREF(Py_None); resultobj = Py_None;
15912 return resultobj;
15913 fail:
15914 return NULL;
15915 }
15916
15917
15918 static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
15919 PyObject *resultobj;
15920 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15921 int *arg2 = (int *) 0 ;
15922 int *arg3 = (int *) 0 ;
15923 int temp2 ;
15924 int res2 = 0 ;
15925 int temp3 ;
15926 int res3 = 0 ;
15927 PyObject * obj0 = 0 ;
15928 char *kwnames[] = {
15929 (char *) "self", NULL
15930 };
15931
15932 arg2 = &temp2; res2 = SWIG_NEWOBJ;
15933 arg3 = &temp3; res3 = SWIG_NEWOBJ;
15934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
15935 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15936 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15937 {
15938 PyThreadState* __tstate = wxPyBeginAllowThreads();
15939 ((wxPyWindow const *)arg1)->base_DoGetSize(arg2,arg3);
15940
15941 wxPyEndAllowThreads(__tstate);
15942 if (PyErr_Occurred()) SWIG_fail;
15943 }
15944 Py_INCREF(Py_None); resultobj = Py_None;
15945 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
15946 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
15947 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
15948 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
15949 return resultobj;
15950 fail:
15951 return NULL;
15952 }
15953
15954
15955 static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
15956 PyObject *resultobj;
15957 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15958 int *arg2 = (int *) 0 ;
15959 int *arg3 = (int *) 0 ;
15960 int temp2 ;
15961 int res2 = 0 ;
15962 int temp3 ;
15963 int res3 = 0 ;
15964 PyObject * obj0 = 0 ;
15965 char *kwnames[] = {
15966 (char *) "self", NULL
15967 };
15968
15969 arg2 = &temp2; res2 = SWIG_NEWOBJ;
15970 arg3 = &temp3; res3 = SWIG_NEWOBJ;
15971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
15972 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15973 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15974 {
15975 PyThreadState* __tstate = wxPyBeginAllowThreads();
15976 ((wxPyWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
15977
15978 wxPyEndAllowThreads(__tstate);
15979 if (PyErr_Occurred()) SWIG_fail;
15980 }
15981 Py_INCREF(Py_None); resultobj = Py_None;
15982 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
15983 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
15984 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
15985 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
15986 return resultobj;
15987 fail:
15988 return NULL;
15989 }
15990
15991
15992 static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
15993 PyObject *resultobj;
15994 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15995 int *arg2 = (int *) 0 ;
15996 int *arg3 = (int *) 0 ;
15997 int temp2 ;
15998 int res2 = 0 ;
15999 int temp3 ;
16000 int res3 = 0 ;
16001 PyObject * obj0 = 0 ;
16002 char *kwnames[] = {
16003 (char *) "self", NULL
16004 };
16005
16006 arg2 = &temp2; res2 = SWIG_NEWOBJ;
16007 arg3 = &temp3; res3 = SWIG_NEWOBJ;
16008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
16009 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16010 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16011 {
16012 PyThreadState* __tstate = wxPyBeginAllowThreads();
16013 ((wxPyWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
16014
16015 wxPyEndAllowThreads(__tstate);
16016 if (PyErr_Occurred()) SWIG_fail;
16017 }
16018 Py_INCREF(Py_None); resultobj = Py_None;
16019 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
16020 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
16021 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
16022 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
16023 return resultobj;
16024 fail:
16025 return NULL;
16026 }
16027
16028
16029 static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
16030 PyObject *resultobj;
16031 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16032 wxSize result;
16033 PyObject * obj0 = 0 ;
16034 char *kwnames[] = {
16035 (char *) "self", NULL
16036 };
16037
16038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
16039 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16040 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16041 {
16042 PyThreadState* __tstate = wxPyBeginAllowThreads();
16043 result = ((wxPyWindow const *)arg1)->base_DoGetVirtualSize();
16044
16045 wxPyEndAllowThreads(__tstate);
16046 if (PyErr_Occurred()) SWIG_fail;
16047 }
16048 {
16049 wxSize * resultptr;
16050 resultptr = new wxSize((wxSize &) result);
16051 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16052 }
16053 return resultobj;
16054 fail:
16055 return NULL;
16056 }
16057
16058
16059 static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
16060 PyObject *resultobj;
16061 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16062 wxSize result;
16063 PyObject * obj0 = 0 ;
16064 char *kwnames[] = {
16065 (char *) "self", NULL
16066 };
16067
16068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
16069 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16070 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16071 {
16072 PyThreadState* __tstate = wxPyBeginAllowThreads();
16073 result = ((wxPyWindow const *)arg1)->base_DoGetBestSize();
16074
16075 wxPyEndAllowThreads(__tstate);
16076 if (PyErr_Occurred()) SWIG_fail;
16077 }
16078 {
16079 wxSize * resultptr;
16080 resultptr = new wxSize((wxSize &) result);
16081 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16082 }
16083 return resultobj;
16084 fail:
16085 return NULL;
16086 }
16087
16088
16089 static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
16090 PyObject *resultobj;
16091 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16092 PyObject * obj0 = 0 ;
16093 char *kwnames[] = {
16094 (char *) "self", NULL
16095 };
16096
16097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_InitDialog",kwnames,&obj0)) goto fail;
16098 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16099 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16100 {
16101 PyThreadState* __tstate = wxPyBeginAllowThreads();
16102 (arg1)->base_InitDialog();
16103
16104 wxPyEndAllowThreads(__tstate);
16105 if (PyErr_Occurred()) SWIG_fail;
16106 }
16107 Py_INCREF(Py_None); resultobj = Py_None;
16108 return resultobj;
16109 fail:
16110 return NULL;
16111 }
16112
16113
16114 static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
16115 PyObject *resultobj;
16116 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16117 bool result;
16118 PyObject * obj0 = 0 ;
16119 char *kwnames[] = {
16120 (char *) "self", NULL
16121 };
16122
16123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
16124 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16125 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16126 {
16127 PyThreadState* __tstate = wxPyBeginAllowThreads();
16128 result = (bool)(arg1)->base_TransferDataToWindow();
16129
16130 wxPyEndAllowThreads(__tstate);
16131 if (PyErr_Occurred()) SWIG_fail;
16132 }
16133 {
16134 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16135 }
16136 return resultobj;
16137 fail:
16138 return NULL;
16139 }
16140
16141
16142 static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
16143 PyObject *resultobj;
16144 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16145 bool result;
16146 PyObject * obj0 = 0 ;
16147 char *kwnames[] = {
16148 (char *) "self", NULL
16149 };
16150
16151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
16152 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16153 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16154 {
16155 PyThreadState* __tstate = wxPyBeginAllowThreads();
16156 result = (bool)(arg1)->base_TransferDataFromWindow();
16157
16158 wxPyEndAllowThreads(__tstate);
16159 if (PyErr_Occurred()) SWIG_fail;
16160 }
16161 {
16162 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16163 }
16164 return resultobj;
16165 fail:
16166 return NULL;
16167 }
16168
16169
16170 static PyObject *_wrap_PyWindow_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
16171 PyObject *resultobj;
16172 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16173 bool result;
16174 PyObject * obj0 = 0 ;
16175 char *kwnames[] = {
16176 (char *) "self", NULL
16177 };
16178
16179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_Validate",kwnames,&obj0)) goto fail;
16180 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16181 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16182 {
16183 PyThreadState* __tstate = wxPyBeginAllowThreads();
16184 result = (bool)(arg1)->base_Validate();
16185
16186 wxPyEndAllowThreads(__tstate);
16187 if (PyErr_Occurred()) SWIG_fail;
16188 }
16189 {
16190 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16191 }
16192 return resultobj;
16193 fail:
16194 return NULL;
16195 }
16196
16197
16198 static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
16199 PyObject *resultobj;
16200 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16201 bool result;
16202 PyObject * obj0 = 0 ;
16203 char *kwnames[] = {
16204 (char *) "self", NULL
16205 };
16206
16207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
16208 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16209 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16210 {
16211 PyThreadState* __tstate = wxPyBeginAllowThreads();
16212 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocus();
16213
16214 wxPyEndAllowThreads(__tstate);
16215 if (PyErr_Occurred()) SWIG_fail;
16216 }
16217 {
16218 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16219 }
16220 return resultobj;
16221 fail:
16222 return NULL;
16223 }
16224
16225
16226 static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
16227 PyObject *resultobj;
16228 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16229 bool result;
16230 PyObject * obj0 = 0 ;
16231 char *kwnames[] = {
16232 (char *) "self", NULL
16233 };
16234
16235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
16236 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16237 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16238 {
16239 PyThreadState* __tstate = wxPyBeginAllowThreads();
16240 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
16241
16242 wxPyEndAllowThreads(__tstate);
16243 if (PyErr_Occurred()) SWIG_fail;
16244 }
16245 {
16246 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16247 }
16248 return resultobj;
16249 fail:
16250 return NULL;
16251 }
16252
16253
16254 static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
16255 PyObject *resultobj;
16256 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16257 wxSize result;
16258 PyObject * obj0 = 0 ;
16259 char *kwnames[] = {
16260 (char *) "self", NULL
16261 };
16262
16263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
16264 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16266 {
16267 PyThreadState* __tstate = wxPyBeginAllowThreads();
16268 result = ((wxPyWindow const *)arg1)->base_GetMaxSize();
16269
16270 wxPyEndAllowThreads(__tstate);
16271 if (PyErr_Occurred()) SWIG_fail;
16272 }
16273 {
16274 wxSize * resultptr;
16275 resultptr = new wxSize((wxSize &) result);
16276 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16277 }
16278 return resultobj;
16279 fail:
16280 return NULL;
16281 }
16282
16283
16284 static PyObject *_wrap_PyWindow_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
16285 PyObject *resultobj;
16286 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16287 wxWindow *arg2 = (wxWindow *) 0 ;
16288 PyObject * obj0 = 0 ;
16289 PyObject * obj1 = 0 ;
16290 char *kwnames[] = {
16291 (char *) "self",(char *) "child", NULL
16292 };
16293
16294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
16295 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16296 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16297 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16299 {
16300 PyThreadState* __tstate = wxPyBeginAllowThreads();
16301 (arg1)->base_AddChild(arg2);
16302
16303 wxPyEndAllowThreads(__tstate);
16304 if (PyErr_Occurred()) SWIG_fail;
16305 }
16306 Py_INCREF(Py_None); resultobj = Py_None;
16307 return resultobj;
16308 fail:
16309 return NULL;
16310 }
16311
16312
16313 static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
16314 PyObject *resultobj;
16315 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16316 wxWindow *arg2 = (wxWindow *) 0 ;
16317 PyObject * obj0 = 0 ;
16318 PyObject * obj1 = 0 ;
16319 char *kwnames[] = {
16320 (char *) "self",(char *) "child", NULL
16321 };
16322
16323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
16324 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16325 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16326 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16327 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16328 {
16329 PyThreadState* __tstate = wxPyBeginAllowThreads();
16330 (arg1)->base_RemoveChild(arg2);
16331
16332 wxPyEndAllowThreads(__tstate);
16333 if (PyErr_Occurred()) SWIG_fail;
16334 }
16335 Py_INCREF(Py_None); resultobj = Py_None;
16336 return resultobj;
16337 fail:
16338 return NULL;
16339 }
16340
16341
16342 static PyObject *_wrap_PyWindow_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
16343 PyObject *resultobj;
16344 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16345 bool result;
16346 PyObject * obj0 = 0 ;
16347 char *kwnames[] = {
16348 (char *) "self", NULL
16349 };
16350
16351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
16352 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16353 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16354 {
16355 PyThreadState* __tstate = wxPyBeginAllowThreads();
16356 result = (bool)((wxPyWindow const *)arg1)->base_ShouldInheritColours();
16357
16358 wxPyEndAllowThreads(__tstate);
16359 if (PyErr_Occurred()) SWIG_fail;
16360 }
16361 {
16362 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16363 }
16364 return resultobj;
16365 fail:
16366 return NULL;
16367 }
16368
16369
16370 static PyObject *_wrap_PyWindow_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) {
16371 PyObject *resultobj;
16372 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16373 wxColour *arg2 = 0 ;
16374 wxColour temp2 ;
16375 PyObject * obj0 = 0 ;
16376 PyObject * obj1 = 0 ;
16377 char *kwnames[] = {
16378 (char *) "self",(char *) "c", NULL
16379 };
16380
16381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
16382 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16383 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16384 {
16385 arg2 = &temp2;
16386 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16387 }
16388 {
16389 PyThreadState* __tstate = wxPyBeginAllowThreads();
16390 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
16391
16392 wxPyEndAllowThreads(__tstate);
16393 if (PyErr_Occurred()) SWIG_fail;
16394 }
16395 Py_INCREF(Py_None); resultobj = Py_None;
16396 return resultobj;
16397 fail:
16398 return NULL;
16399 }
16400
16401
16402 static PyObject *_wrap_PyWindow_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
16403 PyObject *resultobj;
16404 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16405 wxVisualAttributes result;
16406 PyObject * obj0 = 0 ;
16407 char *kwnames[] = {
16408 (char *) "self", NULL
16409 };
16410
16411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
16412 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16413 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16414 {
16415 PyThreadState* __tstate = wxPyBeginAllowThreads();
16416 result = (arg1)->base_GetDefaultAttributes();
16417
16418 wxPyEndAllowThreads(__tstate);
16419 if (PyErr_Occurred()) SWIG_fail;
16420 }
16421 {
16422 wxVisualAttributes * resultptr;
16423 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
16424 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
16425 }
16426 return resultobj;
16427 fail:
16428 return NULL;
16429 }
16430
16431
16432 static PyObject * PyWindow_swigregister(PyObject *, PyObject *args) {
16433 PyObject *obj;
16434 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16435 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj);
16436 Py_INCREF(obj);
16437 return Py_BuildValue((char *)"");
16438 }
16439 static PyObject *_wrap_new_PyPanel(PyObject *, PyObject *args, PyObject *kwargs) {
16440 PyObject *resultobj;
16441 wxWindow *arg1 = (wxWindow *) 0 ;
16442 int arg2 = (int) (int)-1 ;
16443 wxPoint const &arg3_defvalue = wxDefaultPosition ;
16444 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
16445 wxSize const &arg4_defvalue = wxDefaultSize ;
16446 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
16447 long arg5 = (long) 0 ;
16448 wxString const &arg6_defvalue = wxPyPanelNameStr ;
16449 wxString *arg6 = (wxString *) &arg6_defvalue ;
16450 wxPyPanel *result;
16451 wxPoint temp3 ;
16452 wxSize temp4 ;
16453 bool temp6 = false ;
16454 PyObject * obj0 = 0 ;
16455 PyObject * obj1 = 0 ;
16456 PyObject * obj2 = 0 ;
16457 PyObject * obj3 = 0 ;
16458 PyObject * obj4 = 0 ;
16459 PyObject * obj5 = 0 ;
16460 char *kwnames[] = {
16461 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16462 };
16463
16464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16465 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
16466 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16467 if (obj1) {
16468 arg2 = (int)SWIG_As_int(obj1);
16469 if (PyErr_Occurred()) SWIG_fail;
16470 }
16471 if (obj2) {
16472 {
16473 arg3 = &temp3;
16474 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
16475 }
16476 }
16477 if (obj3) {
16478 {
16479 arg4 = &temp4;
16480 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
16481 }
16482 }
16483 if (obj4) {
16484 arg5 = (long)SWIG_As_long(obj4);
16485 if (PyErr_Occurred()) SWIG_fail;
16486 }
16487 if (obj5) {
16488 {
16489 arg6 = wxString_in_helper(obj5);
16490 if (arg6 == NULL) SWIG_fail;
16491 temp6 = true;
16492 }
16493 }
16494 {
16495 if (!wxPyCheckForApp()) SWIG_fail;
16496 PyThreadState* __tstate = wxPyBeginAllowThreads();
16497 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
16498
16499 wxPyEndAllowThreads(__tstate);
16500 if (PyErr_Occurred()) SWIG_fail;
16501 }
16502 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
16503 {
16504 if (temp6)
16505 delete arg6;
16506 }
16507 return resultobj;
16508 fail:
16509 {
16510 if (temp6)
16511 delete arg6;
16512 }
16513 return NULL;
16514 }
16515
16516
16517 static PyObject *_wrap_new_PrePyPanel(PyObject *, PyObject *args, PyObject *kwargs) {
16518 PyObject *resultobj;
16519 wxPyPanel *result;
16520 char *kwnames[] = {
16521 NULL
16522 };
16523
16524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyPanel",kwnames)) goto fail;
16525 {
16526 if (!wxPyCheckForApp()) SWIG_fail;
16527 PyThreadState* __tstate = wxPyBeginAllowThreads();
16528 result = (wxPyPanel *)new wxPyPanel();
16529
16530 wxPyEndAllowThreads(__tstate);
16531 if (PyErr_Occurred()) SWIG_fail;
16532 }
16533 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
16534 return resultobj;
16535 fail:
16536 return NULL;
16537 }
16538
16539
16540 static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
16541 PyObject *resultobj;
16542 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16543 PyObject *arg2 = (PyObject *) 0 ;
16544 PyObject *arg3 = (PyObject *) 0 ;
16545 PyObject * obj0 = 0 ;
16546 PyObject * obj1 = 0 ;
16547 PyObject * obj2 = 0 ;
16548 char *kwnames[] = {
16549 (char *) "self",(char *) "self",(char *) "_class", NULL
16550 };
16551
16552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
16553 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16554 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16555 arg2 = obj1;
16556 arg3 = obj2;
16557 {
16558 PyThreadState* __tstate = wxPyBeginAllowThreads();
16559 (arg1)->_setCallbackInfo(arg2,arg3);
16560
16561 wxPyEndAllowThreads(__tstate);
16562 if (PyErr_Occurred()) SWIG_fail;
16563 }
16564 Py_INCREF(Py_None); resultobj = Py_None;
16565 return resultobj;
16566 fail:
16567 return NULL;
16568 }
16569
16570
16571 static PyObject *_wrap_PyPanel_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
16572 PyObject *resultobj;
16573 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16574 wxSize *arg2 = 0 ;
16575 wxSize temp2 ;
16576 PyObject * obj0 = 0 ;
16577 PyObject * obj1 = 0 ;
16578 char *kwnames[] = {
16579 (char *) "self",(char *) "size", NULL
16580 };
16581
16582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
16583 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16584 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16585 {
16586 arg2 = &temp2;
16587 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16588 }
16589 {
16590 PyThreadState* __tstate = wxPyBeginAllowThreads();
16591 (arg1)->SetBestSize((wxSize const &)*arg2);
16592
16593 wxPyEndAllowThreads(__tstate);
16594 if (PyErr_Occurred()) SWIG_fail;
16595 }
16596 Py_INCREF(Py_None); resultobj = Py_None;
16597 return resultobj;
16598 fail:
16599 return NULL;
16600 }
16601
16602
16603 static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
16604 PyObject *resultobj;
16605 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16606 int arg2 ;
16607 int arg3 ;
16608 int arg4 ;
16609 int arg5 ;
16610 PyObject * obj0 = 0 ;
16611 PyObject * obj1 = 0 ;
16612 PyObject * obj2 = 0 ;
16613 PyObject * obj3 = 0 ;
16614 PyObject * obj4 = 0 ;
16615 char *kwnames[] = {
16616 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16617 };
16618
16619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16620 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16621 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16622 arg2 = (int)SWIG_As_int(obj1);
16623 if (PyErr_Occurred()) SWIG_fail;
16624 arg3 = (int)SWIG_As_int(obj2);
16625 if (PyErr_Occurred()) SWIG_fail;
16626 arg4 = (int)SWIG_As_int(obj3);
16627 if (PyErr_Occurred()) SWIG_fail;
16628 arg5 = (int)SWIG_As_int(obj4);
16629 if (PyErr_Occurred()) SWIG_fail;
16630 {
16631 PyThreadState* __tstate = wxPyBeginAllowThreads();
16632 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
16633
16634 wxPyEndAllowThreads(__tstate);
16635 if (PyErr_Occurred()) SWIG_fail;
16636 }
16637 Py_INCREF(Py_None); resultobj = Py_None;
16638 return resultobj;
16639 fail:
16640 return NULL;
16641 }
16642
16643
16644 static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
16645 PyObject *resultobj;
16646 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16647 int arg2 ;
16648 int arg3 ;
16649 int arg4 ;
16650 int arg5 ;
16651 int arg6 = (int) wxSIZE_AUTO ;
16652 PyObject * obj0 = 0 ;
16653 PyObject * obj1 = 0 ;
16654 PyObject * obj2 = 0 ;
16655 PyObject * obj3 = 0 ;
16656 PyObject * obj4 = 0 ;
16657 PyObject * obj5 = 0 ;
16658 char *kwnames[] = {
16659 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
16660 };
16661
16662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16663 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16664 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16665 arg2 = (int)SWIG_As_int(obj1);
16666 if (PyErr_Occurred()) SWIG_fail;
16667 arg3 = (int)SWIG_As_int(obj2);
16668 if (PyErr_Occurred()) SWIG_fail;
16669 arg4 = (int)SWIG_As_int(obj3);
16670 if (PyErr_Occurred()) SWIG_fail;
16671 arg5 = (int)SWIG_As_int(obj4);
16672 if (PyErr_Occurred()) SWIG_fail;
16673 if (obj5) {
16674 arg6 = (int)SWIG_As_int(obj5);
16675 if (PyErr_Occurred()) SWIG_fail;
16676 }
16677 {
16678 PyThreadState* __tstate = wxPyBeginAllowThreads();
16679 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
16680
16681 wxPyEndAllowThreads(__tstate);
16682 if (PyErr_Occurred()) SWIG_fail;
16683 }
16684 Py_INCREF(Py_None); resultobj = Py_None;
16685 return resultobj;
16686 fail:
16687 return NULL;
16688 }
16689
16690
16691 static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
16692 PyObject *resultobj;
16693 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16694 int arg2 ;
16695 int arg3 ;
16696 PyObject * obj0 = 0 ;
16697 PyObject * obj1 = 0 ;
16698 PyObject * obj2 = 0 ;
16699 char *kwnames[] = {
16700 (char *) "self",(char *) "width",(char *) "height", NULL
16701 };
16702
16703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16704 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16705 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16706 arg2 = (int)SWIG_As_int(obj1);
16707 if (PyErr_Occurred()) SWIG_fail;
16708 arg3 = (int)SWIG_As_int(obj2);
16709 if (PyErr_Occurred()) SWIG_fail;
16710 {
16711 PyThreadState* __tstate = wxPyBeginAllowThreads();
16712 (arg1)->base_DoSetClientSize(arg2,arg3);
16713
16714 wxPyEndAllowThreads(__tstate);
16715 if (PyErr_Occurred()) SWIG_fail;
16716 }
16717 Py_INCREF(Py_None); resultobj = Py_None;
16718 return resultobj;
16719 fail:
16720 return NULL;
16721 }
16722
16723
16724 static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
16725 PyObject *resultobj;
16726 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16727 int arg2 ;
16728 int arg3 ;
16729 PyObject * obj0 = 0 ;
16730 PyObject * obj1 = 0 ;
16731 PyObject * obj2 = 0 ;
16732 char *kwnames[] = {
16733 (char *) "self",(char *) "x",(char *) "y", NULL
16734 };
16735
16736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16737 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16738 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16739 arg2 = (int)SWIG_As_int(obj1);
16740 if (PyErr_Occurred()) SWIG_fail;
16741 arg3 = (int)SWIG_As_int(obj2);
16742 if (PyErr_Occurred()) SWIG_fail;
16743 {
16744 PyThreadState* __tstate = wxPyBeginAllowThreads();
16745 (arg1)->base_DoSetVirtualSize(arg2,arg3);
16746
16747 wxPyEndAllowThreads(__tstate);
16748 if (PyErr_Occurred()) SWIG_fail;
16749 }
16750 Py_INCREF(Py_None); resultobj = Py_None;
16751 return resultobj;
16752 fail:
16753 return NULL;
16754 }
16755
16756
16757 static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
16758 PyObject *resultobj;
16759 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16760 int *arg2 = (int *) 0 ;
16761 int *arg3 = (int *) 0 ;
16762 int temp2 ;
16763 int res2 = 0 ;
16764 int temp3 ;
16765 int res3 = 0 ;
16766 PyObject * obj0 = 0 ;
16767 char *kwnames[] = {
16768 (char *) "self", NULL
16769 };
16770
16771 arg2 = &temp2; res2 = SWIG_NEWOBJ;
16772 arg3 = &temp3; res3 = SWIG_NEWOBJ;
16773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetSize",kwnames,&obj0)) goto fail;
16774 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16775 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16776 {
16777 PyThreadState* __tstate = wxPyBeginAllowThreads();
16778 ((wxPyPanel const *)arg1)->base_DoGetSize(arg2,arg3);
16779
16780 wxPyEndAllowThreads(__tstate);
16781 if (PyErr_Occurred()) SWIG_fail;
16782 }
16783 Py_INCREF(Py_None); resultobj = Py_None;
16784 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
16785 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
16786 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
16787 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
16788 return resultobj;
16789 fail:
16790 return NULL;
16791 }
16792
16793
16794 static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
16795 PyObject *resultobj;
16796 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16797 int *arg2 = (int *) 0 ;
16798 int *arg3 = (int *) 0 ;
16799 int temp2 ;
16800 int res2 = 0 ;
16801 int temp3 ;
16802 int res3 = 0 ;
16803 PyObject * obj0 = 0 ;
16804 char *kwnames[] = {
16805 (char *) "self", NULL
16806 };
16807
16808 arg2 = &temp2; res2 = SWIG_NEWOBJ;
16809 arg3 = &temp3; res3 = SWIG_NEWOBJ;
16810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetClientSize",kwnames,&obj0)) goto fail;
16811 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16812 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16813 {
16814 PyThreadState* __tstate = wxPyBeginAllowThreads();
16815 ((wxPyPanel const *)arg1)->base_DoGetClientSize(arg2,arg3);
16816
16817 wxPyEndAllowThreads(__tstate);
16818 if (PyErr_Occurred()) SWIG_fail;
16819 }
16820 Py_INCREF(Py_None); resultobj = Py_None;
16821 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
16822 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
16823 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
16824 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
16825 return resultobj;
16826 fail:
16827 return NULL;
16828 }
16829
16830
16831 static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
16832 PyObject *resultobj;
16833 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16834 int *arg2 = (int *) 0 ;
16835 int *arg3 = (int *) 0 ;
16836 int temp2 ;
16837 int res2 = 0 ;
16838 int temp3 ;
16839 int res3 = 0 ;
16840 PyObject * obj0 = 0 ;
16841 char *kwnames[] = {
16842 (char *) "self", NULL
16843 };
16844
16845 arg2 = &temp2; res2 = SWIG_NEWOBJ;
16846 arg3 = &temp3; res3 = SWIG_NEWOBJ;
16847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetPosition",kwnames,&obj0)) goto fail;
16848 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16849 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16850 {
16851 PyThreadState* __tstate = wxPyBeginAllowThreads();
16852 ((wxPyPanel const *)arg1)->base_DoGetPosition(arg2,arg3);
16853
16854 wxPyEndAllowThreads(__tstate);
16855 if (PyErr_Occurred()) SWIG_fail;
16856 }
16857 Py_INCREF(Py_None); resultobj = Py_None;
16858 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
16859 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
16860 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
16861 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
16862 return resultobj;
16863 fail:
16864 return NULL;
16865 }
16866
16867
16868 static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
16869 PyObject *resultobj;
16870 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16871 wxSize result;
16872 PyObject * obj0 = 0 ;
16873 char *kwnames[] = {
16874 (char *) "self", NULL
16875 };
16876
16877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
16878 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16879 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16880 {
16881 PyThreadState* __tstate = wxPyBeginAllowThreads();
16882 result = ((wxPyPanel const *)arg1)->base_DoGetVirtualSize();
16883
16884 wxPyEndAllowThreads(__tstate);
16885 if (PyErr_Occurred()) SWIG_fail;
16886 }
16887 {
16888 wxSize * resultptr;
16889 resultptr = new wxSize((wxSize &) result);
16890 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16891 }
16892 return resultobj;
16893 fail:
16894 return NULL;
16895 }
16896
16897
16898 static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
16899 PyObject *resultobj;
16900 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16901 wxSize result;
16902 PyObject * obj0 = 0 ;
16903 char *kwnames[] = {
16904 (char *) "self", NULL
16905 };
16906
16907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetBestSize",kwnames,&obj0)) goto fail;
16908 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16909 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16910 {
16911 PyThreadState* __tstate = wxPyBeginAllowThreads();
16912 result = ((wxPyPanel const *)arg1)->base_DoGetBestSize();
16913
16914 wxPyEndAllowThreads(__tstate);
16915 if (PyErr_Occurred()) SWIG_fail;
16916 }
16917 {
16918 wxSize * resultptr;
16919 resultptr = new wxSize((wxSize &) result);
16920 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16921 }
16922 return resultobj;
16923 fail:
16924 return NULL;
16925 }
16926
16927
16928 static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
16929 PyObject *resultobj;
16930 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16931 PyObject * obj0 = 0 ;
16932 char *kwnames[] = {
16933 (char *) "self", NULL
16934 };
16935
16936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_InitDialog",kwnames,&obj0)) goto fail;
16937 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16938 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16939 {
16940 PyThreadState* __tstate = wxPyBeginAllowThreads();
16941 (arg1)->base_InitDialog();
16942
16943 wxPyEndAllowThreads(__tstate);
16944 if (PyErr_Occurred()) SWIG_fail;
16945 }
16946 Py_INCREF(Py_None); resultobj = Py_None;
16947 return resultobj;
16948 fail:
16949 return NULL;
16950 }
16951
16952
16953 static PyObject *_wrap_PyPanel_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
16954 PyObject *resultobj;
16955 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16956 bool result;
16957 PyObject * obj0 = 0 ;
16958 char *kwnames[] = {
16959 (char *) "self", NULL
16960 };
16961
16962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
16963 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16964 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16965 {
16966 PyThreadState* __tstate = wxPyBeginAllowThreads();
16967 result = (bool)(arg1)->base_TransferDataToWindow();
16968
16969 wxPyEndAllowThreads(__tstate);
16970 if (PyErr_Occurred()) SWIG_fail;
16971 }
16972 {
16973 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16974 }
16975 return resultobj;
16976 fail:
16977 return NULL;
16978 }
16979
16980
16981 static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
16982 PyObject *resultobj;
16983 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16984 bool result;
16985 PyObject * obj0 = 0 ;
16986 char *kwnames[] = {
16987 (char *) "self", NULL
16988 };
16989
16990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
16991 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16992 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16993 {
16994 PyThreadState* __tstate = wxPyBeginAllowThreads();
16995 result = (bool)(arg1)->base_TransferDataFromWindow();
16996
16997 wxPyEndAllowThreads(__tstate);
16998 if (PyErr_Occurred()) SWIG_fail;
16999 }
17000 {
17001 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17002 }
17003 return resultobj;
17004 fail:
17005 return NULL;
17006 }
17007
17008
17009 static PyObject *_wrap_PyPanel_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
17010 PyObject *resultobj;
17011 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17012 bool result;
17013 PyObject * obj0 = 0 ;
17014 char *kwnames[] = {
17015 (char *) "self", NULL
17016 };
17017
17018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_Validate",kwnames,&obj0)) goto fail;
17019 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17020 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17021 {
17022 PyThreadState* __tstate = wxPyBeginAllowThreads();
17023 result = (bool)(arg1)->base_Validate();
17024
17025 wxPyEndAllowThreads(__tstate);
17026 if (PyErr_Occurred()) SWIG_fail;
17027 }
17028 {
17029 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17030 }
17031 return resultobj;
17032 fail:
17033 return NULL;
17034 }
17035
17036
17037 static PyObject *_wrap_PyPanel_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
17038 PyObject *resultobj;
17039 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17040 bool result;
17041 PyObject * obj0 = 0 ;
17042 char *kwnames[] = {
17043 (char *) "self", NULL
17044 };
17045
17046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocus",kwnames,&obj0)) goto fail;
17047 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17048 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17049 {
17050 PyThreadState* __tstate = wxPyBeginAllowThreads();
17051 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocus();
17052
17053 wxPyEndAllowThreads(__tstate);
17054 if (PyErr_Occurred()) SWIG_fail;
17055 }
17056 {
17057 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17058 }
17059 return resultobj;
17060 fail:
17061 return NULL;
17062 }
17063
17064
17065 static PyObject *_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
17066 PyObject *resultobj;
17067 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17068 bool result;
17069 PyObject * obj0 = 0 ;
17070 char *kwnames[] = {
17071 (char *) "self", NULL
17072 };
17073
17074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
17075 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17076 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17077 {
17078 PyThreadState* __tstate = wxPyBeginAllowThreads();
17079 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocusFromKeyboard();
17080
17081 wxPyEndAllowThreads(__tstate);
17082 if (PyErr_Occurred()) SWIG_fail;
17083 }
17084 {
17085 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17086 }
17087 return resultobj;
17088 fail:
17089 return NULL;
17090 }
17091
17092
17093 static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
17094 PyObject *resultobj;
17095 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17096 wxSize result;
17097 PyObject * obj0 = 0 ;
17098 char *kwnames[] = {
17099 (char *) "self", NULL
17100 };
17101
17102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetMaxSize",kwnames,&obj0)) goto fail;
17103 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17104 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17105 {
17106 PyThreadState* __tstate = wxPyBeginAllowThreads();
17107 result = ((wxPyPanel const *)arg1)->base_GetMaxSize();
17108
17109 wxPyEndAllowThreads(__tstate);
17110 if (PyErr_Occurred()) SWIG_fail;
17111 }
17112 {
17113 wxSize * resultptr;
17114 resultptr = new wxSize((wxSize &) result);
17115 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17116 }
17117 return resultobj;
17118 fail:
17119 return NULL;
17120 }
17121
17122
17123 static PyObject *_wrap_PyPanel_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
17124 PyObject *resultobj;
17125 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17126 wxWindow *arg2 = (wxWindow *) 0 ;
17127 PyObject * obj0 = 0 ;
17128 PyObject * obj1 = 0 ;
17129 char *kwnames[] = {
17130 (char *) "self",(char *) "child", NULL
17131 };
17132
17133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
17134 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17135 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17136 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17137 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17138 {
17139 PyThreadState* __tstate = wxPyBeginAllowThreads();
17140 (arg1)->base_AddChild(arg2);
17141
17142 wxPyEndAllowThreads(__tstate);
17143 if (PyErr_Occurred()) SWIG_fail;
17144 }
17145 Py_INCREF(Py_None); resultobj = Py_None;
17146 return resultobj;
17147 fail:
17148 return NULL;
17149 }
17150
17151
17152 static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
17153 PyObject *resultobj;
17154 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17155 wxWindow *arg2 = (wxWindow *) 0 ;
17156 PyObject * obj0 = 0 ;
17157 PyObject * obj1 = 0 ;
17158 char *kwnames[] = {
17159 (char *) "self",(char *) "child", NULL
17160 };
17161
17162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
17163 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17164 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17165 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17166 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17167 {
17168 PyThreadState* __tstate = wxPyBeginAllowThreads();
17169 (arg1)->base_RemoveChild(arg2);
17170
17171 wxPyEndAllowThreads(__tstate);
17172 if (PyErr_Occurred()) SWIG_fail;
17173 }
17174 Py_INCREF(Py_None); resultobj = Py_None;
17175 return resultobj;
17176 fail:
17177 return NULL;
17178 }
17179
17180
17181 static PyObject *_wrap_PyPanel_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
17182 PyObject *resultobj;
17183 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17184 bool result;
17185 PyObject * obj0 = 0 ;
17186 char *kwnames[] = {
17187 (char *) "self", NULL
17188 };
17189
17190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
17191 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17192 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17193 {
17194 PyThreadState* __tstate = wxPyBeginAllowThreads();
17195 result = (bool)((wxPyPanel const *)arg1)->base_ShouldInheritColours();
17196
17197 wxPyEndAllowThreads(__tstate);
17198 if (PyErr_Occurred()) SWIG_fail;
17199 }
17200 {
17201 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17202 }
17203 return resultobj;
17204 fail:
17205 return NULL;
17206 }
17207
17208
17209 static PyObject *_wrap_PyPanel_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) {
17210 PyObject *resultobj;
17211 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17212 wxColour *arg2 = 0 ;
17213 wxColour temp2 ;
17214 PyObject * obj0 = 0 ;
17215 PyObject * obj1 = 0 ;
17216 char *kwnames[] = {
17217 (char *) "self",(char *) "c", NULL
17218 };
17219
17220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
17221 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17222 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17223 {
17224 arg2 = &temp2;
17225 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17226 }
17227 {
17228 PyThreadState* __tstate = wxPyBeginAllowThreads();
17229 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
17230
17231 wxPyEndAllowThreads(__tstate);
17232 if (PyErr_Occurred()) SWIG_fail;
17233 }
17234 Py_INCREF(Py_None); resultobj = Py_None;
17235 return resultobj;
17236 fail:
17237 return NULL;
17238 }
17239
17240
17241 static PyObject *_wrap_PyPanel_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
17242 PyObject *resultobj;
17243 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17244 wxVisualAttributes result;
17245 PyObject * obj0 = 0 ;
17246 char *kwnames[] = {
17247 (char *) "self", NULL
17248 };
17249
17250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
17251 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17252 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17253 {
17254 PyThreadState* __tstate = wxPyBeginAllowThreads();
17255 result = (arg1)->base_GetDefaultAttributes();
17256
17257 wxPyEndAllowThreads(__tstate);
17258 if (PyErr_Occurred()) SWIG_fail;
17259 }
17260 {
17261 wxVisualAttributes * resultptr;
17262 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
17263 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
17264 }
17265 return resultobj;
17266 fail:
17267 return NULL;
17268 }
17269
17270
17271 static PyObject * PyPanel_swigregister(PyObject *, PyObject *args) {
17272 PyObject *obj;
17273 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17274 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj);
17275 Py_INCREF(obj);
17276 return Py_BuildValue((char *)"");
17277 }
17278 static PyObject *_wrap_new_PyScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17279 PyObject *resultobj;
17280 wxWindow *arg1 = (wxWindow *) 0 ;
17281 int arg2 = (int) (int)-1 ;
17282 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17283 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17284 wxSize const &arg4_defvalue = wxDefaultSize ;
17285 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17286 long arg5 = (long) 0 ;
17287 wxString const &arg6_defvalue = wxPyPanelNameStr ;
17288 wxString *arg6 = (wxString *) &arg6_defvalue ;
17289 wxPyScrolledWindow *result;
17290 wxPoint temp3 ;
17291 wxSize temp4 ;
17292 bool temp6 = false ;
17293 PyObject * obj0 = 0 ;
17294 PyObject * obj1 = 0 ;
17295 PyObject * obj2 = 0 ;
17296 PyObject * obj3 = 0 ;
17297 PyObject * obj4 = 0 ;
17298 PyObject * obj5 = 0 ;
17299 char *kwnames[] = {
17300 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17301 };
17302
17303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17304 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
17305 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17306 if (obj1) {
17307 arg2 = (int)SWIG_As_int(obj1);
17308 if (PyErr_Occurred()) SWIG_fail;
17309 }
17310 if (obj2) {
17311 {
17312 arg3 = &temp3;
17313 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17314 }
17315 }
17316 if (obj3) {
17317 {
17318 arg4 = &temp4;
17319 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17320 }
17321 }
17322 if (obj4) {
17323 arg5 = (long)SWIG_As_long(obj4);
17324 if (PyErr_Occurred()) SWIG_fail;
17325 }
17326 if (obj5) {
17327 {
17328 arg6 = wxString_in_helper(obj5);
17329 if (arg6 == NULL) SWIG_fail;
17330 temp6 = true;
17331 }
17332 }
17333 {
17334 if (!wxPyCheckForApp()) SWIG_fail;
17335 PyThreadState* __tstate = wxPyBeginAllowThreads();
17336 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17337
17338 wxPyEndAllowThreads(__tstate);
17339 if (PyErr_Occurred()) SWIG_fail;
17340 }
17341 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
17342 {
17343 if (temp6)
17344 delete arg6;
17345 }
17346 return resultobj;
17347 fail:
17348 {
17349 if (temp6)
17350 delete arg6;
17351 }
17352 return NULL;
17353 }
17354
17355
17356 static PyObject *_wrap_new_PrePyScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17357 PyObject *resultobj;
17358 wxPyScrolledWindow *result;
17359 char *kwnames[] = {
17360 NULL
17361 };
17362
17363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyScrolledWindow",kwnames)) goto fail;
17364 {
17365 if (!wxPyCheckForApp()) SWIG_fail;
17366 PyThreadState* __tstate = wxPyBeginAllowThreads();
17367 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
17368
17369 wxPyEndAllowThreads(__tstate);
17370 if (PyErr_Occurred()) SWIG_fail;
17371 }
17372 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
17373 return resultobj;
17374 fail:
17375 return NULL;
17376 }
17377
17378
17379 static PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
17380 PyObject *resultobj;
17381 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17382 PyObject *arg2 = (PyObject *) 0 ;
17383 PyObject *arg3 = (PyObject *) 0 ;
17384 PyObject * obj0 = 0 ;
17385 PyObject * obj1 = 0 ;
17386 PyObject * obj2 = 0 ;
17387 char *kwnames[] = {
17388 (char *) "self",(char *) "self",(char *) "_class", NULL
17389 };
17390
17391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
17392 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17393 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17394 arg2 = obj1;
17395 arg3 = obj2;
17396 {
17397 PyThreadState* __tstate = wxPyBeginAllowThreads();
17398 (arg1)->_setCallbackInfo(arg2,arg3);
17399
17400 wxPyEndAllowThreads(__tstate);
17401 if (PyErr_Occurred()) SWIG_fail;
17402 }
17403 Py_INCREF(Py_None); resultobj = Py_None;
17404 return resultobj;
17405 fail:
17406 return NULL;
17407 }
17408
17409
17410 static PyObject *_wrap_PyScrolledWindow_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
17411 PyObject *resultobj;
17412 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17413 wxSize *arg2 = 0 ;
17414 wxSize temp2 ;
17415 PyObject * obj0 = 0 ;
17416 PyObject * obj1 = 0 ;
17417 char *kwnames[] = {
17418 (char *) "self",(char *) "size", NULL
17419 };
17420
17421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
17422 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17423 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17424 {
17425 arg2 = &temp2;
17426 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17427 }
17428 {
17429 PyThreadState* __tstate = wxPyBeginAllowThreads();
17430 (arg1)->SetBestSize((wxSize const &)*arg2);
17431
17432 wxPyEndAllowThreads(__tstate);
17433 if (PyErr_Occurred()) SWIG_fail;
17434 }
17435 Py_INCREF(Py_None); resultobj = Py_None;
17436 return resultobj;
17437 fail:
17438 return NULL;
17439 }
17440
17441
17442 static PyObject *_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17443 PyObject *resultobj;
17444 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17445 int arg2 ;
17446 int arg3 ;
17447 int arg4 ;
17448 int arg5 ;
17449 PyObject * obj0 = 0 ;
17450 PyObject * obj1 = 0 ;
17451 PyObject * obj2 = 0 ;
17452 PyObject * obj3 = 0 ;
17453 PyObject * obj4 = 0 ;
17454 char *kwnames[] = {
17455 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
17456 };
17457
17458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
17459 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17460 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17461 arg2 = (int)SWIG_As_int(obj1);
17462 if (PyErr_Occurred()) SWIG_fail;
17463 arg3 = (int)SWIG_As_int(obj2);
17464 if (PyErr_Occurred()) SWIG_fail;
17465 arg4 = (int)SWIG_As_int(obj3);
17466 if (PyErr_Occurred()) SWIG_fail;
17467 arg5 = (int)SWIG_As_int(obj4);
17468 if (PyErr_Occurred()) SWIG_fail;
17469 {
17470 PyThreadState* __tstate = wxPyBeginAllowThreads();
17471 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
17472
17473 wxPyEndAllowThreads(__tstate);
17474 if (PyErr_Occurred()) SWIG_fail;
17475 }
17476 Py_INCREF(Py_None); resultobj = Py_None;
17477 return resultobj;
17478 fail:
17479 return NULL;
17480 }
17481
17482
17483 static PyObject *_wrap_PyScrolledWindow_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
17484 PyObject *resultobj;
17485 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17486 int arg2 ;
17487 int arg3 ;
17488 int arg4 ;
17489 int arg5 ;
17490 int arg6 = (int) wxSIZE_AUTO ;
17491 PyObject * obj0 = 0 ;
17492 PyObject * obj1 = 0 ;
17493 PyObject * obj2 = 0 ;
17494 PyObject * obj3 = 0 ;
17495 PyObject * obj4 = 0 ;
17496 PyObject * obj5 = 0 ;
17497 char *kwnames[] = {
17498 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
17499 };
17500
17501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17502 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17503 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17504 arg2 = (int)SWIG_As_int(obj1);
17505 if (PyErr_Occurred()) SWIG_fail;
17506 arg3 = (int)SWIG_As_int(obj2);
17507 if (PyErr_Occurred()) SWIG_fail;
17508 arg4 = (int)SWIG_As_int(obj3);
17509 if (PyErr_Occurred()) SWIG_fail;
17510 arg5 = (int)SWIG_As_int(obj4);
17511 if (PyErr_Occurred()) SWIG_fail;
17512 if (obj5) {
17513 arg6 = (int)SWIG_As_int(obj5);
17514 if (PyErr_Occurred()) SWIG_fail;
17515 }
17516 {
17517 PyThreadState* __tstate = wxPyBeginAllowThreads();
17518 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
17519
17520 wxPyEndAllowThreads(__tstate);
17521 if (PyErr_Occurred()) SWIG_fail;
17522 }
17523 Py_INCREF(Py_None); resultobj = Py_None;
17524 return resultobj;
17525 fail:
17526 return NULL;
17527 }
17528
17529
17530 static PyObject *_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
17531 PyObject *resultobj;
17532 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17533 int arg2 ;
17534 int arg3 ;
17535 PyObject * obj0 = 0 ;
17536 PyObject * obj1 = 0 ;
17537 PyObject * obj2 = 0 ;
17538 char *kwnames[] = {
17539 (char *) "self",(char *) "width",(char *) "height", NULL
17540 };
17541
17542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
17543 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17544 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17545 arg2 = (int)SWIG_As_int(obj1);
17546 if (PyErr_Occurred()) SWIG_fail;
17547 arg3 = (int)SWIG_As_int(obj2);
17548 if (PyErr_Occurred()) SWIG_fail;
17549 {
17550 PyThreadState* __tstate = wxPyBeginAllowThreads();
17551 (arg1)->base_DoSetClientSize(arg2,arg3);
17552
17553 wxPyEndAllowThreads(__tstate);
17554 if (PyErr_Occurred()) SWIG_fail;
17555 }
17556 Py_INCREF(Py_None); resultobj = Py_None;
17557 return resultobj;
17558 fail:
17559 return NULL;
17560 }
17561
17562
17563 static PyObject *_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
17564 PyObject *resultobj;
17565 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17566 int arg2 ;
17567 int arg3 ;
17568 PyObject * obj0 = 0 ;
17569 PyObject * obj1 = 0 ;
17570 PyObject * obj2 = 0 ;
17571 char *kwnames[] = {
17572 (char *) "self",(char *) "x",(char *) "y", NULL
17573 };
17574
17575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
17576 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17577 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17578 arg2 = (int)SWIG_As_int(obj1);
17579 if (PyErr_Occurred()) SWIG_fail;
17580 arg3 = (int)SWIG_As_int(obj2);
17581 if (PyErr_Occurred()) SWIG_fail;
17582 {
17583 PyThreadState* __tstate = wxPyBeginAllowThreads();
17584 (arg1)->base_DoSetVirtualSize(arg2,arg3);
17585
17586 wxPyEndAllowThreads(__tstate);
17587 if (PyErr_Occurred()) SWIG_fail;
17588 }
17589 Py_INCREF(Py_None); resultobj = Py_None;
17590 return resultobj;
17591 fail:
17592 return NULL;
17593 }
17594
17595
17596 static PyObject *_wrap_PyScrolledWindow_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
17597 PyObject *resultobj;
17598 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17599 int *arg2 = (int *) 0 ;
17600 int *arg3 = (int *) 0 ;
17601 int temp2 ;
17602 int res2 = 0 ;
17603 int temp3 ;
17604 int res3 = 0 ;
17605 PyObject * obj0 = 0 ;
17606 char *kwnames[] = {
17607 (char *) "self", NULL
17608 };
17609
17610 arg2 = &temp2; res2 = SWIG_NEWOBJ;
17611 arg3 = &temp3; res3 = SWIG_NEWOBJ;
17612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
17613 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17614 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17615 {
17616 PyThreadState* __tstate = wxPyBeginAllowThreads();
17617 ((wxPyScrolledWindow const *)arg1)->base_DoGetSize(arg2,arg3);
17618
17619 wxPyEndAllowThreads(__tstate);
17620 if (PyErr_Occurred()) SWIG_fail;
17621 }
17622 Py_INCREF(Py_None); resultobj = Py_None;
17623 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
17624 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
17625 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
17626 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
17627 return resultobj;
17628 fail:
17629 return NULL;
17630 }
17631
17632
17633 static PyObject *_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
17634 PyObject *resultobj;
17635 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17636 int *arg2 = (int *) 0 ;
17637 int *arg3 = (int *) 0 ;
17638 int temp2 ;
17639 int res2 = 0 ;
17640 int temp3 ;
17641 int res3 = 0 ;
17642 PyObject * obj0 = 0 ;
17643 char *kwnames[] = {
17644 (char *) "self", NULL
17645 };
17646
17647 arg2 = &temp2; res2 = SWIG_NEWOBJ;
17648 arg3 = &temp3; res3 = SWIG_NEWOBJ;
17649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
17650 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17651 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17652 {
17653 PyThreadState* __tstate = wxPyBeginAllowThreads();
17654 ((wxPyScrolledWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
17655
17656 wxPyEndAllowThreads(__tstate);
17657 if (PyErr_Occurred()) SWIG_fail;
17658 }
17659 Py_INCREF(Py_None); resultobj = Py_None;
17660 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
17661 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
17662 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
17663 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
17664 return resultobj;
17665 fail:
17666 return NULL;
17667 }
17668
17669
17670 static PyObject *_wrap_PyScrolledWindow_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
17671 PyObject *resultobj;
17672 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17673 int *arg2 = (int *) 0 ;
17674 int *arg3 = (int *) 0 ;
17675 int temp2 ;
17676 int res2 = 0 ;
17677 int temp3 ;
17678 int res3 = 0 ;
17679 PyObject * obj0 = 0 ;
17680 char *kwnames[] = {
17681 (char *) "self", NULL
17682 };
17683
17684 arg2 = &temp2; res2 = SWIG_NEWOBJ;
17685 arg3 = &temp3; res3 = SWIG_NEWOBJ;
17686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
17687 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17688 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17689 {
17690 PyThreadState* __tstate = wxPyBeginAllowThreads();
17691 ((wxPyScrolledWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
17692
17693 wxPyEndAllowThreads(__tstate);
17694 if (PyErr_Occurred()) SWIG_fail;
17695 }
17696 Py_INCREF(Py_None); resultobj = Py_None;
17697 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
17698 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
17699 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
17700 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
17701 return resultobj;
17702 fail:
17703 return NULL;
17704 }
17705
17706
17707 static PyObject *_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
17708 PyObject *resultobj;
17709 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17710 wxSize result;
17711 PyObject * obj0 = 0 ;
17712 char *kwnames[] = {
17713 (char *) "self", NULL
17714 };
17715
17716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
17717 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17718 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17719 {
17720 PyThreadState* __tstate = wxPyBeginAllowThreads();
17721 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetVirtualSize();
17722
17723 wxPyEndAllowThreads(__tstate);
17724 if (PyErr_Occurred()) SWIG_fail;
17725 }
17726 {
17727 wxSize * resultptr;
17728 resultptr = new wxSize((wxSize &) result);
17729 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17730 }
17731 return resultobj;
17732 fail:
17733 return NULL;
17734 }
17735
17736
17737 static PyObject *_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
17738 PyObject *resultobj;
17739 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17740 wxSize result;
17741 PyObject * obj0 = 0 ;
17742 char *kwnames[] = {
17743 (char *) "self", NULL
17744 };
17745
17746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
17747 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17748 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17749 {
17750 PyThreadState* __tstate = wxPyBeginAllowThreads();
17751 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetBestSize();
17752
17753 wxPyEndAllowThreads(__tstate);
17754 if (PyErr_Occurred()) SWIG_fail;
17755 }
17756 {
17757 wxSize * resultptr;
17758 resultptr = new wxSize((wxSize &) result);
17759 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17760 }
17761 return resultobj;
17762 fail:
17763 return NULL;
17764 }
17765
17766
17767 static PyObject *_wrap_PyScrolledWindow_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
17768 PyObject *resultobj;
17769 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17770 PyObject * obj0 = 0 ;
17771 char *kwnames[] = {
17772 (char *) "self", NULL
17773 };
17774
17775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames,&obj0)) goto fail;
17776 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17777 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17778 {
17779 PyThreadState* __tstate = wxPyBeginAllowThreads();
17780 (arg1)->base_InitDialog();
17781
17782 wxPyEndAllowThreads(__tstate);
17783 if (PyErr_Occurred()) SWIG_fail;
17784 }
17785 Py_INCREF(Py_None); resultobj = Py_None;
17786 return resultobj;
17787 fail:
17788 return NULL;
17789 }
17790
17791
17792 static PyObject *_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17793 PyObject *resultobj;
17794 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17795 bool result;
17796 PyObject * obj0 = 0 ;
17797 char *kwnames[] = {
17798 (char *) "self", NULL
17799 };
17800
17801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
17802 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17803 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17804 {
17805 PyThreadState* __tstate = wxPyBeginAllowThreads();
17806 result = (bool)(arg1)->base_TransferDataToWindow();
17807
17808 wxPyEndAllowThreads(__tstate);
17809 if (PyErr_Occurred()) SWIG_fail;
17810 }
17811 {
17812 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17813 }
17814 return resultobj;
17815 fail:
17816 return NULL;
17817 }
17818
17819
17820 static PyObject *_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17821 PyObject *resultobj;
17822 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17823 bool result;
17824 PyObject * obj0 = 0 ;
17825 char *kwnames[] = {
17826 (char *) "self", NULL
17827 };
17828
17829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
17830 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17831 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17832 {
17833 PyThreadState* __tstate = wxPyBeginAllowThreads();
17834 result = (bool)(arg1)->base_TransferDataFromWindow();
17835
17836 wxPyEndAllowThreads(__tstate);
17837 if (PyErr_Occurred()) SWIG_fail;
17838 }
17839 {
17840 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17841 }
17842 return resultobj;
17843 fail:
17844 return NULL;
17845 }
17846
17847
17848 static PyObject *_wrap_PyScrolledWindow_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
17849 PyObject *resultobj;
17850 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17851 bool result;
17852 PyObject * obj0 = 0 ;
17853 char *kwnames[] = {
17854 (char *) "self", NULL
17855 };
17856
17857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_Validate",kwnames,&obj0)) goto fail;
17858 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17859 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17860 {
17861 PyThreadState* __tstate = wxPyBeginAllowThreads();
17862 result = (bool)(arg1)->base_Validate();
17863
17864 wxPyEndAllowThreads(__tstate);
17865 if (PyErr_Occurred()) SWIG_fail;
17866 }
17867 {
17868 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17869 }
17870 return resultobj;
17871 fail:
17872 return NULL;
17873 }
17874
17875
17876 static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
17877 PyObject *resultobj;
17878 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17879 bool result;
17880 PyObject * obj0 = 0 ;
17881 char *kwnames[] = {
17882 (char *) "self", NULL
17883 };
17884
17885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
17886 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17887 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17888 {
17889 PyThreadState* __tstate = wxPyBeginAllowThreads();
17890 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocus();
17891
17892 wxPyEndAllowThreads(__tstate);
17893 if (PyErr_Occurred()) SWIG_fail;
17894 }
17895 {
17896 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17897 }
17898 return resultobj;
17899 fail:
17900 return NULL;
17901 }
17902
17903
17904 static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
17905 PyObject *resultobj;
17906 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17907 bool result;
17908 PyObject * obj0 = 0 ;
17909 char *kwnames[] = {
17910 (char *) "self", NULL
17911 };
17912
17913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
17914 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17915 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17916 {
17917 PyThreadState* __tstate = wxPyBeginAllowThreads();
17918 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
17919
17920 wxPyEndAllowThreads(__tstate);
17921 if (PyErr_Occurred()) SWIG_fail;
17922 }
17923 {
17924 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17925 }
17926 return resultobj;
17927 fail:
17928 return NULL;
17929 }
17930
17931
17932 static PyObject *_wrap_PyScrolledWindow_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
17933 PyObject *resultobj;
17934 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17935 wxSize result;
17936 PyObject * obj0 = 0 ;
17937 char *kwnames[] = {
17938 (char *) "self", NULL
17939 };
17940
17941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
17942 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17943 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17944 {
17945 PyThreadState* __tstate = wxPyBeginAllowThreads();
17946 result = ((wxPyScrolledWindow const *)arg1)->base_GetMaxSize();
17947
17948 wxPyEndAllowThreads(__tstate);
17949 if (PyErr_Occurred()) SWIG_fail;
17950 }
17951 {
17952 wxSize * resultptr;
17953 resultptr = new wxSize((wxSize &) result);
17954 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17955 }
17956 return resultobj;
17957 fail:
17958 return NULL;
17959 }
17960
17961
17962 static PyObject *_wrap_PyScrolledWindow_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
17963 PyObject *resultobj;
17964 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17965 wxWindow *arg2 = (wxWindow *) 0 ;
17966 PyObject * obj0 = 0 ;
17967 PyObject * obj1 = 0 ;
17968 char *kwnames[] = {
17969 (char *) "self",(char *) "child", NULL
17970 };
17971
17972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
17973 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17974 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17975 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17976 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17977 {
17978 PyThreadState* __tstate = wxPyBeginAllowThreads();
17979 (arg1)->base_AddChild(arg2);
17980
17981 wxPyEndAllowThreads(__tstate);
17982 if (PyErr_Occurred()) SWIG_fail;
17983 }
17984 Py_INCREF(Py_None); resultobj = Py_None;
17985 return resultobj;
17986 fail:
17987 return NULL;
17988 }
17989
17990
17991 static PyObject *_wrap_PyScrolledWindow_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
17992 PyObject *resultobj;
17993 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17994 wxWindow *arg2 = (wxWindow *) 0 ;
17995 PyObject * obj0 = 0 ;
17996 PyObject * obj1 = 0 ;
17997 char *kwnames[] = {
17998 (char *) "self",(char *) "child", NULL
17999 };
18000
18001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
18002 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18003 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18004 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
18005 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18006 {
18007 PyThreadState* __tstate = wxPyBeginAllowThreads();
18008 (arg1)->base_RemoveChild(arg2);
18009
18010 wxPyEndAllowThreads(__tstate);
18011 if (PyErr_Occurred()) SWIG_fail;
18012 }
18013 Py_INCREF(Py_None); resultobj = Py_None;
18014 return resultobj;
18015 fail:
18016 return NULL;
18017 }
18018
18019
18020 static PyObject *_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
18021 PyObject *resultobj;
18022 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18023 bool result;
18024 PyObject * obj0 = 0 ;
18025 char *kwnames[] = {
18026 (char *) "self", NULL
18027 };
18028
18029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
18030 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18031 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18032 {
18033 PyThreadState* __tstate = wxPyBeginAllowThreads();
18034 result = (bool)((wxPyScrolledWindow const *)arg1)->base_ShouldInheritColours();
18035
18036 wxPyEndAllowThreads(__tstate);
18037 if (PyErr_Occurred()) SWIG_fail;
18038 }
18039 {
18040 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18041 }
18042 return resultobj;
18043 fail:
18044 return NULL;
18045 }
18046
18047
18048 static PyObject *_wrap_PyScrolledWindow_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) {
18049 PyObject *resultobj;
18050 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18051 wxColour *arg2 = 0 ;
18052 wxColour temp2 ;
18053 PyObject * obj0 = 0 ;
18054 PyObject * obj1 = 0 ;
18055 char *kwnames[] = {
18056 (char *) "self",(char *) "c", NULL
18057 };
18058
18059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
18060 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18061 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18062 {
18063 arg2 = &temp2;
18064 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18065 }
18066 {
18067 PyThreadState* __tstate = wxPyBeginAllowThreads();
18068 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
18069
18070 wxPyEndAllowThreads(__tstate);
18071 if (PyErr_Occurred()) SWIG_fail;
18072 }
18073 Py_INCREF(Py_None); resultobj = Py_None;
18074 return resultobj;
18075 fail:
18076 return NULL;
18077 }
18078
18079
18080 static PyObject *_wrap_PyScrolledWindow_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
18081 PyObject *resultobj;
18082 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18083 wxVisualAttributes result;
18084 PyObject * obj0 = 0 ;
18085 char *kwnames[] = {
18086 (char *) "self", NULL
18087 };
18088
18089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
18090 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18091 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18092 {
18093 PyThreadState* __tstate = wxPyBeginAllowThreads();
18094 result = (arg1)->base_GetDefaultAttributes();
18095
18096 wxPyEndAllowThreads(__tstate);
18097 if (PyErr_Occurred()) SWIG_fail;
18098 }
18099 {
18100 wxVisualAttributes * resultptr;
18101 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
18102 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
18103 }
18104 return resultobj;
18105 fail:
18106 return NULL;
18107 }
18108
18109
18110 static PyObject * PyScrolledWindow_swigregister(PyObject *, PyObject *args) {
18111 PyObject *obj;
18112 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18113 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow, obj);
18114 Py_INCREF(obj);
18115 return Py_BuildValue((char *)"");
18116 }
18117 static int _wrap_PrintoutTitleStr_set(PyObject *) {
18118 PyErr_SetString(PyExc_TypeError,"Variable PrintoutTitleStr is read-only.");
18119 return 1;
18120 }
18121
18122
18123 static PyObject *_wrap_PrintoutTitleStr_get() {
18124 PyObject *pyobj;
18125
18126 {
18127 #if wxUSE_UNICODE
18128 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
18129 #else
18130 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
18131 #endif
18132 }
18133 return pyobj;
18134 }
18135
18136
18137 static int _wrap_PreviewCanvasNameStr_set(PyObject *) {
18138 PyErr_SetString(PyExc_TypeError,"Variable PreviewCanvasNameStr is read-only.");
18139 return 1;
18140 }
18141
18142
18143 static PyObject *_wrap_PreviewCanvasNameStr_get() {
18144 PyObject *pyobj;
18145
18146 {
18147 #if wxUSE_UNICODE
18148 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
18149 #else
18150 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
18151 #endif
18152 }
18153 return pyobj;
18154 }
18155
18156
18157 static PyObject *_wrap_new_PrintData__SWIG_0(PyObject *, PyObject *args) {
18158 PyObject *resultobj;
18159 wxPrintData *result;
18160
18161 if(!PyArg_ParseTuple(args,(char *)":new_PrintData")) goto fail;
18162 {
18163 PyThreadState* __tstate = wxPyBeginAllowThreads();
18164 result = (wxPrintData *)new wxPrintData();
18165
18166 wxPyEndAllowThreads(__tstate);
18167 if (PyErr_Occurred()) SWIG_fail;
18168 }
18169 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
18170 return resultobj;
18171 fail:
18172 return NULL;
18173 }
18174
18175
18176 static PyObject *_wrap_new_PrintData__SWIG_1(PyObject *, PyObject *args) {
18177 PyObject *resultobj;
18178 wxPrintData *arg1 = 0 ;
18179 wxPrintData *result;
18180 PyObject * obj0 = 0 ;
18181
18182 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintData",&obj0)) goto fail;
18183 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18184 SWIG_POINTER_EXCEPTION | 0)) == -1)
18185 SWIG_fail;
18186 if (arg1 == NULL) {
18187 PyErr_SetString(PyExc_TypeError,"null reference");
18188 SWIG_fail;
18189 }
18190 {
18191 PyThreadState* __tstate = wxPyBeginAllowThreads();
18192 result = (wxPrintData *)new wxPrintData((wxPrintData const &)*arg1);
18193
18194 wxPyEndAllowThreads(__tstate);
18195 if (PyErr_Occurred()) SWIG_fail;
18196 }
18197 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
18198 return resultobj;
18199 fail:
18200 return NULL;
18201 }
18202
18203
18204 static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args) {
18205 int argc;
18206 PyObject *argv[2];
18207 int ii;
18208
18209 argc = PyObject_Length(args);
18210 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
18211 argv[ii] = PyTuple_GetItem(args,ii);
18212 }
18213 if (argc == 0) {
18214 return _wrap_new_PrintData__SWIG_0(self,args);
18215 }
18216 if (argc == 1) {
18217 int _v;
18218 {
18219 void *ptr;
18220 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
18221 _v = 0;
18222 PyErr_Clear();
18223 } else {
18224 _v = 1;
18225 }
18226 }
18227 if (_v) {
18228 return _wrap_new_PrintData__SWIG_1(self,args);
18229 }
18230 }
18231
18232 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintData'");
18233 return NULL;
18234 }
18235
18236
18237 static PyObject *_wrap_delete_PrintData(PyObject *, PyObject *args, PyObject *kwargs) {
18238 PyObject *resultobj;
18239 wxPrintData *arg1 = (wxPrintData *) 0 ;
18240 PyObject * obj0 = 0 ;
18241 char *kwnames[] = {
18242 (char *) "self", NULL
18243 };
18244
18245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail;
18246 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18247 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18248 {
18249 PyThreadState* __tstate = wxPyBeginAllowThreads();
18250 delete arg1;
18251
18252 wxPyEndAllowThreads(__tstate);
18253 if (PyErr_Occurred()) SWIG_fail;
18254 }
18255 Py_INCREF(Py_None); resultobj = Py_None;
18256 return resultobj;
18257 fail:
18258 return NULL;
18259 }
18260
18261
18262 static PyObject *_wrap_PrintData_GetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
18263 PyObject *resultobj;
18264 wxPrintData *arg1 = (wxPrintData *) 0 ;
18265 int result;
18266 PyObject * obj0 = 0 ;
18267 char *kwnames[] = {
18268 (char *) "self", NULL
18269 };
18270
18271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail;
18272 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18273 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18274 {
18275 PyThreadState* __tstate = wxPyBeginAllowThreads();
18276 result = (int)(arg1)->GetNoCopies();
18277
18278 wxPyEndAllowThreads(__tstate);
18279 if (PyErr_Occurred()) SWIG_fail;
18280 }
18281 resultobj = SWIG_From_int((int)result);
18282 return resultobj;
18283 fail:
18284 return NULL;
18285 }
18286
18287
18288 static PyObject *_wrap_PrintData_GetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
18289 PyObject *resultobj;
18290 wxPrintData *arg1 = (wxPrintData *) 0 ;
18291 bool result;
18292 PyObject * obj0 = 0 ;
18293 char *kwnames[] = {
18294 (char *) "self", NULL
18295 };
18296
18297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail;
18298 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18299 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18300 {
18301 PyThreadState* __tstate = wxPyBeginAllowThreads();
18302 result = (bool)(arg1)->GetCollate();
18303
18304 wxPyEndAllowThreads(__tstate);
18305 if (PyErr_Occurred()) SWIG_fail;
18306 }
18307 {
18308 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18309 }
18310 return resultobj;
18311 fail:
18312 return NULL;
18313 }
18314
18315
18316 static PyObject *_wrap_PrintData_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
18317 PyObject *resultobj;
18318 wxPrintData *arg1 = (wxPrintData *) 0 ;
18319 int result;
18320 PyObject * obj0 = 0 ;
18321 char *kwnames[] = {
18322 (char *) "self", NULL
18323 };
18324
18325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",kwnames,&obj0)) goto fail;
18326 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18327 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18328 {
18329 PyThreadState* __tstate = wxPyBeginAllowThreads();
18330 result = (int)(arg1)->GetOrientation();
18331
18332 wxPyEndAllowThreads(__tstate);
18333 if (PyErr_Occurred()) SWIG_fail;
18334 }
18335 resultobj = SWIG_From_int((int)result);
18336 return resultobj;
18337 fail:
18338 return NULL;
18339 }
18340
18341
18342 static PyObject *_wrap_PrintData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
18343 PyObject *resultobj;
18344 wxPrintData *arg1 = (wxPrintData *) 0 ;
18345 bool result;
18346 PyObject * obj0 = 0 ;
18347 char *kwnames[] = {
18348 (char *) "self", NULL
18349 };
18350
18351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail;
18352 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18353 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18354 {
18355 PyThreadState* __tstate = wxPyBeginAllowThreads();
18356 result = (bool)(arg1)->Ok();
18357
18358 wxPyEndAllowThreads(__tstate);
18359 if (PyErr_Occurred()) SWIG_fail;
18360 }
18361 {
18362 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18363 }
18364 return resultobj;
18365 fail:
18366 return NULL;
18367 }
18368
18369
18370 static PyObject *_wrap_PrintData_GetPrinterName(PyObject *, PyObject *args, PyObject *kwargs) {
18371 PyObject *resultobj;
18372 wxPrintData *arg1 = (wxPrintData *) 0 ;
18373 wxString *result;
18374 PyObject * obj0 = 0 ;
18375 char *kwnames[] = {
18376 (char *) "self", NULL
18377 };
18378
18379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",kwnames,&obj0)) goto fail;
18380 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18381 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18382 {
18383 PyThreadState* __tstate = wxPyBeginAllowThreads();
18384 {
18385 wxString const &_result_ref = (arg1)->GetPrinterName();
18386 result = (wxString *) &_result_ref;
18387 }
18388
18389 wxPyEndAllowThreads(__tstate);
18390 if (PyErr_Occurred()) SWIG_fail;
18391 }
18392 {
18393 #if wxUSE_UNICODE
18394 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18395 #else
18396 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18397 #endif
18398 }
18399 return resultobj;
18400 fail:
18401 return NULL;
18402 }
18403
18404
18405 static PyObject *_wrap_PrintData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
18406 PyObject *resultobj;
18407 wxPrintData *arg1 = (wxPrintData *) 0 ;
18408 bool result;
18409 PyObject * obj0 = 0 ;
18410 char *kwnames[] = {
18411 (char *) "self", NULL
18412 };
18413
18414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail;
18415 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18416 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18417 {
18418 PyThreadState* __tstate = wxPyBeginAllowThreads();
18419 result = (bool)(arg1)->GetColour();
18420
18421 wxPyEndAllowThreads(__tstate);
18422 if (PyErr_Occurred()) SWIG_fail;
18423 }
18424 {
18425 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18426 }
18427 return resultobj;
18428 fail:
18429 return NULL;
18430 }
18431
18432
18433 static PyObject *_wrap_PrintData_GetDuplex(PyObject *, PyObject *args, PyObject *kwargs) {
18434 PyObject *resultobj;
18435 wxPrintData *arg1 = (wxPrintData *) 0 ;
18436 int result;
18437 PyObject * obj0 = 0 ;
18438 char *kwnames[] = {
18439 (char *) "self", NULL
18440 };
18441
18442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail;
18443 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18444 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18445 {
18446 PyThreadState* __tstate = wxPyBeginAllowThreads();
18447 result = (int)(arg1)->GetDuplex();
18448
18449 wxPyEndAllowThreads(__tstate);
18450 if (PyErr_Occurred()) SWIG_fail;
18451 }
18452 resultobj = SWIG_From_int((int)result);
18453 return resultobj;
18454 fail:
18455 return NULL;
18456 }
18457
18458
18459 static PyObject *_wrap_PrintData_GetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
18460 PyObject *resultobj;
18461 wxPrintData *arg1 = (wxPrintData *) 0 ;
18462 int result;
18463 PyObject * obj0 = 0 ;
18464 char *kwnames[] = {
18465 (char *) "self", NULL
18466 };
18467
18468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail;
18469 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18470 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18471 {
18472 PyThreadState* __tstate = wxPyBeginAllowThreads();
18473 result = (int)(arg1)->GetPaperId();
18474
18475 wxPyEndAllowThreads(__tstate);
18476 if (PyErr_Occurred()) SWIG_fail;
18477 }
18478 resultobj = SWIG_From_int((int)result);
18479 return resultobj;
18480 fail:
18481 return NULL;
18482 }
18483
18484
18485 static PyObject *_wrap_PrintData_GetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
18486 PyObject *resultobj;
18487 wxPrintData *arg1 = (wxPrintData *) 0 ;
18488 wxSize *result;
18489 PyObject * obj0 = 0 ;
18490 char *kwnames[] = {
18491 (char *) "self", NULL
18492 };
18493
18494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail;
18495 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18496 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18497 {
18498 PyThreadState* __tstate = wxPyBeginAllowThreads();
18499 {
18500 wxSize const &_result_ref = (arg1)->GetPaperSize();
18501 result = (wxSize *) &_result_ref;
18502 }
18503
18504 wxPyEndAllowThreads(__tstate);
18505 if (PyErr_Occurred()) SWIG_fail;
18506 }
18507 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0);
18508 return resultobj;
18509 fail:
18510 return NULL;
18511 }
18512
18513
18514 static PyObject *_wrap_PrintData_GetQuality(PyObject *, PyObject *args, PyObject *kwargs) {
18515 PyObject *resultobj;
18516 wxPrintData *arg1 = (wxPrintData *) 0 ;
18517 int result;
18518 PyObject * obj0 = 0 ;
18519 char *kwnames[] = {
18520 (char *) "self", NULL
18521 };
18522
18523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail;
18524 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18525 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18526 {
18527 PyThreadState* __tstate = wxPyBeginAllowThreads();
18528 result = (int)(arg1)->GetQuality();
18529
18530 wxPyEndAllowThreads(__tstate);
18531 if (PyErr_Occurred()) SWIG_fail;
18532 }
18533 resultobj = SWIG_From_int((int)result);
18534 return resultobj;
18535 fail:
18536 return NULL;
18537 }
18538
18539
18540 static PyObject *_wrap_PrintData_GetBin(PyObject *, PyObject *args, PyObject *kwargs) {
18541 PyObject *resultobj;
18542 wxPrintData *arg1 = (wxPrintData *) 0 ;
18543 int result;
18544 PyObject * obj0 = 0 ;
18545 char *kwnames[] = {
18546 (char *) "self", NULL
18547 };
18548
18549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetBin",kwnames,&obj0)) goto fail;
18550 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18551 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18552 {
18553 PyThreadState* __tstate = wxPyBeginAllowThreads();
18554 result = (int)(arg1)->GetBin();
18555
18556 wxPyEndAllowThreads(__tstate);
18557 if (PyErr_Occurred()) SWIG_fail;
18558 }
18559 resultobj = SWIG_From_int((int)result);
18560 return resultobj;
18561 fail:
18562 return NULL;
18563 }
18564
18565
18566 static PyObject *_wrap_PrintData_SetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
18567 PyObject *resultobj;
18568 wxPrintData *arg1 = (wxPrintData *) 0 ;
18569 int arg2 ;
18570 PyObject * obj0 = 0 ;
18571 PyObject * obj1 = 0 ;
18572 char *kwnames[] = {
18573 (char *) "self",(char *) "v", NULL
18574 };
18575
18576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
18577 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18578 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18579 arg2 = (int)SWIG_As_int(obj1);
18580 if (PyErr_Occurred()) SWIG_fail;
18581 {
18582 PyThreadState* __tstate = wxPyBeginAllowThreads();
18583 (arg1)->SetNoCopies(arg2);
18584
18585 wxPyEndAllowThreads(__tstate);
18586 if (PyErr_Occurred()) SWIG_fail;
18587 }
18588 Py_INCREF(Py_None); resultobj = Py_None;
18589 return resultobj;
18590 fail:
18591 return NULL;
18592 }
18593
18594
18595 static PyObject *_wrap_PrintData_SetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
18596 PyObject *resultobj;
18597 wxPrintData *arg1 = (wxPrintData *) 0 ;
18598 bool arg2 ;
18599 PyObject * obj0 = 0 ;
18600 PyObject * obj1 = 0 ;
18601 char *kwnames[] = {
18602 (char *) "self",(char *) "flag", NULL
18603 };
18604
18605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
18606 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18607 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18608 arg2 = (bool)SWIG_As_bool(obj1);
18609 if (PyErr_Occurred()) SWIG_fail;
18610 {
18611 PyThreadState* __tstate = wxPyBeginAllowThreads();
18612 (arg1)->SetCollate(arg2);
18613
18614 wxPyEndAllowThreads(__tstate);
18615 if (PyErr_Occurred()) SWIG_fail;
18616 }
18617 Py_INCREF(Py_None); resultobj = Py_None;
18618 return resultobj;
18619 fail:
18620 return NULL;
18621 }
18622
18623
18624 static PyObject *_wrap_PrintData_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
18625 PyObject *resultobj;
18626 wxPrintData *arg1 = (wxPrintData *) 0 ;
18627 int arg2 ;
18628 PyObject * obj0 = 0 ;
18629 PyObject * obj1 = 0 ;
18630 char *kwnames[] = {
18631 (char *) "self",(char *) "orient", NULL
18632 };
18633
18634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
18635 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18636 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18637 arg2 = (int)SWIG_As_int(obj1);
18638 if (PyErr_Occurred()) SWIG_fail;
18639 {
18640 PyThreadState* __tstate = wxPyBeginAllowThreads();
18641 (arg1)->SetOrientation(arg2);
18642
18643 wxPyEndAllowThreads(__tstate);
18644 if (PyErr_Occurred()) SWIG_fail;
18645 }
18646 Py_INCREF(Py_None); resultobj = Py_None;
18647 return resultobj;
18648 fail:
18649 return NULL;
18650 }
18651
18652
18653 static PyObject *_wrap_PrintData_SetPrinterName(PyObject *, PyObject *args, PyObject *kwargs) {
18654 PyObject *resultobj;
18655 wxPrintData *arg1 = (wxPrintData *) 0 ;
18656 wxString *arg2 = 0 ;
18657 bool temp2 = false ;
18658 PyObject * obj0 = 0 ;
18659 PyObject * obj1 = 0 ;
18660 char *kwnames[] = {
18661 (char *) "self",(char *) "name", NULL
18662 };
18663
18664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail;
18665 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18666 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18667 {
18668 arg2 = wxString_in_helper(obj1);
18669 if (arg2 == NULL) SWIG_fail;
18670 temp2 = true;
18671 }
18672 {
18673 PyThreadState* __tstate = wxPyBeginAllowThreads();
18674 (arg1)->SetPrinterName((wxString const &)*arg2);
18675
18676 wxPyEndAllowThreads(__tstate);
18677 if (PyErr_Occurred()) SWIG_fail;
18678 }
18679 Py_INCREF(Py_None); resultobj = Py_None;
18680 {
18681 if (temp2)
18682 delete arg2;
18683 }
18684 return resultobj;
18685 fail:
18686 {
18687 if (temp2)
18688 delete arg2;
18689 }
18690 return NULL;
18691 }
18692
18693
18694 static PyObject *_wrap_PrintData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
18695 PyObject *resultobj;
18696 wxPrintData *arg1 = (wxPrintData *) 0 ;
18697 bool arg2 ;
18698 PyObject * obj0 = 0 ;
18699 PyObject * obj1 = 0 ;
18700 char *kwnames[] = {
18701 (char *) "self",(char *) "colour", NULL
18702 };
18703
18704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail;
18705 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18706 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18707 arg2 = (bool)SWIG_As_bool(obj1);
18708 if (PyErr_Occurred()) SWIG_fail;
18709 {
18710 PyThreadState* __tstate = wxPyBeginAllowThreads();
18711 (arg1)->SetColour(arg2);
18712
18713 wxPyEndAllowThreads(__tstate);
18714 if (PyErr_Occurred()) SWIG_fail;
18715 }
18716 Py_INCREF(Py_None); resultobj = Py_None;
18717 return resultobj;
18718 fail:
18719 return NULL;
18720 }
18721
18722
18723 static PyObject *_wrap_PrintData_SetDuplex(PyObject *, PyObject *args, PyObject *kwargs) {
18724 PyObject *resultobj;
18725 wxPrintData *arg1 = (wxPrintData *) 0 ;
18726 int arg2 ;
18727 PyObject * obj0 = 0 ;
18728 PyObject * obj1 = 0 ;
18729 char *kwnames[] = {
18730 (char *) "self",(char *) "duplex", NULL
18731 };
18732
18733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) goto fail;
18734 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18736 arg2 = (int)SWIG_As_int(obj1);
18737 if (PyErr_Occurred()) SWIG_fail;
18738 {
18739 PyThreadState* __tstate = wxPyBeginAllowThreads();
18740 (arg1)->SetDuplex((wxDuplexMode )arg2);
18741
18742 wxPyEndAllowThreads(__tstate);
18743 if (PyErr_Occurred()) SWIG_fail;
18744 }
18745 Py_INCREF(Py_None); resultobj = Py_None;
18746 return resultobj;
18747 fail:
18748 return NULL;
18749 }
18750
18751
18752 static PyObject *_wrap_PrintData_SetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
18753 PyObject *resultobj;
18754 wxPrintData *arg1 = (wxPrintData *) 0 ;
18755 int arg2 ;
18756 PyObject * obj0 = 0 ;
18757 PyObject * obj1 = 0 ;
18758 char *kwnames[] = {
18759 (char *) "self",(char *) "sizeId", NULL
18760 };
18761
18762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
18763 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18764 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18765 arg2 = (int)SWIG_As_int(obj1);
18766 if (PyErr_Occurred()) SWIG_fail;
18767 {
18768 PyThreadState* __tstate = wxPyBeginAllowThreads();
18769 (arg1)->SetPaperId((wxPaperSize )arg2);
18770
18771 wxPyEndAllowThreads(__tstate);
18772 if (PyErr_Occurred()) SWIG_fail;
18773 }
18774 Py_INCREF(Py_None); resultobj = Py_None;
18775 return resultobj;
18776 fail:
18777 return NULL;
18778 }
18779
18780
18781 static PyObject *_wrap_PrintData_SetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
18782 PyObject *resultobj;
18783 wxPrintData *arg1 = (wxPrintData *) 0 ;
18784 wxSize *arg2 = 0 ;
18785 wxSize temp2 ;
18786 PyObject * obj0 = 0 ;
18787 PyObject * obj1 = 0 ;
18788 char *kwnames[] = {
18789 (char *) "self",(char *) "sz", NULL
18790 };
18791
18792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
18793 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18794 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18795 {
18796 arg2 = &temp2;
18797 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
18798 }
18799 {
18800 PyThreadState* __tstate = wxPyBeginAllowThreads();
18801 (arg1)->SetPaperSize((wxSize const &)*arg2);
18802
18803 wxPyEndAllowThreads(__tstate);
18804 if (PyErr_Occurred()) SWIG_fail;
18805 }
18806 Py_INCREF(Py_None); resultobj = Py_None;
18807 return resultobj;
18808 fail:
18809 return NULL;
18810 }
18811
18812
18813 static PyObject *_wrap_PrintData_SetQuality(PyObject *, PyObject *args, PyObject *kwargs) {
18814 PyObject *resultobj;
18815 wxPrintData *arg1 = (wxPrintData *) 0 ;
18816 int arg2 ;
18817 PyObject * obj0 = 0 ;
18818 PyObject * obj1 = 0 ;
18819 char *kwnames[] = {
18820 (char *) "self",(char *) "quality", NULL
18821 };
18822
18823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) goto fail;
18824 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18825 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18826 arg2 = (int)SWIG_As_int(obj1);
18827 if (PyErr_Occurred()) SWIG_fail;
18828 {
18829 PyThreadState* __tstate = wxPyBeginAllowThreads();
18830 (arg1)->SetQuality(arg2);
18831
18832 wxPyEndAllowThreads(__tstate);
18833 if (PyErr_Occurred()) SWIG_fail;
18834 }
18835 Py_INCREF(Py_None); resultobj = Py_None;
18836 return resultobj;
18837 fail:
18838 return NULL;
18839 }
18840
18841
18842 static PyObject *_wrap_PrintData_SetBin(PyObject *, PyObject *args, PyObject *kwargs) {
18843 PyObject *resultobj;
18844 wxPrintData *arg1 = (wxPrintData *) 0 ;
18845 int arg2 ;
18846 PyObject * obj0 = 0 ;
18847 PyObject * obj1 = 0 ;
18848 char *kwnames[] = {
18849 (char *) "self",(char *) "bin", NULL
18850 };
18851
18852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetBin",kwnames,&obj0,&obj1)) goto fail;
18853 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18854 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18855 arg2 = (int)SWIG_As_int(obj1);
18856 if (PyErr_Occurred()) SWIG_fail;
18857 {
18858 PyThreadState* __tstate = wxPyBeginAllowThreads();
18859 (arg1)->SetBin((wxPrintBin )arg2);
18860
18861 wxPyEndAllowThreads(__tstate);
18862 if (PyErr_Occurred()) SWIG_fail;
18863 }
18864 Py_INCREF(Py_None); resultobj = Py_None;
18865 return resultobj;
18866 fail:
18867 return NULL;
18868 }
18869
18870
18871 static PyObject *_wrap_PrintData_GetPrinterCommand(PyObject *, PyObject *args, PyObject *kwargs) {
18872 PyObject *resultobj;
18873 wxPrintData *arg1 = (wxPrintData *) 0 ;
18874 wxString *result;
18875 PyObject * obj0 = 0 ;
18876 char *kwnames[] = {
18877 (char *) "self", NULL
18878 };
18879
18880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterCommand",kwnames,&obj0)) goto fail;
18881 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18882 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18883 {
18884 PyThreadState* __tstate = wxPyBeginAllowThreads();
18885 {
18886 wxString const &_result_ref = (arg1)->GetPrinterCommand();
18887 result = (wxString *) &_result_ref;
18888 }
18889
18890 wxPyEndAllowThreads(__tstate);
18891 if (PyErr_Occurred()) SWIG_fail;
18892 }
18893 {
18894 #if wxUSE_UNICODE
18895 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18896 #else
18897 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18898 #endif
18899 }
18900 return resultobj;
18901 fail:
18902 return NULL;
18903 }
18904
18905
18906 static PyObject *_wrap_PrintData_GetPrinterOptions(PyObject *, PyObject *args, PyObject *kwargs) {
18907 PyObject *resultobj;
18908 wxPrintData *arg1 = (wxPrintData *) 0 ;
18909 wxString *result;
18910 PyObject * obj0 = 0 ;
18911 char *kwnames[] = {
18912 (char *) "self", NULL
18913 };
18914
18915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterOptions",kwnames,&obj0)) goto fail;
18916 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18917 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18918 {
18919 PyThreadState* __tstate = wxPyBeginAllowThreads();
18920 {
18921 wxString const &_result_ref = (arg1)->GetPrinterOptions();
18922 result = (wxString *) &_result_ref;
18923 }
18924
18925 wxPyEndAllowThreads(__tstate);
18926 if (PyErr_Occurred()) SWIG_fail;
18927 }
18928 {
18929 #if wxUSE_UNICODE
18930 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18931 #else
18932 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18933 #endif
18934 }
18935 return resultobj;
18936 fail:
18937 return NULL;
18938 }
18939
18940
18941 static PyObject *_wrap_PrintData_GetPreviewCommand(PyObject *, PyObject *args, PyObject *kwargs) {
18942 PyObject *resultobj;
18943 wxPrintData *arg1 = (wxPrintData *) 0 ;
18944 wxString *result;
18945 PyObject * obj0 = 0 ;
18946 char *kwnames[] = {
18947 (char *) "self", NULL
18948 };
18949
18950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPreviewCommand",kwnames,&obj0)) goto fail;
18951 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18952 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18953 {
18954 PyThreadState* __tstate = wxPyBeginAllowThreads();
18955 {
18956 wxString const &_result_ref = (arg1)->GetPreviewCommand();
18957 result = (wxString *) &_result_ref;
18958 }
18959
18960 wxPyEndAllowThreads(__tstate);
18961 if (PyErr_Occurred()) SWIG_fail;
18962 }
18963 {
18964 #if wxUSE_UNICODE
18965 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18966 #else
18967 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18968 #endif
18969 }
18970 return resultobj;
18971 fail:
18972 return NULL;
18973 }
18974
18975
18976 static PyObject *_wrap_PrintData_GetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
18977 PyObject *resultobj;
18978 wxPrintData *arg1 = (wxPrintData *) 0 ;
18979 wxString *result;
18980 PyObject * obj0 = 0 ;
18981 char *kwnames[] = {
18982 (char *) "self", NULL
18983 };
18984
18985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail;
18986 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18987 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18988 {
18989 PyThreadState* __tstate = wxPyBeginAllowThreads();
18990 {
18991 wxString const &_result_ref = (arg1)->GetFilename();
18992 result = (wxString *) &_result_ref;
18993 }
18994
18995 wxPyEndAllowThreads(__tstate);
18996 if (PyErr_Occurred()) SWIG_fail;
18997 }
18998 {
18999 #if wxUSE_UNICODE
19000 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19001 #else
19002 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19003 #endif
19004 }
19005 return resultobj;
19006 fail:
19007 return NULL;
19008 }
19009
19010
19011 static PyObject *_wrap_PrintData_GetFontMetricPath(PyObject *, PyObject *args, PyObject *kwargs) {
19012 PyObject *resultobj;
19013 wxPrintData *arg1 = (wxPrintData *) 0 ;
19014 wxString *result;
19015 PyObject * obj0 = 0 ;
19016 char *kwnames[] = {
19017 (char *) "self", NULL
19018 };
19019
19020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFontMetricPath",kwnames,&obj0)) goto fail;
19021 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19022 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19023 {
19024 PyThreadState* __tstate = wxPyBeginAllowThreads();
19025 {
19026 wxString const &_result_ref = (arg1)->GetFontMetricPath();
19027 result = (wxString *) &_result_ref;
19028 }
19029
19030 wxPyEndAllowThreads(__tstate);
19031 if (PyErr_Occurred()) SWIG_fail;
19032 }
19033 {
19034 #if wxUSE_UNICODE
19035 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19036 #else
19037 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19038 #endif
19039 }
19040 return resultobj;
19041 fail:
19042 return NULL;
19043 }
19044
19045
19046 static PyObject *_wrap_PrintData_GetPrinterScaleX(PyObject *, PyObject *args, PyObject *kwargs) {
19047 PyObject *resultobj;
19048 wxPrintData *arg1 = (wxPrintData *) 0 ;
19049 double result;
19050 PyObject * obj0 = 0 ;
19051 char *kwnames[] = {
19052 (char *) "self", NULL
19053 };
19054
19055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleX",kwnames,&obj0)) goto fail;
19056 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19057 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19058 {
19059 PyThreadState* __tstate = wxPyBeginAllowThreads();
19060 result = (double)(arg1)->GetPrinterScaleX();
19061
19062 wxPyEndAllowThreads(__tstate);
19063 if (PyErr_Occurred()) SWIG_fail;
19064 }
19065 resultobj = SWIG_From_double((double)result);
19066 return resultobj;
19067 fail:
19068 return NULL;
19069 }
19070
19071
19072 static PyObject *_wrap_PrintData_GetPrinterScaleY(PyObject *, PyObject *args, PyObject *kwargs) {
19073 PyObject *resultobj;
19074 wxPrintData *arg1 = (wxPrintData *) 0 ;
19075 double result;
19076 PyObject * obj0 = 0 ;
19077 char *kwnames[] = {
19078 (char *) "self", NULL
19079 };
19080
19081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleY",kwnames,&obj0)) goto fail;
19082 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19083 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19084 {
19085 PyThreadState* __tstate = wxPyBeginAllowThreads();
19086 result = (double)(arg1)->GetPrinterScaleY();
19087
19088 wxPyEndAllowThreads(__tstate);
19089 if (PyErr_Occurred()) SWIG_fail;
19090 }
19091 resultobj = SWIG_From_double((double)result);
19092 return resultobj;
19093 fail:
19094 return NULL;
19095 }
19096
19097
19098 static PyObject *_wrap_PrintData_GetPrinterTranslateX(PyObject *, PyObject *args, PyObject *kwargs) {
19099 PyObject *resultobj;
19100 wxPrintData *arg1 = (wxPrintData *) 0 ;
19101 long result;
19102 PyObject * obj0 = 0 ;
19103 char *kwnames[] = {
19104 (char *) "self", NULL
19105 };
19106
19107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateX",kwnames,&obj0)) goto fail;
19108 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19109 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19110 {
19111 PyThreadState* __tstate = wxPyBeginAllowThreads();
19112 result = (long)(arg1)->GetPrinterTranslateX();
19113
19114 wxPyEndAllowThreads(__tstate);
19115 if (PyErr_Occurred()) SWIG_fail;
19116 }
19117 resultobj = SWIG_From_long((long)result);
19118 return resultobj;
19119 fail:
19120 return NULL;
19121 }
19122
19123
19124 static PyObject *_wrap_PrintData_GetPrinterTranslateY(PyObject *, PyObject *args, PyObject *kwargs) {
19125 PyObject *resultobj;
19126 wxPrintData *arg1 = (wxPrintData *) 0 ;
19127 long result;
19128 PyObject * obj0 = 0 ;
19129 char *kwnames[] = {
19130 (char *) "self", NULL
19131 };
19132
19133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateY",kwnames,&obj0)) goto fail;
19134 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19135 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19136 {
19137 PyThreadState* __tstate = wxPyBeginAllowThreads();
19138 result = (long)(arg1)->GetPrinterTranslateY();
19139
19140 wxPyEndAllowThreads(__tstate);
19141 if (PyErr_Occurred()) SWIG_fail;
19142 }
19143 resultobj = SWIG_From_long((long)result);
19144 return resultobj;
19145 fail:
19146 return NULL;
19147 }
19148
19149
19150 static PyObject *_wrap_PrintData_GetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) {
19151 PyObject *resultobj;
19152 wxPrintData *arg1 = (wxPrintData *) 0 ;
19153 int result;
19154 PyObject * obj0 = 0 ;
19155 char *kwnames[] = {
19156 (char *) "self", NULL
19157 };
19158
19159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail;
19160 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19161 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19162 {
19163 PyThreadState* __tstate = wxPyBeginAllowThreads();
19164 result = (int)(arg1)->GetPrintMode();
19165
19166 wxPyEndAllowThreads(__tstate);
19167 if (PyErr_Occurred()) SWIG_fail;
19168 }
19169 resultobj = SWIG_From_int((int)result);
19170 return resultobj;
19171 fail:
19172 return NULL;
19173 }
19174
19175
19176 static PyObject *_wrap_PrintData_SetPrinterCommand(PyObject *, PyObject *args, PyObject *kwargs) {
19177 PyObject *resultobj;
19178 wxPrintData *arg1 = (wxPrintData *) 0 ;
19179 wxString *arg2 = 0 ;
19180 bool temp2 = false ;
19181 PyObject * obj0 = 0 ;
19182 PyObject * obj1 = 0 ;
19183 char *kwnames[] = {
19184 (char *) "self",(char *) "command", NULL
19185 };
19186
19187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterCommand",kwnames,&obj0,&obj1)) goto fail;
19188 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19189 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19190 {
19191 arg2 = wxString_in_helper(obj1);
19192 if (arg2 == NULL) SWIG_fail;
19193 temp2 = true;
19194 }
19195 {
19196 PyThreadState* __tstate = wxPyBeginAllowThreads();
19197 (arg1)->SetPrinterCommand((wxString const &)*arg2);
19198
19199 wxPyEndAllowThreads(__tstate);
19200 if (PyErr_Occurred()) SWIG_fail;
19201 }
19202 Py_INCREF(Py_None); resultobj = Py_None;
19203 {
19204 if (temp2)
19205 delete arg2;
19206 }
19207 return resultobj;
19208 fail:
19209 {
19210 if (temp2)
19211 delete arg2;
19212 }
19213 return NULL;
19214 }
19215
19216
19217 static PyObject *_wrap_PrintData_SetPrinterOptions(PyObject *, PyObject *args, PyObject *kwargs) {
19218 PyObject *resultobj;
19219 wxPrintData *arg1 = (wxPrintData *) 0 ;
19220 wxString *arg2 = 0 ;
19221 bool temp2 = false ;
19222 PyObject * obj0 = 0 ;
19223 PyObject * obj1 = 0 ;
19224 char *kwnames[] = {
19225 (char *) "self",(char *) "options", NULL
19226 };
19227
19228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterOptions",kwnames,&obj0,&obj1)) goto fail;
19229 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19230 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19231 {
19232 arg2 = wxString_in_helper(obj1);
19233 if (arg2 == NULL) SWIG_fail;
19234 temp2 = true;
19235 }
19236 {
19237 PyThreadState* __tstate = wxPyBeginAllowThreads();
19238 (arg1)->SetPrinterOptions((wxString const &)*arg2);
19239
19240 wxPyEndAllowThreads(__tstate);
19241 if (PyErr_Occurred()) SWIG_fail;
19242 }
19243 Py_INCREF(Py_None); resultobj = Py_None;
19244 {
19245 if (temp2)
19246 delete arg2;
19247 }
19248 return resultobj;
19249 fail:
19250 {
19251 if (temp2)
19252 delete arg2;
19253 }
19254 return NULL;
19255 }
19256
19257
19258 static PyObject *_wrap_PrintData_SetPreviewCommand(PyObject *, PyObject *args, PyObject *kwargs) {
19259 PyObject *resultobj;
19260 wxPrintData *arg1 = (wxPrintData *) 0 ;
19261 wxString *arg2 = 0 ;
19262 bool temp2 = false ;
19263 PyObject * obj0 = 0 ;
19264 PyObject * obj1 = 0 ;
19265 char *kwnames[] = {
19266 (char *) "self",(char *) "command", NULL
19267 };
19268
19269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPreviewCommand",kwnames,&obj0,&obj1)) goto fail;
19270 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19271 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19272 {
19273 arg2 = wxString_in_helper(obj1);
19274 if (arg2 == NULL) SWIG_fail;
19275 temp2 = true;
19276 }
19277 {
19278 PyThreadState* __tstate = wxPyBeginAllowThreads();
19279 (arg1)->SetPreviewCommand((wxString const &)*arg2);
19280
19281 wxPyEndAllowThreads(__tstate);
19282 if (PyErr_Occurred()) SWIG_fail;
19283 }
19284 Py_INCREF(Py_None); resultobj = Py_None;
19285 {
19286 if (temp2)
19287 delete arg2;
19288 }
19289 return resultobj;
19290 fail:
19291 {
19292 if (temp2)
19293 delete arg2;
19294 }
19295 return NULL;
19296 }
19297
19298
19299 static PyObject *_wrap_PrintData_SetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
19300 PyObject *resultobj;
19301 wxPrintData *arg1 = (wxPrintData *) 0 ;
19302 wxString *arg2 = 0 ;
19303 bool temp2 = false ;
19304 PyObject * obj0 = 0 ;
19305 PyObject * obj1 = 0 ;
19306 char *kwnames[] = {
19307 (char *) "self",(char *) "filename", NULL
19308 };
19309
19310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail;
19311 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19312 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19313 {
19314 arg2 = wxString_in_helper(obj1);
19315 if (arg2 == NULL) SWIG_fail;
19316 temp2 = true;
19317 }
19318 {
19319 PyThreadState* __tstate = wxPyBeginAllowThreads();
19320 (arg1)->SetFilename((wxString const &)*arg2);
19321
19322 wxPyEndAllowThreads(__tstate);
19323 if (PyErr_Occurred()) SWIG_fail;
19324 }
19325 Py_INCREF(Py_None); resultobj = Py_None;
19326 {
19327 if (temp2)
19328 delete arg2;
19329 }
19330 return resultobj;
19331 fail:
19332 {
19333 if (temp2)
19334 delete arg2;
19335 }
19336 return NULL;
19337 }
19338
19339
19340 static PyObject *_wrap_PrintData_SetFontMetricPath(PyObject *, PyObject *args, PyObject *kwargs) {
19341 PyObject *resultobj;
19342 wxPrintData *arg1 = (wxPrintData *) 0 ;
19343 wxString *arg2 = 0 ;
19344 bool temp2 = false ;
19345 PyObject * obj0 = 0 ;
19346 PyObject * obj1 = 0 ;
19347 char *kwnames[] = {
19348 (char *) "self",(char *) "path", NULL
19349 };
19350
19351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFontMetricPath",kwnames,&obj0,&obj1)) goto fail;
19352 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19353 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19354 {
19355 arg2 = wxString_in_helper(obj1);
19356 if (arg2 == NULL) SWIG_fail;
19357 temp2 = true;
19358 }
19359 {
19360 PyThreadState* __tstate = wxPyBeginAllowThreads();
19361 (arg1)->SetFontMetricPath((wxString const &)*arg2);
19362
19363 wxPyEndAllowThreads(__tstate);
19364 if (PyErr_Occurred()) SWIG_fail;
19365 }
19366 Py_INCREF(Py_None); resultobj = Py_None;
19367 {
19368 if (temp2)
19369 delete arg2;
19370 }
19371 return resultobj;
19372 fail:
19373 {
19374 if (temp2)
19375 delete arg2;
19376 }
19377 return NULL;
19378 }
19379
19380
19381 static PyObject *_wrap_PrintData_SetPrinterScaleX(PyObject *, PyObject *args, PyObject *kwargs) {
19382 PyObject *resultobj;
19383 wxPrintData *arg1 = (wxPrintData *) 0 ;
19384 double arg2 ;
19385 PyObject * obj0 = 0 ;
19386 PyObject * obj1 = 0 ;
19387 char *kwnames[] = {
19388 (char *) "self",(char *) "x", NULL
19389 };
19390
19391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleX",kwnames,&obj0,&obj1)) goto fail;
19392 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19393 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19394 arg2 = (double)SWIG_As_double(obj1);
19395 if (PyErr_Occurred()) SWIG_fail;
19396 {
19397 PyThreadState* __tstate = wxPyBeginAllowThreads();
19398 (arg1)->SetPrinterScaleX(arg2);
19399
19400 wxPyEndAllowThreads(__tstate);
19401 if (PyErr_Occurred()) SWIG_fail;
19402 }
19403 Py_INCREF(Py_None); resultobj = Py_None;
19404 return resultobj;
19405 fail:
19406 return NULL;
19407 }
19408
19409
19410 static PyObject *_wrap_PrintData_SetPrinterScaleY(PyObject *, PyObject *args, PyObject *kwargs) {
19411 PyObject *resultobj;
19412 wxPrintData *arg1 = (wxPrintData *) 0 ;
19413 double arg2 ;
19414 PyObject * obj0 = 0 ;
19415 PyObject * obj1 = 0 ;
19416 char *kwnames[] = {
19417 (char *) "self",(char *) "y", NULL
19418 };
19419
19420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleY",kwnames,&obj0,&obj1)) goto fail;
19421 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19422 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19423 arg2 = (double)SWIG_As_double(obj1);
19424 if (PyErr_Occurred()) SWIG_fail;
19425 {
19426 PyThreadState* __tstate = wxPyBeginAllowThreads();
19427 (arg1)->SetPrinterScaleY(arg2);
19428
19429 wxPyEndAllowThreads(__tstate);
19430 if (PyErr_Occurred()) SWIG_fail;
19431 }
19432 Py_INCREF(Py_None); resultobj = Py_None;
19433 return resultobj;
19434 fail:
19435 return NULL;
19436 }
19437
19438
19439 static PyObject *_wrap_PrintData_SetPrinterScaling(PyObject *, PyObject *args, PyObject *kwargs) {
19440 PyObject *resultobj;
19441 wxPrintData *arg1 = (wxPrintData *) 0 ;
19442 double arg2 ;
19443 double arg3 ;
19444 PyObject * obj0 = 0 ;
19445 PyObject * obj1 = 0 ;
19446 PyObject * obj2 = 0 ;
19447 char *kwnames[] = {
19448 (char *) "self",(char *) "x",(char *) "y", NULL
19449 };
19450
19451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterScaling",kwnames,&obj0,&obj1,&obj2)) goto fail;
19452 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19453 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19454 arg2 = (double)SWIG_As_double(obj1);
19455 if (PyErr_Occurred()) SWIG_fail;
19456 arg3 = (double)SWIG_As_double(obj2);
19457 if (PyErr_Occurred()) SWIG_fail;
19458 {
19459 PyThreadState* __tstate = wxPyBeginAllowThreads();
19460 (arg1)->SetPrinterScaling(arg2,arg3);
19461
19462 wxPyEndAllowThreads(__tstate);
19463 if (PyErr_Occurred()) SWIG_fail;
19464 }
19465 Py_INCREF(Py_None); resultobj = Py_None;
19466 return resultobj;
19467 fail:
19468 return NULL;
19469 }
19470
19471
19472 static PyObject *_wrap_PrintData_SetPrinterTranslateX(PyObject *, PyObject *args, PyObject *kwargs) {
19473 PyObject *resultobj;
19474 wxPrintData *arg1 = (wxPrintData *) 0 ;
19475 long arg2 ;
19476 PyObject * obj0 = 0 ;
19477 PyObject * obj1 = 0 ;
19478 char *kwnames[] = {
19479 (char *) "self",(char *) "x", NULL
19480 };
19481
19482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames,&obj0,&obj1)) goto fail;
19483 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19484 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19485 arg2 = (long)SWIG_As_long(obj1);
19486 if (PyErr_Occurred()) SWIG_fail;
19487 {
19488 PyThreadState* __tstate = wxPyBeginAllowThreads();
19489 (arg1)->SetPrinterTranslateX(arg2);
19490
19491 wxPyEndAllowThreads(__tstate);
19492 if (PyErr_Occurred()) SWIG_fail;
19493 }
19494 Py_INCREF(Py_None); resultobj = Py_None;
19495 return resultobj;
19496 fail:
19497 return NULL;
19498 }
19499
19500
19501 static PyObject *_wrap_PrintData_SetPrinterTranslateY(PyObject *, PyObject *args, PyObject *kwargs) {
19502 PyObject *resultobj;
19503 wxPrintData *arg1 = (wxPrintData *) 0 ;
19504 long arg2 ;
19505 PyObject * obj0 = 0 ;
19506 PyObject * obj1 = 0 ;
19507 char *kwnames[] = {
19508 (char *) "self",(char *) "y", NULL
19509 };
19510
19511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames,&obj0,&obj1)) goto fail;
19512 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19513 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19514 arg2 = (long)SWIG_As_long(obj1);
19515 if (PyErr_Occurred()) SWIG_fail;
19516 {
19517 PyThreadState* __tstate = wxPyBeginAllowThreads();
19518 (arg1)->SetPrinterTranslateY(arg2);
19519
19520 wxPyEndAllowThreads(__tstate);
19521 if (PyErr_Occurred()) SWIG_fail;
19522 }
19523 Py_INCREF(Py_None); resultobj = Py_None;
19524 return resultobj;
19525 fail:
19526 return NULL;
19527 }
19528
19529
19530 static PyObject *_wrap_PrintData_SetPrinterTranslation(PyObject *, PyObject *args, PyObject *kwargs) {
19531 PyObject *resultobj;
19532 wxPrintData *arg1 = (wxPrintData *) 0 ;
19533 long arg2 ;
19534 long arg3 ;
19535 PyObject * obj0 = 0 ;
19536 PyObject * obj1 = 0 ;
19537 PyObject * obj2 = 0 ;
19538 char *kwnames[] = {
19539 (char *) "self",(char *) "x",(char *) "y", NULL
19540 };
19541
19542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames,&obj0,&obj1,&obj2)) goto fail;
19543 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19544 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19545 arg2 = (long)SWIG_As_long(obj1);
19546 if (PyErr_Occurred()) SWIG_fail;
19547 arg3 = (long)SWIG_As_long(obj2);
19548 if (PyErr_Occurred()) SWIG_fail;
19549 {
19550 PyThreadState* __tstate = wxPyBeginAllowThreads();
19551 (arg1)->SetPrinterTranslation(arg2,arg3);
19552
19553 wxPyEndAllowThreads(__tstate);
19554 if (PyErr_Occurred()) SWIG_fail;
19555 }
19556 Py_INCREF(Py_None); resultobj = Py_None;
19557 return resultobj;
19558 fail:
19559 return NULL;
19560 }
19561
19562
19563 static PyObject *_wrap_PrintData_SetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) {
19564 PyObject *resultobj;
19565 wxPrintData *arg1 = (wxPrintData *) 0 ;
19566 int arg2 ;
19567 PyObject * obj0 = 0 ;
19568 PyObject * obj1 = 0 ;
19569 char *kwnames[] = {
19570 (char *) "self",(char *) "printMode", NULL
19571 };
19572
19573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) goto fail;
19574 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19575 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19576 arg2 = (int)SWIG_As_int(obj1);
19577 if (PyErr_Occurred()) SWIG_fail;
19578 {
19579 PyThreadState* __tstate = wxPyBeginAllowThreads();
19580 (arg1)->SetPrintMode((wxPrintMode )arg2);
19581
19582 wxPyEndAllowThreads(__tstate);
19583 if (PyErr_Occurred()) SWIG_fail;
19584 }
19585 Py_INCREF(Py_None); resultobj = Py_None;
19586 return resultobj;
19587 fail:
19588 return NULL;
19589 }
19590
19591
19592 static PyObject *_wrap_PrintData_GetOutputStream(PyObject *, PyObject *args, PyObject *kwargs) {
19593 PyObject *resultobj;
19594 wxPrintData *arg1 = (wxPrintData *) 0 ;
19595 wxOutputStream *result;
19596 PyObject * obj0 = 0 ;
19597 char *kwnames[] = {
19598 (char *) "self", NULL
19599 };
19600
19601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOutputStream",kwnames,&obj0)) goto fail;
19602 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19603 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19604 {
19605 PyThreadState* __tstate = wxPyBeginAllowThreads();
19606 result = (wxOutputStream *)(arg1)->GetOutputStream();
19607
19608 wxPyEndAllowThreads(__tstate);
19609 if (PyErr_Occurred()) SWIG_fail;
19610 }
19611 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxOutputStream, 0);
19612 return resultobj;
19613 fail:
19614 return NULL;
19615 }
19616
19617
19618 static PyObject *_wrap_PrintData_SetOutputStream(PyObject *, PyObject *args, PyObject *kwargs) {
19619 PyObject *resultobj;
19620 wxPrintData *arg1 = (wxPrintData *) 0 ;
19621 wxOutputStream *arg2 = (wxOutputStream *) 0 ;
19622 PyObject * obj0 = 0 ;
19623 PyObject * obj1 = 0 ;
19624 char *kwnames[] = {
19625 (char *) "self",(char *) "outputstream", NULL
19626 };
19627
19628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOutputStream",kwnames,&obj0,&obj1)) goto fail;
19629 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19630 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19631 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxOutputStream,
19632 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19633 {
19634 PyThreadState* __tstate = wxPyBeginAllowThreads();
19635 (arg1)->SetOutputStream(arg2);
19636
19637 wxPyEndAllowThreads(__tstate);
19638 if (PyErr_Occurred()) SWIG_fail;
19639 }
19640 Py_INCREF(Py_None); resultobj = Py_None;
19641 return resultobj;
19642 fail:
19643 return NULL;
19644 }
19645
19646
19647 static PyObject * PrintData_swigregister(PyObject *, PyObject *args) {
19648 PyObject *obj;
19649 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19650 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj);
19651 Py_INCREF(obj);
19652 return Py_BuildValue((char *)"");
19653 }
19654 static PyObject *_wrap_new_PageSetupDialogData__SWIG_0(PyObject *, PyObject *args) {
19655 PyObject *resultobj;
19656 wxPageSetupDialogData *result;
19657
19658 if(!PyArg_ParseTuple(args,(char *)":new_PageSetupDialogData")) goto fail;
19659 {
19660 PyThreadState* __tstate = wxPyBeginAllowThreads();
19661 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
19662
19663 wxPyEndAllowThreads(__tstate);
19664 if (PyErr_Occurred()) SWIG_fail;
19665 }
19666 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
19667 return resultobj;
19668 fail:
19669 return NULL;
19670 }
19671
19672
19673 static PyObject *_wrap_new_PageSetupDialogData__SWIG_1(PyObject *, PyObject *args) {
19674 PyObject *resultobj;
19675 wxPageSetupDialogData *arg1 = 0 ;
19676 wxPageSetupDialogData *result;
19677 PyObject * obj0 = 0 ;
19678
19679 if(!PyArg_ParseTuple(args,(char *)"O:new_PageSetupDialogData",&obj0)) goto fail;
19680 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19681 SWIG_POINTER_EXCEPTION | 0)) == -1)
19682 SWIG_fail;
19683 if (arg1 == NULL) {
19684 PyErr_SetString(PyExc_TypeError,"null reference");
19685 SWIG_fail;
19686 }
19687 {
19688 PyThreadState* __tstate = wxPyBeginAllowThreads();
19689 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPageSetupDialogData const &)*arg1);
19690
19691 wxPyEndAllowThreads(__tstate);
19692 if (PyErr_Occurred()) SWIG_fail;
19693 }
19694 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
19695 return resultobj;
19696 fail:
19697 return NULL;
19698 }
19699
19700
19701 static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args) {
19702 int argc;
19703 PyObject *argv[2];
19704 int ii;
19705
19706 argc = PyObject_Length(args);
19707 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
19708 argv[ii] = PyTuple_GetItem(args,ii);
19709 }
19710 if (argc == 0) {
19711 return _wrap_new_PageSetupDialogData__SWIG_0(self,args);
19712 }
19713 if (argc == 1) {
19714 int _v;
19715 {
19716 void *ptr;
19717 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPageSetupDialogData, 0) == -1) {
19718 _v = 0;
19719 PyErr_Clear();
19720 } else {
19721 _v = 1;
19722 }
19723 }
19724 if (_v) {
19725 return _wrap_new_PageSetupDialogData__SWIG_1(self,args);
19726 }
19727 }
19728
19729 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PageSetupDialogData'");
19730 return NULL;
19731 }
19732
19733
19734 static PyObject *_wrap_delete_PageSetupDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
19735 PyObject *resultobj;
19736 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19737 PyObject * obj0 = 0 ;
19738 char *kwnames[] = {
19739 (char *) "self", NULL
19740 };
19741
19742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail;
19743 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19744 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19745 {
19746 PyThreadState* __tstate = wxPyBeginAllowThreads();
19747 delete arg1;
19748
19749 wxPyEndAllowThreads(__tstate);
19750 if (PyErr_Occurred()) SWIG_fail;
19751 }
19752 Py_INCREF(Py_None); resultobj = Py_None;
19753 return resultobj;
19754 fail:
19755 return NULL;
19756 }
19757
19758
19759 static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
19760 PyObject *resultobj;
19761 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19762 bool arg2 ;
19763 PyObject * obj0 = 0 ;
19764 PyObject * obj1 = 0 ;
19765 char *kwnames[] = {
19766 (char *) "self",(char *) "flag", NULL
19767 };
19768
19769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
19770 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19771 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19772 arg2 = (bool)SWIG_As_bool(obj1);
19773 if (PyErr_Occurred()) SWIG_fail;
19774 {
19775 PyThreadState* __tstate = wxPyBeginAllowThreads();
19776 (arg1)->EnableHelp(arg2);
19777
19778 wxPyEndAllowThreads(__tstate);
19779 if (PyErr_Occurred()) SWIG_fail;
19780 }
19781 Py_INCREF(Py_None); resultobj = Py_None;
19782 return resultobj;
19783 fail:
19784 return NULL;
19785 }
19786
19787
19788 static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *, PyObject *args, PyObject *kwargs) {
19789 PyObject *resultobj;
19790 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19791 bool arg2 ;
19792 PyObject * obj0 = 0 ;
19793 PyObject * obj1 = 0 ;
19794 char *kwnames[] = {
19795 (char *) "self",(char *) "flag", NULL
19796 };
19797
19798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail;
19799 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19800 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19801 arg2 = (bool)SWIG_As_bool(obj1);
19802 if (PyErr_Occurred()) SWIG_fail;
19803 {
19804 PyThreadState* __tstate = wxPyBeginAllowThreads();
19805 (arg1)->EnableMargins(arg2);
19806
19807 wxPyEndAllowThreads(__tstate);
19808 if (PyErr_Occurred()) SWIG_fail;
19809 }
19810 Py_INCREF(Py_None); resultobj = Py_None;
19811 return resultobj;
19812 fail:
19813 return NULL;
19814 }
19815
19816
19817 static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
19818 PyObject *resultobj;
19819 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19820 bool arg2 ;
19821 PyObject * obj0 = 0 ;
19822 PyObject * obj1 = 0 ;
19823 char *kwnames[] = {
19824 (char *) "self",(char *) "flag", NULL
19825 };
19826
19827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail;
19828 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19829 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19830 arg2 = (bool)SWIG_As_bool(obj1);
19831 if (PyErr_Occurred()) SWIG_fail;
19832 {
19833 PyThreadState* __tstate = wxPyBeginAllowThreads();
19834 (arg1)->EnableOrientation(arg2);
19835
19836 wxPyEndAllowThreads(__tstate);
19837 if (PyErr_Occurred()) SWIG_fail;
19838 }
19839 Py_INCREF(Py_None); resultobj = Py_None;
19840 return resultobj;
19841 fail:
19842 return NULL;
19843 }
19844
19845
19846 static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *, PyObject *args, PyObject *kwargs) {
19847 PyObject *resultobj;
19848 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19849 bool arg2 ;
19850 PyObject * obj0 = 0 ;
19851 PyObject * obj1 = 0 ;
19852 char *kwnames[] = {
19853 (char *) "self",(char *) "flag", NULL
19854 };
19855
19856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail;
19857 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19858 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19859 arg2 = (bool)SWIG_As_bool(obj1);
19860 if (PyErr_Occurred()) SWIG_fail;
19861 {
19862 PyThreadState* __tstate = wxPyBeginAllowThreads();
19863 (arg1)->EnablePaper(arg2);
19864
19865 wxPyEndAllowThreads(__tstate);
19866 if (PyErr_Occurred()) SWIG_fail;
19867 }
19868 Py_INCREF(Py_None); resultobj = Py_None;
19869 return resultobj;
19870 fail:
19871 return NULL;
19872 }
19873
19874
19875 static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *, PyObject *args, PyObject *kwargs) {
19876 PyObject *resultobj;
19877 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19878 bool arg2 ;
19879 PyObject * obj0 = 0 ;
19880 PyObject * obj1 = 0 ;
19881 char *kwnames[] = {
19882 (char *) "self",(char *) "flag", NULL
19883 };
19884
19885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail;
19886 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19887 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19888 arg2 = (bool)SWIG_As_bool(obj1);
19889 if (PyErr_Occurred()) SWIG_fail;
19890 {
19891 PyThreadState* __tstate = wxPyBeginAllowThreads();
19892 (arg1)->EnablePrinter(arg2);
19893
19894 wxPyEndAllowThreads(__tstate);
19895 if (PyErr_Occurred()) SWIG_fail;
19896 }
19897 Py_INCREF(Py_None); resultobj = Py_None;
19898 return resultobj;
19899 fail:
19900 return NULL;
19901 }
19902
19903
19904 static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *, PyObject *args, PyObject *kwargs) {
19905 PyObject *resultobj;
19906 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19907 bool result;
19908 PyObject * obj0 = 0 ;
19909 char *kwnames[] = {
19910 (char *) "self", NULL
19911 };
19912
19913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames,&obj0)) goto fail;
19914 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19915 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19916 {
19917 PyThreadState* __tstate = wxPyBeginAllowThreads();
19918 result = (bool)(arg1)->GetDefaultMinMargins();
19919
19920 wxPyEndAllowThreads(__tstate);
19921 if (PyErr_Occurred()) SWIG_fail;
19922 }
19923 {
19924 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19925 }
19926 return resultobj;
19927 fail:
19928 return NULL;
19929 }
19930
19931
19932 static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *, PyObject *args, PyObject *kwargs) {
19933 PyObject *resultobj;
19934 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19935 bool result;
19936 PyObject * obj0 = 0 ;
19937 char *kwnames[] = {
19938 (char *) "self", NULL
19939 };
19940
19941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail;
19942 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19943 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19944 {
19945 PyThreadState* __tstate = wxPyBeginAllowThreads();
19946 result = (bool)(arg1)->GetEnableMargins();
19947
19948 wxPyEndAllowThreads(__tstate);
19949 if (PyErr_Occurred()) SWIG_fail;
19950 }
19951 {
19952 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19953 }
19954 return resultobj;
19955 fail:
19956 return NULL;
19957 }
19958
19959
19960 static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
19961 PyObject *resultobj;
19962 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19963 bool result;
19964 PyObject * obj0 = 0 ;
19965 char *kwnames[] = {
19966 (char *) "self", NULL
19967 };
19968
19969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail;
19970 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19971 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19972 {
19973 PyThreadState* __tstate = wxPyBeginAllowThreads();
19974 result = (bool)(arg1)->GetEnableOrientation();
19975
19976 wxPyEndAllowThreads(__tstate);
19977 if (PyErr_Occurred()) SWIG_fail;
19978 }
19979 {
19980 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19981 }
19982 return resultobj;
19983 fail:
19984 return NULL;
19985 }
19986
19987
19988 static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *, PyObject *args, PyObject *kwargs) {
19989 PyObject *resultobj;
19990 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19991 bool result;
19992 PyObject * obj0 = 0 ;
19993 char *kwnames[] = {
19994 (char *) "self", NULL
19995 };
19996
19997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail;
19998 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19999 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20000 {
20001 PyThreadState* __tstate = wxPyBeginAllowThreads();
20002 result = (bool)(arg1)->GetEnablePaper();
20003
20004 wxPyEndAllowThreads(__tstate);
20005 if (PyErr_Occurred()) SWIG_fail;
20006 }
20007 {
20008 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20009 }
20010 return resultobj;
20011 fail:
20012 return NULL;
20013 }
20014
20015
20016 static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *, PyObject *args, PyObject *kwargs) {
20017 PyObject *resultobj;
20018 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20019 bool result;
20020 PyObject * obj0 = 0 ;
20021 char *kwnames[] = {
20022 (char *) "self", NULL
20023 };
20024
20025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail;
20026 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20027 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20028 {
20029 PyThreadState* __tstate = wxPyBeginAllowThreads();
20030 result = (bool)(arg1)->GetEnablePrinter();
20031
20032 wxPyEndAllowThreads(__tstate);
20033 if (PyErr_Occurred()) SWIG_fail;
20034 }
20035 {
20036 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20037 }
20038 return resultobj;
20039 fail:
20040 return NULL;
20041 }
20042
20043
20044 static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
20045 PyObject *resultobj;
20046 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20047 bool result;
20048 PyObject * obj0 = 0 ;
20049 char *kwnames[] = {
20050 (char *) "self", NULL
20051 };
20052
20053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
20054 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20055 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20056 {
20057 PyThreadState* __tstate = wxPyBeginAllowThreads();
20058 result = (bool)(arg1)->GetEnableHelp();
20059
20060 wxPyEndAllowThreads(__tstate);
20061 if (PyErr_Occurred()) SWIG_fail;
20062 }
20063 {
20064 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20065 }
20066 return resultobj;
20067 fail:
20068 return NULL;
20069 }
20070
20071
20072 static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *, PyObject *args, PyObject *kwargs) {
20073 PyObject *resultobj;
20074 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20075 bool result;
20076 PyObject * obj0 = 0 ;
20077 char *kwnames[] = {
20078 (char *) "self", NULL
20079 };
20080
20081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames,&obj0)) goto fail;
20082 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20083 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20084 {
20085 PyThreadState* __tstate = wxPyBeginAllowThreads();
20086 result = (bool)(arg1)->GetDefaultInfo();
20087
20088 wxPyEndAllowThreads(__tstate);
20089 if (PyErr_Occurred()) SWIG_fail;
20090 }
20091 {
20092 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20093 }
20094 return resultobj;
20095 fail:
20096 return NULL;
20097 }
20098
20099
20100 static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
20101 PyObject *resultobj;
20102 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20103 wxPoint result;
20104 PyObject * obj0 = 0 ;
20105 char *kwnames[] = {
20106 (char *) "self", NULL
20107 };
20108
20109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail;
20110 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20111 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20112 {
20113 PyThreadState* __tstate = wxPyBeginAllowThreads();
20114 result = (arg1)->GetMarginTopLeft();
20115
20116 wxPyEndAllowThreads(__tstate);
20117 if (PyErr_Occurred()) SWIG_fail;
20118 }
20119 {
20120 wxPoint * resultptr;
20121 resultptr = new wxPoint((wxPoint &) result);
20122 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
20123 }
20124 return resultobj;
20125 fail:
20126 return NULL;
20127 }
20128
20129
20130 static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
20131 PyObject *resultobj;
20132 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20133 wxPoint result;
20134 PyObject * obj0 = 0 ;
20135 char *kwnames[] = {
20136 (char *) "self", NULL
20137 };
20138
20139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail;
20140 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20141 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20142 {
20143 PyThreadState* __tstate = wxPyBeginAllowThreads();
20144 result = (arg1)->GetMarginBottomRight();
20145
20146 wxPyEndAllowThreads(__tstate);
20147 if (PyErr_Occurred()) SWIG_fail;
20148 }
20149 {
20150 wxPoint * resultptr;
20151 resultptr = new wxPoint((wxPoint &) result);
20152 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
20153 }
20154 return resultobj;
20155 fail:
20156 return NULL;
20157 }
20158
20159
20160 static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
20161 PyObject *resultobj;
20162 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20163 wxPoint result;
20164 PyObject * obj0 = 0 ;
20165 char *kwnames[] = {
20166 (char *) "self", NULL
20167 };
20168
20169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail;
20170 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20172 {
20173 PyThreadState* __tstate = wxPyBeginAllowThreads();
20174 result = (arg1)->GetMinMarginTopLeft();
20175
20176 wxPyEndAllowThreads(__tstate);
20177 if (PyErr_Occurred()) SWIG_fail;
20178 }
20179 {
20180 wxPoint * resultptr;
20181 resultptr = new wxPoint((wxPoint &) result);
20182 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
20183 }
20184 return resultobj;
20185 fail:
20186 return NULL;
20187 }
20188
20189
20190 static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
20191 PyObject *resultobj;
20192 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20193 wxPoint result;
20194 PyObject * obj0 = 0 ;
20195 char *kwnames[] = {
20196 (char *) "self", NULL
20197 };
20198
20199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail;
20200 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20201 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20202 {
20203 PyThreadState* __tstate = wxPyBeginAllowThreads();
20204 result = (arg1)->GetMinMarginBottomRight();
20205
20206 wxPyEndAllowThreads(__tstate);
20207 if (PyErr_Occurred()) SWIG_fail;
20208 }
20209 {
20210 wxPoint * resultptr;
20211 resultptr = new wxPoint((wxPoint &) result);
20212 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
20213 }
20214 return resultobj;
20215 fail:
20216 return NULL;
20217 }
20218
20219
20220 static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
20221 PyObject *resultobj;
20222 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20223 int result;
20224 PyObject * obj0 = 0 ;
20225 char *kwnames[] = {
20226 (char *) "self", NULL
20227 };
20228
20229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",kwnames,&obj0)) goto fail;
20230 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20231 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20232 {
20233 PyThreadState* __tstate = wxPyBeginAllowThreads();
20234 result = (int)(arg1)->GetPaperId();
20235
20236 wxPyEndAllowThreads(__tstate);
20237 if (PyErr_Occurred()) SWIG_fail;
20238 }
20239 resultobj = SWIG_From_int((int)result);
20240 return resultobj;
20241 fail:
20242 return NULL;
20243 }
20244
20245
20246 static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
20247 PyObject *resultobj;
20248 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20249 wxSize result;
20250 PyObject * obj0 = 0 ;
20251 char *kwnames[] = {
20252 (char *) "self", NULL
20253 };
20254
20255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail;
20256 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20257 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20258 {
20259 PyThreadState* __tstate = wxPyBeginAllowThreads();
20260 result = (arg1)->GetPaperSize();
20261
20262 wxPyEndAllowThreads(__tstate);
20263 if (PyErr_Occurred()) SWIG_fail;
20264 }
20265 {
20266 wxSize * resultptr;
20267 resultptr = new wxSize((wxSize &) result);
20268 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20269 }
20270 return resultobj;
20271 fail:
20272 return NULL;
20273 }
20274
20275
20276 static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
20277 PyObject *resultobj;
20278 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20279 wxPrintData *result;
20280 PyObject * obj0 = 0 ;
20281 char *kwnames[] = {
20282 (char *) "self", NULL
20283 };
20284
20285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail;
20286 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20287 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20288 {
20289 PyThreadState* __tstate = wxPyBeginAllowThreads();
20290 {
20291 wxPrintData &_result_ref = (arg1)->GetPrintData();
20292 result = (wxPrintData *) &_result_ref;
20293 }
20294
20295 wxPyEndAllowThreads(__tstate);
20296 if (PyErr_Occurred()) SWIG_fail;
20297 }
20298 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
20299 return resultobj;
20300 fail:
20301 return NULL;
20302 }
20303
20304
20305 static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
20306 PyObject *resultobj;
20307 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20308 bool result;
20309 PyObject * obj0 = 0 ;
20310 char *kwnames[] = {
20311 (char *) "self", NULL
20312 };
20313
20314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_Ok",kwnames,&obj0)) goto fail;
20315 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20316 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20317 {
20318 PyThreadState* __tstate = wxPyBeginAllowThreads();
20319 result = (bool)(arg1)->Ok();
20320
20321 wxPyEndAllowThreads(__tstate);
20322 if (PyErr_Occurred()) SWIG_fail;
20323 }
20324 {
20325 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20326 }
20327 return resultobj;
20328 fail:
20329 return NULL;
20330 }
20331
20332
20333 static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *, PyObject *args, PyObject *kwargs) {
20334 PyObject *resultobj;
20335 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20336 bool arg2 ;
20337 PyObject * obj0 = 0 ;
20338 PyObject * obj1 = 0 ;
20339 char *kwnames[] = {
20340 (char *) "self",(char *) "flag", NULL
20341 };
20342
20343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail;
20344 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20345 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20346 arg2 = (bool)SWIG_As_bool(obj1);
20347 if (PyErr_Occurred()) SWIG_fail;
20348 {
20349 PyThreadState* __tstate = wxPyBeginAllowThreads();
20350 (arg1)->SetDefaultInfo(arg2);
20351
20352 wxPyEndAllowThreads(__tstate);
20353 if (PyErr_Occurred()) SWIG_fail;
20354 }
20355 Py_INCREF(Py_None); resultobj = Py_None;
20356 return resultobj;
20357 fail:
20358 return NULL;
20359 }
20360
20361
20362 static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *, PyObject *args, PyObject *kwargs) {
20363 PyObject *resultobj;
20364 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20365 bool arg2 ;
20366 PyObject * obj0 = 0 ;
20367 PyObject * obj1 = 0 ;
20368 char *kwnames[] = {
20369 (char *) "self",(char *) "flag", NULL
20370 };
20371
20372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail;
20373 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20374 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20375 arg2 = (bool)SWIG_As_bool(obj1);
20376 if (PyErr_Occurred()) SWIG_fail;
20377 {
20378 PyThreadState* __tstate = wxPyBeginAllowThreads();
20379 (arg1)->SetDefaultMinMargins(arg2);
20380
20381 wxPyEndAllowThreads(__tstate);
20382 if (PyErr_Occurred()) SWIG_fail;
20383 }
20384 Py_INCREF(Py_None); resultobj = Py_None;
20385 return resultobj;
20386 fail:
20387 return NULL;
20388 }
20389
20390
20391 static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
20392 PyObject *resultobj;
20393 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20394 wxPoint *arg2 = 0 ;
20395 wxPoint temp2 ;
20396 PyObject * obj0 = 0 ;
20397 PyObject * obj1 = 0 ;
20398 char *kwnames[] = {
20399 (char *) "self",(char *) "pt", NULL
20400 };
20401
20402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
20403 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20404 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20405 {
20406 arg2 = &temp2;
20407 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20408 }
20409 {
20410 PyThreadState* __tstate = wxPyBeginAllowThreads();
20411 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
20412
20413 wxPyEndAllowThreads(__tstate);
20414 if (PyErr_Occurred()) SWIG_fail;
20415 }
20416 Py_INCREF(Py_None); resultobj = Py_None;
20417 return resultobj;
20418 fail:
20419 return NULL;
20420 }
20421
20422
20423 static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
20424 PyObject *resultobj;
20425 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20426 wxPoint *arg2 = 0 ;
20427 wxPoint temp2 ;
20428 PyObject * obj0 = 0 ;
20429 PyObject * obj1 = 0 ;
20430 char *kwnames[] = {
20431 (char *) "self",(char *) "pt", NULL
20432 };
20433
20434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
20435 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20436 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20437 {
20438 arg2 = &temp2;
20439 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20440 }
20441 {
20442 PyThreadState* __tstate = wxPyBeginAllowThreads();
20443 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
20444
20445 wxPyEndAllowThreads(__tstate);
20446 if (PyErr_Occurred()) SWIG_fail;
20447 }
20448 Py_INCREF(Py_None); resultobj = Py_None;
20449 return resultobj;
20450 fail:
20451 return NULL;
20452 }
20453
20454
20455 static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
20456 PyObject *resultobj;
20457 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20458 wxPoint *arg2 = 0 ;
20459 wxPoint temp2 ;
20460 PyObject * obj0 = 0 ;
20461 PyObject * obj1 = 0 ;
20462 char *kwnames[] = {
20463 (char *) "self",(char *) "pt", NULL
20464 };
20465
20466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
20467 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20468 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20469 {
20470 arg2 = &temp2;
20471 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20472 }
20473 {
20474 PyThreadState* __tstate = wxPyBeginAllowThreads();
20475 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
20476
20477 wxPyEndAllowThreads(__tstate);
20478 if (PyErr_Occurred()) SWIG_fail;
20479 }
20480 Py_INCREF(Py_None); resultobj = Py_None;
20481 return resultobj;
20482 fail:
20483 return NULL;
20484 }
20485
20486
20487 static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
20488 PyObject *resultobj;
20489 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20490 wxPoint *arg2 = 0 ;
20491 wxPoint temp2 ;
20492 PyObject * obj0 = 0 ;
20493 PyObject * obj1 = 0 ;
20494 char *kwnames[] = {
20495 (char *) "self",(char *) "pt", NULL
20496 };
20497
20498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
20499 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20500 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20501 {
20502 arg2 = &temp2;
20503 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20504 }
20505 {
20506 PyThreadState* __tstate = wxPyBeginAllowThreads();
20507 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
20508
20509 wxPyEndAllowThreads(__tstate);
20510 if (PyErr_Occurred()) SWIG_fail;
20511 }
20512 Py_INCREF(Py_None); resultobj = Py_None;
20513 return resultobj;
20514 fail:
20515 return NULL;
20516 }
20517
20518
20519 static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
20520 PyObject *resultobj;
20521 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20522 int arg2 ;
20523 PyObject * obj0 = 0 ;
20524 PyObject * obj1 = 0 ;
20525 char *kwnames[] = {
20526 (char *) "self",(char *) "id", NULL
20527 };
20528
20529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
20530 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20531 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20532 arg2 = (int)SWIG_As_int(obj1);
20533 if (PyErr_Occurred()) SWIG_fail;
20534 {
20535 PyThreadState* __tstate = wxPyBeginAllowThreads();
20536 (arg1)->SetPaperId((wxPaperSize )arg2);
20537
20538 wxPyEndAllowThreads(__tstate);
20539 if (PyErr_Occurred()) SWIG_fail;
20540 }
20541 Py_INCREF(Py_None); resultobj = Py_None;
20542 return resultobj;
20543 fail:
20544 return NULL;
20545 }
20546
20547
20548 static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
20549 PyObject *resultobj;
20550 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20551 wxSize *arg2 = 0 ;
20552 wxSize temp2 ;
20553 PyObject * obj0 = 0 ;
20554 PyObject * obj1 = 0 ;
20555 char *kwnames[] = {
20556 (char *) "self",(char *) "size", NULL
20557 };
20558
20559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
20560 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20561 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20562 {
20563 arg2 = &temp2;
20564 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
20565 }
20566 {
20567 PyThreadState* __tstate = wxPyBeginAllowThreads();
20568 (arg1)->SetPaperSize((wxSize const &)*arg2);
20569
20570 wxPyEndAllowThreads(__tstate);
20571 if (PyErr_Occurred()) SWIG_fail;
20572 }
20573 Py_INCREF(Py_None); resultobj = Py_None;
20574 return resultobj;
20575 fail:
20576 return NULL;
20577 }
20578
20579
20580 static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
20581 PyObject *resultobj;
20582 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20583 wxPrintData *arg2 = 0 ;
20584 PyObject * obj0 = 0 ;
20585 PyObject * obj1 = 0 ;
20586 char *kwnames[] = {
20587 (char *) "self",(char *) "printData", NULL
20588 };
20589
20590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
20591 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20592 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20593 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData,
20594 SWIG_POINTER_EXCEPTION | 0)) == -1)
20595 SWIG_fail;
20596 if (arg2 == NULL) {
20597 PyErr_SetString(PyExc_TypeError,"null reference");
20598 SWIG_fail;
20599 }
20600 {
20601 PyThreadState* __tstate = wxPyBeginAllowThreads();
20602 (arg1)->SetPrintData((wxPrintData const &)*arg2);
20603
20604 wxPyEndAllowThreads(__tstate);
20605 if (PyErr_Occurred()) SWIG_fail;
20606 }
20607 Py_INCREF(Py_None); resultobj = Py_None;
20608 return resultobj;
20609 fail:
20610 return NULL;
20611 }
20612
20613
20614 static PyObject * PageSetupDialogData_swigregister(PyObject *, PyObject *args) {
20615 PyObject *obj;
20616 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20617 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj);
20618 Py_INCREF(obj);
20619 return Py_BuildValue((char *)"");
20620 }
20621 static PyObject *_wrap_new_PageSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
20622 PyObject *resultobj;
20623 wxWindow *arg1 = (wxWindow *) 0 ;
20624 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
20625 wxPageSetupDialog *result;
20626 PyObject * obj0 = 0 ;
20627 PyObject * obj1 = 0 ;
20628 char *kwnames[] = {
20629 (char *) "parent",(char *) "data", NULL
20630 };
20631
20632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail;
20633 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
20634 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20635 if (obj1) {
20636 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPageSetupDialogData,
20637 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20638 }
20639 {
20640 if (!wxPyCheckForApp()) SWIG_fail;
20641 PyThreadState* __tstate = wxPyBeginAllowThreads();
20642 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
20643
20644 wxPyEndAllowThreads(__tstate);
20645 if (PyErr_Occurred()) SWIG_fail;
20646 }
20647 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialog, 1);
20648 return resultobj;
20649 fail:
20650 return NULL;
20651 }
20652
20653
20654 static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *, PyObject *args, PyObject *kwargs) {
20655 PyObject *resultobj;
20656 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
20657 wxPageSetupDialogData *result;
20658 PyObject * obj0 = 0 ;
20659 char *kwnames[] = {
20660 (char *) "self", NULL
20661 };
20662
20663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail;
20664 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog,
20665 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20666 {
20667 PyThreadState* __tstate = wxPyBeginAllowThreads();
20668 {
20669 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
20670 result = (wxPageSetupDialogData *) &_result_ref;
20671 }
20672
20673 wxPyEndAllowThreads(__tstate);
20674 if (PyErr_Occurred()) SWIG_fail;
20675 }
20676 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
20677 return resultobj;
20678 fail:
20679 return NULL;
20680 }
20681
20682
20683 static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
20684 PyObject *resultobj;
20685 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
20686 int result;
20687 PyObject * obj0 = 0 ;
20688 char *kwnames[] = {
20689 (char *) "self", NULL
20690 };
20691
20692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail;
20693 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog,
20694 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20695 {
20696 PyThreadState* __tstate = wxPyBeginAllowThreads();
20697 result = (int)(arg1)->ShowModal();
20698
20699 wxPyEndAllowThreads(__tstate);
20700 if (PyErr_Occurred()) SWIG_fail;
20701 }
20702 resultobj = SWIG_From_int((int)result);
20703 return resultobj;
20704 fail:
20705 return NULL;
20706 }
20707
20708
20709 static PyObject * PageSetupDialog_swigregister(PyObject *, PyObject *args) {
20710 PyObject *obj;
20711 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20712 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj);
20713 Py_INCREF(obj);
20714 return Py_BuildValue((char *)"");
20715 }
20716 static PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *, PyObject *args) {
20717 PyObject *resultobj;
20718 wxPrintDialogData *result;
20719
20720 if(!PyArg_ParseTuple(args,(char *)":new_PrintDialogData")) goto fail;
20721 {
20722 PyThreadState* __tstate = wxPyBeginAllowThreads();
20723 result = (wxPrintDialogData *)new wxPrintDialogData();
20724
20725 wxPyEndAllowThreads(__tstate);
20726 if (PyErr_Occurred()) SWIG_fail;
20727 }
20728 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
20729 return resultobj;
20730 fail:
20731 return NULL;
20732 }
20733
20734
20735 static PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *, PyObject *args) {
20736 PyObject *resultobj;
20737 wxPrintData *arg1 = 0 ;
20738 wxPrintDialogData *result;
20739 PyObject * obj0 = 0 ;
20740
20741 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintDialogData",&obj0)) goto fail;
20742 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
20743 SWIG_POINTER_EXCEPTION | 0)) == -1)
20744 SWIG_fail;
20745 if (arg1 == NULL) {
20746 PyErr_SetString(PyExc_TypeError,"null reference");
20747 SWIG_fail;
20748 }
20749 {
20750 PyThreadState* __tstate = wxPyBeginAllowThreads();
20751 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
20752
20753 wxPyEndAllowThreads(__tstate);
20754 if (PyErr_Occurred()) SWIG_fail;
20755 }
20756 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
20757 return resultobj;
20758 fail:
20759 return NULL;
20760 }
20761
20762
20763 static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
20764 int argc;
20765 PyObject *argv[2];
20766 int ii;
20767
20768 argc = PyObject_Length(args);
20769 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
20770 argv[ii] = PyTuple_GetItem(args,ii);
20771 }
20772 if (argc == 0) {
20773 return _wrap_new_PrintDialogData__SWIG_0(self,args);
20774 }
20775 if (argc == 1) {
20776 int _v;
20777 {
20778 void *ptr;
20779 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
20780 _v = 0;
20781 PyErr_Clear();
20782 } else {
20783 _v = 1;
20784 }
20785 }
20786 if (_v) {
20787 return _wrap_new_PrintDialogData__SWIG_1(self,args);
20788 }
20789 }
20790
20791 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintDialogData'");
20792 return NULL;
20793 }
20794
20795
20796 static PyObject *_wrap_delete_PrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
20797 PyObject *resultobj;
20798 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20799 PyObject * obj0 = 0 ;
20800 char *kwnames[] = {
20801 (char *) "self", NULL
20802 };
20803
20804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail;
20805 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20806 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20807 {
20808 PyThreadState* __tstate = wxPyBeginAllowThreads();
20809 delete arg1;
20810
20811 wxPyEndAllowThreads(__tstate);
20812 if (PyErr_Occurred()) SWIG_fail;
20813 }
20814 Py_INCREF(Py_None); resultobj = Py_None;
20815 return resultobj;
20816 fail:
20817 return NULL;
20818 }
20819
20820
20821 static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
20822 PyObject *resultobj;
20823 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20824 int result;
20825 PyObject * obj0 = 0 ;
20826 char *kwnames[] = {
20827 (char *) "self", NULL
20828 };
20829
20830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail;
20831 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20832 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20833 {
20834 PyThreadState* __tstate = wxPyBeginAllowThreads();
20835 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
20836
20837 wxPyEndAllowThreads(__tstate);
20838 if (PyErr_Occurred()) SWIG_fail;
20839 }
20840 resultobj = SWIG_From_int((int)result);
20841 return resultobj;
20842 fail:
20843 return NULL;
20844 }
20845
20846
20847 static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *, PyObject *args, PyObject *kwargs) {
20848 PyObject *resultobj;
20849 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20850 int result;
20851 PyObject * obj0 = 0 ;
20852 char *kwnames[] = {
20853 (char *) "self", NULL
20854 };
20855
20856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail;
20857 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20858 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20859 {
20860 PyThreadState* __tstate = wxPyBeginAllowThreads();
20861 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
20862
20863 wxPyEndAllowThreads(__tstate);
20864 if (PyErr_Occurred()) SWIG_fail;
20865 }
20866 resultobj = SWIG_From_int((int)result);
20867 return resultobj;
20868 fail:
20869 return NULL;
20870 }
20871
20872
20873 static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
20874 PyObject *resultobj;
20875 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20876 int result;
20877 PyObject * obj0 = 0 ;
20878 char *kwnames[] = {
20879 (char *) "self", NULL
20880 };
20881
20882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail;
20883 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20884 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20885 {
20886 PyThreadState* __tstate = wxPyBeginAllowThreads();
20887 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
20888
20889 wxPyEndAllowThreads(__tstate);
20890 if (PyErr_Occurred()) SWIG_fail;
20891 }
20892 resultobj = SWIG_From_int((int)result);
20893 return resultobj;
20894 fail:
20895 return NULL;
20896 }
20897
20898
20899 static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
20900 PyObject *resultobj;
20901 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20902 int result;
20903 PyObject * obj0 = 0 ;
20904 char *kwnames[] = {
20905 (char *) "self", NULL
20906 };
20907
20908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail;
20909 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20910 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20911 {
20912 PyThreadState* __tstate = wxPyBeginAllowThreads();
20913 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
20914
20915 wxPyEndAllowThreads(__tstate);
20916 if (PyErr_Occurred()) SWIG_fail;
20917 }
20918 resultobj = SWIG_From_int((int)result);
20919 return resultobj;
20920 fail:
20921 return NULL;
20922 }
20923
20924
20925 static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
20926 PyObject *resultobj;
20927 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20928 int result;
20929 PyObject * obj0 = 0 ;
20930 char *kwnames[] = {
20931 (char *) "self", NULL
20932 };
20933
20934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail;
20935 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20936 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20937 {
20938 PyThreadState* __tstate = wxPyBeginAllowThreads();
20939 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
20940
20941 wxPyEndAllowThreads(__tstate);
20942 if (PyErr_Occurred()) SWIG_fail;
20943 }
20944 resultobj = SWIG_From_int((int)result);
20945 return resultobj;
20946 fail:
20947 return NULL;
20948 }
20949
20950
20951 static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
20952 PyObject *resultobj;
20953 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20954 bool result;
20955 PyObject * obj0 = 0 ;
20956 char *kwnames[] = {
20957 (char *) "self", NULL
20958 };
20959
20960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail;
20961 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20962 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20963 {
20964 PyThreadState* __tstate = wxPyBeginAllowThreads();
20965 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
20966
20967 wxPyEndAllowThreads(__tstate);
20968 if (PyErr_Occurred()) SWIG_fail;
20969 }
20970 {
20971 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20972 }
20973 return resultobj;
20974 fail:
20975 return NULL;
20976 }
20977
20978
20979 static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
20980 PyObject *resultobj;
20981 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20982 bool result;
20983 PyObject * obj0 = 0 ;
20984 char *kwnames[] = {
20985 (char *) "self", NULL
20986 };
20987
20988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail;
20989 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20990 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20991 {
20992 PyThreadState* __tstate = wxPyBeginAllowThreads();
20993 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
20994
20995 wxPyEndAllowThreads(__tstate);
20996 if (PyErr_Occurred()) SWIG_fail;
20997 }
20998 {
20999 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21000 }
21001 return resultobj;
21002 fail:
21003 return NULL;
21004 }
21005
21006
21007 static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
21008 PyObject *resultobj;
21009 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21010 bool result;
21011 PyObject * obj0 = 0 ;
21012 char *kwnames[] = {
21013 (char *) "self", NULL
21014 };
21015
21016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail;
21017 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21018 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21019 {
21020 PyThreadState* __tstate = wxPyBeginAllowThreads();
21021 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
21022
21023 wxPyEndAllowThreads(__tstate);
21024 if (PyErr_Occurred()) SWIG_fail;
21025 }
21026 {
21027 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21028 }
21029 return resultobj;
21030 fail:
21031 return NULL;
21032 }
21033
21034
21035 static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
21036 PyObject *resultobj;
21037 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21038 bool result;
21039 PyObject * obj0 = 0 ;
21040 char *kwnames[] = {
21041 (char *) "self", NULL
21042 };
21043
21044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail;
21045 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21046 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21047 {
21048 PyThreadState* __tstate = wxPyBeginAllowThreads();
21049 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
21050
21051 wxPyEndAllowThreads(__tstate);
21052 if (PyErr_Occurred()) SWIG_fail;
21053 }
21054 {
21055 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21056 }
21057 return resultobj;
21058 fail:
21059 return NULL;
21060 }
21061
21062
21063 static PyObject *_wrap_PrintDialogData_GetSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
21064 PyObject *resultobj;
21065 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21066 bool result;
21067 PyObject * obj0 = 0 ;
21068 char *kwnames[] = {
21069 (char *) "self", NULL
21070 };
21071
21072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSetupDialog",kwnames,&obj0)) goto fail;
21073 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21074 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21075 {
21076 PyThreadState* __tstate = wxPyBeginAllowThreads();
21077 result = (bool)((wxPrintDialogData const *)arg1)->GetSetupDialog();
21078
21079 wxPyEndAllowThreads(__tstate);
21080 if (PyErr_Occurred()) SWIG_fail;
21081 }
21082 {
21083 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21084 }
21085 return resultobj;
21086 fail:
21087 return NULL;
21088 }
21089
21090
21091 static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
21092 PyObject *resultobj;
21093 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21094 int arg2 ;
21095 PyObject * obj0 = 0 ;
21096 PyObject * obj1 = 0 ;
21097 char *kwnames[] = {
21098 (char *) "self",(char *) "v", NULL
21099 };
21100
21101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) goto fail;
21102 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21103 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21104 arg2 = (int)SWIG_As_int(obj1);
21105 if (PyErr_Occurred()) SWIG_fail;
21106 {
21107 PyThreadState* __tstate = wxPyBeginAllowThreads();
21108 (arg1)->SetFromPage(arg2);
21109
21110 wxPyEndAllowThreads(__tstate);
21111 if (PyErr_Occurred()) SWIG_fail;
21112 }
21113 Py_INCREF(Py_None); resultobj = Py_None;
21114 return resultobj;
21115 fail:
21116 return NULL;
21117 }
21118
21119
21120 static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *, PyObject *args, PyObject *kwargs) {
21121 PyObject *resultobj;
21122 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21123 int arg2 ;
21124 PyObject * obj0 = 0 ;
21125 PyObject * obj1 = 0 ;
21126 char *kwnames[] = {
21127 (char *) "self",(char *) "v", NULL
21128 };
21129
21130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) goto fail;
21131 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21132 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21133 arg2 = (int)SWIG_As_int(obj1);
21134 if (PyErr_Occurred()) SWIG_fail;
21135 {
21136 PyThreadState* __tstate = wxPyBeginAllowThreads();
21137 (arg1)->SetToPage(arg2);
21138
21139 wxPyEndAllowThreads(__tstate);
21140 if (PyErr_Occurred()) SWIG_fail;
21141 }
21142 Py_INCREF(Py_None); resultobj = Py_None;
21143 return resultobj;
21144 fail:
21145 return NULL;
21146 }
21147
21148
21149 static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
21150 PyObject *resultobj;
21151 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21152 int arg2 ;
21153 PyObject * obj0 = 0 ;
21154 PyObject * obj1 = 0 ;
21155 char *kwnames[] = {
21156 (char *) "self",(char *) "v", NULL
21157 };
21158
21159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) goto fail;
21160 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21161 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21162 arg2 = (int)SWIG_As_int(obj1);
21163 if (PyErr_Occurred()) SWIG_fail;
21164 {
21165 PyThreadState* __tstate = wxPyBeginAllowThreads();
21166 (arg1)->SetMinPage(arg2);
21167
21168 wxPyEndAllowThreads(__tstate);
21169 if (PyErr_Occurred()) SWIG_fail;
21170 }
21171 Py_INCREF(Py_None); resultobj = Py_None;
21172 return resultobj;
21173 fail:
21174 return NULL;
21175 }
21176
21177
21178 static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
21179 PyObject *resultobj;
21180 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21181 int arg2 ;
21182 PyObject * obj0 = 0 ;
21183 PyObject * obj1 = 0 ;
21184 char *kwnames[] = {
21185 (char *) "self",(char *) "v", NULL
21186 };
21187
21188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) goto fail;
21189 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21190 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21191 arg2 = (int)SWIG_As_int(obj1);
21192 if (PyErr_Occurred()) SWIG_fail;
21193 {
21194 PyThreadState* __tstate = wxPyBeginAllowThreads();
21195 (arg1)->SetMaxPage(arg2);
21196
21197 wxPyEndAllowThreads(__tstate);
21198 if (PyErr_Occurred()) SWIG_fail;
21199 }
21200 Py_INCREF(Py_None); resultobj = Py_None;
21201 return resultobj;
21202 fail:
21203 return NULL;
21204 }
21205
21206
21207 static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
21208 PyObject *resultobj;
21209 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21210 int arg2 ;
21211 PyObject * obj0 = 0 ;
21212 PyObject * obj1 = 0 ;
21213 char *kwnames[] = {
21214 (char *) "self",(char *) "v", NULL
21215 };
21216
21217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
21218 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21220 arg2 = (int)SWIG_As_int(obj1);
21221 if (PyErr_Occurred()) SWIG_fail;
21222 {
21223 PyThreadState* __tstate = wxPyBeginAllowThreads();
21224 (arg1)->SetNoCopies(arg2);
21225
21226 wxPyEndAllowThreads(__tstate);
21227 if (PyErr_Occurred()) SWIG_fail;
21228 }
21229 Py_INCREF(Py_None); resultobj = Py_None;
21230 return resultobj;
21231 fail:
21232 return NULL;
21233 }
21234
21235
21236 static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
21237 PyObject *resultobj;
21238 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21239 bool arg2 ;
21240 PyObject * obj0 = 0 ;
21241 PyObject * obj1 = 0 ;
21242 char *kwnames[] = {
21243 (char *) "self",(char *) "flag", NULL
21244 };
21245
21246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail;
21247 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21248 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21249 arg2 = (bool)SWIG_As_bool(obj1);
21250 if (PyErr_Occurred()) SWIG_fail;
21251 {
21252 PyThreadState* __tstate = wxPyBeginAllowThreads();
21253 (arg1)->SetAllPages(arg2);
21254
21255 wxPyEndAllowThreads(__tstate);
21256 if (PyErr_Occurred()) SWIG_fail;
21257 }
21258 Py_INCREF(Py_None); resultobj = Py_None;
21259 return resultobj;
21260 fail:
21261 return NULL;
21262 }
21263
21264
21265 static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
21266 PyObject *resultobj;
21267 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21268 bool arg2 ;
21269 PyObject * obj0 = 0 ;
21270 PyObject * obj1 = 0 ;
21271 char *kwnames[] = {
21272 (char *) "self",(char *) "flag", NULL
21273 };
21274
21275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail;
21276 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21277 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21278 arg2 = (bool)SWIG_As_bool(obj1);
21279 if (PyErr_Occurred()) SWIG_fail;
21280 {
21281 PyThreadState* __tstate = wxPyBeginAllowThreads();
21282 (arg1)->SetSelection(arg2);
21283
21284 wxPyEndAllowThreads(__tstate);
21285 if (PyErr_Occurred()) SWIG_fail;
21286 }
21287 Py_INCREF(Py_None); resultobj = Py_None;
21288 return resultobj;
21289 fail:
21290 return NULL;
21291 }
21292
21293
21294 static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
21295 PyObject *resultobj;
21296 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21297 bool arg2 ;
21298 PyObject * obj0 = 0 ;
21299 PyObject * obj1 = 0 ;
21300 char *kwnames[] = {
21301 (char *) "self",(char *) "flag", NULL
21302 };
21303
21304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
21305 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21306 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21307 arg2 = (bool)SWIG_As_bool(obj1);
21308 if (PyErr_Occurred()) SWIG_fail;
21309 {
21310 PyThreadState* __tstate = wxPyBeginAllowThreads();
21311 (arg1)->SetCollate(arg2);
21312
21313 wxPyEndAllowThreads(__tstate);
21314 if (PyErr_Occurred()) SWIG_fail;
21315 }
21316 Py_INCREF(Py_None); resultobj = Py_None;
21317 return resultobj;
21318 fail:
21319 return NULL;
21320 }
21321
21322
21323 static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
21324 PyObject *resultobj;
21325 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21326 bool arg2 ;
21327 PyObject * obj0 = 0 ;
21328 PyObject * obj1 = 0 ;
21329 char *kwnames[] = {
21330 (char *) "self",(char *) "flag", NULL
21331 };
21332
21333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail;
21334 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21335 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21336 arg2 = (bool)SWIG_As_bool(obj1);
21337 if (PyErr_Occurred()) SWIG_fail;
21338 {
21339 PyThreadState* __tstate = wxPyBeginAllowThreads();
21340 (arg1)->SetPrintToFile(arg2);
21341
21342 wxPyEndAllowThreads(__tstate);
21343 if (PyErr_Occurred()) SWIG_fail;
21344 }
21345 Py_INCREF(Py_None); resultobj = Py_None;
21346 return resultobj;
21347 fail:
21348 return NULL;
21349 }
21350
21351
21352 static PyObject *_wrap_PrintDialogData_SetSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
21353 PyObject *resultobj;
21354 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21355 bool arg2 ;
21356 PyObject * obj0 = 0 ;
21357 PyObject * obj1 = 0 ;
21358 char *kwnames[] = {
21359 (char *) "self",(char *) "flag", NULL
21360 };
21361
21362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames,&obj0,&obj1)) goto fail;
21363 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21364 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21365 arg2 = (bool)SWIG_As_bool(obj1);
21366 if (PyErr_Occurred()) SWIG_fail;
21367 {
21368 PyThreadState* __tstate = wxPyBeginAllowThreads();
21369 (arg1)->SetSetupDialog(arg2);
21370
21371 wxPyEndAllowThreads(__tstate);
21372 if (PyErr_Occurred()) SWIG_fail;
21373 }
21374 Py_INCREF(Py_None); resultobj = Py_None;
21375 return resultobj;
21376 fail:
21377 return NULL;
21378 }
21379
21380
21381 static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
21382 PyObject *resultobj;
21383 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21384 bool arg2 ;
21385 PyObject * obj0 = 0 ;
21386 PyObject * obj1 = 0 ;
21387 char *kwnames[] = {
21388 (char *) "self",(char *) "flag", NULL
21389 };
21390
21391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail;
21392 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21393 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21394 arg2 = (bool)SWIG_As_bool(obj1);
21395 if (PyErr_Occurred()) SWIG_fail;
21396 {
21397 PyThreadState* __tstate = wxPyBeginAllowThreads();
21398 (arg1)->EnablePrintToFile(arg2);
21399
21400 wxPyEndAllowThreads(__tstate);
21401 if (PyErr_Occurred()) SWIG_fail;
21402 }
21403 Py_INCREF(Py_None); resultobj = Py_None;
21404 return resultobj;
21405 fail:
21406 return NULL;
21407 }
21408
21409
21410 static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *, PyObject *args, PyObject *kwargs) {
21411 PyObject *resultobj;
21412 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21413 bool arg2 ;
21414 PyObject * obj0 = 0 ;
21415 PyObject * obj1 = 0 ;
21416 char *kwnames[] = {
21417 (char *) "self",(char *) "flag", NULL
21418 };
21419
21420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail;
21421 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21422 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21423 arg2 = (bool)SWIG_As_bool(obj1);
21424 if (PyErr_Occurred()) SWIG_fail;
21425 {
21426 PyThreadState* __tstate = wxPyBeginAllowThreads();
21427 (arg1)->EnableSelection(arg2);
21428
21429 wxPyEndAllowThreads(__tstate);
21430 if (PyErr_Occurred()) SWIG_fail;
21431 }
21432 Py_INCREF(Py_None); resultobj = Py_None;
21433 return resultobj;
21434 fail:
21435 return NULL;
21436 }
21437
21438
21439 static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *, PyObject *args, PyObject *kwargs) {
21440 PyObject *resultobj;
21441 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21442 bool arg2 ;
21443 PyObject * obj0 = 0 ;
21444 PyObject * obj1 = 0 ;
21445 char *kwnames[] = {
21446 (char *) "self",(char *) "flag", NULL
21447 };
21448
21449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail;
21450 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21451 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21452 arg2 = (bool)SWIG_As_bool(obj1);
21453 if (PyErr_Occurred()) SWIG_fail;
21454 {
21455 PyThreadState* __tstate = wxPyBeginAllowThreads();
21456 (arg1)->EnablePageNumbers(arg2);
21457
21458 wxPyEndAllowThreads(__tstate);
21459 if (PyErr_Occurred()) SWIG_fail;
21460 }
21461 Py_INCREF(Py_None); resultobj = Py_None;
21462 return resultobj;
21463 fail:
21464 return NULL;
21465 }
21466
21467
21468 static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
21469 PyObject *resultobj;
21470 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21471 bool arg2 ;
21472 PyObject * obj0 = 0 ;
21473 PyObject * obj1 = 0 ;
21474 char *kwnames[] = {
21475 (char *) "self",(char *) "flag", NULL
21476 };
21477
21478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
21479 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21480 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21481 arg2 = (bool)SWIG_As_bool(obj1);
21482 if (PyErr_Occurred()) SWIG_fail;
21483 {
21484 PyThreadState* __tstate = wxPyBeginAllowThreads();
21485 (arg1)->EnableHelp(arg2);
21486
21487 wxPyEndAllowThreads(__tstate);
21488 if (PyErr_Occurred()) SWIG_fail;
21489 }
21490 Py_INCREF(Py_None); resultobj = Py_None;
21491 return resultobj;
21492 fail:
21493 return NULL;
21494 }
21495
21496
21497 static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
21498 PyObject *resultobj;
21499 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21500 bool result;
21501 PyObject * obj0 = 0 ;
21502 char *kwnames[] = {
21503 (char *) "self", NULL
21504 };
21505
21506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail;
21507 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21508 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21509 {
21510 PyThreadState* __tstate = wxPyBeginAllowThreads();
21511 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
21512
21513 wxPyEndAllowThreads(__tstate);
21514 if (PyErr_Occurred()) SWIG_fail;
21515 }
21516 {
21517 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21518 }
21519 return resultobj;
21520 fail:
21521 return NULL;
21522 }
21523
21524
21525 static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *, PyObject *args, PyObject *kwargs) {
21526 PyObject *resultobj;
21527 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21528 bool result;
21529 PyObject * obj0 = 0 ;
21530 char *kwnames[] = {
21531 (char *) "self", NULL
21532 };
21533
21534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail;
21535 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21536 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21537 {
21538 PyThreadState* __tstate = wxPyBeginAllowThreads();
21539 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
21540
21541 wxPyEndAllowThreads(__tstate);
21542 if (PyErr_Occurred()) SWIG_fail;
21543 }
21544 {
21545 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21546 }
21547 return resultobj;
21548 fail:
21549 return NULL;
21550 }
21551
21552
21553 static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *, PyObject *args, PyObject *kwargs) {
21554 PyObject *resultobj;
21555 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21556 bool result;
21557 PyObject * obj0 = 0 ;
21558 char *kwnames[] = {
21559 (char *) "self", NULL
21560 };
21561
21562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail;
21563 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21564 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21565 {
21566 PyThreadState* __tstate = wxPyBeginAllowThreads();
21567 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
21568
21569 wxPyEndAllowThreads(__tstate);
21570 if (PyErr_Occurred()) SWIG_fail;
21571 }
21572 {
21573 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21574 }
21575 return resultobj;
21576 fail:
21577 return NULL;
21578 }
21579
21580
21581 static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
21582 PyObject *resultobj;
21583 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21584 bool result;
21585 PyObject * obj0 = 0 ;
21586 char *kwnames[] = {
21587 (char *) "self", NULL
21588 };
21589
21590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
21591 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21592 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21593 {
21594 PyThreadState* __tstate = wxPyBeginAllowThreads();
21595 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
21596
21597 wxPyEndAllowThreads(__tstate);
21598 if (PyErr_Occurred()) SWIG_fail;
21599 }
21600 {
21601 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21602 }
21603 return resultobj;
21604 fail:
21605 return NULL;
21606 }
21607
21608
21609 static PyObject *_wrap_PrintDialogData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
21610 PyObject *resultobj;
21611 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21612 bool result;
21613 PyObject * obj0 = 0 ;
21614 char *kwnames[] = {
21615 (char *) "self", NULL
21616 };
21617
21618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail;
21619 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21620 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21621 {
21622 PyThreadState* __tstate = wxPyBeginAllowThreads();
21623 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
21624
21625 wxPyEndAllowThreads(__tstate);
21626 if (PyErr_Occurred()) SWIG_fail;
21627 }
21628 {
21629 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21630 }
21631 return resultobj;
21632 fail:
21633 return NULL;
21634 }
21635
21636
21637 static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
21638 PyObject *resultobj;
21639 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21640 wxPrintData *result;
21641 PyObject * obj0 = 0 ;
21642 char *kwnames[] = {
21643 (char *) "self", NULL
21644 };
21645
21646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail;
21647 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21648 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21649 {
21650 PyThreadState* __tstate = wxPyBeginAllowThreads();
21651 {
21652 wxPrintData &_result_ref = (arg1)->GetPrintData();
21653 result = (wxPrintData *) &_result_ref;
21654 }
21655
21656 wxPyEndAllowThreads(__tstate);
21657 if (PyErr_Occurred()) SWIG_fail;
21658 }
21659 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
21660 return resultobj;
21661 fail:
21662 return NULL;
21663 }
21664
21665
21666 static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
21667 PyObject *resultobj;
21668 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21669 wxPrintData *arg2 = 0 ;
21670 PyObject * obj0 = 0 ;
21671 PyObject * obj1 = 0 ;
21672 char *kwnames[] = {
21673 (char *) "self",(char *) "printData", NULL
21674 };
21675
21676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
21677 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21678 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21679 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData,
21680 SWIG_POINTER_EXCEPTION | 0)) == -1)
21681 SWIG_fail;
21682 if (arg2 == NULL) {
21683 PyErr_SetString(PyExc_TypeError,"null reference");
21684 SWIG_fail;
21685 }
21686 {
21687 PyThreadState* __tstate = wxPyBeginAllowThreads();
21688 (arg1)->SetPrintData((wxPrintData const &)*arg2);
21689
21690 wxPyEndAllowThreads(__tstate);
21691 if (PyErr_Occurred()) SWIG_fail;
21692 }
21693 Py_INCREF(Py_None); resultobj = Py_None;
21694 return resultobj;
21695 fail:
21696 return NULL;
21697 }
21698
21699
21700 static PyObject * PrintDialogData_swigregister(PyObject *, PyObject *args) {
21701 PyObject *obj;
21702 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21703 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj);
21704 Py_INCREF(obj);
21705 return Py_BuildValue((char *)"");
21706 }
21707 static PyObject *_wrap_new_PrintDialog(PyObject *, PyObject *args, PyObject *kwargs) {
21708 PyObject *resultobj;
21709 wxWindow *arg1 = (wxWindow *) 0 ;
21710 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
21711 wxPrintDialog *result;
21712 PyObject * obj0 = 0 ;
21713 PyObject * obj1 = 0 ;
21714 char *kwnames[] = {
21715 (char *) "parent",(char *) "data", NULL
21716 };
21717
21718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
21719 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21720 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21721 if (obj1) {
21722 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintDialogData,
21723 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21724 }
21725 {
21726 if (!wxPyCheckForApp()) SWIG_fail;
21727 PyThreadState* __tstate = wxPyBeginAllowThreads();
21728 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
21729
21730 wxPyEndAllowThreads(__tstate);
21731 if (PyErr_Occurred()) SWIG_fail;
21732 }
21733 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialog, 1);
21734 return resultobj;
21735 fail:
21736 return NULL;
21737 }
21738
21739
21740 static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
21741 PyObject *resultobj;
21742 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
21743 wxPrintDialogData *result;
21744 PyObject * obj0 = 0 ;
21745 char *kwnames[] = {
21746 (char *) "self", NULL
21747 };
21748
21749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail;
21750 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
21751 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21752 {
21753 PyThreadState* __tstate = wxPyBeginAllowThreads();
21754 {
21755 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
21756 result = (wxPrintDialogData *) &_result_ref;
21757 }
21758
21759 wxPyEndAllowThreads(__tstate);
21760 if (PyErr_Occurred()) SWIG_fail;
21761 }
21762 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
21763 return resultobj;
21764 fail:
21765 return NULL;
21766 }
21767
21768
21769 static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *, PyObject *args, PyObject *kwargs) {
21770 PyObject *resultobj;
21771 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
21772 wxDC *result;
21773 PyObject * obj0 = 0 ;
21774 char *kwnames[] = {
21775 (char *) "self", NULL
21776 };
21777
21778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail;
21779 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
21780 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21781 {
21782 PyThreadState* __tstate = wxPyBeginAllowThreads();
21783 result = (wxDC *)(arg1)->GetPrintDC();
21784
21785 wxPyEndAllowThreads(__tstate);
21786 if (PyErr_Occurred()) SWIG_fail;
21787 }
21788 {
21789 resultobj = wxPyMake_wxObject(result, 1);
21790 }
21791 return resultobj;
21792 fail:
21793 return NULL;
21794 }
21795
21796
21797 static PyObject *_wrap_PrintDialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
21798 PyObject *resultobj;
21799 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
21800 int result;
21801 PyObject * obj0 = 0 ;
21802 char *kwnames[] = {
21803 (char *) "self", NULL
21804 };
21805
21806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail;
21807 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
21808 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21809 {
21810 PyThreadState* __tstate = wxPyBeginAllowThreads();
21811 result = (int)(arg1)->ShowModal();
21812
21813 wxPyEndAllowThreads(__tstate);
21814 if (PyErr_Occurred()) SWIG_fail;
21815 }
21816 resultobj = SWIG_From_int((int)result);
21817 return resultobj;
21818 fail:
21819 return NULL;
21820 }
21821
21822
21823 static PyObject * PrintDialog_swigregister(PyObject *, PyObject *args) {
21824 PyObject *obj;
21825 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21826 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj);
21827 Py_INCREF(obj);
21828 return Py_BuildValue((char *)"");
21829 }
21830 static PyObject *_wrap_new_Printer(PyObject *, PyObject *args, PyObject *kwargs) {
21831 PyObject *resultobj;
21832 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
21833 wxPrinter *result;
21834 PyObject * obj0 = 0 ;
21835 char *kwnames[] = {
21836 (char *) "data", NULL
21837 };
21838
21839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail;
21840 if (obj0) {
21841 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21842 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21843 }
21844 {
21845 if (!wxPyCheckForApp()) SWIG_fail;
21846 PyThreadState* __tstate = wxPyBeginAllowThreads();
21847 result = (wxPrinter *)new wxPrinter(arg1);
21848
21849 wxPyEndAllowThreads(__tstate);
21850 if (PyErr_Occurred()) SWIG_fail;
21851 }
21852 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrinter, 1);
21853 return resultobj;
21854 fail:
21855 return NULL;
21856 }
21857
21858
21859 static PyObject *_wrap_delete_Printer(PyObject *, PyObject *args, PyObject *kwargs) {
21860 PyObject *resultobj;
21861 wxPrinter *arg1 = (wxPrinter *) 0 ;
21862 PyObject * obj0 = 0 ;
21863 char *kwnames[] = {
21864 (char *) "self", NULL
21865 };
21866
21867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail;
21868 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21869 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21870 {
21871 PyThreadState* __tstate = wxPyBeginAllowThreads();
21872 delete arg1;
21873
21874 wxPyEndAllowThreads(__tstate);
21875 if (PyErr_Occurred()) SWIG_fail;
21876 }
21877 Py_INCREF(Py_None); resultobj = Py_None;
21878 return resultobj;
21879 fail:
21880 return NULL;
21881 }
21882
21883
21884 static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *, PyObject *args, PyObject *kwargs) {
21885 PyObject *resultobj;
21886 wxPrinter *arg1 = (wxPrinter *) 0 ;
21887 wxWindow *arg2 = (wxWindow *) 0 ;
21888 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
21889 PyObject * obj0 = 0 ;
21890 PyObject * obj1 = 0 ;
21891 PyObject * obj2 = 0 ;
21892 char *kwnames[] = {
21893 (char *) "self",(char *) "parent",(char *) "printout", NULL
21894 };
21895
21896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
21897 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21898 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21899 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21900 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21901 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
21902 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21903 {
21904 PyThreadState* __tstate = wxPyBeginAllowThreads();
21905 (arg1)->CreateAbortWindow(arg2,arg3);
21906
21907 wxPyEndAllowThreads(__tstate);
21908 if (PyErr_Occurred()) SWIG_fail;
21909 }
21910 Py_INCREF(Py_None); resultobj = Py_None;
21911 return resultobj;
21912 fail:
21913 return NULL;
21914 }
21915
21916
21917 static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
21918 PyObject *resultobj;
21919 wxPrinter *arg1 = (wxPrinter *) 0 ;
21920 wxPrintDialogData *result;
21921 PyObject * obj0 = 0 ;
21922 char *kwnames[] = {
21923 (char *) "self", NULL
21924 };
21925
21926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail;
21927 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21928 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21929 {
21930 PyThreadState* __tstate = wxPyBeginAllowThreads();
21931 {
21932 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
21933 result = (wxPrintDialogData *) &_result_ref;
21934 }
21935
21936 wxPyEndAllowThreads(__tstate);
21937 if (PyErr_Occurred()) SWIG_fail;
21938 }
21939 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
21940 return resultobj;
21941 fail:
21942 return NULL;
21943 }
21944
21945
21946 static PyObject *_wrap_Printer_Print(PyObject *, PyObject *args, PyObject *kwargs) {
21947 PyObject *resultobj;
21948 wxPrinter *arg1 = (wxPrinter *) 0 ;
21949 wxWindow *arg2 = (wxWindow *) 0 ;
21950 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
21951 int arg4 = (int) true ;
21952 bool result;
21953 PyObject * obj0 = 0 ;
21954 PyObject * obj1 = 0 ;
21955 PyObject * obj2 = 0 ;
21956 PyObject * obj3 = 0 ;
21957 char *kwnames[] = {
21958 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
21959 };
21960
21961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) 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 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
21967 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21968 if (obj3) {
21969 arg4 = (int)SWIG_As_int(obj3);
21970 if (PyErr_Occurred()) SWIG_fail;
21971 }
21972 {
21973 PyThreadState* __tstate = wxPyBeginAllowThreads();
21974 result = (bool)(arg1)->Print(arg2,arg3,arg4);
21975
21976 wxPyEndAllowThreads(__tstate);
21977 if (PyErr_Occurred()) SWIG_fail;
21978 }
21979 {
21980 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21981 }
21982 return resultobj;
21983 fail:
21984 return NULL;
21985 }
21986
21987
21988 static PyObject *_wrap_Printer_PrintDialog(PyObject *, PyObject *args, PyObject *kwargs) {
21989 PyObject *resultobj;
21990 wxPrinter *arg1 = (wxPrinter *) 0 ;
21991 wxWindow *arg2 = (wxWindow *) 0 ;
21992 wxDC *result;
21993 PyObject * obj0 = 0 ;
21994 PyObject * obj1 = 0 ;
21995 char *kwnames[] = {
21996 (char *) "self",(char *) "parent", NULL
21997 };
21998
21999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
22000 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
22001 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22002 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
22003 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22004 {
22005 PyThreadState* __tstate = wxPyBeginAllowThreads();
22006 result = (wxDC *)(arg1)->PrintDialog(arg2);
22007
22008 wxPyEndAllowThreads(__tstate);
22009 if (PyErr_Occurred()) SWIG_fail;
22010 }
22011 {
22012 resultobj = wxPyMake_wxObject(result, 0);
22013 }
22014 return resultobj;
22015 fail:
22016 return NULL;
22017 }
22018
22019
22020 static PyObject *_wrap_Printer_ReportError(PyObject *, PyObject *args, PyObject *kwargs) {
22021 PyObject *resultobj;
22022 wxPrinter *arg1 = (wxPrinter *) 0 ;
22023 wxWindow *arg2 = (wxWindow *) 0 ;
22024 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
22025 wxString *arg4 = 0 ;
22026 bool temp4 = false ;
22027 PyObject * obj0 = 0 ;
22028 PyObject * obj1 = 0 ;
22029 PyObject * obj2 = 0 ;
22030 PyObject * obj3 = 0 ;
22031 char *kwnames[] = {
22032 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
22033 };
22034
22035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
22036 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
22037 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22038 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
22039 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22040 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
22041 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22042 {
22043 arg4 = wxString_in_helper(obj3);
22044 if (arg4 == NULL) SWIG_fail;
22045 temp4 = true;
22046 }
22047 {
22048 PyThreadState* __tstate = wxPyBeginAllowThreads();
22049 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
22050
22051 wxPyEndAllowThreads(__tstate);
22052 if (PyErr_Occurred()) SWIG_fail;
22053 }
22054 Py_INCREF(Py_None); resultobj = Py_None;
22055 {
22056 if (temp4)
22057 delete arg4;
22058 }
22059 return resultobj;
22060 fail:
22061 {
22062 if (temp4)
22063 delete arg4;
22064 }
22065 return NULL;
22066 }
22067
22068
22069 static PyObject *_wrap_Printer_Setup(PyObject *, PyObject *args, PyObject *kwargs) {
22070 PyObject *resultobj;
22071 wxPrinter *arg1 = (wxPrinter *) 0 ;
22072 wxWindow *arg2 = (wxWindow *) 0 ;
22073 bool result;
22074 PyObject * obj0 = 0 ;
22075 PyObject * obj1 = 0 ;
22076 char *kwnames[] = {
22077 (char *) "self",(char *) "parent", NULL
22078 };
22079
22080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail;
22081 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
22082 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22083 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
22084 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22085 {
22086 PyThreadState* __tstate = wxPyBeginAllowThreads();
22087 result = (bool)(arg1)->Setup(arg2);
22088
22089 wxPyEndAllowThreads(__tstate);
22090 if (PyErr_Occurred()) SWIG_fail;
22091 }
22092 {
22093 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22094 }
22095 return resultobj;
22096 fail:
22097 return NULL;
22098 }
22099
22100
22101 static PyObject *_wrap_Printer_GetAbort(PyObject *, PyObject *args, PyObject *kwargs) {
22102 PyObject *resultobj;
22103 wxPrinter *arg1 = (wxPrinter *) 0 ;
22104 bool result;
22105 PyObject * obj0 = 0 ;
22106 char *kwnames[] = {
22107 (char *) "self", NULL
22108 };
22109
22110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail;
22111 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
22112 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22113 {
22114 PyThreadState* __tstate = wxPyBeginAllowThreads();
22115 result = (bool)(arg1)->GetAbort();
22116
22117 wxPyEndAllowThreads(__tstate);
22118 if (PyErr_Occurred()) SWIG_fail;
22119 }
22120 {
22121 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22122 }
22123 return resultobj;
22124 fail:
22125 return NULL;
22126 }
22127
22128
22129 static PyObject *_wrap_Printer_GetLastError(PyObject *, PyObject *args, PyObject *kwargs) {
22130 PyObject *resultobj;
22131 int result;
22132 char *kwnames[] = {
22133 NULL
22134 };
22135
22136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail;
22137 {
22138 PyThreadState* __tstate = wxPyBeginAllowThreads();
22139 result = (int)wxPrinter::GetLastError();
22140
22141 wxPyEndAllowThreads(__tstate);
22142 if (PyErr_Occurred()) SWIG_fail;
22143 }
22144 resultobj = SWIG_From_int((int)result);
22145 return resultobj;
22146 fail:
22147 return NULL;
22148 }
22149
22150
22151 static PyObject * Printer_swigregister(PyObject *, PyObject *args) {
22152 PyObject *obj;
22153 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22154 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj);
22155 Py_INCREF(obj);
22156 return Py_BuildValue((char *)"");
22157 }
22158 static PyObject *_wrap_new_Printout(PyObject *, PyObject *args, PyObject *kwargs) {
22159 PyObject *resultobj;
22160 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
22161 wxString *arg1 = (wxString *) &arg1_defvalue ;
22162 wxPyPrintout *result;
22163 bool temp1 = false ;
22164 PyObject * obj0 = 0 ;
22165 char *kwnames[] = {
22166 (char *) "title", NULL
22167 };
22168
22169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail;
22170 if (obj0) {
22171 {
22172 arg1 = wxString_in_helper(obj0);
22173 if (arg1 == NULL) SWIG_fail;
22174 temp1 = true;
22175 }
22176 }
22177 {
22178 if (!wxPyCheckForApp()) SWIG_fail;
22179 PyThreadState* __tstate = wxPyBeginAllowThreads();
22180 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
22181
22182 wxPyEndAllowThreads(__tstate);
22183 if (PyErr_Occurred()) SWIG_fail;
22184 }
22185 {
22186 resultobj = wxPyMake_wxObject(result, 1);
22187 }
22188 {
22189 if (temp1)
22190 delete arg1;
22191 }
22192 return resultobj;
22193 fail:
22194 {
22195 if (temp1)
22196 delete arg1;
22197 }
22198 return NULL;
22199 }
22200
22201
22202 static PyObject *_wrap_Printout__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
22203 PyObject *resultobj;
22204 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22205 PyObject *arg2 = (PyObject *) 0 ;
22206 PyObject *arg3 = (PyObject *) 0 ;
22207 PyObject * obj0 = 0 ;
22208 PyObject * obj1 = 0 ;
22209 PyObject * obj2 = 0 ;
22210 char *kwnames[] = {
22211 (char *) "self",(char *) "self",(char *) "_class", NULL
22212 };
22213
22214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
22215 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22216 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22217 arg2 = obj1;
22218 arg3 = obj2;
22219 {
22220 PyThreadState* __tstate = wxPyBeginAllowThreads();
22221 (arg1)->_setCallbackInfo(arg2,arg3);
22222
22223 wxPyEndAllowThreads(__tstate);
22224 if (PyErr_Occurred()) SWIG_fail;
22225 }
22226 Py_INCREF(Py_None); resultobj = Py_None;
22227 return resultobj;
22228 fail:
22229 return NULL;
22230 }
22231
22232
22233 static PyObject *_wrap_Printout_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
22234 PyObject *resultobj;
22235 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22236 wxString result;
22237 PyObject * obj0 = 0 ;
22238 char *kwnames[] = {
22239 (char *) "self", NULL
22240 };
22241
22242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail;
22243 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22244 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22245 {
22246 PyThreadState* __tstate = wxPyBeginAllowThreads();
22247 result = ((wxPyPrintout const *)arg1)->GetTitle();
22248
22249 wxPyEndAllowThreads(__tstate);
22250 if (PyErr_Occurred()) SWIG_fail;
22251 }
22252 {
22253 #if wxUSE_UNICODE
22254 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
22255 #else
22256 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
22257 #endif
22258 }
22259 return resultobj;
22260 fail:
22261 return NULL;
22262 }
22263
22264
22265 static PyObject *_wrap_Printout_GetDC(PyObject *, PyObject *args, PyObject *kwargs) {
22266 PyObject *resultobj;
22267 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22268 wxDC *result;
22269 PyObject * obj0 = 0 ;
22270 char *kwnames[] = {
22271 (char *) "self", NULL
22272 };
22273
22274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail;
22275 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22276 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22277 {
22278 PyThreadState* __tstate = wxPyBeginAllowThreads();
22279 result = (wxDC *)(arg1)->GetDC();
22280
22281 wxPyEndAllowThreads(__tstate);
22282 if (PyErr_Occurred()) SWIG_fail;
22283 }
22284 {
22285 resultobj = wxPyMake_wxObject(result, 0);
22286 }
22287 return resultobj;
22288 fail:
22289 return NULL;
22290 }
22291
22292
22293 static PyObject *_wrap_Printout_SetDC(PyObject *, PyObject *args, PyObject *kwargs) {
22294 PyObject *resultobj;
22295 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22296 wxDC *arg2 = (wxDC *) 0 ;
22297 PyObject * obj0 = 0 ;
22298 PyObject * obj1 = 0 ;
22299 char *kwnames[] = {
22300 (char *) "self",(char *) "dc", NULL
22301 };
22302
22303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail;
22304 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22305 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22306 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
22307 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22308 {
22309 PyThreadState* __tstate = wxPyBeginAllowThreads();
22310 (arg1)->SetDC(arg2);
22311
22312 wxPyEndAllowThreads(__tstate);
22313 if (PyErr_Occurred()) SWIG_fail;
22314 }
22315 Py_INCREF(Py_None); resultobj = Py_None;
22316 return resultobj;
22317 fail:
22318 return NULL;
22319 }
22320
22321
22322 static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *, PyObject *args, PyObject *kwargs) {
22323 PyObject *resultobj;
22324 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22325 int arg2 ;
22326 int arg3 ;
22327 PyObject * obj0 = 0 ;
22328 PyObject * obj1 = 0 ;
22329 PyObject * obj2 = 0 ;
22330 char *kwnames[] = {
22331 (char *) "self",(char *) "w",(char *) "h", NULL
22332 };
22333
22334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) goto fail;
22335 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22336 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22337 arg2 = (int)SWIG_As_int(obj1);
22338 if (PyErr_Occurred()) SWIG_fail;
22339 arg3 = (int)SWIG_As_int(obj2);
22340 if (PyErr_Occurred()) SWIG_fail;
22341 {
22342 PyThreadState* __tstate = wxPyBeginAllowThreads();
22343 (arg1)->SetPageSizePixels(arg2,arg3);
22344
22345 wxPyEndAllowThreads(__tstate);
22346 if (PyErr_Occurred()) SWIG_fail;
22347 }
22348 Py_INCREF(Py_None); resultobj = Py_None;
22349 return resultobj;
22350 fail:
22351 return NULL;
22352 }
22353
22354
22355 static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *, PyObject *args, PyObject *kwargs) {
22356 PyObject *resultobj;
22357 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22358 int *arg2 = (int *) 0 ;
22359 int *arg3 = (int *) 0 ;
22360 int temp2 ;
22361 int res2 = 0 ;
22362 int temp3 ;
22363 int res3 = 0 ;
22364 PyObject * obj0 = 0 ;
22365 char *kwnames[] = {
22366 (char *) "self", NULL
22367 };
22368
22369 arg2 = &temp2; res2 = SWIG_NEWOBJ;
22370 arg3 = &temp3; res3 = SWIG_NEWOBJ;
22371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail;
22372 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22373 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22374 {
22375 PyThreadState* __tstate = wxPyBeginAllowThreads();
22376 (arg1)->GetPageSizePixels(arg2,arg3);
22377
22378 wxPyEndAllowThreads(__tstate);
22379 if (PyErr_Occurred()) SWIG_fail;
22380 }
22381 Py_INCREF(Py_None); resultobj = Py_None;
22382 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
22383 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
22384 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
22385 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
22386 return resultobj;
22387 fail:
22388 return NULL;
22389 }
22390
22391
22392 static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
22393 PyObject *resultobj;
22394 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22395 int arg2 ;
22396 int arg3 ;
22397 PyObject * obj0 = 0 ;
22398 PyObject * obj1 = 0 ;
22399 PyObject * obj2 = 0 ;
22400 char *kwnames[] = {
22401 (char *) "self",(char *) "w",(char *) "h", NULL
22402 };
22403
22404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) goto fail;
22405 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22406 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22407 arg2 = (int)SWIG_As_int(obj1);
22408 if (PyErr_Occurred()) SWIG_fail;
22409 arg3 = (int)SWIG_As_int(obj2);
22410 if (PyErr_Occurred()) SWIG_fail;
22411 {
22412 PyThreadState* __tstate = wxPyBeginAllowThreads();
22413 (arg1)->SetPageSizeMM(arg2,arg3);
22414
22415 wxPyEndAllowThreads(__tstate);
22416 if (PyErr_Occurred()) SWIG_fail;
22417 }
22418 Py_INCREF(Py_None); resultobj = Py_None;
22419 return resultobj;
22420 fail:
22421 return NULL;
22422 }
22423
22424
22425 static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
22426 PyObject *resultobj;
22427 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22428 int *arg2 = (int *) 0 ;
22429 int *arg3 = (int *) 0 ;
22430 int temp2 ;
22431 int res2 = 0 ;
22432 int temp3 ;
22433 int res3 = 0 ;
22434 PyObject * obj0 = 0 ;
22435 char *kwnames[] = {
22436 (char *) "self", NULL
22437 };
22438
22439 arg2 = &temp2; res2 = SWIG_NEWOBJ;
22440 arg3 = &temp3; res3 = SWIG_NEWOBJ;
22441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail;
22442 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22443 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22444 {
22445 PyThreadState* __tstate = wxPyBeginAllowThreads();
22446 (arg1)->GetPageSizeMM(arg2,arg3);
22447
22448 wxPyEndAllowThreads(__tstate);
22449 if (PyErr_Occurred()) SWIG_fail;
22450 }
22451 Py_INCREF(Py_None); resultobj = Py_None;
22452 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
22453 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
22454 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
22455 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
22456 return resultobj;
22457 fail:
22458 return NULL;
22459 }
22460
22461
22462 static PyObject *_wrap_Printout_SetPPIScreen(PyObject *, PyObject *args, PyObject *kwargs) {
22463 PyObject *resultobj;
22464 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22465 int arg2 ;
22466 int arg3 ;
22467 PyObject * obj0 = 0 ;
22468 PyObject * obj1 = 0 ;
22469 PyObject * obj2 = 0 ;
22470 char *kwnames[] = {
22471 (char *) "self",(char *) "x",(char *) "y", NULL
22472 };
22473
22474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
22475 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22476 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22477 arg2 = (int)SWIG_As_int(obj1);
22478 if (PyErr_Occurred()) SWIG_fail;
22479 arg3 = (int)SWIG_As_int(obj2);
22480 if (PyErr_Occurred()) SWIG_fail;
22481 {
22482 PyThreadState* __tstate = wxPyBeginAllowThreads();
22483 (arg1)->SetPPIScreen(arg2,arg3);
22484
22485 wxPyEndAllowThreads(__tstate);
22486 if (PyErr_Occurred()) SWIG_fail;
22487 }
22488 Py_INCREF(Py_None); resultobj = Py_None;
22489 return resultobj;
22490 fail:
22491 return NULL;
22492 }
22493
22494
22495 static PyObject *_wrap_Printout_GetPPIScreen(PyObject *, PyObject *args, PyObject *kwargs) {
22496 PyObject *resultobj;
22497 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22498 int *arg2 = (int *) 0 ;
22499 int *arg3 = (int *) 0 ;
22500 int temp2 ;
22501 int res2 = 0 ;
22502 int temp3 ;
22503 int res3 = 0 ;
22504 PyObject * obj0 = 0 ;
22505 char *kwnames[] = {
22506 (char *) "self", NULL
22507 };
22508
22509 arg2 = &temp2; res2 = SWIG_NEWOBJ;
22510 arg3 = &temp3; res3 = SWIG_NEWOBJ;
22511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",kwnames,&obj0)) goto fail;
22512 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22513 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22514 {
22515 PyThreadState* __tstate = wxPyBeginAllowThreads();
22516 (arg1)->GetPPIScreen(arg2,arg3);
22517
22518 wxPyEndAllowThreads(__tstate);
22519 if (PyErr_Occurred()) SWIG_fail;
22520 }
22521 Py_INCREF(Py_None); resultobj = Py_None;
22522 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
22523 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
22524 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
22525 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
22526 return resultobj;
22527 fail:
22528 return NULL;
22529 }
22530
22531
22532 static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *, PyObject *args, PyObject *kwargs) {
22533 PyObject *resultobj;
22534 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22535 int arg2 ;
22536 int arg3 ;
22537 PyObject * obj0 = 0 ;
22538 PyObject * obj1 = 0 ;
22539 PyObject * obj2 = 0 ;
22540 char *kwnames[] = {
22541 (char *) "self",(char *) "x",(char *) "y", NULL
22542 };
22543
22544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) goto fail;
22545 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22546 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22547 arg2 = (int)SWIG_As_int(obj1);
22548 if (PyErr_Occurred()) SWIG_fail;
22549 arg3 = (int)SWIG_As_int(obj2);
22550 if (PyErr_Occurred()) SWIG_fail;
22551 {
22552 PyThreadState* __tstate = wxPyBeginAllowThreads();
22553 (arg1)->SetPPIPrinter(arg2,arg3);
22554
22555 wxPyEndAllowThreads(__tstate);
22556 if (PyErr_Occurred()) SWIG_fail;
22557 }
22558 Py_INCREF(Py_None); resultobj = Py_None;
22559 return resultobj;
22560 fail:
22561 return NULL;
22562 }
22563
22564
22565 static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *, PyObject *args, PyObject *kwargs) {
22566 PyObject *resultobj;
22567 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22568 int *arg2 = (int *) 0 ;
22569 int *arg3 = (int *) 0 ;
22570 int temp2 ;
22571 int res2 = 0 ;
22572 int temp3 ;
22573 int res3 = 0 ;
22574 PyObject * obj0 = 0 ;
22575 char *kwnames[] = {
22576 (char *) "self", NULL
22577 };
22578
22579 arg2 = &temp2; res2 = SWIG_NEWOBJ;
22580 arg3 = &temp3; res3 = SWIG_NEWOBJ;
22581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail;
22582 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22583 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22584 {
22585 PyThreadState* __tstate = wxPyBeginAllowThreads();
22586 (arg1)->GetPPIPrinter(arg2,arg3);
22587
22588 wxPyEndAllowThreads(__tstate);
22589 if (PyErr_Occurred()) SWIG_fail;
22590 }
22591 Py_INCREF(Py_None); resultobj = Py_None;
22592 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
22593 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
22594 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
22595 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
22596 return resultobj;
22597 fail:
22598 return NULL;
22599 }
22600
22601
22602 static PyObject *_wrap_Printout_IsPreview(PyObject *, PyObject *args, PyObject *kwargs) {
22603 PyObject *resultobj;
22604 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22605 bool result;
22606 PyObject * obj0 = 0 ;
22607 char *kwnames[] = {
22608 (char *) "self", NULL
22609 };
22610
22611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail;
22612 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22613 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22614 {
22615 PyThreadState* __tstate = wxPyBeginAllowThreads();
22616 result = (bool)(arg1)->IsPreview();
22617
22618 wxPyEndAllowThreads(__tstate);
22619 if (PyErr_Occurred()) SWIG_fail;
22620 }
22621 {
22622 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22623 }
22624 return resultobj;
22625 fail:
22626 return NULL;
22627 }
22628
22629
22630 static PyObject *_wrap_Printout_SetIsPreview(PyObject *, PyObject *args, PyObject *kwargs) {
22631 PyObject *resultobj;
22632 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22633 bool arg2 ;
22634 PyObject * obj0 = 0 ;
22635 PyObject * obj1 = 0 ;
22636 char *kwnames[] = {
22637 (char *) "self",(char *) "p", NULL
22638 };
22639
22640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail;
22641 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22642 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22643 arg2 = (bool)SWIG_As_bool(obj1);
22644 if (PyErr_Occurred()) SWIG_fail;
22645 {
22646 PyThreadState* __tstate = wxPyBeginAllowThreads();
22647 (arg1)->SetIsPreview(arg2);
22648
22649 wxPyEndAllowThreads(__tstate);
22650 if (PyErr_Occurred()) SWIG_fail;
22651 }
22652 Py_INCREF(Py_None); resultobj = Py_None;
22653 return resultobj;
22654 fail:
22655 return NULL;
22656 }
22657
22658
22659 static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *, PyObject *args, PyObject *kwargs) {
22660 PyObject *resultobj;
22661 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22662 int arg2 ;
22663 int arg3 ;
22664 bool result;
22665 PyObject * obj0 = 0 ;
22666 PyObject * obj1 = 0 ;
22667 PyObject * obj2 = 0 ;
22668 char *kwnames[] = {
22669 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
22670 };
22671
22672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_base_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) goto fail;
22673 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22674 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22675 arg2 = (int)SWIG_As_int(obj1);
22676 if (PyErr_Occurred()) SWIG_fail;
22677 arg3 = (int)SWIG_As_int(obj2);
22678 if (PyErr_Occurred()) SWIG_fail;
22679 {
22680 PyThreadState* __tstate = wxPyBeginAllowThreads();
22681 result = (bool)(arg1)->base_OnBeginDocument(arg2,arg3);
22682
22683 wxPyEndAllowThreads(__tstate);
22684 if (PyErr_Occurred()) SWIG_fail;
22685 }
22686 {
22687 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22688 }
22689 return resultobj;
22690 fail:
22691 return NULL;
22692 }
22693
22694
22695 static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *, PyObject *args, PyObject *kwargs) {
22696 PyObject *resultobj;
22697 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22698 PyObject * obj0 = 0 ;
22699 char *kwnames[] = {
22700 (char *) "self", NULL
22701 };
22702
22703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndDocument",kwnames,&obj0)) goto fail;
22704 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22705 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22706 {
22707 PyThreadState* __tstate = wxPyBeginAllowThreads();
22708 (arg1)->base_OnEndDocument();
22709
22710 wxPyEndAllowThreads(__tstate);
22711 if (PyErr_Occurred()) SWIG_fail;
22712 }
22713 Py_INCREF(Py_None); resultobj = Py_None;
22714 return resultobj;
22715 fail:
22716 return NULL;
22717 }
22718
22719
22720 static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
22721 PyObject *resultobj;
22722 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22723 PyObject * obj0 = 0 ;
22724 char *kwnames[] = {
22725 (char *) "self", NULL
22726 };
22727
22728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnBeginPrinting",kwnames,&obj0)) goto fail;
22729 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22730 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22731 {
22732 PyThreadState* __tstate = wxPyBeginAllowThreads();
22733 (arg1)->base_OnBeginPrinting();
22734
22735 wxPyEndAllowThreads(__tstate);
22736 if (PyErr_Occurred()) SWIG_fail;
22737 }
22738 Py_INCREF(Py_None); resultobj = Py_None;
22739 return resultobj;
22740 fail:
22741 return NULL;
22742 }
22743
22744
22745 static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
22746 PyObject *resultobj;
22747 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22748 PyObject * obj0 = 0 ;
22749 char *kwnames[] = {
22750 (char *) "self", NULL
22751 };
22752
22753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndPrinting",kwnames,&obj0)) goto fail;
22754 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22755 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22756 {
22757 PyThreadState* __tstate = wxPyBeginAllowThreads();
22758 (arg1)->base_OnEndPrinting();
22759
22760 wxPyEndAllowThreads(__tstate);
22761 if (PyErr_Occurred()) SWIG_fail;
22762 }
22763 Py_INCREF(Py_None); resultobj = Py_None;
22764 return resultobj;
22765 fail:
22766 return NULL;
22767 }
22768
22769
22770 static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *, PyObject *args, PyObject *kwargs) {
22771 PyObject *resultobj;
22772 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22773 PyObject * obj0 = 0 ;
22774 char *kwnames[] = {
22775 (char *) "self", NULL
22776 };
22777
22778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnPreparePrinting",kwnames,&obj0)) goto fail;
22779 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22780 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22781 {
22782 PyThreadState* __tstate = wxPyBeginAllowThreads();
22783 (arg1)->base_OnPreparePrinting();
22784
22785 wxPyEndAllowThreads(__tstate);
22786 if (PyErr_Occurred()) SWIG_fail;
22787 }
22788 Py_INCREF(Py_None); resultobj = Py_None;
22789 return resultobj;
22790 fail:
22791 return NULL;
22792 }
22793
22794
22795 static PyObject *_wrap_Printout_base_HasPage(PyObject *, PyObject *args, PyObject *kwargs) {
22796 PyObject *resultobj;
22797 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22798 int arg2 ;
22799 bool result;
22800 PyObject * obj0 = 0 ;
22801 PyObject * obj1 = 0 ;
22802 char *kwnames[] = {
22803 (char *) "self",(char *) "page", NULL
22804 };
22805
22806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_base_HasPage",kwnames,&obj0,&obj1)) goto fail;
22807 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22808 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22809 arg2 = (int)SWIG_As_int(obj1);
22810 if (PyErr_Occurred()) SWIG_fail;
22811 {
22812 PyThreadState* __tstate = wxPyBeginAllowThreads();
22813 result = (bool)(arg1)->base_HasPage(arg2);
22814
22815 wxPyEndAllowThreads(__tstate);
22816 if (PyErr_Occurred()) SWIG_fail;
22817 }
22818 {
22819 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22820 }
22821 return resultobj;
22822 fail:
22823 return NULL;
22824 }
22825
22826
22827 static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *, PyObject *args, PyObject *kwargs) {
22828 PyObject *resultobj;
22829 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22830 int *arg2 = (int *) 0 ;
22831 int *arg3 = (int *) 0 ;
22832 int *arg4 = (int *) 0 ;
22833 int *arg5 = (int *) 0 ;
22834 int temp2 ;
22835 int res2 = 0 ;
22836 int temp3 ;
22837 int res3 = 0 ;
22838 int temp4 ;
22839 int res4 = 0 ;
22840 int temp5 ;
22841 int res5 = 0 ;
22842 PyObject * obj0 = 0 ;
22843 char *kwnames[] = {
22844 (char *) "self", NULL
22845 };
22846
22847 arg2 = &temp2; res2 = SWIG_NEWOBJ;
22848 arg3 = &temp3; res3 = SWIG_NEWOBJ;
22849 arg4 = &temp4; res4 = SWIG_NEWOBJ;
22850 arg5 = &temp5; res5 = SWIG_NEWOBJ;
22851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_GetPageInfo",kwnames,&obj0)) goto fail;
22852 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22853 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22854 {
22855 PyThreadState* __tstate = wxPyBeginAllowThreads();
22856 (arg1)->base_GetPageInfo(arg2,arg3,arg4,arg5);
22857
22858 wxPyEndAllowThreads(__tstate);
22859 if (PyErr_Occurred()) SWIG_fail;
22860 }
22861 Py_INCREF(Py_None); resultobj = Py_None;
22862 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
22863 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
22864 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
22865 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
22866 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
22867 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
22868 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
22869 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
22870 return resultobj;
22871 fail:
22872 return NULL;
22873 }
22874
22875
22876 static PyObject * Printout_swigregister(PyObject *, PyObject *args) {
22877 PyObject *obj;
22878 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22879 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj);
22880 Py_INCREF(obj);
22881 return Py_BuildValue((char *)"");
22882 }
22883 static PyObject *_wrap_new_PreviewCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
22884 PyObject *resultobj;
22885 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22886 wxWindow *arg2 = (wxWindow *) 0 ;
22887 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22888 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22889 wxSize const &arg4_defvalue = wxDefaultSize ;
22890 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22891 long arg5 = (long) 0 ;
22892 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
22893 wxString *arg6 = (wxString *) &arg6_defvalue ;
22894 wxPreviewCanvas *result;
22895 wxPoint temp3 ;
22896 wxSize temp4 ;
22897 bool temp6 = false ;
22898 PyObject * obj0 = 0 ;
22899 PyObject * obj1 = 0 ;
22900 PyObject * obj2 = 0 ;
22901 PyObject * obj3 = 0 ;
22902 PyObject * obj4 = 0 ;
22903 PyObject * obj5 = 0 ;
22904 char *kwnames[] = {
22905 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22906 };
22907
22908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
22909 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22910 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22911 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
22912 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22913 if (obj2) {
22914 {
22915 arg3 = &temp3;
22916 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22917 }
22918 }
22919 if (obj3) {
22920 {
22921 arg4 = &temp4;
22922 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22923 }
22924 }
22925 if (obj4) {
22926 arg5 = (long)SWIG_As_long(obj4);
22927 if (PyErr_Occurred()) SWIG_fail;
22928 }
22929 if (obj5) {
22930 {
22931 arg6 = wxString_in_helper(obj5);
22932 if (arg6 == NULL) SWIG_fail;
22933 temp6 = true;
22934 }
22935 }
22936 {
22937 if (!wxPyCheckForApp()) SWIG_fail;
22938 PyThreadState* __tstate = wxPyBeginAllowThreads();
22939 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22940
22941 wxPyEndAllowThreads(__tstate);
22942 if (PyErr_Occurred()) SWIG_fail;
22943 }
22944 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 1);
22945 {
22946 if (temp6)
22947 delete arg6;
22948 }
22949 return resultobj;
22950 fail:
22951 {
22952 if (temp6)
22953 delete arg6;
22954 }
22955 return NULL;
22956 }
22957
22958
22959 static PyObject * PreviewCanvas_swigregister(PyObject *, PyObject *args) {
22960 PyObject *obj;
22961 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22962 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj);
22963 Py_INCREF(obj);
22964 return Py_BuildValue((char *)"");
22965 }
22966 static PyObject *_wrap_new_PreviewFrame(PyObject *, PyObject *args, PyObject *kwargs) {
22967 PyObject *resultobj;
22968 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22969 wxFrame *arg2 = (wxFrame *) 0 ;
22970 wxString *arg3 = 0 ;
22971 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22972 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22973 wxSize const &arg5_defvalue = wxDefaultSize ;
22974 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22975 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
22976 wxString const &arg7_defvalue = wxPyFrameNameStr ;
22977 wxString *arg7 = (wxString *) &arg7_defvalue ;
22978 wxPreviewFrame *result;
22979 bool temp3 = false ;
22980 wxPoint temp4 ;
22981 wxSize temp5 ;
22982 bool temp7 = false ;
22983 PyObject * obj0 = 0 ;
22984 PyObject * obj1 = 0 ;
22985 PyObject * obj2 = 0 ;
22986 PyObject * obj3 = 0 ;
22987 PyObject * obj4 = 0 ;
22988 PyObject * obj5 = 0 ;
22989 PyObject * obj6 = 0 ;
22990 char *kwnames[] = {
22991 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22992 };
22993
22994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
22995 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22996 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22997 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
22998 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22999 {
23000 arg3 = wxString_in_helper(obj2);
23001 if (arg3 == NULL) SWIG_fail;
23002 temp3 = true;
23003 }
23004 if (obj3) {
23005 {
23006 arg4 = &temp4;
23007 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23008 }
23009 }
23010 if (obj4) {
23011 {
23012 arg5 = &temp5;
23013 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23014 }
23015 }
23016 if (obj5) {
23017 arg6 = (long)SWIG_As_long(obj5);
23018 if (PyErr_Occurred()) SWIG_fail;
23019 }
23020 if (obj6) {
23021 {
23022 arg7 = wxString_in_helper(obj6);
23023 if (arg7 == NULL) SWIG_fail;
23024 temp7 = true;
23025 }
23026 }
23027 {
23028 if (!wxPyCheckForApp()) SWIG_fail;
23029 PyThreadState* __tstate = wxPyBeginAllowThreads();
23030 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
23031
23032 wxPyEndAllowThreads(__tstate);
23033 if (PyErr_Occurred()) SWIG_fail;
23034 }
23035 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewFrame, 1);
23036 {
23037 if (temp3)
23038 delete arg3;
23039 }
23040 {
23041 if (temp7)
23042 delete arg7;
23043 }
23044 return resultobj;
23045 fail:
23046 {
23047 if (temp3)
23048 delete arg3;
23049 }
23050 {
23051 if (temp7)
23052 delete arg7;
23053 }
23054 return NULL;
23055 }
23056
23057
23058 static PyObject *_wrap_PreviewFrame_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
23059 PyObject *resultobj;
23060 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
23061 PyObject * obj0 = 0 ;
23062 char *kwnames[] = {
23063 (char *) "self", NULL
23064 };
23065
23066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail;
23067 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
23068 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23069 {
23070 PyThreadState* __tstate = wxPyBeginAllowThreads();
23071 (arg1)->Initialize();
23072
23073 wxPyEndAllowThreads(__tstate);
23074 if (PyErr_Occurred()) SWIG_fail;
23075 }
23076 Py_INCREF(Py_None); resultobj = Py_None;
23077 return resultobj;
23078 fail:
23079 return NULL;
23080 }
23081
23082
23083 static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
23084 PyObject *resultobj;
23085 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
23086 PyObject * obj0 = 0 ;
23087 char *kwnames[] = {
23088 (char *) "self", NULL
23089 };
23090
23091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail;
23092 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
23093 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23094 {
23095 PyThreadState* __tstate = wxPyBeginAllowThreads();
23096 (arg1)->CreateControlBar();
23097
23098 wxPyEndAllowThreads(__tstate);
23099 if (PyErr_Occurred()) SWIG_fail;
23100 }
23101 Py_INCREF(Py_None); resultobj = Py_None;
23102 return resultobj;
23103 fail:
23104 return NULL;
23105 }
23106
23107
23108 static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
23109 PyObject *resultobj;
23110 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
23111 PyObject * obj0 = 0 ;
23112 char *kwnames[] = {
23113 (char *) "self", NULL
23114 };
23115
23116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail;
23117 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
23118 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23119 {
23120 PyThreadState* __tstate = wxPyBeginAllowThreads();
23121 (arg1)->CreateCanvas();
23122
23123 wxPyEndAllowThreads(__tstate);
23124 if (PyErr_Occurred()) SWIG_fail;
23125 }
23126 Py_INCREF(Py_None); resultobj = Py_None;
23127 return resultobj;
23128 fail:
23129 return NULL;
23130 }
23131
23132
23133 static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
23134 PyObject *resultobj;
23135 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
23136 wxPreviewControlBar *result;
23137 PyObject * obj0 = 0 ;
23138 char *kwnames[] = {
23139 (char *) "self", NULL
23140 };
23141
23142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail;
23143 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
23144 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23145 {
23146 PyThreadState* __tstate = wxPyBeginAllowThreads();
23147 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
23148
23149 wxPyEndAllowThreads(__tstate);
23150 if (PyErr_Occurred()) SWIG_fail;
23151 }
23152 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 0);
23153 return resultobj;
23154 fail:
23155 return NULL;
23156 }
23157
23158
23159 static PyObject * PreviewFrame_swigregister(PyObject *, PyObject *args) {
23160 PyObject *obj;
23161 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23162 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj);
23163 Py_INCREF(obj);
23164 return Py_BuildValue((char *)"");
23165 }
23166 static PyObject *_wrap_new_PreviewControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
23167 PyObject *resultobj;
23168 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23169 long arg2 ;
23170 wxWindow *arg3 = (wxWindow *) 0 ;
23171 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23172 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23173 wxSize const &arg5_defvalue = wxDefaultSize ;
23174 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23175 long arg6 = (long) wxTAB_TRAVERSAL ;
23176 wxString const &arg7_defvalue = wxPyPanelNameStr ;
23177 wxString *arg7 = (wxString *) &arg7_defvalue ;
23178 wxPreviewControlBar *result;
23179 wxPoint temp4 ;
23180 wxSize temp5 ;
23181 bool temp7 = false ;
23182 PyObject * obj0 = 0 ;
23183 PyObject * obj1 = 0 ;
23184 PyObject * obj2 = 0 ;
23185 PyObject * obj3 = 0 ;
23186 PyObject * obj4 = 0 ;
23187 PyObject * obj5 = 0 ;
23188 PyObject * obj6 = 0 ;
23189 char *kwnames[] = {
23190 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23191 };
23192
23193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
23194 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23195 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23196 arg2 = (long)SWIG_As_long(obj1);
23197 if (PyErr_Occurred()) SWIG_fail;
23198 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
23199 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23200 if (obj3) {
23201 {
23202 arg4 = &temp4;
23203 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23204 }
23205 }
23206 if (obj4) {
23207 {
23208 arg5 = &temp5;
23209 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23210 }
23211 }
23212 if (obj5) {
23213 arg6 = (long)SWIG_As_long(obj5);
23214 if (PyErr_Occurred()) SWIG_fail;
23215 }
23216 if (obj6) {
23217 {
23218 arg7 = wxString_in_helper(obj6);
23219 if (arg7 == NULL) SWIG_fail;
23220 temp7 = true;
23221 }
23222 }
23223 {
23224 if (!wxPyCheckForApp()) SWIG_fail;
23225 PyThreadState* __tstate = wxPyBeginAllowThreads();
23226 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
23227
23228 wxPyEndAllowThreads(__tstate);
23229 if (PyErr_Occurred()) SWIG_fail;
23230 }
23231 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 1);
23232 {
23233 if (temp7)
23234 delete arg7;
23235 }
23236 return resultobj;
23237 fail:
23238 {
23239 if (temp7)
23240 delete arg7;
23241 }
23242 return NULL;
23243 }
23244
23245
23246 static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
23247 PyObject *resultobj;
23248 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23249 int result;
23250 PyObject * obj0 = 0 ;
23251 char *kwnames[] = {
23252 (char *) "self", NULL
23253 };
23254
23255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail;
23256 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23257 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23258 {
23259 PyThreadState* __tstate = wxPyBeginAllowThreads();
23260 result = (int)(arg1)->GetZoomControl();
23261
23262 wxPyEndAllowThreads(__tstate);
23263 if (PyErr_Occurred()) SWIG_fail;
23264 }
23265 resultobj = SWIG_From_int((int)result);
23266 return resultobj;
23267 fail:
23268 return NULL;
23269 }
23270
23271
23272 static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
23273 PyObject *resultobj;
23274 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23275 int arg2 ;
23276 PyObject * obj0 = 0 ;
23277 PyObject * obj1 = 0 ;
23278 char *kwnames[] = {
23279 (char *) "self",(char *) "zoom", NULL
23280 };
23281
23282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
23283 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23284 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23285 arg2 = (int)SWIG_As_int(obj1);
23286 if (PyErr_Occurred()) SWIG_fail;
23287 {
23288 PyThreadState* __tstate = wxPyBeginAllowThreads();
23289 (arg1)->SetZoomControl(arg2);
23290
23291 wxPyEndAllowThreads(__tstate);
23292 if (PyErr_Occurred()) SWIG_fail;
23293 }
23294 Py_INCREF(Py_None); resultobj = Py_None;
23295 return resultobj;
23296 fail:
23297 return NULL;
23298 }
23299
23300
23301 static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *, PyObject *args, PyObject *kwargs) {
23302 PyObject *resultobj;
23303 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23304 wxPrintPreview *result;
23305 PyObject * obj0 = 0 ;
23306 char *kwnames[] = {
23307 (char *) "self", NULL
23308 };
23309
23310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail;
23311 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23312 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23313 {
23314 PyThreadState* __tstate = wxPyBeginAllowThreads();
23315 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
23316
23317 wxPyEndAllowThreads(__tstate);
23318 if (PyErr_Occurred()) SWIG_fail;
23319 }
23320 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 0);
23321 return resultobj;
23322 fail:
23323 return NULL;
23324 }
23325
23326
23327 static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *, PyObject *args, PyObject *kwargs) {
23328 PyObject *resultobj;
23329 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23330 PyObject * obj0 = 0 ;
23331 char *kwnames[] = {
23332 (char *) "self", NULL
23333 };
23334
23335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail;
23336 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23337 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23338 {
23339 PyThreadState* __tstate = wxPyBeginAllowThreads();
23340 (arg1)->OnNext();
23341
23342 wxPyEndAllowThreads(__tstate);
23343 if (PyErr_Occurred()) SWIG_fail;
23344 }
23345 Py_INCREF(Py_None); resultobj = Py_None;
23346 return resultobj;
23347 fail:
23348 return NULL;
23349 }
23350
23351
23352 static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *, PyObject *args, PyObject *kwargs) {
23353 PyObject *resultobj;
23354 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23355 PyObject * obj0 = 0 ;
23356 char *kwnames[] = {
23357 (char *) "self", NULL
23358 };
23359
23360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail;
23361 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23362 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23363 {
23364 PyThreadState* __tstate = wxPyBeginAllowThreads();
23365 (arg1)->OnPrevious();
23366
23367 wxPyEndAllowThreads(__tstate);
23368 if (PyErr_Occurred()) SWIG_fail;
23369 }
23370 Py_INCREF(Py_None); resultobj = Py_None;
23371 return resultobj;
23372 fail:
23373 return NULL;
23374 }
23375
23376
23377 static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *, PyObject *args, PyObject *kwargs) {
23378 PyObject *resultobj;
23379 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23380 PyObject * obj0 = 0 ;
23381 char *kwnames[] = {
23382 (char *) "self", NULL
23383 };
23384
23385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail;
23386 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23387 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23388 {
23389 PyThreadState* __tstate = wxPyBeginAllowThreads();
23390 (arg1)->OnFirst();
23391
23392 wxPyEndAllowThreads(__tstate);
23393 if (PyErr_Occurred()) SWIG_fail;
23394 }
23395 Py_INCREF(Py_None); resultobj = Py_None;
23396 return resultobj;
23397 fail:
23398 return NULL;
23399 }
23400
23401
23402 static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *, PyObject *args, PyObject *kwargs) {
23403 PyObject *resultobj;
23404 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23405 PyObject * obj0 = 0 ;
23406 char *kwnames[] = {
23407 (char *) "self", NULL
23408 };
23409
23410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail;
23411 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23412 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23413 {
23414 PyThreadState* __tstate = wxPyBeginAllowThreads();
23415 (arg1)->OnLast();
23416
23417 wxPyEndAllowThreads(__tstate);
23418 if (PyErr_Occurred()) SWIG_fail;
23419 }
23420 Py_INCREF(Py_None); resultobj = Py_None;
23421 return resultobj;
23422 fail:
23423 return NULL;
23424 }
23425
23426
23427 static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *, PyObject *args, PyObject *kwargs) {
23428 PyObject *resultobj;
23429 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23430 PyObject * obj0 = 0 ;
23431 char *kwnames[] = {
23432 (char *) "self", NULL
23433 };
23434
23435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail;
23436 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23437 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23438 {
23439 PyThreadState* __tstate = wxPyBeginAllowThreads();
23440 (arg1)->OnGoto();
23441
23442 wxPyEndAllowThreads(__tstate);
23443 if (PyErr_Occurred()) SWIG_fail;
23444 }
23445 Py_INCREF(Py_None); resultobj = Py_None;
23446 return resultobj;
23447 fail:
23448 return NULL;
23449 }
23450
23451
23452 static PyObject * PreviewControlBar_swigregister(PyObject *, PyObject *args) {
23453 PyObject *obj;
23454 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23455 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj);
23456 Py_INCREF(obj);
23457 return Py_BuildValue((char *)"");
23458 }
23459 static PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *, PyObject *args) {
23460 PyObject *resultobj;
23461 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23462 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23463 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
23464 wxPrintPreview *result;
23465 PyObject * obj0 = 0 ;
23466 PyObject * obj1 = 0 ;
23467 PyObject * obj2 = 0 ;
23468
23469 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
23470 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23471 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23472 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23473 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23474 if (obj2) {
23475 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintDialogData,
23476 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23477 }
23478 {
23479 if (!wxPyCheckForApp()) SWIG_fail;
23480 PyThreadState* __tstate = wxPyBeginAllowThreads();
23481 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
23482
23483 wxPyEndAllowThreads(__tstate);
23484 if (PyErr_Occurred()) SWIG_fail;
23485 }
23486 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
23487 return resultobj;
23488 fail:
23489 return NULL;
23490 }
23491
23492
23493 static PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *, PyObject *args) {
23494 PyObject *resultobj;
23495 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23496 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23497 wxPrintData *arg3 = (wxPrintData *) 0 ;
23498 wxPrintPreview *result;
23499 PyObject * obj0 = 0 ;
23500 PyObject * obj1 = 0 ;
23501 PyObject * obj2 = 0 ;
23502
23503 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
23504 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23505 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23506 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23507 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23508 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData,
23509 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23510 {
23511 if (!wxPyCheckForApp()) SWIG_fail;
23512 PyThreadState* __tstate = wxPyBeginAllowThreads();
23513 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
23514
23515 wxPyEndAllowThreads(__tstate);
23516 if (PyErr_Occurred()) SWIG_fail;
23517 }
23518 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
23519 return resultobj;
23520 fail:
23521 return NULL;
23522 }
23523
23524
23525 static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
23526 int argc;
23527 PyObject *argv[4];
23528 int ii;
23529
23530 argc = PyObject_Length(args);
23531 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
23532 argv[ii] = PyTuple_GetItem(args,ii);
23533 }
23534 if ((argc >= 2) && (argc <= 3)) {
23535 int _v;
23536 {
23537 void *ptr;
23538 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23539 _v = 0;
23540 PyErr_Clear();
23541 } else {
23542 _v = 1;
23543 }
23544 }
23545 if (_v) {
23546 {
23547 void *ptr;
23548 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23549 _v = 0;
23550 PyErr_Clear();
23551 } else {
23552 _v = 1;
23553 }
23554 }
23555 if (_v) {
23556 if (argc <= 2) {
23557 return _wrap_new_PrintPreview__SWIG_0(self,args);
23558 }
23559 {
23560 void *ptr;
23561 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
23562 _v = 0;
23563 PyErr_Clear();
23564 } else {
23565 _v = 1;
23566 }
23567 }
23568 if (_v) {
23569 return _wrap_new_PrintPreview__SWIG_0(self,args);
23570 }
23571 }
23572 }
23573 }
23574 if (argc == 3) {
23575 int _v;
23576 {
23577 void *ptr;
23578 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23579 _v = 0;
23580 PyErr_Clear();
23581 } else {
23582 _v = 1;
23583 }
23584 }
23585 if (_v) {
23586 {
23587 void *ptr;
23588 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23589 _v = 0;
23590 PyErr_Clear();
23591 } else {
23592 _v = 1;
23593 }
23594 }
23595 if (_v) {
23596 {
23597 void *ptr;
23598 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
23599 _v = 0;
23600 PyErr_Clear();
23601 } else {
23602 _v = 1;
23603 }
23604 }
23605 if (_v) {
23606 return _wrap_new_PrintPreview__SWIG_1(self,args);
23607 }
23608 }
23609 }
23610 }
23611
23612 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintPreview'");
23613 return NULL;
23614 }
23615
23616
23617 static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
23618 PyObject *resultobj;
23619 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23620 int arg2 ;
23621 bool result;
23622 PyObject * obj0 = 0 ;
23623 PyObject * obj1 = 0 ;
23624 char *kwnames[] = {
23625 (char *) "self",(char *) "pageNum", NULL
23626 };
23627
23628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
23629 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23630 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23631 arg2 = (int)SWIG_As_int(obj1);
23632 if (PyErr_Occurred()) SWIG_fail;
23633 {
23634 PyThreadState* __tstate = wxPyBeginAllowThreads();
23635 result = (bool)(arg1)->SetCurrentPage(arg2);
23636
23637 wxPyEndAllowThreads(__tstate);
23638 if (PyErr_Occurred()) SWIG_fail;
23639 }
23640 {
23641 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23642 }
23643 return resultobj;
23644 fail:
23645 return NULL;
23646 }
23647
23648
23649 static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
23650 PyObject *resultobj;
23651 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23652 int result;
23653 PyObject * obj0 = 0 ;
23654 char *kwnames[] = {
23655 (char *) "self", NULL
23656 };
23657
23658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail;
23659 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23660 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23661 {
23662 PyThreadState* __tstate = wxPyBeginAllowThreads();
23663 result = (int)(arg1)->GetCurrentPage();
23664
23665 wxPyEndAllowThreads(__tstate);
23666 if (PyErr_Occurred()) SWIG_fail;
23667 }
23668 resultobj = SWIG_From_int((int)result);
23669 return resultobj;
23670 fail:
23671 return NULL;
23672 }
23673
23674
23675 static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *, PyObject *args, PyObject *kwargs) {
23676 PyObject *resultobj;
23677 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23678 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23679 PyObject * obj0 = 0 ;
23680 PyObject * obj1 = 0 ;
23681 char *kwnames[] = {
23682 (char *) "self",(char *) "printout", NULL
23683 };
23684
23685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail;
23686 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23687 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23688 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23689 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23690 {
23691 PyThreadState* __tstate = wxPyBeginAllowThreads();
23692 (arg1)->SetPrintout(arg2);
23693
23694 wxPyEndAllowThreads(__tstate);
23695 if (PyErr_Occurred()) SWIG_fail;
23696 }
23697 Py_INCREF(Py_None); resultobj = Py_None;
23698 return resultobj;
23699 fail:
23700 return NULL;
23701 }
23702
23703
23704 static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *, PyObject *args, PyObject *kwargs) {
23705 PyObject *resultobj;
23706 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23707 wxPyPrintout *result;
23708 PyObject * obj0 = 0 ;
23709 char *kwnames[] = {
23710 (char *) "self", NULL
23711 };
23712
23713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail;
23714 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23715 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23716 {
23717 PyThreadState* __tstate = wxPyBeginAllowThreads();
23718 result = (wxPyPrintout *)(arg1)->GetPrintout();
23719
23720 wxPyEndAllowThreads(__tstate);
23721 if (PyErr_Occurred()) SWIG_fail;
23722 }
23723 {
23724 resultobj = wxPyMake_wxObject(result, 0);
23725 }
23726 return resultobj;
23727 fail:
23728 return NULL;
23729 }
23730
23731
23732 static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
23733 PyObject *resultobj;
23734 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23735 wxPyPrintout *result;
23736 PyObject * obj0 = 0 ;
23737 char *kwnames[] = {
23738 (char *) "self", NULL
23739 };
23740
23741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail;
23742 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23743 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23744 {
23745 PyThreadState* __tstate = wxPyBeginAllowThreads();
23746 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
23747
23748 wxPyEndAllowThreads(__tstate);
23749 if (PyErr_Occurred()) SWIG_fail;
23750 }
23751 {
23752 resultobj = wxPyMake_wxObject(result, 0);
23753 }
23754 return resultobj;
23755 fail:
23756 return NULL;
23757 }
23758
23759
23760 static PyObject *_wrap_PrintPreview_SetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
23761 PyObject *resultobj;
23762 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23763 wxFrame *arg2 = (wxFrame *) 0 ;
23764 PyObject * obj0 = 0 ;
23765 PyObject * obj1 = 0 ;
23766 char *kwnames[] = {
23767 (char *) "self",(char *) "frame", NULL
23768 };
23769
23770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail;
23771 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23772 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23773 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
23774 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23775 {
23776 PyThreadState* __tstate = wxPyBeginAllowThreads();
23777 (arg1)->SetFrame(arg2);
23778
23779 wxPyEndAllowThreads(__tstate);
23780 if (PyErr_Occurred()) SWIG_fail;
23781 }
23782 Py_INCREF(Py_None); resultobj = Py_None;
23783 return resultobj;
23784 fail:
23785 return NULL;
23786 }
23787
23788
23789 static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
23790 PyObject *resultobj;
23791 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23792 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23793 PyObject * obj0 = 0 ;
23794 PyObject * obj1 = 0 ;
23795 char *kwnames[] = {
23796 (char *) "self",(char *) "canvas", NULL
23797 };
23798
23799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
23800 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23801 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23802 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23803 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23804 {
23805 PyThreadState* __tstate = wxPyBeginAllowThreads();
23806 (arg1)->SetCanvas(arg2);
23807
23808 wxPyEndAllowThreads(__tstate);
23809 if (PyErr_Occurred()) SWIG_fail;
23810 }
23811 Py_INCREF(Py_None); resultobj = Py_None;
23812 return resultobj;
23813 fail:
23814 return NULL;
23815 }
23816
23817
23818 static PyObject *_wrap_PrintPreview_GetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
23819 PyObject *resultobj;
23820 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23821 wxFrame *result;
23822 PyObject * obj0 = 0 ;
23823 char *kwnames[] = {
23824 (char *) "self", NULL
23825 };
23826
23827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail;
23828 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23829 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23830 {
23831 PyThreadState* __tstate = wxPyBeginAllowThreads();
23832 result = (wxFrame *)(arg1)->GetFrame();
23833
23834 wxPyEndAllowThreads(__tstate);
23835 if (PyErr_Occurred()) SWIG_fail;
23836 }
23837 {
23838 resultobj = wxPyMake_wxObject(result, 0);
23839 }
23840 return resultobj;
23841 fail:
23842 return NULL;
23843 }
23844
23845
23846 static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
23847 PyObject *resultobj;
23848 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23849 wxPreviewCanvas *result;
23850 PyObject * obj0 = 0 ;
23851 char *kwnames[] = {
23852 (char *) "self", NULL
23853 };
23854
23855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail;
23856 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23857 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23858 {
23859 PyThreadState* __tstate = wxPyBeginAllowThreads();
23860 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
23861
23862 wxPyEndAllowThreads(__tstate);
23863 if (PyErr_Occurred()) SWIG_fail;
23864 }
23865 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 0);
23866 return resultobj;
23867 fail:
23868 return NULL;
23869 }
23870
23871
23872 static PyObject *_wrap_PrintPreview_PaintPage(PyObject *, PyObject *args, PyObject *kwargs) {
23873 PyObject *resultobj;
23874 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23875 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23876 wxDC *arg3 = 0 ;
23877 bool result;
23878 PyObject * obj0 = 0 ;
23879 PyObject * obj1 = 0 ;
23880 PyObject * obj2 = 0 ;
23881 char *kwnames[] = {
23882 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23883 };
23884
23885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
23886 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23887 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23888 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23889 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23890 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
23891 SWIG_POINTER_EXCEPTION | 0)) == -1)
23892 SWIG_fail;
23893 if (arg3 == NULL) {
23894 PyErr_SetString(PyExc_TypeError,"null reference");
23895 SWIG_fail;
23896 }
23897 {
23898 PyThreadState* __tstate = wxPyBeginAllowThreads();
23899 result = (bool)(arg1)->PaintPage(arg2,*arg3);
23900
23901 wxPyEndAllowThreads(__tstate);
23902 if (PyErr_Occurred()) SWIG_fail;
23903 }
23904 {
23905 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23906 }
23907 return resultobj;
23908 fail:
23909 return NULL;
23910 }
23911
23912
23913 static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *, PyObject *args, PyObject *kwargs) {
23914 PyObject *resultobj;
23915 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23916 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23917 wxDC *arg3 = 0 ;
23918 bool result;
23919 PyObject * obj0 = 0 ;
23920 PyObject * obj1 = 0 ;
23921 PyObject * obj2 = 0 ;
23922 char *kwnames[] = {
23923 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23924 };
23925
23926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
23927 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23928 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23929 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23930 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23931 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
23932 SWIG_POINTER_EXCEPTION | 0)) == -1)
23933 SWIG_fail;
23934 if (arg3 == NULL) {
23935 PyErr_SetString(PyExc_TypeError,"null reference");
23936 SWIG_fail;
23937 }
23938 {
23939 PyThreadState* __tstate = wxPyBeginAllowThreads();
23940 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
23941
23942 wxPyEndAllowThreads(__tstate);
23943 if (PyErr_Occurred()) SWIG_fail;
23944 }
23945 {
23946 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23947 }
23948 return resultobj;
23949 fail:
23950 return NULL;
23951 }
23952
23953
23954 static PyObject *_wrap_PrintPreview_RenderPage(PyObject *, PyObject *args, PyObject *kwargs) {
23955 PyObject *resultobj;
23956 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23957 int arg2 ;
23958 bool result;
23959 PyObject * obj0 = 0 ;
23960 PyObject * obj1 = 0 ;
23961 char *kwnames[] = {
23962 (char *) "self",(char *) "pageNum", NULL
23963 };
23964
23965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) goto fail;
23966 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23967 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23968 arg2 = (int)SWIG_As_int(obj1);
23969 if (PyErr_Occurred()) SWIG_fail;
23970 {
23971 PyThreadState* __tstate = wxPyBeginAllowThreads();
23972 result = (bool)(arg1)->RenderPage(arg2);
23973
23974 wxPyEndAllowThreads(__tstate);
23975 if (PyErr_Occurred()) SWIG_fail;
23976 }
23977 {
23978 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23979 }
23980 return resultobj;
23981 fail:
23982 return NULL;
23983 }
23984
23985
23986 static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
23987 PyObject *resultobj;
23988 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23989 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23990 PyObject * obj0 = 0 ;
23991 PyObject * obj1 = 0 ;
23992 char *kwnames[] = {
23993 (char *) "self",(char *) "canvas", NULL
23994 };
23995
23996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail;
23997 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23998 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23999 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
24000 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24001 {
24002 PyThreadState* __tstate = wxPyBeginAllowThreads();
24003 (arg1)->AdjustScrollbars(arg2);
24004
24005 wxPyEndAllowThreads(__tstate);
24006 if (PyErr_Occurred()) SWIG_fail;
24007 }
24008 Py_INCREF(Py_None); resultobj = Py_None;
24009 return resultobj;
24010 fail:
24011 return NULL;
24012 }
24013
24014
24015 static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
24016 PyObject *resultobj;
24017 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24018 wxPrintDialogData *result;
24019 PyObject * obj0 = 0 ;
24020 char *kwnames[] = {
24021 (char *) "self", NULL
24022 };
24023
24024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail;
24025 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24026 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24027 {
24028 PyThreadState* __tstate = wxPyBeginAllowThreads();
24029 {
24030 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
24031 result = (wxPrintDialogData *) &_result_ref;
24032 }
24033
24034 wxPyEndAllowThreads(__tstate);
24035 if (PyErr_Occurred()) SWIG_fail;
24036 }
24037 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
24038 return resultobj;
24039 fail:
24040 return NULL;
24041 }
24042
24043
24044 static PyObject *_wrap_PrintPreview_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
24045 PyObject *resultobj;
24046 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24047 int arg2 ;
24048 PyObject * obj0 = 0 ;
24049 PyObject * obj1 = 0 ;
24050 char *kwnames[] = {
24051 (char *) "self",(char *) "percent", NULL
24052 };
24053
24054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) goto fail;
24055 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24056 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24057 arg2 = (int)SWIG_As_int(obj1);
24058 if (PyErr_Occurred()) SWIG_fail;
24059 {
24060 PyThreadState* __tstate = wxPyBeginAllowThreads();
24061 (arg1)->SetZoom(arg2);
24062
24063 wxPyEndAllowThreads(__tstate);
24064 if (PyErr_Occurred()) SWIG_fail;
24065 }
24066 Py_INCREF(Py_None); resultobj = Py_None;
24067 return resultobj;
24068 fail:
24069 return NULL;
24070 }
24071
24072
24073 static PyObject *_wrap_PrintPreview_GetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
24074 PyObject *resultobj;
24075 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24076 int result;
24077 PyObject * obj0 = 0 ;
24078 char *kwnames[] = {
24079 (char *) "self", NULL
24080 };
24081
24082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail;
24083 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24084 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24085 {
24086 PyThreadState* __tstate = wxPyBeginAllowThreads();
24087 result = (int)(arg1)->GetZoom();
24088
24089 wxPyEndAllowThreads(__tstate);
24090 if (PyErr_Occurred()) SWIG_fail;
24091 }
24092 resultobj = SWIG_From_int((int)result);
24093 return resultobj;
24094 fail:
24095 return NULL;
24096 }
24097
24098
24099 static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
24100 PyObject *resultobj;
24101 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24102 int result;
24103 PyObject * obj0 = 0 ;
24104 char *kwnames[] = {
24105 (char *) "self", NULL
24106 };
24107
24108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail;
24109 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24110 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24111 {
24112 PyThreadState* __tstate = wxPyBeginAllowThreads();
24113 result = (int)(arg1)->GetMaxPage();
24114
24115 wxPyEndAllowThreads(__tstate);
24116 if (PyErr_Occurred()) SWIG_fail;
24117 }
24118 resultobj = SWIG_From_int((int)result);
24119 return resultobj;
24120 fail:
24121 return NULL;
24122 }
24123
24124
24125 static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
24126 PyObject *resultobj;
24127 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24128 int result;
24129 PyObject * obj0 = 0 ;
24130 char *kwnames[] = {
24131 (char *) "self", NULL
24132 };
24133
24134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail;
24135 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24136 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24137 {
24138 PyThreadState* __tstate = wxPyBeginAllowThreads();
24139 result = (int)(arg1)->GetMinPage();
24140
24141 wxPyEndAllowThreads(__tstate);
24142 if (PyErr_Occurred()) SWIG_fail;
24143 }
24144 resultobj = SWIG_From_int((int)result);
24145 return resultobj;
24146 fail:
24147 return NULL;
24148 }
24149
24150
24151 static PyObject *_wrap_PrintPreview_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
24152 PyObject *resultobj;
24153 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24154 bool result;
24155 PyObject * obj0 = 0 ;
24156 char *kwnames[] = {
24157 (char *) "self", NULL
24158 };
24159
24160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail;
24161 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24162 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24163 {
24164 PyThreadState* __tstate = wxPyBeginAllowThreads();
24165 result = (bool)(arg1)->Ok();
24166
24167 wxPyEndAllowThreads(__tstate);
24168 if (PyErr_Occurred()) SWIG_fail;
24169 }
24170 {
24171 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24172 }
24173 return resultobj;
24174 fail:
24175 return NULL;
24176 }
24177
24178
24179 static PyObject *_wrap_PrintPreview_SetOk(PyObject *, PyObject *args, PyObject *kwargs) {
24180 PyObject *resultobj;
24181 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24182 bool arg2 ;
24183 PyObject * obj0 = 0 ;
24184 PyObject * obj1 = 0 ;
24185 char *kwnames[] = {
24186 (char *) "self",(char *) "ok", NULL
24187 };
24188
24189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail;
24190 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24191 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24192 arg2 = (bool)SWIG_As_bool(obj1);
24193 if (PyErr_Occurred()) SWIG_fail;
24194 {
24195 PyThreadState* __tstate = wxPyBeginAllowThreads();
24196 (arg1)->SetOk(arg2);
24197
24198 wxPyEndAllowThreads(__tstate);
24199 if (PyErr_Occurred()) SWIG_fail;
24200 }
24201 Py_INCREF(Py_None); resultobj = Py_None;
24202 return resultobj;
24203 fail:
24204 return NULL;
24205 }
24206
24207
24208 static PyObject *_wrap_PrintPreview_Print(PyObject *, PyObject *args, PyObject *kwargs) {
24209 PyObject *resultobj;
24210 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24211 bool arg2 ;
24212 bool result;
24213 PyObject * obj0 = 0 ;
24214 PyObject * obj1 = 0 ;
24215 char *kwnames[] = {
24216 (char *) "self",(char *) "interactive", NULL
24217 };
24218
24219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail;
24220 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24221 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24222 arg2 = (bool)SWIG_As_bool(obj1);
24223 if (PyErr_Occurred()) SWIG_fail;
24224 {
24225 PyThreadState* __tstate = wxPyBeginAllowThreads();
24226 result = (bool)(arg1)->Print(arg2);
24227
24228 wxPyEndAllowThreads(__tstate);
24229 if (PyErr_Occurred()) SWIG_fail;
24230 }
24231 {
24232 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24233 }
24234 return resultobj;
24235 fail:
24236 return NULL;
24237 }
24238
24239
24240 static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *, PyObject *args, PyObject *kwargs) {
24241 PyObject *resultobj;
24242 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24243 PyObject * obj0 = 0 ;
24244 char *kwnames[] = {
24245 (char *) "self", NULL
24246 };
24247
24248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail;
24249 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24250 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24251 {
24252 PyThreadState* __tstate = wxPyBeginAllowThreads();
24253 (arg1)->DetermineScaling();
24254
24255 wxPyEndAllowThreads(__tstate);
24256 if (PyErr_Occurred()) SWIG_fail;
24257 }
24258 Py_INCREF(Py_None); resultobj = Py_None;
24259 return resultobj;
24260 fail:
24261 return NULL;
24262 }
24263
24264
24265 static PyObject * PrintPreview_swigregister(PyObject *, PyObject *args) {
24266 PyObject *obj;
24267 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24268 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj);
24269 Py_INCREF(obj);
24270 return Py_BuildValue((char *)"");
24271 }
24272 static PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *, PyObject *args) {
24273 PyObject *resultobj;
24274 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24275 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
24276 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
24277 wxPyPrintPreview *result;
24278 PyObject * obj0 = 0 ;
24279 PyObject * obj1 = 0 ;
24280 PyObject * obj2 = 0 ;
24281
24282 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
24283 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
24284 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24285 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
24286 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24287 if (obj2) {
24288 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintDialogData,
24289 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24290 }
24291 {
24292 if (!wxPyCheckForApp()) SWIG_fail;
24293 PyThreadState* __tstate = wxPyBeginAllowThreads();
24294 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
24295
24296 wxPyEndAllowThreads(__tstate);
24297 if (PyErr_Occurred()) SWIG_fail;
24298 }
24299 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
24300 return resultobj;
24301 fail:
24302 return NULL;
24303 }
24304
24305
24306 static PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *, PyObject *args) {
24307 PyObject *resultobj;
24308 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24309 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
24310 wxPrintData *arg3 = (wxPrintData *) 0 ;
24311 wxPyPrintPreview *result;
24312 PyObject * obj0 = 0 ;
24313 PyObject * obj1 = 0 ;
24314 PyObject * obj2 = 0 ;
24315
24316 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
24317 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
24318 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24319 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
24320 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24321 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData,
24322 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24323 {
24324 if (!wxPyCheckForApp()) SWIG_fail;
24325 PyThreadState* __tstate = wxPyBeginAllowThreads();
24326 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
24327
24328 wxPyEndAllowThreads(__tstate);
24329 if (PyErr_Occurred()) SWIG_fail;
24330 }
24331 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
24332 return resultobj;
24333 fail:
24334 return NULL;
24335 }
24336
24337
24338 static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
24339 int argc;
24340 PyObject *argv[4];
24341 int ii;
24342
24343 argc = PyObject_Length(args);
24344 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
24345 argv[ii] = PyTuple_GetItem(args,ii);
24346 }
24347 if ((argc >= 2) && (argc <= 3)) {
24348 int _v;
24349 {
24350 void *ptr;
24351 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
24352 _v = 0;
24353 PyErr_Clear();
24354 } else {
24355 _v = 1;
24356 }
24357 }
24358 if (_v) {
24359 {
24360 void *ptr;
24361 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
24362 _v = 0;
24363 PyErr_Clear();
24364 } else {
24365 _v = 1;
24366 }
24367 }
24368 if (_v) {
24369 if (argc <= 2) {
24370 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
24371 }
24372 {
24373 void *ptr;
24374 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
24375 _v = 0;
24376 PyErr_Clear();
24377 } else {
24378 _v = 1;
24379 }
24380 }
24381 if (_v) {
24382 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
24383 }
24384 }
24385 }
24386 }
24387 if (argc == 3) {
24388 int _v;
24389 {
24390 void *ptr;
24391 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
24392 _v = 0;
24393 PyErr_Clear();
24394 } else {
24395 _v = 1;
24396 }
24397 }
24398 if (_v) {
24399 {
24400 void *ptr;
24401 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
24402 _v = 0;
24403 PyErr_Clear();
24404 } else {
24405 _v = 1;
24406 }
24407 }
24408 if (_v) {
24409 {
24410 void *ptr;
24411 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
24412 _v = 0;
24413 PyErr_Clear();
24414 } else {
24415 _v = 1;
24416 }
24417 }
24418 if (_v) {
24419 return _wrap_new_PyPrintPreview__SWIG_1(self,args);
24420 }
24421 }
24422 }
24423 }
24424
24425 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PyPrintPreview'");
24426 return NULL;
24427 }
24428
24429
24430 static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
24431 PyObject *resultobj;
24432 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24433 PyObject *arg2 = (PyObject *) 0 ;
24434 PyObject *arg3 = (PyObject *) 0 ;
24435 PyObject * obj0 = 0 ;
24436 PyObject * obj1 = 0 ;
24437 PyObject * obj2 = 0 ;
24438 char *kwnames[] = {
24439 (char *) "self",(char *) "self",(char *) "_class", NULL
24440 };
24441
24442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24443 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24444 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24445 arg2 = obj1;
24446 arg3 = obj2;
24447 {
24448 PyThreadState* __tstate = wxPyBeginAllowThreads();
24449 (arg1)->_setCallbackInfo(arg2,arg3);
24450
24451 wxPyEndAllowThreads(__tstate);
24452 if (PyErr_Occurred()) SWIG_fail;
24453 }
24454 Py_INCREF(Py_None); resultobj = Py_None;
24455 return resultobj;
24456 fail:
24457 return NULL;
24458 }
24459
24460
24461 static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
24462 PyObject *resultobj;
24463 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24464 int arg2 ;
24465 bool result;
24466 PyObject * obj0 = 0 ;
24467 PyObject * obj1 = 0 ;
24468 char *kwnames[] = {
24469 (char *) "self",(char *) "pageNum", NULL
24470 };
24471
24472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
24473 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24474 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24475 arg2 = (int)SWIG_As_int(obj1);
24476 if (PyErr_Occurred()) SWIG_fail;
24477 {
24478 PyThreadState* __tstate = wxPyBeginAllowThreads();
24479 result = (bool)(arg1)->base_SetCurrentPage(arg2);
24480
24481 wxPyEndAllowThreads(__tstate);
24482 if (PyErr_Occurred()) SWIG_fail;
24483 }
24484 {
24485 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24486 }
24487 return resultobj;
24488 fail:
24489 return NULL;
24490 }
24491
24492
24493 static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *, PyObject *args, PyObject *kwargs) {
24494 PyObject *resultobj;
24495 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24496 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
24497 wxDC *arg3 = 0 ;
24498 bool result;
24499 PyObject * obj0 = 0 ;
24500 PyObject * obj1 = 0 ;
24501 PyObject * obj2 = 0 ;
24502 char *kwnames[] = {
24503 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24504 };
24505
24506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
24507 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24508 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24509 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
24510 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24511 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
24512 SWIG_POINTER_EXCEPTION | 0)) == -1)
24513 SWIG_fail;
24514 if (arg3 == NULL) {
24515 PyErr_SetString(PyExc_TypeError,"null reference");
24516 SWIG_fail;
24517 }
24518 {
24519 PyThreadState* __tstate = wxPyBeginAllowThreads();
24520 result = (bool)(arg1)->base_PaintPage(arg2,*arg3);
24521
24522 wxPyEndAllowThreads(__tstate);
24523 if (PyErr_Occurred()) SWIG_fail;
24524 }
24525 {
24526 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24527 }
24528 return resultobj;
24529 fail:
24530 return NULL;
24531 }
24532
24533
24534 static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *, PyObject *args, PyObject *kwargs) {
24535 PyObject *resultobj;
24536 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24537 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
24538 wxDC *arg3 = 0 ;
24539 bool result;
24540 PyObject * obj0 = 0 ;
24541 PyObject * obj1 = 0 ;
24542 PyObject * obj2 = 0 ;
24543 char *kwnames[] = {
24544 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24545 };
24546
24547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
24548 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24549 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24550 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
24551 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24552 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
24553 SWIG_POINTER_EXCEPTION | 0)) == -1)
24554 SWIG_fail;
24555 if (arg3 == NULL) {
24556 PyErr_SetString(PyExc_TypeError,"null reference");
24557 SWIG_fail;
24558 }
24559 {
24560 PyThreadState* __tstate = wxPyBeginAllowThreads();
24561 result = (bool)(arg1)->base_DrawBlankPage(arg2,*arg3);
24562
24563 wxPyEndAllowThreads(__tstate);
24564 if (PyErr_Occurred()) SWIG_fail;
24565 }
24566 {
24567 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24568 }
24569 return resultobj;
24570 fail:
24571 return NULL;
24572 }
24573
24574
24575 static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *, PyObject *args, PyObject *kwargs) {
24576 PyObject *resultobj;
24577 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24578 int arg2 ;
24579 bool result;
24580 PyObject * obj0 = 0 ;
24581 PyObject * obj1 = 0 ;
24582 char *kwnames[] = {
24583 (char *) "self",(char *) "pageNum", NULL
24584 };
24585
24586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames,&obj0,&obj1)) goto fail;
24587 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24588 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24589 arg2 = (int)SWIG_As_int(obj1);
24590 if (PyErr_Occurred()) SWIG_fail;
24591 {
24592 PyThreadState* __tstate = wxPyBeginAllowThreads();
24593 result = (bool)(arg1)->base_RenderPage(arg2);
24594
24595 wxPyEndAllowThreads(__tstate);
24596 if (PyErr_Occurred()) SWIG_fail;
24597 }
24598 {
24599 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24600 }
24601 return resultobj;
24602 fail:
24603 return NULL;
24604 }
24605
24606
24607 static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
24608 PyObject *resultobj;
24609 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24610 int arg2 ;
24611 PyObject * obj0 = 0 ;
24612 PyObject * obj1 = 0 ;
24613 char *kwnames[] = {
24614 (char *) "self",(char *) "percent", NULL
24615 };
24616
24617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames,&obj0,&obj1)) goto fail;
24618 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24619 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24620 arg2 = (int)SWIG_As_int(obj1);
24621 if (PyErr_Occurred()) SWIG_fail;
24622 {
24623 PyThreadState* __tstate = wxPyBeginAllowThreads();
24624 (arg1)->base_SetZoom(arg2);
24625
24626 wxPyEndAllowThreads(__tstate);
24627 if (PyErr_Occurred()) SWIG_fail;
24628 }
24629 Py_INCREF(Py_None); resultobj = Py_None;
24630 return resultobj;
24631 fail:
24632 return NULL;
24633 }
24634
24635
24636 static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *, PyObject *args, PyObject *kwargs) {
24637 PyObject *resultobj;
24638 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24639 bool arg2 ;
24640 bool result;
24641 PyObject * obj0 = 0 ;
24642 PyObject * obj1 = 0 ;
24643 char *kwnames[] = {
24644 (char *) "self",(char *) "interactive", NULL
24645 };
24646
24647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_Print",kwnames,&obj0,&obj1)) goto fail;
24648 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24649 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24650 arg2 = (bool)SWIG_As_bool(obj1);
24651 if (PyErr_Occurred()) SWIG_fail;
24652 {
24653 PyThreadState* __tstate = wxPyBeginAllowThreads();
24654 result = (bool)(arg1)->base_Print(arg2);
24655
24656 wxPyEndAllowThreads(__tstate);
24657 if (PyErr_Occurred()) SWIG_fail;
24658 }
24659 {
24660 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24661 }
24662 return resultobj;
24663 fail:
24664 return NULL;
24665 }
24666
24667
24668 static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *, PyObject *args, PyObject *kwargs) {
24669 PyObject *resultobj;
24670 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24671 PyObject * obj0 = 0 ;
24672 char *kwnames[] = {
24673 (char *) "self", NULL
24674 };
24675
24676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames,&obj0)) goto fail;
24677 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24678 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24679 {
24680 PyThreadState* __tstate = wxPyBeginAllowThreads();
24681 (arg1)->base_DetermineScaling();
24682
24683 wxPyEndAllowThreads(__tstate);
24684 if (PyErr_Occurred()) SWIG_fail;
24685 }
24686 Py_INCREF(Py_None); resultobj = Py_None;
24687 return resultobj;
24688 fail:
24689 return NULL;
24690 }
24691
24692
24693 static PyObject * PyPrintPreview_swigregister(PyObject *, PyObject *args) {
24694 PyObject *obj;
24695 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24696 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj);
24697 Py_INCREF(obj);
24698 return Py_BuildValue((char *)"");
24699 }
24700 static PyObject *_wrap_new_PyPreviewFrame(PyObject *, PyObject *args, PyObject *kwargs) {
24701 PyObject *resultobj;
24702 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24703 wxFrame *arg2 = (wxFrame *) 0 ;
24704 wxString *arg3 = 0 ;
24705 wxPoint const &arg4_defvalue = wxDefaultPosition ;
24706 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
24707 wxSize const &arg5_defvalue = wxDefaultSize ;
24708 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
24709 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
24710 wxString const &arg7_defvalue = wxPyFrameNameStr ;
24711 wxString *arg7 = (wxString *) &arg7_defvalue ;
24712 wxPyPreviewFrame *result;
24713 bool temp3 = false ;
24714 wxPoint temp4 ;
24715 wxSize temp5 ;
24716 bool temp7 = false ;
24717 PyObject * obj0 = 0 ;
24718 PyObject * obj1 = 0 ;
24719 PyObject * obj2 = 0 ;
24720 PyObject * obj3 = 0 ;
24721 PyObject * obj4 = 0 ;
24722 PyObject * obj5 = 0 ;
24723 PyObject * obj6 = 0 ;
24724 char *kwnames[] = {
24725 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24726 };
24727
24728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
24729 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24730 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24731 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
24732 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24733 {
24734 arg3 = wxString_in_helper(obj2);
24735 if (arg3 == NULL) SWIG_fail;
24736 temp3 = true;
24737 }
24738 if (obj3) {
24739 {
24740 arg4 = &temp4;
24741 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
24742 }
24743 }
24744 if (obj4) {
24745 {
24746 arg5 = &temp5;
24747 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
24748 }
24749 }
24750 if (obj5) {
24751 arg6 = (long)SWIG_As_long(obj5);
24752 if (PyErr_Occurred()) SWIG_fail;
24753 }
24754 if (obj6) {
24755 {
24756 arg7 = wxString_in_helper(obj6);
24757 if (arg7 == NULL) SWIG_fail;
24758 temp7 = true;
24759 }
24760 }
24761 {
24762 if (!wxPyCheckForApp()) SWIG_fail;
24763 PyThreadState* __tstate = wxPyBeginAllowThreads();
24764 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
24765
24766 wxPyEndAllowThreads(__tstate);
24767 if (PyErr_Occurred()) SWIG_fail;
24768 }
24769 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewFrame, 1);
24770 {
24771 if (temp3)
24772 delete arg3;
24773 }
24774 {
24775 if (temp7)
24776 delete arg7;
24777 }
24778 return resultobj;
24779 fail:
24780 {
24781 if (temp3)
24782 delete arg3;
24783 }
24784 {
24785 if (temp7)
24786 delete arg7;
24787 }
24788 return NULL;
24789 }
24790
24791
24792 static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
24793 PyObject *resultobj;
24794 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24795 PyObject *arg2 = (PyObject *) 0 ;
24796 PyObject *arg3 = (PyObject *) 0 ;
24797 PyObject * obj0 = 0 ;
24798 PyObject * obj1 = 0 ;
24799 PyObject * obj2 = 0 ;
24800 char *kwnames[] = {
24801 (char *) "self",(char *) "self",(char *) "_class", NULL
24802 };
24803
24804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24805 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24806 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24807 arg2 = obj1;
24808 arg3 = obj2;
24809 {
24810 PyThreadState* __tstate = wxPyBeginAllowThreads();
24811 (arg1)->_setCallbackInfo(arg2,arg3);
24812
24813 wxPyEndAllowThreads(__tstate);
24814 if (PyErr_Occurred()) SWIG_fail;
24815 }
24816 Py_INCREF(Py_None); resultobj = Py_None;
24817 return resultobj;
24818 fail:
24819 return NULL;
24820 }
24821
24822
24823 static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
24824 PyObject *resultobj;
24825 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24826 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
24827 PyObject * obj0 = 0 ;
24828 PyObject * obj1 = 0 ;
24829 char *kwnames[] = {
24830 (char *) "self",(char *) "canvas", NULL
24831 };
24832
24833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail;
24834 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24835 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24836 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
24837 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24838 {
24839 PyThreadState* __tstate = wxPyBeginAllowThreads();
24840 (arg1)->SetPreviewCanvas(arg2);
24841
24842 wxPyEndAllowThreads(__tstate);
24843 if (PyErr_Occurred()) SWIG_fail;
24844 }
24845 Py_INCREF(Py_None); resultobj = Py_None;
24846 return resultobj;
24847 fail:
24848 return NULL;
24849 }
24850
24851
24852 static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
24853 PyObject *resultobj;
24854 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24855 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
24856 PyObject * obj0 = 0 ;
24857 PyObject * obj1 = 0 ;
24858 char *kwnames[] = {
24859 (char *) "self",(char *) "bar", NULL
24860 };
24861
24862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail;
24863 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24864 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24865 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewControlBar,
24866 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24867 {
24868 PyThreadState* __tstate = wxPyBeginAllowThreads();
24869 (arg1)->SetControlBar(arg2);
24870
24871 wxPyEndAllowThreads(__tstate);
24872 if (PyErr_Occurred()) SWIG_fail;
24873 }
24874 Py_INCREF(Py_None); resultobj = Py_None;
24875 return resultobj;
24876 fail:
24877 return NULL;
24878 }
24879
24880
24881 static PyObject *_wrap_PyPreviewFrame_base_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
24882 PyObject *resultobj;
24883 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24884 PyObject * obj0 = 0 ;
24885 char *kwnames[] = {
24886 (char *) "self", NULL
24887 };
24888
24889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_Initialize",kwnames,&obj0)) goto fail;
24890 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24892 {
24893 PyThreadState* __tstate = wxPyBeginAllowThreads();
24894 (arg1)->base_Initialize();
24895
24896 wxPyEndAllowThreads(__tstate);
24897 if (PyErr_Occurred()) SWIG_fail;
24898 }
24899 Py_INCREF(Py_None); resultobj = Py_None;
24900 return resultobj;
24901 fail:
24902 return NULL;
24903 }
24904
24905
24906 static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
24907 PyObject *resultobj;
24908 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24909 PyObject * obj0 = 0 ;
24910 char *kwnames[] = {
24911 (char *) "self", NULL
24912 };
24913
24914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames,&obj0)) goto fail;
24915 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24916 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24917 {
24918 PyThreadState* __tstate = wxPyBeginAllowThreads();
24919 (arg1)->base_CreateCanvas();
24920
24921 wxPyEndAllowThreads(__tstate);
24922 if (PyErr_Occurred()) SWIG_fail;
24923 }
24924 Py_INCREF(Py_None); resultobj = Py_None;
24925 return resultobj;
24926 fail:
24927 return NULL;
24928 }
24929
24930
24931 static PyObject *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
24932 PyObject *resultobj;
24933 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24934 PyObject * obj0 = 0 ;
24935 char *kwnames[] = {
24936 (char *) "self", NULL
24937 };
24938
24939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames,&obj0)) goto fail;
24940 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24941 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24942 {
24943 PyThreadState* __tstate = wxPyBeginAllowThreads();
24944 (arg1)->base_CreateControlBar();
24945
24946 wxPyEndAllowThreads(__tstate);
24947 if (PyErr_Occurred()) SWIG_fail;
24948 }
24949 Py_INCREF(Py_None); resultobj = Py_None;
24950 return resultobj;
24951 fail:
24952 return NULL;
24953 }
24954
24955
24956 static PyObject * PyPreviewFrame_swigregister(PyObject *, PyObject *args) {
24957 PyObject *obj;
24958 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24959 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj);
24960 Py_INCREF(obj);
24961 return Py_BuildValue((char *)"");
24962 }
24963 static PyObject *_wrap_new_PyPreviewControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
24964 PyObject *resultobj;
24965 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24966 long arg2 ;
24967 wxWindow *arg3 = (wxWindow *) 0 ;
24968 wxPoint const &arg4_defvalue = wxDefaultPosition ;
24969 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
24970 wxSize const &arg5_defvalue = wxDefaultSize ;
24971 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
24972 long arg6 = (long) 0 ;
24973 wxString const &arg7_defvalue = wxPyPanelNameStr ;
24974 wxString *arg7 = (wxString *) &arg7_defvalue ;
24975 wxPyPreviewControlBar *result;
24976 wxPoint temp4 ;
24977 wxSize temp5 ;
24978 bool temp7 = false ;
24979 PyObject * obj0 = 0 ;
24980 PyObject * obj1 = 0 ;
24981 PyObject * obj2 = 0 ;
24982 PyObject * obj3 = 0 ;
24983 PyObject * obj4 = 0 ;
24984 PyObject * obj5 = 0 ;
24985 PyObject * obj6 = 0 ;
24986 char *kwnames[] = {
24987 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24988 };
24989
24990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
24991 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24992 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24993 arg2 = (long)SWIG_As_long(obj1);
24994 if (PyErr_Occurred()) SWIG_fail;
24995 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
24996 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24997 if (obj3) {
24998 {
24999 arg4 = &temp4;
25000 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
25001 }
25002 }
25003 if (obj4) {
25004 {
25005 arg5 = &temp5;
25006 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
25007 }
25008 }
25009 if (obj5) {
25010 arg6 = (long)SWIG_As_long(obj5);
25011 if (PyErr_Occurred()) SWIG_fail;
25012 }
25013 if (obj6) {
25014 {
25015 arg7 = wxString_in_helper(obj6);
25016 if (arg7 == NULL) SWIG_fail;
25017 temp7 = true;
25018 }
25019 }
25020 {
25021 if (!wxPyCheckForApp()) SWIG_fail;
25022 PyThreadState* __tstate = wxPyBeginAllowThreads();
25023 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
25024
25025 wxPyEndAllowThreads(__tstate);
25026 if (PyErr_Occurred()) SWIG_fail;
25027 }
25028 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewControlBar, 1);
25029 {
25030 if (temp7)
25031 delete arg7;
25032 }
25033 return resultobj;
25034 fail:
25035 {
25036 if (temp7)
25037 delete arg7;
25038 }
25039 return NULL;
25040 }
25041
25042
25043 static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
25044 PyObject *resultobj;
25045 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
25046 PyObject *arg2 = (PyObject *) 0 ;
25047 PyObject *arg3 = (PyObject *) 0 ;
25048 PyObject * obj0 = 0 ;
25049 PyObject * obj1 = 0 ;
25050 PyObject * obj2 = 0 ;
25051 char *kwnames[] = {
25052 (char *) "self",(char *) "self",(char *) "_class", NULL
25053 };
25054
25055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
25056 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
25057 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25058 arg2 = obj1;
25059 arg3 = obj2;
25060 {
25061 PyThreadState* __tstate = wxPyBeginAllowThreads();
25062 (arg1)->_setCallbackInfo(arg2,arg3);
25063
25064 wxPyEndAllowThreads(__tstate);
25065 if (PyErr_Occurred()) SWIG_fail;
25066 }
25067 Py_INCREF(Py_None); resultobj = Py_None;
25068 return resultobj;
25069 fail:
25070 return NULL;
25071 }
25072
25073
25074 static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *, PyObject *args, PyObject *kwargs) {
25075 PyObject *resultobj;
25076 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
25077 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
25078 PyObject * obj0 = 0 ;
25079 PyObject * obj1 = 0 ;
25080 char *kwnames[] = {
25081 (char *) "self",(char *) "preview", NULL
25082 };
25083
25084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail;
25085 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
25086 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25087 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintPreview,
25088 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25089 {
25090 PyThreadState* __tstate = wxPyBeginAllowThreads();
25091 (arg1)->SetPrintPreview(arg2);
25092
25093 wxPyEndAllowThreads(__tstate);
25094 if (PyErr_Occurred()) SWIG_fail;
25095 }
25096 Py_INCREF(Py_None); resultobj = Py_None;
25097 return resultobj;
25098 fail:
25099 return NULL;
25100 }
25101
25102
25103 static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *, PyObject *args, PyObject *kwargs) {
25104 PyObject *resultobj;
25105 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
25106 PyObject * obj0 = 0 ;
25107 char *kwnames[] = {
25108 (char *) "self", NULL
25109 };
25110
25111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames,&obj0)) goto fail;
25112 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
25113 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25114 {
25115 PyThreadState* __tstate = wxPyBeginAllowThreads();
25116 (arg1)->base_CreateButtons();
25117
25118 wxPyEndAllowThreads(__tstate);
25119 if (PyErr_Occurred()) SWIG_fail;
25120 }
25121 Py_INCREF(Py_None); resultobj = Py_None;
25122 return resultobj;
25123 fail:
25124 return NULL;
25125 }
25126
25127
25128 static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
25129 PyObject *resultobj;
25130 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
25131 int arg2 ;
25132 PyObject * obj0 = 0 ;
25133 PyObject * obj1 = 0 ;
25134 char *kwnames[] = {
25135 (char *) "self",(char *) "zoom", NULL
25136 };
25137
25138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
25139 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
25140 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25141 arg2 = (int)SWIG_As_int(obj1);
25142 if (PyErr_Occurred()) SWIG_fail;
25143 {
25144 PyThreadState* __tstate = wxPyBeginAllowThreads();
25145 (arg1)->base_SetZoomControl(arg2);
25146
25147 wxPyEndAllowThreads(__tstate);
25148 if (PyErr_Occurred()) SWIG_fail;
25149 }
25150 Py_INCREF(Py_None); resultobj = Py_None;
25151 return resultobj;
25152 fail:
25153 return NULL;
25154 }
25155
25156
25157 static PyObject * PyPreviewControlBar_swigregister(PyObject *, PyObject *args) {
25158 PyObject *obj;
25159 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25160 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj);
25161 Py_INCREF(obj);
25162 return Py_BuildValue((char *)"");
25163 }
25164 static PyMethodDef SwigMethods[] = {
25165 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS, NULL },
25166 { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS, NULL },
25167 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25168 { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25169 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25170 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS, NULL },
25171 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25172 { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25173 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25174 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS, NULL },
25175 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS, NULL },
25176 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL },
25177 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL },
25178 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS, NULL },
25179 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS, NULL },
25180 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS, NULL },
25181 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS, NULL },
25182 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS, NULL },
25183 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS, NULL },
25184 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS, NULL },
25185 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS, NULL },
25186 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS, NULL },
25187 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL },
25188 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS, NULL },
25189 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25190 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25191 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS, NULL },
25192 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction) _wrap_ScrolledWindow_GetTargetRect, METH_VARARGS | METH_KEYWORDS, NULL },
25193 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction) _wrap_ScrolledWindow_DoPrepareDC, METH_VARARGS | METH_KEYWORDS, NULL },
25194 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25195 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS, NULL },
25196 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS, NULL },
25197 { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS, NULL },
25198 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS, NULL },
25199 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS, NULL },
25200 { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS, NULL },
25201 { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS, NULL },
25202 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL },
25203 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS, NULL },
25204 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS, NULL },
25205 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS, NULL },
25206 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL },
25207 { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL },
25208 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS, NULL },
25209 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction) _wrap_TopLevelWindow_RequestUserAttention, METH_VARARGS | METH_KEYWORDS, NULL },
25210 { (char *)"TopLevelWindow_IsActive", (PyCFunction) _wrap_TopLevelWindow_IsActive, METH_VARARGS | METH_KEYWORDS, NULL },
25211 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacSetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL },
25212 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacGetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL },
25213 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS, NULL },
25214 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS, NULL },
25215 { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25216 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25217 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS, NULL },
25218 { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS, NULL },
25219 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL },
25220 { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL },
25221 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS, NULL },
25222 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS, NULL },
25223 { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL },
25224 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL },
25225 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
25226 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL },
25227 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
25228 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
25229 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL },
25230 { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL },
25231 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
25232 { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
25233 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
25234 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS, NULL },
25235 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS, NULL },
25236 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25237 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS, NULL },
25238 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS, NULL },
25239 { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25240 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25241 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL },
25242 { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL },
25243 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS, NULL },
25244 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL },
25245 { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS, NULL },
25246 { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL },
25247 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS, NULL },
25248 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25249 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS, NULL },
25250 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25251 { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25252 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25253 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS, NULL },
25254 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25255 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
25256 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
25257 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS, NULL },
25258 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS, NULL },
25259 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS, NULL },
25260 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25261 { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS, NULL },
25262 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS, NULL },
25263 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS, NULL },
25264 { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS, NULL },
25265 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25266 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL },
25267 { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL },
25268 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
25269 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
25270 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
25271 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
25272 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL },
25273 { (char *)"StatusBar_SetStatusStyles", (PyCFunction) _wrap_StatusBar_SetStatusStyles, METH_VARARGS | METH_KEYWORDS, NULL },
25274 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS, NULL },
25275 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL },
25276 { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS, NULL },
25277 { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS, NULL },
25278 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25279 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS, NULL },
25280 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25281 { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25282 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25283 { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS, NULL },
25284 { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS, NULL },
25285 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL },
25286 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL },
25287 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS, NULL },
25288 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS, NULL },
25289 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS, NULL },
25290 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS, NULL },
25291 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25292 { (char *)"SplitterWindow_UpdateSize", (PyCFunction) _wrap_SplitterWindow_UpdateSize, METH_VARARGS | METH_KEYWORDS, NULL },
25293 { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS, NULL },
25294 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS, NULL },
25295 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
25296 { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS, NULL },
25297 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
25298 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL },
25299 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL },
25300 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL },
25301 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL },
25302 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL },
25303 { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS, NULL },
25304 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL },
25305 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL },
25306 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25307 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS, NULL },
25308 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS, NULL },
25309 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL },
25310 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL },
25311 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS, NULL },
25312 { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS, NULL },
25313 { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS, NULL },
25314 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS, NULL },
25315 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25316 { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25317 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25318 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL },
25319 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL },
25320 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS, NULL },
25321 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS, NULL },
25322 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS, NULL },
25323 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
25324 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
25325 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
25326 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
25327 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL },
25328 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL },
25329 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL },
25330 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL },
25331 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL },
25332 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL },
25333 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL },
25334 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL },
25335 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL },
25336 { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS, NULL },
25337 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS, NULL },
25338 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS, NULL },
25339 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL },
25340 { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS, NULL },
25341 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS, NULL },
25342 { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS, NULL },
25343 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL },
25344 { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL },
25345 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS, NULL },
25346 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS, NULL },
25347 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL },
25348 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL },
25349 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25350 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25351 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25352 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25353 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25354 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25355 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
25356 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
25357 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS, NULL },
25358 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS, NULL },
25359 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25360 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25361 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL },
25362 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS, NULL },
25363 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS, NULL },
25364 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25365 { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25366 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25367 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
25368 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25369 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
25370 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL },
25371 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25372 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS, NULL },
25373 { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS, NULL },
25374 { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS, NULL },
25375 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25376 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25377 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25378 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS, NULL },
25379 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25380 { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25381 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS, NULL },
25382 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25383 { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25384 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS, NULL },
25385 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25386 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL },
25387 { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS, NULL },
25388 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS, NULL },
25389 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25390 { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25391 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25392 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25393 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS, NULL },
25394 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL },
25395 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS, NULL },
25396 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS, NULL },
25397 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS, NULL },
25398 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS, NULL },
25399 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction) _wrap_VScrolledWindow_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL },
25400 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL },
25401 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS, NULL },
25402 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS, NULL },
25403 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL },
25404 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL },
25405 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL },
25406 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL },
25407 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL },
25408 { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS, NULL },
25409 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25410 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25411 { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS, NULL },
25412 { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25413 { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25414 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS, NULL },
25415 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL },
25416 { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS, NULL },
25417 { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS, NULL },
25418 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL },
25419 { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS, NULL },
25420 { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL },
25421 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL },
25422 { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS, NULL },
25423 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25424 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL },
25425 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS, NULL },
25426 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS, NULL },
25427 { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL },
25428 { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS, NULL },
25429 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL },
25430 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL },
25431 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL },
25432 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS, NULL },
25433 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL },
25434 { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL },
25435 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25436 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25437 { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS, NULL },
25438 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL },
25439 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction) _wrap_HtmlListBox_GetFileSystem, METH_VARARGS | METH_KEYWORDS, NULL },
25440 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS, NULL },
25441 { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS, NULL },
25442 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction) _wrap_TaskBarIcon__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25443 { (char *)"TaskBarIcon_Destroy", (PyCFunction) _wrap_TaskBarIcon_Destroy, METH_VARARGS | METH_KEYWORDS, NULL },
25444 { (char *)"TaskBarIcon_IsOk", (PyCFunction) _wrap_TaskBarIcon_IsOk, METH_VARARGS | METH_KEYWORDS, NULL },
25445 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction) _wrap_TaskBarIcon_IsIconInstalled, METH_VARARGS | METH_KEYWORDS, NULL },
25446 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL },
25447 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction) _wrap_TaskBarIcon_RemoveIcon, METH_VARARGS | METH_KEYWORDS, NULL },
25448 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL },
25449 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS, NULL },
25450 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS, NULL },
25451 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS, NULL },
25452 { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS, NULL },
25453 { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS, NULL },
25454 { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL },
25455 { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL },
25456 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL },
25457 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL },
25458 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL },
25459 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL },
25460 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS, NULL },
25461 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25462 { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS, NULL },
25463 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS, NULL },
25464 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25465 { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS, NULL },
25466 { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL },
25467 { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
25468 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL },
25469 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL },
25470 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS, NULL },
25471 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25472 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL },
25473 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL },
25474 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS, NULL },
25475 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL },
25476 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS, NULL },
25477 { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
25478 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL },
25479 { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL },
25480 { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS, NULL },
25481 { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS, NULL },
25482 { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS, NULL },
25483 { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS, NULL },
25484 { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
25485 { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL },
25486 { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS, NULL },
25487 { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS, NULL },
25488 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS, NULL },
25489 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25490 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS, NULL },
25491 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL },
25492 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS, NULL },
25493 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25494 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25495 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25496 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25497 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS, NULL },
25498 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25499 { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
25500 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS, NULL },
25501 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS, NULL },
25502 { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS, NULL },
25503 { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS, NULL },
25504 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS, NULL },
25505 { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL },
25506 { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL },
25507 { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL },
25508 { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS, NULL },
25509 { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL },
25510 { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL },
25511 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL },
25512 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL },
25513 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL },
25514 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL },
25515 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS, NULL },
25516 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL },
25517 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS, NULL },
25518 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25519 { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS, NULL },
25520 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS, NULL },
25521 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25522 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS, NULL },
25523 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25524 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL },
25525 { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS, NULL },
25526 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL },
25527 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL },
25528 { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25529 { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS, NULL },
25530 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL },
25531 { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25532 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25533 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL },
25534 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL },
25535 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS, NULL },
25536 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL },
25537 { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL },
25538 { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS, NULL },
25539 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL },
25540 { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25541 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25542 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL },
25543 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL },
25544 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS, NULL },
25545 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25546 { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25547 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25548 { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS, NULL },
25549 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS, NULL },
25550 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS, NULL },
25551 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25552 { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25553 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25554 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS, NULL },
25555 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS, NULL },
25556 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS, NULL },
25557 { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS, NULL },
25558 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS, NULL },
25559 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25560 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
25561 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS, NULL },
25562 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS, NULL },
25563 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25564 { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25565 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25566 { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS, NULL },
25567 { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS, NULL },
25568 { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS, NULL },
25569 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS, NULL },
25570 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25571 { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25572 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25573 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS, NULL },
25574 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25575 { (char *)"new_PrePyWindow", (PyCFunction) _wrap_new_PrePyWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25576 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25577 { (char *)"PyWindow_SetBestSize", (PyCFunction) _wrap_PyWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
25578 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25579 { (char *)"PyWindow_base_DoSetSize", (PyCFunction) _wrap_PyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25580 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
25581 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
25582 { (char *)"PyWindow_base_DoGetSize", (PyCFunction) _wrap_PyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25583 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
25584 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction) _wrap_PyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
25585 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
25586 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
25587 { (char *)"PyWindow_base_InitDialog", (PyCFunction) _wrap_PyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25588 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25589 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25590 { (char *)"PyWindow_base_Validate", (PyCFunction) _wrap_PyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL },
25591 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL },
25592 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL },
25593 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction) _wrap_PyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL },
25594 { (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL },
25595 { (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL },
25596 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL },
25597 { (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL },
25598 { (char *)"PyWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25599 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL },
25600 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL },
25601 { (char *)"new_PrePyPanel", (PyCFunction) _wrap_new_PrePyPanel, METH_VARARGS | METH_KEYWORDS, NULL },
25602 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25603 { (char *)"PyPanel_SetBestSize", (PyCFunction) _wrap_PyPanel_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
25604 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction) _wrap_PyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25605 { (char *)"PyPanel_base_DoSetSize", (PyCFunction) _wrap_PyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25606 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction) _wrap_PyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
25607 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
25608 { (char *)"PyPanel_base_DoGetSize", (PyCFunction) _wrap_PyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25609 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction) _wrap_PyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
25610 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction) _wrap_PyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
25611 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
25612 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction) _wrap_PyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
25613 { (char *)"PyPanel_base_InitDialog", (PyCFunction) _wrap_PyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25614 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25615 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25616 { (char *)"PyPanel_base_Validate", (PyCFunction) _wrap_PyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL },
25617 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction) _wrap_PyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL },
25618 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL },
25619 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction) _wrap_PyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL },
25620 { (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL },
25621 { (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL },
25622 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction) _wrap_PyPanel_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL },
25623 { (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyPanel_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL },
25624 { (char *)"PyPanel_base_GetDefaultAttributes", (PyCFunction) _wrap_PyPanel_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25625 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL },
25626 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25627 { (char *)"new_PrePyScrolledWindow", (PyCFunction) _wrap_new_PrePyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25628 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25629 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction) _wrap_PyScrolledWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
25630 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25631 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25632 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
25633 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
25634 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25635 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
25636 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
25637 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
25638 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
25639 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction) _wrap_PyScrolledWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25640 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25641 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25642 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction) _wrap_PyScrolledWindow_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL },
25643 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL },
25644 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL },
25645 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction) _wrap_PyScrolledWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL },
25646 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction) _wrap_PyScrolledWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL },
25647 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction) _wrap_PyScrolledWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL },
25648 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyScrolledWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL },
25649 { (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL },
25650 { (char *)"PyScrolledWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyScrolledWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25651 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS, NULL },
25652 { (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS, NULL },
25653 { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS, NULL },
25654 { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL },
25655 { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS, NULL },
25656 { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25657 { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
25658 { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL },
25659 { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL },
25660 { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS, NULL },
25661 { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS, NULL },
25662 { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL },
25663 { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS, NULL },
25664 { (char *)"PrintData_GetBin", (PyCFunction) _wrap_PrintData_GetBin, METH_VARARGS | METH_KEYWORDS, NULL },
25665 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL },
25666 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL },
25667 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25668 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL },
25669 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL },
25670 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS, NULL },
25671 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL },
25672 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL },
25673 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS, NULL },
25674 { (char *)"PrintData_SetBin", (PyCFunction) _wrap_PrintData_SetBin, METH_VARARGS | METH_KEYWORDS, NULL },
25675 { (char *)"PrintData_GetPrinterCommand", (PyCFunction) _wrap_PrintData_GetPrinterCommand, METH_VARARGS | METH_KEYWORDS, NULL },
25676 { (char *)"PrintData_GetPrinterOptions", (PyCFunction) _wrap_PrintData_GetPrinterOptions, METH_VARARGS | METH_KEYWORDS, NULL },
25677 { (char *)"PrintData_GetPreviewCommand", (PyCFunction) _wrap_PrintData_GetPreviewCommand, METH_VARARGS | METH_KEYWORDS, NULL },
25678 { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS, NULL },
25679 { (char *)"PrintData_GetFontMetricPath", (PyCFunction) _wrap_PrintData_GetFontMetricPath, METH_VARARGS | METH_KEYWORDS, NULL },
25680 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction) _wrap_PrintData_GetPrinterScaleX, METH_VARARGS | METH_KEYWORDS, NULL },
25681 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction) _wrap_PrintData_GetPrinterScaleY, METH_VARARGS | METH_KEYWORDS, NULL },
25682 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction) _wrap_PrintData_GetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS, NULL },
25683 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction) _wrap_PrintData_GetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS, NULL },
25684 { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL },
25685 { (char *)"PrintData_SetPrinterCommand", (PyCFunction) _wrap_PrintData_SetPrinterCommand, METH_VARARGS | METH_KEYWORDS, NULL },
25686 { (char *)"PrintData_SetPrinterOptions", (PyCFunction) _wrap_PrintData_SetPrinterOptions, METH_VARARGS | METH_KEYWORDS, NULL },
25687 { (char *)"PrintData_SetPreviewCommand", (PyCFunction) _wrap_PrintData_SetPreviewCommand, METH_VARARGS | METH_KEYWORDS, NULL },
25688 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL },
25689 { (char *)"PrintData_SetFontMetricPath", (PyCFunction) _wrap_PrintData_SetFontMetricPath, METH_VARARGS | METH_KEYWORDS, NULL },
25690 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction) _wrap_PrintData_SetPrinterScaleX, METH_VARARGS | METH_KEYWORDS, NULL },
25691 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction) _wrap_PrintData_SetPrinterScaleY, METH_VARARGS | METH_KEYWORDS, NULL },
25692 { (char *)"PrintData_SetPrinterScaling", (PyCFunction) _wrap_PrintData_SetPrinterScaling, METH_VARARGS | METH_KEYWORDS, NULL },
25693 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction) _wrap_PrintData_SetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS, NULL },
25694 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction) _wrap_PrintData_SetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS, NULL },
25695 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction) _wrap_PrintData_SetPrinterTranslation, METH_VARARGS | METH_KEYWORDS, NULL },
25696 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL },
25697 { (char *)"PrintData_GetOutputStream", (PyCFunction) _wrap_PrintData_GetOutputStream, METH_VARARGS | METH_KEYWORDS, NULL },
25698 { (char *)"PrintData_SetOutputStream", (PyCFunction) _wrap_PrintData_SetOutputStream, METH_VARARGS | METH_KEYWORDS, NULL },
25699 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS, NULL },
25700 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData, METH_VARARGS, NULL },
25701 { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS, NULL },
25702 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL },
25703 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS, NULL },
25704 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25705 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS, NULL },
25706 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL },
25707 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL },
25708 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS, NULL },
25709 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25710 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS, NULL },
25711 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL },
25712 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS, NULL },
25713 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25714 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL },
25715 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL },
25716 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL },
25717 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL },
25718 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS, NULL },
25719 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL },
25720 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL },
25721 { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
25722 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25723 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL },
25724 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL },
25725 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL },
25726 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL },
25727 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL },
25728 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL },
25729 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL },
25730 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL },
25731 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS, NULL },
25732 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25733 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS, NULL },
25734 { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL },
25735 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS, NULL },
25736 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS, NULL },
25737 { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL },
25738 { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS, NULL },
25739 { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS, NULL },
25740 { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS, NULL },
25741 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL },
25742 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL },
25743 { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS, NULL },
25744 { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25745 { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS, NULL },
25746 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL },
25747 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction) _wrap_PrintDialogData_GetSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25748 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS, NULL },
25749 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS, NULL },
25750 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS, NULL },
25751 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL },
25752 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL },
25753 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS, NULL },
25754 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25755 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL },
25756 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL },
25757 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction) _wrap_PrintDialogData_SetSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25758 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL },
25759 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25760 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL },
25761 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL },
25762 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL },
25763 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25764 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL },
25765 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS, NULL },
25766 { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
25767 { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL },
25768 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL },
25769 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS, NULL },
25770 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25771 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL },
25772 { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS, NULL },
25773 { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL },
25774 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS, NULL },
25775 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS, NULL },
25776 { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS, NULL },
25777 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25778 { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL },
25779 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS, NULL },
25780 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25781 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS, NULL },
25782 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS, NULL },
25783 { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS, NULL },
25784 { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS, NULL },
25785 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS, NULL },
25786 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS, NULL },
25787 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25788 { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL },
25789 { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS, NULL },
25790 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS, NULL },
25791 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL },
25792 { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL },
25793 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL },
25794 { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL },
25795 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL },
25796 { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL },
25797 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL },
25798 { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL },
25799 { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS, NULL },
25800 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS, NULL },
25801 { (char *)"Printout_base_OnBeginDocument", (PyCFunction) _wrap_Printout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS, NULL },
25802 { (char *)"Printout_base_OnEndDocument", (PyCFunction) _wrap_Printout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS, NULL },
25803 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS, NULL },
25804 { (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS, NULL },
25805 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS, NULL },
25806 { (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS, NULL },
25807 { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25808 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS, NULL },
25809 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
25810 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS, NULL },
25811 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25812 { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS, NULL },
25813 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
25814 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
25815 { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
25816 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS, NULL },
25817 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
25818 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL },
25819 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL },
25820 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL },
25821 { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS, NULL },
25822 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS, NULL },
25823 { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS, NULL },
25824 { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS, NULL },
25825 { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS, NULL },
25826 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS, NULL },
25827 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS, NULL },
25828 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL },
25829 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL },
25830 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS, NULL },
25831 { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS, NULL },
25832 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS, NULL },
25833 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25834 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
25835 { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25836 { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
25837 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL },
25838 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL },
25839 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL },
25840 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL },
25841 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL },
25842 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL },
25843 { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS, NULL },
25844 { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL },
25845 { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS, NULL },
25846 { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
25847 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS, NULL },
25848 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL },
25849 { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS, NULL },
25850 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS, NULL },
25851 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS, NULL },
25852 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25853 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL },
25854 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction) _wrap_PyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL },
25855 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL },
25856 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction) _wrap_PyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL },
25857 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction) _wrap_PyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL },
25858 { (char *)"PyPrintPreview_base_Print", (PyCFunction) _wrap_PyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS, NULL },
25859 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS, NULL },
25860 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS, NULL },
25861 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25862 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25863 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
25864 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
25865 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction) _wrap_PyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS, NULL },
25866 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
25867 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
25868 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS, NULL },
25869 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
25870 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25871 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL },
25872 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS, NULL },
25873 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL },
25874 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS, NULL },
25875 { NULL, NULL, 0, NULL }
25876 };
25877
25878
25879 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
25880
25881 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
25882 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25883 }
25884 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
25885 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
25886 }
25887 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
25888 return (void *)((wxEvent *) ((wxMenuEvent *) x));
25889 }
25890 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
25891 return (void *)((wxEvent *) ((wxCloseEvent *) x));
25892 }
25893 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
25894 return (void *)((wxEvent *) ((wxMouseEvent *) x));
25895 }
25896 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
25897 return (void *)((wxEvent *) ((wxEraseEvent *) x));
25898 }
25899 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
25900 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
25901 }
25902 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
25903 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
25904 }
25905 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
25906 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
25907 }
25908 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
25909 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
25910 }
25911 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
25912 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
25913 }
25914 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
25915 return (void *)((wxEvent *) ((wxPyEvent *) x));
25916 }
25917 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
25918 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
25919 }
25920 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
25921 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
25922 }
25923 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
25924 return (void *)((wxEvent *) ((wxIdleEvent *) x));
25925 }
25926 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
25927 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
25928 }
25929 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
25930 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
25931 }
25932 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
25933 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
25934 }
25935 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
25936 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
25937 }
25938 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
25939 return (void *)((wxEvent *) ((wxActivateEvent *) x));
25940 }
25941 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
25942 return (void *)((wxEvent *) ((wxSizeEvent *) x));
25943 }
25944 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
25945 return (void *)((wxEvent *) ((wxMoveEvent *) x));
25946 }
25947 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
25948 return (void *)((wxEvent *) ((wxPaintEvent *) x));
25949 }
25950 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
25951 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
25952 }
25953 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
25954 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
25955 }
25956 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
25957 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
25958 }
25959 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
25960 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
25961 }
25962 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
25963 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
25964 }
25965 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
25966 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
25967 }
25968 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
25969 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
25970 }
25971 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
25972 return (void *)((wxEvent *) ((wxFocusEvent *) x));
25973 }
25974 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
25975 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
25976 }
25977 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
25978 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
25979 }
25980 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
25981 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
25982 }
25983 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
25984 return (void *)((wxEvent *) ((wxShowEvent *) x));
25985 }
25986 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
25987 return (void *)((wxEvent *) ((wxCommandEvent *) x));
25988 }
25989 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
25990 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
25991 }
25992 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
25993 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
25994 }
25995 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
25996 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
25997 }
25998 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
25999 return (void *)((wxEvent *) ((wxKeyEvent *) x));
26000 }
26001 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
26002 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
26003 }
26004 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
26005 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
26006 }
26007 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
26008 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
26009 }
26010 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
26011 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
26012 }
26013 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
26014 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
26015 }
26016 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
26017 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
26018 }
26019 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
26020 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
26021 }
26022 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
26023 return (void *)((wxEvtHandler *) ((wxValidator *) x));
26024 }
26025 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
26026 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
26027 }
26028 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
26029 return (void *)((wxEvtHandler *) ((wxMenu *) x));
26030 }
26031 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
26032 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
26033 }
26034 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
26035 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
26036 }
26037 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
26038 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
26039 }
26040 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
26041 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
26042 }
26043 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
26044 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
26045 }
26046 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
26047 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
26048 }
26049 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
26050 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
26051 }
26052 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
26053 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
26054 }
26055 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
26056 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
26057 }
26058 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
26059 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
26060 }
26061 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
26062 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
26063 }
26064 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
26065 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
26066 }
26067 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
26068 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
26069 }
26070 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
26071 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
26072 }
26073 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
26074 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
26075 }
26076 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
26077 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
26078 }
26079 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
26080 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
26081 }
26082 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
26083 return (void *)((wxEvtHandler *) ((wxWindow *) x));
26084 }
26085 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
26086 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
26087 }
26088 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
26089 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
26090 }
26091 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
26092 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
26093 }
26094 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
26095 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
26096 }
26097 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
26098 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
26099 }
26100 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
26101 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
26102 }
26103 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
26104 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
26105 }
26106 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
26107 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
26108 }
26109 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
26110 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
26111 }
26112 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
26113 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
26114 }
26115 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
26116 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
26117 }
26118 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
26119 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
26120 }
26121 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
26122 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
26123 }
26124 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
26125 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26126 }
26127 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
26128 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
26129 }
26130 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
26131 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26132 }
26133 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
26134 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
26135 }
26136 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
26137 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
26138 }
26139 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
26140 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
26141 }
26142 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
26143 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
26144 }
26145 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
26146 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
26147 }
26148 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
26149 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
26150 }
26151 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) {
26152 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
26153 }
26154 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) {
26155 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
26156 }
26157 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
26158 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
26159 }
26160 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
26161 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
26162 }
26163 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
26164 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
26165 }
26166 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
26167 return (void *)((wxFrame *) ((wxProgressDialog *) x));
26168 }
26169 static void *_p_wxTipWindowTo_p_wxFrame(void *x) {
26170 return (void *)((wxFrame *) ((wxTipWindow *) x));
26171 }
26172 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
26173 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
26174 }
26175 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
26176 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
26177 }
26178 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
26179 return (void *)((wxFrame *) ((wxMiniFrame *) x));
26180 }
26181 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
26182 return (void *)((wxFrame *) ((wxSplashScreen *) x));
26183 }
26184 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
26185 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
26186 }
26187 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
26188 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
26189 }
26190 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
26191 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
26192 }
26193 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
26194 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
26195 }
26196 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
26197 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
26198 }
26199 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
26200 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
26201 }
26202 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
26203 return (void *)((wxObject *) ((wxSizerItem *) x));
26204 }
26205 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
26206 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
26207 }
26208 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
26209 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
26210 }
26211 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
26212 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
26213 }
26214 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
26215 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
26216 }
26217 static void *_p_wxSizerTo_p_wxObject(void *x) {
26218 return (void *)((wxObject *) ((wxSizer *) x));
26219 }
26220 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
26221 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
26222 }
26223 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
26224 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
26225 }
26226 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
26227 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
26228 }
26229 static void *_p_wxEventTo_p_wxObject(void *x) {
26230 return (void *)((wxObject *) ((wxEvent *) x));
26231 }
26232 static void *_p_wxFontDataTo_p_wxObject(void *x) {
26233 return (void *)((wxObject *) ((wxFontData *) x));
26234 }
26235 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
26236 return (void *)((wxObject *) ((wxPrintData *) x));
26237 }
26238 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
26239 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
26240 }
26241 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
26242 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
26243 }
26244 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
26245 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
26246 }
26247 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
26248 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
26249 }
26250 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
26251 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
26252 }
26253 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
26254 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
26255 }
26256 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
26257 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
26258 }
26259 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
26260 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
26261 }
26262 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
26263 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
26264 }
26265 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
26266 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
26267 }
26268 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
26269 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
26270 }
26271 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
26272 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
26273 }
26274 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
26275 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
26276 }
26277 static void *_p_wxControlTo_p_wxObject(void *x) {
26278 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
26279 }
26280 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
26281 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
26282 }
26283 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
26284 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
26285 }
26286 static void *_p_wxFSFileTo_p_wxObject(void *x) {
26287 return (void *)((wxObject *) ((wxFSFile *) x));
26288 }
26289 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
26290 return (void *)((wxObject *) ((wxFindReplaceData *) x));
26291 }
26292 static void *_p_wxPySizerTo_p_wxObject(void *x) {
26293 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
26294 }
26295 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
26296 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
26297 }
26298 static void *_p_wxColourDataTo_p_wxObject(void *x) {
26299 return (void *)((wxObject *) ((wxColourData *) x));
26300 }
26301 static void *_p_wxPyEventTo_p_wxObject(void *x) {
26302 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
26303 }
26304 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
26305 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
26306 }
26307 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
26308 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
26309 }
26310 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
26311 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
26312 }
26313 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
26314 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
26315 }
26316 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
26317 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
26318 }
26319 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
26320 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
26321 }
26322 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
26323 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
26324 }
26325 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
26326 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
26327 }
26328 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
26329 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
26330 }
26331 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
26332 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
26333 }
26334 static void *_p_wxShowEventTo_p_wxObject(void *x) {
26335 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
26336 }
26337 static void *_p_wxPrinterTo_p_wxObject(void *x) {
26338 return (void *)((wxObject *) ((wxPrinter *) x));
26339 }
26340 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
26341 return (void *)((wxObject *) ((wxMenuItem *) x));
26342 }
26343 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
26344 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
26345 }
26346 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
26347 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
26348 }
26349 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
26350 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
26351 }
26352 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
26353 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
26354 }
26355 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
26356 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
26357 }
26358 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
26359 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
26360 }
26361 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
26362 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
26363 }
26364 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
26365 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
26366 }
26367 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
26368 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
26369 }
26370 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
26371 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
26372 }
26373 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
26374 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
26375 }
26376 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
26377 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
26378 }
26379 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
26380 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
26381 }
26382 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
26383 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
26384 }
26385 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
26386 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
26387 }
26388 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
26389 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
26390 }
26391 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
26392 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
26393 }
26394 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
26395 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
26396 }
26397 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
26398 return (void *)((wxObject *) ((wxImageHandler *) x));
26399 }
26400 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
26401 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
26402 }
26403 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
26404 return (void *)((wxObject *) ((wxEvtHandler *) x));
26405 }
26406 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
26407 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
26408 }
26409 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
26410 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26411 }
26412 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
26413 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
26414 }
26415 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
26416 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
26417 }
26418 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
26419 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
26420 }
26421 static void *_p_wxImageTo_p_wxObject(void *x) {
26422 return (void *)((wxObject *) ((wxImage *) x));
26423 }
26424 static void *_p_wxFrameTo_p_wxObject(void *x) {
26425 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
26426 }
26427 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
26428 return (void *)((wxObject *) ((wxPyPrintout *) x));
26429 }
26430 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
26431 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
26432 }
26433 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
26434 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
26435 }
26436 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
26437 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
26438 }
26439 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
26440 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
26441 }
26442 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
26443 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
26444 }
26445 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
26446 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
26447 }
26448 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
26449 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
26450 }
26451 static void *_p_wxWindowTo_p_wxObject(void *x) {
26452 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
26453 }
26454 static void *_p_wxMenuTo_p_wxObject(void *x) {
26455 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
26456 }
26457 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
26458 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
26459 }
26460 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
26461 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
26462 }
26463 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
26464 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
26465 }
26466 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
26467 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
26468 }
26469 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
26470 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
26471 }
26472 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
26473 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
26474 }
26475 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
26476 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
26477 }
26478 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
26479 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
26480 }
26481 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
26482 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
26483 }
26484 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
26485 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
26486 }
26487 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
26488 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
26489 }
26490 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
26491 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
26492 }
26493 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
26494 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
26495 }
26496 static void *_p_wxSashEventTo_p_wxObject(void *x) {
26497 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
26498 }
26499 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
26500 return (void *)((wxObject *) ((wxPrintPreview *) x));
26501 }
26502 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
26503 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
26504 }
26505 static void *_p_wxPanelTo_p_wxObject(void *x) {
26506 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
26507 }
26508 static void *_p_wxDialogTo_p_wxObject(void *x) {
26509 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
26510 }
26511 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
26512 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
26513 }
26514 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
26515 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
26516 }
26517 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
26518 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
26519 }
26520 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
26521 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
26522 }
26523 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
26524 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
26525 }
26526 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
26527 return (void *)((wxObject *) ((wxFileSystem *) x));
26528 }
26529 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
26530 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
26531 }
26532 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
26533 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
26534 }
26535 static void *_p_wxPyAppTo_p_wxObject(void *x) {
26536 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
26537 }
26538 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
26539 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
26540 }
26541 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
26542 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
26543 }
26544 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
26545 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
26546 }
26547 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
26548 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
26549 }
26550 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
26551 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
26552 }
26553 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
26554 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
26555 }
26556 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
26557 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26558 }
26559 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
26560 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
26561 }
26562 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
26563 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
26564 }
26565 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
26566 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
26567 }
26568 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
26569 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
26570 }
26571 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
26572 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
26573 }
26574 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
26575 return (void *)((wxObject *) ((wxPrintDialogData *) x));
26576 }
26577 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
26578 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
26579 }
26580 static void *_p_wxValidatorTo_p_wxObject(void *x) {
26581 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
26582 }
26583 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
26584 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26585 }
26586 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
26587 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
26588 }
26589 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
26590 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
26591 }
26592 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
26593 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
26594 }
26595 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
26596 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
26597 }
26598 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
26599 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
26600 }
26601 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
26602 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
26603 }
26604 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
26605 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
26606 }
26607 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
26608 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
26609 }
26610 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
26611 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
26612 }
26613 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x) {
26614 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPageSetupDialog *) x));
26615 }
26616 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x) {
26617 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPrintDialog *) x));
26618 }
26619 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
26620 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
26621 }
26622 static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x) {
26623 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxTipWindow *) x));
26624 }
26625 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
26626 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
26627 }
26628 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
26629 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
26630 }
26631 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
26632 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
26633 }
26634 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
26635 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
26636 }
26637 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
26638 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
26639 }
26640 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
26641 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
26642 }
26643 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
26644 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
26645 }
26646 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
26647 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
26648 }
26649 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
26650 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
26651 }
26652 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
26653 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
26654 }
26655 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
26656 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
26657 }
26658 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
26659 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
26660 }
26661 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
26662 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
26663 }
26664 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
26665 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
26666 }
26667 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
26668 return (void *)((wxWindow *) ((wxMenuBar *) x));
26669 }
26670 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
26671 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
26672 }
26673 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
26674 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
26675 }
26676 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
26677 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
26678 }
26679 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
26680 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
26681 }
26682 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
26683 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
26684 }
26685 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
26686 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
26687 }
26688 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
26689 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
26690 }
26691 static void *_p_wxPanelTo_p_wxWindow(void *x) {
26692 return (void *)((wxWindow *) ((wxPanel *) x));
26693 }
26694 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
26695 return (void *)((wxWindow *) ((wxStatusBar *) x));
26696 }
26697 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
26698 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
26699 }
26700 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
26701 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
26702 }
26703 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
26704 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
26705 }
26706 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
26707 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
26708 }
26709 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
26710 return (void *)((wxWindow *) ((wxPopupWindow *) x));
26711 }
26712 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
26713 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
26714 }
26715 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
26716 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
26717 }
26718 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
26719 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
26720 }
26721 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
26722 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
26723 }
26724 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
26725 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
26726 }
26727 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
26728 return (void *)((wxWindow *) ((wxSashWindow *) x));
26729 }
26730 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
26731 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
26732 }
26733 static void *_p_wxControlTo_p_wxWindow(void *x) {
26734 return (void *)((wxWindow *) ((wxControl *) x));
26735 }
26736 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
26737 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
26738 }
26739 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
26740 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
26741 }
26742 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
26743 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
26744 }
26745 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
26746 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
26747 }
26748 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
26749 return (void *)((wxWindow *) ((wxPyWindow *) x));
26750 }
26751 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
26752 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
26753 }
26754 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
26755 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
26756 }
26757 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
26758 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26759 }
26760 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
26761 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
26762 }
26763 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
26764 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26765 }
26766 static void *_p_wxFrameTo_p_wxWindow(void *x) {
26767 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
26768 }
26769 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
26770 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
26771 }
26772 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
26773 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
26774 }
26775 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
26776 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
26777 }
26778 static void *_p_wxDialogTo_p_wxWindow(void *x) {
26779 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
26780 }
26781 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) {
26782 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
26783 }
26784 static void *_p_wxPrintDialogTo_p_wxWindow(void *x) {
26785 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
26786 }
26787 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
26788 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
26789 }
26790 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
26791 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
26792 }
26793 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
26794 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
26795 }
26796 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
26797 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
26798 }
26799 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
26800 return (void *)((wxDialog *) ((wxColourDialog *) x));
26801 }
26802 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
26803 return (void *)((wxDialog *) ((wxDirDialog *) x));
26804 }
26805 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
26806 return (void *)((wxDialog *) ((wxFontDialog *) x));
26807 }
26808 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x) {
26809 return (void *)((wxDialog *) ((wxPageSetupDialog *) x));
26810 }
26811 static void *_p_wxPrintDialogTo_p_wxDialog(void *x) {
26812 return (void *)((wxDialog *) ((wxPrintDialog *) x));
26813 }
26814 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
26815 return (void *)((wxDialog *) ((wxFileDialog *) x));
26816 }
26817 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
26818 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
26819 }
26820 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
26821 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
26822 }
26823 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
26824 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
26825 }
26826 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
26827 return (void *)((wxDialog *) ((wxMessageDialog *) x));
26828 }
26829 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
26830 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
26831 }
26832 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
26833 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
26834 }
26835 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
26836 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
26837 }
26838 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
26839 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
26840 }
26841 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
26842 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26843 }
26844 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
26845 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
26846 }
26847 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
26848 return (void *)((wxPanel *) ((wxPyPanel *) x));
26849 }
26850 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
26851 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
26852 }
26853 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
26854 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
26855 }
26856 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
26857 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26858 }
26859 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
26860 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
26861 }
26862 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
26863 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
26864 }
26865 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
26866 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
26867 }
26868 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
26869 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
26870 }
26871 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
26872 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
26873 }
26874 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
26875 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
26876 }
26877 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
26878 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
26879 }
26880 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
26881 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
26882 }
26883 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
26884 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
26885 }
26886 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
26887 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
26888 }
26889 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
26890 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
26891 }
26892 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
26893 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26894 }
26895 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}};
26896 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}};
26897 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}};
26898 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}};
26899 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}};
26900 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}};
26901 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}};
26902 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}};
26903 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}};
26904 static swig_type_info _swigt__p_wxPyTaskBarIcon[] = {{"_p_wxPyTaskBarIcon", 0, "wxPyTaskBarIcon *", 0, 0, 0, 0},{"_p_wxPyTaskBarIcon", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26905 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}};
26906 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}};
26907 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}};
26908 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}};
26909 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}};
26910 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}};
26911 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}};
26912 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}};
26913 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}};
26914 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}};
26915 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}};
26916 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}};
26917 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}};
26918 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}};
26919 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}};
26920 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}};
26921 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}};
26922 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}};
26923 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}};
26924 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}};
26925 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}};
26926 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}};
26927 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}};
26928 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}};
26929 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}};
26930 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}};
26931 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}};
26932 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_wxPyTaskBarIcon", _p_wxPyTaskBarIconTo_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}};
26933 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}};
26934 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}};
26935 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}};
26936 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}};
26937 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}};
26938 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}};
26939 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}};
26940 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}};
26941 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}};
26942 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}};
26943 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}};
26944 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}};
26945 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}};
26946 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_wxPyTaskBarIcon", _p_wxPyTaskBarIconTo_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}};
26947 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}};
26948 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}};
26949 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}};
26950 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}};
26951 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}};
26952 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}};
26953 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}};
26954 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}};
26955 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}};
26956 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}};
26957 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}};
26958 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}};
26959 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}};
26960 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}};
26961 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}};
26962 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}};
26963 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}};
26964 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}};
26965 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}};
26966 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}};
26967 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}};
26968 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}};
26969 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}};
26970 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}};
26971 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}};
26972 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}};
26973 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}};
26974 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}};
26975 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}};
26976 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}};
26977 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}};
26978 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}};
26979 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}};
26980 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}};
26981 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}};
26982
26983 static swig_type_info *swig_types_initial[] = {
26984 _swigt__p_wxQueryLayoutInfoEvent,
26985 _swigt__p_wxPreviewFrame,
26986 _swigt__p_wxPyPreviewFrame,
26987 _swigt__p_wxPyPanel,
26988 _swigt__p_wxMenu,
26989 _swigt__p_wxFontData,
26990 _swigt__p_wxEvent,
26991 _swigt__p_wxPrintData,
26992 _swigt__p_wxTaskBarIcon,
26993 _swigt__p_wxPyTaskBarIcon,
26994 _swigt__p_wxIconBundle,
26995 _swigt__p_wxLayoutAlgorithm,
26996 _swigt__p_wxFindDialogEvent,
26997 _swigt__p_wxPreviewCanvas,
26998 _swigt__p_wxFont,
26999 _swigt__p_wxSplitterEvent,
27000 _swigt__p_wxRegion,
27001 _swigt__p_wxFindReplaceData,
27002 _swigt__p_int,
27003 _swigt__p_wxSize,
27004 _swigt__p_wxDC,
27005 _swigt__p_wxIcon,
27006 _swigt__p_wxVisualAttributes,
27007 _swigt__p_wxMDIChildFrame,
27008 _swigt__p_wxColourData,
27009 _swigt__p_wxNotifyEvent,
27010 _swigt__p_wxPyWindow,
27011 _swigt__p_wxSplashScreen,
27012 _swigt__p_wxFindReplaceDialog,
27013 _swigt__p_wxProgressDialog,
27014 _swigt__p_wxMessageDialog,
27015 _swigt__p_wxTextEntryDialog,
27016 _swigt__p_wxSingleChoiceDialog,
27017 _swigt__p_wxMultiChoiceDialog,
27018 _swigt__p_wxFileDialog,
27019 _swigt__p_wxPrinter,
27020 _swigt__p_wxArrayInt,
27021 _swigt__p_wxEvtHandler,
27022 _swigt__p_wxCalculateLayoutEvent,
27023 _swigt__p_wxPyHtmlListBox,
27024 _swigt__p_wxPyVListBox,
27025 _swigt__p_wxRect,
27026 _swigt__p_char,
27027 _swigt__p_wxMiniFrame,
27028 _swigt__p_wxFrame,
27029 _swigt__p_wxPyPrintout,
27030 _swigt__p_wxTaskBarIconEvent,
27031 _swigt__p_wxScrollWinEvent,
27032 _swigt__p_wxStatusBar,
27033 _swigt__p_wxMDIParentFrame,
27034 _swigt__p_wxPoint,
27035 _swigt__p_wxObject,
27036 _swigt__p_wxOutputStream,
27037 _swigt__p_wxMDIClientWindow,
27038 _swigt__p_wxTipWindow,
27039 _swigt__p_wxPyPopupTransientWindow,
27040 _swigt__p_wxSashLayoutWindow,
27041 _swigt__p_wxSplitterWindow,
27042 _swigt__p_wxSplashScreenWindow,
27043 _swigt__p_wxPyVScrolledWindow,
27044 _swigt__p_wxPopupWindow,
27045 _swigt__p_wxSashWindow,
27046 _swigt__p_wxTopLevelWindow,
27047 _swigt__p_wxWindow,
27048 _swigt__p_wxScrolledWindow,
27049 _swigt__p_wxMenuBar,
27050 _swigt__p_wxPyScrolledWindow,
27051 _swigt__p_wxPrintPreview,
27052 _swigt__p_wxSashEvent,
27053 _swigt__p_wxString,
27054 _swigt__p_wxPyPrintPreview,
27055 _swigt__p_wxFontDialog,
27056 _swigt__p_wxDirDialog,
27057 _swigt__p_wxColourDialog,
27058 _swigt__p_wxDialog,
27059 _swigt__p_wxPanel,
27060 _swigt__p_wxPageSetupDialog,
27061 _swigt__p_wxPrintDialog,
27062 _swigt__p_wxFileSystem,
27063 _swigt__p_wxBitmap,
27064 _swigt__p_wxCommandEvent,
27065 _swigt__p_wxPreviewControlBar,
27066 _swigt__p_wxPyPreviewControlBar,
27067 _swigt__p_wxColour,
27068 _swigt__p_wxToolBar,
27069 _swigt__p_wxPageSetupDialogData,
27070 _swigt__p_wxPrintDialogData,
27071 0
27072 };
27073
27074
27075 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
27076
27077 static swig_const_info swig_const_table[] = {
27078 {0, 0, 0, 0.0, 0, 0}};
27079
27080 #ifdef __cplusplus
27081 }
27082 #endif
27083
27084 #ifdef __cplusplus
27085 extern "C"
27086 #endif
27087 SWIGEXPORT(void) SWIG_init(void) {
27088 static PyObject *SWIG_globals = 0;
27089 static int typeinit = 0;
27090 PyObject *m, *d;
27091 int i;
27092 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
27093 m = Py_InitModule((char *) SWIG_name, SwigMethods);
27094 d = PyModule_GetDict(m);
27095
27096 if (!typeinit) {
27097 for (i = 0; swig_types_initial[i]; i++) {
27098 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
27099 }
27100 typeinit = 1;
27101 }
27102 SWIG_InstallConstants(d,swig_const_table);
27103
27104 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
27105 SWIG_addvarlink(SWIG_globals,(char*)"FrameNameStr",_wrap_FrameNameStr_get, _wrap_FrameNameStr_set);
27106 SWIG_addvarlink(SWIG_globals,(char*)"DialogNameStr",_wrap_DialogNameStr_get, _wrap_DialogNameStr_set);
27107 SWIG_addvarlink(SWIG_globals,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get, _wrap_StatusLineNameStr_set);
27108 SWIG_addvarlink(SWIG_globals,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get, _wrap_ToolBarNameStr_set);
27109 PyDict_SetItemString(d,"STAY_ON_TOP", SWIG_From_int((int)wxSTAY_ON_TOP));
27110 PyDict_SetItemString(d,"ICONIZE", SWIG_From_int((int)wxICONIZE));
27111 PyDict_SetItemString(d,"MINIMIZE", SWIG_From_int((int)wxMINIMIZE));
27112 PyDict_SetItemString(d,"MAXIMIZE", SWIG_From_int((int)wxMAXIMIZE));
27113 PyDict_SetItemString(d,"CLOSE_BOX", SWIG_From_int((int)wxCLOSE_BOX));
27114 PyDict_SetItemString(d,"THICK_FRAME", SWIG_From_int((int)wxTHICK_FRAME));
27115 PyDict_SetItemString(d,"SYSTEM_MENU", SWIG_From_int((int)wxSYSTEM_MENU));
27116 PyDict_SetItemString(d,"MINIMIZE_BOX", SWIG_From_int((int)wxMINIMIZE_BOX));
27117 PyDict_SetItemString(d,"MAXIMIZE_BOX", SWIG_From_int((int)wxMAXIMIZE_BOX));
27118 PyDict_SetItemString(d,"TINY_CAPTION_HORIZ", SWIG_From_int((int)wxTINY_CAPTION_HORIZ));
27119 PyDict_SetItemString(d,"TINY_CAPTION_VERT", SWIG_From_int((int)wxTINY_CAPTION_VERT));
27120 PyDict_SetItemString(d,"RESIZE_BOX", SWIG_From_int((int)wxRESIZE_BOX));
27121 PyDict_SetItemString(d,"RESIZE_BORDER", SWIG_From_int((int)wxRESIZE_BORDER));
27122 PyDict_SetItemString(d,"DIALOG_NO_PARENT", SWIG_From_int((int)wxDIALOG_NO_PARENT));
27123 PyDict_SetItemString(d,"DEFAULT_FRAME_STYLE", SWIG_From_int((int)wxDEFAULT_FRAME_STYLE));
27124 PyDict_SetItemString(d,"DEFAULT_DIALOG_STYLE", SWIG_From_int((int)wxDEFAULT_DIALOG_STYLE));
27125 PyDict_SetItemString(d,"FRAME_TOOL_WINDOW", SWIG_From_int((int)wxFRAME_TOOL_WINDOW));
27126 PyDict_SetItemString(d,"FRAME_FLOAT_ON_PARENT", SWIG_From_int((int)wxFRAME_FLOAT_ON_PARENT));
27127 PyDict_SetItemString(d,"FRAME_NO_WINDOW_MENU", SWIG_From_int((int)wxFRAME_NO_WINDOW_MENU));
27128 PyDict_SetItemString(d,"FRAME_NO_TASKBAR", SWIG_From_int((int)wxFRAME_NO_TASKBAR));
27129 PyDict_SetItemString(d,"FRAME_SHAPED", SWIG_From_int((int)wxFRAME_SHAPED));
27130 PyDict_SetItemString(d,"FRAME_DRAWER", SWIG_From_int((int)wxFRAME_DRAWER));
27131 PyDict_SetItemString(d,"DIALOG_MODAL", SWIG_From_int((int)wxDIALOG_MODAL));
27132 PyDict_SetItemString(d,"DIALOG_MODELESS", SWIG_From_int((int)wxDIALOG_MODELESS));
27133 PyDict_SetItemString(d,"USER_COLOURS", SWIG_From_int((int)wxUSER_COLOURS));
27134 PyDict_SetItemString(d,"NO_3D", SWIG_From_int((int)wxNO_3D));
27135 PyDict_SetItemString(d,"FULLSCREEN_NOMENUBAR", SWIG_From_int((int)wxFULLSCREEN_NOMENUBAR));
27136 PyDict_SetItemString(d,"FULLSCREEN_NOTOOLBAR", SWIG_From_int((int)wxFULLSCREEN_NOTOOLBAR));
27137 PyDict_SetItemString(d,"FULLSCREEN_NOSTATUSBAR", SWIG_From_int((int)wxFULLSCREEN_NOSTATUSBAR));
27138 PyDict_SetItemString(d,"FULLSCREEN_NOBORDER", SWIG_From_int((int)wxFULLSCREEN_NOBORDER));
27139 PyDict_SetItemString(d,"FULLSCREEN_NOCAPTION", SWIG_From_int((int)wxFULLSCREEN_NOCAPTION));
27140 PyDict_SetItemString(d,"FULLSCREEN_ALL", SWIG_From_int((int)wxFULLSCREEN_ALL));
27141 PyDict_SetItemString(d,"TOPLEVEL_EX_DIALOG", SWIG_From_int((int)wxTOPLEVEL_EX_DIALOG));
27142 PyDict_SetItemString(d,"USER_ATTENTION_INFO", SWIG_From_int((int)wxUSER_ATTENTION_INFO));
27143 PyDict_SetItemString(d,"USER_ATTENTION_ERROR", SWIG_From_int((int)wxUSER_ATTENTION_ERROR));
27144 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_PARENT", SWIG_From_int((int)wxSPLASH_CENTRE_ON_PARENT));
27145 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_SCREEN", SWIG_From_int((int)wxSPLASH_CENTRE_ON_SCREEN));
27146 PyDict_SetItemString(d,"SPLASH_NO_CENTRE", SWIG_From_int((int)wxSPLASH_NO_CENTRE));
27147 PyDict_SetItemString(d,"SPLASH_TIMEOUT", SWIG_From_int((int)wxSPLASH_TIMEOUT));
27148 PyDict_SetItemString(d,"SPLASH_NO_TIMEOUT", SWIG_From_int((int)wxSPLASH_NO_TIMEOUT));
27149 PyDict_SetItemString(d,"SB_NORMAL", SWIG_From_int((int)wxSB_NORMAL));
27150 PyDict_SetItemString(d,"SB_FLAT", SWIG_From_int((int)wxSB_FLAT));
27151 PyDict_SetItemString(d,"SB_RAISED", SWIG_From_int((int)wxSB_RAISED));
27152 SWIG_addvarlink(SWIG_globals,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get, _wrap_SplitterNameStr_set);
27153 PyDict_SetItemString(d,"SP_NOBORDER", SWIG_From_int((int)wxSP_NOBORDER));
27154 PyDict_SetItemString(d,"SP_NOSASH", SWIG_From_int((int)wxSP_NOSASH));
27155 PyDict_SetItemString(d,"SP_PERMIT_UNSPLIT", SWIG_From_int((int)wxSP_PERMIT_UNSPLIT));
27156 PyDict_SetItemString(d,"SP_LIVE_UPDATE", SWIG_From_int((int)wxSP_LIVE_UPDATE));
27157 PyDict_SetItemString(d,"SP_3DSASH", SWIG_From_int((int)wxSP_3DSASH));
27158 PyDict_SetItemString(d,"SP_3DBORDER", SWIG_From_int((int)wxSP_3DBORDER));
27159 PyDict_SetItemString(d,"SP_NO_XP_THEME", SWIG_From_int((int)wxSP_NO_XP_THEME));
27160 PyDict_SetItemString(d,"SP_BORDER", SWIG_From_int((int)wxSP_BORDER));
27161 PyDict_SetItemString(d,"SP_3D", SWIG_From_int((int)wxSP_3D));
27162 PyDict_SetItemString(d,"SPLIT_HORIZONTAL", SWIG_From_int((int)wxSPLIT_HORIZONTAL));
27163 PyDict_SetItemString(d,"SPLIT_VERTICAL", SWIG_From_int((int)wxSPLIT_VERTICAL));
27164 PyDict_SetItemString(d,"SPLIT_DRAG_NONE", SWIG_From_int((int)wxSPLIT_DRAG_NONE));
27165 PyDict_SetItemString(d,"SPLIT_DRAG_DRAGGING", SWIG_From_int((int)wxSPLIT_DRAG_DRAGGING));
27166 PyDict_SetItemString(d,"SPLIT_DRAG_LEFT_DOWN", SWIG_From_int((int)wxSPLIT_DRAG_LEFT_DOWN));
27167 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
27168 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
27169 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
27170 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
27171 SWIG_addvarlink(SWIG_globals,(char*)"SashNameStr",_wrap_SashNameStr_get, _wrap_SashNameStr_set);
27172 SWIG_addvarlink(SWIG_globals,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get, _wrap_SashLayoutNameStr_set);
27173 PyDict_SetItemString(d,"SASH_DRAG_NONE", SWIG_From_int((int)wxSASH_DRAG_NONE));
27174 PyDict_SetItemString(d,"SASH_DRAG_DRAGGING", SWIG_From_int((int)wxSASH_DRAG_DRAGGING));
27175 PyDict_SetItemString(d,"SASH_DRAG_LEFT_DOWN", SWIG_From_int((int)wxSASH_DRAG_LEFT_DOWN));
27176 PyDict_SetItemString(d,"SW_NOBORDER", SWIG_From_int((int)wxSW_NOBORDER));
27177 PyDict_SetItemString(d,"SW_BORDER", SWIG_From_int((int)wxSW_BORDER));
27178 PyDict_SetItemString(d,"SW_3DSASH", SWIG_From_int((int)wxSW_3DSASH));
27179 PyDict_SetItemString(d,"SW_3DBORDER", SWIG_From_int((int)wxSW_3DBORDER));
27180 PyDict_SetItemString(d,"SW_3D", SWIG_From_int((int)wxSW_3D));
27181 PyDict_SetItemString(d,"SASH_TOP", SWIG_From_int((int)wxSASH_TOP));
27182 PyDict_SetItemString(d,"SASH_RIGHT", SWIG_From_int((int)wxSASH_RIGHT));
27183 PyDict_SetItemString(d,"SASH_BOTTOM", SWIG_From_int((int)wxSASH_BOTTOM));
27184 PyDict_SetItemString(d,"SASH_LEFT", SWIG_From_int((int)wxSASH_LEFT));
27185 PyDict_SetItemString(d,"SASH_NONE", SWIG_From_int((int)wxSASH_NONE));
27186 PyDict_SetItemString(d,"SASH_STATUS_OK", SWIG_From_int((int)wxSASH_STATUS_OK));
27187 PyDict_SetItemString(d,"SASH_STATUS_OUT_OF_RANGE", SWIG_From_int((int)wxSASH_STATUS_OUT_OF_RANGE));
27188 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
27189 PyDict_SetItemString(d,"LAYOUT_HORIZONTAL", SWIG_From_int((int)wxLAYOUT_HORIZONTAL));
27190 PyDict_SetItemString(d,"LAYOUT_VERTICAL", SWIG_From_int((int)wxLAYOUT_VERTICAL));
27191 PyDict_SetItemString(d,"LAYOUT_NONE", SWIG_From_int((int)wxLAYOUT_NONE));
27192 PyDict_SetItemString(d,"LAYOUT_TOP", SWIG_From_int((int)wxLAYOUT_TOP));
27193 PyDict_SetItemString(d,"LAYOUT_LEFT", SWIG_From_int((int)wxLAYOUT_LEFT));
27194 PyDict_SetItemString(d,"LAYOUT_RIGHT", SWIG_From_int((int)wxLAYOUT_RIGHT));
27195 PyDict_SetItemString(d,"LAYOUT_BOTTOM", SWIG_From_int((int)wxLAYOUT_BOTTOM));
27196 PyDict_SetItemString(d,"LAYOUT_LENGTH_Y", SWIG_From_int((int)wxLAYOUT_LENGTH_Y));
27197 PyDict_SetItemString(d,"LAYOUT_LENGTH_X", SWIG_From_int((int)wxLAYOUT_LENGTH_X));
27198 PyDict_SetItemString(d,"LAYOUT_MRU_LENGTH", SWIG_From_int((int)wxLAYOUT_MRU_LENGTH));
27199 PyDict_SetItemString(d,"LAYOUT_QUERY", SWIG_From_int((int)wxLAYOUT_QUERY));
27200 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
27201 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
27202 SWIG_addvarlink(SWIG_globals,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get, _wrap_VListBoxNameStr_set);
27203
27204 // Map renamed classes back to their common name for OOR
27205 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
27206 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
27207 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
27208
27209 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
27210 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
27211 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
27212 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
27213 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
27214 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
27215 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
27216 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
27217 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
27218 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get, _wrap_DirDialogNameStr_set);
27219 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
27220 SWIG_addvarlink(SWIG_globals,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get, _wrap_GetTextFromUserPromptStr_set);
27221 SWIG_addvarlink(SWIG_globals,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get, _wrap_MessageBoxCaptionStr_set);
27222 PyDict_SetItemString(d,"CHOICEDLG_STYLE", SWIG_From_int((int)wxCHOICEDLG_STYLE));
27223 PyDict_SetItemString(d,"FR_DOWN", SWIG_From_int((int)wxFR_DOWN));
27224 PyDict_SetItemString(d,"FR_WHOLEWORD", SWIG_From_int((int)wxFR_WHOLEWORD));
27225 PyDict_SetItemString(d,"FR_MATCHCASE", SWIG_From_int((int)wxFR_MATCHCASE));
27226 PyDict_SetItemString(d,"FR_REPLACEDIALOG", SWIG_From_int((int)wxFR_REPLACEDIALOG));
27227 PyDict_SetItemString(d,"FR_NOUPDOWN", SWIG_From_int((int)wxFR_NOUPDOWN));
27228 PyDict_SetItemString(d,"FR_NOMATCHCASE", SWIG_From_int((int)wxFR_NOMATCHCASE));
27229 PyDict_SetItemString(d,"FR_NOWHOLEWORD", SWIG_From_int((int)wxFR_NOWHOLEWORD));
27230 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
27231 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
27232 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
27233 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
27234 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
27235 PyDict_SetItemString(d,"IDM_WINDOWTILE", SWIG_From_int((int)4001));
27236 PyDict_SetItemString(d,"IDM_WINDOWTILEHOR", SWIG_From_int((int)4001));
27237 PyDict_SetItemString(d,"IDM_WINDOWCASCADE", SWIG_From_int((int)4002));
27238 PyDict_SetItemString(d,"IDM_WINDOWICONS", SWIG_From_int((int)4003));
27239 PyDict_SetItemString(d,"IDM_WINDOWNEXT", SWIG_From_int((int)4004));
27240 PyDict_SetItemString(d,"IDM_WINDOWTILEVERT", SWIG_From_int((int)4005));
27241 PyDict_SetItemString(d,"FIRST_MDI_CHILD", SWIG_From_int((int)4100));
27242 PyDict_SetItemString(d,"LAST_MDI_CHILD", SWIG_From_int((int)4600));
27243 SWIG_addvarlink(SWIG_globals,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get, _wrap_PrintoutTitleStr_set);
27244 SWIG_addvarlink(SWIG_globals,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get, _wrap_PreviewCanvasNameStr_set);
27245 PyDict_SetItemString(d,"PRINT_MODE_NONE", SWIG_From_int((int)wxPRINT_MODE_NONE));
27246 PyDict_SetItemString(d,"PRINT_MODE_PREVIEW", SWIG_From_int((int)wxPRINT_MODE_PREVIEW));
27247 PyDict_SetItemString(d,"PRINT_MODE_FILE", SWIG_From_int((int)wxPRINT_MODE_FILE));
27248 PyDict_SetItemString(d,"PRINT_MODE_PRINTER", SWIG_From_int((int)wxPRINT_MODE_PRINTER));
27249 PyDict_SetItemString(d,"PRINT_MODE_STREAM", SWIG_From_int((int)wxPRINT_MODE_STREAM));
27250 PyDict_SetItemString(d,"PRINTBIN_DEFAULT", SWIG_From_int((int)wxPRINTBIN_DEFAULT));
27251 PyDict_SetItemString(d,"PRINTBIN_ONLYONE", SWIG_From_int((int)wxPRINTBIN_ONLYONE));
27252 PyDict_SetItemString(d,"PRINTBIN_LOWER", SWIG_From_int((int)wxPRINTBIN_LOWER));
27253 PyDict_SetItemString(d,"PRINTBIN_MIDDLE", SWIG_From_int((int)wxPRINTBIN_MIDDLE));
27254 PyDict_SetItemString(d,"PRINTBIN_MANUAL", SWIG_From_int((int)wxPRINTBIN_MANUAL));
27255 PyDict_SetItemString(d,"PRINTBIN_ENVELOPE", SWIG_From_int((int)wxPRINTBIN_ENVELOPE));
27256 PyDict_SetItemString(d,"PRINTBIN_ENVMANUAL", SWIG_From_int((int)wxPRINTBIN_ENVMANUAL));
27257 PyDict_SetItemString(d,"PRINTBIN_AUTO", SWIG_From_int((int)wxPRINTBIN_AUTO));
27258 PyDict_SetItemString(d,"PRINTBIN_TRACTOR", SWIG_From_int((int)wxPRINTBIN_TRACTOR));
27259 PyDict_SetItemString(d,"PRINTBIN_SMALLFMT", SWIG_From_int((int)wxPRINTBIN_SMALLFMT));
27260 PyDict_SetItemString(d,"PRINTBIN_LARGEFMT", SWIG_From_int((int)wxPRINTBIN_LARGEFMT));
27261 PyDict_SetItemString(d,"PRINTBIN_LARGECAPACITY", SWIG_From_int((int)wxPRINTBIN_LARGECAPACITY));
27262 PyDict_SetItemString(d,"PRINTBIN_CASSETTE", SWIG_From_int((int)wxPRINTBIN_CASSETTE));
27263 PyDict_SetItemString(d,"PRINTBIN_FORMSOURCE", SWIG_From_int((int)wxPRINTBIN_FORMSOURCE));
27264 PyDict_SetItemString(d,"PRINTBIN_USER", SWIG_From_int((int)wxPRINTBIN_USER));
27265 PyDict_SetItemString(d,"PRINTER_NO_ERROR", SWIG_From_int((int)wxPRINTER_NO_ERROR));
27266 PyDict_SetItemString(d,"PRINTER_CANCELLED", SWIG_From_int((int)wxPRINTER_CANCELLED));
27267 PyDict_SetItemString(d,"PRINTER_ERROR", SWIG_From_int((int)wxPRINTER_ERROR));
27268 PyDict_SetItemString(d,"PREVIEW_PRINT", SWIG_From_int((int)wxPREVIEW_PRINT));
27269 PyDict_SetItemString(d,"PREVIEW_PREVIOUS", SWIG_From_int((int)wxPREVIEW_PREVIOUS));
27270 PyDict_SetItemString(d,"PREVIEW_NEXT", SWIG_From_int((int)wxPREVIEW_NEXT));
27271 PyDict_SetItemString(d,"PREVIEW_ZOOM", SWIG_From_int((int)wxPREVIEW_ZOOM));
27272 PyDict_SetItemString(d,"PREVIEW_FIRST", SWIG_From_int((int)wxPREVIEW_FIRST));
27273 PyDict_SetItemString(d,"PREVIEW_LAST", SWIG_From_int((int)wxPREVIEW_LAST));
27274 PyDict_SetItemString(d,"PREVIEW_GOTO", SWIG_From_int((int)wxPREVIEW_GOTO));
27275 PyDict_SetItemString(d,"PREVIEW_DEFAULT", SWIG_From_int((int)wxPREVIEW_DEFAULT));
27276 PyDict_SetItemString(d,"ID_PREVIEW_CLOSE", SWIG_From_int((int)wxID_PREVIEW_CLOSE));
27277 PyDict_SetItemString(d,"ID_PREVIEW_NEXT", SWIG_From_int((int)wxID_PREVIEW_NEXT));
27278 PyDict_SetItemString(d,"ID_PREVIEW_PREVIOUS", SWIG_From_int((int)wxID_PREVIEW_PREVIOUS));
27279 PyDict_SetItemString(d,"ID_PREVIEW_PRINT", SWIG_From_int((int)wxID_PREVIEW_PRINT));
27280 PyDict_SetItemString(d,"ID_PREVIEW_ZOOM", SWIG_From_int((int)wxID_PREVIEW_ZOOM));
27281 PyDict_SetItemString(d,"ID_PREVIEW_FIRST", SWIG_From_int((int)wxID_PREVIEW_FIRST));
27282 PyDict_SetItemString(d,"ID_PREVIEW_LAST", SWIG_From_int((int)wxID_PREVIEW_LAST));
27283 PyDict_SetItemString(d,"ID_PREVIEW_GOTO", SWIG_From_int((int)wxID_PREVIEW_GOTO));
27284
27285 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
27286
27287 }
27288