]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/_windows_wrap.cpp
fix some comp errors on DMC
[wxWidgets.git] / wxPython / src / gtk / _windows_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.22
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12 #define SWIG_NOINCLUDE
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30
31 #include "Python.h"
32
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
35 *
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
38 *
39 ************************************************************************/
40
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypePrettyName SWIG_Python_TypePrettyName
47 #define SWIG_TypeQuery SWIG_Python_TypeQuery
48 #define SWIG_TypeClientData SWIG_Python_TypeClientData
49 #define SWIG_PackData SWIG_Python_PackData
50 #define SWIG_UnpackData SWIG_Python_UnpackData
51
52
53 /***********************************************************************
54 * common.swg for wxPython
55 *
56 * Include only the function prototypes and such from SWIG's common.swg,
57 * but not the runtime functions themselves. This helps keep the
58 * wrapper files clean of unnecessary stuff that is in the libpy.c file
59 * anyway.
60 *
61 ************************************************************************/
62
63 #include <string.h>
64
65 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
66 # if defined(_MSC_VER) || defined(__GNUC__)
67 # if defined(STATIC_LINKED)
68 # define SWIGEXPORT(a) a
69 # define SWIGIMPORT(a) extern a
70 # else
71 # define SWIGEXPORT(a) __declspec(dllexport) a
72 # define SWIGIMPORT(a) extern a
73 # endif
74 # else
75 # if defined(__BORLANDC__)
76 # define SWIGEXPORT(a) a _export
77 # define SWIGIMPORT(a) a _export
78 # else
79 # define SWIGEXPORT(a) a
80 # define SWIGIMPORT(a) a
81 # endif
82 # endif
83 #else
84 # define SWIGEXPORT(a) a
85 # define SWIGIMPORT(a) a
86 #endif
87
88 #ifdef SWIG_GLOBAL
89 # define SWIGRUNTIME(a) SWIGEXPORT(a)
90 #else
91 # define SWIGRUNTIME(a) static a
92 #endif
93
94 #ifdef __cplusplus
95 extern "C" {
96 #endif
97
98 typedef void *(*swig_converter_func)(void *);
99 typedef struct swig_type_info *(*swig_dycast_func)(void **);
100
101 typedef struct swig_type_info {
102 const char *name;
103 swig_converter_func converter;
104 const char *str;
105 void *clientdata;
106 swig_dycast_func dcast;
107 struct swig_type_info *next;
108 struct swig_type_info *prev;
109 } swig_type_info;
110
111
112 SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
113 SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
114 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
115 SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
116 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
117 SWIGIMPORT(const char *) SWIG_TypePrettyName(const swig_type_info *);
118 SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
119 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
120 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
121 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
122
123
124 #ifdef __cplusplus
125 }
126 #endif
127
128
129 /***********************************************************************
130 * pyrun.swg for wxPython
131 *
132 * Include only the function prototypes and such from SWIG's pyrun.swg,
133 * but not the runtime functions themselves. This helps keep the
134 * wrapper files clean of unnecessary stuff that is in the libpy.c file
135 * anyway.
136 *
137 ************************************************************************/
138
139 #ifdef __cplusplus
140 extern "C" {
141 #endif
142
143 #define SWIG_PY_INT 1
144 #define SWIG_PY_FLOAT 2
145 #define SWIG_PY_STRING 3
146 #define SWIG_PY_POINTER 4
147 #define SWIG_PY_BINARY 5
148
149 /* Flags for pointer conversion */
150
151 #define SWIG_POINTER_EXCEPTION 0x1
152 #define SWIG_POINTER_DISOWN 0x2
153
154 /* Exception handling in wrappers */
155 #define SWIG_fail goto fail
156
157 /* Constant information structure */
158 typedef struct swig_const_info {
159 int type;
160 char *name;
161 long lvalue;
162 double dvalue;
163 void *pvalue;
164 swig_type_info **ptype;
165 } swig_const_info;
166
167 /* Common SWIG API */
168 #define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170 #define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172 #define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174
175 /* Python-specific SWIG API */
176 #define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
182 #define SWIG_NewPackedObj(ptr, sz, type) \
183 SWIG_Python_NewPackedObj(ptr, sz, type)
184 #define SWIG_InstallConstants(d, constants) \
185 SWIG_Python_InstallConstants(d, constants)
186
187 typedef double (*py_objasdbl_conv)(PyObject *obj);
188
189 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
190 SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
191 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
192 SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
193 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
194 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
195 SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
196 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
197
198
199 /* Contract support */
200
201 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
202
203 #ifdef __cplusplus
204 }
205 #endif
206
207
208
209 /* -------- TYPES TABLE (BEGIN) -------- */
210
211 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[0]
212 #define SWIGTYPE_p_wxPreviewFrame swig_types[1]
213 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[2]
214 #define SWIGTYPE_p_wxPrintDialogBase swig_types[3]
215 #define SWIGTYPE_p_wxPrintFactory swig_types[4]
216 #define SWIGTYPE_p_wxPyPanel swig_types[5]
217 #define SWIGTYPE_p_wxMenu swig_types[6]
218 #define SWIGTYPE_p_wxFontData swig_types[7]
219 #define SWIGTYPE_p_wxEvent swig_types[8]
220 #define SWIGTYPE_p_wxPrintData swig_types[9]
221 #define SWIGTYPE_p_wxTaskBarIcon swig_types[10]
222 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[11]
223 #define SWIGTYPE_p_wxIconBundle swig_types[12]
224 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[13]
225 #define SWIGTYPE_p_wxFindDialogEvent swig_types[14]
226 #define SWIGTYPE_p_wxPreviewCanvas swig_types[15]
227 #define SWIGTYPE_p_wxFont swig_types[16]
228 #define SWIGTYPE_p_wxSplitterEvent swig_types[17]
229 #define SWIGTYPE_p_wxRegion swig_types[18]
230 #define SWIGTYPE_p_wxFindReplaceData swig_types[19]
231 #define SWIGTYPE_p_int swig_types[20]
232 #define SWIGTYPE_p_wxSize swig_types[21]
233 #define SWIGTYPE_p_wxDC swig_types[22]
234 #define SWIGTYPE_p_wxIcon swig_types[23]
235 #define SWIGTYPE_p_wxVisualAttributes swig_types[24]
236 #define SWIGTYPE_p_wxMDIChildFrame swig_types[25]
237 #define SWIGTYPE_p_wxColourData swig_types[26]
238 #define SWIGTYPE_p_wxNotifyEvent swig_types[27]
239 #define SWIGTYPE_p_wxPyWindow swig_types[28]
240 #define SWIGTYPE_p_wxSplashScreen swig_types[29]
241 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[30]
242 #define SWIGTYPE_p_wxProgressDialog swig_types[31]
243 #define SWIGTYPE_p_wxMessageDialog swig_types[32]
244 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[33]
245 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[34]
246 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[35]
247 #define SWIGTYPE_p_wxFileDialog swig_types[36]
248 #define SWIGTYPE_p_wxTextEntryDialog swig_types[37]
249 #define SWIGTYPE_p_wxPrinter swig_types[38]
250 #define SWIGTYPE_p_wxArrayInt swig_types[39]
251 #define SWIGTYPE_p_wxEvtHandler swig_types[40]
252 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[41]
253 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[42]
254 #define SWIGTYPE_p_wxPyVListBox swig_types[43]
255 #define SWIGTYPE_p_wxRect swig_types[44]
256 #define SWIGTYPE_p_char swig_types[45]
257 #define SWIGTYPE_p_wxMiniFrame swig_types[46]
258 #define SWIGTYPE_p_wxFrame swig_types[47]
259 #define SWIGTYPE_p_wxPrintout swig_types[48]
260 #define SWIGTYPE_p_wxPyPrintout swig_types[49]
261 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[50]
262 #define SWIGTYPE_p_wxScrollWinEvent swig_types[51]
263 #define SWIGTYPE_p_wxStatusBar swig_types[52]
264 #define SWIGTYPE_p_wxMDIParentFrame swig_types[53]
265 #define SWIGTYPE_p_wxPoint swig_types[54]
266 #define SWIGTYPE_p_wxPrintPreviewBase swig_types[55]
267 #define SWIGTYPE_p_wxObject swig_types[56]
268 #define SWIGTYPE_p_wxMDIClientWindow swig_types[57]
269 #define SWIGTYPE_p_wxTipWindow swig_types[58]
270 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[59]
271 #define SWIGTYPE_p_wxSplitterWindow swig_types[60]
272 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[61]
273 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[62]
274 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[63]
275 #define SWIGTYPE_p_wxPopupWindow swig_types[64]
276 #define SWIGTYPE_p_wxSashWindow swig_types[65]
277 #define SWIGTYPE_p_wxTopLevelWindow swig_types[66]
278 #define SWIGTYPE_p_wxWindow swig_types[67]
279 #define SWIGTYPE_p_wxScrolledWindow swig_types[68]
280 #define SWIGTYPE_p_wxMenuBar swig_types[69]
281 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[70]
282 #define SWIGTYPE_p_wxPrintPreview swig_types[71]
283 #define SWIGTYPE_p_wxSashEvent swig_types[72]
284 #define SWIGTYPE_p_wxString swig_types[73]
285 #define SWIGTYPE_p_wxPyPrintPreview swig_types[74]
286 #define SWIGTYPE_p_wxFontDialog swig_types[75]
287 #define SWIGTYPE_p_wxDirDialog swig_types[76]
288 #define SWIGTYPE_p_wxColourDialog swig_types[77]
289 #define SWIGTYPE_p_wxDialog swig_types[78]
290 #define SWIGTYPE_p_wxPanel swig_types[79]
291 #define SWIGTYPE_p_wxPageSetupDialog swig_types[80]
292 #define SWIGTYPE_p_wxPrintDialog swig_types[81]
293 #define SWIGTYPE_p_wxFileSystem swig_types[82]
294 #define SWIGTYPE_p_wxPrinterBase swig_types[83]
295 #define SWIGTYPE_p_wxBitmap swig_types[84]
296 #define SWIGTYPE_p_wxCommandEvent swig_types[85]
297 #define SWIGTYPE_p_wxPreviewControlBar swig_types[86]
298 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[87]
299 #define SWIGTYPE_p_wxPrintNativeDataBase swig_types[88]
300 #define SWIGTYPE_p_wxColour swig_types[89]
301 #define SWIGTYPE_p_wxToolBar swig_types[90]
302 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[91]
303 #define SWIGTYPE_p_wxPrintDialogData swig_types[92]
304 static swig_type_info *swig_types[94];
305
306 /* -------- TYPES TABLE (END) -------- */
307
308
309 /*-----------------------------------------------
310 @(target):= _windows_.so
311 ------------------------------------------------*/
312 #define SWIG_init init_windows_
313
314 #define SWIG_name "_windows_"
315
316 /* Auxiliar swig macros that appear in the header */
317
318 #define SWIG_OLDOBJ 1
319 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
320 #define SWIG_PYSTR SWIG_NEWOBJ + 1
321
322 #ifdef __cplusplus
323 #define SWIGSTATICINLINE(a) static inline a
324 #define SWIGSTATIC(a) static a
325 #define swig_new_array(size,Type) (new Type[(size)])
326 #define swig_delete(cptr) delete cptr
327 #define swig_delete_array(cptr) delete[] cptr
328 #define swig_const_cast(a,Type) const_cast<Type >(a)
329 #define swig_static_cast(a,Type) static_cast<Type >(a)
330 #define swig_reinterpret_cast(a,Type) reinterpret_cast<Type >(a)
331 #define swig_new_copy(ptr,Type) (new Type(*ptr))
332 #define swig_numeric_cast(a,Type) static_cast<Type >(a)
333
334 #else /* C case */
335
336 #define SWIGSTATICINLINE(a) static a
337 #define SWIGSTATIC(a) static a
338 #define swig_new_array(size,Type) ((Type*) malloc((size)*sizeof(Type)))
339 #define swig_delete(cptr) free((char*)cptr)
340 #define swig_delete_array(cptr) free((char*)cptr)
341 #define swig_const_cast(a,Type) (Type)(a)
342 #define swig_static_cast(a,Type) (Type)(a)
343 #define swig_reinterpret_cast(a,Type) (Type)(a)
344 #define swig_numeric_cast(a,Type) (Type)(a)
345 #define swig_new_copy(ptr,Type) ((Type*)memcpy(malloc(sizeof(Type)),ptr,sizeof(Type)))
346
347 #endif /* __cplusplus */
348
349
350 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
351 #define SWIG_From_signed_SS_char PyInt_FromLong
352 /*@@*/
353 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
354 #define SWIG_From_unsigned_SS_char PyInt_FromLong
355 /*@@*/
356 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
357 #define SWIG_From_short PyInt_FromLong
358 /*@@*/
359 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
360 #define SWIG_From_unsigned_SS_short PyInt_FromLong
361 /*@@*/
362 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
363 #define SWIG_From_int PyInt_FromLong
364 /*@@*/
365 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
366 #define SWIG_From_long PyInt_FromLong
367 /*@@*/
368 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
369 #define SWIG_From_float PyFloat_FromDouble
370 /*@@*/
371 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
372 #define SWIG_From_double PyFloat_FromDouble
373 /*@@*/
374
375
376 #include "wx/wxPython/wxPython.h"
377 #include "wx/wxPython/pyclasses.h"
378
379
380 static const wxString wxPyEmptyString(wxEmptyString);
381 static const wxString wxPyPanelNameStr(wxPanelNameStr);
382
383
384
385 #include <limits.h>
386
387
388 SWIGSTATICINLINE(int)
389 SWIG_CheckLongInRange(long value, long min_value, long max_value,
390 const char *errmsg)
391 {
392 if (value < min_value) {
393 if (errmsg) {
394 PyErr_Format(PyExc_OverflowError,
395 "value %ld is less than '%s' minimum %ld",
396 value, errmsg, min_value);
397 }
398 return 0;
399 } else if (value > max_value) {
400 if (errmsg) {
401 PyErr_Format(PyExc_OverflowError,
402 "value %ld is greater than '%s' maximum %ld",
403 value, errmsg, max_value);
404 }
405 return 0;
406 }
407 return 1;
408 }
409
410
411 // See my_fragments.i
412 SWIGSTATICINLINE(int)
413 SWIG_AsVal_long(PyObject* obj, long* val)
414 {
415 if (PyNumber_Check(obj)) {
416 if (val) *val = PyInt_AsLong(obj);
417 return 1;
418 }
419 else {
420 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
421 obj->ob_type->tp_name);
422 PyErr_SetObject(PyExc_TypeError, errmsg);
423 Py_DECREF(errmsg);
424 }
425 return 0;
426 }
427
428
429 #if INT_MAX != LONG_MAX
430 SWIGSTATICINLINE(int)
431 SWIG_AsVal_int(PyObject *obj, int *val)
432 {
433 const char* errmsg = val ? "int" : 0;
434 long v;
435 if (SWIG_AsVal_long(obj, &v)) {
436 if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) {
437 if (val) *val = swig_numeric_cast(v, int);
438 return 1;
439 } else {
440 return 0;
441 }
442 } else {
443 PyErr_Clear();
444 }
445 if (val) {
446 PyErr_SetString(PyExc_TypeError, "an int is expected");
447 }
448 return 0;
449 }
450 #else
451 SWIGSTATICINLINE(int)
452 SWIG_AsVal_int(PyObject *obj, int *val)
453 {
454 return SWIG_AsVal_long(obj,(long*)val);
455 }
456 #endif
457
458
459 SWIGSTATICINLINE(int)
460 SWIG_As_int(PyObject* obj)
461 {
462 int v;
463 if (!SWIG_AsVal_int(obj, &v)) {
464 /*
465 this is needed to make valgrind/purify happier. the other
466 solution is throw an exception, but since this code should work
467 with plain C ....
468 */
469 memset((void*)&v, 0, sizeof(int));
470 }
471 return v;
472 }
473
474
475 SWIGSTATICINLINE(long)
476 SWIG_As_long(PyObject* obj)
477 {
478 long v;
479 if (!SWIG_AsVal_long(obj, &v)) {
480 /*
481 this is needed to make valgrind/purify happier. the other
482 solution is throw an exception, but since this code should work
483 with plain C ....
484 */
485 memset((void*)&v, 0, sizeof(long));
486 }
487 return v;
488 }
489
490
491 SWIGSTATICINLINE(int)
492 SWIG_Check_int(PyObject* obj)
493 {
494 return SWIG_AsVal_int(obj, (int*)0);
495 }
496
497
498 SWIGSTATICINLINE(int)
499 SWIG_Check_long(PyObject* obj)
500 {
501 return SWIG_AsVal_long(obj, (long*)0);
502 }
503
504
505 SWIGSTATICINLINE(int)
506 SWIG_AsVal_bool(PyObject *obj, bool *val)
507 {
508 /* if (val) *val = PyObject_IsTrue(obj); return 1; */
509 if (obj == Py_True) {
510 if (val) *val = true;
511 return 1;
512 }
513 if (obj == Py_False) {
514 if (val) *val = false;
515 return 1;
516 }
517 int res = 0;
518 if (SWIG_AsVal_int(obj, &res)) {
519 if (val) *val = (bool)res;
520 return 1;
521 }
522 if (val) {
523 PyErr_SetString(PyExc_TypeError, "a bool is expected");
524 }
525 return 0;
526 }
527
528
529 SWIGSTATICINLINE(bool)
530 SWIG_As_bool(PyObject* obj)
531 {
532 bool v;
533 if (!SWIG_AsVal_bool(obj, &v)) {
534 /*
535 this is needed to make valgrind/purify happier. the other
536 solution is throw an exception, but since this code should work
537 with plain C ....
538 */
539 memset((void*)&v, 0, sizeof(bool));
540 }
541 return v;
542 }
543
544
545 SWIGSTATICINLINE(int)
546 SWIG_Check_bool(PyObject* obj)
547 {
548 return SWIG_AsVal_bool(obj, (bool*)0);
549 }
550
551
552 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
553 PyObject* o2;
554 PyObject* o3;
555
556 if (!target) {
557 target = o;
558 } else if (target == Py_None) {
559 Py_DECREF(Py_None);
560 target = o;
561 } else {
562 if (!PyTuple_Check(target)) {
563 o2 = target;
564 target = PyTuple_New(1);
565 PyTuple_SetItem(target, 0, o2);
566 }
567 o3 = PyTuple_New(1);
568 PyTuple_SetItem(o3, 0, o);
569
570 o2 = target;
571 target = PySequence_Concat(o2, o3);
572 Py_DECREF(o2);
573 Py_DECREF(o3);
574 }
575 return target;
576 }
577
578
579
580 // See my_fragments.i
581 SWIGSTATICINLINE(int)
582 SWIG_AsVal_double(PyObject *obj, double* val)
583 {
584 if (PyNumber_Check(obj)) {
585 if (val) *val = PyFloat_AsDouble(obj);
586 return 1;
587 }
588 else {
589 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
590 obj->ob_type->tp_name);
591 PyErr_SetObject(PyExc_TypeError, errmsg);
592 Py_DECREF(errmsg);
593 }
594 return 0;
595 }
596
597
598 SWIGSTATICINLINE(double)
599 SWIG_As_double(PyObject* obj)
600 {
601 double v;
602 if (!SWIG_AsVal_double(obj, &v)) {
603 /*
604 this is needed to make valgrind/purify happier. the other
605 solution is throw an exception, but since this code should work
606 with plain C ....
607 */
608 memset((void*)&v, 0, sizeof(double));
609 }
610 return v;
611 }
612
613
614 SWIGSTATICINLINE(int)
615 SWIG_Check_double(PyObject* obj)
616 {
617 return SWIG_AsVal_double(obj, (double*)0);
618 }
619
620 static const wxString wxPyFrameNameStr(wxFrameNameStr);
621 static const wxString wxPyDialogNameStr(wxDialogNameStr);
622 static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr);
623 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
624 void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow *self,bool on){ /*wxPyRaiseNotImplemented();*/ }
625 bool wxTopLevelWindow_MacGetMetalAppearance(wxTopLevelWindow const *self){ /*wxPyRaiseNotImplemented();*/ return false; }
626
627
628 wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
629 wxRect r;
630 self->GetFieldRect(i, r);
631 return r;
632 }
633 static const wxString wxPySplitterNameStr(wxT("splitter"));
634 static const wxString wxPySashNameStr(wxT("sashWindow"));
635 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
636
637 #include <wx/popupwin.h>
638
639
640 class wxPyPopupTransientWindow : public wxPopupTransientWindow
641 {
642 public:
643 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
644 wxPyPopupTransientWindow(wxWindow* parent, int style = wxBORDER_NONE)
645 : wxPopupTransientWindow(parent, style) {}
646
647 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown);
648 DEC_PYCALLBACK__(OnDismiss);
649 DEC_PYCALLBACK_BOOL_(CanDismiss);
650 PYPRIVATE;
651 };
652
653
654 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow, wxPopupTransientWindow, ProcessLeftDown);
655 IMP_PYCALLBACK__(wxPyPopupTransientWindow, wxPopupTransientWindow, OnDismiss);
656 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow, wxPopupTransientWindow, CanDismiss);
657
658
659 #include <wx/tipwin.h>
660
661 wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength,wxRect *rectBound){
662 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
663 }
664
665 #include <wx/tipwin.h>
666
667
668 #include <wx/vscroll.h>
669
670
671 class wxPyVScrolledWindow : public wxVScrolledWindow
672 {
673 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow);
674 public:
675 wxPyVScrolledWindow() : wxVScrolledWindow() {}
676
677 wxPyVScrolledWindow(wxWindow *parent,
678 wxWindowID id = wxID_ANY,
679 const wxPoint& pos = wxDefaultPosition,
680 const wxSize& size = wxDefaultSize,
681 long style = 0,
682 const wxString& name = wxPyPanelNameStr)
683 : wxVScrolledWindow(parent, id, pos, size, style, name)
684 {}
685
686 // Overridable virtuals
687
688 // this function must be overridden in the derived class and it should
689 // return the height of the given line in pixels
690 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
691
692
693 // this function doesn't have to be overridden but it may be useful to do
694 // it if calculating the lines heights is a relatively expensive operation
695 // as it gives the user code a possibility to calculate several of them at
696 // once
697 //
698 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
699 // shouldn't rely on the latter being called for all lines in the interval
700 // specified here. It is also possible that OnGetLineHeight() will be
701 // called for the lines outside of this interval, so this is really just a
702 // hint, not a promise.
703 //
704 // finally note that lineMin is inclusive, while lineMax is exclusive, as
705 // usual
706 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
707
708
709 // when the number of lines changes, we try to estimate the total height
710 // of all lines which is a rather expensive operation in terms of lines
711 // access, so if the user code may estimate the average height
712 // better/faster than we do, it should override this function to implement
713 // its own logic
714 //
715 // this function should return the best guess for the total height it may
716 // make
717 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
718
719
720 // Also expose some other interesting protected methods
721
722
723 // find the index of the line we need to show at the top of the window such
724 // that the last (fully or partially) visible line is the given one
725 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = false)
726 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
727
728 // get the total height of the lines between lineMin (inclusive) and
729 // lineMax (exclusive)
730 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
731 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
732
733
734 PYPRIVATE;
735 };
736
737 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
738
739 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
740 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
741 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
742
743
744 // See my_fragments.i
745 SWIGSTATICINLINE(int)
746 SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val)
747 {
748 long v = 0;
749 if (SWIG_AsVal_long(obj, &v) && v < 0) {
750 PyErr_SetString(PyExc_TypeError, "negative value received for unsigned type");
751 return 0;
752 }
753 else if (val)
754 *val = (unsigned long)v;
755 return 1;
756 }
757
758
759 SWIGSTATICINLINE(unsigned long)
760 SWIG_As_unsigned_SS_long(PyObject* obj)
761 {
762 unsigned long v;
763 if (!SWIG_AsVal_unsigned_SS_long(obj, &v)) {
764 /*
765 this is needed to make valgrind/purify happier. the other
766 solution is throw an exception, but since this code should work
767 with plain C ....
768 */
769 memset((void*)&v, 0, sizeof(unsigned long));
770 }
771 return v;
772 }
773
774
775 SWIGSTATICINLINE(int)
776 SWIG_Check_unsigned_SS_long(PyObject* obj)
777 {
778 return SWIG_AsVal_unsigned_SS_long(obj, (unsigned long*)0);
779 }
780
781
782 SWIGSTATICINLINE(PyObject* )
783 SWIG_From_unsigned_SS_long(unsigned long value)
784 {
785 return (value > LONG_MAX) ?
786 PyLong_FromUnsignedLong(value)
787 : PyInt_FromLong(swig_numeric_cast(value,long));
788 }
789
790
791 #include <wx/vlbox.h>
792
793 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
794
795 class wxPyVListBox : public wxVListBox
796 {
797 DECLARE_ABSTRACT_CLASS(wxPyVListBox);
798 public:
799 wxPyVListBox() : wxVListBox() {}
800
801 wxPyVListBox(wxWindow *parent,
802 wxWindowID id = wxID_ANY,
803 const wxPoint& pos = wxDefaultPosition,
804 const wxSize& size = wxDefaultSize,
805 long style = 0,
806 const wxString& name = wxPyVListBoxNameStr)
807 : wxVListBox(parent, id, pos, size, style, name)
808 {}
809
810 // Overridable virtuals
811
812 // the derived class must implement this function to actually draw the item
813 // with the given index on the provided DC
814 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
815 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
816
817
818 // the derived class must implement this method to return the height of the
819 // specified item
820 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
821 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
822
823
824 // this method may be used to draw separators between the lines; note that
825 // the rectangle may be modified, typically to deflate it a bit before
826 // passing to OnDrawItem()
827 //
828 // the base class version doesn't do anything
829 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
830 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator);
831
832
833 // this method is used to draw the items background and, maybe, a border
834 // around it
835 //
836 // the base class version implements a reasonable default behaviour which
837 // consists in drawing the selected item with the standard background
838 // colour and drawing a border around the item if it is either selected or
839 // current
840 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
841 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
842
843
844 PYPRIVATE;
845 };
846
847 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
848
849 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
850 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
851 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawSeparator);
852 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
853
854
855 PyObject *wxPyVListBox_GetFirstSelected(wxPyVListBox *self){
856 unsigned long cookie = 0;
857 int selected = self->GetFirstSelected(cookie);
858 bool blocked = wxPyBeginBlockThreads();
859 PyObject* tup = PyTuple_New(2);
860 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
861 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
862 wxPyEndBlockThreads(blocked);
863 return tup;
864 }
865 PyObject *wxPyVListBox_GetNextSelected(wxPyVListBox *self,unsigned long cookie){
866 int selected = self->GetNextSelected(cookie);
867 bool blocked = wxPyBeginBlockThreads();
868 PyObject* tup = PyTuple_New(2);
869 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
870 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
871 wxPyEndBlockThreads(blocked);
872 return tup;
873 }
874
875 #include <wx/htmllbox.h>
876
877
878 class wxPyHtmlListBox : public wxHtmlListBox
879 {
880 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox);
881 public:
882 wxPyHtmlListBox() : wxHtmlListBox() {}
883
884 wxPyHtmlListBox(wxWindow *parent,
885 wxWindowID id = wxID_ANY,
886 const wxPoint& pos = wxDefaultPosition,
887 const wxSize& size = wxDefaultSize,
888 long style = 0,
889 const wxString& name = wxPyVListBoxNameStr)
890 : wxHtmlListBox(parent, id, pos, size, style, name)
891 {}
892
893 // Overridable virtuals
894
895 // this method must be implemented in the derived class and should return
896 // the body (i.e. without <html>) of the HTML for the given item
897 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
898
899 // this function may be overridden to decorate HTML returned by OnGetItem()
900 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
901
902 // TODO:
903 // // this method allows to customize the selection appearance: it may be used
904 // // to specify the colour of the text which normally has the given colour
905 // // colFg when it is inside the selection
906 // //
907 // // by default, the original colour is not used at all and all text has the
908 // // same (default for this system) colour inside selection
909 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
910
911 // // this is the same as GetSelectedTextColour() but allows to customize the
912 // // background colour -- this is even more rarely used as you can change it
913 // // globally using SetSelectionBackground()
914 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
915
916
917 PYPRIVATE;
918 };
919
920
921 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
922
923 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
924 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
925
926
927
928
929
930 #ifndef wxHAS_TASK_BAR_ICON
931 // implement dummy classes for platforms that don't have it
932
933 class wxTaskBarIcon : public wxEvtHandler
934 {
935 public:
936 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
937 };
938
939
940 class wxTaskBarIconEvent : public wxEvent
941 {
942 public:
943 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
944 { wxPyRaiseNotImplemented(); }
945 virtual wxEvent* Clone() const { return NULL; }
946 bool IsOk() const { return false; }
947 bool IsIconInstalled() const { return false; }
948 bool SetIcon(const wxIcon& icon, const wxString& tooltip = wxPyEmptyString) { return false; }
949 bool RemoveIcon() { return false; }
950 bool PopupMenu(wxMenu *menu) { return false; }
951 };
952
953 enum {
954 wxEVT_TASKBAR_MOVE = 0,
955 wxEVT_TASKBAR_LEFT_DOWN = 0,
956 wxEVT_TASKBAR_LEFT_UP = 0,
957 wxEVT_TASKBAR_RIGHT_DOWN = 0,
958 wxEVT_TASKBAR_RIGHT_UP = 0,
959 wxEVT_TASKBAR_LEFT_DCLICK = 0,
960 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
961 };
962
963
964 #else
965 // Otherwise make a class that can virtualize CreatePopupMenu
966 class wxPyTaskBarIcon : public wxTaskBarIcon
967 {
968 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon);
969 public:
970 wxPyTaskBarIcon() : wxTaskBarIcon()
971 {}
972
973 wxMenu* CreatePopupMenu() {
974 wxMenu *rval = NULL;
975 bool found;
976 bool blocked = wxPyBeginBlockThreads();
977 if ((found = wxPyCBH_findCallback(m_myInst, "CreatePopupMenu"))) {
978 PyObject* ro;
979 wxMenu* ptr;
980 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
981 if (ro) {
982 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxMenu")))
983 rval = ptr;
984 Py_DECREF(ro);
985 }
986 }
987 wxPyEndBlockThreads(blocked);
988 if (! found)
989 rval = wxTaskBarIcon::CreatePopupMenu();
990 return rval;
991 }
992
993 PYPRIVATE;
994 };
995
996 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon);
997
998 #endif
999
1000 void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon *self){
1001 self->RemoveIcon();
1002 delete self;
1003 }
1004 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
1005 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
1006 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
1007 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
1008 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
1009 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
1010 PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
1011 wxArrayString arr;
1012 self->GetFilenames(arr);
1013 return wxArrayString2PyList_helper(arr);
1014 }
1015 PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
1016 wxArrayString arr;
1017 self->GetPaths(arr);
1018 return wxArrayString2PyList_helper(arr);
1019 }
1020 PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
1021 return wxArrayInt2PyList_helper(self->GetSelections());
1022 }
1023 wxSingleChoiceDialog *new_wxSingleChoiceDialog(wxWindow *parent,wxString const &message,wxString const &caption,int choices,wxString *choices_array,long style,wxPoint const &pos){
1024 return new wxSingleChoiceDialog(parent, message, caption,
1025 choices, choices_array, NULL, style, pos);
1026 }
1027 static const wxString wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr);
1028
1029 #include <wx/mdi.h>
1030
1031 // C++ version of Python aware wxWindow
1032 class wxPyWindow : public wxWindow
1033 {
1034 DECLARE_DYNAMIC_CLASS(wxPyWindow)
1035 public:
1036 wxPyWindow() : wxWindow() {}
1037 wxPyWindow(wxWindow* parent, const wxWindowID id,
1038 const wxPoint& pos = wxDefaultPosition,
1039 const wxSize& size = wxDefaultSize,
1040 long style = 0,
1041 const wxString& name = wxPyPanelNameStr)
1042 : wxWindow(parent, id, pos, size, style, name) {}
1043
1044 void SetBestSize(const wxSize& size) { wxWindow::SetBestSize(size); }
1045
1046 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
1047 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
1048 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
1049 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
1050
1051 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
1052 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
1053 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
1054
1055 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
1056 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
1057
1058 DEC_PYCALLBACK__(InitDialog);
1059 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
1060 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
1061 DEC_PYCALLBACK_BOOL_(Validate);
1062
1063 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
1064 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
1065 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
1066
1067 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
1068 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
1069
1070 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
1071 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
1072 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
1073
1074 PYPRIVATE;
1075 };
1076
1077 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
1078
1079 IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
1080 IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
1081 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
1082 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
1083
1084 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
1085 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
1086 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
1087
1088 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
1089 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
1090
1091 IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
1092 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
1093 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
1094 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
1095
1096 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
1097 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
1098 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
1099
1100 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
1101 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
1102
1103 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, ShouldInheritColours);
1104 IMP_PYCALLBACK__COLOUR(wxPyWindow, wxWindow, ApplyParentThemeBackground);
1105 IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes);
1106
1107
1108 // C++ version of Python aware wxPanel
1109 class wxPyPanel : public wxPanel
1110 {
1111 DECLARE_DYNAMIC_CLASS(wxPyPanel)
1112 public:
1113 wxPyPanel() : wxPanel() {}
1114 wxPyPanel(wxWindow* parent, const wxWindowID id,
1115 const wxPoint& pos = wxDefaultPosition,
1116 const wxSize& size = wxDefaultSize,
1117 long style = 0,
1118 const wxString& name = wxPyPanelNameStr)
1119 : wxPanel(parent, id, pos, size, style, name) {}
1120
1121 void SetBestSize(const wxSize& size) { wxPanel::SetBestSize(size); }
1122
1123
1124 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
1125 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
1126 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
1127 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
1128
1129 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
1130 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
1131 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
1132
1133 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
1134 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
1135
1136 DEC_PYCALLBACK__(InitDialog);
1137 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
1138 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
1139 DEC_PYCALLBACK_BOOL_(Validate);
1140
1141 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
1142 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
1143 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
1144
1145 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
1146 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
1147
1148 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
1149 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
1150 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
1151
1152 PYPRIVATE;
1153 };
1154
1155 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
1156
1157 IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
1158 IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
1159 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
1160 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
1161
1162 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
1163 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
1164 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
1165
1166 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
1167 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
1168
1169 IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
1170 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
1171 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
1172 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
1173
1174 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
1175 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
1176 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
1177
1178 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
1179 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
1180
1181 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours);
1182 IMP_PYCALLBACK__COLOUR(wxPyPanel, wxPanel, ApplyParentThemeBackground);
1183 IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes);
1184
1185
1186 // C++ version of Python aware wxScrolledWindow
1187 class wxPyScrolledWindow : public wxScrolledWindow
1188 {
1189 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow)
1190 public:
1191 wxPyScrolledWindow() : wxScrolledWindow() {}
1192 wxPyScrolledWindow(wxWindow* parent, const wxWindowID id,
1193 const wxPoint& pos = wxDefaultPosition,
1194 const wxSize& size = wxDefaultSize,
1195 long style = 0,
1196 const wxString& name = wxPyPanelNameStr)
1197 : wxScrolledWindow(parent, id, pos, size, style, name) {}
1198
1199 void SetBestSize(const wxSize& size) { wxScrolledWindow::SetBestSize(size); }
1200
1201 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
1202 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
1203 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
1204 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
1205
1206 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
1207 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
1208 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
1209
1210 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
1211 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
1212
1213 DEC_PYCALLBACK__(InitDialog);
1214 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
1215 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
1216 DEC_PYCALLBACK_BOOL_(Validate);
1217
1218 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
1219 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
1220 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
1221
1222 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
1223 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
1224
1225 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
1226 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
1227 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
1228
1229 PYPRIVATE;
1230 };
1231
1232 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow);
1233
1234 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow);
1235 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize);
1236 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize);
1237 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize);
1238
1239 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize);
1240 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize);
1241 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition);
1242
1243 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize);
1244 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize);
1245
1246 IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog);
1247 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow);
1248 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow);
1249 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate);
1250
1251 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus);
1252 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard);
1253 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize);
1254
1255 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild);
1256 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
1257
1258 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
1259 IMP_PYCALLBACK__COLOUR(wxPyScrolledWindow, wxScrolledWindow, ApplyParentThemeBackground);
1260 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes);
1261
1262
1263
1264 #include "wx/wxPython/printfw.h"
1265
1266
1267 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
1268 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
1269
1270
1271
1272 // Since this one would be tough and ugly to do with the Macros...
1273 void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
1274 bool hadErr = false;
1275 bool found;
1276
1277 bool blocked = wxPyBeginBlockThreads();
1278 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
1279 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
1280 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
1281 PyObject* val;
1282
1283 val = PyTuple_GetItem(result, 0);
1284 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
1285 else hadErr = true;
1286
1287 val = PyTuple_GetItem(result, 1);
1288 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
1289 else hadErr = true;
1290
1291 val = PyTuple_GetItem(result, 2);
1292 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
1293 else hadErr = true;
1294
1295 val = PyTuple_GetItem(result, 3);
1296 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
1297 else hadErr = true;
1298 }
1299 else
1300 hadErr = true;
1301
1302 if (hadErr) {
1303 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
1304 PyErr_Print();
1305 }
1306 Py_DECREF(result);
1307 }
1308 wxPyEndBlockThreads(blocked);
1309 if (! found)
1310 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
1311 }
1312
1313 void wxPyPrintout::base_GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
1314 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
1315 }
1316
1317
1318 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
1319 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
1320 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
1321 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
1322 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
1323 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
1324 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
1325
1326
1327
1328
1329
1330 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
1331 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
1332 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
1333
1334
1335 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
1336 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1337 bool rval=false; \
1338 bool found; \
1339 bool blocked = wxPyBeginBlockThreads(); \
1340 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1341 PyObject* win = wxPyMake_wxObject(a,false); \
1342 PyObject* dc = wxPyMake_wxObject(&b,false); \
1343 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
1344 Py_DECREF(win); \
1345 Py_DECREF(dc); \
1346 } \
1347 wxPyEndBlockThreads(blocked); \
1348 if (! found) \
1349 rval = PCLASS::CBNAME(a, b); \
1350 return rval; \
1351 } \
1352 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1353 return PCLASS::CBNAME(a, b); \
1354 }
1355
1356
1357
1358
1359 class wxPyPrintPreview : public wxPrintPreview
1360 {
1361 DECLARE_CLASS(wxPyPrintPreview)
1362 public:
1363 wxPyPrintPreview(wxPyPrintout* printout,
1364 wxPyPrintout* printoutForPrinting,
1365 wxPrintDialogData* data=NULL)
1366 : wxPrintPreview(printout, printoutForPrinting, data)
1367 {}
1368 wxPyPrintPreview(wxPyPrintout* printout,
1369 wxPyPrintout* printoutForPrinting,
1370 wxPrintData* data=NULL)
1371 : wxPrintPreview(printout, printoutForPrinting, data)
1372 {}
1373
1374 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
1375 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
1376 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
1377 DEC_PYCALLBACK_BOOL_INT(RenderPage);
1378 DEC_PYCALLBACK_VOID_INT(SetZoom);
1379 DEC_PYCALLBACK_BOOL_BOOL(Print);
1380 DEC_PYCALLBACK_VOID_(DetermineScaling);
1381
1382 PYPRIVATE;
1383 };
1384
1385 // Stupid renamed classes... Fix this in 2.5...
1386 #if defined(__WXMSW__)
1387 IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
1388 #elif defined(__WXMAC__)
1389 IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
1390 #else
1391 IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
1392 #endif
1393
1394 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
1395 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
1396 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
1397 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
1398 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
1399 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
1400 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
1401
1402
1403 class wxPyPreviewFrame : public wxPreviewFrame
1404 {
1405 DECLARE_CLASS(wxPyPreviewFrame);
1406 public:
1407 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
1408 const wxString& title,
1409 const wxPoint& pos = wxDefaultPosition,
1410 const wxSize& size = wxDefaultSize,
1411 long style = wxDEFAULT_FRAME_STYLE,
1412 const wxString& name = wxPyFrameNameStr)
1413 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
1414 {}
1415
1416 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
1417 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
1418
1419 DEC_PYCALLBACK_VOID_(Initialize);
1420 DEC_PYCALLBACK_VOID_(CreateCanvas);
1421 DEC_PYCALLBACK_VOID_(CreateControlBar);
1422
1423 PYPRIVATE;
1424 };
1425
1426 IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
1427
1428 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
1429 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
1430 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
1431
1432
1433 class wxPyPreviewControlBar : public wxPreviewControlBar
1434 {
1435 DECLARE_CLASS(wxPyPreviewControlBar);
1436 public:
1437 wxPyPreviewControlBar(wxPrintPreview *preview,
1438 long buttons,
1439 wxWindow *parent,
1440 const wxPoint& pos = wxDefaultPosition,
1441 const wxSize& size = wxDefaultSize,
1442 long style = 0,
1443 const wxString& name = wxPyPanelNameStr)
1444 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
1445 {}
1446
1447 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
1448
1449 DEC_PYCALLBACK_VOID_(CreateButtons);
1450 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
1451
1452 PYPRIVATE;
1453 };
1454
1455 IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
1456 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
1457 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
1458
1459 #ifdef __cplusplus
1460 extern "C" {
1461 #endif
1462 static PyObject *_wrap_new_Panel(PyObject *, PyObject *args, PyObject *kwargs) {
1463 PyObject *resultobj;
1464 wxWindow *arg1 = (wxWindow *) 0 ;
1465 int arg2 = (int) (int)-1 ;
1466 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1467 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1468 wxSize const &arg4_defvalue = wxDefaultSize ;
1469 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1470 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1471 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1472 wxString *arg6 = (wxString *) &arg6_defvalue ;
1473 wxPanel *result;
1474 wxPoint temp3 ;
1475 wxSize temp4 ;
1476 bool temp6 = false ;
1477 PyObject * obj0 = 0 ;
1478 PyObject * obj1 = 0 ;
1479 PyObject * obj2 = 0 ;
1480 PyObject * obj3 = 0 ;
1481 PyObject * obj4 = 0 ;
1482 PyObject * obj5 = 0 ;
1483 char *kwnames[] = {
1484 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1485 };
1486
1487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
1488 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1489 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1490 if (obj1) {
1491 arg2 = (int)SWIG_As_int(obj1);
1492 if (PyErr_Occurred()) SWIG_fail;
1493 }
1494 if (obj2) {
1495 {
1496 arg3 = &temp3;
1497 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1498 }
1499 }
1500 if (obj3) {
1501 {
1502 arg4 = &temp4;
1503 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1504 }
1505 }
1506 if (obj4) {
1507 arg5 = (long)SWIG_As_long(obj4);
1508 if (PyErr_Occurred()) SWIG_fail;
1509 }
1510 if (obj5) {
1511 {
1512 arg6 = wxString_in_helper(obj5);
1513 if (arg6 == NULL) SWIG_fail;
1514 temp6 = true;
1515 }
1516 }
1517 {
1518 if (!wxPyCheckForApp()) SWIG_fail;
1519 PyThreadState* __tstate = wxPyBeginAllowThreads();
1520 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1521
1522 wxPyEndAllowThreads(__tstate);
1523 if (PyErr_Occurred()) SWIG_fail;
1524 }
1525 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
1526 {
1527 if (temp6)
1528 delete arg6;
1529 }
1530 return resultobj;
1531 fail:
1532 {
1533 if (temp6)
1534 delete arg6;
1535 }
1536 return NULL;
1537 }
1538
1539
1540 static PyObject *_wrap_new_PrePanel(PyObject *, PyObject *args, PyObject *kwargs) {
1541 PyObject *resultobj;
1542 wxPanel *result;
1543 char *kwnames[] = {
1544 NULL
1545 };
1546
1547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePanel",kwnames)) goto fail;
1548 {
1549 if (!wxPyCheckForApp()) SWIG_fail;
1550 PyThreadState* __tstate = wxPyBeginAllowThreads();
1551 result = (wxPanel *)new wxPanel();
1552
1553 wxPyEndAllowThreads(__tstate);
1554 if (PyErr_Occurred()) SWIG_fail;
1555 }
1556 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
1557 return resultobj;
1558 fail:
1559 return NULL;
1560 }
1561
1562
1563 static PyObject *_wrap_Panel_Create(PyObject *, PyObject *args, PyObject *kwargs) {
1564 PyObject *resultobj;
1565 wxPanel *arg1 = (wxPanel *) 0 ;
1566 wxWindow *arg2 = (wxWindow *) 0 ;
1567 int arg3 = (int) (int)-1 ;
1568 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1569 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1570 wxSize const &arg5_defvalue = wxDefaultSize ;
1571 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1572 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1573 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1574 wxString *arg7 = (wxString *) &arg7_defvalue ;
1575 bool result;
1576 wxPoint temp4 ;
1577 wxSize temp5 ;
1578 bool temp7 = false ;
1579 PyObject * obj0 = 0 ;
1580 PyObject * obj1 = 0 ;
1581 PyObject * obj2 = 0 ;
1582 PyObject * obj3 = 0 ;
1583 PyObject * obj4 = 0 ;
1584 PyObject * obj5 = 0 ;
1585 PyObject * obj6 = 0 ;
1586 char *kwnames[] = {
1587 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1588 };
1589
1590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
1591 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPanel,
1592 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1593 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1594 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1595 if (obj2) {
1596 arg3 = (int)SWIG_As_int(obj2);
1597 if (PyErr_Occurred()) SWIG_fail;
1598 }
1599 if (obj3) {
1600 {
1601 arg4 = &temp4;
1602 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1603 }
1604 }
1605 if (obj4) {
1606 {
1607 arg5 = &temp5;
1608 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1609 }
1610 }
1611 if (obj5) {
1612 arg6 = (long)SWIG_As_long(obj5);
1613 if (PyErr_Occurred()) SWIG_fail;
1614 }
1615 if (obj6) {
1616 {
1617 arg7 = wxString_in_helper(obj6);
1618 if (arg7 == NULL) SWIG_fail;
1619 temp7 = true;
1620 }
1621 }
1622 {
1623 PyThreadState* __tstate = wxPyBeginAllowThreads();
1624 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1625
1626 wxPyEndAllowThreads(__tstate);
1627 if (PyErr_Occurred()) SWIG_fail;
1628 }
1629 {
1630 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1631 }
1632 {
1633 if (temp7)
1634 delete arg7;
1635 }
1636 return resultobj;
1637 fail:
1638 {
1639 if (temp7)
1640 delete arg7;
1641 }
1642 return NULL;
1643 }
1644
1645
1646 static PyObject *_wrap_Panel_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
1647 PyObject *resultobj;
1648 wxPanel *arg1 = (wxPanel *) 0 ;
1649 PyObject * obj0 = 0 ;
1650 char *kwnames[] = {
1651 (char *) "self", NULL
1652 };
1653
1654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_InitDialog",kwnames,&obj0)) goto fail;
1655 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPanel,
1656 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1657 {
1658 PyThreadState* __tstate = wxPyBeginAllowThreads();
1659 (arg1)->InitDialog();
1660
1661 wxPyEndAllowThreads(__tstate);
1662 if (PyErr_Occurred()) SWIG_fail;
1663 }
1664 Py_INCREF(Py_None); resultobj = Py_None;
1665 return resultobj;
1666 fail:
1667 return NULL;
1668 }
1669
1670
1671 static PyObject *_wrap_Panel_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
1672 PyObject *resultobj;
1673 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
1674 wxVisualAttributes result;
1675 PyObject * obj0 = 0 ;
1676 char *kwnames[] = {
1677 (char *) "variant", NULL
1678 };
1679
1680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
1681 if (obj0) {
1682 arg1 = (int)SWIG_As_int(obj0);
1683 if (PyErr_Occurred()) SWIG_fail;
1684 }
1685 {
1686 if (!wxPyCheckForApp()) SWIG_fail;
1687 PyThreadState* __tstate = wxPyBeginAllowThreads();
1688 result = wxPanel::GetClassDefaultAttributes((wxWindowVariant )arg1);
1689
1690 wxPyEndAllowThreads(__tstate);
1691 if (PyErr_Occurred()) SWIG_fail;
1692 }
1693 {
1694 wxVisualAttributes * resultptr;
1695 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
1696 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
1697 }
1698 return resultobj;
1699 fail:
1700 return NULL;
1701 }
1702
1703
1704 static PyObject * Panel_swigregister(PyObject *, PyObject *args) {
1705 PyObject *obj;
1706 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1707 SWIG_TypeClientData(SWIGTYPE_p_wxPanel, obj);
1708 Py_INCREF(obj);
1709 return Py_BuildValue((char *)"");
1710 }
1711 static PyObject *_wrap_new_ScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
1712 PyObject *resultobj;
1713 wxWindow *arg1 = (wxWindow *) 0 ;
1714 int arg2 = (int) (int)-1 ;
1715 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1716 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1717 wxSize const &arg4_defvalue = wxDefaultSize ;
1718 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1719 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
1720 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1721 wxString *arg6 = (wxString *) &arg6_defvalue ;
1722 wxScrolledWindow *result;
1723 wxPoint temp3 ;
1724 wxSize temp4 ;
1725 bool temp6 = false ;
1726 PyObject * obj0 = 0 ;
1727 PyObject * obj1 = 0 ;
1728 PyObject * obj2 = 0 ;
1729 PyObject * obj3 = 0 ;
1730 PyObject * obj4 = 0 ;
1731 PyObject * obj5 = 0 ;
1732 char *kwnames[] = {
1733 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1734 };
1735
1736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
1737 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1738 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1739 if (obj1) {
1740 arg2 = (int)SWIG_As_int(obj1);
1741 if (PyErr_Occurred()) SWIG_fail;
1742 }
1743 if (obj2) {
1744 {
1745 arg3 = &temp3;
1746 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1747 }
1748 }
1749 if (obj3) {
1750 {
1751 arg4 = &temp4;
1752 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1753 }
1754 }
1755 if (obj4) {
1756 arg5 = (long)SWIG_As_long(obj4);
1757 if (PyErr_Occurred()) SWIG_fail;
1758 }
1759 if (obj5) {
1760 {
1761 arg6 = wxString_in_helper(obj5);
1762 if (arg6 == NULL) SWIG_fail;
1763 temp6 = true;
1764 }
1765 }
1766 {
1767 if (!wxPyCheckForApp()) SWIG_fail;
1768 PyThreadState* __tstate = wxPyBeginAllowThreads();
1769 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1770
1771 wxPyEndAllowThreads(__tstate);
1772 if (PyErr_Occurred()) SWIG_fail;
1773 }
1774 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
1775 {
1776 if (temp6)
1777 delete arg6;
1778 }
1779 return resultobj;
1780 fail:
1781 {
1782 if (temp6)
1783 delete arg6;
1784 }
1785 return NULL;
1786 }
1787
1788
1789 static PyObject *_wrap_new_PreScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
1790 PyObject *resultobj;
1791 wxScrolledWindow *result;
1792 char *kwnames[] = {
1793 NULL
1794 };
1795
1796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrolledWindow",kwnames)) goto fail;
1797 {
1798 if (!wxPyCheckForApp()) SWIG_fail;
1799 PyThreadState* __tstate = wxPyBeginAllowThreads();
1800 result = (wxScrolledWindow *)new wxScrolledWindow();
1801
1802 wxPyEndAllowThreads(__tstate);
1803 if (PyErr_Occurred()) SWIG_fail;
1804 }
1805 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
1806 return resultobj;
1807 fail:
1808 return NULL;
1809 }
1810
1811
1812 static PyObject *_wrap_ScrolledWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
1813 PyObject *resultobj;
1814 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1815 wxWindow *arg2 = (wxWindow *) 0 ;
1816 int arg3 = (int) (int)-1 ;
1817 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1818 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1819 wxSize const &arg5_defvalue = wxDefaultSize ;
1820 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1821 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
1822 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1823 wxString *arg7 = (wxString *) &arg7_defvalue ;
1824 bool result;
1825 wxPoint temp4 ;
1826 wxSize temp5 ;
1827 bool temp7 = false ;
1828 PyObject * obj0 = 0 ;
1829 PyObject * obj1 = 0 ;
1830 PyObject * obj2 = 0 ;
1831 PyObject * obj3 = 0 ;
1832 PyObject * obj4 = 0 ;
1833 PyObject * obj5 = 0 ;
1834 PyObject * obj6 = 0 ;
1835 char *kwnames[] = {
1836 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1837 };
1838
1839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
1840 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1841 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1842 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1843 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1844 if (obj2) {
1845 arg3 = (int)SWIG_As_int(obj2);
1846 if (PyErr_Occurred()) SWIG_fail;
1847 }
1848 if (obj3) {
1849 {
1850 arg4 = &temp4;
1851 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1852 }
1853 }
1854 if (obj4) {
1855 {
1856 arg5 = &temp5;
1857 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1858 }
1859 }
1860 if (obj5) {
1861 arg6 = (long)SWIG_As_long(obj5);
1862 if (PyErr_Occurred()) SWIG_fail;
1863 }
1864 if (obj6) {
1865 {
1866 arg7 = wxString_in_helper(obj6);
1867 if (arg7 == NULL) SWIG_fail;
1868 temp7 = true;
1869 }
1870 }
1871 {
1872 PyThreadState* __tstate = wxPyBeginAllowThreads();
1873 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1874
1875 wxPyEndAllowThreads(__tstate);
1876 if (PyErr_Occurred()) SWIG_fail;
1877 }
1878 {
1879 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1880 }
1881 {
1882 if (temp7)
1883 delete arg7;
1884 }
1885 return resultobj;
1886 fail:
1887 {
1888 if (temp7)
1889 delete arg7;
1890 }
1891 return NULL;
1892 }
1893
1894
1895 static PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
1896 PyObject *resultobj;
1897 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1898 int arg2 ;
1899 int arg3 ;
1900 int arg4 ;
1901 int arg5 ;
1902 int arg6 = (int) 0 ;
1903 int arg7 = (int) 0 ;
1904 bool arg8 = (bool) false ;
1905 PyObject * obj0 = 0 ;
1906 PyObject * obj1 = 0 ;
1907 PyObject * obj2 = 0 ;
1908 PyObject * obj3 = 0 ;
1909 PyObject * obj4 = 0 ;
1910 PyObject * obj5 = 0 ;
1911 PyObject * obj6 = 0 ;
1912 PyObject * obj7 = 0 ;
1913 char *kwnames[] = {
1914 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1915 };
1916
1917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
1918 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1919 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1920 arg2 = (int)SWIG_As_int(obj1);
1921 if (PyErr_Occurred()) SWIG_fail;
1922 arg3 = (int)SWIG_As_int(obj2);
1923 if (PyErr_Occurred()) SWIG_fail;
1924 arg4 = (int)SWIG_As_int(obj3);
1925 if (PyErr_Occurred()) SWIG_fail;
1926 arg5 = (int)SWIG_As_int(obj4);
1927 if (PyErr_Occurred()) SWIG_fail;
1928 if (obj5) {
1929 arg6 = (int)SWIG_As_int(obj5);
1930 if (PyErr_Occurred()) SWIG_fail;
1931 }
1932 if (obj6) {
1933 arg7 = (int)SWIG_As_int(obj6);
1934 if (PyErr_Occurred()) SWIG_fail;
1935 }
1936 if (obj7) {
1937 arg8 = (bool)SWIG_As_bool(obj7);
1938 if (PyErr_Occurred()) SWIG_fail;
1939 }
1940 {
1941 PyThreadState* __tstate = wxPyBeginAllowThreads();
1942 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
1943
1944 wxPyEndAllowThreads(__tstate);
1945 if (PyErr_Occurred()) SWIG_fail;
1946 }
1947 Py_INCREF(Py_None); resultobj = Py_None;
1948 return resultobj;
1949 fail:
1950 return NULL;
1951 }
1952
1953
1954 static PyObject *_wrap_ScrolledWindow_Scroll(PyObject *, PyObject *args, PyObject *kwargs) {
1955 PyObject *resultobj;
1956 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1957 int arg2 ;
1958 int arg3 ;
1959 PyObject * obj0 = 0 ;
1960 PyObject * obj1 = 0 ;
1961 PyObject * obj2 = 0 ;
1962 char *kwnames[] = {
1963 (char *) "self",(char *) "x",(char *) "y", NULL
1964 };
1965
1966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) goto fail;
1967 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1968 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1969 arg2 = (int)SWIG_As_int(obj1);
1970 if (PyErr_Occurred()) SWIG_fail;
1971 arg3 = (int)SWIG_As_int(obj2);
1972 if (PyErr_Occurred()) SWIG_fail;
1973 {
1974 PyThreadState* __tstate = wxPyBeginAllowThreads();
1975 (arg1)->Scroll(arg2,arg3);
1976
1977 wxPyEndAllowThreads(__tstate);
1978 if (PyErr_Occurred()) SWIG_fail;
1979 }
1980 Py_INCREF(Py_None); resultobj = Py_None;
1981 return resultobj;
1982 fail:
1983 return NULL;
1984 }
1985
1986
1987 static PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
1988 PyObject *resultobj;
1989 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1990 int arg2 ;
1991 int result;
1992 PyObject * obj0 = 0 ;
1993 PyObject * obj1 = 0 ;
1994 char *kwnames[] = {
1995 (char *) "self",(char *) "orient", NULL
1996 };
1997
1998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) goto fail;
1999 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2000 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2001 arg2 = (int)SWIG_As_int(obj1);
2002 if (PyErr_Occurred()) SWIG_fail;
2003 {
2004 PyThreadState* __tstate = wxPyBeginAllowThreads();
2005 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
2006
2007 wxPyEndAllowThreads(__tstate);
2008 if (PyErr_Occurred()) SWIG_fail;
2009 }
2010 resultobj = SWIG_From_int((int)result);
2011 return resultobj;
2012 fail:
2013 return NULL;
2014 }
2015
2016
2017 static PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
2018 PyObject *resultobj;
2019 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2020 int arg2 ;
2021 int arg3 ;
2022 PyObject * obj0 = 0 ;
2023 PyObject * obj1 = 0 ;
2024 PyObject * obj2 = 0 ;
2025 char *kwnames[] = {
2026 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
2027 };
2028
2029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2030 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2031 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2032 arg2 = (int)SWIG_As_int(obj1);
2033 if (PyErr_Occurred()) SWIG_fail;
2034 arg3 = (int)SWIG_As_int(obj2);
2035 if (PyErr_Occurred()) SWIG_fail;
2036 {
2037 PyThreadState* __tstate = wxPyBeginAllowThreads();
2038 (arg1)->SetScrollPageSize(arg2,arg3);
2039
2040 wxPyEndAllowThreads(__tstate);
2041 if (PyErr_Occurred()) SWIG_fail;
2042 }
2043 Py_INCREF(Py_None); resultobj = Py_None;
2044 return resultobj;
2045 fail:
2046 return NULL;
2047 }
2048
2049
2050 static PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *, PyObject *args, PyObject *kwargs) {
2051 PyObject *resultobj;
2052 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2053 int arg2 ;
2054 int arg3 ;
2055 PyObject * obj0 = 0 ;
2056 PyObject * obj1 = 0 ;
2057 PyObject * obj2 = 0 ;
2058 char *kwnames[] = {
2059 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
2060 };
2061
2062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) goto fail;
2063 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2064 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2065 arg2 = (int)SWIG_As_int(obj1);
2066 if (PyErr_Occurred()) SWIG_fail;
2067 arg3 = (int)SWIG_As_int(obj2);
2068 if (PyErr_Occurred()) SWIG_fail;
2069 {
2070 PyThreadState* __tstate = wxPyBeginAllowThreads();
2071 (arg1)->SetScrollRate(arg2,arg3);
2072
2073 wxPyEndAllowThreads(__tstate);
2074 if (PyErr_Occurred()) SWIG_fail;
2075 }
2076 Py_INCREF(Py_None); resultobj = Py_None;
2077 return resultobj;
2078 fail:
2079 return NULL;
2080 }
2081
2082
2083 static PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *, PyObject *args, PyObject *kwargs) {
2084 PyObject *resultobj;
2085 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2086 int *arg2 = (int *) 0 ;
2087 int *arg3 = (int *) 0 ;
2088 int temp2 ;
2089 int res2 = 0 ;
2090 int temp3 ;
2091 int res3 = 0 ;
2092 PyObject * obj0 = 0 ;
2093 char *kwnames[] = {
2094 (char *) "self", NULL
2095 };
2096
2097 arg2 = &temp2; res2 = SWIG_NEWOBJ;
2098 arg3 = &temp3; res3 = SWIG_NEWOBJ;
2099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames,&obj0)) goto fail;
2100 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2101 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2102 {
2103 PyThreadState* __tstate = wxPyBeginAllowThreads();
2104 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
2105
2106 wxPyEndAllowThreads(__tstate);
2107 if (PyErr_Occurred()) SWIG_fail;
2108 }
2109 Py_INCREF(Py_None); resultobj = Py_None;
2110 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
2111 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
2112 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
2113 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
2114 return resultobj;
2115 fail:
2116 return NULL;
2117 }
2118
2119
2120 static PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *, PyObject *args, PyObject *kwargs) {
2121 PyObject *resultobj;
2122 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2123 bool arg2 ;
2124 bool arg3 ;
2125 PyObject * obj0 = 0 ;
2126 PyObject * obj1 = 0 ;
2127 PyObject * obj2 = 0 ;
2128 char *kwnames[] = {
2129 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
2130 };
2131
2132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) goto fail;
2133 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2134 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2135 arg2 = (bool)SWIG_As_bool(obj1);
2136 if (PyErr_Occurred()) SWIG_fail;
2137 arg3 = (bool)SWIG_As_bool(obj2);
2138 if (PyErr_Occurred()) SWIG_fail;
2139 {
2140 PyThreadState* __tstate = wxPyBeginAllowThreads();
2141 (arg1)->EnableScrolling(arg2,arg3);
2142
2143 wxPyEndAllowThreads(__tstate);
2144 if (PyErr_Occurred()) SWIG_fail;
2145 }
2146 Py_INCREF(Py_None); resultobj = Py_None;
2147 return resultobj;
2148 fail:
2149 return NULL;
2150 }
2151
2152
2153 static PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *, PyObject *args, PyObject *kwargs) {
2154 PyObject *resultobj;
2155 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2156 int *arg2 = (int *) 0 ;
2157 int *arg3 = (int *) 0 ;
2158 int temp2 ;
2159 int res2 = 0 ;
2160 int temp3 ;
2161 int res3 = 0 ;
2162 PyObject * obj0 = 0 ;
2163 char *kwnames[] = {
2164 (char *) "self", NULL
2165 };
2166
2167 arg2 = &temp2; res2 = SWIG_NEWOBJ;
2168 arg3 = &temp3; res3 = SWIG_NEWOBJ;
2169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetViewStart",kwnames,&obj0)) goto fail;
2170 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2172 {
2173 PyThreadState* __tstate = wxPyBeginAllowThreads();
2174 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
2175
2176 wxPyEndAllowThreads(__tstate);
2177 if (PyErr_Occurred()) SWIG_fail;
2178 }
2179 Py_INCREF(Py_None); resultobj = Py_None;
2180 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
2181 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
2182 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
2183 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
2184 return resultobj;
2185 fail:
2186 return NULL;
2187 }
2188
2189
2190 static PyObject *_wrap_ScrolledWindow_SetScale(PyObject *, PyObject *args, PyObject *kwargs) {
2191 PyObject *resultobj;
2192 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2193 double arg2 ;
2194 double arg3 ;
2195 PyObject * obj0 = 0 ;
2196 PyObject * obj1 = 0 ;
2197 PyObject * obj2 = 0 ;
2198 char *kwnames[] = {
2199 (char *) "self",(char *) "xs",(char *) "ys", NULL
2200 };
2201
2202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) goto fail;
2203 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2205 arg2 = (double)SWIG_As_double(obj1);
2206 if (PyErr_Occurred()) SWIG_fail;
2207 arg3 = (double)SWIG_As_double(obj2);
2208 if (PyErr_Occurred()) SWIG_fail;
2209 {
2210 PyThreadState* __tstate = wxPyBeginAllowThreads();
2211 (arg1)->SetScale(arg2,arg3);
2212
2213 wxPyEndAllowThreads(__tstate);
2214 if (PyErr_Occurred()) SWIG_fail;
2215 }
2216 Py_INCREF(Py_None); resultobj = Py_None;
2217 return resultobj;
2218 fail:
2219 return NULL;
2220 }
2221
2222
2223 static PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *, PyObject *args, PyObject *kwargs) {
2224 PyObject *resultobj;
2225 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2226 double result;
2227 PyObject * obj0 = 0 ;
2228 char *kwnames[] = {
2229 (char *) "self", NULL
2230 };
2231
2232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleX",kwnames,&obj0)) goto fail;
2233 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2234 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2235 {
2236 PyThreadState* __tstate = wxPyBeginAllowThreads();
2237 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
2238
2239 wxPyEndAllowThreads(__tstate);
2240 if (PyErr_Occurred()) SWIG_fail;
2241 }
2242 resultobj = SWIG_From_double((double)result);
2243 return resultobj;
2244 fail:
2245 return NULL;
2246 }
2247
2248
2249 static PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *, PyObject *args, PyObject *kwargs) {
2250 PyObject *resultobj;
2251 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2252 double result;
2253 PyObject * obj0 = 0 ;
2254 char *kwnames[] = {
2255 (char *) "self", NULL
2256 };
2257
2258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleY",kwnames,&obj0)) goto fail;
2259 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2260 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2261 {
2262 PyThreadState* __tstate = wxPyBeginAllowThreads();
2263 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
2264
2265 wxPyEndAllowThreads(__tstate);
2266 if (PyErr_Occurred()) SWIG_fail;
2267 }
2268 resultobj = SWIG_From_double((double)result);
2269 return resultobj;
2270 fail:
2271 return NULL;
2272 }
2273
2274
2275 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *, PyObject *args) {
2276 PyObject *resultobj;
2277 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2278 wxPoint *arg2 = 0 ;
2279 wxPoint result;
2280 wxPoint temp2 ;
2281 PyObject * obj0 = 0 ;
2282 PyObject * obj1 = 0 ;
2283
2284 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1)) goto fail;
2285 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2286 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2287 {
2288 arg2 = &temp2;
2289 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2290 }
2291 {
2292 PyThreadState* __tstate = wxPyBeginAllowThreads();
2293 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
2294
2295 wxPyEndAllowThreads(__tstate);
2296 if (PyErr_Occurred()) SWIG_fail;
2297 }
2298 {
2299 wxPoint * resultptr;
2300 resultptr = new wxPoint((wxPoint &) result);
2301 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
2302 }
2303 return resultobj;
2304 fail:
2305 return NULL;
2306 }
2307
2308
2309 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *, PyObject *args) {
2310 PyObject *resultobj;
2311 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2312 int arg2 ;
2313 int arg3 ;
2314 int *arg4 = (int *) 0 ;
2315 int *arg5 = (int *) 0 ;
2316 int temp4 ;
2317 int res4 = 0 ;
2318 int temp5 ;
2319 int res5 = 0 ;
2320 PyObject * obj0 = 0 ;
2321 PyObject * obj1 = 0 ;
2322 PyObject * obj2 = 0 ;
2323
2324 arg4 = &temp4; res4 = SWIG_NEWOBJ;
2325 arg5 = &temp5; res5 = SWIG_NEWOBJ;
2326 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1,&obj2)) goto fail;
2327 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2328 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2329 arg2 = (int)SWIG_As_int(obj1);
2330 if (PyErr_Occurred()) SWIG_fail;
2331 arg3 = (int)SWIG_As_int(obj2);
2332 if (PyErr_Occurred()) SWIG_fail;
2333 {
2334 PyThreadState* __tstate = wxPyBeginAllowThreads();
2335 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
2336
2337 wxPyEndAllowThreads(__tstate);
2338 if (PyErr_Occurred()) SWIG_fail;
2339 }
2340 Py_INCREF(Py_None); resultobj = Py_None;
2341 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
2342 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
2343 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
2344 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
2345 return resultobj;
2346 fail:
2347 return NULL;
2348 }
2349
2350
2351 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
2352 int argc;
2353 PyObject *argv[4];
2354 int ii;
2355
2356 argc = PyObject_Length(args);
2357 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
2358 argv[ii] = PyTuple_GetItem(args,ii);
2359 }
2360 if (argc == 2) {
2361 int _v;
2362 {
2363 void *ptr;
2364 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2365 _v = 0;
2366 PyErr_Clear();
2367 } else {
2368 _v = 1;
2369 }
2370 }
2371 if (_v) {
2372 {
2373 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
2374 }
2375 if (_v) {
2376 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self,args);
2377 }
2378 }
2379 }
2380 if (argc == 3) {
2381 int _v;
2382 {
2383 void *ptr;
2384 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2385 _v = 0;
2386 PyErr_Clear();
2387 } else {
2388 _v = 1;
2389 }
2390 }
2391 if (_v) {
2392 _v = SWIG_Check_int(argv[1]);
2393 if (_v) {
2394 _v = SWIG_Check_int(argv[2]);
2395 if (_v) {
2396 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self,args);
2397 }
2398 }
2399 }
2400 }
2401
2402 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
2403 return NULL;
2404 }
2405
2406
2407 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *, PyObject *args) {
2408 PyObject *resultobj;
2409 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2410 wxPoint *arg2 = 0 ;
2411 wxPoint result;
2412 wxPoint temp2 ;
2413 PyObject * obj0 = 0 ;
2414 PyObject * obj1 = 0 ;
2415
2416 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1)) goto fail;
2417 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2418 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2419 {
2420 arg2 = &temp2;
2421 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2422 }
2423 {
2424 PyThreadState* __tstate = wxPyBeginAllowThreads();
2425 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
2426
2427 wxPyEndAllowThreads(__tstate);
2428 if (PyErr_Occurred()) SWIG_fail;
2429 }
2430 {
2431 wxPoint * resultptr;
2432 resultptr = new wxPoint((wxPoint &) result);
2433 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
2434 }
2435 return resultobj;
2436 fail:
2437 return NULL;
2438 }
2439
2440
2441 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *, PyObject *args) {
2442 PyObject *resultobj;
2443 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2444 int arg2 ;
2445 int arg3 ;
2446 int *arg4 = (int *) 0 ;
2447 int *arg5 = (int *) 0 ;
2448 int temp4 ;
2449 int res4 = 0 ;
2450 int temp5 ;
2451 int res5 = 0 ;
2452 PyObject * obj0 = 0 ;
2453 PyObject * obj1 = 0 ;
2454 PyObject * obj2 = 0 ;
2455
2456 arg4 = &temp4; res4 = SWIG_NEWOBJ;
2457 arg5 = &temp5; res5 = SWIG_NEWOBJ;
2458 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1,&obj2)) goto fail;
2459 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2460 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2461 arg2 = (int)SWIG_As_int(obj1);
2462 if (PyErr_Occurred()) SWIG_fail;
2463 arg3 = (int)SWIG_As_int(obj2);
2464 if (PyErr_Occurred()) SWIG_fail;
2465 {
2466 PyThreadState* __tstate = wxPyBeginAllowThreads();
2467 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
2468
2469 wxPyEndAllowThreads(__tstate);
2470 if (PyErr_Occurred()) SWIG_fail;
2471 }
2472 Py_INCREF(Py_None); resultobj = Py_None;
2473 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
2474 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
2475 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
2476 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
2477 return resultobj;
2478 fail:
2479 return NULL;
2480 }
2481
2482
2483 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
2484 int argc;
2485 PyObject *argv[4];
2486 int ii;
2487
2488 argc = PyObject_Length(args);
2489 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
2490 argv[ii] = PyTuple_GetItem(args,ii);
2491 }
2492 if (argc == 2) {
2493 int _v;
2494 {
2495 void *ptr;
2496 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2497 _v = 0;
2498 PyErr_Clear();
2499 } else {
2500 _v = 1;
2501 }
2502 }
2503 if (_v) {
2504 {
2505 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
2506 }
2507 if (_v) {
2508 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self,args);
2509 }
2510 }
2511 }
2512 if (argc == 3) {
2513 int _v;
2514 {
2515 void *ptr;
2516 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2517 _v = 0;
2518 PyErr_Clear();
2519 } else {
2520 _v = 1;
2521 }
2522 }
2523 if (_v) {
2524 _v = SWIG_Check_int(argv[1]);
2525 if (_v) {
2526 _v = SWIG_Check_int(argv[2]);
2527 if (_v) {
2528 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self,args);
2529 }
2530 }
2531 }
2532 }
2533
2534 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
2535 return NULL;
2536 }
2537
2538
2539 static PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
2540 PyObject *resultobj;
2541 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2542 PyObject * obj0 = 0 ;
2543 char *kwnames[] = {
2544 (char *) "self", NULL
2545 };
2546
2547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames,&obj0)) goto fail;
2548 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2549 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2550 {
2551 PyThreadState* __tstate = wxPyBeginAllowThreads();
2552 (arg1)->AdjustScrollbars();
2553
2554 wxPyEndAllowThreads(__tstate);
2555 if (PyErr_Occurred()) SWIG_fail;
2556 }
2557 Py_INCREF(Py_None); resultobj = Py_None;
2558 return resultobj;
2559 fail:
2560 return NULL;
2561 }
2562
2563
2564 static PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *, PyObject *args, PyObject *kwargs) {
2565 PyObject *resultobj;
2566 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2567 wxScrollWinEvent *arg2 = 0 ;
2568 int result;
2569 PyObject * obj0 = 0 ;
2570 PyObject * obj1 = 0 ;
2571 char *kwnames[] = {
2572 (char *) "self",(char *) "event", NULL
2573 };
2574
2575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) goto fail;
2576 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2577 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2578 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxScrollWinEvent,
2579 SWIG_POINTER_EXCEPTION | 0)) == -1)
2580 SWIG_fail;
2581 if (arg2 == NULL) {
2582 PyErr_SetString(PyExc_TypeError,"null reference");
2583 SWIG_fail;
2584 }
2585 {
2586 PyThreadState* __tstate = wxPyBeginAllowThreads();
2587 result = (int)(arg1)->CalcScrollInc(*arg2);
2588
2589 wxPyEndAllowThreads(__tstate);
2590 if (PyErr_Occurred()) SWIG_fail;
2591 }
2592 resultobj = SWIG_From_int((int)result);
2593 return resultobj;
2594 fail:
2595 return NULL;
2596 }
2597
2598
2599 static PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
2600 PyObject *resultobj;
2601 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2602 wxWindow *arg2 = (wxWindow *) 0 ;
2603 PyObject * obj0 = 0 ;
2604 PyObject * obj1 = 0 ;
2605 char *kwnames[] = {
2606 (char *) "self",(char *) "target", NULL
2607 };
2608
2609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) goto fail;
2610 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2611 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2612 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
2613 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2614 {
2615 PyThreadState* __tstate = wxPyBeginAllowThreads();
2616 (arg1)->SetTargetWindow(arg2);
2617
2618 wxPyEndAllowThreads(__tstate);
2619 if (PyErr_Occurred()) SWIG_fail;
2620 }
2621 Py_INCREF(Py_None); resultobj = Py_None;
2622 return resultobj;
2623 fail:
2624 return NULL;
2625 }
2626
2627
2628 static PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
2629 PyObject *resultobj;
2630 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2631 wxWindow *result;
2632 PyObject * obj0 = 0 ;
2633 char *kwnames[] = {
2634 (char *) "self", NULL
2635 };
2636
2637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames,&obj0)) goto fail;
2638 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2639 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2640 {
2641 PyThreadState* __tstate = wxPyBeginAllowThreads();
2642 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
2643
2644 wxPyEndAllowThreads(__tstate);
2645 if (PyErr_Occurred()) SWIG_fail;
2646 }
2647 {
2648 resultobj = wxPyMake_wxObject(result, 0);
2649 }
2650 return resultobj;
2651 fail:
2652 return NULL;
2653 }
2654
2655
2656 static PyObject *_wrap_ScrolledWindow_DoPrepareDC(PyObject *, PyObject *args, PyObject *kwargs) {
2657 PyObject *resultobj;
2658 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2659 wxDC *arg2 = 0 ;
2660 PyObject * obj0 = 0 ;
2661 PyObject * obj1 = 0 ;
2662 char *kwnames[] = {
2663 (char *) "self",(char *) "dc", NULL
2664 };
2665
2666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames,&obj0,&obj1)) goto fail;
2667 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2668 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2669 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
2670 SWIG_POINTER_EXCEPTION | 0)) == -1)
2671 SWIG_fail;
2672 if (arg2 == NULL) {
2673 PyErr_SetString(PyExc_TypeError,"null reference");
2674 SWIG_fail;
2675 }
2676 {
2677 PyThreadState* __tstate = wxPyBeginAllowThreads();
2678 (arg1)->DoPrepareDC(*arg2);
2679
2680 wxPyEndAllowThreads(__tstate);
2681 if (PyErr_Occurred()) SWIG_fail;
2682 }
2683 Py_INCREF(Py_None); resultobj = Py_None;
2684 return resultobj;
2685 fail:
2686 return NULL;
2687 }
2688
2689
2690 static PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
2691 PyObject *resultobj;
2692 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
2693 wxVisualAttributes result;
2694 PyObject * obj0 = 0 ;
2695 char *kwnames[] = {
2696 (char *) "variant", NULL
2697 };
2698
2699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
2700 if (obj0) {
2701 arg1 = (int)SWIG_As_int(obj0);
2702 if (PyErr_Occurred()) SWIG_fail;
2703 }
2704 {
2705 if (!wxPyCheckForApp()) SWIG_fail;
2706 PyThreadState* __tstate = wxPyBeginAllowThreads();
2707 result = wxScrolledWindow::GetClassDefaultAttributes((wxWindowVariant )arg1);
2708
2709 wxPyEndAllowThreads(__tstate);
2710 if (PyErr_Occurred()) SWIG_fail;
2711 }
2712 {
2713 wxVisualAttributes * resultptr;
2714 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
2715 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
2716 }
2717 return resultobj;
2718 fail:
2719 return NULL;
2720 }
2721
2722
2723 static PyObject * ScrolledWindow_swigregister(PyObject *, PyObject *args) {
2724 PyObject *obj;
2725 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2726 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj);
2727 Py_INCREF(obj);
2728 return Py_BuildValue((char *)"");
2729 }
2730 static int _wrap_FrameNameStr_set(PyObject *) {
2731 PyErr_SetString(PyExc_TypeError,"Variable FrameNameStr is read-only.");
2732 return 1;
2733 }
2734
2735
2736 static PyObject *_wrap_FrameNameStr_get() {
2737 PyObject *pyobj;
2738
2739 {
2740 #if wxUSE_UNICODE
2741 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2742 #else
2743 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2744 #endif
2745 }
2746 return pyobj;
2747 }
2748
2749
2750 static int _wrap_DialogNameStr_set(PyObject *) {
2751 PyErr_SetString(PyExc_TypeError,"Variable DialogNameStr is read-only.");
2752 return 1;
2753 }
2754
2755
2756 static PyObject *_wrap_DialogNameStr_get() {
2757 PyObject *pyobj;
2758
2759 {
2760 #if wxUSE_UNICODE
2761 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2762 #else
2763 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2764 #endif
2765 }
2766 return pyobj;
2767 }
2768
2769
2770 static int _wrap_StatusLineNameStr_set(PyObject *) {
2771 PyErr_SetString(PyExc_TypeError,"Variable StatusLineNameStr is read-only.");
2772 return 1;
2773 }
2774
2775
2776 static PyObject *_wrap_StatusLineNameStr_get() {
2777 PyObject *pyobj;
2778
2779 {
2780 #if wxUSE_UNICODE
2781 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2782 #else
2783 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2784 #endif
2785 }
2786 return pyobj;
2787 }
2788
2789
2790 static int _wrap_ToolBarNameStr_set(PyObject *) {
2791 PyErr_SetString(PyExc_TypeError,"Variable ToolBarNameStr is read-only.");
2792 return 1;
2793 }
2794
2795
2796 static PyObject *_wrap_ToolBarNameStr_get() {
2797 PyObject *pyobj;
2798
2799 {
2800 #if wxUSE_UNICODE
2801 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2802 #else
2803 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2804 #endif
2805 }
2806 return pyobj;
2807 }
2808
2809
2810 static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *, PyObject *args, PyObject *kwargs) {
2811 PyObject *resultobj;
2812 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2813 bool arg2 = (bool) true ;
2814 PyObject * obj0 = 0 ;
2815 PyObject * obj1 = 0 ;
2816 char *kwnames[] = {
2817 (char *) "self",(char *) "maximize", NULL
2818 };
2819
2820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail;
2821 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2822 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2823 if (obj1) {
2824 arg2 = (bool)SWIG_As_bool(obj1);
2825 if (PyErr_Occurred()) SWIG_fail;
2826 }
2827 {
2828 PyThreadState* __tstate = wxPyBeginAllowThreads();
2829 (arg1)->Maximize(arg2);
2830
2831 wxPyEndAllowThreads(__tstate);
2832 if (PyErr_Occurred()) SWIG_fail;
2833 }
2834 Py_INCREF(Py_None); resultobj = Py_None;
2835 return resultobj;
2836 fail:
2837 return NULL;
2838 }
2839
2840
2841 static PyObject *_wrap_TopLevelWindow_Restore(PyObject *, PyObject *args, PyObject *kwargs) {
2842 PyObject *resultobj;
2843 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2844 PyObject * obj0 = 0 ;
2845 char *kwnames[] = {
2846 (char *) "self", NULL
2847 };
2848
2849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",kwnames,&obj0)) goto fail;
2850 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2851 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2852 {
2853 PyThreadState* __tstate = wxPyBeginAllowThreads();
2854 (arg1)->Restore();
2855
2856 wxPyEndAllowThreads(__tstate);
2857 if (PyErr_Occurred()) SWIG_fail;
2858 }
2859 Py_INCREF(Py_None); resultobj = Py_None;
2860 return resultobj;
2861 fail:
2862 return NULL;
2863 }
2864
2865
2866 static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *, PyObject *args, PyObject *kwargs) {
2867 PyObject *resultobj;
2868 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2869 bool arg2 = (bool) true ;
2870 PyObject * obj0 = 0 ;
2871 PyObject * obj1 = 0 ;
2872 char *kwnames[] = {
2873 (char *) "self",(char *) "iconize", NULL
2874 };
2875
2876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail;
2877 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2878 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2879 if (obj1) {
2880 arg2 = (bool)SWIG_As_bool(obj1);
2881 if (PyErr_Occurred()) SWIG_fail;
2882 }
2883 {
2884 PyThreadState* __tstate = wxPyBeginAllowThreads();
2885 (arg1)->Iconize(arg2);
2886
2887 wxPyEndAllowThreads(__tstate);
2888 if (PyErr_Occurred()) SWIG_fail;
2889 }
2890 Py_INCREF(Py_None); resultobj = Py_None;
2891 return resultobj;
2892 fail:
2893 return NULL;
2894 }
2895
2896
2897 static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *, PyObject *args, PyObject *kwargs) {
2898 PyObject *resultobj;
2899 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2900 bool result;
2901 PyObject * obj0 = 0 ;
2902 char *kwnames[] = {
2903 (char *) "self", NULL
2904 };
2905
2906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail;
2907 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2908 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2909 {
2910 PyThreadState* __tstate = wxPyBeginAllowThreads();
2911 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
2912
2913 wxPyEndAllowThreads(__tstate);
2914 if (PyErr_Occurred()) SWIG_fail;
2915 }
2916 {
2917 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2918 }
2919 return resultobj;
2920 fail:
2921 return NULL;
2922 }
2923
2924
2925 static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *, PyObject *args, PyObject *kwargs) {
2926 PyObject *resultobj;
2927 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2928 bool result;
2929 PyObject * obj0 = 0 ;
2930 char *kwnames[] = {
2931 (char *) "self", NULL
2932 };
2933
2934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail;
2935 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2936 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2937 {
2938 PyThreadState* __tstate = wxPyBeginAllowThreads();
2939 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
2940
2941 wxPyEndAllowThreads(__tstate);
2942 if (PyErr_Occurred()) SWIG_fail;
2943 }
2944 {
2945 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2946 }
2947 return resultobj;
2948 fail:
2949 return NULL;
2950 }
2951
2952
2953 static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
2954 PyObject *resultobj;
2955 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2956 wxIcon result;
2957 PyObject * obj0 = 0 ;
2958 char *kwnames[] = {
2959 (char *) "self", NULL
2960 };
2961
2962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail;
2963 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2964 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2965 {
2966 PyThreadState* __tstate = wxPyBeginAllowThreads();
2967 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
2968
2969 wxPyEndAllowThreads(__tstate);
2970 if (PyErr_Occurred()) SWIG_fail;
2971 }
2972 {
2973 wxIcon * resultptr;
2974 resultptr = new wxIcon((wxIcon &) result);
2975 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1);
2976 }
2977 return resultobj;
2978 fail:
2979 return NULL;
2980 }
2981
2982
2983 static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
2984 PyObject *resultobj;
2985 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2986 wxIcon *arg2 = 0 ;
2987 PyObject * obj0 = 0 ;
2988 PyObject * obj1 = 0 ;
2989 char *kwnames[] = {
2990 (char *) "self",(char *) "icon", NULL
2991 };
2992
2993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail;
2994 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2995 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2996 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
2997 SWIG_POINTER_EXCEPTION | 0)) == -1)
2998 SWIG_fail;
2999 if (arg2 == NULL) {
3000 PyErr_SetString(PyExc_TypeError,"null reference");
3001 SWIG_fail;
3002 }
3003 {
3004 PyThreadState* __tstate = wxPyBeginAllowThreads();
3005 (arg1)->SetIcon((wxIcon const &)*arg2);
3006
3007 wxPyEndAllowThreads(__tstate);
3008 if (PyErr_Occurred()) SWIG_fail;
3009 }
3010 Py_INCREF(Py_None); resultobj = Py_None;
3011 return resultobj;
3012 fail:
3013 return NULL;
3014 }
3015
3016
3017 static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *, PyObject *args, PyObject *kwargs) {
3018 PyObject *resultobj;
3019 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3020 wxIconBundle *arg2 = 0 ;
3021 PyObject * obj0 = 0 ;
3022 PyObject * obj1 = 0 ;
3023 char *kwnames[] = {
3024 (char *) "self",(char *) "icons", NULL
3025 };
3026
3027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail;
3028 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3029 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3030 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIconBundle,
3031 SWIG_POINTER_EXCEPTION | 0)) == -1)
3032 SWIG_fail;
3033 if (arg2 == NULL) {
3034 PyErr_SetString(PyExc_TypeError,"null reference");
3035 SWIG_fail;
3036 }
3037 {
3038 PyThreadState* __tstate = wxPyBeginAllowThreads();
3039 (arg1)->SetIcons((wxIconBundle const &)*arg2);
3040
3041 wxPyEndAllowThreads(__tstate);
3042 if (PyErr_Occurred()) SWIG_fail;
3043 }
3044 Py_INCREF(Py_None); resultobj = Py_None;
3045 return resultobj;
3046 fail:
3047 return NULL;
3048 }
3049
3050
3051 static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *, PyObject *args, PyObject *kwargs) {
3052 PyObject *resultobj;
3053 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3054 bool arg2 ;
3055 long arg3 = (long) wxFULLSCREEN_ALL ;
3056 bool result;
3057 PyObject * obj0 = 0 ;
3058 PyObject * obj1 = 0 ;
3059 PyObject * obj2 = 0 ;
3060 char *kwnames[] = {
3061 (char *) "self",(char *) "show",(char *) "style", NULL
3062 };
3063
3064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
3065 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3066 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3067 arg2 = (bool)SWIG_As_bool(obj1);
3068 if (PyErr_Occurred()) SWIG_fail;
3069 if (obj2) {
3070 arg3 = (long)SWIG_As_long(obj2);
3071 if (PyErr_Occurred()) SWIG_fail;
3072 }
3073 {
3074 PyThreadState* __tstate = wxPyBeginAllowThreads();
3075 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
3076
3077 wxPyEndAllowThreads(__tstate);
3078 if (PyErr_Occurred()) SWIG_fail;
3079 }
3080 {
3081 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3082 }
3083 return resultobj;
3084 fail:
3085 return NULL;
3086 }
3087
3088
3089 static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *, PyObject *args, PyObject *kwargs) {
3090 PyObject *resultobj;
3091 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3092 bool result;
3093 PyObject * obj0 = 0 ;
3094 char *kwnames[] = {
3095 (char *) "self", NULL
3096 };
3097
3098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail;
3099 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3100 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3101 {
3102 PyThreadState* __tstate = wxPyBeginAllowThreads();
3103 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
3104
3105 wxPyEndAllowThreads(__tstate);
3106 if (PyErr_Occurred()) SWIG_fail;
3107 }
3108 {
3109 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3110 }
3111 return resultobj;
3112 fail:
3113 return NULL;
3114 }
3115
3116
3117 static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
3118 PyObject *resultobj;
3119 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3120 wxString *arg2 = 0 ;
3121 bool temp2 = false ;
3122 PyObject * obj0 = 0 ;
3123 PyObject * obj1 = 0 ;
3124 char *kwnames[] = {
3125 (char *) "self",(char *) "title", NULL
3126 };
3127
3128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail;
3129 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3130 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3131 {
3132 arg2 = wxString_in_helper(obj1);
3133 if (arg2 == NULL) SWIG_fail;
3134 temp2 = true;
3135 }
3136 {
3137 PyThreadState* __tstate = wxPyBeginAllowThreads();
3138 (arg1)->SetTitle((wxString const &)*arg2);
3139
3140 wxPyEndAllowThreads(__tstate);
3141 if (PyErr_Occurred()) SWIG_fail;
3142 }
3143 Py_INCREF(Py_None); resultobj = Py_None;
3144 {
3145 if (temp2)
3146 delete arg2;
3147 }
3148 return resultobj;
3149 fail:
3150 {
3151 if (temp2)
3152 delete arg2;
3153 }
3154 return NULL;
3155 }
3156
3157
3158 static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
3159 PyObject *resultobj;
3160 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3161 wxString result;
3162 PyObject * obj0 = 0 ;
3163 char *kwnames[] = {
3164 (char *) "self", NULL
3165 };
3166
3167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail;
3168 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3169 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3170 {
3171 PyThreadState* __tstate = wxPyBeginAllowThreads();
3172 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
3173
3174 wxPyEndAllowThreads(__tstate);
3175 if (PyErr_Occurred()) SWIG_fail;
3176 }
3177 {
3178 #if wxUSE_UNICODE
3179 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3180 #else
3181 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3182 #endif
3183 }
3184 return resultobj;
3185 fail:
3186 return NULL;
3187 }
3188
3189
3190 static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *, PyObject *args, PyObject *kwargs) {
3191 PyObject *resultobj;
3192 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3193 wxRegion *arg2 = 0 ;
3194 bool result;
3195 PyObject * obj0 = 0 ;
3196 PyObject * obj1 = 0 ;
3197 char *kwnames[] = {
3198 (char *) "self",(char *) "region", NULL
3199 };
3200
3201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail;
3202 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3203 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3204 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRegion,
3205 SWIG_POINTER_EXCEPTION | 0)) == -1)
3206 SWIG_fail;
3207 if (arg2 == NULL) {
3208 PyErr_SetString(PyExc_TypeError,"null reference");
3209 SWIG_fail;
3210 }
3211 {
3212 PyThreadState* __tstate = wxPyBeginAllowThreads();
3213 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
3214
3215 wxPyEndAllowThreads(__tstate);
3216 if (PyErr_Occurred()) SWIG_fail;
3217 }
3218 {
3219 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3220 }
3221 return resultobj;
3222 fail:
3223 return NULL;
3224 }
3225
3226
3227 static PyObject *_wrap_TopLevelWindow_RequestUserAttention(PyObject *, PyObject *args, PyObject *kwargs) {
3228 PyObject *resultobj;
3229 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3230 int arg2 = (int) wxUSER_ATTENTION_INFO ;
3231 PyObject * obj0 = 0 ;
3232 PyObject * obj1 = 0 ;
3233 char *kwnames[] = {
3234 (char *) "self",(char *) "flags", NULL
3235 };
3236
3237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames,&obj0,&obj1)) goto fail;
3238 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3239 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3240 if (obj1) {
3241 arg2 = (int)SWIG_As_int(obj1);
3242 if (PyErr_Occurred()) SWIG_fail;
3243 }
3244 {
3245 PyThreadState* __tstate = wxPyBeginAllowThreads();
3246 (arg1)->RequestUserAttention(arg2);
3247
3248 wxPyEndAllowThreads(__tstate);
3249 if (PyErr_Occurred()) SWIG_fail;
3250 }
3251 Py_INCREF(Py_None); resultobj = Py_None;
3252 return resultobj;
3253 fail:
3254 return NULL;
3255 }
3256
3257
3258 static PyObject *_wrap_TopLevelWindow_IsActive(PyObject *, PyObject *args, PyObject *kwargs) {
3259 PyObject *resultobj;
3260 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3261 bool result;
3262 PyObject * obj0 = 0 ;
3263 char *kwnames[] = {
3264 (char *) "self", NULL
3265 };
3266
3267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsActive",kwnames,&obj0)) goto fail;
3268 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3269 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3270 {
3271 PyThreadState* __tstate = wxPyBeginAllowThreads();
3272 result = (bool)(arg1)->IsActive();
3273
3274 wxPyEndAllowThreads(__tstate);
3275 if (PyErr_Occurred()) SWIG_fail;
3276 }
3277 {
3278 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3279 }
3280 return resultobj;
3281 fail:
3282 return NULL;
3283 }
3284
3285
3286 static PyObject *_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject *, PyObject *args, PyObject *kwargs) {
3287 PyObject *resultobj;
3288 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3289 bool arg2 ;
3290 PyObject * obj0 = 0 ;
3291 PyObject * obj1 = 0 ;
3292 char *kwnames[] = {
3293 (char *) "self",(char *) "on", NULL
3294 };
3295
3296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames,&obj0,&obj1)) goto fail;
3297 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3299 arg2 = (bool)SWIG_As_bool(obj1);
3300 if (PyErr_Occurred()) SWIG_fail;
3301 {
3302 PyThreadState* __tstate = wxPyBeginAllowThreads();
3303 wxTopLevelWindow_MacSetMetalAppearance(arg1,arg2);
3304
3305 wxPyEndAllowThreads(__tstate);
3306 if (PyErr_Occurred()) SWIG_fail;
3307 }
3308 Py_INCREF(Py_None); resultobj = Py_None;
3309 return resultobj;
3310 fail:
3311 return NULL;
3312 }
3313
3314
3315 static PyObject *_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject *, PyObject *args, PyObject *kwargs) {
3316 PyObject *resultobj;
3317 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3318 bool result;
3319 PyObject * obj0 = 0 ;
3320 char *kwnames[] = {
3321 (char *) "self", NULL
3322 };
3323
3324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_MacGetMetalAppearance",kwnames,&obj0)) goto fail;
3325 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3326 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3327 {
3328 PyThreadState* __tstate = wxPyBeginAllowThreads();
3329 result = (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow const *)arg1);
3330
3331 wxPyEndAllowThreads(__tstate);
3332 if (PyErr_Occurred()) SWIG_fail;
3333 }
3334 {
3335 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3336 }
3337 return resultobj;
3338 fail:
3339 return NULL;
3340 }
3341
3342
3343 static PyObject * TopLevelWindow_swigregister(PyObject *, PyObject *args) {
3344 PyObject *obj;
3345 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3346 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj);
3347 Py_INCREF(obj);
3348 return Py_BuildValue((char *)"");
3349 }
3350 static PyObject *_wrap_new_Frame(PyObject *, PyObject *args, PyObject *kwargs) {
3351 PyObject *resultobj;
3352 wxWindow *arg1 = (wxWindow *) 0 ;
3353 int arg2 = (int) (int)-1 ;
3354 wxString const &arg3_defvalue = wxPyEmptyString ;
3355 wxString *arg3 = (wxString *) &arg3_defvalue ;
3356 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3357 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3358 wxSize const &arg5_defvalue = wxDefaultSize ;
3359 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3360 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
3361 wxString const &arg7_defvalue = wxPyFrameNameStr ;
3362 wxString *arg7 = (wxString *) &arg7_defvalue ;
3363 wxFrame *result;
3364 bool temp3 = false ;
3365 wxPoint temp4 ;
3366 wxSize temp5 ;
3367 bool temp7 = false ;
3368 PyObject * obj0 = 0 ;
3369 PyObject * obj1 = 0 ;
3370 PyObject * obj2 = 0 ;
3371 PyObject * obj3 = 0 ;
3372 PyObject * obj4 = 0 ;
3373 PyObject * obj5 = 0 ;
3374 PyObject * obj6 = 0 ;
3375 char *kwnames[] = {
3376 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3377 };
3378
3379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
3380 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
3381 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3382 if (obj1) {
3383 arg2 = (int)SWIG_As_int(obj1);
3384 if (PyErr_Occurred()) SWIG_fail;
3385 }
3386 if (obj2) {
3387 {
3388 arg3 = wxString_in_helper(obj2);
3389 if (arg3 == NULL) SWIG_fail;
3390 temp3 = true;
3391 }
3392 }
3393 if (obj3) {
3394 {
3395 arg4 = &temp4;
3396 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3397 }
3398 }
3399 if (obj4) {
3400 {
3401 arg5 = &temp5;
3402 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3403 }
3404 }
3405 if (obj5) {
3406 arg6 = (long)SWIG_As_long(obj5);
3407 if (PyErr_Occurred()) SWIG_fail;
3408 }
3409 if (obj6) {
3410 {
3411 arg7 = wxString_in_helper(obj6);
3412 if (arg7 == NULL) SWIG_fail;
3413 temp7 = true;
3414 }
3415 }
3416 {
3417 if (!wxPyCheckForApp()) SWIG_fail;
3418 PyThreadState* __tstate = wxPyBeginAllowThreads();
3419 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3420
3421 wxPyEndAllowThreads(__tstate);
3422 if (PyErr_Occurred()) SWIG_fail;
3423 }
3424 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFrame, 1);
3425 {
3426 if (temp3)
3427 delete arg3;
3428 }
3429 {
3430 if (temp7)
3431 delete arg7;
3432 }
3433 return resultobj;
3434 fail:
3435 {
3436 if (temp3)
3437 delete arg3;
3438 }
3439 {
3440 if (temp7)
3441 delete arg7;
3442 }
3443 return NULL;
3444 }
3445
3446
3447 static PyObject *_wrap_new_PreFrame(PyObject *, PyObject *args, PyObject *kwargs) {
3448 PyObject *resultobj;
3449 wxFrame *result;
3450 char *kwnames[] = {
3451 NULL
3452 };
3453
3454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail;
3455 {
3456 if (!wxPyCheckForApp()) SWIG_fail;
3457 PyThreadState* __tstate = wxPyBeginAllowThreads();
3458 result = (wxFrame *)new wxFrame();
3459
3460 wxPyEndAllowThreads(__tstate);
3461 if (PyErr_Occurred()) SWIG_fail;
3462 }
3463 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFrame, 1);
3464 return resultobj;
3465 fail:
3466 return NULL;
3467 }
3468
3469
3470 static PyObject *_wrap_Frame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
3471 PyObject *resultobj;
3472 wxFrame *arg1 = (wxFrame *) 0 ;
3473 wxWindow *arg2 = (wxWindow *) 0 ;
3474 int arg3 = (int) (int)-1 ;
3475 wxString const &arg4_defvalue = wxPyEmptyString ;
3476 wxString *arg4 = (wxString *) &arg4_defvalue ;
3477 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3478 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3479 wxSize const &arg6_defvalue = wxDefaultSize ;
3480 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3481 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
3482 wxString const &arg8_defvalue = wxPyFrameNameStr ;
3483 wxString *arg8 = (wxString *) &arg8_defvalue ;
3484 bool result;
3485 bool temp4 = false ;
3486 wxPoint temp5 ;
3487 wxSize temp6 ;
3488 bool temp8 = false ;
3489 PyObject * obj0 = 0 ;
3490 PyObject * obj1 = 0 ;
3491 PyObject * obj2 = 0 ;
3492 PyObject * obj3 = 0 ;
3493 PyObject * obj4 = 0 ;
3494 PyObject * obj5 = 0 ;
3495 PyObject * obj6 = 0 ;
3496 PyObject * obj7 = 0 ;
3497 char *kwnames[] = {
3498 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3499 };
3500
3501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3502 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3503 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3504 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
3505 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3506 if (obj2) {
3507 arg3 = (int)SWIG_As_int(obj2);
3508 if (PyErr_Occurred()) SWIG_fail;
3509 }
3510 if (obj3) {
3511 {
3512 arg4 = wxString_in_helper(obj3);
3513 if (arg4 == NULL) SWIG_fail;
3514 temp4 = true;
3515 }
3516 }
3517 if (obj4) {
3518 {
3519 arg5 = &temp5;
3520 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3521 }
3522 }
3523 if (obj5) {
3524 {
3525 arg6 = &temp6;
3526 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3527 }
3528 }
3529 if (obj6) {
3530 arg7 = (long)SWIG_As_long(obj6);
3531 if (PyErr_Occurred()) SWIG_fail;
3532 }
3533 if (obj7) {
3534 {
3535 arg8 = wxString_in_helper(obj7);
3536 if (arg8 == NULL) SWIG_fail;
3537 temp8 = true;
3538 }
3539 }
3540 {
3541 PyThreadState* __tstate = wxPyBeginAllowThreads();
3542 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3543
3544 wxPyEndAllowThreads(__tstate);
3545 if (PyErr_Occurred()) SWIG_fail;
3546 }
3547 {
3548 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3549 }
3550 {
3551 if (temp4)
3552 delete arg4;
3553 }
3554 {
3555 if (temp8)
3556 delete arg8;
3557 }
3558 return resultobj;
3559 fail:
3560 {
3561 if (temp4)
3562 delete arg4;
3563 }
3564 {
3565 if (temp8)
3566 delete arg8;
3567 }
3568 return NULL;
3569 }
3570
3571
3572 static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *, PyObject *args, PyObject *kwargs) {
3573 PyObject *resultobj;
3574 wxFrame *arg1 = (wxFrame *) 0 ;
3575 wxPoint result;
3576 PyObject * obj0 = 0 ;
3577 char *kwnames[] = {
3578 (char *) "self", NULL
3579 };
3580
3581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
3582 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3583 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3584 {
3585 PyThreadState* __tstate = wxPyBeginAllowThreads();
3586 result = ((wxFrame const *)arg1)->GetClientAreaOrigin();
3587
3588 wxPyEndAllowThreads(__tstate);
3589 if (PyErr_Occurred()) SWIG_fail;
3590 }
3591 {
3592 wxPoint * resultptr;
3593 resultptr = new wxPoint((wxPoint &) result);
3594 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
3595 }
3596 return resultobj;
3597 fail:
3598 return NULL;
3599 }
3600
3601
3602 static PyObject *_wrap_Frame_SendSizeEvent(PyObject *, PyObject *args, PyObject *kwargs) {
3603 PyObject *resultobj;
3604 wxFrame *arg1 = (wxFrame *) 0 ;
3605 PyObject * obj0 = 0 ;
3606 char *kwnames[] = {
3607 (char *) "self", NULL
3608 };
3609
3610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail;
3611 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3612 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3613 {
3614 PyThreadState* __tstate = wxPyBeginAllowThreads();
3615 (arg1)->SendSizeEvent();
3616
3617 wxPyEndAllowThreads(__tstate);
3618 if (PyErr_Occurred()) SWIG_fail;
3619 }
3620 Py_INCREF(Py_None); resultobj = Py_None;
3621 return resultobj;
3622 fail:
3623 return NULL;
3624 }
3625
3626
3627 static PyObject *_wrap_Frame_SetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) {
3628 PyObject *resultobj;
3629 wxFrame *arg1 = (wxFrame *) 0 ;
3630 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
3631 PyObject * obj0 = 0 ;
3632 PyObject * obj1 = 0 ;
3633 char *kwnames[] = {
3634 (char *) "self",(char *) "menubar", NULL
3635 };
3636
3637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail;
3638 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3639 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3640 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuBar,
3641 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3642 {
3643 PyThreadState* __tstate = wxPyBeginAllowThreads();
3644 (arg1)->SetMenuBar(arg2);
3645
3646 wxPyEndAllowThreads(__tstate);
3647 if (PyErr_Occurred()) SWIG_fail;
3648 }
3649 Py_INCREF(Py_None); resultobj = Py_None;
3650 return resultobj;
3651 fail:
3652 return NULL;
3653 }
3654
3655
3656 static PyObject *_wrap_Frame_GetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) {
3657 PyObject *resultobj;
3658 wxFrame *arg1 = (wxFrame *) 0 ;
3659 wxMenuBar *result;
3660 PyObject * obj0 = 0 ;
3661 char *kwnames[] = {
3662 (char *) "self", NULL
3663 };
3664
3665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail;
3666 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3667 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3668 {
3669 PyThreadState* __tstate = wxPyBeginAllowThreads();
3670 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
3671
3672 wxPyEndAllowThreads(__tstate);
3673 if (PyErr_Occurred()) SWIG_fail;
3674 }
3675 {
3676 resultobj = wxPyMake_wxObject(result, 0);
3677 }
3678 return resultobj;
3679 fail:
3680 return NULL;
3681 }
3682
3683
3684 static PyObject *_wrap_Frame_ProcessCommand(PyObject *, PyObject *args, PyObject *kwargs) {
3685 PyObject *resultobj;
3686 wxFrame *arg1 = (wxFrame *) 0 ;
3687 int arg2 ;
3688 bool result;
3689 PyObject * obj0 = 0 ;
3690 PyObject * obj1 = 0 ;
3691 char *kwnames[] = {
3692 (char *) "self",(char *) "winid", NULL
3693 };
3694
3695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) goto fail;
3696 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3697 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3698 arg2 = (int)SWIG_As_int(obj1);
3699 if (PyErr_Occurred()) SWIG_fail;
3700 {
3701 PyThreadState* __tstate = wxPyBeginAllowThreads();
3702 result = (bool)(arg1)->ProcessCommand(arg2);
3703
3704 wxPyEndAllowThreads(__tstate);
3705 if (PyErr_Occurred()) SWIG_fail;
3706 }
3707 {
3708 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3709 }
3710 return resultobj;
3711 fail:
3712 return NULL;
3713 }
3714
3715
3716 static PyObject *_wrap_Frame_CreateStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
3717 PyObject *resultobj;
3718 wxFrame *arg1 = (wxFrame *) 0 ;
3719 int arg2 = (int) 1 ;
3720 long arg3 = (long) wxST_SIZEGRIP|wxFULL_REPAINT_ON_RESIZE ;
3721 int arg4 = (int) 0 ;
3722 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
3723 wxString *arg5 = (wxString *) &arg5_defvalue ;
3724 wxStatusBar *result;
3725 bool temp5 = false ;
3726 PyObject * obj0 = 0 ;
3727 PyObject * obj1 = 0 ;
3728 PyObject * obj2 = 0 ;
3729 PyObject * obj3 = 0 ;
3730 PyObject * obj4 = 0 ;
3731 char *kwnames[] = {
3732 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3733 };
3734
3735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
3736 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3737 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3738 if (obj1) {
3739 arg2 = (int)SWIG_As_int(obj1);
3740 if (PyErr_Occurred()) SWIG_fail;
3741 }
3742 if (obj2) {
3743 arg3 = (long)SWIG_As_long(obj2);
3744 if (PyErr_Occurred()) SWIG_fail;
3745 }
3746 if (obj3) {
3747 arg4 = (int)SWIG_As_int(obj3);
3748 if (PyErr_Occurred()) SWIG_fail;
3749 }
3750 if (obj4) {
3751 {
3752 arg5 = wxString_in_helper(obj4);
3753 if (arg5 == NULL) SWIG_fail;
3754 temp5 = true;
3755 }
3756 }
3757 {
3758 PyThreadState* __tstate = wxPyBeginAllowThreads();
3759 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
3760
3761 wxPyEndAllowThreads(__tstate);
3762 if (PyErr_Occurred()) SWIG_fail;
3763 }
3764 {
3765 resultobj = wxPyMake_wxObject(result, 0);
3766 }
3767 {
3768 if (temp5)
3769 delete arg5;
3770 }
3771 return resultobj;
3772 fail:
3773 {
3774 if (temp5)
3775 delete arg5;
3776 }
3777 return NULL;
3778 }
3779
3780
3781 static PyObject *_wrap_Frame_GetStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
3782 PyObject *resultobj;
3783 wxFrame *arg1 = (wxFrame *) 0 ;
3784 wxStatusBar *result;
3785 PyObject * obj0 = 0 ;
3786 char *kwnames[] = {
3787 (char *) "self", NULL
3788 };
3789
3790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail;
3791 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3792 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3793 {
3794 PyThreadState* __tstate = wxPyBeginAllowThreads();
3795 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
3796
3797 wxPyEndAllowThreads(__tstate);
3798 if (PyErr_Occurred()) SWIG_fail;
3799 }
3800 {
3801 resultobj = wxPyMake_wxObject(result, 0);
3802 }
3803 return resultobj;
3804 fail:
3805 return NULL;
3806 }
3807
3808
3809 static PyObject *_wrap_Frame_SetStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
3810 PyObject *resultobj;
3811 wxFrame *arg1 = (wxFrame *) 0 ;
3812 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
3813 PyObject * obj0 = 0 ;
3814 PyObject * obj1 = 0 ;
3815 char *kwnames[] = {
3816 (char *) "self",(char *) "statBar", NULL
3817 };
3818
3819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail;
3820 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3821 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3822 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxStatusBar,
3823 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3824 {
3825 PyThreadState* __tstate = wxPyBeginAllowThreads();
3826 (arg1)->SetStatusBar(arg2);
3827
3828 wxPyEndAllowThreads(__tstate);
3829 if (PyErr_Occurred()) SWIG_fail;
3830 }
3831 Py_INCREF(Py_None); resultobj = Py_None;
3832 return resultobj;
3833 fail:
3834 return NULL;
3835 }
3836
3837
3838 static PyObject *_wrap_Frame_SetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
3839 PyObject *resultobj;
3840 wxFrame *arg1 = (wxFrame *) 0 ;
3841 wxString *arg2 = 0 ;
3842 int arg3 = (int) 0 ;
3843 bool temp2 = false ;
3844 PyObject * obj0 = 0 ;
3845 PyObject * obj1 = 0 ;
3846 PyObject * obj2 = 0 ;
3847 char *kwnames[] = {
3848 (char *) "self",(char *) "text",(char *) "number", NULL
3849 };
3850
3851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
3852 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3853 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3854 {
3855 arg2 = wxString_in_helper(obj1);
3856 if (arg2 == NULL) SWIG_fail;
3857 temp2 = true;
3858 }
3859 if (obj2) {
3860 arg3 = (int)SWIG_As_int(obj2);
3861 if (PyErr_Occurred()) SWIG_fail;
3862 }
3863 {
3864 PyThreadState* __tstate = wxPyBeginAllowThreads();
3865 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
3866
3867 wxPyEndAllowThreads(__tstate);
3868 if (PyErr_Occurred()) SWIG_fail;
3869 }
3870 Py_INCREF(Py_None); resultobj = Py_None;
3871 {
3872 if (temp2)
3873 delete arg2;
3874 }
3875 return resultobj;
3876 fail:
3877 {
3878 if (temp2)
3879 delete arg2;
3880 }
3881 return NULL;
3882 }
3883
3884
3885 static PyObject *_wrap_Frame_SetStatusWidths(PyObject *, PyObject *args, PyObject *kwargs) {
3886 PyObject *resultobj;
3887 wxFrame *arg1 = (wxFrame *) 0 ;
3888 int arg2 ;
3889 int *arg3 = (int *) 0 ;
3890 PyObject * obj0 = 0 ;
3891 PyObject * obj1 = 0 ;
3892 char *kwnames[] = {
3893 (char *) "self",(char *) "widths", NULL
3894 };
3895
3896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
3897 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3898 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3899 {
3900 arg2 = PyList_Size(obj1);
3901 arg3 = int_LIST_helper(obj1);
3902 if (arg3 == NULL) SWIG_fail;
3903 }
3904 {
3905 PyThreadState* __tstate = wxPyBeginAllowThreads();
3906 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
3907
3908 wxPyEndAllowThreads(__tstate);
3909 if (PyErr_Occurred()) SWIG_fail;
3910 }
3911 Py_INCREF(Py_None); resultobj = Py_None;
3912 {
3913 if (arg3) delete [] arg3;
3914 }
3915 return resultobj;
3916 fail:
3917 {
3918 if (arg3) delete [] arg3;
3919 }
3920 return NULL;
3921 }
3922
3923
3924 static PyObject *_wrap_Frame_PushStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
3925 PyObject *resultobj;
3926 wxFrame *arg1 = (wxFrame *) 0 ;
3927 wxString *arg2 = 0 ;
3928 int arg3 = (int) 0 ;
3929 bool temp2 = false ;
3930 PyObject * obj0 = 0 ;
3931 PyObject * obj1 = 0 ;
3932 PyObject * obj2 = 0 ;
3933 char *kwnames[] = {
3934 (char *) "self",(char *) "text",(char *) "number", NULL
3935 };
3936
3937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
3938 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3939 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3940 {
3941 arg2 = wxString_in_helper(obj1);
3942 if (arg2 == NULL) SWIG_fail;
3943 temp2 = true;
3944 }
3945 if (obj2) {
3946 arg3 = (int)SWIG_As_int(obj2);
3947 if (PyErr_Occurred()) SWIG_fail;
3948 }
3949 {
3950 PyThreadState* __tstate = wxPyBeginAllowThreads();
3951 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
3952
3953 wxPyEndAllowThreads(__tstate);
3954 if (PyErr_Occurred()) SWIG_fail;
3955 }
3956 Py_INCREF(Py_None); resultobj = Py_None;
3957 {
3958 if (temp2)
3959 delete arg2;
3960 }
3961 return resultobj;
3962 fail:
3963 {
3964 if (temp2)
3965 delete arg2;
3966 }
3967 return NULL;
3968 }
3969
3970
3971 static PyObject *_wrap_Frame_PopStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
3972 PyObject *resultobj;
3973 wxFrame *arg1 = (wxFrame *) 0 ;
3974 int arg2 = (int) 0 ;
3975 PyObject * obj0 = 0 ;
3976 PyObject * obj1 = 0 ;
3977 char *kwnames[] = {
3978 (char *) "self",(char *) "number", NULL
3979 };
3980
3981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
3982 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3983 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3984 if (obj1) {
3985 arg2 = (int)SWIG_As_int(obj1);
3986 if (PyErr_Occurred()) SWIG_fail;
3987 }
3988 {
3989 PyThreadState* __tstate = wxPyBeginAllowThreads();
3990 (arg1)->PopStatusText(arg2);
3991
3992 wxPyEndAllowThreads(__tstate);
3993 if (PyErr_Occurred()) SWIG_fail;
3994 }
3995 Py_INCREF(Py_None); resultobj = Py_None;
3996 return resultobj;
3997 fail:
3998 return NULL;
3999 }
4000
4001
4002 static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *, PyObject *args, PyObject *kwargs) {
4003 PyObject *resultobj;
4004 wxFrame *arg1 = (wxFrame *) 0 ;
4005 int arg2 ;
4006 PyObject * obj0 = 0 ;
4007 PyObject * obj1 = 0 ;
4008 char *kwnames[] = {
4009 (char *) "self",(char *) "n", NULL
4010 };
4011
4012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) goto fail;
4013 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4014 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4015 arg2 = (int)SWIG_As_int(obj1);
4016 if (PyErr_Occurred()) SWIG_fail;
4017 {
4018 PyThreadState* __tstate = wxPyBeginAllowThreads();
4019 (arg1)->SetStatusBarPane(arg2);
4020
4021 wxPyEndAllowThreads(__tstate);
4022 if (PyErr_Occurred()) SWIG_fail;
4023 }
4024 Py_INCREF(Py_None); resultobj = Py_None;
4025 return resultobj;
4026 fail:
4027 return NULL;
4028 }
4029
4030
4031 static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *, PyObject *args, PyObject *kwargs) {
4032 PyObject *resultobj;
4033 wxFrame *arg1 = (wxFrame *) 0 ;
4034 int result;
4035 PyObject * obj0 = 0 ;
4036 char *kwnames[] = {
4037 (char *) "self", NULL
4038 };
4039
4040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail;
4041 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4042 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4043 {
4044 PyThreadState* __tstate = wxPyBeginAllowThreads();
4045 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
4046
4047 wxPyEndAllowThreads(__tstate);
4048 if (PyErr_Occurred()) SWIG_fail;
4049 }
4050 resultobj = SWIG_From_int((int)result);
4051 return resultobj;
4052 fail:
4053 return NULL;
4054 }
4055
4056
4057 static PyObject *_wrap_Frame_CreateToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
4058 PyObject *resultobj;
4059 wxFrame *arg1 = (wxFrame *) 0 ;
4060 long arg2 = (long) -1 ;
4061 int arg3 = (int) -1 ;
4062 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
4063 wxString *arg4 = (wxString *) &arg4_defvalue ;
4064 wxToolBar *result;
4065 bool temp4 = false ;
4066 PyObject * obj0 = 0 ;
4067 PyObject * obj1 = 0 ;
4068 PyObject * obj2 = 0 ;
4069 PyObject * obj3 = 0 ;
4070 char *kwnames[] = {
4071 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
4072 };
4073
4074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
4075 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4076 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4077 if (obj1) {
4078 arg2 = (long)SWIG_As_long(obj1);
4079 if (PyErr_Occurred()) SWIG_fail;
4080 }
4081 if (obj2) {
4082 arg3 = (int)SWIG_As_int(obj2);
4083 if (PyErr_Occurred()) SWIG_fail;
4084 }
4085 if (obj3) {
4086 {
4087 arg4 = wxString_in_helper(obj3);
4088 if (arg4 == NULL) SWIG_fail;
4089 temp4 = true;
4090 }
4091 }
4092 {
4093 PyThreadState* __tstate = wxPyBeginAllowThreads();
4094 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
4095
4096 wxPyEndAllowThreads(__tstate);
4097 if (PyErr_Occurred()) SWIG_fail;
4098 }
4099 {
4100 resultobj = wxPyMake_wxObject(result, 0);
4101 }
4102 {
4103 if (temp4)
4104 delete arg4;
4105 }
4106 return resultobj;
4107 fail:
4108 {
4109 if (temp4)
4110 delete arg4;
4111 }
4112 return NULL;
4113 }
4114
4115
4116 static PyObject *_wrap_Frame_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
4117 PyObject *resultobj;
4118 wxFrame *arg1 = (wxFrame *) 0 ;
4119 wxToolBar *result;
4120 PyObject * obj0 = 0 ;
4121 char *kwnames[] = {
4122 (char *) "self", NULL
4123 };
4124
4125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail;
4126 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4127 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4128 {
4129 PyThreadState* __tstate = wxPyBeginAllowThreads();
4130 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
4131
4132 wxPyEndAllowThreads(__tstate);
4133 if (PyErr_Occurred()) SWIG_fail;
4134 }
4135 {
4136 resultobj = wxPyMake_wxObject(result, 0);
4137 }
4138 return resultobj;
4139 fail:
4140 return NULL;
4141 }
4142
4143
4144 static PyObject *_wrap_Frame_SetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
4145 PyObject *resultobj;
4146 wxFrame *arg1 = (wxFrame *) 0 ;
4147 wxToolBar *arg2 = (wxToolBar *) 0 ;
4148 PyObject * obj0 = 0 ;
4149 PyObject * obj1 = 0 ;
4150 char *kwnames[] = {
4151 (char *) "self",(char *) "toolbar", NULL
4152 };
4153
4154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
4155 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4156 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4157 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBar,
4158 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4159 {
4160 PyThreadState* __tstate = wxPyBeginAllowThreads();
4161 (arg1)->SetToolBar(arg2);
4162
4163 wxPyEndAllowThreads(__tstate);
4164 if (PyErr_Occurred()) SWIG_fail;
4165 }
4166 Py_INCREF(Py_None); resultobj = Py_None;
4167 return resultobj;
4168 fail:
4169 return NULL;
4170 }
4171
4172
4173 static PyObject *_wrap_Frame_DoGiveHelp(PyObject *, PyObject *args, PyObject *kwargs) {
4174 PyObject *resultobj;
4175 wxFrame *arg1 = (wxFrame *) 0 ;
4176 wxString *arg2 = 0 ;
4177 bool arg3 ;
4178 bool temp2 = false ;
4179 PyObject * obj0 = 0 ;
4180 PyObject * obj1 = 0 ;
4181 PyObject * obj2 = 0 ;
4182 char *kwnames[] = {
4183 (char *) "self",(char *) "text",(char *) "show", NULL
4184 };
4185
4186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
4187 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4188 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4189 {
4190 arg2 = wxString_in_helper(obj1);
4191 if (arg2 == NULL) SWIG_fail;
4192 temp2 = true;
4193 }
4194 arg3 = (bool)SWIG_As_bool(obj2);
4195 if (PyErr_Occurred()) SWIG_fail;
4196 {
4197 PyThreadState* __tstate = wxPyBeginAllowThreads();
4198 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
4199
4200 wxPyEndAllowThreads(__tstate);
4201 if (PyErr_Occurred()) SWIG_fail;
4202 }
4203 Py_INCREF(Py_None); resultobj = Py_None;
4204 {
4205 if (temp2)
4206 delete arg2;
4207 }
4208 return resultobj;
4209 fail:
4210 {
4211 if (temp2)
4212 delete arg2;
4213 }
4214 return NULL;
4215 }
4216
4217
4218 static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *, PyObject *args, PyObject *kwargs) {
4219 PyObject *resultobj;
4220 wxFrame *arg1 = (wxFrame *) 0 ;
4221 wxMenu *arg2 = (wxMenu *) NULL ;
4222 PyObject * obj0 = 0 ;
4223 PyObject * obj1 = 0 ;
4224 char *kwnames[] = {
4225 (char *) "self",(char *) "menu", NULL
4226 };
4227
4228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail;
4229 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4230 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4231 if (obj1) {
4232 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
4233 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4234 }
4235 {
4236 PyThreadState* __tstate = wxPyBeginAllowThreads();
4237 (arg1)->DoMenuUpdates(arg2);
4238
4239 wxPyEndAllowThreads(__tstate);
4240 if (PyErr_Occurred()) SWIG_fail;
4241 }
4242 Py_INCREF(Py_None); resultobj = Py_None;
4243 return resultobj;
4244 fail:
4245 return NULL;
4246 }
4247
4248
4249 static PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
4250 PyObject *resultobj;
4251 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
4252 wxVisualAttributes result;
4253 PyObject * obj0 = 0 ;
4254 char *kwnames[] = {
4255 (char *) "variant", NULL
4256 };
4257
4258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4259 if (obj0) {
4260 arg1 = (int)SWIG_As_int(obj0);
4261 if (PyErr_Occurred()) SWIG_fail;
4262 }
4263 {
4264 if (!wxPyCheckForApp()) SWIG_fail;
4265 PyThreadState* __tstate = wxPyBeginAllowThreads();
4266 result = wxFrame::GetClassDefaultAttributes((wxWindowVariant )arg1);
4267
4268 wxPyEndAllowThreads(__tstate);
4269 if (PyErr_Occurred()) SWIG_fail;
4270 }
4271 {
4272 wxVisualAttributes * resultptr;
4273 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
4274 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4275 }
4276 return resultobj;
4277 fail:
4278 return NULL;
4279 }
4280
4281
4282 static PyObject * Frame_swigregister(PyObject *, PyObject *args) {
4283 PyObject *obj;
4284 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4285 SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj);
4286 Py_INCREF(obj);
4287 return Py_BuildValue((char *)"");
4288 }
4289 static PyObject *_wrap_new_Dialog(PyObject *, PyObject *args, PyObject *kwargs) {
4290 PyObject *resultobj;
4291 wxWindow *arg1 = (wxWindow *) 0 ;
4292 int arg2 = (int) (int)-1 ;
4293 wxString const &arg3_defvalue = wxPyEmptyString ;
4294 wxString *arg3 = (wxString *) &arg3_defvalue ;
4295 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4296 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4297 wxSize const &arg5_defvalue = wxDefaultSize ;
4298 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4299 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
4300 wxString const &arg7_defvalue = wxPyDialogNameStr ;
4301 wxString *arg7 = (wxString *) &arg7_defvalue ;
4302 wxDialog *result;
4303 bool temp3 = false ;
4304 wxPoint temp4 ;
4305 wxSize temp5 ;
4306 bool temp7 = false ;
4307 PyObject * obj0 = 0 ;
4308 PyObject * obj1 = 0 ;
4309 PyObject * obj2 = 0 ;
4310 PyObject * obj3 = 0 ;
4311 PyObject * obj4 = 0 ;
4312 PyObject * obj5 = 0 ;
4313 PyObject * obj6 = 0 ;
4314 char *kwnames[] = {
4315 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4316 };
4317
4318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4319 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4320 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4321 if (obj1) {
4322 arg2 = (int)SWIG_As_int(obj1);
4323 if (PyErr_Occurred()) SWIG_fail;
4324 }
4325 if (obj2) {
4326 {
4327 arg3 = wxString_in_helper(obj2);
4328 if (arg3 == NULL) SWIG_fail;
4329 temp3 = true;
4330 }
4331 }
4332 if (obj3) {
4333 {
4334 arg4 = &temp4;
4335 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4336 }
4337 }
4338 if (obj4) {
4339 {
4340 arg5 = &temp5;
4341 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4342 }
4343 }
4344 if (obj5) {
4345 arg6 = (long)SWIG_As_long(obj5);
4346 if (PyErr_Occurred()) SWIG_fail;
4347 }
4348 if (obj6) {
4349 {
4350 arg7 = wxString_in_helper(obj6);
4351 if (arg7 == NULL) SWIG_fail;
4352 temp7 = true;
4353 }
4354 }
4355 {
4356 if (!wxPyCheckForApp()) SWIG_fail;
4357 PyThreadState* __tstate = wxPyBeginAllowThreads();
4358 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4359
4360 wxPyEndAllowThreads(__tstate);
4361 if (PyErr_Occurred()) SWIG_fail;
4362 }
4363 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
4364 {
4365 if (temp3)
4366 delete arg3;
4367 }
4368 {
4369 if (temp7)
4370 delete arg7;
4371 }
4372 return resultobj;
4373 fail:
4374 {
4375 if (temp3)
4376 delete arg3;
4377 }
4378 {
4379 if (temp7)
4380 delete arg7;
4381 }
4382 return NULL;
4383 }
4384
4385
4386 static PyObject *_wrap_new_PreDialog(PyObject *, PyObject *args, PyObject *kwargs) {
4387 PyObject *resultobj;
4388 wxDialog *result;
4389 char *kwnames[] = {
4390 NULL
4391 };
4392
4393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail;
4394 {
4395 if (!wxPyCheckForApp()) SWIG_fail;
4396 PyThreadState* __tstate = wxPyBeginAllowThreads();
4397 result = (wxDialog *)new wxDialog();
4398
4399 wxPyEndAllowThreads(__tstate);
4400 if (PyErr_Occurred()) SWIG_fail;
4401 }
4402 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
4403 return resultobj;
4404 fail:
4405 return NULL;
4406 }
4407
4408
4409 static PyObject *_wrap_Dialog_Create(PyObject *, PyObject *args, PyObject *kwargs) {
4410 PyObject *resultobj;
4411 wxDialog *arg1 = (wxDialog *) 0 ;
4412 wxWindow *arg2 = (wxWindow *) 0 ;
4413 int arg3 = (int) (int)-1 ;
4414 wxString const &arg4_defvalue = wxPyEmptyString ;
4415 wxString *arg4 = (wxString *) &arg4_defvalue ;
4416 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4417 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4418 wxSize const &arg6_defvalue = wxDefaultSize ;
4419 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4420 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
4421 wxString const &arg8_defvalue = wxPyDialogNameStr ;
4422 wxString *arg8 = (wxString *) &arg8_defvalue ;
4423 bool result;
4424 bool temp4 = false ;
4425 wxPoint temp5 ;
4426 wxSize temp6 ;
4427 bool temp8 = false ;
4428 PyObject * obj0 = 0 ;
4429 PyObject * obj1 = 0 ;
4430 PyObject * obj2 = 0 ;
4431 PyObject * obj3 = 0 ;
4432 PyObject * obj4 = 0 ;
4433 PyObject * obj5 = 0 ;
4434 PyObject * obj6 = 0 ;
4435 PyObject * obj7 = 0 ;
4436 char *kwnames[] = {
4437 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4438 };
4439
4440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4441 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4442 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4443 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4444 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4445 if (obj2) {
4446 arg3 = (int)SWIG_As_int(obj2);
4447 if (PyErr_Occurred()) SWIG_fail;
4448 }
4449 if (obj3) {
4450 {
4451 arg4 = wxString_in_helper(obj3);
4452 if (arg4 == NULL) SWIG_fail;
4453 temp4 = true;
4454 }
4455 }
4456 if (obj4) {
4457 {
4458 arg5 = &temp5;
4459 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4460 }
4461 }
4462 if (obj5) {
4463 {
4464 arg6 = &temp6;
4465 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4466 }
4467 }
4468 if (obj6) {
4469 arg7 = (long)SWIG_As_long(obj6);
4470 if (PyErr_Occurred()) SWIG_fail;
4471 }
4472 if (obj7) {
4473 {
4474 arg8 = wxString_in_helper(obj7);
4475 if (arg8 == NULL) SWIG_fail;
4476 temp8 = true;
4477 }
4478 }
4479 {
4480 PyThreadState* __tstate = wxPyBeginAllowThreads();
4481 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4482
4483 wxPyEndAllowThreads(__tstate);
4484 if (PyErr_Occurred()) SWIG_fail;
4485 }
4486 {
4487 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4488 }
4489 {
4490 if (temp4)
4491 delete arg4;
4492 }
4493 {
4494 if (temp8)
4495 delete arg8;
4496 }
4497 return resultobj;
4498 fail:
4499 {
4500 if (temp4)
4501 delete arg4;
4502 }
4503 {
4504 if (temp8)
4505 delete arg8;
4506 }
4507 return NULL;
4508 }
4509
4510
4511 static PyObject *_wrap_Dialog_SetReturnCode(PyObject *, PyObject *args, PyObject *kwargs) {
4512 PyObject *resultobj;
4513 wxDialog *arg1 = (wxDialog *) 0 ;
4514 int arg2 ;
4515 PyObject * obj0 = 0 ;
4516 PyObject * obj1 = 0 ;
4517 char *kwnames[] = {
4518 (char *) "self",(char *) "returnCode", NULL
4519 };
4520
4521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) goto fail;
4522 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4523 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4524 arg2 = (int)SWIG_As_int(obj1);
4525 if (PyErr_Occurred()) SWIG_fail;
4526 {
4527 PyThreadState* __tstate = wxPyBeginAllowThreads();
4528 (arg1)->SetReturnCode(arg2);
4529
4530 wxPyEndAllowThreads(__tstate);
4531 if (PyErr_Occurred()) SWIG_fail;
4532 }
4533 Py_INCREF(Py_None); resultobj = Py_None;
4534 return resultobj;
4535 fail:
4536 return NULL;
4537 }
4538
4539
4540 static PyObject *_wrap_Dialog_GetReturnCode(PyObject *, PyObject *args, PyObject *kwargs) {
4541 PyObject *resultobj;
4542 wxDialog *arg1 = (wxDialog *) 0 ;
4543 int result;
4544 PyObject * obj0 = 0 ;
4545 char *kwnames[] = {
4546 (char *) "self", NULL
4547 };
4548
4549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail;
4550 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4551 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4552 {
4553 PyThreadState* __tstate = wxPyBeginAllowThreads();
4554 result = (int)((wxDialog const *)arg1)->GetReturnCode();
4555
4556 wxPyEndAllowThreads(__tstate);
4557 if (PyErr_Occurred()) SWIG_fail;
4558 }
4559 resultobj = SWIG_From_int((int)result);
4560 return resultobj;
4561 fail:
4562 return NULL;
4563 }
4564
4565
4566 static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *, PyObject *args, PyObject *kwargs) {
4567 PyObject *resultobj;
4568 wxDialog *arg1 = (wxDialog *) 0 ;
4569 wxString *arg2 = 0 ;
4570 wxSizer *result;
4571 bool temp2 = false ;
4572 PyObject * obj0 = 0 ;
4573 PyObject * obj1 = 0 ;
4574 char *kwnames[] = {
4575 (char *) "self",(char *) "message", NULL
4576 };
4577
4578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail;
4579 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4580 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4581 {
4582 arg2 = wxString_in_helper(obj1);
4583 if (arg2 == NULL) SWIG_fail;
4584 temp2 = true;
4585 }
4586 {
4587 PyThreadState* __tstate = wxPyBeginAllowThreads();
4588 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
4589
4590 wxPyEndAllowThreads(__tstate);
4591 if (PyErr_Occurred()) SWIG_fail;
4592 }
4593 {
4594 resultobj = wxPyMake_wxSizer(result, 0);
4595 }
4596 {
4597 if (temp2)
4598 delete arg2;
4599 }
4600 return resultobj;
4601 fail:
4602 {
4603 if (temp2)
4604 delete arg2;
4605 }
4606 return NULL;
4607 }
4608
4609
4610 static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *, PyObject *args, PyObject *kwargs) {
4611 PyObject *resultobj;
4612 wxDialog *arg1 = (wxDialog *) 0 ;
4613 long arg2 ;
4614 wxSizer *result;
4615 PyObject * obj0 = 0 ;
4616 PyObject * obj1 = 0 ;
4617 char *kwnames[] = {
4618 (char *) "self",(char *) "flags", NULL
4619 };
4620
4621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1)) goto fail;
4622 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4623 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4624 arg2 = (long)SWIG_As_long(obj1);
4625 if (PyErr_Occurred()) SWIG_fail;
4626 {
4627 PyThreadState* __tstate = wxPyBeginAllowThreads();
4628 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
4629
4630 wxPyEndAllowThreads(__tstate);
4631 if (PyErr_Occurred()) SWIG_fail;
4632 }
4633 {
4634 resultobj = wxPyMake_wxSizer(result, 0);
4635 }
4636 return resultobj;
4637 fail:
4638 return NULL;
4639 }
4640
4641
4642 static PyObject *_wrap_Dialog_IsModal(PyObject *, PyObject *args, PyObject *kwargs) {
4643 PyObject *resultobj;
4644 wxDialog *arg1 = (wxDialog *) 0 ;
4645 bool result;
4646 PyObject * obj0 = 0 ;
4647 char *kwnames[] = {
4648 (char *) "self", NULL
4649 };
4650
4651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail;
4652 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4653 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4654 {
4655 PyThreadState* __tstate = wxPyBeginAllowThreads();
4656 result = (bool)((wxDialog const *)arg1)->IsModal();
4657
4658 wxPyEndAllowThreads(__tstate);
4659 if (PyErr_Occurred()) SWIG_fail;
4660 }
4661 {
4662 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4663 }
4664 return resultobj;
4665 fail:
4666 return NULL;
4667 }
4668
4669
4670 static PyObject *_wrap_Dialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
4671 PyObject *resultobj;
4672 wxDialog *arg1 = (wxDialog *) 0 ;
4673 int result;
4674 PyObject * obj0 = 0 ;
4675 char *kwnames[] = {
4676 (char *) "self", NULL
4677 };
4678
4679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail;
4680 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4681 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4682 {
4683 PyThreadState* __tstate = wxPyBeginAllowThreads();
4684 result = (int)(arg1)->ShowModal();
4685
4686 wxPyEndAllowThreads(__tstate);
4687 if (PyErr_Occurred()) SWIG_fail;
4688 }
4689 resultobj = SWIG_From_int((int)result);
4690 return resultobj;
4691 fail:
4692 return NULL;
4693 }
4694
4695
4696 static PyObject *_wrap_Dialog_EndModal(PyObject *, PyObject *args, PyObject *kwargs) {
4697 PyObject *resultobj;
4698 wxDialog *arg1 = (wxDialog *) 0 ;
4699 int arg2 ;
4700 PyObject * obj0 = 0 ;
4701 PyObject * obj1 = 0 ;
4702 char *kwnames[] = {
4703 (char *) "self",(char *) "retCode", NULL
4704 };
4705
4706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) goto fail;
4707 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4708 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4709 arg2 = (int)SWIG_As_int(obj1);
4710 if (PyErr_Occurred()) SWIG_fail;
4711 {
4712 PyThreadState* __tstate = wxPyBeginAllowThreads();
4713 (arg1)->EndModal(arg2);
4714
4715 wxPyEndAllowThreads(__tstate);
4716 if (PyErr_Occurred()) SWIG_fail;
4717 }
4718 Py_INCREF(Py_None); resultobj = Py_None;
4719 return resultobj;
4720 fail:
4721 return NULL;
4722 }
4723
4724
4725 static PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
4726 PyObject *resultobj;
4727 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
4728 wxVisualAttributes result;
4729 PyObject * obj0 = 0 ;
4730 char *kwnames[] = {
4731 (char *) "variant", NULL
4732 };
4733
4734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4735 if (obj0) {
4736 arg1 = (int)SWIG_As_int(obj0);
4737 if (PyErr_Occurred()) SWIG_fail;
4738 }
4739 {
4740 if (!wxPyCheckForApp()) SWIG_fail;
4741 PyThreadState* __tstate = wxPyBeginAllowThreads();
4742 result = wxDialog::GetClassDefaultAttributes((wxWindowVariant )arg1);
4743
4744 wxPyEndAllowThreads(__tstate);
4745 if (PyErr_Occurred()) SWIG_fail;
4746 }
4747 {
4748 wxVisualAttributes * resultptr;
4749 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
4750 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4751 }
4752 return resultobj;
4753 fail:
4754 return NULL;
4755 }
4756
4757
4758 static PyObject * Dialog_swigregister(PyObject *, PyObject *args) {
4759 PyObject *obj;
4760 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4761 SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj);
4762 Py_INCREF(obj);
4763 return Py_BuildValue((char *)"");
4764 }
4765 static PyObject *_wrap_new_MiniFrame(PyObject *, PyObject *args, PyObject *kwargs) {
4766 PyObject *resultobj;
4767 wxWindow *arg1 = (wxWindow *) 0 ;
4768 int arg2 = (int) (int)-1 ;
4769 wxString const &arg3_defvalue = wxPyEmptyString ;
4770 wxString *arg3 = (wxString *) &arg3_defvalue ;
4771 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4772 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4773 wxSize const &arg5_defvalue = wxDefaultSize ;
4774 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4775 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
4776 wxString const &arg7_defvalue = wxPyFrameNameStr ;
4777 wxString *arg7 = (wxString *) &arg7_defvalue ;
4778 wxMiniFrame *result;
4779 bool temp3 = false ;
4780 wxPoint temp4 ;
4781 wxSize temp5 ;
4782 bool temp7 = false ;
4783 PyObject * obj0 = 0 ;
4784 PyObject * obj1 = 0 ;
4785 PyObject * obj2 = 0 ;
4786 PyObject * obj3 = 0 ;
4787 PyObject * obj4 = 0 ;
4788 PyObject * obj5 = 0 ;
4789 PyObject * obj6 = 0 ;
4790 char *kwnames[] = {
4791 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4792 };
4793
4794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4795 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4796 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4797 if (obj1) {
4798 arg2 = (int)SWIG_As_int(obj1);
4799 if (PyErr_Occurred()) SWIG_fail;
4800 }
4801 if (obj2) {
4802 {
4803 arg3 = wxString_in_helper(obj2);
4804 if (arg3 == NULL) SWIG_fail;
4805 temp3 = true;
4806 }
4807 }
4808 if (obj3) {
4809 {
4810 arg4 = &temp4;
4811 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4812 }
4813 }
4814 if (obj4) {
4815 {
4816 arg5 = &temp5;
4817 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4818 }
4819 }
4820 if (obj5) {
4821 arg6 = (long)SWIG_As_long(obj5);
4822 if (PyErr_Occurred()) SWIG_fail;
4823 }
4824 if (obj6) {
4825 {
4826 arg7 = wxString_in_helper(obj6);
4827 if (arg7 == NULL) SWIG_fail;
4828 temp7 = true;
4829 }
4830 }
4831 {
4832 if (!wxPyCheckForApp()) SWIG_fail;
4833 PyThreadState* __tstate = wxPyBeginAllowThreads();
4834 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4835
4836 wxPyEndAllowThreads(__tstate);
4837 if (PyErr_Occurred()) SWIG_fail;
4838 }
4839 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
4840 {
4841 if (temp3)
4842 delete arg3;
4843 }
4844 {
4845 if (temp7)
4846 delete arg7;
4847 }
4848 return resultobj;
4849 fail:
4850 {
4851 if (temp3)
4852 delete arg3;
4853 }
4854 {
4855 if (temp7)
4856 delete arg7;
4857 }
4858 return NULL;
4859 }
4860
4861
4862 static PyObject *_wrap_new_PreMiniFrame(PyObject *, PyObject *args, PyObject *kwargs) {
4863 PyObject *resultobj;
4864 wxMiniFrame *result;
4865 char *kwnames[] = {
4866 NULL
4867 };
4868
4869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail;
4870 {
4871 if (!wxPyCheckForApp()) SWIG_fail;
4872 PyThreadState* __tstate = wxPyBeginAllowThreads();
4873 result = (wxMiniFrame *)new wxMiniFrame();
4874
4875 wxPyEndAllowThreads(__tstate);
4876 if (PyErr_Occurred()) SWIG_fail;
4877 }
4878 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
4879 return resultobj;
4880 fail:
4881 return NULL;
4882 }
4883
4884
4885 static PyObject *_wrap_MiniFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
4886 PyObject *resultobj;
4887 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
4888 wxWindow *arg2 = (wxWindow *) 0 ;
4889 int arg3 = (int) (int)-1 ;
4890 wxString const &arg4_defvalue = wxPyEmptyString ;
4891 wxString *arg4 = (wxString *) &arg4_defvalue ;
4892 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4893 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4894 wxSize const &arg6_defvalue = wxDefaultSize ;
4895 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4896 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
4897 wxString const &arg8_defvalue = wxPyFrameNameStr ;
4898 wxString *arg8 = (wxString *) &arg8_defvalue ;
4899 bool result;
4900 bool temp4 = false ;
4901 wxPoint temp5 ;
4902 wxSize temp6 ;
4903 bool temp8 = false ;
4904 PyObject * obj0 = 0 ;
4905 PyObject * obj1 = 0 ;
4906 PyObject * obj2 = 0 ;
4907 PyObject * obj3 = 0 ;
4908 PyObject * obj4 = 0 ;
4909 PyObject * obj5 = 0 ;
4910 PyObject * obj6 = 0 ;
4911 PyObject * obj7 = 0 ;
4912 char *kwnames[] = {
4913 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4914 };
4915
4916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4917 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMiniFrame,
4918 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4919 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4920 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4921 if (obj2) {
4922 arg3 = (int)SWIG_As_int(obj2);
4923 if (PyErr_Occurred()) SWIG_fail;
4924 }
4925 if (obj3) {
4926 {
4927 arg4 = wxString_in_helper(obj3);
4928 if (arg4 == NULL) SWIG_fail;
4929 temp4 = true;
4930 }
4931 }
4932 if (obj4) {
4933 {
4934 arg5 = &temp5;
4935 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4936 }
4937 }
4938 if (obj5) {
4939 {
4940 arg6 = &temp6;
4941 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4942 }
4943 }
4944 if (obj6) {
4945 arg7 = (long)SWIG_As_long(obj6);
4946 if (PyErr_Occurred()) SWIG_fail;
4947 }
4948 if (obj7) {
4949 {
4950 arg8 = wxString_in_helper(obj7);
4951 if (arg8 == NULL) SWIG_fail;
4952 temp8 = true;
4953 }
4954 }
4955 {
4956 PyThreadState* __tstate = wxPyBeginAllowThreads();
4957 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4958
4959 wxPyEndAllowThreads(__tstate);
4960 if (PyErr_Occurred()) SWIG_fail;
4961 }
4962 {
4963 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4964 }
4965 {
4966 if (temp4)
4967 delete arg4;
4968 }
4969 {
4970 if (temp8)
4971 delete arg8;
4972 }
4973 return resultobj;
4974 fail:
4975 {
4976 if (temp4)
4977 delete arg4;
4978 }
4979 {
4980 if (temp8)
4981 delete arg8;
4982 }
4983 return NULL;
4984 }
4985
4986
4987 static PyObject * MiniFrame_swigregister(PyObject *, PyObject *args) {
4988 PyObject *obj;
4989 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4990 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj);
4991 Py_INCREF(obj);
4992 return Py_BuildValue((char *)"");
4993 }
4994 static PyObject *_wrap_new_SplashScreenWindow(PyObject *, PyObject *args, PyObject *kwargs) {
4995 PyObject *resultobj;
4996 wxBitmap *arg1 = 0 ;
4997 wxWindow *arg2 = (wxWindow *) 0 ;
4998 int arg3 ;
4999 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5000 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5001 wxSize const &arg5_defvalue = wxDefaultSize ;
5002 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5003 long arg6 = (long) wxNO_BORDER ;
5004 wxSplashScreenWindow *result;
5005 wxPoint temp4 ;
5006 wxSize temp5 ;
5007 PyObject * obj0 = 0 ;
5008 PyObject * obj1 = 0 ;
5009 PyObject * obj2 = 0 ;
5010 PyObject * obj3 = 0 ;
5011 PyObject * obj4 = 0 ;
5012 PyObject * obj5 = 0 ;
5013 char *kwnames[] = {
5014 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
5015 };
5016
5017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
5018 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
5019 SWIG_POINTER_EXCEPTION | 0)) == -1)
5020 SWIG_fail;
5021 if (arg1 == NULL) {
5022 PyErr_SetString(PyExc_TypeError,"null reference");
5023 SWIG_fail;
5024 }
5025 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5026 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5027 arg3 = (int)SWIG_As_int(obj2);
5028 if (PyErr_Occurred()) SWIG_fail;
5029 if (obj3) {
5030 {
5031 arg4 = &temp4;
5032 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5033 }
5034 }
5035 if (obj4) {
5036 {
5037 arg5 = &temp5;
5038 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5039 }
5040 }
5041 if (obj5) {
5042 arg6 = (long)SWIG_As_long(obj5);
5043 if (PyErr_Occurred()) SWIG_fail;
5044 }
5045 {
5046 if (!wxPyCheckForApp()) SWIG_fail;
5047 PyThreadState* __tstate = wxPyBeginAllowThreads();
5048 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
5049
5050 wxPyEndAllowThreads(__tstate);
5051 if (PyErr_Occurred()) SWIG_fail;
5052 }
5053 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 1);
5054 return resultobj;
5055 fail:
5056 return NULL;
5057 }
5058
5059
5060 static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
5061 PyObject *resultobj;
5062 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
5063 wxBitmap *arg2 = 0 ;
5064 PyObject * obj0 = 0 ;
5065 PyObject * obj1 = 0 ;
5066 char *kwnames[] = {
5067 (char *) "self",(char *) "bitmap", NULL
5068 };
5069
5070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
5071 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow,
5072 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5073 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
5074 SWIG_POINTER_EXCEPTION | 0)) == -1)
5075 SWIG_fail;
5076 if (arg2 == NULL) {
5077 PyErr_SetString(PyExc_TypeError,"null reference");
5078 SWIG_fail;
5079 }
5080 {
5081 PyThreadState* __tstate = wxPyBeginAllowThreads();
5082 (arg1)->SetBitmap((wxBitmap const &)*arg2);
5083
5084 wxPyEndAllowThreads(__tstate);
5085 if (PyErr_Occurred()) SWIG_fail;
5086 }
5087 Py_INCREF(Py_None); resultobj = Py_None;
5088 return resultobj;
5089 fail:
5090 return NULL;
5091 }
5092
5093
5094 static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
5095 PyObject *resultobj;
5096 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
5097 wxBitmap *result;
5098 PyObject * obj0 = 0 ;
5099 char *kwnames[] = {
5100 (char *) "self", NULL
5101 };
5102
5103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail;
5104 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow,
5105 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5106 {
5107 PyThreadState* __tstate = wxPyBeginAllowThreads();
5108 {
5109 wxBitmap &_result_ref = (arg1)->GetBitmap();
5110 result = (wxBitmap *) &_result_ref;
5111 }
5112
5113 wxPyEndAllowThreads(__tstate);
5114 if (PyErr_Occurred()) SWIG_fail;
5115 }
5116 {
5117 wxBitmap* resultptr = new wxBitmap(*result);
5118 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
5119 }
5120 return resultobj;
5121 fail:
5122 return NULL;
5123 }
5124
5125
5126 static PyObject * SplashScreenWindow_swigregister(PyObject *, PyObject *args) {
5127 PyObject *obj;
5128 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5129 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj);
5130 Py_INCREF(obj);
5131 return Py_BuildValue((char *)"");
5132 }
5133 static PyObject *_wrap_new_SplashScreen(PyObject *, PyObject *args, PyObject *kwargs) {
5134 PyObject *resultobj;
5135 wxBitmap *arg1 = 0 ;
5136 long arg2 ;
5137 int arg3 ;
5138 wxWindow *arg4 = (wxWindow *) 0 ;
5139 int arg5 = (int) -1 ;
5140 wxPoint const &arg6_defvalue = wxDefaultPosition ;
5141 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
5142 wxSize const &arg7_defvalue = wxDefaultSize ;
5143 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
5144 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
5145 wxSplashScreen *result;
5146 wxPoint temp6 ;
5147 wxSize temp7 ;
5148 PyObject * obj0 = 0 ;
5149 PyObject * obj1 = 0 ;
5150 PyObject * obj2 = 0 ;
5151 PyObject * obj3 = 0 ;
5152 PyObject * obj4 = 0 ;
5153 PyObject * obj5 = 0 ;
5154 PyObject * obj6 = 0 ;
5155 PyObject * obj7 = 0 ;
5156 char *kwnames[] = {
5157 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
5158 };
5159
5160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
5161 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
5162 SWIG_POINTER_EXCEPTION | 0)) == -1)
5163 SWIG_fail;
5164 if (arg1 == NULL) {
5165 PyErr_SetString(PyExc_TypeError,"null reference");
5166 SWIG_fail;
5167 }
5168 arg2 = (long)SWIG_As_long(obj1);
5169 if (PyErr_Occurred()) SWIG_fail;
5170 arg3 = (int)SWIG_As_int(obj2);
5171 if (PyErr_Occurred()) SWIG_fail;
5172 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
5173 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5174 if (obj4) {
5175 arg5 = (int)SWIG_As_int(obj4);
5176 if (PyErr_Occurred()) SWIG_fail;
5177 }
5178 if (obj5) {
5179 {
5180 arg6 = &temp6;
5181 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
5182 }
5183 }
5184 if (obj6) {
5185 {
5186 arg7 = &temp7;
5187 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
5188 }
5189 }
5190 if (obj7) {
5191 arg8 = (long)SWIG_As_long(obj7);
5192 if (PyErr_Occurred()) SWIG_fail;
5193 }
5194 {
5195 if (!wxPyCheckForApp()) SWIG_fail;
5196 PyThreadState* __tstate = wxPyBeginAllowThreads();
5197 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
5198
5199 wxPyEndAllowThreads(__tstate);
5200 if (PyErr_Occurred()) SWIG_fail;
5201 }
5202 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreen, 1);
5203 return resultobj;
5204 fail:
5205 return NULL;
5206 }
5207
5208
5209 static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *, PyObject *args, PyObject *kwargs) {
5210 PyObject *resultobj;
5211 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
5212 long result;
5213 PyObject * obj0 = 0 ;
5214 char *kwnames[] = {
5215 (char *) "self", NULL
5216 };
5217
5218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail;
5219 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
5220 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5221 {
5222 PyThreadState* __tstate = wxPyBeginAllowThreads();
5223 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
5224
5225 wxPyEndAllowThreads(__tstate);
5226 if (PyErr_Occurred()) SWIG_fail;
5227 }
5228 resultobj = SWIG_From_long((long)result);
5229 return resultobj;
5230 fail:
5231 return NULL;
5232 }
5233
5234
5235 static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
5236 PyObject *resultobj;
5237 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
5238 wxSplashScreenWindow *result;
5239 PyObject * obj0 = 0 ;
5240 char *kwnames[] = {
5241 (char *) "self", NULL
5242 };
5243
5244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail;
5245 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
5246 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5247 {
5248 PyThreadState* __tstate = wxPyBeginAllowThreads();
5249 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
5250
5251 wxPyEndAllowThreads(__tstate);
5252 if (PyErr_Occurred()) SWIG_fail;
5253 }
5254 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 0);
5255 return resultobj;
5256 fail:
5257 return NULL;
5258 }
5259
5260
5261 static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *, PyObject *args, PyObject *kwargs) {
5262 PyObject *resultobj;
5263 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
5264 int result;
5265 PyObject * obj0 = 0 ;
5266 char *kwnames[] = {
5267 (char *) "self", NULL
5268 };
5269
5270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail;
5271 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
5272 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5273 {
5274 PyThreadState* __tstate = wxPyBeginAllowThreads();
5275 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
5276
5277 wxPyEndAllowThreads(__tstate);
5278 if (PyErr_Occurred()) SWIG_fail;
5279 }
5280 resultobj = SWIG_From_int((int)result);
5281 return resultobj;
5282 fail:
5283 return NULL;
5284 }
5285
5286
5287 static PyObject * SplashScreen_swigregister(PyObject *, PyObject *args) {
5288 PyObject *obj;
5289 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5290 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj);
5291 Py_INCREF(obj);
5292 return Py_BuildValue((char *)"");
5293 }
5294 static PyObject *_wrap_new_StatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
5295 PyObject *resultobj;
5296 wxWindow *arg1 = (wxWindow *) 0 ;
5297 int arg2 = (int) -1 ;
5298 long arg3 = (long) wxST_SIZEGRIP|wxFULL_REPAINT_ON_RESIZE ;
5299 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
5300 wxString *arg4 = (wxString *) &arg4_defvalue ;
5301 wxStatusBar *result;
5302 bool temp4 = false ;
5303 PyObject * obj0 = 0 ;
5304 PyObject * obj1 = 0 ;
5305 PyObject * obj2 = 0 ;
5306 PyObject * obj3 = 0 ;
5307 char *kwnames[] = {
5308 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5309 };
5310
5311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5312 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5313 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5314 if (obj1) {
5315 arg2 = (int)SWIG_As_int(obj1);
5316 if (PyErr_Occurred()) SWIG_fail;
5317 }
5318 if (obj2) {
5319 arg3 = (long)SWIG_As_long(obj2);
5320 if (PyErr_Occurred()) SWIG_fail;
5321 }
5322 if (obj3) {
5323 {
5324 arg4 = wxString_in_helper(obj3);
5325 if (arg4 == NULL) SWIG_fail;
5326 temp4 = true;
5327 }
5328 }
5329 {
5330 if (!wxPyCheckForApp()) SWIG_fail;
5331 PyThreadState* __tstate = wxPyBeginAllowThreads();
5332 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
5333
5334 wxPyEndAllowThreads(__tstate);
5335 if (PyErr_Occurred()) SWIG_fail;
5336 }
5337 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStatusBar, 1);
5338 {
5339 if (temp4)
5340 delete arg4;
5341 }
5342 return resultobj;
5343 fail:
5344 {
5345 if (temp4)
5346 delete arg4;
5347 }
5348 return NULL;
5349 }
5350
5351
5352 static PyObject *_wrap_new_PreStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
5353 PyObject *resultobj;
5354 wxStatusBar *result;
5355 char *kwnames[] = {
5356 NULL
5357 };
5358
5359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail;
5360 {
5361 if (!wxPyCheckForApp()) SWIG_fail;
5362 PyThreadState* __tstate = wxPyBeginAllowThreads();
5363 result = (wxStatusBar *)new wxStatusBar();
5364
5365 wxPyEndAllowThreads(__tstate);
5366 if (PyErr_Occurred()) SWIG_fail;
5367 }
5368 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStatusBar, 1);
5369 return resultobj;
5370 fail:
5371 return NULL;
5372 }
5373
5374
5375 static PyObject *_wrap_StatusBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
5376 PyObject *resultobj;
5377 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5378 wxWindow *arg2 = (wxWindow *) 0 ;
5379 int arg3 = (int) -1 ;
5380 long arg4 = (long) wxST_SIZEGRIP ;
5381 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
5382 wxString *arg5 = (wxString *) &arg5_defvalue ;
5383 bool result;
5384 bool temp5 = false ;
5385 PyObject * obj0 = 0 ;
5386 PyObject * obj1 = 0 ;
5387 PyObject * obj2 = 0 ;
5388 PyObject * obj3 = 0 ;
5389 PyObject * obj4 = 0 ;
5390 char *kwnames[] = {
5391 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5392 };
5393
5394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
5395 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5396 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5397 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5398 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5399 if (obj2) {
5400 arg3 = (int)SWIG_As_int(obj2);
5401 if (PyErr_Occurred()) SWIG_fail;
5402 }
5403 if (obj3) {
5404 arg4 = (long)SWIG_As_long(obj3);
5405 if (PyErr_Occurred()) SWIG_fail;
5406 }
5407 if (obj4) {
5408 {
5409 arg5 = wxString_in_helper(obj4);
5410 if (arg5 == NULL) SWIG_fail;
5411 temp5 = true;
5412 }
5413 }
5414 {
5415 PyThreadState* __tstate = wxPyBeginAllowThreads();
5416 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
5417
5418 wxPyEndAllowThreads(__tstate);
5419 if (PyErr_Occurred()) SWIG_fail;
5420 }
5421 {
5422 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5423 }
5424 {
5425 if (temp5)
5426 delete arg5;
5427 }
5428 return resultobj;
5429 fail:
5430 {
5431 if (temp5)
5432 delete arg5;
5433 }
5434 return NULL;
5435 }
5436
5437
5438 static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *, PyObject *args, PyObject *kwargs) {
5439 PyObject *resultobj;
5440 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5441 int arg2 = (int) 1 ;
5442 PyObject * obj0 = 0 ;
5443 PyObject * obj1 = 0 ;
5444 char *kwnames[] = {
5445 (char *) "self",(char *) "number", NULL
5446 };
5447
5448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) goto fail;
5449 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5450 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5451 if (obj1) {
5452 arg2 = (int)SWIG_As_int(obj1);
5453 if (PyErr_Occurred()) SWIG_fail;
5454 }
5455 {
5456 PyThreadState* __tstate = wxPyBeginAllowThreads();
5457 (arg1)->SetFieldsCount(arg2);
5458
5459 wxPyEndAllowThreads(__tstate);
5460 if (PyErr_Occurred()) SWIG_fail;
5461 }
5462 Py_INCREF(Py_None); resultobj = Py_None;
5463 return resultobj;
5464 fail:
5465 return NULL;
5466 }
5467
5468
5469 static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *, PyObject *args, PyObject *kwargs) {
5470 PyObject *resultobj;
5471 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5472 int result;
5473 PyObject * obj0 = 0 ;
5474 char *kwnames[] = {
5475 (char *) "self", NULL
5476 };
5477
5478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail;
5479 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5480 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5481 {
5482 PyThreadState* __tstate = wxPyBeginAllowThreads();
5483 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
5484
5485 wxPyEndAllowThreads(__tstate);
5486 if (PyErr_Occurred()) SWIG_fail;
5487 }
5488 resultobj = SWIG_From_int((int)result);
5489 return resultobj;
5490 fail:
5491 return NULL;
5492 }
5493
5494
5495 static PyObject *_wrap_StatusBar_SetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
5496 PyObject *resultobj;
5497 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5498 wxString *arg2 = 0 ;
5499 int arg3 = (int) 0 ;
5500 bool temp2 = false ;
5501 PyObject * obj0 = 0 ;
5502 PyObject * obj1 = 0 ;
5503 PyObject * obj2 = 0 ;
5504 char *kwnames[] = {
5505 (char *) "self",(char *) "text",(char *) "number", NULL
5506 };
5507
5508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5509 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5510 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5511 {
5512 arg2 = wxString_in_helper(obj1);
5513 if (arg2 == NULL) SWIG_fail;
5514 temp2 = true;
5515 }
5516 if (obj2) {
5517 arg3 = (int)SWIG_As_int(obj2);
5518 if (PyErr_Occurred()) SWIG_fail;
5519 }
5520 {
5521 PyThreadState* __tstate = wxPyBeginAllowThreads();
5522 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
5523
5524 wxPyEndAllowThreads(__tstate);
5525 if (PyErr_Occurred()) SWIG_fail;
5526 }
5527 Py_INCREF(Py_None); resultobj = Py_None;
5528 {
5529 if (temp2)
5530 delete arg2;
5531 }
5532 return resultobj;
5533 fail:
5534 {
5535 if (temp2)
5536 delete arg2;
5537 }
5538 return NULL;
5539 }
5540
5541
5542 static PyObject *_wrap_StatusBar_GetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
5543 PyObject *resultobj;
5544 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5545 int arg2 = (int) 0 ;
5546 wxString result;
5547 PyObject * obj0 = 0 ;
5548 PyObject * obj1 = 0 ;
5549 char *kwnames[] = {
5550 (char *) "self",(char *) "number", NULL
5551 };
5552
5553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) goto fail;
5554 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5555 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5556 if (obj1) {
5557 arg2 = (int)SWIG_As_int(obj1);
5558 if (PyErr_Occurred()) SWIG_fail;
5559 }
5560 {
5561 PyThreadState* __tstate = wxPyBeginAllowThreads();
5562 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
5563
5564 wxPyEndAllowThreads(__tstate);
5565 if (PyErr_Occurred()) SWIG_fail;
5566 }
5567 {
5568 #if wxUSE_UNICODE
5569 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5570 #else
5571 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5572 #endif
5573 }
5574 return resultobj;
5575 fail:
5576 return NULL;
5577 }
5578
5579
5580 static PyObject *_wrap_StatusBar_PushStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
5581 PyObject *resultobj;
5582 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5583 wxString *arg2 = 0 ;
5584 int arg3 = (int) 0 ;
5585 bool temp2 = false ;
5586 PyObject * obj0 = 0 ;
5587 PyObject * obj1 = 0 ;
5588 PyObject * obj2 = 0 ;
5589 char *kwnames[] = {
5590 (char *) "self",(char *) "text",(char *) "number", NULL
5591 };
5592
5593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5594 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5595 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5596 {
5597 arg2 = wxString_in_helper(obj1);
5598 if (arg2 == NULL) SWIG_fail;
5599 temp2 = true;
5600 }
5601 if (obj2) {
5602 arg3 = (int)SWIG_As_int(obj2);
5603 if (PyErr_Occurred()) SWIG_fail;
5604 }
5605 {
5606 PyThreadState* __tstate = wxPyBeginAllowThreads();
5607 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
5608
5609 wxPyEndAllowThreads(__tstate);
5610 if (PyErr_Occurred()) SWIG_fail;
5611 }
5612 Py_INCREF(Py_None); resultobj = Py_None;
5613 {
5614 if (temp2)
5615 delete arg2;
5616 }
5617 return resultobj;
5618 fail:
5619 {
5620 if (temp2)
5621 delete arg2;
5622 }
5623 return NULL;
5624 }
5625
5626
5627 static PyObject *_wrap_StatusBar_PopStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
5628 PyObject *resultobj;
5629 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5630 int arg2 = (int) 0 ;
5631 PyObject * obj0 = 0 ;
5632 PyObject * obj1 = 0 ;
5633 char *kwnames[] = {
5634 (char *) "self",(char *) "number", NULL
5635 };
5636
5637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
5638 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5639 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5640 if (obj1) {
5641 arg2 = (int)SWIG_As_int(obj1);
5642 if (PyErr_Occurred()) SWIG_fail;
5643 }
5644 {
5645 PyThreadState* __tstate = wxPyBeginAllowThreads();
5646 (arg1)->PopStatusText(arg2);
5647
5648 wxPyEndAllowThreads(__tstate);
5649 if (PyErr_Occurred()) SWIG_fail;
5650 }
5651 Py_INCREF(Py_None); resultobj = Py_None;
5652 return resultobj;
5653 fail:
5654 return NULL;
5655 }
5656
5657
5658 static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *, PyObject *args, PyObject *kwargs) {
5659 PyObject *resultobj;
5660 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5661 int arg2 ;
5662 int *arg3 = (int *) 0 ;
5663 PyObject * obj0 = 0 ;
5664 PyObject * obj1 = 0 ;
5665 char *kwnames[] = {
5666 (char *) "self",(char *) "widths", NULL
5667 };
5668
5669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
5670 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5671 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5672 {
5673 arg2 = PyList_Size(obj1);
5674 arg3 = int_LIST_helper(obj1);
5675 if (arg3 == NULL) SWIG_fail;
5676 }
5677 {
5678 PyThreadState* __tstate = wxPyBeginAllowThreads();
5679 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
5680
5681 wxPyEndAllowThreads(__tstate);
5682 if (PyErr_Occurred()) SWIG_fail;
5683 }
5684 Py_INCREF(Py_None); resultobj = Py_None;
5685 {
5686 if (arg3) delete [] arg3;
5687 }
5688 return resultobj;
5689 fail:
5690 {
5691 if (arg3) delete [] arg3;
5692 }
5693 return NULL;
5694 }
5695
5696
5697 static PyObject *_wrap_StatusBar_SetStatusStyles(PyObject *, PyObject *args, PyObject *kwargs) {
5698 PyObject *resultobj;
5699 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5700 int arg2 ;
5701 int *arg3 = (int *) 0 ;
5702 PyObject * obj0 = 0 ;
5703 PyObject * obj1 = 0 ;
5704 char *kwnames[] = {
5705 (char *) "self",(char *) "styles", NULL
5706 };
5707
5708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusStyles",kwnames,&obj0,&obj1)) goto fail;
5709 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5710 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5711 {
5712 arg2 = PyList_Size(obj1);
5713 arg3 = int_LIST_helper(obj1);
5714 if (arg3 == NULL) SWIG_fail;
5715 }
5716 {
5717 PyThreadState* __tstate = wxPyBeginAllowThreads();
5718 (arg1)->SetStatusStyles(arg2,(int const *)arg3);
5719
5720 wxPyEndAllowThreads(__tstate);
5721 if (PyErr_Occurred()) SWIG_fail;
5722 }
5723 Py_INCREF(Py_None); resultobj = Py_None;
5724 {
5725 if (arg3) delete [] arg3;
5726 }
5727 return resultobj;
5728 fail:
5729 {
5730 if (arg3) delete [] arg3;
5731 }
5732 return NULL;
5733 }
5734
5735
5736 static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *, PyObject *args, PyObject *kwargs) {
5737 PyObject *resultobj;
5738 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5739 int arg2 ;
5740 wxRect result;
5741 PyObject * obj0 = 0 ;
5742 PyObject * obj1 = 0 ;
5743 char *kwnames[] = {
5744 (char *) "self",(char *) "i", NULL
5745 };
5746
5747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) goto fail;
5748 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5749 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5750 arg2 = (int)SWIG_As_int(obj1);
5751 if (PyErr_Occurred()) SWIG_fail;
5752 {
5753 PyThreadState* __tstate = wxPyBeginAllowThreads();
5754 result = wxStatusBar_GetFieldRect(arg1,arg2);
5755
5756 wxPyEndAllowThreads(__tstate);
5757 if (PyErr_Occurred()) SWIG_fail;
5758 }
5759 {
5760 wxRect * resultptr;
5761 resultptr = new wxRect((wxRect &) result);
5762 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
5763 }
5764 return resultobj;
5765 fail:
5766 return NULL;
5767 }
5768
5769
5770 static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *, PyObject *args, PyObject *kwargs) {
5771 PyObject *resultobj;
5772 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5773 int arg2 ;
5774 PyObject * obj0 = 0 ;
5775 PyObject * obj1 = 0 ;
5776 char *kwnames[] = {
5777 (char *) "self",(char *) "height", NULL
5778 };
5779
5780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) goto fail;
5781 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5782 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5783 arg2 = (int)SWIG_As_int(obj1);
5784 if (PyErr_Occurred()) SWIG_fail;
5785 {
5786 PyThreadState* __tstate = wxPyBeginAllowThreads();
5787 (arg1)->SetMinHeight(arg2);
5788
5789 wxPyEndAllowThreads(__tstate);
5790 if (PyErr_Occurred()) SWIG_fail;
5791 }
5792 Py_INCREF(Py_None); resultobj = Py_None;
5793 return resultobj;
5794 fail:
5795 return NULL;
5796 }
5797
5798
5799 static PyObject *_wrap_StatusBar_GetBorderX(PyObject *, PyObject *args, PyObject *kwargs) {
5800 PyObject *resultobj;
5801 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5802 int result;
5803 PyObject * obj0 = 0 ;
5804 char *kwnames[] = {
5805 (char *) "self", NULL
5806 };
5807
5808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail;
5809 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5810 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5811 {
5812 PyThreadState* __tstate = wxPyBeginAllowThreads();
5813 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
5814
5815 wxPyEndAllowThreads(__tstate);
5816 if (PyErr_Occurred()) SWIG_fail;
5817 }
5818 resultobj = SWIG_From_int((int)result);
5819 return resultobj;
5820 fail:
5821 return NULL;
5822 }
5823
5824
5825 static PyObject *_wrap_StatusBar_GetBorderY(PyObject *, PyObject *args, PyObject *kwargs) {
5826 PyObject *resultobj;
5827 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5828 int result;
5829 PyObject * obj0 = 0 ;
5830 char *kwnames[] = {
5831 (char *) "self", NULL
5832 };
5833
5834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail;
5835 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5836 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5837 {
5838 PyThreadState* __tstate = wxPyBeginAllowThreads();
5839 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
5840
5841 wxPyEndAllowThreads(__tstate);
5842 if (PyErr_Occurred()) SWIG_fail;
5843 }
5844 resultobj = SWIG_From_int((int)result);
5845 return resultobj;
5846 fail:
5847 return NULL;
5848 }
5849
5850
5851 static PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
5852 PyObject *resultobj;
5853 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
5854 wxVisualAttributes result;
5855 PyObject * obj0 = 0 ;
5856 char *kwnames[] = {
5857 (char *) "variant", NULL
5858 };
5859
5860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5861 if (obj0) {
5862 arg1 = (int)SWIG_As_int(obj0);
5863 if (PyErr_Occurred()) SWIG_fail;
5864 }
5865 {
5866 if (!wxPyCheckForApp()) SWIG_fail;
5867 PyThreadState* __tstate = wxPyBeginAllowThreads();
5868 result = wxStatusBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
5869
5870 wxPyEndAllowThreads(__tstate);
5871 if (PyErr_Occurred()) SWIG_fail;
5872 }
5873 {
5874 wxVisualAttributes * resultptr;
5875 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
5876 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5877 }
5878 return resultobj;
5879 fail:
5880 return NULL;
5881 }
5882
5883
5884 static PyObject * StatusBar_swigregister(PyObject *, PyObject *args) {
5885 PyObject *obj;
5886 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5887 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj);
5888 Py_INCREF(obj);
5889 return Py_BuildValue((char *)"");
5890 }
5891 static int _wrap_SplitterNameStr_set(PyObject *) {
5892 PyErr_SetString(PyExc_TypeError,"Variable SplitterNameStr is read-only.");
5893 return 1;
5894 }
5895
5896
5897 static PyObject *_wrap_SplitterNameStr_get() {
5898 PyObject *pyobj;
5899
5900 {
5901 #if wxUSE_UNICODE
5902 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
5903 #else
5904 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
5905 #endif
5906 }
5907 return pyobj;
5908 }
5909
5910
5911 static PyObject *_wrap_new_SplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) {
5912 PyObject *resultobj;
5913 wxWindow *arg1 = (wxWindow *) 0 ;
5914 int arg2 = (int) -1 ;
5915 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5916 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5917 wxSize const &arg4_defvalue = wxDefaultSize ;
5918 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5919 long arg5 = (long) wxSP_3D ;
5920 wxString const &arg6_defvalue = wxPySplitterNameStr ;
5921 wxString *arg6 = (wxString *) &arg6_defvalue ;
5922 wxSplitterWindow *result;
5923 wxPoint temp3 ;
5924 wxSize temp4 ;
5925 bool temp6 = false ;
5926 PyObject * obj0 = 0 ;
5927 PyObject * obj1 = 0 ;
5928 PyObject * obj2 = 0 ;
5929 PyObject * obj3 = 0 ;
5930 PyObject * obj4 = 0 ;
5931 PyObject * obj5 = 0 ;
5932 char *kwnames[] = {
5933 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5934 };
5935
5936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
5937 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5938 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5939 if (obj1) {
5940 arg2 = (int)SWIG_As_int(obj1);
5941 if (PyErr_Occurred()) SWIG_fail;
5942 }
5943 if (obj2) {
5944 {
5945 arg3 = &temp3;
5946 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5947 }
5948 }
5949 if (obj3) {
5950 {
5951 arg4 = &temp4;
5952 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5953 }
5954 }
5955 if (obj4) {
5956 arg5 = (long)SWIG_As_long(obj4);
5957 if (PyErr_Occurred()) SWIG_fail;
5958 }
5959 if (obj5) {
5960 {
5961 arg6 = wxString_in_helper(obj5);
5962 if (arg6 == NULL) SWIG_fail;
5963 temp6 = true;
5964 }
5965 }
5966 {
5967 if (!wxPyCheckForApp()) SWIG_fail;
5968 PyThreadState* __tstate = wxPyBeginAllowThreads();
5969 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
5970
5971 wxPyEndAllowThreads(__tstate);
5972 if (PyErr_Occurred()) SWIG_fail;
5973 }
5974 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
5975 {
5976 if (temp6)
5977 delete arg6;
5978 }
5979 return resultobj;
5980 fail:
5981 {
5982 if (temp6)
5983 delete arg6;
5984 }
5985 return NULL;
5986 }
5987
5988
5989 static PyObject *_wrap_new_PreSplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) {
5990 PyObject *resultobj;
5991 wxSplitterWindow *result;
5992 char *kwnames[] = {
5993 NULL
5994 };
5995
5996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail;
5997 {
5998 if (!wxPyCheckForApp()) SWIG_fail;
5999 PyThreadState* __tstate = wxPyBeginAllowThreads();
6000 result = (wxSplitterWindow *)new wxSplitterWindow();
6001
6002 wxPyEndAllowThreads(__tstate);
6003 if (PyErr_Occurred()) SWIG_fail;
6004 }
6005 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
6006 return resultobj;
6007 fail:
6008 return NULL;
6009 }
6010
6011
6012 static PyObject *_wrap_SplitterWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
6013 PyObject *resultobj;
6014 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6015 wxWindow *arg2 = (wxWindow *) 0 ;
6016 int arg3 = (int) -1 ;
6017 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6018 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6019 wxSize const &arg5_defvalue = wxDefaultSize ;
6020 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6021 long arg6 = (long) wxSP_3D ;
6022 wxString const &arg7_defvalue = wxPySplitterNameStr ;
6023 wxString *arg7 = (wxString *) &arg7_defvalue ;
6024 bool result;
6025 wxPoint temp4 ;
6026 wxSize temp5 ;
6027 bool temp7 = false ;
6028 PyObject * obj0 = 0 ;
6029 PyObject * obj1 = 0 ;
6030 PyObject * obj2 = 0 ;
6031 PyObject * obj3 = 0 ;
6032 PyObject * obj4 = 0 ;
6033 PyObject * obj5 = 0 ;
6034 PyObject * obj6 = 0 ;
6035 char *kwnames[] = {
6036 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6037 };
6038
6039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
6040 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6041 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6042 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6043 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6044 if (obj2) {
6045 arg3 = (int)SWIG_As_int(obj2);
6046 if (PyErr_Occurred()) SWIG_fail;
6047 }
6048 if (obj3) {
6049 {
6050 arg4 = &temp4;
6051 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6052 }
6053 }
6054 if (obj4) {
6055 {
6056 arg5 = &temp5;
6057 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6058 }
6059 }
6060 if (obj5) {
6061 arg6 = (long)SWIG_As_long(obj5);
6062 if (PyErr_Occurred()) SWIG_fail;
6063 }
6064 if (obj6) {
6065 {
6066 arg7 = wxString_in_helper(obj6);
6067 if (arg7 == NULL) SWIG_fail;
6068 temp7 = true;
6069 }
6070 }
6071 {
6072 PyThreadState* __tstate = wxPyBeginAllowThreads();
6073 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6074
6075 wxPyEndAllowThreads(__tstate);
6076 if (PyErr_Occurred()) SWIG_fail;
6077 }
6078 {
6079 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6080 }
6081 {
6082 if (temp7)
6083 delete arg7;
6084 }
6085 return resultobj;
6086 fail:
6087 {
6088 if (temp7)
6089 delete arg7;
6090 }
6091 return NULL;
6092 }
6093
6094
6095 static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *, PyObject *args, PyObject *kwargs) {
6096 PyObject *resultobj;
6097 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6098 wxWindow *result;
6099 PyObject * obj0 = 0 ;
6100 char *kwnames[] = {
6101 (char *) "self", NULL
6102 };
6103
6104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail;
6105 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6106 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6107 {
6108 PyThreadState* __tstate = wxPyBeginAllowThreads();
6109 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
6110
6111 wxPyEndAllowThreads(__tstate);
6112 if (PyErr_Occurred()) SWIG_fail;
6113 }
6114 {
6115 resultobj = wxPyMake_wxObject(result, 0);
6116 }
6117 return resultobj;
6118 fail:
6119 return NULL;
6120 }
6121
6122
6123 static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *, PyObject *args, PyObject *kwargs) {
6124 PyObject *resultobj;
6125 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6126 wxWindow *result;
6127 PyObject * obj0 = 0 ;
6128 char *kwnames[] = {
6129 (char *) "self", NULL
6130 };
6131
6132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail;
6133 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6134 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6135 {
6136 PyThreadState* __tstate = wxPyBeginAllowThreads();
6137 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
6138
6139 wxPyEndAllowThreads(__tstate);
6140 if (PyErr_Occurred()) SWIG_fail;
6141 }
6142 {
6143 resultobj = wxPyMake_wxObject(result, 0);
6144 }
6145 return resultobj;
6146 fail:
6147 return NULL;
6148 }
6149
6150
6151 static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *, PyObject *args, PyObject *kwargs) {
6152 PyObject *resultobj;
6153 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6154 int arg2 ;
6155 PyObject * obj0 = 0 ;
6156 PyObject * obj1 = 0 ;
6157 char *kwnames[] = {
6158 (char *) "self",(char *) "mode", NULL
6159 };
6160
6161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) goto fail;
6162 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6163 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6164 arg2 = (int)SWIG_As_int(obj1);
6165 if (PyErr_Occurred()) SWIG_fail;
6166 {
6167 PyThreadState* __tstate = wxPyBeginAllowThreads();
6168 (arg1)->SetSplitMode(arg2);
6169
6170 wxPyEndAllowThreads(__tstate);
6171 if (PyErr_Occurred()) SWIG_fail;
6172 }
6173 Py_INCREF(Py_None); resultobj = Py_None;
6174 return resultobj;
6175 fail:
6176 return NULL;
6177 }
6178
6179
6180 static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *, PyObject *args, PyObject *kwargs) {
6181 PyObject *resultobj;
6182 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6183 int result;
6184 PyObject * obj0 = 0 ;
6185 char *kwnames[] = {
6186 (char *) "self", NULL
6187 };
6188
6189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail;
6190 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6191 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6192 {
6193 PyThreadState* __tstate = wxPyBeginAllowThreads();
6194 result = (int)((wxSplitterWindow const *)arg1)->GetSplitMode();
6195
6196 wxPyEndAllowThreads(__tstate);
6197 if (PyErr_Occurred()) SWIG_fail;
6198 }
6199 resultobj = SWIG_From_int((int)result);
6200 return resultobj;
6201 fail:
6202 return NULL;
6203 }
6204
6205
6206 static PyObject *_wrap_SplitterWindow_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
6207 PyObject *resultobj;
6208 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6209 wxWindow *arg2 = (wxWindow *) 0 ;
6210 PyObject * obj0 = 0 ;
6211 PyObject * obj1 = 0 ;
6212 char *kwnames[] = {
6213 (char *) "self",(char *) "window", NULL
6214 };
6215
6216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail;
6217 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6218 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6219 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6220 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6221 {
6222 PyThreadState* __tstate = wxPyBeginAllowThreads();
6223 (arg1)->Initialize(arg2);
6224
6225 wxPyEndAllowThreads(__tstate);
6226 if (PyErr_Occurred()) SWIG_fail;
6227 }
6228 Py_INCREF(Py_None); resultobj = Py_None;
6229 return resultobj;
6230 fail:
6231 return NULL;
6232 }
6233
6234
6235 static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *, PyObject *args, PyObject *kwargs) {
6236 PyObject *resultobj;
6237 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6238 wxWindow *arg2 = (wxWindow *) 0 ;
6239 wxWindow *arg3 = (wxWindow *) 0 ;
6240 int arg4 = (int) 0 ;
6241 bool result;
6242 PyObject * obj0 = 0 ;
6243 PyObject * obj1 = 0 ;
6244 PyObject * obj2 = 0 ;
6245 PyObject * obj3 = 0 ;
6246 char *kwnames[] = {
6247 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
6248 };
6249
6250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6251 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6252 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6253 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6254 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6255 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
6256 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6257 if (obj3) {
6258 arg4 = (int)SWIG_As_int(obj3);
6259 if (PyErr_Occurred()) SWIG_fail;
6260 }
6261 {
6262 PyThreadState* __tstate = wxPyBeginAllowThreads();
6263 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
6264
6265 wxPyEndAllowThreads(__tstate);
6266 if (PyErr_Occurred()) SWIG_fail;
6267 }
6268 {
6269 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6270 }
6271 return resultobj;
6272 fail:
6273 return NULL;
6274 }
6275
6276
6277 static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *, PyObject *args, PyObject *kwargs) {
6278 PyObject *resultobj;
6279 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6280 wxWindow *arg2 = (wxWindow *) 0 ;
6281 wxWindow *arg3 = (wxWindow *) 0 ;
6282 int arg4 = (int) 0 ;
6283 bool result;
6284 PyObject * obj0 = 0 ;
6285 PyObject * obj1 = 0 ;
6286 PyObject * obj2 = 0 ;
6287 PyObject * obj3 = 0 ;
6288 char *kwnames[] = {
6289 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
6290 };
6291
6292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6293 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6294 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6295 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6296 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6297 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
6298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6299 if (obj3) {
6300 arg4 = (int)SWIG_As_int(obj3);
6301 if (PyErr_Occurred()) SWIG_fail;
6302 }
6303 {
6304 PyThreadState* __tstate = wxPyBeginAllowThreads();
6305 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
6306
6307 wxPyEndAllowThreads(__tstate);
6308 if (PyErr_Occurred()) SWIG_fail;
6309 }
6310 {
6311 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6312 }
6313 return resultobj;
6314 fail:
6315 return NULL;
6316 }
6317
6318
6319 static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *, PyObject *args, PyObject *kwargs) {
6320 PyObject *resultobj;
6321 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6322 wxWindow *arg2 = (wxWindow *) NULL ;
6323 bool result;
6324 PyObject * obj0 = 0 ;
6325 PyObject * obj1 = 0 ;
6326 char *kwnames[] = {
6327 (char *) "self",(char *) "toRemove", NULL
6328 };
6329
6330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail;
6331 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6332 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6333 if (obj1) {
6334 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6335 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6336 }
6337 {
6338 PyThreadState* __tstate = wxPyBeginAllowThreads();
6339 result = (bool)(arg1)->Unsplit(arg2);
6340
6341 wxPyEndAllowThreads(__tstate);
6342 if (PyErr_Occurred()) SWIG_fail;
6343 }
6344 {
6345 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6346 }
6347 return resultobj;
6348 fail:
6349 return NULL;
6350 }
6351
6352
6353 static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *, PyObject *args, PyObject *kwargs) {
6354 PyObject *resultobj;
6355 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6356 wxWindow *arg2 = (wxWindow *) 0 ;
6357 wxWindow *arg3 = (wxWindow *) 0 ;
6358 bool result;
6359 PyObject * obj0 = 0 ;
6360 PyObject * obj1 = 0 ;
6361 PyObject * obj2 = 0 ;
6362 char *kwnames[] = {
6363 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
6364 };
6365
6366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
6367 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6368 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6369 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6370 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6371 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
6372 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6373 {
6374 PyThreadState* __tstate = wxPyBeginAllowThreads();
6375 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
6376
6377 wxPyEndAllowThreads(__tstate);
6378 if (PyErr_Occurred()) SWIG_fail;
6379 }
6380 {
6381 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6382 }
6383 return resultobj;
6384 fail:
6385 return NULL;
6386 }
6387
6388
6389 static PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *, PyObject *args, PyObject *kwargs) {
6390 PyObject *resultobj;
6391 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6392 PyObject * obj0 = 0 ;
6393 char *kwnames[] = {
6394 (char *) "self", NULL
6395 };
6396
6397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_UpdateSize",kwnames,&obj0)) goto fail;
6398 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6399 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6400 {
6401 PyThreadState* __tstate = wxPyBeginAllowThreads();
6402 (arg1)->UpdateSize();
6403
6404 wxPyEndAllowThreads(__tstate);
6405 if (PyErr_Occurred()) SWIG_fail;
6406 }
6407 Py_INCREF(Py_None); resultobj = Py_None;
6408 return resultobj;
6409 fail:
6410 return NULL;
6411 }
6412
6413
6414 static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *, PyObject *args, PyObject *kwargs) {
6415 PyObject *resultobj;
6416 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6417 bool result;
6418 PyObject * obj0 = 0 ;
6419 char *kwnames[] = {
6420 (char *) "self", NULL
6421 };
6422
6423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail;
6424 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6425 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6426 {
6427 PyThreadState* __tstate = wxPyBeginAllowThreads();
6428 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
6429
6430 wxPyEndAllowThreads(__tstate);
6431 if (PyErr_Occurred()) SWIG_fail;
6432 }
6433 {
6434 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6435 }
6436 return resultobj;
6437 fail:
6438 return NULL;
6439 }
6440
6441
6442 static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *, PyObject *args, PyObject *kwargs) {
6443 PyObject *resultobj;
6444 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6445 int arg2 ;
6446 PyObject * obj0 = 0 ;
6447 PyObject * obj1 = 0 ;
6448 char *kwnames[] = {
6449 (char *) "self",(char *) "width", NULL
6450 };
6451
6452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) goto fail;
6453 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6454 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6455 arg2 = (int)SWIG_As_int(obj1);
6456 if (PyErr_Occurred()) SWIG_fail;
6457 {
6458 PyThreadState* __tstate = wxPyBeginAllowThreads();
6459 (arg1)->SetSashSize(arg2);
6460
6461 wxPyEndAllowThreads(__tstate);
6462 if (PyErr_Occurred()) SWIG_fail;
6463 }
6464 Py_INCREF(Py_None); resultobj = Py_None;
6465 return resultobj;
6466 fail:
6467 return NULL;
6468 }
6469
6470
6471 static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
6472 PyObject *resultobj;
6473 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6474 int arg2 ;
6475 PyObject * obj0 = 0 ;
6476 PyObject * obj1 = 0 ;
6477 char *kwnames[] = {
6478 (char *) "self",(char *) "width", NULL
6479 };
6480
6481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) goto fail;
6482 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6483 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6484 arg2 = (int)SWIG_As_int(obj1);
6485 if (PyErr_Occurred()) SWIG_fail;
6486 {
6487 PyThreadState* __tstate = wxPyBeginAllowThreads();
6488 (arg1)->SetBorderSize(arg2);
6489
6490 wxPyEndAllowThreads(__tstate);
6491 if (PyErr_Occurred()) SWIG_fail;
6492 }
6493 Py_INCREF(Py_None); resultobj = Py_None;
6494 return resultobj;
6495 fail:
6496 return NULL;
6497 }
6498
6499
6500 static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *, PyObject *args, PyObject *kwargs) {
6501 PyObject *resultobj;
6502 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6503 int result;
6504 PyObject * obj0 = 0 ;
6505 char *kwnames[] = {
6506 (char *) "self", NULL
6507 };
6508
6509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail;
6510 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6511 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6512 {
6513 PyThreadState* __tstate = wxPyBeginAllowThreads();
6514 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
6515
6516 wxPyEndAllowThreads(__tstate);
6517 if (PyErr_Occurred()) SWIG_fail;
6518 }
6519 resultobj = SWIG_From_int((int)result);
6520 return resultobj;
6521 fail:
6522 return NULL;
6523 }
6524
6525
6526 static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
6527 PyObject *resultobj;
6528 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6529 int result;
6530 PyObject * obj0 = 0 ;
6531 char *kwnames[] = {
6532 (char *) "self", NULL
6533 };
6534
6535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail;
6536 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6537 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6538 {
6539 PyThreadState* __tstate = wxPyBeginAllowThreads();
6540 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
6541
6542 wxPyEndAllowThreads(__tstate);
6543 if (PyErr_Occurred()) SWIG_fail;
6544 }
6545 resultobj = SWIG_From_int((int)result);
6546 return resultobj;
6547 fail:
6548 return NULL;
6549 }
6550
6551
6552 static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
6553 PyObject *resultobj;
6554 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6555 int arg2 ;
6556 bool arg3 = (bool) true ;
6557 PyObject * obj0 = 0 ;
6558 PyObject * obj1 = 0 ;
6559 PyObject * obj2 = 0 ;
6560 char *kwnames[] = {
6561 (char *) "self",(char *) "position",(char *) "redraw", NULL
6562 };
6563
6564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
6565 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6566 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6567 arg2 = (int)SWIG_As_int(obj1);
6568 if (PyErr_Occurred()) SWIG_fail;
6569 if (obj2) {
6570 arg3 = (bool)SWIG_As_bool(obj2);
6571 if (PyErr_Occurred()) SWIG_fail;
6572 }
6573 {
6574 PyThreadState* __tstate = wxPyBeginAllowThreads();
6575 (arg1)->SetSashPosition(arg2,arg3);
6576
6577 wxPyEndAllowThreads(__tstate);
6578 if (PyErr_Occurred()) SWIG_fail;
6579 }
6580 Py_INCREF(Py_None); resultobj = Py_None;
6581 return resultobj;
6582 fail:
6583 return NULL;
6584 }
6585
6586
6587 static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
6588 PyObject *resultobj;
6589 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6590 int result;
6591 PyObject * obj0 = 0 ;
6592 char *kwnames[] = {
6593 (char *) "self", NULL
6594 };
6595
6596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail;
6597 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6598 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6599 {
6600 PyThreadState* __tstate = wxPyBeginAllowThreads();
6601 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
6602
6603 wxPyEndAllowThreads(__tstate);
6604 if (PyErr_Occurred()) SWIG_fail;
6605 }
6606 resultobj = SWIG_From_int((int)result);
6607 return resultobj;
6608 fail:
6609 return NULL;
6610 }
6611
6612
6613 static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *, PyObject *args, PyObject *kwargs) {
6614 PyObject *resultobj;
6615 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6616 int arg2 ;
6617 PyObject * obj0 = 0 ;
6618 PyObject * obj1 = 0 ;
6619 char *kwnames[] = {
6620 (char *) "self",(char *) "min", NULL
6621 };
6622
6623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) goto fail;
6624 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6625 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6626 arg2 = (int)SWIG_As_int(obj1);
6627 if (PyErr_Occurred()) SWIG_fail;
6628 {
6629 PyThreadState* __tstate = wxPyBeginAllowThreads();
6630 (arg1)->SetMinimumPaneSize(arg2);
6631
6632 wxPyEndAllowThreads(__tstate);
6633 if (PyErr_Occurred()) SWIG_fail;
6634 }
6635 Py_INCREF(Py_None); resultobj = Py_None;
6636 return resultobj;
6637 fail:
6638 return NULL;
6639 }
6640
6641
6642 static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *, PyObject *args, PyObject *kwargs) {
6643 PyObject *resultobj;
6644 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6645 int result;
6646 PyObject * obj0 = 0 ;
6647 char *kwnames[] = {
6648 (char *) "self", NULL
6649 };
6650
6651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail;
6652 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6653 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6654 {
6655 PyThreadState* __tstate = wxPyBeginAllowThreads();
6656 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
6657
6658 wxPyEndAllowThreads(__tstate);
6659 if (PyErr_Occurred()) SWIG_fail;
6660 }
6661 resultobj = SWIG_From_int((int)result);
6662 return resultobj;
6663 fail:
6664 return NULL;
6665 }
6666
6667
6668 static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *, PyObject *args, PyObject *kwargs) {
6669 PyObject *resultobj;
6670 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6671 int arg2 ;
6672 int arg3 ;
6673 int arg4 = (int) 5 ;
6674 bool result;
6675 PyObject * obj0 = 0 ;
6676 PyObject * obj1 = 0 ;
6677 PyObject * obj2 = 0 ;
6678 PyObject * obj3 = 0 ;
6679 char *kwnames[] = {
6680 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6681 };
6682
6683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6684 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6685 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6686 arg2 = (int)SWIG_As_int(obj1);
6687 if (PyErr_Occurred()) SWIG_fail;
6688 arg3 = (int)SWIG_As_int(obj2);
6689 if (PyErr_Occurred()) SWIG_fail;
6690 if (obj3) {
6691 arg4 = (int)SWIG_As_int(obj3);
6692 if (PyErr_Occurred()) SWIG_fail;
6693 }
6694 {
6695 PyThreadState* __tstate = wxPyBeginAllowThreads();
6696 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
6697
6698 wxPyEndAllowThreads(__tstate);
6699 if (PyErr_Occurred()) SWIG_fail;
6700 }
6701 {
6702 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6703 }
6704 return resultobj;
6705 fail:
6706 return NULL;
6707 }
6708
6709
6710 static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *, PyObject *args, PyObject *kwargs) {
6711 PyObject *resultobj;
6712 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6713 PyObject * obj0 = 0 ;
6714 char *kwnames[] = {
6715 (char *) "self", NULL
6716 };
6717
6718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail;
6719 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6720 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6721 {
6722 PyThreadState* __tstate = wxPyBeginAllowThreads();
6723 (arg1)->SizeWindows();
6724
6725 wxPyEndAllowThreads(__tstate);
6726 if (PyErr_Occurred()) SWIG_fail;
6727 }
6728 Py_INCREF(Py_None); resultobj = Py_None;
6729 return resultobj;
6730 fail:
6731 return NULL;
6732 }
6733
6734
6735 static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *, PyObject *args, PyObject *kwargs) {
6736 PyObject *resultobj;
6737 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6738 bool arg2 ;
6739 PyObject * obj0 = 0 ;
6740 PyObject * obj1 = 0 ;
6741 char *kwnames[] = {
6742 (char *) "self",(char *) "needUpdating", NULL
6743 };
6744
6745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail;
6746 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6747 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6748 arg2 = (bool)SWIG_As_bool(obj1);
6749 if (PyErr_Occurred()) SWIG_fail;
6750 {
6751 PyThreadState* __tstate = wxPyBeginAllowThreads();
6752 (arg1)->SetNeedUpdating(arg2);
6753
6754 wxPyEndAllowThreads(__tstate);
6755 if (PyErr_Occurred()) SWIG_fail;
6756 }
6757 Py_INCREF(Py_None); resultobj = Py_None;
6758 return resultobj;
6759 fail:
6760 return NULL;
6761 }
6762
6763
6764 static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *, PyObject *args, PyObject *kwargs) {
6765 PyObject *resultobj;
6766 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6767 bool result;
6768 PyObject * obj0 = 0 ;
6769 char *kwnames[] = {
6770 (char *) "self", NULL
6771 };
6772
6773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail;
6774 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6775 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6776 {
6777 PyThreadState* __tstate = wxPyBeginAllowThreads();
6778 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
6779
6780 wxPyEndAllowThreads(__tstate);
6781 if (PyErr_Occurred()) SWIG_fail;
6782 }
6783 {
6784 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6785 }
6786 return resultobj;
6787 fail:
6788 return NULL;
6789 }
6790
6791
6792 static PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
6793 PyObject *resultobj;
6794 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
6795 wxVisualAttributes result;
6796 PyObject * obj0 = 0 ;
6797 char *kwnames[] = {
6798 (char *) "variant", NULL
6799 };
6800
6801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6802 if (obj0) {
6803 arg1 = (int)SWIG_As_int(obj0);
6804 if (PyErr_Occurred()) SWIG_fail;
6805 }
6806 {
6807 if (!wxPyCheckForApp()) SWIG_fail;
6808 PyThreadState* __tstate = wxPyBeginAllowThreads();
6809 result = wxSplitterWindow::GetClassDefaultAttributes((wxWindowVariant )arg1);
6810
6811 wxPyEndAllowThreads(__tstate);
6812 if (PyErr_Occurred()) SWIG_fail;
6813 }
6814 {
6815 wxVisualAttributes * resultptr;
6816 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
6817 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6818 }
6819 return resultobj;
6820 fail:
6821 return NULL;
6822 }
6823
6824
6825 static PyObject * SplitterWindow_swigregister(PyObject *, PyObject *args) {
6826 PyObject *obj;
6827 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6828 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj);
6829 Py_INCREF(obj);
6830 return Py_BuildValue((char *)"");
6831 }
6832 static PyObject *_wrap_new_SplitterEvent(PyObject *, PyObject *args, PyObject *kwargs) {
6833 PyObject *resultobj;
6834 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
6835 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
6836 wxSplitterEvent *result;
6837 PyObject * obj0 = 0 ;
6838 PyObject * obj1 = 0 ;
6839 char *kwnames[] = {
6840 (char *) "type",(char *) "splitter", NULL
6841 };
6842
6843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) goto fail;
6844 if (obj0) {
6845 arg1 = (wxEventType)SWIG_As_int(obj0);
6846 if (PyErr_Occurred()) SWIG_fail;
6847 }
6848 if (obj1) {
6849 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSplitterWindow,
6850 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6851 }
6852 {
6853 PyThreadState* __tstate = wxPyBeginAllowThreads();
6854 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
6855
6856 wxPyEndAllowThreads(__tstate);
6857 if (PyErr_Occurred()) SWIG_fail;
6858 }
6859 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterEvent, 1);
6860 return resultobj;
6861 fail:
6862 return NULL;
6863 }
6864
6865
6866 static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
6867 PyObject *resultobj;
6868 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6869 int arg2 ;
6870 PyObject * obj0 = 0 ;
6871 PyObject * obj1 = 0 ;
6872 char *kwnames[] = {
6873 (char *) "self",(char *) "pos", NULL
6874 };
6875
6876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) goto fail;
6877 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6878 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6879 arg2 = (int)SWIG_As_int(obj1);
6880 if (PyErr_Occurred()) SWIG_fail;
6881 {
6882 PyThreadState* __tstate = wxPyBeginAllowThreads();
6883 (arg1)->SetSashPosition(arg2);
6884
6885 wxPyEndAllowThreads(__tstate);
6886 if (PyErr_Occurred()) SWIG_fail;
6887 }
6888 Py_INCREF(Py_None); resultobj = Py_None;
6889 return resultobj;
6890 fail:
6891 return NULL;
6892 }
6893
6894
6895 static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
6896 PyObject *resultobj;
6897 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6898 int result;
6899 PyObject * obj0 = 0 ;
6900 char *kwnames[] = {
6901 (char *) "self", NULL
6902 };
6903
6904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail;
6905 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6906 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6907 {
6908 PyThreadState* __tstate = wxPyBeginAllowThreads();
6909 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
6910
6911 wxPyEndAllowThreads(__tstate);
6912 if (PyErr_Occurred()) SWIG_fail;
6913 }
6914 resultobj = SWIG_From_int((int)result);
6915 return resultobj;
6916 fail:
6917 return NULL;
6918 }
6919
6920
6921 static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *, PyObject *args, PyObject *kwargs) {
6922 PyObject *resultobj;
6923 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6924 wxWindow *result;
6925 PyObject * obj0 = 0 ;
6926 char *kwnames[] = {
6927 (char *) "self", NULL
6928 };
6929
6930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail;
6931 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6932 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6933 {
6934 PyThreadState* __tstate = wxPyBeginAllowThreads();
6935 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
6936
6937 wxPyEndAllowThreads(__tstate);
6938 if (PyErr_Occurred()) SWIG_fail;
6939 }
6940 {
6941 resultobj = wxPyMake_wxObject(result, 0);
6942 }
6943 return resultobj;
6944 fail:
6945 return NULL;
6946 }
6947
6948
6949 static PyObject *_wrap_SplitterEvent_GetX(PyObject *, PyObject *args, PyObject *kwargs) {
6950 PyObject *resultobj;
6951 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6952 int result;
6953 PyObject * obj0 = 0 ;
6954 char *kwnames[] = {
6955 (char *) "self", NULL
6956 };
6957
6958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail;
6959 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6960 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6961 {
6962 PyThreadState* __tstate = wxPyBeginAllowThreads();
6963 result = (int)((wxSplitterEvent const *)arg1)->GetX();
6964
6965 wxPyEndAllowThreads(__tstate);
6966 if (PyErr_Occurred()) SWIG_fail;
6967 }
6968 resultobj = SWIG_From_int((int)result);
6969 return resultobj;
6970 fail:
6971 return NULL;
6972 }
6973
6974
6975 static PyObject *_wrap_SplitterEvent_GetY(PyObject *, PyObject *args, PyObject *kwargs) {
6976 PyObject *resultobj;
6977 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6978 int result;
6979 PyObject * obj0 = 0 ;
6980 char *kwnames[] = {
6981 (char *) "self", NULL
6982 };
6983
6984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail;
6985 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6986 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6987 {
6988 PyThreadState* __tstate = wxPyBeginAllowThreads();
6989 result = (int)((wxSplitterEvent const *)arg1)->GetY();
6990
6991 wxPyEndAllowThreads(__tstate);
6992 if (PyErr_Occurred()) SWIG_fail;
6993 }
6994 resultobj = SWIG_From_int((int)result);
6995 return resultobj;
6996 fail:
6997 return NULL;
6998 }
6999
7000
7001 static PyObject * SplitterEvent_swigregister(PyObject *, PyObject *args) {
7002 PyObject *obj;
7003 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7004 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj);
7005 Py_INCREF(obj);
7006 return Py_BuildValue((char *)"");
7007 }
7008 static int _wrap_SashNameStr_set(PyObject *) {
7009 PyErr_SetString(PyExc_TypeError,"Variable SashNameStr is read-only.");
7010 return 1;
7011 }
7012
7013
7014 static PyObject *_wrap_SashNameStr_get() {
7015 PyObject *pyobj;
7016
7017 {
7018 #if wxUSE_UNICODE
7019 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
7020 #else
7021 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
7022 #endif
7023 }
7024 return pyobj;
7025 }
7026
7027
7028 static int _wrap_SashLayoutNameStr_set(PyObject *) {
7029 PyErr_SetString(PyExc_TypeError,"Variable SashLayoutNameStr is read-only.");
7030 return 1;
7031 }
7032
7033
7034 static PyObject *_wrap_SashLayoutNameStr_get() {
7035 PyObject *pyobj;
7036
7037 {
7038 #if wxUSE_UNICODE
7039 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
7040 #else
7041 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
7042 #endif
7043 }
7044 return pyobj;
7045 }
7046
7047
7048 static PyObject *_wrap_new_SashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7049 PyObject *resultobj;
7050 wxWindow *arg1 = (wxWindow *) 0 ;
7051 int arg2 = (int) -1 ;
7052 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7053 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7054 wxSize const &arg4_defvalue = wxDefaultSize ;
7055 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7056 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
7057 wxString const &arg6_defvalue = wxPySashNameStr ;
7058 wxString *arg6 = (wxString *) &arg6_defvalue ;
7059 wxSashWindow *result;
7060 wxPoint temp3 ;
7061 wxSize temp4 ;
7062 bool temp6 = false ;
7063 PyObject * obj0 = 0 ;
7064 PyObject * obj1 = 0 ;
7065 PyObject * obj2 = 0 ;
7066 PyObject * obj3 = 0 ;
7067 PyObject * obj4 = 0 ;
7068 PyObject * obj5 = 0 ;
7069 char *kwnames[] = {
7070 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7071 };
7072
7073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
7074 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
7075 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7076 if (obj1) {
7077 arg2 = (int)SWIG_As_int(obj1);
7078 if (PyErr_Occurred()) SWIG_fail;
7079 }
7080 if (obj2) {
7081 {
7082 arg3 = &temp3;
7083 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7084 }
7085 }
7086 if (obj3) {
7087 {
7088 arg4 = &temp4;
7089 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7090 }
7091 }
7092 if (obj4) {
7093 arg5 = (long)SWIG_As_long(obj4);
7094 if (PyErr_Occurred()) SWIG_fail;
7095 }
7096 if (obj5) {
7097 {
7098 arg6 = wxString_in_helper(obj5);
7099 if (arg6 == NULL) SWIG_fail;
7100 temp6 = true;
7101 }
7102 }
7103 {
7104 if (!wxPyCheckForApp()) SWIG_fail;
7105 PyThreadState* __tstate = wxPyBeginAllowThreads();
7106 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7107
7108 wxPyEndAllowThreads(__tstate);
7109 if (PyErr_Occurred()) SWIG_fail;
7110 }
7111 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
7112 {
7113 if (temp6)
7114 delete arg6;
7115 }
7116 return resultobj;
7117 fail:
7118 {
7119 if (temp6)
7120 delete arg6;
7121 }
7122 return NULL;
7123 }
7124
7125
7126 static PyObject *_wrap_new_PreSashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7127 PyObject *resultobj;
7128 wxSashWindow *result;
7129 char *kwnames[] = {
7130 NULL
7131 };
7132
7133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail;
7134 {
7135 if (!wxPyCheckForApp()) SWIG_fail;
7136 PyThreadState* __tstate = wxPyBeginAllowThreads();
7137 result = (wxSashWindow *)new wxSashWindow();
7138
7139 wxPyEndAllowThreads(__tstate);
7140 if (PyErr_Occurred()) SWIG_fail;
7141 }
7142 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
7143 return resultobj;
7144 fail:
7145 return NULL;
7146 }
7147
7148
7149 static PyObject *_wrap_SashWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7150 PyObject *resultobj;
7151 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7152 wxWindow *arg2 = (wxWindow *) 0 ;
7153 int arg3 = (int) -1 ;
7154 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7155 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7156 wxSize const &arg5_defvalue = wxDefaultSize ;
7157 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7158 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
7159 wxString const &arg7_defvalue = wxPySashNameStr ;
7160 wxString *arg7 = (wxString *) &arg7_defvalue ;
7161 bool result;
7162 wxPoint temp4 ;
7163 wxSize temp5 ;
7164 bool temp7 = false ;
7165 PyObject * obj0 = 0 ;
7166 PyObject * obj1 = 0 ;
7167 PyObject * obj2 = 0 ;
7168 PyObject * obj3 = 0 ;
7169 PyObject * obj4 = 0 ;
7170 PyObject * obj5 = 0 ;
7171 PyObject * obj6 = 0 ;
7172 char *kwnames[] = {
7173 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7174 };
7175
7176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
7177 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7178 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7179 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
7180 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7181 if (obj2) {
7182 arg3 = (int)SWIG_As_int(obj2);
7183 if (PyErr_Occurred()) SWIG_fail;
7184 }
7185 if (obj3) {
7186 {
7187 arg4 = &temp4;
7188 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7189 }
7190 }
7191 if (obj4) {
7192 {
7193 arg5 = &temp5;
7194 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7195 }
7196 }
7197 if (obj5) {
7198 arg6 = (long)SWIG_As_long(obj5);
7199 if (PyErr_Occurred()) SWIG_fail;
7200 }
7201 if (obj6) {
7202 {
7203 arg7 = wxString_in_helper(obj6);
7204 if (arg7 == NULL) SWIG_fail;
7205 temp7 = true;
7206 }
7207 }
7208 {
7209 PyThreadState* __tstate = wxPyBeginAllowThreads();
7210 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7211
7212 wxPyEndAllowThreads(__tstate);
7213 if (PyErr_Occurred()) SWIG_fail;
7214 }
7215 {
7216 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7217 }
7218 {
7219 if (temp7)
7220 delete arg7;
7221 }
7222 return resultobj;
7223 fail:
7224 {
7225 if (temp7)
7226 delete arg7;
7227 }
7228 return NULL;
7229 }
7230
7231
7232 static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *, PyObject *args, PyObject *kwargs) {
7233 PyObject *resultobj;
7234 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7235 int arg2 ;
7236 bool arg3 ;
7237 PyObject * obj0 = 0 ;
7238 PyObject * obj1 = 0 ;
7239 PyObject * obj2 = 0 ;
7240 char *kwnames[] = {
7241 (char *) "self",(char *) "edge",(char *) "sash", NULL
7242 };
7243
7244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) goto fail;
7245 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7246 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7247 arg2 = (int)SWIG_As_int(obj1);
7248 if (PyErr_Occurred()) SWIG_fail;
7249 arg3 = (bool)SWIG_As_bool(obj2);
7250 if (PyErr_Occurred()) SWIG_fail;
7251 {
7252 PyThreadState* __tstate = wxPyBeginAllowThreads();
7253 (arg1)->SetSashVisible((wxSashEdgePosition )arg2,arg3);
7254
7255 wxPyEndAllowThreads(__tstate);
7256 if (PyErr_Occurred()) SWIG_fail;
7257 }
7258 Py_INCREF(Py_None); resultobj = Py_None;
7259 return resultobj;
7260 fail:
7261 return NULL;
7262 }
7263
7264
7265 static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *, PyObject *args, PyObject *kwargs) {
7266 PyObject *resultobj;
7267 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7268 int arg2 ;
7269 bool result;
7270 PyObject * obj0 = 0 ;
7271 PyObject * obj1 = 0 ;
7272 char *kwnames[] = {
7273 (char *) "self",(char *) "edge", NULL
7274 };
7275
7276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) goto fail;
7277 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7278 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7279 arg2 = (int)SWIG_As_int(obj1);
7280 if (PyErr_Occurred()) SWIG_fail;
7281 {
7282 PyThreadState* __tstate = wxPyBeginAllowThreads();
7283 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible((wxSashEdgePosition )arg2);
7284
7285 wxPyEndAllowThreads(__tstate);
7286 if (PyErr_Occurred()) SWIG_fail;
7287 }
7288 {
7289 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7290 }
7291 return resultobj;
7292 fail:
7293 return NULL;
7294 }
7295
7296
7297 static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *, PyObject *args, PyObject *kwargs) {
7298 PyObject *resultobj;
7299 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7300 int arg2 ;
7301 bool arg3 ;
7302 PyObject * obj0 = 0 ;
7303 PyObject * obj1 = 0 ;
7304 PyObject * obj2 = 0 ;
7305 char *kwnames[] = {
7306 (char *) "self",(char *) "edge",(char *) "border", NULL
7307 };
7308
7309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) goto fail;
7310 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7311 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7312 arg2 = (int)SWIG_As_int(obj1);
7313 if (PyErr_Occurred()) SWIG_fail;
7314 arg3 = (bool)SWIG_As_bool(obj2);
7315 if (PyErr_Occurred()) SWIG_fail;
7316 {
7317 PyThreadState* __tstate = wxPyBeginAllowThreads();
7318 (arg1)->SetSashBorder((wxSashEdgePosition )arg2,arg3);
7319
7320 wxPyEndAllowThreads(__tstate);
7321 if (PyErr_Occurred()) SWIG_fail;
7322 }
7323 Py_INCREF(Py_None); resultobj = Py_None;
7324 return resultobj;
7325 fail:
7326 return NULL;
7327 }
7328
7329
7330 static PyObject *_wrap_SashWindow_HasBorder(PyObject *, PyObject *args, PyObject *kwargs) {
7331 PyObject *resultobj;
7332 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7333 int arg2 ;
7334 bool result;
7335 PyObject * obj0 = 0 ;
7336 PyObject * obj1 = 0 ;
7337 char *kwnames[] = {
7338 (char *) "self",(char *) "edge", NULL
7339 };
7340
7341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) goto fail;
7342 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7343 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7344 arg2 = (int)SWIG_As_int(obj1);
7345 if (PyErr_Occurred()) SWIG_fail;
7346 {
7347 PyThreadState* __tstate = wxPyBeginAllowThreads();
7348 result = (bool)((wxSashWindow const *)arg1)->HasBorder((wxSashEdgePosition )arg2);
7349
7350 wxPyEndAllowThreads(__tstate);
7351 if (PyErr_Occurred()) SWIG_fail;
7352 }
7353 {
7354 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7355 }
7356 return resultobj;
7357 fail:
7358 return NULL;
7359 }
7360
7361
7362 static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *, PyObject *args, PyObject *kwargs) {
7363 PyObject *resultobj;
7364 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7365 int arg2 ;
7366 int result;
7367 PyObject * obj0 = 0 ;
7368 PyObject * obj1 = 0 ;
7369 char *kwnames[] = {
7370 (char *) "self",(char *) "edge", NULL
7371 };
7372
7373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) goto fail;
7374 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7375 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7376 arg2 = (int)SWIG_As_int(obj1);
7377 if (PyErr_Occurred()) SWIG_fail;
7378 {
7379 PyThreadState* __tstate = wxPyBeginAllowThreads();
7380 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin((wxSashEdgePosition )arg2);
7381
7382 wxPyEndAllowThreads(__tstate);
7383 if (PyErr_Occurred()) SWIG_fail;
7384 }
7385 resultobj = SWIG_From_int((int)result);
7386 return resultobj;
7387 fail:
7388 return NULL;
7389 }
7390
7391
7392 static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
7393 PyObject *resultobj;
7394 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7395 int arg2 ;
7396 PyObject * obj0 = 0 ;
7397 PyObject * obj1 = 0 ;
7398 char *kwnames[] = {
7399 (char *) "self",(char *) "width", NULL
7400 };
7401
7402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) goto fail;
7403 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7404 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7405 arg2 = (int)SWIG_As_int(obj1);
7406 if (PyErr_Occurred()) SWIG_fail;
7407 {
7408 PyThreadState* __tstate = wxPyBeginAllowThreads();
7409 (arg1)->SetDefaultBorderSize(arg2);
7410
7411 wxPyEndAllowThreads(__tstate);
7412 if (PyErr_Occurred()) SWIG_fail;
7413 }
7414 Py_INCREF(Py_None); resultobj = Py_None;
7415 return resultobj;
7416 fail:
7417 return NULL;
7418 }
7419
7420
7421 static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
7422 PyObject *resultobj;
7423 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7424 int result;
7425 PyObject * obj0 = 0 ;
7426 char *kwnames[] = {
7427 (char *) "self", NULL
7428 };
7429
7430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail;
7431 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7432 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7433 {
7434 PyThreadState* __tstate = wxPyBeginAllowThreads();
7435 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
7436
7437 wxPyEndAllowThreads(__tstate);
7438 if (PyErr_Occurred()) SWIG_fail;
7439 }
7440 resultobj = SWIG_From_int((int)result);
7441 return resultobj;
7442 fail:
7443 return NULL;
7444 }
7445
7446
7447 static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
7448 PyObject *resultobj;
7449 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7450 int arg2 ;
7451 PyObject * obj0 = 0 ;
7452 PyObject * obj1 = 0 ;
7453 char *kwnames[] = {
7454 (char *) "self",(char *) "width", NULL
7455 };
7456
7457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) goto fail;
7458 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7459 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7460 arg2 = (int)SWIG_As_int(obj1);
7461 if (PyErr_Occurred()) SWIG_fail;
7462 {
7463 PyThreadState* __tstate = wxPyBeginAllowThreads();
7464 (arg1)->SetExtraBorderSize(arg2);
7465
7466 wxPyEndAllowThreads(__tstate);
7467 if (PyErr_Occurred()) SWIG_fail;
7468 }
7469 Py_INCREF(Py_None); resultobj = Py_None;
7470 return resultobj;
7471 fail:
7472 return NULL;
7473 }
7474
7475
7476 static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
7477 PyObject *resultobj;
7478 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7479 int result;
7480 PyObject * obj0 = 0 ;
7481 char *kwnames[] = {
7482 (char *) "self", NULL
7483 };
7484
7485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail;
7486 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7487 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7488 {
7489 PyThreadState* __tstate = wxPyBeginAllowThreads();
7490 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
7491
7492 wxPyEndAllowThreads(__tstate);
7493 if (PyErr_Occurred()) SWIG_fail;
7494 }
7495 resultobj = SWIG_From_int((int)result);
7496 return resultobj;
7497 fail:
7498 return NULL;
7499 }
7500
7501
7502 static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
7503 PyObject *resultobj;
7504 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7505 int arg2 ;
7506 PyObject * obj0 = 0 ;
7507 PyObject * obj1 = 0 ;
7508 char *kwnames[] = {
7509 (char *) "self",(char *) "min", NULL
7510 };
7511
7512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) goto fail;
7513 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7514 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7515 arg2 = (int)SWIG_As_int(obj1);
7516 if (PyErr_Occurred()) SWIG_fail;
7517 {
7518 PyThreadState* __tstate = wxPyBeginAllowThreads();
7519 (arg1)->SetMinimumSizeX(arg2);
7520
7521 wxPyEndAllowThreads(__tstate);
7522 if (PyErr_Occurred()) SWIG_fail;
7523 }
7524 Py_INCREF(Py_None); resultobj = Py_None;
7525 return resultobj;
7526 fail:
7527 return NULL;
7528 }
7529
7530
7531 static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
7532 PyObject *resultobj;
7533 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7534 int arg2 ;
7535 PyObject * obj0 = 0 ;
7536 PyObject * obj1 = 0 ;
7537 char *kwnames[] = {
7538 (char *) "self",(char *) "min", NULL
7539 };
7540
7541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) goto fail;
7542 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7543 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7544 arg2 = (int)SWIG_As_int(obj1);
7545 if (PyErr_Occurred()) SWIG_fail;
7546 {
7547 PyThreadState* __tstate = wxPyBeginAllowThreads();
7548 (arg1)->SetMinimumSizeY(arg2);
7549
7550 wxPyEndAllowThreads(__tstate);
7551 if (PyErr_Occurred()) SWIG_fail;
7552 }
7553 Py_INCREF(Py_None); resultobj = Py_None;
7554 return resultobj;
7555 fail:
7556 return NULL;
7557 }
7558
7559
7560 static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
7561 PyObject *resultobj;
7562 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7563 int result;
7564 PyObject * obj0 = 0 ;
7565 char *kwnames[] = {
7566 (char *) "self", NULL
7567 };
7568
7569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail;
7570 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7571 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7572 {
7573 PyThreadState* __tstate = wxPyBeginAllowThreads();
7574 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
7575
7576 wxPyEndAllowThreads(__tstate);
7577 if (PyErr_Occurred()) SWIG_fail;
7578 }
7579 resultobj = SWIG_From_int((int)result);
7580 return resultobj;
7581 fail:
7582 return NULL;
7583 }
7584
7585
7586 static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
7587 PyObject *resultobj;
7588 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7589 int result;
7590 PyObject * obj0 = 0 ;
7591 char *kwnames[] = {
7592 (char *) "self", NULL
7593 };
7594
7595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail;
7596 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7597 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7598 {
7599 PyThreadState* __tstate = wxPyBeginAllowThreads();
7600 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
7601
7602 wxPyEndAllowThreads(__tstate);
7603 if (PyErr_Occurred()) SWIG_fail;
7604 }
7605 resultobj = SWIG_From_int((int)result);
7606 return resultobj;
7607 fail:
7608 return NULL;
7609 }
7610
7611
7612 static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
7613 PyObject *resultobj;
7614 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7615 int arg2 ;
7616 PyObject * obj0 = 0 ;
7617 PyObject * obj1 = 0 ;
7618 char *kwnames[] = {
7619 (char *) "self",(char *) "max", NULL
7620 };
7621
7622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) goto fail;
7623 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7624 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7625 arg2 = (int)SWIG_As_int(obj1);
7626 if (PyErr_Occurred()) SWIG_fail;
7627 {
7628 PyThreadState* __tstate = wxPyBeginAllowThreads();
7629 (arg1)->SetMaximumSizeX(arg2);
7630
7631 wxPyEndAllowThreads(__tstate);
7632 if (PyErr_Occurred()) SWIG_fail;
7633 }
7634 Py_INCREF(Py_None); resultobj = Py_None;
7635 return resultobj;
7636 fail:
7637 return NULL;
7638 }
7639
7640
7641 static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
7642 PyObject *resultobj;
7643 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7644 int arg2 ;
7645 PyObject * obj0 = 0 ;
7646 PyObject * obj1 = 0 ;
7647 char *kwnames[] = {
7648 (char *) "self",(char *) "max", NULL
7649 };
7650
7651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) goto fail;
7652 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7653 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7654 arg2 = (int)SWIG_As_int(obj1);
7655 if (PyErr_Occurred()) SWIG_fail;
7656 {
7657 PyThreadState* __tstate = wxPyBeginAllowThreads();
7658 (arg1)->SetMaximumSizeY(arg2);
7659
7660 wxPyEndAllowThreads(__tstate);
7661 if (PyErr_Occurred()) SWIG_fail;
7662 }
7663 Py_INCREF(Py_None); resultobj = Py_None;
7664 return resultobj;
7665 fail:
7666 return NULL;
7667 }
7668
7669
7670 static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
7671 PyObject *resultobj;
7672 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7673 int result;
7674 PyObject * obj0 = 0 ;
7675 char *kwnames[] = {
7676 (char *) "self", NULL
7677 };
7678
7679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail;
7680 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7681 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7682 {
7683 PyThreadState* __tstate = wxPyBeginAllowThreads();
7684 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
7685
7686 wxPyEndAllowThreads(__tstate);
7687 if (PyErr_Occurred()) SWIG_fail;
7688 }
7689 resultobj = SWIG_From_int((int)result);
7690 return resultobj;
7691 fail:
7692 return NULL;
7693 }
7694
7695
7696 static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
7697 PyObject *resultobj;
7698 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7699 int result;
7700 PyObject * obj0 = 0 ;
7701 char *kwnames[] = {
7702 (char *) "self", NULL
7703 };
7704
7705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail;
7706 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7707 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7708 {
7709 PyThreadState* __tstate = wxPyBeginAllowThreads();
7710 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
7711
7712 wxPyEndAllowThreads(__tstate);
7713 if (PyErr_Occurred()) SWIG_fail;
7714 }
7715 resultobj = SWIG_From_int((int)result);
7716 return resultobj;
7717 fail:
7718 return NULL;
7719 }
7720
7721
7722 static PyObject *_wrap_SashWindow_SashHitTest(PyObject *, PyObject *args, PyObject *kwargs) {
7723 PyObject *resultobj;
7724 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7725 int arg2 ;
7726 int arg3 ;
7727 int arg4 = (int) 2 ;
7728 int result;
7729 PyObject * obj0 = 0 ;
7730 PyObject * obj1 = 0 ;
7731 PyObject * obj2 = 0 ;
7732 PyObject * obj3 = 0 ;
7733 char *kwnames[] = {
7734 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
7735 };
7736
7737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7738 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7739 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7740 arg2 = (int)SWIG_As_int(obj1);
7741 if (PyErr_Occurred()) SWIG_fail;
7742 arg3 = (int)SWIG_As_int(obj2);
7743 if (PyErr_Occurred()) SWIG_fail;
7744 if (obj3) {
7745 arg4 = (int)SWIG_As_int(obj3);
7746 if (PyErr_Occurred()) SWIG_fail;
7747 }
7748 {
7749 PyThreadState* __tstate = wxPyBeginAllowThreads();
7750 result = (int)(arg1)->SashHitTest(arg2,arg3,arg4);
7751
7752 wxPyEndAllowThreads(__tstate);
7753 if (PyErr_Occurred()) SWIG_fail;
7754 }
7755 resultobj = SWIG_From_int((int)result);
7756 return resultobj;
7757 fail:
7758 return NULL;
7759 }
7760
7761
7762 static PyObject *_wrap_SashWindow_SizeWindows(PyObject *, PyObject *args, PyObject *kwargs) {
7763 PyObject *resultobj;
7764 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7765 PyObject * obj0 = 0 ;
7766 char *kwnames[] = {
7767 (char *) "self", NULL
7768 };
7769
7770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail;
7771 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7772 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7773 {
7774 PyThreadState* __tstate = wxPyBeginAllowThreads();
7775 (arg1)->SizeWindows();
7776
7777 wxPyEndAllowThreads(__tstate);
7778 if (PyErr_Occurred()) SWIG_fail;
7779 }
7780 Py_INCREF(Py_None); resultobj = Py_None;
7781 return resultobj;
7782 fail:
7783 return NULL;
7784 }
7785
7786
7787 static PyObject * SashWindow_swigregister(PyObject *, PyObject *args) {
7788 PyObject *obj;
7789 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7790 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj);
7791 Py_INCREF(obj);
7792 return Py_BuildValue((char *)"");
7793 }
7794 static PyObject *_wrap_new_SashEvent(PyObject *, PyObject *args, PyObject *kwargs) {
7795 PyObject *resultobj;
7796 int arg1 = (int) 0 ;
7797 int arg2 = (int) wxSASH_NONE ;
7798 wxSashEvent *result;
7799 PyObject * obj0 = 0 ;
7800 PyObject * obj1 = 0 ;
7801 char *kwnames[] = {
7802 (char *) "id",(char *) "edge", NULL
7803 };
7804
7805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) goto fail;
7806 if (obj0) {
7807 arg1 = (int)SWIG_As_int(obj0);
7808 if (PyErr_Occurred()) SWIG_fail;
7809 }
7810 if (obj1) {
7811 arg2 = (int)SWIG_As_int(obj1);
7812 if (PyErr_Occurred()) SWIG_fail;
7813 }
7814 {
7815 PyThreadState* __tstate = wxPyBeginAllowThreads();
7816 result = (wxSashEvent *)new wxSashEvent(arg1,(wxSashEdgePosition )arg2);
7817
7818 wxPyEndAllowThreads(__tstate);
7819 if (PyErr_Occurred()) SWIG_fail;
7820 }
7821 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashEvent, 1);
7822 return resultobj;
7823 fail:
7824 return NULL;
7825 }
7826
7827
7828 static PyObject *_wrap_SashEvent_SetEdge(PyObject *, PyObject *args, PyObject *kwargs) {
7829 PyObject *resultobj;
7830 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7831 int arg2 ;
7832 PyObject * obj0 = 0 ;
7833 PyObject * obj1 = 0 ;
7834 char *kwnames[] = {
7835 (char *) "self",(char *) "edge", NULL
7836 };
7837
7838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) goto fail;
7839 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7840 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7841 arg2 = (int)SWIG_As_int(obj1);
7842 if (PyErr_Occurred()) SWIG_fail;
7843 {
7844 PyThreadState* __tstate = wxPyBeginAllowThreads();
7845 (arg1)->SetEdge((wxSashEdgePosition )arg2);
7846
7847 wxPyEndAllowThreads(__tstate);
7848 if (PyErr_Occurred()) SWIG_fail;
7849 }
7850 Py_INCREF(Py_None); resultobj = Py_None;
7851 return resultobj;
7852 fail:
7853 return NULL;
7854 }
7855
7856
7857 static PyObject *_wrap_SashEvent_GetEdge(PyObject *, PyObject *args, PyObject *kwargs) {
7858 PyObject *resultobj;
7859 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7860 int result;
7861 PyObject * obj0 = 0 ;
7862 char *kwnames[] = {
7863 (char *) "self", NULL
7864 };
7865
7866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail;
7867 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7868 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7869 {
7870 PyThreadState* __tstate = wxPyBeginAllowThreads();
7871 result = (int)((wxSashEvent const *)arg1)->GetEdge();
7872
7873 wxPyEndAllowThreads(__tstate);
7874 if (PyErr_Occurred()) SWIG_fail;
7875 }
7876 resultobj = SWIG_From_int((int)result);
7877 return resultobj;
7878 fail:
7879 return NULL;
7880 }
7881
7882
7883 static PyObject *_wrap_SashEvent_SetDragRect(PyObject *, PyObject *args, PyObject *kwargs) {
7884 PyObject *resultobj;
7885 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7886 wxRect *arg2 = 0 ;
7887 wxRect temp2 ;
7888 PyObject * obj0 = 0 ;
7889 PyObject * obj1 = 0 ;
7890 char *kwnames[] = {
7891 (char *) "self",(char *) "rect", NULL
7892 };
7893
7894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail;
7895 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7896 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7897 {
7898 arg2 = &temp2;
7899 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7900 }
7901 {
7902 PyThreadState* __tstate = wxPyBeginAllowThreads();
7903 (arg1)->SetDragRect((wxRect const &)*arg2);
7904
7905 wxPyEndAllowThreads(__tstate);
7906 if (PyErr_Occurred()) SWIG_fail;
7907 }
7908 Py_INCREF(Py_None); resultobj = Py_None;
7909 return resultobj;
7910 fail:
7911 return NULL;
7912 }
7913
7914
7915 static PyObject *_wrap_SashEvent_GetDragRect(PyObject *, PyObject *args, PyObject *kwargs) {
7916 PyObject *resultobj;
7917 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7918 wxRect result;
7919 PyObject * obj0 = 0 ;
7920 char *kwnames[] = {
7921 (char *) "self", NULL
7922 };
7923
7924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail;
7925 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7926 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7927 {
7928 PyThreadState* __tstate = wxPyBeginAllowThreads();
7929 result = ((wxSashEvent const *)arg1)->GetDragRect();
7930
7931 wxPyEndAllowThreads(__tstate);
7932 if (PyErr_Occurred()) SWIG_fail;
7933 }
7934 {
7935 wxRect * resultptr;
7936 resultptr = new wxRect((wxRect &) result);
7937 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
7938 }
7939 return resultobj;
7940 fail:
7941 return NULL;
7942 }
7943
7944
7945 static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *, PyObject *args, PyObject *kwargs) {
7946 PyObject *resultobj;
7947 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7948 int arg2 ;
7949 PyObject * obj0 = 0 ;
7950 PyObject * obj1 = 0 ;
7951 char *kwnames[] = {
7952 (char *) "self",(char *) "status", NULL
7953 };
7954
7955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) goto fail;
7956 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7957 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7958 arg2 = (int)SWIG_As_int(obj1);
7959 if (PyErr_Occurred()) SWIG_fail;
7960 {
7961 PyThreadState* __tstate = wxPyBeginAllowThreads();
7962 (arg1)->SetDragStatus((wxSashDragStatus )arg2);
7963
7964 wxPyEndAllowThreads(__tstate);
7965 if (PyErr_Occurred()) SWIG_fail;
7966 }
7967 Py_INCREF(Py_None); resultobj = Py_None;
7968 return resultobj;
7969 fail:
7970 return NULL;
7971 }
7972
7973
7974 static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *, PyObject *args, PyObject *kwargs) {
7975 PyObject *resultobj;
7976 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7977 int result;
7978 PyObject * obj0 = 0 ;
7979 char *kwnames[] = {
7980 (char *) "self", NULL
7981 };
7982
7983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail;
7984 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7985 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7986 {
7987 PyThreadState* __tstate = wxPyBeginAllowThreads();
7988 result = (int)((wxSashEvent const *)arg1)->GetDragStatus();
7989
7990 wxPyEndAllowThreads(__tstate);
7991 if (PyErr_Occurred()) SWIG_fail;
7992 }
7993 resultobj = SWIG_From_int((int)result);
7994 return resultobj;
7995 fail:
7996 return NULL;
7997 }
7998
7999
8000 static PyObject * SashEvent_swigregister(PyObject *, PyObject *args) {
8001 PyObject *obj;
8002 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8003 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj);
8004 Py_INCREF(obj);
8005 return Py_BuildValue((char *)"");
8006 }
8007 static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *, PyObject *args, PyObject *kwargs) {
8008 PyObject *resultobj;
8009 int arg1 = (int) 0 ;
8010 wxQueryLayoutInfoEvent *result;
8011 PyObject * obj0 = 0 ;
8012 char *kwnames[] = {
8013 (char *) "id", NULL
8014 };
8015
8016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) goto fail;
8017 if (obj0) {
8018 arg1 = (int)SWIG_As_int(obj0);
8019 if (PyErr_Occurred()) SWIG_fail;
8020 }
8021 {
8022 PyThreadState* __tstate = wxPyBeginAllowThreads();
8023 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
8024
8025 wxPyEndAllowThreads(__tstate);
8026 if (PyErr_Occurred()) SWIG_fail;
8027 }
8028 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, 1);
8029 return resultobj;
8030 fail:
8031 return NULL;
8032 }
8033
8034
8035 static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *, PyObject *args, PyObject *kwargs) {
8036 PyObject *resultobj;
8037 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8038 int arg2 ;
8039 PyObject * obj0 = 0 ;
8040 PyObject * obj1 = 0 ;
8041 char *kwnames[] = {
8042 (char *) "self",(char *) "length", NULL
8043 };
8044
8045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) goto fail;
8046 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8047 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8048 arg2 = (int)SWIG_As_int(obj1);
8049 if (PyErr_Occurred()) SWIG_fail;
8050 {
8051 PyThreadState* __tstate = wxPyBeginAllowThreads();
8052 (arg1)->SetRequestedLength(arg2);
8053
8054 wxPyEndAllowThreads(__tstate);
8055 if (PyErr_Occurred()) SWIG_fail;
8056 }
8057 Py_INCREF(Py_None); resultobj = Py_None;
8058 return resultobj;
8059 fail:
8060 return NULL;
8061 }
8062
8063
8064 static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *, PyObject *args, PyObject *kwargs) {
8065 PyObject *resultobj;
8066 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8067 int result;
8068 PyObject * obj0 = 0 ;
8069 char *kwnames[] = {
8070 (char *) "self", NULL
8071 };
8072
8073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail;
8074 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8075 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8076 {
8077 PyThreadState* __tstate = wxPyBeginAllowThreads();
8078 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
8079
8080 wxPyEndAllowThreads(__tstate);
8081 if (PyErr_Occurred()) SWIG_fail;
8082 }
8083 resultobj = SWIG_From_int((int)result);
8084 return resultobj;
8085 fail:
8086 return NULL;
8087 }
8088
8089
8090 static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
8091 PyObject *resultobj;
8092 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8093 int arg2 ;
8094 PyObject * obj0 = 0 ;
8095 PyObject * obj1 = 0 ;
8096 char *kwnames[] = {
8097 (char *) "self",(char *) "flags", NULL
8098 };
8099
8100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
8101 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8102 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8103 arg2 = (int)SWIG_As_int(obj1);
8104 if (PyErr_Occurred()) SWIG_fail;
8105 {
8106 PyThreadState* __tstate = wxPyBeginAllowThreads();
8107 (arg1)->SetFlags(arg2);
8108
8109 wxPyEndAllowThreads(__tstate);
8110 if (PyErr_Occurred()) SWIG_fail;
8111 }
8112 Py_INCREF(Py_None); resultobj = Py_None;
8113 return resultobj;
8114 fail:
8115 return NULL;
8116 }
8117
8118
8119 static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
8120 PyObject *resultobj;
8121 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8122 int result;
8123 PyObject * obj0 = 0 ;
8124 char *kwnames[] = {
8125 (char *) "self", NULL
8126 };
8127
8128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail;
8129 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8130 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8131 {
8132 PyThreadState* __tstate = wxPyBeginAllowThreads();
8133 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
8134
8135 wxPyEndAllowThreads(__tstate);
8136 if (PyErr_Occurred()) SWIG_fail;
8137 }
8138 resultobj = SWIG_From_int((int)result);
8139 return resultobj;
8140 fail:
8141 return NULL;
8142 }
8143
8144
8145 static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
8146 PyObject *resultobj;
8147 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8148 wxSize *arg2 = 0 ;
8149 wxSize temp2 ;
8150 PyObject * obj0 = 0 ;
8151 PyObject * obj1 = 0 ;
8152 char *kwnames[] = {
8153 (char *) "self",(char *) "size", NULL
8154 };
8155
8156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
8157 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8158 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8159 {
8160 arg2 = &temp2;
8161 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
8162 }
8163 {
8164 PyThreadState* __tstate = wxPyBeginAllowThreads();
8165 (arg1)->SetSize((wxSize const &)*arg2);
8166
8167 wxPyEndAllowThreads(__tstate);
8168 if (PyErr_Occurred()) SWIG_fail;
8169 }
8170 Py_INCREF(Py_None); resultobj = Py_None;
8171 return resultobj;
8172 fail:
8173 return NULL;
8174 }
8175
8176
8177 static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
8178 PyObject *resultobj;
8179 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8180 wxSize result;
8181 PyObject * obj0 = 0 ;
8182 char *kwnames[] = {
8183 (char *) "self", NULL
8184 };
8185
8186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail;
8187 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8188 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8189 {
8190 PyThreadState* __tstate = wxPyBeginAllowThreads();
8191 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
8192
8193 wxPyEndAllowThreads(__tstate);
8194 if (PyErr_Occurred()) SWIG_fail;
8195 }
8196 {
8197 wxSize * resultptr;
8198 resultptr = new wxSize((wxSize &) result);
8199 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
8200 }
8201 return resultobj;
8202 fail:
8203 return NULL;
8204 }
8205
8206
8207 static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
8208 PyObject *resultobj;
8209 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8210 int arg2 ;
8211 PyObject * obj0 = 0 ;
8212 PyObject * obj1 = 0 ;
8213 char *kwnames[] = {
8214 (char *) "self",(char *) "orient", NULL
8215 };
8216
8217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
8218 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8220 arg2 = (int)SWIG_As_int(obj1);
8221 if (PyErr_Occurred()) SWIG_fail;
8222 {
8223 PyThreadState* __tstate = wxPyBeginAllowThreads();
8224 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
8225
8226 wxPyEndAllowThreads(__tstate);
8227 if (PyErr_Occurred()) SWIG_fail;
8228 }
8229 Py_INCREF(Py_None); resultobj = Py_None;
8230 return resultobj;
8231 fail:
8232 return NULL;
8233 }
8234
8235
8236 static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
8237 PyObject *resultobj;
8238 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8239 int result;
8240 PyObject * obj0 = 0 ;
8241 char *kwnames[] = {
8242 (char *) "self", NULL
8243 };
8244
8245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail;
8246 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8247 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8248 {
8249 PyThreadState* __tstate = wxPyBeginAllowThreads();
8250 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
8251
8252 wxPyEndAllowThreads(__tstate);
8253 if (PyErr_Occurred()) SWIG_fail;
8254 }
8255 resultobj = SWIG_From_int((int)result);
8256 return resultobj;
8257 fail:
8258 return NULL;
8259 }
8260
8261
8262 static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
8263 PyObject *resultobj;
8264 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8265 int arg2 ;
8266 PyObject * obj0 = 0 ;
8267 PyObject * obj1 = 0 ;
8268 char *kwnames[] = {
8269 (char *) "self",(char *) "align", NULL
8270 };
8271
8272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
8273 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8274 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8275 arg2 = (int)SWIG_As_int(obj1);
8276 if (PyErr_Occurred()) SWIG_fail;
8277 {
8278 PyThreadState* __tstate = wxPyBeginAllowThreads();
8279 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
8280
8281 wxPyEndAllowThreads(__tstate);
8282 if (PyErr_Occurred()) SWIG_fail;
8283 }
8284 Py_INCREF(Py_None); resultobj = Py_None;
8285 return resultobj;
8286 fail:
8287 return NULL;
8288 }
8289
8290
8291 static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
8292 PyObject *resultobj;
8293 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8294 int result;
8295 PyObject * obj0 = 0 ;
8296 char *kwnames[] = {
8297 (char *) "self", NULL
8298 };
8299
8300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail;
8301 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8302 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8303 {
8304 PyThreadState* __tstate = wxPyBeginAllowThreads();
8305 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
8306
8307 wxPyEndAllowThreads(__tstate);
8308 if (PyErr_Occurred()) SWIG_fail;
8309 }
8310 resultobj = SWIG_From_int((int)result);
8311 return resultobj;
8312 fail:
8313 return NULL;
8314 }
8315
8316
8317 static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *, PyObject *args) {
8318 PyObject *obj;
8319 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8320 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj);
8321 Py_INCREF(obj);
8322 return Py_BuildValue((char *)"");
8323 }
8324 static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *, PyObject *args, PyObject *kwargs) {
8325 PyObject *resultobj;
8326 int arg1 = (int) 0 ;
8327 wxCalculateLayoutEvent *result;
8328 PyObject * obj0 = 0 ;
8329 char *kwnames[] = {
8330 (char *) "id", NULL
8331 };
8332
8333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) goto fail;
8334 if (obj0) {
8335 arg1 = (int)SWIG_As_int(obj0);
8336 if (PyErr_Occurred()) SWIG_fail;
8337 }
8338 {
8339 PyThreadState* __tstate = wxPyBeginAllowThreads();
8340 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
8341
8342 wxPyEndAllowThreads(__tstate);
8343 if (PyErr_Occurred()) SWIG_fail;
8344 }
8345 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCalculateLayoutEvent, 1);
8346 return resultobj;
8347 fail:
8348 return NULL;
8349 }
8350
8351
8352 static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
8353 PyObject *resultobj;
8354 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
8355 int arg2 ;
8356 PyObject * obj0 = 0 ;
8357 PyObject * obj1 = 0 ;
8358 char *kwnames[] = {
8359 (char *) "self",(char *) "flags", NULL
8360 };
8361
8362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
8363 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
8364 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8365 arg2 = (int)SWIG_As_int(obj1);
8366 if (PyErr_Occurred()) SWIG_fail;
8367 {
8368 PyThreadState* __tstate = wxPyBeginAllowThreads();
8369 (arg1)->SetFlags(arg2);
8370
8371 wxPyEndAllowThreads(__tstate);
8372 if (PyErr_Occurred()) SWIG_fail;
8373 }
8374 Py_INCREF(Py_None); resultobj = Py_None;
8375 return resultobj;
8376 fail:
8377 return NULL;
8378 }
8379
8380
8381 static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
8382 PyObject *resultobj;
8383 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
8384 int result;
8385 PyObject * obj0 = 0 ;
8386 char *kwnames[] = {
8387 (char *) "self", NULL
8388 };
8389
8390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail;
8391 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
8392 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8393 {
8394 PyThreadState* __tstate = wxPyBeginAllowThreads();
8395 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
8396
8397 wxPyEndAllowThreads(__tstate);
8398 if (PyErr_Occurred()) SWIG_fail;
8399 }
8400 resultobj = SWIG_From_int((int)result);
8401 return resultobj;
8402 fail:
8403 return NULL;
8404 }
8405
8406
8407 static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *, PyObject *args, PyObject *kwargs) {
8408 PyObject *resultobj;
8409 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
8410 wxRect *arg2 = 0 ;
8411 wxRect temp2 ;
8412 PyObject * obj0 = 0 ;
8413 PyObject * obj1 = 0 ;
8414 char *kwnames[] = {
8415 (char *) "self",(char *) "rect", NULL
8416 };
8417
8418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
8419 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
8420 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8421 {
8422 arg2 = &temp2;
8423 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
8424 }
8425 {
8426 PyThreadState* __tstate = wxPyBeginAllowThreads();
8427 (arg1)->SetRect((wxRect const &)*arg2);
8428
8429 wxPyEndAllowThreads(__tstate);
8430 if (PyErr_Occurred()) SWIG_fail;
8431 }
8432 Py_INCREF(Py_None); resultobj = Py_None;
8433 return resultobj;
8434 fail:
8435 return NULL;
8436 }
8437
8438
8439 static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *, PyObject *args, PyObject *kwargs) {
8440 PyObject *resultobj;
8441 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
8442 wxRect result;
8443 PyObject * obj0 = 0 ;
8444 char *kwnames[] = {
8445 (char *) "self", NULL
8446 };
8447
8448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail;
8449 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
8450 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8451 {
8452 PyThreadState* __tstate = wxPyBeginAllowThreads();
8453 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
8454
8455 wxPyEndAllowThreads(__tstate);
8456 if (PyErr_Occurred()) SWIG_fail;
8457 }
8458 {
8459 wxRect * resultptr;
8460 resultptr = new wxRect((wxRect &) result);
8461 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
8462 }
8463 return resultobj;
8464 fail:
8465 return NULL;
8466 }
8467
8468
8469 static PyObject * CalculateLayoutEvent_swigregister(PyObject *, PyObject *args) {
8470 PyObject *obj;
8471 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8472 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj);
8473 Py_INCREF(obj);
8474 return Py_BuildValue((char *)"");
8475 }
8476 static PyObject *_wrap_new_SashLayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8477 PyObject *resultobj;
8478 wxWindow *arg1 = (wxWindow *) 0 ;
8479 int arg2 = (int) -1 ;
8480 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8481 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8482 wxSize const &arg4_defvalue = wxDefaultSize ;
8483 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8484 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
8485 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
8486 wxString *arg6 = (wxString *) &arg6_defvalue ;
8487 wxSashLayoutWindow *result;
8488 wxPoint temp3 ;
8489 wxSize temp4 ;
8490 bool temp6 = false ;
8491 PyObject * obj0 = 0 ;
8492 PyObject * obj1 = 0 ;
8493 PyObject * obj2 = 0 ;
8494 PyObject * obj3 = 0 ;
8495 PyObject * obj4 = 0 ;
8496 PyObject * obj5 = 0 ;
8497 char *kwnames[] = {
8498 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8499 };
8500
8501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
8502 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8503 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8504 if (obj1) {
8505 arg2 = (int)SWIG_As_int(obj1);
8506 if (PyErr_Occurred()) SWIG_fail;
8507 }
8508 if (obj2) {
8509 {
8510 arg3 = &temp3;
8511 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8512 }
8513 }
8514 if (obj3) {
8515 {
8516 arg4 = &temp4;
8517 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8518 }
8519 }
8520 if (obj4) {
8521 arg5 = (long)SWIG_As_long(obj4);
8522 if (PyErr_Occurred()) SWIG_fail;
8523 }
8524 if (obj5) {
8525 {
8526 arg6 = wxString_in_helper(obj5);
8527 if (arg6 == NULL) SWIG_fail;
8528 temp6 = true;
8529 }
8530 }
8531 {
8532 if (!wxPyCheckForApp()) SWIG_fail;
8533 PyThreadState* __tstate = wxPyBeginAllowThreads();
8534 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8535
8536 wxPyEndAllowThreads(__tstate);
8537 if (PyErr_Occurred()) SWIG_fail;
8538 }
8539 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
8540 {
8541 if (temp6)
8542 delete arg6;
8543 }
8544 return resultobj;
8545 fail:
8546 {
8547 if (temp6)
8548 delete arg6;
8549 }
8550 return NULL;
8551 }
8552
8553
8554 static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8555 PyObject *resultobj;
8556 wxSashLayoutWindow *result;
8557 char *kwnames[] = {
8558 NULL
8559 };
8560
8561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail;
8562 {
8563 if (!wxPyCheckForApp()) SWIG_fail;
8564 PyThreadState* __tstate = wxPyBeginAllowThreads();
8565 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
8566
8567 wxPyEndAllowThreads(__tstate);
8568 if (PyErr_Occurred()) SWIG_fail;
8569 }
8570 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
8571 return resultobj;
8572 fail:
8573 return NULL;
8574 }
8575
8576
8577 static PyObject *_wrap_SashLayoutWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
8578 PyObject *resultobj;
8579 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8580 wxWindow *arg2 = (wxWindow *) 0 ;
8581 int arg3 = (int) -1 ;
8582 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8583 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8584 wxSize const &arg5_defvalue = wxDefaultSize ;
8585 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8586 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
8587 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
8588 wxString *arg7 = (wxString *) &arg7_defvalue ;
8589 bool result;
8590 wxPoint temp4 ;
8591 wxSize temp5 ;
8592 bool temp7 = false ;
8593 PyObject * obj0 = 0 ;
8594 PyObject * obj1 = 0 ;
8595 PyObject * obj2 = 0 ;
8596 PyObject * obj3 = 0 ;
8597 PyObject * obj4 = 0 ;
8598 PyObject * obj5 = 0 ;
8599 PyObject * obj6 = 0 ;
8600 char *kwnames[] = {
8601 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8602 };
8603
8604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
8605 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8606 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8607 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8608 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8609 if (obj2) {
8610 arg3 = (int)SWIG_As_int(obj2);
8611 if (PyErr_Occurred()) SWIG_fail;
8612 }
8613 if (obj3) {
8614 {
8615 arg4 = &temp4;
8616 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8617 }
8618 }
8619 if (obj4) {
8620 {
8621 arg5 = &temp5;
8622 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8623 }
8624 }
8625 if (obj5) {
8626 arg6 = (long)SWIG_As_long(obj5);
8627 if (PyErr_Occurred()) SWIG_fail;
8628 }
8629 if (obj6) {
8630 {
8631 arg7 = wxString_in_helper(obj6);
8632 if (arg7 == NULL) SWIG_fail;
8633 temp7 = true;
8634 }
8635 }
8636 {
8637 PyThreadState* __tstate = wxPyBeginAllowThreads();
8638 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8639
8640 wxPyEndAllowThreads(__tstate);
8641 if (PyErr_Occurred()) SWIG_fail;
8642 }
8643 {
8644 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8645 }
8646 {
8647 if (temp7)
8648 delete arg7;
8649 }
8650 return resultobj;
8651 fail:
8652 {
8653 if (temp7)
8654 delete arg7;
8655 }
8656 return NULL;
8657 }
8658
8659
8660 static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
8661 PyObject *resultobj;
8662 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8663 int result;
8664 PyObject * obj0 = 0 ;
8665 char *kwnames[] = {
8666 (char *) "self", NULL
8667 };
8668
8669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail;
8670 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8671 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8672 {
8673 PyThreadState* __tstate = wxPyBeginAllowThreads();
8674 result = (int)(arg1)->GetAlignment();
8675
8676 wxPyEndAllowThreads(__tstate);
8677 if (PyErr_Occurred()) SWIG_fail;
8678 }
8679 resultobj = SWIG_From_int((int)result);
8680 return resultobj;
8681 fail:
8682 return NULL;
8683 }
8684
8685
8686 static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
8687 PyObject *resultobj;
8688 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8689 int result;
8690 PyObject * obj0 = 0 ;
8691 char *kwnames[] = {
8692 (char *) "self", NULL
8693 };
8694
8695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail;
8696 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8697 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8698 {
8699 PyThreadState* __tstate = wxPyBeginAllowThreads();
8700 result = (int)(arg1)->GetOrientation();
8701
8702 wxPyEndAllowThreads(__tstate);
8703 if (PyErr_Occurred()) SWIG_fail;
8704 }
8705 resultobj = SWIG_From_int((int)result);
8706 return resultobj;
8707 fail:
8708 return NULL;
8709 }
8710
8711
8712 static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
8713 PyObject *resultobj;
8714 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8715 int arg2 ;
8716 PyObject * obj0 = 0 ;
8717 PyObject * obj1 = 0 ;
8718 char *kwnames[] = {
8719 (char *) "self",(char *) "alignment", NULL
8720 };
8721
8722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
8723 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8724 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8725 arg2 = (int)SWIG_As_int(obj1);
8726 if (PyErr_Occurred()) SWIG_fail;
8727 {
8728 PyThreadState* __tstate = wxPyBeginAllowThreads();
8729 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
8730
8731 wxPyEndAllowThreads(__tstate);
8732 if (PyErr_Occurred()) SWIG_fail;
8733 }
8734 Py_INCREF(Py_None); resultobj = Py_None;
8735 return resultobj;
8736 fail:
8737 return NULL;
8738 }
8739
8740
8741 static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) {
8742 PyObject *resultobj;
8743 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8744 wxSize *arg2 = 0 ;
8745 wxSize temp2 ;
8746 PyObject * obj0 = 0 ;
8747 PyObject * obj1 = 0 ;
8748 char *kwnames[] = {
8749 (char *) "self",(char *) "size", NULL
8750 };
8751
8752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail;
8753 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8754 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8755 {
8756 arg2 = &temp2;
8757 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
8758 }
8759 {
8760 PyThreadState* __tstate = wxPyBeginAllowThreads();
8761 (arg1)->SetDefaultSize((wxSize const &)*arg2);
8762
8763 wxPyEndAllowThreads(__tstate);
8764 if (PyErr_Occurred()) SWIG_fail;
8765 }
8766 Py_INCREF(Py_None); resultobj = Py_None;
8767 return resultobj;
8768 fail:
8769 return NULL;
8770 }
8771
8772
8773 static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
8774 PyObject *resultobj;
8775 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8776 int arg2 ;
8777 PyObject * obj0 = 0 ;
8778 PyObject * obj1 = 0 ;
8779 char *kwnames[] = {
8780 (char *) "self",(char *) "orientation", NULL
8781 };
8782
8783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
8784 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8785 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8786 arg2 = (int)SWIG_As_int(obj1);
8787 if (PyErr_Occurred()) SWIG_fail;
8788 {
8789 PyThreadState* __tstate = wxPyBeginAllowThreads();
8790 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
8791
8792 wxPyEndAllowThreads(__tstate);
8793 if (PyErr_Occurred()) SWIG_fail;
8794 }
8795 Py_INCREF(Py_None); resultobj = Py_None;
8796 return resultobj;
8797 fail:
8798 return NULL;
8799 }
8800
8801
8802 static PyObject * SashLayoutWindow_swigregister(PyObject *, PyObject *args) {
8803 PyObject *obj;
8804 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8805 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj);
8806 Py_INCREF(obj);
8807 return Py_BuildValue((char *)"");
8808 }
8809 static PyObject *_wrap_new_LayoutAlgorithm(PyObject *, PyObject *args, PyObject *kwargs) {
8810 PyObject *resultobj;
8811 wxLayoutAlgorithm *result;
8812 char *kwnames[] = {
8813 NULL
8814 };
8815
8816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail;
8817 {
8818 PyThreadState* __tstate = wxPyBeginAllowThreads();
8819 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
8820
8821 wxPyEndAllowThreads(__tstate);
8822 if (PyErr_Occurred()) SWIG_fail;
8823 }
8824 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutAlgorithm, 1);
8825 return resultobj;
8826 fail:
8827 return NULL;
8828 }
8829
8830
8831 static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *, PyObject *args, PyObject *kwargs) {
8832 PyObject *resultobj;
8833 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8834 PyObject * obj0 = 0 ;
8835 char *kwnames[] = {
8836 (char *) "self", NULL
8837 };
8838
8839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail;
8840 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8841 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8842 {
8843 PyThreadState* __tstate = wxPyBeginAllowThreads();
8844 delete arg1;
8845
8846 wxPyEndAllowThreads(__tstate);
8847 if (PyErr_Occurred()) SWIG_fail;
8848 }
8849 Py_INCREF(Py_None); resultobj = Py_None;
8850 return resultobj;
8851 fail:
8852 return NULL;
8853 }
8854
8855
8856 static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *, PyObject *args, PyObject *kwargs) {
8857 PyObject *resultobj;
8858 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8859 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
8860 wxRect *arg3 = (wxRect *) NULL ;
8861 bool result;
8862 PyObject * obj0 = 0 ;
8863 PyObject * obj1 = 0 ;
8864 PyObject * obj2 = 0 ;
8865 char *kwnames[] = {
8866 (char *) "self",(char *) "frame",(char *) "rect", NULL
8867 };
8868
8869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
8870 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8871 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8872 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
8873 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8874 if (obj2) {
8875 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxRect,
8876 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8877 }
8878 {
8879 PyThreadState* __tstate = wxPyBeginAllowThreads();
8880 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
8881
8882 wxPyEndAllowThreads(__tstate);
8883 if (PyErr_Occurred()) SWIG_fail;
8884 }
8885 {
8886 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8887 }
8888 return resultobj;
8889 fail:
8890 return NULL;
8891 }
8892
8893
8894 static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *, PyObject *args, PyObject *kwargs) {
8895 PyObject *resultobj;
8896 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8897 wxFrame *arg2 = (wxFrame *) 0 ;
8898 wxWindow *arg3 = (wxWindow *) NULL ;
8899 bool result;
8900 PyObject * obj0 = 0 ;
8901 PyObject * obj1 = 0 ;
8902 PyObject * obj2 = 0 ;
8903 char *kwnames[] = {
8904 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
8905 };
8906
8907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
8908 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8909 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8910 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
8911 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8912 if (obj2) {
8913 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
8914 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8915 }
8916 {
8917 PyThreadState* __tstate = wxPyBeginAllowThreads();
8918 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
8919
8920 wxPyEndAllowThreads(__tstate);
8921 if (PyErr_Occurred()) SWIG_fail;
8922 }
8923 {
8924 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8925 }
8926 return resultobj;
8927 fail:
8928 return NULL;
8929 }
8930
8931
8932 static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8933 PyObject *resultobj;
8934 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8935 wxWindow *arg2 = (wxWindow *) 0 ;
8936 wxWindow *arg3 = (wxWindow *) NULL ;
8937 bool result;
8938 PyObject * obj0 = 0 ;
8939 PyObject * obj1 = 0 ;
8940 PyObject * obj2 = 0 ;
8941 char *kwnames[] = {
8942 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
8943 };
8944
8945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
8946 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8947 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8948 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8949 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8950 if (obj2) {
8951 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
8952 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8953 }
8954 {
8955 PyThreadState* __tstate = wxPyBeginAllowThreads();
8956 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
8957
8958 wxPyEndAllowThreads(__tstate);
8959 if (PyErr_Occurred()) SWIG_fail;
8960 }
8961 {
8962 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8963 }
8964 return resultobj;
8965 fail:
8966 return NULL;
8967 }
8968
8969
8970 static PyObject * LayoutAlgorithm_swigregister(PyObject *, PyObject *args) {
8971 PyObject *obj;
8972 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8973 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj);
8974 Py_INCREF(obj);
8975 return Py_BuildValue((char *)"");
8976 }
8977 static PyObject *_wrap_new_PopupWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8978 PyObject *resultobj;
8979 wxWindow *arg1 = (wxWindow *) 0 ;
8980 int arg2 = (int) wxBORDER_NONE ;
8981 wxPopupWindow *result;
8982 PyObject * obj0 = 0 ;
8983 PyObject * obj1 = 0 ;
8984 char *kwnames[] = {
8985 (char *) "parent",(char *) "flags", NULL
8986 };
8987
8988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) goto fail;
8989 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8990 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8991 if (obj1) {
8992 arg2 = (int)SWIG_As_int(obj1);
8993 if (PyErr_Occurred()) SWIG_fail;
8994 }
8995 {
8996 if (!wxPyCheckForApp()) SWIG_fail;
8997 PyThreadState* __tstate = wxPyBeginAllowThreads();
8998 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
8999
9000 wxPyEndAllowThreads(__tstate);
9001 if (PyErr_Occurred()) SWIG_fail;
9002 }
9003 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
9004 return resultobj;
9005 fail:
9006 return NULL;
9007 }
9008
9009
9010 static PyObject *_wrap_new_PrePopupWindow(PyObject *, PyObject *args, PyObject *kwargs) {
9011 PyObject *resultobj;
9012 wxPopupWindow *result;
9013 char *kwnames[] = {
9014 NULL
9015 };
9016
9017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail;
9018 {
9019 if (!wxPyCheckForApp()) SWIG_fail;
9020 PyThreadState* __tstate = wxPyBeginAllowThreads();
9021 result = (wxPopupWindow *)new wxPopupWindow();
9022
9023 wxPyEndAllowThreads(__tstate);
9024 if (PyErr_Occurred()) SWIG_fail;
9025 }
9026 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
9027 return resultobj;
9028 fail:
9029 return NULL;
9030 }
9031
9032
9033 static PyObject *_wrap_PopupWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
9034 PyObject *resultobj;
9035 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
9036 wxWindow *arg2 = (wxWindow *) 0 ;
9037 int arg3 = (int) wxBORDER_NONE ;
9038 bool result;
9039 PyObject * obj0 = 0 ;
9040 PyObject * obj1 = 0 ;
9041 PyObject * obj2 = 0 ;
9042 char *kwnames[] = {
9043 (char *) "self",(char *) "parent",(char *) "flags", NULL
9044 };
9045
9046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PopupWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
9047 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPopupWindow,
9048 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9049 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
9050 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9051 if (obj2) {
9052 arg3 = (int)SWIG_As_int(obj2);
9053 if (PyErr_Occurred()) SWIG_fail;
9054 }
9055 {
9056 PyThreadState* __tstate = wxPyBeginAllowThreads();
9057 result = (bool)(arg1)->Create(arg2,arg3);
9058
9059 wxPyEndAllowThreads(__tstate);
9060 if (PyErr_Occurred()) SWIG_fail;
9061 }
9062 {
9063 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9064 }
9065 return resultobj;
9066 fail:
9067 return NULL;
9068 }
9069
9070
9071 static PyObject *_wrap_PopupWindow_Position(PyObject *, PyObject *args, PyObject *kwargs) {
9072 PyObject *resultobj;
9073 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
9074 wxPoint *arg2 = 0 ;
9075 wxSize *arg3 = 0 ;
9076 wxPoint temp2 ;
9077 wxSize temp3 ;
9078 PyObject * obj0 = 0 ;
9079 PyObject * obj1 = 0 ;
9080 PyObject * obj2 = 0 ;
9081 char *kwnames[] = {
9082 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
9083 };
9084
9085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) goto fail;
9086 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPopupWindow,
9087 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9088 {
9089 arg2 = &temp2;
9090 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9091 }
9092 {
9093 arg3 = &temp3;
9094 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
9095 }
9096 {
9097 PyThreadState* __tstate = wxPyBeginAllowThreads();
9098 (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3);
9099
9100 wxPyEndAllowThreads(__tstate);
9101 if (PyErr_Occurred()) SWIG_fail;
9102 }
9103 Py_INCREF(Py_None); resultobj = Py_None;
9104 return resultobj;
9105 fail:
9106 return NULL;
9107 }
9108
9109
9110 static PyObject * PopupWindow_swigregister(PyObject *, PyObject *args) {
9111 PyObject *obj;
9112 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9113 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj);
9114 Py_INCREF(obj);
9115 return Py_BuildValue((char *)"");
9116 }
9117 static PyObject *_wrap_new_PopupTransientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
9118 PyObject *resultobj;
9119 wxWindow *arg1 = (wxWindow *) 0 ;
9120 int arg2 = (int) wxBORDER_NONE ;
9121 wxPyPopupTransientWindow *result;
9122 PyObject * obj0 = 0 ;
9123 PyObject * obj1 = 0 ;
9124 char *kwnames[] = {
9125 (char *) "parent",(char *) "style", NULL
9126 };
9127
9128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) goto fail;
9129 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9130 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9131 if (obj1) {
9132 arg2 = (int)SWIG_As_int(obj1);
9133 if (PyErr_Occurred()) SWIG_fail;
9134 }
9135 {
9136 if (!wxPyCheckForApp()) SWIG_fail;
9137 PyThreadState* __tstate = wxPyBeginAllowThreads();
9138 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
9139
9140 wxPyEndAllowThreads(__tstate);
9141 if (PyErr_Occurred()) SWIG_fail;
9142 }
9143 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
9144 return resultobj;
9145 fail:
9146 return NULL;
9147 }
9148
9149
9150 static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
9151 PyObject *resultobj;
9152 wxPyPopupTransientWindow *result;
9153 char *kwnames[] = {
9154 NULL
9155 };
9156
9157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail;
9158 {
9159 if (!wxPyCheckForApp()) SWIG_fail;
9160 PyThreadState* __tstate = wxPyBeginAllowThreads();
9161 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
9162
9163 wxPyEndAllowThreads(__tstate);
9164 if (PyErr_Occurred()) SWIG_fail;
9165 }
9166 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
9167 return resultobj;
9168 fail:
9169 return NULL;
9170 }
9171
9172
9173 static PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
9174 PyObject *resultobj;
9175 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
9176 PyObject *arg2 = (PyObject *) 0 ;
9177 PyObject *arg3 = (PyObject *) 0 ;
9178 PyObject * obj0 = 0 ;
9179 PyObject * obj1 = 0 ;
9180 PyObject * obj2 = 0 ;
9181 char *kwnames[] = {
9182 (char *) "self",(char *) "self",(char *) "_class", NULL
9183 };
9184
9185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
9186 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow,
9187 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9188 arg2 = obj1;
9189 arg3 = obj2;
9190 {
9191 PyThreadState* __tstate = wxPyBeginAllowThreads();
9192 (arg1)->_setCallbackInfo(arg2,arg3);
9193
9194 wxPyEndAllowThreads(__tstate);
9195 if (PyErr_Occurred()) SWIG_fail;
9196 }
9197 Py_INCREF(Py_None); resultobj = Py_None;
9198 return resultobj;
9199 fail:
9200 return NULL;
9201 }
9202
9203
9204 static PyObject *_wrap_PopupTransientWindow_Popup(PyObject *, PyObject *args, PyObject *kwargs) {
9205 PyObject *resultobj;
9206 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
9207 wxWindow *arg2 = (wxWindow *) NULL ;
9208 PyObject * obj0 = 0 ;
9209 PyObject * obj1 = 0 ;
9210 char *kwnames[] = {
9211 (char *) "self",(char *) "focus", NULL
9212 };
9213
9214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) goto fail;
9215 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow,
9216 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9217 if (obj1) {
9218 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
9219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9220 }
9221 {
9222 PyThreadState* __tstate = wxPyBeginAllowThreads();
9223 (arg1)->Popup(arg2);
9224
9225 wxPyEndAllowThreads(__tstate);
9226 if (PyErr_Occurred()) SWIG_fail;
9227 }
9228 Py_INCREF(Py_None); resultobj = Py_None;
9229 return resultobj;
9230 fail:
9231 return NULL;
9232 }
9233
9234
9235 static PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *, PyObject *args, PyObject *kwargs) {
9236 PyObject *resultobj;
9237 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
9238 PyObject * obj0 = 0 ;
9239 char *kwnames[] = {
9240 (char *) "self", NULL
9241 };
9242
9243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PopupTransientWindow_Dismiss",kwnames,&obj0)) goto fail;
9244 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow,
9245 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9246 {
9247 PyThreadState* __tstate = wxPyBeginAllowThreads();
9248 (arg1)->Dismiss();
9249
9250 wxPyEndAllowThreads(__tstate);
9251 if (PyErr_Occurred()) SWIG_fail;
9252 }
9253 Py_INCREF(Py_None); resultobj = Py_None;
9254 return resultobj;
9255 fail:
9256 return NULL;
9257 }
9258
9259
9260 static PyObject * PopupTransientWindow_swigregister(PyObject *, PyObject *args) {
9261 PyObject *obj;
9262 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9263 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj);
9264 Py_INCREF(obj);
9265 return Py_BuildValue((char *)"");
9266 }
9267 static PyObject *_wrap_new_TipWindow(PyObject *, PyObject *args, PyObject *kwargs) {
9268 PyObject *resultobj;
9269 wxWindow *arg1 = (wxWindow *) 0 ;
9270 wxString *arg2 = 0 ;
9271 int arg3 = (int) 100 ;
9272 wxRect *arg4 = (wxRect *) NULL ;
9273 wxTipWindow *result;
9274 bool temp2 = false ;
9275 PyObject * obj0 = 0 ;
9276 PyObject * obj1 = 0 ;
9277 PyObject * obj2 = 0 ;
9278 PyObject * obj3 = 0 ;
9279 char *kwnames[] = {
9280 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
9281 };
9282
9283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9284 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9285 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9286 {
9287 arg2 = wxString_in_helper(obj1);
9288 if (arg2 == NULL) SWIG_fail;
9289 temp2 = true;
9290 }
9291 if (obj2) {
9292 arg3 = (int)SWIG_As_int(obj2);
9293 if (PyErr_Occurred()) SWIG_fail;
9294 }
9295 if (obj3) {
9296 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxRect,
9297 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9298 }
9299 {
9300 if (!wxPyCheckForApp()) SWIG_fail;
9301 PyThreadState* __tstate = wxPyBeginAllowThreads();
9302 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
9303
9304 wxPyEndAllowThreads(__tstate);
9305 if (PyErr_Occurred()) SWIG_fail;
9306 }
9307 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTipWindow, 1);
9308 {
9309 if (temp2)
9310 delete arg2;
9311 }
9312 return resultobj;
9313 fail:
9314 {
9315 if (temp2)
9316 delete arg2;
9317 }
9318 return NULL;
9319 }
9320
9321
9322 static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *, PyObject *args, PyObject *kwargs) {
9323 PyObject *resultobj;
9324 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
9325 wxRect *arg2 = 0 ;
9326 wxRect temp2 ;
9327 PyObject * obj0 = 0 ;
9328 PyObject * obj1 = 0 ;
9329 char *kwnames[] = {
9330 (char *) "self",(char *) "rectBound", NULL
9331 };
9332
9333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail;
9334 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow,
9335 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9336 {
9337 arg2 = &temp2;
9338 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
9339 }
9340 {
9341 PyThreadState* __tstate = wxPyBeginAllowThreads();
9342 (arg1)->SetBoundingRect((wxRect const &)*arg2);
9343
9344 wxPyEndAllowThreads(__tstate);
9345 if (PyErr_Occurred()) SWIG_fail;
9346 }
9347 Py_INCREF(Py_None); resultobj = Py_None;
9348 return resultobj;
9349 fail:
9350 return NULL;
9351 }
9352
9353
9354 static PyObject *_wrap_TipWindow_Close(PyObject *, PyObject *args, PyObject *kwargs) {
9355 PyObject *resultobj;
9356 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
9357 PyObject * obj0 = 0 ;
9358 char *kwnames[] = {
9359 (char *) "self", NULL
9360 };
9361
9362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail;
9363 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow,
9364 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9365 {
9366 PyThreadState* __tstate = wxPyBeginAllowThreads();
9367 (arg1)->Close();
9368
9369 wxPyEndAllowThreads(__tstate);
9370 if (PyErr_Occurred()) SWIG_fail;
9371 }
9372 Py_INCREF(Py_None); resultobj = Py_None;
9373 return resultobj;
9374 fail:
9375 return NULL;
9376 }
9377
9378
9379 static PyObject * TipWindow_swigregister(PyObject *, PyObject *args) {
9380 PyObject *obj;
9381 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9382 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj);
9383 Py_INCREF(obj);
9384 return Py_BuildValue((char *)"");
9385 }
9386 static PyObject *_wrap_new_VScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
9387 PyObject *resultobj;
9388 wxWindow *arg1 = (wxWindow *) 0 ;
9389 int arg2 = (int) wxID_ANY ;
9390 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9391 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9392 wxSize const &arg4_defvalue = wxDefaultSize ;
9393 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9394 long arg5 = (long) 0 ;
9395 wxString const &arg6_defvalue = wxPyPanelNameStr ;
9396 wxString *arg6 = (wxString *) &arg6_defvalue ;
9397 wxPyVScrolledWindow *result;
9398 wxPoint temp3 ;
9399 wxSize temp4 ;
9400 bool temp6 = false ;
9401 PyObject * obj0 = 0 ;
9402 PyObject * obj1 = 0 ;
9403 PyObject * obj2 = 0 ;
9404 PyObject * obj3 = 0 ;
9405 PyObject * obj4 = 0 ;
9406 PyObject * obj5 = 0 ;
9407 char *kwnames[] = {
9408 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9409 };
9410
9411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9412 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9413 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9414 if (obj1) {
9415 arg2 = (int)SWIG_As_int(obj1);
9416 if (PyErr_Occurred()) SWIG_fail;
9417 }
9418 if (obj2) {
9419 {
9420 arg3 = &temp3;
9421 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9422 }
9423 }
9424 if (obj3) {
9425 {
9426 arg4 = &temp4;
9427 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9428 }
9429 }
9430 if (obj4) {
9431 arg5 = (long)SWIG_As_long(obj4);
9432 if (PyErr_Occurred()) SWIG_fail;
9433 }
9434 if (obj5) {
9435 {
9436 arg6 = wxString_in_helper(obj5);
9437 if (arg6 == NULL) SWIG_fail;
9438 temp6 = true;
9439 }
9440 }
9441 {
9442 if (!wxPyCheckForApp()) SWIG_fail;
9443 PyThreadState* __tstate = wxPyBeginAllowThreads();
9444 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9445
9446 wxPyEndAllowThreads(__tstate);
9447 if (PyErr_Occurred()) SWIG_fail;
9448 }
9449 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
9450 {
9451 if (temp6)
9452 delete arg6;
9453 }
9454 return resultobj;
9455 fail:
9456 {
9457 if (temp6)
9458 delete arg6;
9459 }
9460 return NULL;
9461 }
9462
9463
9464 static PyObject *_wrap_new_PreVScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
9465 PyObject *resultobj;
9466 wxPyVScrolledWindow *result;
9467 char *kwnames[] = {
9468 NULL
9469 };
9470
9471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail;
9472 {
9473 if (!wxPyCheckForApp()) SWIG_fail;
9474 PyThreadState* __tstate = wxPyBeginAllowThreads();
9475 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
9476
9477 wxPyEndAllowThreads(__tstate);
9478 if (PyErr_Occurred()) SWIG_fail;
9479 }
9480 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
9481 return resultobj;
9482 fail:
9483 return NULL;
9484 }
9485
9486
9487 static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
9488 PyObject *resultobj;
9489 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9490 PyObject *arg2 = (PyObject *) 0 ;
9491 PyObject *arg3 = (PyObject *) 0 ;
9492 PyObject * obj0 = 0 ;
9493 PyObject * obj1 = 0 ;
9494 PyObject * obj2 = 0 ;
9495 char *kwnames[] = {
9496 (char *) "self",(char *) "self",(char *) "_class", NULL
9497 };
9498
9499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
9500 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9501 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9502 arg2 = obj1;
9503 arg3 = obj2;
9504 {
9505 PyThreadState* __tstate = wxPyBeginAllowThreads();
9506 (arg1)->_setCallbackInfo(arg2,arg3);
9507
9508 wxPyEndAllowThreads(__tstate);
9509 if (PyErr_Occurred()) SWIG_fail;
9510 }
9511 Py_INCREF(Py_None); resultobj = Py_None;
9512 return resultobj;
9513 fail:
9514 return NULL;
9515 }
9516
9517
9518 static PyObject *_wrap_VScrolledWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
9519 PyObject *resultobj;
9520 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9521 wxWindow *arg2 = (wxWindow *) 0 ;
9522 int arg3 = (int) wxID_ANY ;
9523 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9524 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9525 wxSize const &arg5_defvalue = wxDefaultSize ;
9526 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9527 long arg6 = (long) 0 ;
9528 wxString const &arg7_defvalue = wxPyPanelNameStr ;
9529 wxString *arg7 = (wxString *) &arg7_defvalue ;
9530 bool result;
9531 wxPoint temp4 ;
9532 wxSize temp5 ;
9533 bool temp7 = false ;
9534 PyObject * obj0 = 0 ;
9535 PyObject * obj1 = 0 ;
9536 PyObject * obj2 = 0 ;
9537 PyObject * obj3 = 0 ;
9538 PyObject * obj4 = 0 ;
9539 PyObject * obj5 = 0 ;
9540 PyObject * obj6 = 0 ;
9541 char *kwnames[] = {
9542 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9543 };
9544
9545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
9546 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9547 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9548 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
9549 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9550 if (obj2) {
9551 arg3 = (int)SWIG_As_int(obj2);
9552 if (PyErr_Occurred()) SWIG_fail;
9553 }
9554 if (obj3) {
9555 {
9556 arg4 = &temp4;
9557 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9558 }
9559 }
9560 if (obj4) {
9561 {
9562 arg5 = &temp5;
9563 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9564 }
9565 }
9566 if (obj5) {
9567 arg6 = (long)SWIG_As_long(obj5);
9568 if (PyErr_Occurred()) SWIG_fail;
9569 }
9570 if (obj6) {
9571 {
9572 arg7 = wxString_in_helper(obj6);
9573 if (arg7 == NULL) SWIG_fail;
9574 temp7 = true;
9575 }
9576 }
9577 {
9578 PyThreadState* __tstate = wxPyBeginAllowThreads();
9579 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9580
9581 wxPyEndAllowThreads(__tstate);
9582 if (PyErr_Occurred()) SWIG_fail;
9583 }
9584 {
9585 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9586 }
9587 {
9588 if (temp7)
9589 delete arg7;
9590 }
9591 return resultobj;
9592 fail:
9593 {
9594 if (temp7)
9595 delete arg7;
9596 }
9597 return NULL;
9598 }
9599
9600
9601 static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *, PyObject *args, PyObject *kwargs) {
9602 PyObject *resultobj;
9603 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9604 size_t arg2 ;
9605 PyObject * obj0 = 0 ;
9606 PyObject * obj1 = 0 ;
9607 char *kwnames[] = {
9608 (char *) "self",(char *) "count", NULL
9609 };
9610
9611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) goto fail;
9612 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9613 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9614 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
9615 if (PyErr_Occurred()) SWIG_fail;
9616 {
9617 PyThreadState* __tstate = wxPyBeginAllowThreads();
9618 (arg1)->SetLineCount(arg2);
9619
9620 wxPyEndAllowThreads(__tstate);
9621 if (PyErr_Occurred()) SWIG_fail;
9622 }
9623 Py_INCREF(Py_None); resultobj = Py_None;
9624 return resultobj;
9625 fail:
9626 return NULL;
9627 }
9628
9629
9630 static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *, PyObject *args, PyObject *kwargs) {
9631 PyObject *resultobj;
9632 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9633 size_t arg2 ;
9634 bool result;
9635 PyObject * obj0 = 0 ;
9636 PyObject * obj1 = 0 ;
9637 char *kwnames[] = {
9638 (char *) "self",(char *) "line", NULL
9639 };
9640
9641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail;
9642 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9643 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9644 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
9645 if (PyErr_Occurred()) SWIG_fail;
9646 {
9647 PyThreadState* __tstate = wxPyBeginAllowThreads();
9648 result = (bool)(arg1)->ScrollToLine(arg2);
9649
9650 wxPyEndAllowThreads(__tstate);
9651 if (PyErr_Occurred()) SWIG_fail;
9652 }
9653 {
9654 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9655 }
9656 return resultobj;
9657 fail:
9658 return NULL;
9659 }
9660
9661
9662 static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *, PyObject *args, PyObject *kwargs) {
9663 PyObject *resultobj;
9664 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9665 int arg2 ;
9666 bool result;
9667 PyObject * obj0 = 0 ;
9668 PyObject * obj1 = 0 ;
9669 char *kwnames[] = {
9670 (char *) "self",(char *) "lines", NULL
9671 };
9672
9673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollLines",kwnames,&obj0,&obj1)) goto fail;
9674 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9675 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9676 arg2 = (int)SWIG_As_int(obj1);
9677 if (PyErr_Occurred()) SWIG_fail;
9678 {
9679 PyThreadState* __tstate = wxPyBeginAllowThreads();
9680 result = (bool)(arg1)->ScrollLines(arg2);
9681
9682 wxPyEndAllowThreads(__tstate);
9683 if (PyErr_Occurred()) SWIG_fail;
9684 }
9685 {
9686 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9687 }
9688 return resultobj;
9689 fail:
9690 return NULL;
9691 }
9692
9693
9694 static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *, PyObject *args, PyObject *kwargs) {
9695 PyObject *resultobj;
9696 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9697 int arg2 ;
9698 bool result;
9699 PyObject * obj0 = 0 ;
9700 PyObject * obj1 = 0 ;
9701 char *kwnames[] = {
9702 (char *) "self",(char *) "pages", NULL
9703 };
9704
9705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollPages",kwnames,&obj0,&obj1)) goto fail;
9706 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9707 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9708 arg2 = (int)SWIG_As_int(obj1);
9709 if (PyErr_Occurred()) SWIG_fail;
9710 {
9711 PyThreadState* __tstate = wxPyBeginAllowThreads();
9712 result = (bool)(arg1)->ScrollPages(arg2);
9713
9714 wxPyEndAllowThreads(__tstate);
9715 if (PyErr_Occurred()) SWIG_fail;
9716 }
9717 {
9718 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9719 }
9720 return resultobj;
9721 fail:
9722 return NULL;
9723 }
9724
9725
9726 static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *, PyObject *args, PyObject *kwargs) {
9727 PyObject *resultobj;
9728 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9729 size_t arg2 ;
9730 PyObject * obj0 = 0 ;
9731 PyObject * obj1 = 0 ;
9732 char *kwnames[] = {
9733 (char *) "self",(char *) "line", NULL
9734 };
9735
9736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail;
9737 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9738 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9739 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
9740 if (PyErr_Occurred()) SWIG_fail;
9741 {
9742 PyThreadState* __tstate = wxPyBeginAllowThreads();
9743 (arg1)->RefreshLine(arg2);
9744
9745 wxPyEndAllowThreads(__tstate);
9746 if (PyErr_Occurred()) SWIG_fail;
9747 }
9748 Py_INCREF(Py_None); resultobj = Py_None;
9749 return resultobj;
9750 fail:
9751 return NULL;
9752 }
9753
9754
9755 static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *, PyObject *args, PyObject *kwargs) {
9756 PyObject *resultobj;
9757 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9758 size_t arg2 ;
9759 size_t arg3 ;
9760 PyObject * obj0 = 0 ;
9761 PyObject * obj1 = 0 ;
9762 PyObject * obj2 = 0 ;
9763 char *kwnames[] = {
9764 (char *) "self",(char *) "from",(char *) "to", NULL
9765 };
9766
9767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
9768 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9769 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9770 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
9771 if (PyErr_Occurred()) SWIG_fail;
9772 arg3 = (size_t)SWIG_As_unsigned_SS_long(obj2);
9773 if (PyErr_Occurred()) SWIG_fail;
9774 {
9775 PyThreadState* __tstate = wxPyBeginAllowThreads();
9776 (arg1)->RefreshLines(arg2,arg3);
9777
9778 wxPyEndAllowThreads(__tstate);
9779 if (PyErr_Occurred()) SWIG_fail;
9780 }
9781 Py_INCREF(Py_None); resultobj = Py_None;
9782 return resultobj;
9783 fail:
9784 return NULL;
9785 }
9786
9787
9788 static PyObject *_wrap_VScrolledWindow_HitTestXY(PyObject *, PyObject *args, PyObject *kwargs) {
9789 PyObject *resultobj;
9790 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9791 int arg2 ;
9792 int arg3 ;
9793 int result;
9794 PyObject * obj0 = 0 ;
9795 PyObject * obj1 = 0 ;
9796 PyObject * obj2 = 0 ;
9797 char *kwnames[] = {
9798 (char *) "self",(char *) "x",(char *) "y", NULL
9799 };
9800
9801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
9802 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9803 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9804 arg2 = (int)SWIG_As_int(obj1);
9805 if (PyErr_Occurred()) SWIG_fail;
9806 arg3 = (int)SWIG_As_int(obj2);
9807 if (PyErr_Occurred()) SWIG_fail;
9808 {
9809 PyThreadState* __tstate = wxPyBeginAllowThreads();
9810 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
9811
9812 wxPyEndAllowThreads(__tstate);
9813 if (PyErr_Occurred()) SWIG_fail;
9814 }
9815 resultobj = SWIG_From_int((int)result);
9816 return resultobj;
9817 fail:
9818 return NULL;
9819 }
9820
9821
9822 static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
9823 PyObject *resultobj;
9824 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9825 wxPoint *arg2 = 0 ;
9826 int result;
9827 wxPoint temp2 ;
9828 PyObject * obj0 = 0 ;
9829 PyObject * obj1 = 0 ;
9830 char *kwnames[] = {
9831 (char *) "self",(char *) "pt", NULL
9832 };
9833
9834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail;
9835 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9836 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9837 {
9838 arg2 = &temp2;
9839 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9840 }
9841 {
9842 PyThreadState* __tstate = wxPyBeginAllowThreads();
9843 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
9844
9845 wxPyEndAllowThreads(__tstate);
9846 if (PyErr_Occurred()) SWIG_fail;
9847 }
9848 resultobj = SWIG_From_int((int)result);
9849 return resultobj;
9850 fail:
9851 return NULL;
9852 }
9853
9854
9855 static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *, PyObject *args, PyObject *kwargs) {
9856 PyObject *resultobj;
9857 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9858 PyObject * obj0 = 0 ;
9859 char *kwnames[] = {
9860 (char *) "self", NULL
9861 };
9862
9863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail;
9864 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9865 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9866 {
9867 PyThreadState* __tstate = wxPyBeginAllowThreads();
9868 (arg1)->RefreshAll();
9869
9870 wxPyEndAllowThreads(__tstate);
9871 if (PyErr_Occurred()) SWIG_fail;
9872 }
9873 Py_INCREF(Py_None); resultobj = Py_None;
9874 return resultobj;
9875 fail:
9876 return NULL;
9877 }
9878
9879
9880 static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *, PyObject *args, PyObject *kwargs) {
9881 PyObject *resultobj;
9882 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9883 size_t result;
9884 PyObject * obj0 = 0 ;
9885 char *kwnames[] = {
9886 (char *) "self", NULL
9887 };
9888
9889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail;
9890 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9892 {
9893 PyThreadState* __tstate = wxPyBeginAllowThreads();
9894 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
9895
9896 wxPyEndAllowThreads(__tstate);
9897 if (PyErr_Occurred()) SWIG_fail;
9898 }
9899 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
9900 return resultobj;
9901 fail:
9902 return NULL;
9903 }
9904
9905
9906 static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) {
9907 PyObject *resultobj;
9908 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9909 size_t result;
9910 PyObject * obj0 = 0 ;
9911 char *kwnames[] = {
9912 (char *) "self", NULL
9913 };
9914
9915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
9916 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9917 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9918 {
9919 PyThreadState* __tstate = wxPyBeginAllowThreads();
9920 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
9921
9922 wxPyEndAllowThreads(__tstate);
9923 if (PyErr_Occurred()) SWIG_fail;
9924 }
9925 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
9926 return resultobj;
9927 fail:
9928 return NULL;
9929 }
9930
9931
9932 static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) {
9933 PyObject *resultobj;
9934 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9935 size_t result;
9936 PyObject * obj0 = 0 ;
9937 char *kwnames[] = {
9938 (char *) "self", NULL
9939 };
9940
9941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail;
9942 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9943 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9944 {
9945 PyThreadState* __tstate = wxPyBeginAllowThreads();
9946 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
9947
9948 wxPyEndAllowThreads(__tstate);
9949 if (PyErr_Occurred()) SWIG_fail;
9950 }
9951 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
9952 return resultobj;
9953 fail:
9954 return NULL;
9955 }
9956
9957
9958 static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) {
9959 PyObject *resultobj;
9960 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9961 size_t arg2 ;
9962 bool result;
9963 PyObject * obj0 = 0 ;
9964 PyObject * obj1 = 0 ;
9965 char *kwnames[] = {
9966 (char *) "self",(char *) "line", NULL
9967 };
9968
9969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail;
9970 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9971 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9972 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
9973 if (PyErr_Occurred()) SWIG_fail;
9974 {
9975 PyThreadState* __tstate = wxPyBeginAllowThreads();
9976 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
9977
9978 wxPyEndAllowThreads(__tstate);
9979 if (PyErr_Occurred()) SWIG_fail;
9980 }
9981 {
9982 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9983 }
9984 return resultobj;
9985 fail:
9986 return NULL;
9987 }
9988
9989
9990 static PyObject * VScrolledWindow_swigregister(PyObject *, PyObject *args) {
9991 PyObject *obj;
9992 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9993 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj);
9994 Py_INCREF(obj);
9995 return Py_BuildValue((char *)"");
9996 }
9997 static int _wrap_VListBoxNameStr_set(PyObject *) {
9998 PyErr_SetString(PyExc_TypeError,"Variable VListBoxNameStr is read-only.");
9999 return 1;
10000 }
10001
10002
10003 static PyObject *_wrap_VListBoxNameStr_get() {
10004 PyObject *pyobj;
10005
10006 {
10007 #if wxUSE_UNICODE
10008 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
10009 #else
10010 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
10011 #endif
10012 }
10013 return pyobj;
10014 }
10015
10016
10017 static PyObject *_wrap_new_VListBox(PyObject *, PyObject *args, PyObject *kwargs) {
10018 PyObject *resultobj;
10019 wxWindow *arg1 = (wxWindow *) 0 ;
10020 int arg2 = (int) wxID_ANY ;
10021 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10022 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10023 wxSize const &arg4_defvalue = wxDefaultSize ;
10024 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10025 long arg5 = (long) 0 ;
10026 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
10027 wxString *arg6 = (wxString *) &arg6_defvalue ;
10028 wxPyVListBox *result;
10029 wxPoint temp3 ;
10030 wxSize temp4 ;
10031 bool temp6 = false ;
10032 PyObject * obj0 = 0 ;
10033 PyObject * obj1 = 0 ;
10034 PyObject * obj2 = 0 ;
10035 PyObject * obj3 = 0 ;
10036 PyObject * obj4 = 0 ;
10037 PyObject * obj5 = 0 ;
10038 char *kwnames[] = {
10039 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10040 };
10041
10042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
10043 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10044 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10045 if (obj1) {
10046 arg2 = (int)SWIG_As_int(obj1);
10047 if (PyErr_Occurred()) SWIG_fail;
10048 }
10049 if (obj2) {
10050 {
10051 arg3 = &temp3;
10052 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10053 }
10054 }
10055 if (obj3) {
10056 {
10057 arg4 = &temp4;
10058 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10059 }
10060 }
10061 if (obj4) {
10062 arg5 = (long)SWIG_As_long(obj4);
10063 if (PyErr_Occurred()) SWIG_fail;
10064 }
10065 if (obj5) {
10066 {
10067 arg6 = wxString_in_helper(obj5);
10068 if (arg6 == NULL) SWIG_fail;
10069 temp6 = true;
10070 }
10071 }
10072 {
10073 if (!wxPyCheckForApp()) SWIG_fail;
10074 PyThreadState* __tstate = wxPyBeginAllowThreads();
10075 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10076
10077 wxPyEndAllowThreads(__tstate);
10078 if (PyErr_Occurred()) SWIG_fail;
10079 }
10080 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
10081 {
10082 if (temp6)
10083 delete arg6;
10084 }
10085 return resultobj;
10086 fail:
10087 {
10088 if (temp6)
10089 delete arg6;
10090 }
10091 return NULL;
10092 }
10093
10094
10095 static PyObject *_wrap_new_PreVListBox(PyObject *, PyObject *args, PyObject *kwargs) {
10096 PyObject *resultobj;
10097 wxPyVListBox *result;
10098 char *kwnames[] = {
10099 NULL
10100 };
10101
10102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail;
10103 {
10104 if (!wxPyCheckForApp()) SWIG_fail;
10105 PyThreadState* __tstate = wxPyBeginAllowThreads();
10106 result = (wxPyVListBox *)new wxPyVListBox();
10107
10108 wxPyEndAllowThreads(__tstate);
10109 if (PyErr_Occurred()) SWIG_fail;
10110 }
10111 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
10112 return resultobj;
10113 fail:
10114 return NULL;
10115 }
10116
10117
10118 static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
10119 PyObject *resultobj;
10120 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10121 PyObject *arg2 = (PyObject *) 0 ;
10122 PyObject *arg3 = (PyObject *) 0 ;
10123 PyObject * obj0 = 0 ;
10124 PyObject * obj1 = 0 ;
10125 PyObject * obj2 = 0 ;
10126 char *kwnames[] = {
10127 (char *) "self",(char *) "self",(char *) "_class", NULL
10128 };
10129
10130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
10131 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10132 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10133 arg2 = obj1;
10134 arg3 = obj2;
10135 {
10136 PyThreadState* __tstate = wxPyBeginAllowThreads();
10137 (arg1)->_setCallbackInfo(arg2,arg3);
10138
10139 wxPyEndAllowThreads(__tstate);
10140 if (PyErr_Occurred()) SWIG_fail;
10141 }
10142 Py_INCREF(Py_None); resultobj = Py_None;
10143 return resultobj;
10144 fail:
10145 return NULL;
10146 }
10147
10148
10149 static PyObject *_wrap_VListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
10150 PyObject *resultobj;
10151 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10152 wxWindow *arg2 = (wxWindow *) 0 ;
10153 int arg3 = (int) wxID_ANY ;
10154 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10155 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10156 wxSize const &arg5_defvalue = wxDefaultSize ;
10157 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10158 long arg6 = (long) 0 ;
10159 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
10160 wxString *arg7 = (wxString *) &arg7_defvalue ;
10161 bool result;
10162 wxPoint temp4 ;
10163 wxSize temp5 ;
10164 bool temp7 = false ;
10165 PyObject * obj0 = 0 ;
10166 PyObject * obj1 = 0 ;
10167 PyObject * obj2 = 0 ;
10168 PyObject * obj3 = 0 ;
10169 PyObject * obj4 = 0 ;
10170 PyObject * obj5 = 0 ;
10171 PyObject * obj6 = 0 ;
10172 char *kwnames[] = {
10173 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10174 };
10175
10176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
10177 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10178 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10179 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10180 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10181 if (obj2) {
10182 arg3 = (int)SWIG_As_int(obj2);
10183 if (PyErr_Occurred()) SWIG_fail;
10184 }
10185 if (obj3) {
10186 {
10187 arg4 = &temp4;
10188 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10189 }
10190 }
10191 if (obj4) {
10192 {
10193 arg5 = &temp5;
10194 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10195 }
10196 }
10197 if (obj5) {
10198 arg6 = (long)SWIG_As_long(obj5);
10199 if (PyErr_Occurred()) SWIG_fail;
10200 }
10201 if (obj6) {
10202 {
10203 arg7 = wxString_in_helper(obj6);
10204 if (arg7 == NULL) SWIG_fail;
10205 temp7 = true;
10206 }
10207 }
10208 {
10209 PyThreadState* __tstate = wxPyBeginAllowThreads();
10210 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10211
10212 wxPyEndAllowThreads(__tstate);
10213 if (PyErr_Occurred()) SWIG_fail;
10214 }
10215 {
10216 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10217 }
10218 {
10219 if (temp7)
10220 delete arg7;
10221 }
10222 return resultobj;
10223 fail:
10224 {
10225 if (temp7)
10226 delete arg7;
10227 }
10228 return NULL;
10229 }
10230
10231
10232 static PyObject *_wrap_VListBox_GetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
10233 PyObject *resultobj;
10234 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10235 size_t result;
10236 PyObject * obj0 = 0 ;
10237 char *kwnames[] = {
10238 (char *) "self", NULL
10239 };
10240
10241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail;
10242 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10243 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10244 {
10245 PyThreadState* __tstate = wxPyBeginAllowThreads();
10246 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
10247
10248 wxPyEndAllowThreads(__tstate);
10249 if (PyErr_Occurred()) SWIG_fail;
10250 }
10251 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
10252 return resultobj;
10253 fail:
10254 return NULL;
10255 }
10256
10257
10258 static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *, PyObject *args, PyObject *kwargs) {
10259 PyObject *resultobj;
10260 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10261 bool result;
10262 PyObject * obj0 = 0 ;
10263 char *kwnames[] = {
10264 (char *) "self", NULL
10265 };
10266
10267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail;
10268 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10269 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10270 {
10271 PyThreadState* __tstate = wxPyBeginAllowThreads();
10272 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
10273
10274 wxPyEndAllowThreads(__tstate);
10275 if (PyErr_Occurred()) SWIG_fail;
10276 }
10277 {
10278 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10279 }
10280 return resultobj;
10281 fail:
10282 return NULL;
10283 }
10284
10285
10286 static PyObject *_wrap_VListBox_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
10287 PyObject *resultobj;
10288 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10289 int result;
10290 PyObject * obj0 = 0 ;
10291 char *kwnames[] = {
10292 (char *) "self", NULL
10293 };
10294
10295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",kwnames,&obj0)) goto fail;
10296 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10297 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10298 {
10299 PyThreadState* __tstate = wxPyBeginAllowThreads();
10300 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
10301
10302 wxPyEndAllowThreads(__tstate);
10303 if (PyErr_Occurred()) SWIG_fail;
10304 }
10305 resultobj = SWIG_From_int((int)result);
10306 return resultobj;
10307 fail:
10308 return NULL;
10309 }
10310
10311
10312 static PyObject *_wrap_VListBox_IsCurrent(PyObject *, PyObject *args, PyObject *kwargs) {
10313 PyObject *resultobj;
10314 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10315 size_t arg2 ;
10316 bool result;
10317 PyObject * obj0 = 0 ;
10318 PyObject * obj1 = 0 ;
10319 char *kwnames[] = {
10320 (char *) "self",(char *) "item", NULL
10321 };
10322
10323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail;
10324 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10325 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10326 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
10327 if (PyErr_Occurred()) SWIG_fail;
10328 {
10329 PyThreadState* __tstate = wxPyBeginAllowThreads();
10330 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
10331
10332 wxPyEndAllowThreads(__tstate);
10333 if (PyErr_Occurred()) SWIG_fail;
10334 }
10335 {
10336 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10337 }
10338 return resultobj;
10339 fail:
10340 return NULL;
10341 }
10342
10343
10344 static PyObject *_wrap_VListBox_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
10345 PyObject *resultobj;
10346 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10347 size_t arg2 ;
10348 bool result;
10349 PyObject * obj0 = 0 ;
10350 PyObject * obj1 = 0 ;
10351 char *kwnames[] = {
10352 (char *) "self",(char *) "item", NULL
10353 };
10354
10355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
10356 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10357 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10358 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
10359 if (PyErr_Occurred()) SWIG_fail;
10360 {
10361 PyThreadState* __tstate = wxPyBeginAllowThreads();
10362 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
10363
10364 wxPyEndAllowThreads(__tstate);
10365 if (PyErr_Occurred()) SWIG_fail;
10366 }
10367 {
10368 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10369 }
10370 return resultobj;
10371 fail:
10372 return NULL;
10373 }
10374
10375
10376 static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *, PyObject *args, PyObject *kwargs) {
10377 PyObject *resultobj;
10378 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10379 size_t result;
10380 PyObject * obj0 = 0 ;
10381 char *kwnames[] = {
10382 (char *) "self", NULL
10383 };
10384
10385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail;
10386 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10387 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10388 {
10389 PyThreadState* __tstate = wxPyBeginAllowThreads();
10390 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
10391
10392 wxPyEndAllowThreads(__tstate);
10393 if (PyErr_Occurred()) SWIG_fail;
10394 }
10395 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
10396 return resultobj;
10397 fail:
10398 return NULL;
10399 }
10400
10401
10402 static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *, PyObject *args, PyObject *kwargs) {
10403 PyObject *resultobj;
10404 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10405 PyObject *result;
10406 PyObject * obj0 = 0 ;
10407 char *kwnames[] = {
10408 (char *) "self", NULL
10409 };
10410
10411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetFirstSelected",kwnames,&obj0)) goto fail;
10412 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10413 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10414 {
10415 PyThreadState* __tstate = wxPyBeginAllowThreads();
10416 result = (PyObject *)wxPyVListBox_GetFirstSelected(arg1);
10417
10418 wxPyEndAllowThreads(__tstate);
10419 if (PyErr_Occurred()) SWIG_fail;
10420 }
10421 resultobj = result;
10422 return resultobj;
10423 fail:
10424 return NULL;
10425 }
10426
10427
10428 static PyObject *_wrap_VListBox_GetNextSelected(PyObject *, PyObject *args, PyObject *kwargs) {
10429 PyObject *resultobj;
10430 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10431 unsigned long arg2 ;
10432 PyObject *result;
10433 PyObject * obj0 = 0 ;
10434 PyObject * obj1 = 0 ;
10435 char *kwnames[] = {
10436 (char *) "self",(char *) "cookie", NULL
10437 };
10438
10439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
10440 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10441 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10442 arg2 = (unsigned long)SWIG_As_unsigned_SS_long(obj1);
10443 if (PyErr_Occurred()) SWIG_fail;
10444 {
10445 PyThreadState* __tstate = wxPyBeginAllowThreads();
10446 result = (PyObject *)wxPyVListBox_GetNextSelected(arg1,arg2);
10447
10448 wxPyEndAllowThreads(__tstate);
10449 if (PyErr_Occurred()) SWIG_fail;
10450 }
10451 resultobj = result;
10452 return resultobj;
10453 fail:
10454 return NULL;
10455 }
10456
10457
10458 static PyObject *_wrap_VListBox_GetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
10459 PyObject *resultobj;
10460 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10461 wxPoint result;
10462 PyObject * obj0 = 0 ;
10463 char *kwnames[] = {
10464 (char *) "self", NULL
10465 };
10466
10467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail;
10468 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10469 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10470 {
10471 PyThreadState* __tstate = wxPyBeginAllowThreads();
10472 result = ((wxPyVListBox const *)arg1)->GetMargins();
10473
10474 wxPyEndAllowThreads(__tstate);
10475 if (PyErr_Occurred()) SWIG_fail;
10476 }
10477 {
10478 wxPoint * resultptr;
10479 resultptr = new wxPoint((wxPoint &) result);
10480 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
10481 }
10482 return resultobj;
10483 fail:
10484 return NULL;
10485 }
10486
10487
10488 static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) {
10489 PyObject *resultobj;
10490 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10491 wxColour *result;
10492 PyObject * obj0 = 0 ;
10493 char *kwnames[] = {
10494 (char *) "self", NULL
10495 };
10496
10497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail;
10498 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10499 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10500 {
10501 PyThreadState* __tstate = wxPyBeginAllowThreads();
10502 {
10503 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
10504 result = (wxColour *) &_result_ref;
10505 }
10506
10507 wxPyEndAllowThreads(__tstate);
10508 if (PyErr_Occurred()) SWIG_fail;
10509 }
10510 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
10511 return resultobj;
10512 fail:
10513 return NULL;
10514 }
10515
10516
10517 static PyObject *_wrap_VListBox_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
10518 PyObject *resultobj;
10519 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10520 size_t arg2 ;
10521 PyObject * obj0 = 0 ;
10522 PyObject * obj1 = 0 ;
10523 char *kwnames[] = {
10524 (char *) "self",(char *) "count", NULL
10525 };
10526
10527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
10528 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10529 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10530 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
10531 if (PyErr_Occurred()) SWIG_fail;
10532 {
10533 PyThreadState* __tstate = wxPyBeginAllowThreads();
10534 (arg1)->SetItemCount(arg2);
10535
10536 wxPyEndAllowThreads(__tstate);
10537 if (PyErr_Occurred()) SWIG_fail;
10538 }
10539 Py_INCREF(Py_None); resultobj = Py_None;
10540 return resultobj;
10541 fail:
10542 return NULL;
10543 }
10544
10545
10546 static PyObject *_wrap_VListBox_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
10547 PyObject *resultobj;
10548 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10549 PyObject * obj0 = 0 ;
10550 char *kwnames[] = {
10551 (char *) "self", NULL
10552 };
10553
10554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail;
10555 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10556 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10557 {
10558 PyThreadState* __tstate = wxPyBeginAllowThreads();
10559 (arg1)->Clear();
10560
10561 wxPyEndAllowThreads(__tstate);
10562 if (PyErr_Occurred()) SWIG_fail;
10563 }
10564 Py_INCREF(Py_None); resultobj = Py_None;
10565 return resultobj;
10566 fail:
10567 return NULL;
10568 }
10569
10570
10571 static PyObject *_wrap_VListBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
10572 PyObject *resultobj;
10573 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10574 int arg2 ;
10575 PyObject * obj0 = 0 ;
10576 PyObject * obj1 = 0 ;
10577 char *kwnames[] = {
10578 (char *) "self",(char *) "selection", NULL
10579 };
10580
10581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
10582 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10583 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10584 arg2 = (int)SWIG_As_int(obj1);
10585 if (PyErr_Occurred()) SWIG_fail;
10586 {
10587 PyThreadState* __tstate = wxPyBeginAllowThreads();
10588 (arg1)->SetSelection(arg2);
10589
10590 wxPyEndAllowThreads(__tstate);
10591 if (PyErr_Occurred()) SWIG_fail;
10592 }
10593 Py_INCREF(Py_None); resultobj = Py_None;
10594 return resultobj;
10595 fail:
10596 return NULL;
10597 }
10598
10599
10600 static PyObject *_wrap_VListBox_Select(PyObject *, PyObject *args, PyObject *kwargs) {
10601 PyObject *resultobj;
10602 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10603 size_t arg2 ;
10604 bool arg3 = (bool) true ;
10605 bool result;
10606 PyObject * obj0 = 0 ;
10607 PyObject * obj1 = 0 ;
10608 PyObject * obj2 = 0 ;
10609 char *kwnames[] = {
10610 (char *) "self",(char *) "item",(char *) "select", NULL
10611 };
10612
10613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
10614 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10615 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10616 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
10617 if (PyErr_Occurred()) SWIG_fail;
10618 if (obj2) {
10619 arg3 = (bool)SWIG_As_bool(obj2);
10620 if (PyErr_Occurred()) SWIG_fail;
10621 }
10622 {
10623 PyThreadState* __tstate = wxPyBeginAllowThreads();
10624 result = (bool)(arg1)->Select(arg2,arg3);
10625
10626 wxPyEndAllowThreads(__tstate);
10627 if (PyErr_Occurred()) SWIG_fail;
10628 }
10629 {
10630 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10631 }
10632 return resultobj;
10633 fail:
10634 return NULL;
10635 }
10636
10637
10638 static PyObject *_wrap_VListBox_SelectRange(PyObject *, PyObject *args, PyObject *kwargs) {
10639 PyObject *resultobj;
10640 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10641 size_t arg2 ;
10642 size_t arg3 ;
10643 bool result;
10644 PyObject * obj0 = 0 ;
10645 PyObject * obj1 = 0 ;
10646 PyObject * obj2 = 0 ;
10647 char *kwnames[] = {
10648 (char *) "self",(char *) "from",(char *) "to", NULL
10649 };
10650
10651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
10652 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10653 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10654 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
10655 if (PyErr_Occurred()) SWIG_fail;
10656 arg3 = (size_t)SWIG_As_unsigned_SS_long(obj2);
10657 if (PyErr_Occurred()) SWIG_fail;
10658 {
10659 PyThreadState* __tstate = wxPyBeginAllowThreads();
10660 result = (bool)(arg1)->SelectRange(arg2,arg3);
10661
10662 wxPyEndAllowThreads(__tstate);
10663 if (PyErr_Occurred()) SWIG_fail;
10664 }
10665 {
10666 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10667 }
10668 return resultobj;
10669 fail:
10670 return NULL;
10671 }
10672
10673
10674 static PyObject *_wrap_VListBox_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
10675 PyObject *resultobj;
10676 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10677 size_t arg2 ;
10678 PyObject * obj0 = 0 ;
10679 PyObject * obj1 = 0 ;
10680 char *kwnames[] = {
10681 (char *) "self",(char *) "item", NULL
10682 };
10683
10684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail;
10685 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10686 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10687 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
10688 if (PyErr_Occurred()) SWIG_fail;
10689 {
10690 PyThreadState* __tstate = wxPyBeginAllowThreads();
10691 (arg1)->Toggle(arg2);
10692
10693 wxPyEndAllowThreads(__tstate);
10694 if (PyErr_Occurred()) SWIG_fail;
10695 }
10696 Py_INCREF(Py_None); resultobj = Py_None;
10697 return resultobj;
10698 fail:
10699 return NULL;
10700 }
10701
10702
10703 static PyObject *_wrap_VListBox_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
10704 PyObject *resultobj;
10705 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10706 bool result;
10707 PyObject * obj0 = 0 ;
10708 char *kwnames[] = {
10709 (char *) "self", NULL
10710 };
10711
10712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail;
10713 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10714 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10715 {
10716 PyThreadState* __tstate = wxPyBeginAllowThreads();
10717 result = (bool)(arg1)->SelectAll();
10718
10719 wxPyEndAllowThreads(__tstate);
10720 if (PyErr_Occurred()) SWIG_fail;
10721 }
10722 {
10723 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10724 }
10725 return resultobj;
10726 fail:
10727 return NULL;
10728 }
10729
10730
10731 static PyObject *_wrap_VListBox_DeselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
10732 PyObject *resultobj;
10733 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10734 bool result;
10735 PyObject * obj0 = 0 ;
10736 char *kwnames[] = {
10737 (char *) "self", NULL
10738 };
10739
10740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail;
10741 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10742 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10743 {
10744 PyThreadState* __tstate = wxPyBeginAllowThreads();
10745 result = (bool)(arg1)->DeselectAll();
10746
10747 wxPyEndAllowThreads(__tstate);
10748 if (PyErr_Occurred()) SWIG_fail;
10749 }
10750 {
10751 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10752 }
10753 return resultobj;
10754 fail:
10755 return NULL;
10756 }
10757
10758
10759 static PyObject *_wrap_VListBox_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
10760 PyObject *resultobj;
10761 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10762 wxPoint *arg2 = 0 ;
10763 wxPoint temp2 ;
10764 PyObject * obj0 = 0 ;
10765 PyObject * obj1 = 0 ;
10766 char *kwnames[] = {
10767 (char *) "self",(char *) "pt", NULL
10768 };
10769
10770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail;
10771 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10772 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10773 {
10774 arg2 = &temp2;
10775 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10776 }
10777 {
10778 PyThreadState* __tstate = wxPyBeginAllowThreads();
10779 (arg1)->SetMargins((wxPoint const &)*arg2);
10780
10781 wxPyEndAllowThreads(__tstate);
10782 if (PyErr_Occurred()) SWIG_fail;
10783 }
10784 Py_INCREF(Py_None); resultobj = Py_None;
10785 return resultobj;
10786 fail:
10787 return NULL;
10788 }
10789
10790
10791 static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *, PyObject *args, PyObject *kwargs) {
10792 PyObject *resultobj;
10793 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10794 int arg2 ;
10795 int arg3 ;
10796 PyObject * obj0 = 0 ;
10797 PyObject * obj1 = 0 ;
10798 PyObject * obj2 = 0 ;
10799 char *kwnames[] = {
10800 (char *) "self",(char *) "x",(char *) "y", NULL
10801 };
10802
10803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
10804 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10805 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10806 arg2 = (int)SWIG_As_int(obj1);
10807 if (PyErr_Occurred()) SWIG_fail;
10808 arg3 = (int)SWIG_As_int(obj2);
10809 if (PyErr_Occurred()) SWIG_fail;
10810 {
10811 PyThreadState* __tstate = wxPyBeginAllowThreads();
10812 (arg1)->SetMargins(arg2,arg3);
10813
10814 wxPyEndAllowThreads(__tstate);
10815 if (PyErr_Occurred()) SWIG_fail;
10816 }
10817 Py_INCREF(Py_None); resultobj = Py_None;
10818 return resultobj;
10819 fail:
10820 return NULL;
10821 }
10822
10823
10824 static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) {
10825 PyObject *resultobj;
10826 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10827 wxColour *arg2 = 0 ;
10828 wxColour temp2 ;
10829 PyObject * obj0 = 0 ;
10830 PyObject * obj1 = 0 ;
10831 char *kwnames[] = {
10832 (char *) "self",(char *) "col", NULL
10833 };
10834
10835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail;
10836 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10837 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10838 {
10839 arg2 = &temp2;
10840 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10841 }
10842 {
10843 PyThreadState* __tstate = wxPyBeginAllowThreads();
10844 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
10845
10846 wxPyEndAllowThreads(__tstate);
10847 if (PyErr_Occurred()) SWIG_fail;
10848 }
10849 Py_INCREF(Py_None); resultobj = Py_None;
10850 return resultobj;
10851 fail:
10852 return NULL;
10853 }
10854
10855
10856 static PyObject * VListBox_swigregister(PyObject *, PyObject *args) {
10857 PyObject *obj;
10858 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10859 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj);
10860 Py_INCREF(obj);
10861 return Py_BuildValue((char *)"");
10862 }
10863 static PyObject *_wrap_new_HtmlListBox(PyObject *, PyObject *args, PyObject *kwargs) {
10864 PyObject *resultobj;
10865 wxWindow *arg1 = (wxWindow *) 0 ;
10866 int arg2 = (int) wxID_ANY ;
10867 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10868 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10869 wxSize const &arg4_defvalue = wxDefaultSize ;
10870 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10871 long arg5 = (long) 0 ;
10872 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
10873 wxString *arg6 = (wxString *) &arg6_defvalue ;
10874 wxPyHtmlListBox *result;
10875 wxPoint temp3 ;
10876 wxSize temp4 ;
10877 bool temp6 = false ;
10878 PyObject * obj0 = 0 ;
10879 PyObject * obj1 = 0 ;
10880 PyObject * obj2 = 0 ;
10881 PyObject * obj3 = 0 ;
10882 PyObject * obj4 = 0 ;
10883 PyObject * obj5 = 0 ;
10884 char *kwnames[] = {
10885 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10886 };
10887
10888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
10889 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10890 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10891 if (obj1) {
10892 arg2 = (int)SWIG_As_int(obj1);
10893 if (PyErr_Occurred()) SWIG_fail;
10894 }
10895 if (obj2) {
10896 {
10897 arg3 = &temp3;
10898 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10899 }
10900 }
10901 if (obj3) {
10902 {
10903 arg4 = &temp4;
10904 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10905 }
10906 }
10907 if (obj4) {
10908 arg5 = (long)SWIG_As_long(obj4);
10909 if (PyErr_Occurred()) SWIG_fail;
10910 }
10911 if (obj5) {
10912 {
10913 arg6 = wxString_in_helper(obj5);
10914 if (arg6 == NULL) SWIG_fail;
10915 temp6 = true;
10916 }
10917 }
10918 {
10919 if (!wxPyCheckForApp()) SWIG_fail;
10920 PyThreadState* __tstate = wxPyBeginAllowThreads();
10921 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10922
10923 wxPyEndAllowThreads(__tstate);
10924 if (PyErr_Occurred()) SWIG_fail;
10925 }
10926 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
10927 {
10928 if (temp6)
10929 delete arg6;
10930 }
10931 return resultobj;
10932 fail:
10933 {
10934 if (temp6)
10935 delete arg6;
10936 }
10937 return NULL;
10938 }
10939
10940
10941 static PyObject *_wrap_new_PreHtmlListBox(PyObject *, PyObject *args, PyObject *kwargs) {
10942 PyObject *resultobj;
10943 wxPyHtmlListBox *result;
10944 char *kwnames[] = {
10945 NULL
10946 };
10947
10948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail;
10949 {
10950 if (!wxPyCheckForApp()) SWIG_fail;
10951 PyThreadState* __tstate = wxPyBeginAllowThreads();
10952 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
10953
10954 wxPyEndAllowThreads(__tstate);
10955 if (PyErr_Occurred()) SWIG_fail;
10956 }
10957 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
10958 return resultobj;
10959 fail:
10960 return NULL;
10961 }
10962
10963
10964 static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
10965 PyObject *resultobj;
10966 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10967 PyObject *arg2 = (PyObject *) 0 ;
10968 PyObject *arg3 = (PyObject *) 0 ;
10969 PyObject * obj0 = 0 ;
10970 PyObject * obj1 = 0 ;
10971 PyObject * obj2 = 0 ;
10972 char *kwnames[] = {
10973 (char *) "self",(char *) "self",(char *) "_class", NULL
10974 };
10975
10976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
10977 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10978 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10979 arg2 = obj1;
10980 arg3 = obj2;
10981 {
10982 PyThreadState* __tstate = wxPyBeginAllowThreads();
10983 (arg1)->_setCallbackInfo(arg2,arg3);
10984
10985 wxPyEndAllowThreads(__tstate);
10986 if (PyErr_Occurred()) SWIG_fail;
10987 }
10988 Py_INCREF(Py_None); resultobj = Py_None;
10989 return resultobj;
10990 fail:
10991 return NULL;
10992 }
10993
10994
10995 static PyObject *_wrap_HtmlListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
10996 PyObject *resultobj;
10997 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10998 wxWindow *arg2 = (wxWindow *) 0 ;
10999 int arg3 = (int) wxID_ANY ;
11000 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11001 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11002 wxSize const &arg5_defvalue = wxDefaultSize ;
11003 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11004 long arg6 = (long) 0 ;
11005 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
11006 wxString *arg7 = (wxString *) &arg7_defvalue ;
11007 bool result;
11008 wxPoint temp4 ;
11009 wxSize temp5 ;
11010 bool temp7 = false ;
11011 PyObject * obj0 = 0 ;
11012 PyObject * obj1 = 0 ;
11013 PyObject * obj2 = 0 ;
11014 PyObject * obj3 = 0 ;
11015 PyObject * obj4 = 0 ;
11016 PyObject * obj5 = 0 ;
11017 PyObject * obj6 = 0 ;
11018 char *kwnames[] = {
11019 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11020 };
11021
11022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11023 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
11024 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11025 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
11026 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11027 if (obj2) {
11028 arg3 = (int)SWIG_As_int(obj2);
11029 if (PyErr_Occurred()) SWIG_fail;
11030 }
11031 if (obj3) {
11032 {
11033 arg4 = &temp4;
11034 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11035 }
11036 }
11037 if (obj4) {
11038 {
11039 arg5 = &temp5;
11040 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11041 }
11042 }
11043 if (obj5) {
11044 arg6 = (long)SWIG_As_long(obj5);
11045 if (PyErr_Occurred()) SWIG_fail;
11046 }
11047 if (obj6) {
11048 {
11049 arg7 = wxString_in_helper(obj6);
11050 if (arg7 == NULL) SWIG_fail;
11051 temp7 = true;
11052 }
11053 }
11054 {
11055 PyThreadState* __tstate = wxPyBeginAllowThreads();
11056 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
11057
11058 wxPyEndAllowThreads(__tstate);
11059 if (PyErr_Occurred()) SWIG_fail;
11060 }
11061 {
11062 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11063 }
11064 {
11065 if (temp7)
11066 delete arg7;
11067 }
11068 return resultobj;
11069 fail:
11070 {
11071 if (temp7)
11072 delete arg7;
11073 }
11074 return NULL;
11075 }
11076
11077
11078 static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *, PyObject *args, PyObject *kwargs) {
11079 PyObject *resultobj;
11080 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
11081 PyObject * obj0 = 0 ;
11082 char *kwnames[] = {
11083 (char *) "self", NULL
11084 };
11085
11086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail;
11087 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
11088 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11089 {
11090 PyThreadState* __tstate = wxPyBeginAllowThreads();
11091 (arg1)->RefreshAll();
11092
11093 wxPyEndAllowThreads(__tstate);
11094 if (PyErr_Occurred()) SWIG_fail;
11095 }
11096 Py_INCREF(Py_None); resultobj = Py_None;
11097 return resultobj;
11098 fail:
11099 return NULL;
11100 }
11101
11102
11103 static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
11104 PyObject *resultobj;
11105 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
11106 size_t arg2 ;
11107 PyObject * obj0 = 0 ;
11108 PyObject * obj1 = 0 ;
11109 char *kwnames[] = {
11110 (char *) "self",(char *) "count", NULL
11111 };
11112
11113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
11114 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
11115 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11116 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
11117 if (PyErr_Occurred()) SWIG_fail;
11118 {
11119 PyThreadState* __tstate = wxPyBeginAllowThreads();
11120 (arg1)->SetItemCount(arg2);
11121
11122 wxPyEndAllowThreads(__tstate);
11123 if (PyErr_Occurred()) SWIG_fail;
11124 }
11125 Py_INCREF(Py_None); resultobj = Py_None;
11126 return resultobj;
11127 fail:
11128 return NULL;
11129 }
11130
11131
11132 static PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *, PyObject *args, PyObject *kwargs) {
11133 PyObject *resultobj;
11134 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
11135 wxFileSystem *result;
11136 PyObject * obj0 = 0 ;
11137 char *kwnames[] = {
11138 (char *) "self", NULL
11139 };
11140
11141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_GetFileSystem",kwnames,&obj0)) goto fail;
11142 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
11143 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11144 {
11145 PyThreadState* __tstate = wxPyBeginAllowThreads();
11146 {
11147 wxFileSystem &_result_ref = (arg1)->GetFileSystem();
11148 result = (wxFileSystem *) &_result_ref;
11149 }
11150
11151 wxPyEndAllowThreads(__tstate);
11152 if (PyErr_Occurred()) SWIG_fail;
11153 }
11154 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileSystem, 0);
11155 return resultobj;
11156 fail:
11157 return NULL;
11158 }
11159
11160
11161 static PyObject * HtmlListBox_swigregister(PyObject *, PyObject *args) {
11162 PyObject *obj;
11163 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11164 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj);
11165 Py_INCREF(obj);
11166 return Py_BuildValue((char *)"");
11167 }
11168 static PyObject *_wrap_new_TaskBarIcon(PyObject *, PyObject *args, PyObject *kwargs) {
11169 PyObject *resultobj;
11170 wxPyTaskBarIcon *result;
11171 char *kwnames[] = {
11172 NULL
11173 };
11174
11175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail;
11176 {
11177 if (!wxPyCheckForApp()) SWIG_fail;
11178 PyThreadState* __tstate = wxPyBeginAllowThreads();
11179 result = (wxPyTaskBarIcon *)new wxPyTaskBarIcon();
11180
11181 wxPyEndAllowThreads(__tstate);
11182 if (PyErr_Occurred()) SWIG_fail;
11183 }
11184 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTaskBarIcon, 1);
11185 return resultobj;
11186 fail:
11187 return NULL;
11188 }
11189
11190
11191 static PyObject *_wrap_TaskBarIcon__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
11192 PyObject *resultobj;
11193 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
11194 PyObject *arg2 = (PyObject *) 0 ;
11195 PyObject *arg3 = (PyObject *) 0 ;
11196 int arg4 ;
11197 PyObject * obj0 = 0 ;
11198 PyObject * obj1 = 0 ;
11199 PyObject * obj2 = 0 ;
11200 PyObject * obj3 = 0 ;
11201 char *kwnames[] = {
11202 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
11203 };
11204
11205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
11206 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTaskBarIcon,
11207 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11208 arg2 = obj1;
11209 arg3 = obj2;
11210 arg4 = (int)SWIG_As_int(obj3);
11211 if (PyErr_Occurred()) SWIG_fail;
11212 {
11213 PyThreadState* __tstate = wxPyBeginAllowThreads();
11214 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
11215
11216 wxPyEndAllowThreads(__tstate);
11217 if (PyErr_Occurred()) SWIG_fail;
11218 }
11219 Py_INCREF(Py_None); resultobj = Py_None;
11220 return resultobj;
11221 fail:
11222 return NULL;
11223 }
11224
11225
11226 static PyObject *_wrap_TaskBarIcon_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
11227 PyObject *resultobj;
11228 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
11229 PyObject * obj0 = 0 ;
11230 char *kwnames[] = {
11231 (char *) "self", NULL
11232 };
11233
11234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_Destroy",kwnames,&obj0)) goto fail;
11235 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTaskBarIcon,
11236 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11237 {
11238 PyThreadState* __tstate = wxPyBeginAllowThreads();
11239 wxPyTaskBarIcon_Destroy(arg1);
11240
11241 wxPyEndAllowThreads(__tstate);
11242 if (PyErr_Occurred()) SWIG_fail;
11243 }
11244 Py_INCREF(Py_None); resultobj = Py_None;
11245 return resultobj;
11246 fail:
11247 return NULL;
11248 }
11249
11250
11251 static PyObject *_wrap_TaskBarIcon_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
11252 PyObject *resultobj;
11253 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
11254 bool result;
11255 PyObject * obj0 = 0 ;
11256 char *kwnames[] = {
11257 (char *) "self", NULL
11258 };
11259
11260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsOk",kwnames,&obj0)) goto fail;
11261 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTaskBarIcon,
11262 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11263 {
11264 PyThreadState* __tstate = wxPyBeginAllowThreads();
11265 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsOk();
11266
11267 wxPyEndAllowThreads(__tstate);
11268 if (PyErr_Occurred()) SWIG_fail;
11269 }
11270 {
11271 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11272 }
11273 return resultobj;
11274 fail:
11275 return NULL;
11276 }
11277
11278
11279 static PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *, PyObject *args, PyObject *kwargs) {
11280 PyObject *resultobj;
11281 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
11282 bool result;
11283 PyObject * obj0 = 0 ;
11284 char *kwnames[] = {
11285 (char *) "self", NULL
11286 };
11287
11288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames,&obj0)) goto fail;
11289 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTaskBarIcon,
11290 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11291 {
11292 PyThreadState* __tstate = wxPyBeginAllowThreads();
11293 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsIconInstalled();
11294
11295 wxPyEndAllowThreads(__tstate);
11296 if (PyErr_Occurred()) SWIG_fail;
11297 }
11298 {
11299 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11300 }
11301 return resultobj;
11302 fail:
11303 return NULL;
11304 }
11305
11306
11307 static PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
11308 PyObject *resultobj;
11309 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
11310 wxIcon *arg2 = 0 ;
11311 wxString const &arg3_defvalue = wxPyEmptyString ;
11312 wxString *arg3 = (wxString *) &arg3_defvalue ;
11313 bool result;
11314 bool temp3 = false ;
11315 PyObject * obj0 = 0 ;
11316 PyObject * obj1 = 0 ;
11317 PyObject * obj2 = 0 ;
11318 char *kwnames[] = {
11319 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
11320 };
11321
11322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
11323 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTaskBarIcon,
11324 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11325 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
11326 SWIG_POINTER_EXCEPTION | 0)) == -1)
11327 SWIG_fail;
11328 if (arg2 == NULL) {
11329 PyErr_SetString(PyExc_TypeError,"null reference");
11330 SWIG_fail;
11331 }
11332 if (obj2) {
11333 {
11334 arg3 = wxString_in_helper(obj2);
11335 if (arg3 == NULL) SWIG_fail;
11336 temp3 = true;
11337 }
11338 }
11339 {
11340 PyThreadState* __tstate = wxPyBeginAllowThreads();
11341 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
11342
11343 wxPyEndAllowThreads(__tstate);
11344 if (PyErr_Occurred()) SWIG_fail;
11345 }
11346 {
11347 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11348 }
11349 {
11350 if (temp3)
11351 delete arg3;
11352 }
11353 return resultobj;
11354 fail:
11355 {
11356 if (temp3)
11357 delete arg3;
11358 }
11359 return NULL;
11360 }
11361
11362
11363 static PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *, PyObject *args, PyObject *kwargs) {
11364 PyObject *resultobj;
11365 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
11366 bool result;
11367 PyObject * obj0 = 0 ;
11368 char *kwnames[] = {
11369 (char *) "self", NULL
11370 };
11371
11372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_RemoveIcon",kwnames,&obj0)) goto fail;
11373 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTaskBarIcon,
11374 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11375 {
11376 PyThreadState* __tstate = wxPyBeginAllowThreads();
11377 result = (bool)(arg1)->RemoveIcon();
11378
11379 wxPyEndAllowThreads(__tstate);
11380 if (PyErr_Occurred()) SWIG_fail;
11381 }
11382 {
11383 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11384 }
11385 return resultobj;
11386 fail:
11387 return NULL;
11388 }
11389
11390
11391 static PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *, PyObject *args, PyObject *kwargs) {
11392 PyObject *resultobj;
11393 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
11394 wxMenu *arg2 = (wxMenu *) 0 ;
11395 bool result;
11396 PyObject * obj0 = 0 ;
11397 PyObject * obj1 = 0 ;
11398 char *kwnames[] = {
11399 (char *) "self",(char *) "menu", NULL
11400 };
11401
11402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) goto fail;
11403 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTaskBarIcon,
11404 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11405 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
11406 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11407 {
11408 PyThreadState* __tstate = wxPyBeginAllowThreads();
11409 result = (bool)(arg1)->PopupMenu(arg2);
11410
11411 wxPyEndAllowThreads(__tstate);
11412 if (PyErr_Occurred()) SWIG_fail;
11413 }
11414 {
11415 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11416 }
11417 return resultobj;
11418 fail:
11419 return NULL;
11420 }
11421
11422
11423 static PyObject * TaskBarIcon_swigregister(PyObject *, PyObject *args) {
11424 PyObject *obj;
11425 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11426 SWIG_TypeClientData(SWIGTYPE_p_wxPyTaskBarIcon, obj);
11427 Py_INCREF(obj);
11428 return Py_BuildValue((char *)"");
11429 }
11430 static PyObject *_wrap_new_TaskBarIconEvent(PyObject *, PyObject *args, PyObject *kwargs) {
11431 PyObject *resultobj;
11432 wxEventType arg1 ;
11433 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
11434 wxTaskBarIconEvent *result;
11435 PyObject * obj0 = 0 ;
11436 PyObject * obj1 = 0 ;
11437 char *kwnames[] = {
11438 (char *) "evtType",(char *) "tbIcon", NULL
11439 };
11440
11441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) goto fail;
11442 arg1 = (wxEventType)SWIG_As_int(obj0);
11443 if (PyErr_Occurred()) SWIG_fail;
11444 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTaskBarIcon,
11445 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11446 {
11447 PyThreadState* __tstate = wxPyBeginAllowThreads();
11448 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
11449
11450 wxPyEndAllowThreads(__tstate);
11451 if (PyErr_Occurred()) SWIG_fail;
11452 }
11453 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIconEvent, 1);
11454 return resultobj;
11455 fail:
11456 return NULL;
11457 }
11458
11459
11460 static PyObject * TaskBarIconEvent_swigregister(PyObject *, PyObject *args) {
11461 PyObject *obj;
11462 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11463 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj);
11464 Py_INCREF(obj);
11465 return Py_BuildValue((char *)"");
11466 }
11467 static int _wrap_FileSelectorPromptStr_set(PyObject *) {
11468 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
11469 return 1;
11470 }
11471
11472
11473 static PyObject *_wrap_FileSelectorPromptStr_get() {
11474 PyObject *pyobj;
11475
11476 {
11477 #if wxUSE_UNICODE
11478 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
11479 #else
11480 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
11481 #endif
11482 }
11483 return pyobj;
11484 }
11485
11486
11487 static int _wrap_DirSelectorPromptStr_set(PyObject *) {
11488 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
11489 return 1;
11490 }
11491
11492
11493 static PyObject *_wrap_DirSelectorPromptStr_get() {
11494 PyObject *pyobj;
11495
11496 {
11497 #if wxUSE_UNICODE
11498 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
11499 #else
11500 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
11501 #endif
11502 }
11503 return pyobj;
11504 }
11505
11506
11507 static int _wrap_DirDialogNameStr_set(PyObject *) {
11508 PyErr_SetString(PyExc_TypeError,"Variable DirDialogNameStr is read-only.");
11509 return 1;
11510 }
11511
11512
11513 static PyObject *_wrap_DirDialogNameStr_get() {
11514 PyObject *pyobj;
11515
11516 {
11517 #if wxUSE_UNICODE
11518 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
11519 #else
11520 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
11521 #endif
11522 }
11523 return pyobj;
11524 }
11525
11526
11527 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *) {
11528 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
11529 return 1;
11530 }
11531
11532
11533 static PyObject *_wrap_FileSelectorDefaultWildcardStr_get() {
11534 PyObject *pyobj;
11535
11536 {
11537 #if wxUSE_UNICODE
11538 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
11539 #else
11540 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
11541 #endif
11542 }
11543 return pyobj;
11544 }
11545
11546
11547 static int _wrap_GetTextFromUserPromptStr_set(PyObject *) {
11548 PyErr_SetString(PyExc_TypeError,"Variable GetTextFromUserPromptStr is read-only.");
11549 return 1;
11550 }
11551
11552
11553 static PyObject *_wrap_GetTextFromUserPromptStr_get() {
11554 PyObject *pyobj;
11555
11556 {
11557 #if wxUSE_UNICODE
11558 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
11559 #else
11560 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
11561 #endif
11562 }
11563 return pyobj;
11564 }
11565
11566
11567 static int _wrap_MessageBoxCaptionStr_set(PyObject *) {
11568 PyErr_SetString(PyExc_TypeError,"Variable MessageBoxCaptionStr is read-only.");
11569 return 1;
11570 }
11571
11572
11573 static PyObject *_wrap_MessageBoxCaptionStr_get() {
11574 PyObject *pyobj;
11575
11576 {
11577 #if wxUSE_UNICODE
11578 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
11579 #else
11580 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
11581 #endif
11582 }
11583 return pyobj;
11584 }
11585
11586
11587 static PyObject *_wrap_new_ColourData(PyObject *, PyObject *args, PyObject *kwargs) {
11588 PyObject *resultobj;
11589 wxColourData *result;
11590 char *kwnames[] = {
11591 NULL
11592 };
11593
11594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail;
11595 {
11596 PyThreadState* __tstate = wxPyBeginAllowThreads();
11597 result = (wxColourData *)new wxColourData();
11598
11599 wxPyEndAllowThreads(__tstate);
11600 if (PyErr_Occurred()) SWIG_fail;
11601 }
11602 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 1);
11603 return resultobj;
11604 fail:
11605 return NULL;
11606 }
11607
11608
11609 static PyObject *_wrap_delete_ColourData(PyObject *, PyObject *args, PyObject *kwargs) {
11610 PyObject *resultobj;
11611 wxColourData *arg1 = (wxColourData *) 0 ;
11612 PyObject * obj0 = 0 ;
11613 char *kwnames[] = {
11614 (char *) "self", NULL
11615 };
11616
11617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail;
11618 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11619 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11620 {
11621 PyThreadState* __tstate = wxPyBeginAllowThreads();
11622 delete arg1;
11623
11624 wxPyEndAllowThreads(__tstate);
11625 if (PyErr_Occurred()) SWIG_fail;
11626 }
11627 Py_INCREF(Py_None); resultobj = Py_None;
11628 return resultobj;
11629 fail:
11630 return NULL;
11631 }
11632
11633
11634 static PyObject *_wrap_ColourData_GetChooseFull(PyObject *, PyObject *args, PyObject *kwargs) {
11635 PyObject *resultobj;
11636 wxColourData *arg1 = (wxColourData *) 0 ;
11637 bool result;
11638 PyObject * obj0 = 0 ;
11639 char *kwnames[] = {
11640 (char *) "self", NULL
11641 };
11642
11643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail;
11644 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11645 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11646 {
11647 PyThreadState* __tstate = wxPyBeginAllowThreads();
11648 result = (bool)(arg1)->GetChooseFull();
11649
11650 wxPyEndAllowThreads(__tstate);
11651 if (PyErr_Occurred()) SWIG_fail;
11652 }
11653 {
11654 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11655 }
11656 return resultobj;
11657 fail:
11658 return NULL;
11659 }
11660
11661
11662 static PyObject *_wrap_ColourData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
11663 PyObject *resultobj;
11664 wxColourData *arg1 = (wxColourData *) 0 ;
11665 wxColour result;
11666 PyObject * obj0 = 0 ;
11667 char *kwnames[] = {
11668 (char *) "self", NULL
11669 };
11670
11671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail;
11672 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11673 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11674 {
11675 PyThreadState* __tstate = wxPyBeginAllowThreads();
11676 result = (arg1)->GetColour();
11677
11678 wxPyEndAllowThreads(__tstate);
11679 if (PyErr_Occurred()) SWIG_fail;
11680 }
11681 {
11682 wxColour * resultptr;
11683 resultptr = new wxColour((wxColour &) result);
11684 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
11685 }
11686 return resultobj;
11687 fail:
11688 return NULL;
11689 }
11690
11691
11692 static PyObject *_wrap_ColourData_GetCustomColour(PyObject *, PyObject *args, PyObject *kwargs) {
11693 PyObject *resultobj;
11694 wxColourData *arg1 = (wxColourData *) 0 ;
11695 int arg2 ;
11696 wxColour result;
11697 PyObject * obj0 = 0 ;
11698 PyObject * obj1 = 0 ;
11699 char *kwnames[] = {
11700 (char *) "self",(char *) "i", NULL
11701 };
11702
11703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) goto fail;
11704 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11705 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11706 arg2 = (int)SWIG_As_int(obj1);
11707 if (PyErr_Occurred()) SWIG_fail;
11708 {
11709 PyThreadState* __tstate = wxPyBeginAllowThreads();
11710 result = (arg1)->GetCustomColour(arg2);
11711
11712 wxPyEndAllowThreads(__tstate);
11713 if (PyErr_Occurred()) SWIG_fail;
11714 }
11715 {
11716 wxColour * resultptr;
11717 resultptr = new wxColour((wxColour &) result);
11718 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
11719 }
11720 return resultobj;
11721 fail:
11722 return NULL;
11723 }
11724
11725
11726 static PyObject *_wrap_ColourData_SetChooseFull(PyObject *, PyObject *args, PyObject *kwargs) {
11727 PyObject *resultobj;
11728 wxColourData *arg1 = (wxColourData *) 0 ;
11729 int arg2 ;
11730 PyObject * obj0 = 0 ;
11731 PyObject * obj1 = 0 ;
11732 char *kwnames[] = {
11733 (char *) "self",(char *) "flag", NULL
11734 };
11735
11736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) goto fail;
11737 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11738 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11739 arg2 = (int)SWIG_As_int(obj1);
11740 if (PyErr_Occurred()) SWIG_fail;
11741 {
11742 PyThreadState* __tstate = wxPyBeginAllowThreads();
11743 (arg1)->SetChooseFull(arg2);
11744
11745 wxPyEndAllowThreads(__tstate);
11746 if (PyErr_Occurred()) SWIG_fail;
11747 }
11748 Py_INCREF(Py_None); resultobj = Py_None;
11749 return resultobj;
11750 fail:
11751 return NULL;
11752 }
11753
11754
11755 static PyObject *_wrap_ColourData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
11756 PyObject *resultobj;
11757 wxColourData *arg1 = (wxColourData *) 0 ;
11758 wxColour *arg2 = 0 ;
11759 wxColour temp2 ;
11760 PyObject * obj0 = 0 ;
11761 PyObject * obj1 = 0 ;
11762 char *kwnames[] = {
11763 (char *) "self",(char *) "colour", NULL
11764 };
11765
11766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail;
11767 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11768 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11769 {
11770 arg2 = &temp2;
11771 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
11772 }
11773 {
11774 PyThreadState* __tstate = wxPyBeginAllowThreads();
11775 (arg1)->SetColour((wxColour const &)*arg2);
11776
11777 wxPyEndAllowThreads(__tstate);
11778 if (PyErr_Occurred()) SWIG_fail;
11779 }
11780 Py_INCREF(Py_None); resultobj = Py_None;
11781 return resultobj;
11782 fail:
11783 return NULL;
11784 }
11785
11786
11787 static PyObject *_wrap_ColourData_SetCustomColour(PyObject *, PyObject *args, PyObject *kwargs) {
11788 PyObject *resultobj;
11789 wxColourData *arg1 = (wxColourData *) 0 ;
11790 int arg2 ;
11791 wxColour *arg3 = 0 ;
11792 wxColour temp3 ;
11793 PyObject * obj0 = 0 ;
11794 PyObject * obj1 = 0 ;
11795 PyObject * obj2 = 0 ;
11796 char *kwnames[] = {
11797 (char *) "self",(char *) "i",(char *) "colour", NULL
11798 };
11799
11800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
11801 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11802 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11803 arg2 = (int)SWIG_As_int(obj1);
11804 if (PyErr_Occurred()) SWIG_fail;
11805 {
11806 arg3 = &temp3;
11807 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
11808 }
11809 {
11810 PyThreadState* __tstate = wxPyBeginAllowThreads();
11811 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
11812
11813 wxPyEndAllowThreads(__tstate);
11814 if (PyErr_Occurred()) SWIG_fail;
11815 }
11816 Py_INCREF(Py_None); resultobj = Py_None;
11817 return resultobj;
11818 fail:
11819 return NULL;
11820 }
11821
11822
11823 static PyObject * ColourData_swigregister(PyObject *, PyObject *args) {
11824 PyObject *obj;
11825 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11826 SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj);
11827 Py_INCREF(obj);
11828 return Py_BuildValue((char *)"");
11829 }
11830 static PyObject *_wrap_new_ColourDialog(PyObject *, PyObject *args, PyObject *kwargs) {
11831 PyObject *resultobj;
11832 wxWindow *arg1 = (wxWindow *) 0 ;
11833 wxColourData *arg2 = (wxColourData *) NULL ;
11834 wxColourDialog *result;
11835 PyObject * obj0 = 0 ;
11836 PyObject * obj1 = 0 ;
11837 char *kwnames[] = {
11838 (char *) "parent",(char *) "data", NULL
11839 };
11840
11841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail;
11842 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11843 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11844 if (obj1) {
11845 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxColourData,
11846 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11847 }
11848 {
11849 if (!wxPyCheckForApp()) SWIG_fail;
11850 PyThreadState* __tstate = wxPyBeginAllowThreads();
11851 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
11852
11853 wxPyEndAllowThreads(__tstate);
11854 if (PyErr_Occurred()) SWIG_fail;
11855 }
11856 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourDialog, 1);
11857 return resultobj;
11858 fail:
11859 return NULL;
11860 }
11861
11862
11863 static PyObject *_wrap_ColourDialog_GetColourData(PyObject *, PyObject *args, PyObject *kwargs) {
11864 PyObject *resultobj;
11865 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
11866 wxColourData *result;
11867 PyObject * obj0 = 0 ;
11868 char *kwnames[] = {
11869 (char *) "self", NULL
11870 };
11871
11872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail;
11873 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourDialog,
11874 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11875 {
11876 PyThreadState* __tstate = wxPyBeginAllowThreads();
11877 {
11878 wxColourData &_result_ref = (arg1)->GetColourData();
11879 result = (wxColourData *) &_result_ref;
11880 }
11881
11882 wxPyEndAllowThreads(__tstate);
11883 if (PyErr_Occurred()) SWIG_fail;
11884 }
11885 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 0);
11886 return resultobj;
11887 fail:
11888 return NULL;
11889 }
11890
11891
11892 static PyObject * ColourDialog_swigregister(PyObject *, PyObject *args) {
11893 PyObject *obj;
11894 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11895 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj);
11896 Py_INCREF(obj);
11897 return Py_BuildValue((char *)"");
11898 }
11899 static PyObject *_wrap_new_DirDialog(PyObject *, PyObject *args, PyObject *kwargs) {
11900 PyObject *resultobj;
11901 wxWindow *arg1 = (wxWindow *) 0 ;
11902 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
11903 wxString *arg2 = (wxString *) &arg2_defvalue ;
11904 wxString const &arg3_defvalue = wxPyEmptyString ;
11905 wxString *arg3 = (wxString *) &arg3_defvalue ;
11906 long arg4 = (long) 0 ;
11907 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11908 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11909 wxSize const &arg6_defvalue = wxDefaultSize ;
11910 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11911 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
11912 wxString *arg7 = (wxString *) &arg7_defvalue ;
11913 wxDirDialog *result;
11914 bool temp2 = false ;
11915 bool temp3 = false ;
11916 wxPoint temp5 ;
11917 wxSize temp6 ;
11918 bool temp7 = false ;
11919 PyObject * obj0 = 0 ;
11920 PyObject * obj1 = 0 ;
11921 PyObject * obj2 = 0 ;
11922 PyObject * obj3 = 0 ;
11923 PyObject * obj4 = 0 ;
11924 PyObject * obj5 = 0 ;
11925 PyObject * obj6 = 0 ;
11926 char *kwnames[] = {
11927 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
11928 };
11929
11930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11931 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11932 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11933 if (obj1) {
11934 {
11935 arg2 = wxString_in_helper(obj1);
11936 if (arg2 == NULL) SWIG_fail;
11937 temp2 = true;
11938 }
11939 }
11940 if (obj2) {
11941 {
11942 arg3 = wxString_in_helper(obj2);
11943 if (arg3 == NULL) SWIG_fail;
11944 temp3 = true;
11945 }
11946 }
11947 if (obj3) {
11948 arg4 = (long)SWIG_As_long(obj3);
11949 if (PyErr_Occurred()) SWIG_fail;
11950 }
11951 if (obj4) {
11952 {
11953 arg5 = &temp5;
11954 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11955 }
11956 }
11957 if (obj5) {
11958 {
11959 arg6 = &temp6;
11960 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11961 }
11962 }
11963 if (obj6) {
11964 {
11965 arg7 = wxString_in_helper(obj6);
11966 if (arg7 == NULL) SWIG_fail;
11967 temp7 = true;
11968 }
11969 }
11970 {
11971 if (!wxPyCheckForApp()) SWIG_fail;
11972 PyThreadState* __tstate = wxPyBeginAllowThreads();
11973 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
11974
11975 wxPyEndAllowThreads(__tstate);
11976 if (PyErr_Occurred()) SWIG_fail;
11977 }
11978 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirDialog, 1);
11979 {
11980 if (temp2)
11981 delete arg2;
11982 }
11983 {
11984 if (temp3)
11985 delete arg3;
11986 }
11987 {
11988 if (temp7)
11989 delete arg7;
11990 }
11991 return resultobj;
11992 fail:
11993 {
11994 if (temp2)
11995 delete arg2;
11996 }
11997 {
11998 if (temp3)
11999 delete arg3;
12000 }
12001 {
12002 if (temp7)
12003 delete arg7;
12004 }
12005 return NULL;
12006 }
12007
12008
12009 static PyObject *_wrap_DirDialog_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
12010 PyObject *resultobj;
12011 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
12012 wxString result;
12013 PyObject * obj0 = 0 ;
12014 char *kwnames[] = {
12015 (char *) "self", NULL
12016 };
12017
12018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail;
12019 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
12020 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12021 {
12022 PyThreadState* __tstate = wxPyBeginAllowThreads();
12023 result = (arg1)->GetPath();
12024
12025 wxPyEndAllowThreads(__tstate);
12026 if (PyErr_Occurred()) SWIG_fail;
12027 }
12028 {
12029 #if wxUSE_UNICODE
12030 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12031 #else
12032 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12033 #endif
12034 }
12035 return resultobj;
12036 fail:
12037 return NULL;
12038 }
12039
12040
12041 static PyObject *_wrap_DirDialog_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
12042 PyObject *resultobj;
12043 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
12044 wxString result;
12045 PyObject * obj0 = 0 ;
12046 char *kwnames[] = {
12047 (char *) "self", NULL
12048 };
12049
12050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail;
12051 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
12052 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12053 {
12054 PyThreadState* __tstate = wxPyBeginAllowThreads();
12055 result = (arg1)->GetMessage();
12056
12057 wxPyEndAllowThreads(__tstate);
12058 if (PyErr_Occurred()) SWIG_fail;
12059 }
12060 {
12061 #if wxUSE_UNICODE
12062 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12063 #else
12064 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12065 #endif
12066 }
12067 return resultobj;
12068 fail:
12069 return NULL;
12070 }
12071
12072
12073 static PyObject *_wrap_DirDialog_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
12074 PyObject *resultobj;
12075 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
12076 long result;
12077 PyObject * obj0 = 0 ;
12078 char *kwnames[] = {
12079 (char *) "self", NULL
12080 };
12081
12082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail;
12083 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
12084 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12085 {
12086 PyThreadState* __tstate = wxPyBeginAllowThreads();
12087 result = (long)(arg1)->GetStyle();
12088
12089 wxPyEndAllowThreads(__tstate);
12090 if (PyErr_Occurred()) SWIG_fail;
12091 }
12092 resultobj = SWIG_From_long((long)result);
12093 return resultobj;
12094 fail:
12095 return NULL;
12096 }
12097
12098
12099 static PyObject *_wrap_DirDialog_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
12100 PyObject *resultobj;
12101 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
12102 wxString *arg2 = 0 ;
12103 bool temp2 = false ;
12104 PyObject * obj0 = 0 ;
12105 PyObject * obj1 = 0 ;
12106 char *kwnames[] = {
12107 (char *) "self",(char *) "message", NULL
12108 };
12109
12110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
12111 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
12112 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12113 {
12114 arg2 = wxString_in_helper(obj1);
12115 if (arg2 == NULL) SWIG_fail;
12116 temp2 = true;
12117 }
12118 {
12119 PyThreadState* __tstate = wxPyBeginAllowThreads();
12120 (arg1)->SetMessage((wxString const &)*arg2);
12121
12122 wxPyEndAllowThreads(__tstate);
12123 if (PyErr_Occurred()) SWIG_fail;
12124 }
12125 Py_INCREF(Py_None); resultobj = Py_None;
12126 {
12127 if (temp2)
12128 delete arg2;
12129 }
12130 return resultobj;
12131 fail:
12132 {
12133 if (temp2)
12134 delete arg2;
12135 }
12136 return NULL;
12137 }
12138
12139
12140 static PyObject *_wrap_DirDialog_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
12141 PyObject *resultobj;
12142 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
12143 wxString *arg2 = 0 ;
12144 bool temp2 = false ;
12145 PyObject * obj0 = 0 ;
12146 PyObject * obj1 = 0 ;
12147 char *kwnames[] = {
12148 (char *) "self",(char *) "path", NULL
12149 };
12150
12151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
12152 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
12153 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12154 {
12155 arg2 = wxString_in_helper(obj1);
12156 if (arg2 == NULL) SWIG_fail;
12157 temp2 = true;
12158 }
12159 {
12160 PyThreadState* __tstate = wxPyBeginAllowThreads();
12161 (arg1)->SetPath((wxString const &)*arg2);
12162
12163 wxPyEndAllowThreads(__tstate);
12164 if (PyErr_Occurred()) SWIG_fail;
12165 }
12166 Py_INCREF(Py_None); resultobj = Py_None;
12167 {
12168 if (temp2)
12169 delete arg2;
12170 }
12171 return resultobj;
12172 fail:
12173 {
12174 if (temp2)
12175 delete arg2;
12176 }
12177 return NULL;
12178 }
12179
12180
12181 static PyObject * DirDialog_swigregister(PyObject *, PyObject *args) {
12182 PyObject *obj;
12183 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12184 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj);
12185 Py_INCREF(obj);
12186 return Py_BuildValue((char *)"");
12187 }
12188 static PyObject *_wrap_new_FileDialog(PyObject *, PyObject *args, PyObject *kwargs) {
12189 PyObject *resultobj;
12190 wxWindow *arg1 = (wxWindow *) 0 ;
12191 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
12192 wxString *arg2 = (wxString *) &arg2_defvalue ;
12193 wxString const &arg3_defvalue = wxPyEmptyString ;
12194 wxString *arg3 = (wxString *) &arg3_defvalue ;
12195 wxString const &arg4_defvalue = wxPyEmptyString ;
12196 wxString *arg4 = (wxString *) &arg4_defvalue ;
12197 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
12198 wxString *arg5 = (wxString *) &arg5_defvalue ;
12199 long arg6 = (long) 0 ;
12200 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12201 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12202 wxFileDialog *result;
12203 bool temp2 = false ;
12204 bool temp3 = false ;
12205 bool temp4 = false ;
12206 bool temp5 = false ;
12207 wxPoint temp7 ;
12208 PyObject * obj0 = 0 ;
12209 PyObject * obj1 = 0 ;
12210 PyObject * obj2 = 0 ;
12211 PyObject * obj3 = 0 ;
12212 PyObject * obj4 = 0 ;
12213 PyObject * obj5 = 0 ;
12214 PyObject * obj6 = 0 ;
12215 char *kwnames[] = {
12216 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
12217 };
12218
12219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
12220 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12221 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12222 if (obj1) {
12223 {
12224 arg2 = wxString_in_helper(obj1);
12225 if (arg2 == NULL) SWIG_fail;
12226 temp2 = true;
12227 }
12228 }
12229 if (obj2) {
12230 {
12231 arg3 = wxString_in_helper(obj2);
12232 if (arg3 == NULL) SWIG_fail;
12233 temp3 = true;
12234 }
12235 }
12236 if (obj3) {
12237 {
12238 arg4 = wxString_in_helper(obj3);
12239 if (arg4 == NULL) SWIG_fail;
12240 temp4 = true;
12241 }
12242 }
12243 if (obj4) {
12244 {
12245 arg5 = wxString_in_helper(obj4);
12246 if (arg5 == NULL) SWIG_fail;
12247 temp5 = true;
12248 }
12249 }
12250 if (obj5) {
12251 arg6 = (long)SWIG_As_long(obj5);
12252 if (PyErr_Occurred()) SWIG_fail;
12253 }
12254 if (obj6) {
12255 {
12256 arg7 = &temp7;
12257 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
12258 }
12259 }
12260 {
12261 if (!wxPyCheckForApp()) SWIG_fail;
12262 PyThreadState* __tstate = wxPyBeginAllowThreads();
12263 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
12264
12265 wxPyEndAllowThreads(__tstate);
12266 if (PyErr_Occurred()) SWIG_fail;
12267 }
12268 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileDialog, 1);
12269 {
12270 if (temp2)
12271 delete arg2;
12272 }
12273 {
12274 if (temp3)
12275 delete arg3;
12276 }
12277 {
12278 if (temp4)
12279 delete arg4;
12280 }
12281 {
12282 if (temp5)
12283 delete arg5;
12284 }
12285 return resultobj;
12286 fail:
12287 {
12288 if (temp2)
12289 delete arg2;
12290 }
12291 {
12292 if (temp3)
12293 delete arg3;
12294 }
12295 {
12296 if (temp4)
12297 delete arg4;
12298 }
12299 {
12300 if (temp5)
12301 delete arg5;
12302 }
12303 return NULL;
12304 }
12305
12306
12307 static PyObject *_wrap_FileDialog_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
12308 PyObject *resultobj;
12309 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12310 wxString *arg2 = 0 ;
12311 bool temp2 = false ;
12312 PyObject * obj0 = 0 ;
12313 PyObject * obj1 = 0 ;
12314 char *kwnames[] = {
12315 (char *) "self",(char *) "message", NULL
12316 };
12317
12318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
12319 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12320 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12321 {
12322 arg2 = wxString_in_helper(obj1);
12323 if (arg2 == NULL) SWIG_fail;
12324 temp2 = true;
12325 }
12326 {
12327 PyThreadState* __tstate = wxPyBeginAllowThreads();
12328 (arg1)->SetMessage((wxString const &)*arg2);
12329
12330 wxPyEndAllowThreads(__tstate);
12331 if (PyErr_Occurred()) SWIG_fail;
12332 }
12333 Py_INCREF(Py_None); resultobj = Py_None;
12334 {
12335 if (temp2)
12336 delete arg2;
12337 }
12338 return resultobj;
12339 fail:
12340 {
12341 if (temp2)
12342 delete arg2;
12343 }
12344 return NULL;
12345 }
12346
12347
12348 static PyObject *_wrap_FileDialog_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
12349 PyObject *resultobj;
12350 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12351 wxString *arg2 = 0 ;
12352 bool temp2 = false ;
12353 PyObject * obj0 = 0 ;
12354 PyObject * obj1 = 0 ;
12355 char *kwnames[] = {
12356 (char *) "self",(char *) "path", NULL
12357 };
12358
12359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
12360 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12361 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12362 {
12363 arg2 = wxString_in_helper(obj1);
12364 if (arg2 == NULL) SWIG_fail;
12365 temp2 = true;
12366 }
12367 {
12368 PyThreadState* __tstate = wxPyBeginAllowThreads();
12369 (arg1)->SetPath((wxString const &)*arg2);
12370
12371 wxPyEndAllowThreads(__tstate);
12372 if (PyErr_Occurred()) SWIG_fail;
12373 }
12374 Py_INCREF(Py_None); resultobj = Py_None;
12375 {
12376 if (temp2)
12377 delete arg2;
12378 }
12379 return resultobj;
12380 fail:
12381 {
12382 if (temp2)
12383 delete arg2;
12384 }
12385 return NULL;
12386 }
12387
12388
12389 static PyObject *_wrap_FileDialog_SetDirectory(PyObject *, PyObject *args, PyObject *kwargs) {
12390 PyObject *resultobj;
12391 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12392 wxString *arg2 = 0 ;
12393 bool temp2 = false ;
12394 PyObject * obj0 = 0 ;
12395 PyObject * obj1 = 0 ;
12396 char *kwnames[] = {
12397 (char *) "self",(char *) "dir", NULL
12398 };
12399
12400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail;
12401 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12402 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12403 {
12404 arg2 = wxString_in_helper(obj1);
12405 if (arg2 == NULL) SWIG_fail;
12406 temp2 = true;
12407 }
12408 {
12409 PyThreadState* __tstate = wxPyBeginAllowThreads();
12410 (arg1)->SetDirectory((wxString const &)*arg2);
12411
12412 wxPyEndAllowThreads(__tstate);
12413 if (PyErr_Occurred()) SWIG_fail;
12414 }
12415 Py_INCREF(Py_None); resultobj = Py_None;
12416 {
12417 if (temp2)
12418 delete arg2;
12419 }
12420 return resultobj;
12421 fail:
12422 {
12423 if (temp2)
12424 delete arg2;
12425 }
12426 return NULL;
12427 }
12428
12429
12430 static PyObject *_wrap_FileDialog_SetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
12431 PyObject *resultobj;
12432 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12433 wxString *arg2 = 0 ;
12434 bool temp2 = false ;
12435 PyObject * obj0 = 0 ;
12436 PyObject * obj1 = 0 ;
12437 char *kwnames[] = {
12438 (char *) "self",(char *) "name", NULL
12439 };
12440
12441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail;
12442 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12443 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12444 {
12445 arg2 = wxString_in_helper(obj1);
12446 if (arg2 == NULL) SWIG_fail;
12447 temp2 = true;
12448 }
12449 {
12450 PyThreadState* __tstate = wxPyBeginAllowThreads();
12451 (arg1)->SetFilename((wxString const &)*arg2);
12452
12453 wxPyEndAllowThreads(__tstate);
12454 if (PyErr_Occurred()) SWIG_fail;
12455 }
12456 Py_INCREF(Py_None); resultobj = Py_None;
12457 {
12458 if (temp2)
12459 delete arg2;
12460 }
12461 return resultobj;
12462 fail:
12463 {
12464 if (temp2)
12465 delete arg2;
12466 }
12467 return NULL;
12468 }
12469
12470
12471 static PyObject *_wrap_FileDialog_SetWildcard(PyObject *, PyObject *args, PyObject *kwargs) {
12472 PyObject *resultobj;
12473 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12474 wxString *arg2 = 0 ;
12475 bool temp2 = false ;
12476 PyObject * obj0 = 0 ;
12477 PyObject * obj1 = 0 ;
12478 char *kwnames[] = {
12479 (char *) "self",(char *) "wildCard", NULL
12480 };
12481
12482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail;
12483 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12484 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12485 {
12486 arg2 = wxString_in_helper(obj1);
12487 if (arg2 == NULL) SWIG_fail;
12488 temp2 = true;
12489 }
12490 {
12491 PyThreadState* __tstate = wxPyBeginAllowThreads();
12492 (arg1)->SetWildcard((wxString const &)*arg2);
12493
12494 wxPyEndAllowThreads(__tstate);
12495 if (PyErr_Occurred()) SWIG_fail;
12496 }
12497 Py_INCREF(Py_None); resultobj = Py_None;
12498 {
12499 if (temp2)
12500 delete arg2;
12501 }
12502 return resultobj;
12503 fail:
12504 {
12505 if (temp2)
12506 delete arg2;
12507 }
12508 return NULL;
12509 }
12510
12511
12512 static PyObject *_wrap_FileDialog_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
12513 PyObject *resultobj;
12514 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12515 long arg2 ;
12516 PyObject * obj0 = 0 ;
12517 PyObject * obj1 = 0 ;
12518 char *kwnames[] = {
12519 (char *) "self",(char *) "style", NULL
12520 };
12521
12522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetStyle",kwnames,&obj0,&obj1)) goto fail;
12523 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12524 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12525 arg2 = (long)SWIG_As_long(obj1);
12526 if (PyErr_Occurred()) SWIG_fail;
12527 {
12528 PyThreadState* __tstate = wxPyBeginAllowThreads();
12529 (arg1)->SetStyle(arg2);
12530
12531 wxPyEndAllowThreads(__tstate);
12532 if (PyErr_Occurred()) SWIG_fail;
12533 }
12534 Py_INCREF(Py_None); resultobj = Py_None;
12535 return resultobj;
12536 fail:
12537 return NULL;
12538 }
12539
12540
12541 static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
12542 PyObject *resultobj;
12543 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12544 int arg2 ;
12545 PyObject * obj0 = 0 ;
12546 PyObject * obj1 = 0 ;
12547 char *kwnames[] = {
12548 (char *) "self",(char *) "filterIndex", NULL
12549 };
12550
12551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
12552 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12553 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12554 arg2 = (int)SWIG_As_int(obj1);
12555 if (PyErr_Occurred()) SWIG_fail;
12556 {
12557 PyThreadState* __tstate = wxPyBeginAllowThreads();
12558 (arg1)->SetFilterIndex(arg2);
12559
12560 wxPyEndAllowThreads(__tstate);
12561 if (PyErr_Occurred()) SWIG_fail;
12562 }
12563 Py_INCREF(Py_None); resultobj = Py_None;
12564 return resultobj;
12565 fail:
12566 return NULL;
12567 }
12568
12569
12570 static PyObject *_wrap_FileDialog_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
12571 PyObject *resultobj;
12572 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12573 wxString result;
12574 PyObject * obj0 = 0 ;
12575 char *kwnames[] = {
12576 (char *) "self", NULL
12577 };
12578
12579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail;
12580 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12581 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12582 {
12583 PyThreadState* __tstate = wxPyBeginAllowThreads();
12584 result = ((wxFileDialog const *)arg1)->GetMessage();
12585
12586 wxPyEndAllowThreads(__tstate);
12587 if (PyErr_Occurred()) SWIG_fail;
12588 }
12589 {
12590 #if wxUSE_UNICODE
12591 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12592 #else
12593 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12594 #endif
12595 }
12596 return resultobj;
12597 fail:
12598 return NULL;
12599 }
12600
12601
12602 static PyObject *_wrap_FileDialog_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
12603 PyObject *resultobj;
12604 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12605 wxString result;
12606 PyObject * obj0 = 0 ;
12607 char *kwnames[] = {
12608 (char *) "self", NULL
12609 };
12610
12611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail;
12612 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12613 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12614 {
12615 PyThreadState* __tstate = wxPyBeginAllowThreads();
12616 result = ((wxFileDialog const *)arg1)->GetPath();
12617
12618 wxPyEndAllowThreads(__tstate);
12619 if (PyErr_Occurred()) SWIG_fail;
12620 }
12621 {
12622 #if wxUSE_UNICODE
12623 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12624 #else
12625 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12626 #endif
12627 }
12628 return resultobj;
12629 fail:
12630 return NULL;
12631 }
12632
12633
12634 static PyObject *_wrap_FileDialog_GetDirectory(PyObject *, PyObject *args, PyObject *kwargs) {
12635 PyObject *resultobj;
12636 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12637 wxString result;
12638 PyObject * obj0 = 0 ;
12639 char *kwnames[] = {
12640 (char *) "self", NULL
12641 };
12642
12643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail;
12644 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12645 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12646 {
12647 PyThreadState* __tstate = wxPyBeginAllowThreads();
12648 result = ((wxFileDialog const *)arg1)->GetDirectory();
12649
12650 wxPyEndAllowThreads(__tstate);
12651 if (PyErr_Occurred()) SWIG_fail;
12652 }
12653 {
12654 #if wxUSE_UNICODE
12655 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12656 #else
12657 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12658 #endif
12659 }
12660 return resultobj;
12661 fail:
12662 return NULL;
12663 }
12664
12665
12666 static PyObject *_wrap_FileDialog_GetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
12667 PyObject *resultobj;
12668 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12669 wxString result;
12670 PyObject * obj0 = 0 ;
12671 char *kwnames[] = {
12672 (char *) "self", NULL
12673 };
12674
12675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail;
12676 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12677 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12678 {
12679 PyThreadState* __tstate = wxPyBeginAllowThreads();
12680 result = ((wxFileDialog const *)arg1)->GetFilename();
12681
12682 wxPyEndAllowThreads(__tstate);
12683 if (PyErr_Occurred()) SWIG_fail;
12684 }
12685 {
12686 #if wxUSE_UNICODE
12687 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12688 #else
12689 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12690 #endif
12691 }
12692 return resultobj;
12693 fail:
12694 return NULL;
12695 }
12696
12697
12698 static PyObject *_wrap_FileDialog_GetWildcard(PyObject *, PyObject *args, PyObject *kwargs) {
12699 PyObject *resultobj;
12700 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12701 wxString result;
12702 PyObject * obj0 = 0 ;
12703 char *kwnames[] = {
12704 (char *) "self", NULL
12705 };
12706
12707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail;
12708 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12709 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12710 {
12711 PyThreadState* __tstate = wxPyBeginAllowThreads();
12712 result = ((wxFileDialog const *)arg1)->GetWildcard();
12713
12714 wxPyEndAllowThreads(__tstate);
12715 if (PyErr_Occurred()) SWIG_fail;
12716 }
12717 {
12718 #if wxUSE_UNICODE
12719 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12720 #else
12721 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12722 #endif
12723 }
12724 return resultobj;
12725 fail:
12726 return NULL;
12727 }
12728
12729
12730 static PyObject *_wrap_FileDialog_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
12731 PyObject *resultobj;
12732 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12733 long result;
12734 PyObject * obj0 = 0 ;
12735 char *kwnames[] = {
12736 (char *) "self", NULL
12737 };
12738
12739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail;
12740 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12741 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12742 {
12743 PyThreadState* __tstate = wxPyBeginAllowThreads();
12744 result = (long)((wxFileDialog const *)arg1)->GetStyle();
12745
12746 wxPyEndAllowThreads(__tstate);
12747 if (PyErr_Occurred()) SWIG_fail;
12748 }
12749 resultobj = SWIG_From_long((long)result);
12750 return resultobj;
12751 fail:
12752 return NULL;
12753 }
12754
12755
12756 static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
12757 PyObject *resultobj;
12758 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12759 int result;
12760 PyObject * obj0 = 0 ;
12761 char *kwnames[] = {
12762 (char *) "self", NULL
12763 };
12764
12765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail;
12766 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12767 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12768 {
12769 PyThreadState* __tstate = wxPyBeginAllowThreads();
12770 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
12771
12772 wxPyEndAllowThreads(__tstate);
12773 if (PyErr_Occurred()) SWIG_fail;
12774 }
12775 resultobj = SWIG_From_int((int)result);
12776 return resultobj;
12777 fail:
12778 return NULL;
12779 }
12780
12781
12782 static PyObject *_wrap_FileDialog_GetFilenames(PyObject *, PyObject *args, PyObject *kwargs) {
12783 PyObject *resultobj;
12784 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12785 PyObject *result;
12786 PyObject * obj0 = 0 ;
12787 char *kwnames[] = {
12788 (char *) "self", NULL
12789 };
12790
12791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail;
12792 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12793 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12794 {
12795 PyThreadState* __tstate = wxPyBeginAllowThreads();
12796 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
12797
12798 wxPyEndAllowThreads(__tstate);
12799 if (PyErr_Occurred()) SWIG_fail;
12800 }
12801 resultobj = result;
12802 return resultobj;
12803 fail:
12804 return NULL;
12805 }
12806
12807
12808 static PyObject *_wrap_FileDialog_GetPaths(PyObject *, PyObject *args, PyObject *kwargs) {
12809 PyObject *resultobj;
12810 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12811 PyObject *result;
12812 PyObject * obj0 = 0 ;
12813 char *kwnames[] = {
12814 (char *) "self", NULL
12815 };
12816
12817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail;
12818 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12819 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12820 {
12821 PyThreadState* __tstate = wxPyBeginAllowThreads();
12822 result = (PyObject *)wxFileDialog_GetPaths(arg1);
12823
12824 wxPyEndAllowThreads(__tstate);
12825 if (PyErr_Occurred()) SWIG_fail;
12826 }
12827 resultobj = result;
12828 return resultobj;
12829 fail:
12830 return NULL;
12831 }
12832
12833
12834 static PyObject * FileDialog_swigregister(PyObject *, PyObject *args) {
12835 PyObject *obj;
12836 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12837 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj);
12838 Py_INCREF(obj);
12839 return Py_BuildValue((char *)"");
12840 }
12841 static PyObject *_wrap_new_MultiChoiceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
12842 PyObject *resultobj;
12843 wxWindow *arg1 = (wxWindow *) 0 ;
12844 wxString *arg2 = 0 ;
12845 wxString *arg3 = 0 ;
12846 int arg4 = (int) 0 ;
12847 wxString *arg5 = (wxString *) NULL ;
12848 long arg6 = (long) wxCHOICEDLG_STYLE ;
12849 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12850 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12851 wxMultiChoiceDialog *result;
12852 bool temp2 = false ;
12853 bool temp3 = false ;
12854 wxPoint temp6 ;
12855 PyObject * obj0 = 0 ;
12856 PyObject * obj1 = 0 ;
12857 PyObject * obj2 = 0 ;
12858 PyObject * obj3 = 0 ;
12859 PyObject * obj4 = 0 ;
12860 PyObject * obj5 = 0 ;
12861 char *kwnames[] = {
12862 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12863 };
12864
12865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12866 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12867 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12868 {
12869 arg2 = wxString_in_helper(obj1);
12870 if (arg2 == NULL) SWIG_fail;
12871 temp2 = true;
12872 }
12873 {
12874 arg3 = wxString_in_helper(obj2);
12875 if (arg3 == NULL) SWIG_fail;
12876 temp3 = true;
12877 }
12878 if (obj3) {
12879 {
12880 arg4 = PyList_Size(obj3);
12881 arg5 = wxString_LIST_helper(obj3);
12882 if (arg5 == NULL) SWIG_fail;
12883 }
12884 }
12885 if (obj4) {
12886 arg6 = (long)SWIG_As_long(obj4);
12887 if (PyErr_Occurred()) SWIG_fail;
12888 }
12889 if (obj5) {
12890 {
12891 arg7 = &temp6;
12892 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
12893 }
12894 }
12895 {
12896 if (!wxPyCheckForApp()) SWIG_fail;
12897 PyThreadState* __tstate = wxPyBeginAllowThreads();
12898 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
12899
12900 wxPyEndAllowThreads(__tstate);
12901 if (PyErr_Occurred()) SWIG_fail;
12902 }
12903 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMultiChoiceDialog, 1);
12904 {
12905 if (temp2)
12906 delete arg2;
12907 }
12908 {
12909 if (temp3)
12910 delete arg3;
12911 }
12912 {
12913 if (arg5) delete [] arg5;
12914 }
12915 return resultobj;
12916 fail:
12917 {
12918 if (temp2)
12919 delete arg2;
12920 }
12921 {
12922 if (temp3)
12923 delete arg3;
12924 }
12925 {
12926 if (arg5) delete [] arg5;
12927 }
12928 return NULL;
12929 }
12930
12931
12932 static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
12933 PyObject *resultobj;
12934 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
12935 wxArrayInt *arg2 = 0 ;
12936 bool temp2 = false ;
12937 PyObject * obj0 = 0 ;
12938 PyObject * obj1 = 0 ;
12939 char *kwnames[] = {
12940 (char *) "self",(char *) "selections", NULL
12941 };
12942
12943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail;
12944 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog,
12945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12946 {
12947 if (! PySequence_Check(obj1)) {
12948 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
12949 SWIG_fail;
12950 }
12951 arg2 = new wxArrayInt;
12952 temp2 = true;
12953 int i, len=PySequence_Length(obj1);
12954 for (i=0; i<len; i++) {
12955 PyObject* item = PySequence_GetItem(obj1, i);
12956 PyObject* number = PyNumber_Int(item);
12957 arg2->Add(PyInt_AS_LONG(number));
12958 Py_DECREF(item);
12959 Py_DECREF(number);
12960 }
12961 }
12962 {
12963 PyThreadState* __tstate = wxPyBeginAllowThreads();
12964 (arg1)->SetSelections((wxArrayInt const &)*arg2);
12965
12966 wxPyEndAllowThreads(__tstate);
12967 if (PyErr_Occurred()) SWIG_fail;
12968 }
12969 Py_INCREF(Py_None); resultobj = Py_None;
12970 {
12971 if (temp2) delete arg2;
12972 }
12973 return resultobj;
12974 fail:
12975 {
12976 if (temp2) delete arg2;
12977 }
12978 return NULL;
12979 }
12980
12981
12982 static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
12983 PyObject *resultobj;
12984 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
12985 PyObject *result;
12986 PyObject * obj0 = 0 ;
12987 char *kwnames[] = {
12988 (char *) "self", NULL
12989 };
12990
12991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail;
12992 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog,
12993 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12994 {
12995 PyThreadState* __tstate = wxPyBeginAllowThreads();
12996 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
12997
12998 wxPyEndAllowThreads(__tstate);
12999 if (PyErr_Occurred()) SWIG_fail;
13000 }
13001 resultobj = result;
13002 return resultobj;
13003 fail:
13004 return NULL;
13005 }
13006
13007
13008 static PyObject * MultiChoiceDialog_swigregister(PyObject *, PyObject *args) {
13009 PyObject *obj;
13010 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13011 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj);
13012 Py_INCREF(obj);
13013 return Py_BuildValue((char *)"");
13014 }
13015 static PyObject *_wrap_new_SingleChoiceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
13016 PyObject *resultobj;
13017 wxWindow *arg1 = (wxWindow *) 0 ;
13018 wxString *arg2 = 0 ;
13019 wxString *arg3 = 0 ;
13020 int arg4 ;
13021 wxString *arg5 = (wxString *) 0 ;
13022 long arg6 = (long) wxCHOICEDLG_STYLE ;
13023 wxPoint const &arg7_defvalue = wxDefaultPosition ;
13024 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
13025 wxSingleChoiceDialog *result;
13026 bool temp2 = false ;
13027 bool temp3 = false ;
13028 wxPoint temp6 ;
13029 PyObject * obj0 = 0 ;
13030 PyObject * obj1 = 0 ;
13031 PyObject * obj2 = 0 ;
13032 PyObject * obj3 = 0 ;
13033 PyObject * obj4 = 0 ;
13034 PyObject * obj5 = 0 ;
13035 char *kwnames[] = {
13036 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
13037 };
13038
13039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
13040 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13041 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13042 {
13043 arg2 = wxString_in_helper(obj1);
13044 if (arg2 == NULL) SWIG_fail;
13045 temp2 = true;
13046 }
13047 {
13048 arg3 = wxString_in_helper(obj2);
13049 if (arg3 == NULL) SWIG_fail;
13050 temp3 = true;
13051 }
13052 {
13053 arg4 = PyList_Size(obj3);
13054 arg5 = wxString_LIST_helper(obj3);
13055 if (arg5 == NULL) SWIG_fail;
13056 }
13057 if (obj4) {
13058 arg6 = (long)SWIG_As_long(obj4);
13059 if (PyErr_Occurred()) SWIG_fail;
13060 }
13061 if (obj5) {
13062 {
13063 arg7 = &temp6;
13064 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
13065 }
13066 }
13067 {
13068 if (!wxPyCheckForApp()) SWIG_fail;
13069 PyThreadState* __tstate = wxPyBeginAllowThreads();
13070 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
13071
13072 wxPyEndAllowThreads(__tstate);
13073 if (PyErr_Occurred()) SWIG_fail;
13074 }
13075 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleChoiceDialog, 1);
13076 {
13077 if (temp2)
13078 delete arg2;
13079 }
13080 {
13081 if (temp3)
13082 delete arg3;
13083 }
13084 {
13085 if (arg5) delete [] arg5;
13086 }
13087 return resultobj;
13088 fail:
13089 {
13090 if (temp2)
13091 delete arg2;
13092 }
13093 {
13094 if (temp3)
13095 delete arg3;
13096 }
13097 {
13098 if (arg5) delete [] arg5;
13099 }
13100 return NULL;
13101 }
13102
13103
13104 static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13105 PyObject *resultobj;
13106 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
13107 int result;
13108 PyObject * obj0 = 0 ;
13109 char *kwnames[] = {
13110 (char *) "self", NULL
13111 };
13112
13113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail;
13114 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
13115 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13116 {
13117 PyThreadState* __tstate = wxPyBeginAllowThreads();
13118 result = (int)(arg1)->GetSelection();
13119
13120 wxPyEndAllowThreads(__tstate);
13121 if (PyErr_Occurred()) SWIG_fail;
13122 }
13123 resultobj = SWIG_From_int((int)result);
13124 return resultobj;
13125 fail:
13126 return NULL;
13127 }
13128
13129
13130 static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13131 PyObject *resultobj;
13132 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
13133 wxString result;
13134 PyObject * obj0 = 0 ;
13135 char *kwnames[] = {
13136 (char *) "self", NULL
13137 };
13138
13139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail;
13140 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
13141 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13142 {
13143 PyThreadState* __tstate = wxPyBeginAllowThreads();
13144 result = (arg1)->GetStringSelection();
13145
13146 wxPyEndAllowThreads(__tstate);
13147 if (PyErr_Occurred()) SWIG_fail;
13148 }
13149 {
13150 #if wxUSE_UNICODE
13151 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13152 #else
13153 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13154 #endif
13155 }
13156 return resultobj;
13157 fail:
13158 return NULL;
13159 }
13160
13161
13162 static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13163 PyObject *resultobj;
13164 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
13165 int arg2 ;
13166 PyObject * obj0 = 0 ;
13167 PyObject * obj1 = 0 ;
13168 char *kwnames[] = {
13169 (char *) "self",(char *) "sel", NULL
13170 };
13171
13172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) goto fail;
13173 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
13174 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13175 arg2 = (int)SWIG_As_int(obj1);
13176 if (PyErr_Occurred()) SWIG_fail;
13177 {
13178 PyThreadState* __tstate = wxPyBeginAllowThreads();
13179 (arg1)->SetSelection(arg2);
13180
13181 wxPyEndAllowThreads(__tstate);
13182 if (PyErr_Occurred()) SWIG_fail;
13183 }
13184 Py_INCREF(Py_None); resultobj = Py_None;
13185 return resultobj;
13186 fail:
13187 return NULL;
13188 }
13189
13190
13191 static PyObject * SingleChoiceDialog_swigregister(PyObject *, PyObject *args) {
13192 PyObject *obj;
13193 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13194 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj);
13195 Py_INCREF(obj);
13196 return Py_BuildValue((char *)"");
13197 }
13198 static PyObject *_wrap_new_TextEntryDialog(PyObject *, PyObject *args, PyObject *kwargs) {
13199 PyObject *resultobj;
13200 wxWindow *arg1 = (wxWindow *) 0 ;
13201 wxString *arg2 = 0 ;
13202 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
13203 wxString *arg3 = (wxString *) &arg3_defvalue ;
13204 wxString const &arg4_defvalue = wxPyEmptyString ;
13205 wxString *arg4 = (wxString *) &arg4_defvalue ;
13206 long arg5 = (long) wxTextEntryDialogStyle ;
13207 wxPoint const &arg6_defvalue = wxDefaultPosition ;
13208 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
13209 wxTextEntryDialog *result;
13210 bool temp2 = false ;
13211 bool temp3 = false ;
13212 bool temp4 = false ;
13213 wxPoint temp6 ;
13214 PyObject * obj0 = 0 ;
13215 PyObject * obj1 = 0 ;
13216 PyObject * obj2 = 0 ;
13217 PyObject * obj3 = 0 ;
13218 PyObject * obj4 = 0 ;
13219 PyObject * obj5 = 0 ;
13220 char *kwnames[] = {
13221 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
13222 };
13223
13224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
13225 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13226 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13227 {
13228 arg2 = wxString_in_helper(obj1);
13229 if (arg2 == NULL) SWIG_fail;
13230 temp2 = true;
13231 }
13232 if (obj2) {
13233 {
13234 arg3 = wxString_in_helper(obj2);
13235 if (arg3 == NULL) SWIG_fail;
13236 temp3 = true;
13237 }
13238 }
13239 if (obj3) {
13240 {
13241 arg4 = wxString_in_helper(obj3);
13242 if (arg4 == NULL) SWIG_fail;
13243 temp4 = true;
13244 }
13245 }
13246 if (obj4) {
13247 arg5 = (long)SWIG_As_long(obj4);
13248 if (PyErr_Occurred()) SWIG_fail;
13249 }
13250 if (obj5) {
13251 {
13252 arg6 = &temp6;
13253 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
13254 }
13255 }
13256 {
13257 if (!wxPyCheckForApp()) SWIG_fail;
13258 PyThreadState* __tstate = wxPyBeginAllowThreads();
13259 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
13260
13261 wxPyEndAllowThreads(__tstate);
13262 if (PyErr_Occurred()) SWIG_fail;
13263 }
13264 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextEntryDialog, 1);
13265 {
13266 if (temp2)
13267 delete arg2;
13268 }
13269 {
13270 if (temp3)
13271 delete arg3;
13272 }
13273 {
13274 if (temp4)
13275 delete arg4;
13276 }
13277 return resultobj;
13278 fail:
13279 {
13280 if (temp2)
13281 delete arg2;
13282 }
13283 {
13284 if (temp3)
13285 delete arg3;
13286 }
13287 {
13288 if (temp4)
13289 delete arg4;
13290 }
13291 return NULL;
13292 }
13293
13294
13295 static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
13296 PyObject *resultobj;
13297 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
13298 wxString result;
13299 PyObject * obj0 = 0 ;
13300 char *kwnames[] = {
13301 (char *) "self", NULL
13302 };
13303
13304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail;
13305 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog,
13306 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13307 {
13308 PyThreadState* __tstate = wxPyBeginAllowThreads();
13309 result = (arg1)->GetValue();
13310
13311 wxPyEndAllowThreads(__tstate);
13312 if (PyErr_Occurred()) SWIG_fail;
13313 }
13314 {
13315 #if wxUSE_UNICODE
13316 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13317 #else
13318 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13319 #endif
13320 }
13321 return resultobj;
13322 fail:
13323 return NULL;
13324 }
13325
13326
13327 static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
13328 PyObject *resultobj;
13329 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
13330 wxString *arg2 = 0 ;
13331 bool temp2 = false ;
13332 PyObject * obj0 = 0 ;
13333 PyObject * obj1 = 0 ;
13334 char *kwnames[] = {
13335 (char *) "self",(char *) "value", NULL
13336 };
13337
13338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail;
13339 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog,
13340 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13341 {
13342 arg2 = wxString_in_helper(obj1);
13343 if (arg2 == NULL) SWIG_fail;
13344 temp2 = true;
13345 }
13346 {
13347 PyThreadState* __tstate = wxPyBeginAllowThreads();
13348 (arg1)->SetValue((wxString const &)*arg2);
13349
13350 wxPyEndAllowThreads(__tstate);
13351 if (PyErr_Occurred()) SWIG_fail;
13352 }
13353 Py_INCREF(Py_None); resultobj = Py_None;
13354 {
13355 if (temp2)
13356 delete arg2;
13357 }
13358 return resultobj;
13359 fail:
13360 {
13361 if (temp2)
13362 delete arg2;
13363 }
13364 return NULL;
13365 }
13366
13367
13368 static PyObject * TextEntryDialog_swigregister(PyObject *, PyObject *args) {
13369 PyObject *obj;
13370 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13371 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj);
13372 Py_INCREF(obj);
13373 return Py_BuildValue((char *)"");
13374 }
13375 static int _wrap_GetPasswordFromUserPromptStr_set(PyObject *) {
13376 PyErr_SetString(PyExc_TypeError,"Variable GetPasswordFromUserPromptStr is read-only.");
13377 return 1;
13378 }
13379
13380
13381 static PyObject *_wrap_GetPasswordFromUserPromptStr_get() {
13382 PyObject *pyobj;
13383
13384 {
13385 #if wxUSE_UNICODE
13386 pyobj = PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
13387 #else
13388 pyobj = PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
13389 #endif
13390 }
13391 return pyobj;
13392 }
13393
13394
13395 static PyObject *_wrap_new_PasswordEntryDialog(PyObject *, PyObject *args, PyObject *kwargs) {
13396 PyObject *resultobj;
13397 wxWindow *arg1 = (wxWindow *) 0 ;
13398 wxString *arg2 = 0 ;
13399 wxString const &arg3_defvalue = wxPyGetPasswordFromUserPromptStr ;
13400 wxString *arg3 = (wxString *) &arg3_defvalue ;
13401 wxString const &arg4_defvalue = wxPyEmptyString ;
13402 wxString *arg4 = (wxString *) &arg4_defvalue ;
13403 long arg5 = (long) wxTextEntryDialogStyle ;
13404 wxPoint const &arg6_defvalue = wxDefaultPosition ;
13405 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
13406 wxPasswordEntryDialog *result;
13407 bool temp2 = false ;
13408 bool temp3 = false ;
13409 bool temp4 = false ;
13410 wxPoint temp6 ;
13411 PyObject * obj0 = 0 ;
13412 PyObject * obj1 = 0 ;
13413 PyObject * obj2 = 0 ;
13414 PyObject * obj3 = 0 ;
13415 PyObject * obj4 = 0 ;
13416 PyObject * obj5 = 0 ;
13417 char *kwnames[] = {
13418 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
13419 };
13420
13421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
13422 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13423 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13424 {
13425 arg2 = wxString_in_helper(obj1);
13426 if (arg2 == NULL) SWIG_fail;
13427 temp2 = true;
13428 }
13429 if (obj2) {
13430 {
13431 arg3 = wxString_in_helper(obj2);
13432 if (arg3 == NULL) SWIG_fail;
13433 temp3 = true;
13434 }
13435 }
13436 if (obj3) {
13437 {
13438 arg4 = wxString_in_helper(obj3);
13439 if (arg4 == NULL) SWIG_fail;
13440 temp4 = true;
13441 }
13442 }
13443 if (obj4) {
13444 arg5 = (long)SWIG_As_long(obj4);
13445 if (PyErr_Occurred()) SWIG_fail;
13446 }
13447 if (obj5) {
13448 {
13449 arg6 = &temp6;
13450 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
13451 }
13452 }
13453 {
13454 PyThreadState* __tstate = wxPyBeginAllowThreads();
13455 result = (wxPasswordEntryDialog *)new wxPasswordEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
13456
13457 wxPyEndAllowThreads(__tstate);
13458 if (PyErr_Occurred()) SWIG_fail;
13459 }
13460 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPasswordEntryDialog, 1);
13461 {
13462 if (temp2)
13463 delete arg2;
13464 }
13465 {
13466 if (temp3)
13467 delete arg3;
13468 }
13469 {
13470 if (temp4)
13471 delete arg4;
13472 }
13473 return resultobj;
13474 fail:
13475 {
13476 if (temp2)
13477 delete arg2;
13478 }
13479 {
13480 if (temp3)
13481 delete arg3;
13482 }
13483 {
13484 if (temp4)
13485 delete arg4;
13486 }
13487 return NULL;
13488 }
13489
13490
13491 static PyObject * PasswordEntryDialog_swigregister(PyObject *, PyObject *args) {
13492 PyObject *obj;
13493 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13494 SWIG_TypeClientData(SWIGTYPE_p_wxPasswordEntryDialog, obj);
13495 Py_INCREF(obj);
13496 return Py_BuildValue((char *)"");
13497 }
13498 static PyObject *_wrap_new_FontData(PyObject *, PyObject *args, PyObject *kwargs) {
13499 PyObject *resultobj;
13500 wxFontData *result;
13501 char *kwnames[] = {
13502 NULL
13503 };
13504
13505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail;
13506 {
13507 PyThreadState* __tstate = wxPyBeginAllowThreads();
13508 result = (wxFontData *)new wxFontData();
13509
13510 wxPyEndAllowThreads(__tstate);
13511 if (PyErr_Occurred()) SWIG_fail;
13512 }
13513 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 1);
13514 return resultobj;
13515 fail:
13516 return NULL;
13517 }
13518
13519
13520 static PyObject *_wrap_delete_FontData(PyObject *, PyObject *args, PyObject *kwargs) {
13521 PyObject *resultobj;
13522 wxFontData *arg1 = (wxFontData *) 0 ;
13523 PyObject * obj0 = 0 ;
13524 char *kwnames[] = {
13525 (char *) "self", NULL
13526 };
13527
13528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail;
13529 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13530 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13531 {
13532 PyThreadState* __tstate = wxPyBeginAllowThreads();
13533 delete arg1;
13534
13535 wxPyEndAllowThreads(__tstate);
13536 if (PyErr_Occurred()) SWIG_fail;
13537 }
13538 Py_INCREF(Py_None); resultobj = Py_None;
13539 return resultobj;
13540 fail:
13541 return NULL;
13542 }
13543
13544
13545 static PyObject *_wrap_FontData_EnableEffects(PyObject *, PyObject *args, PyObject *kwargs) {
13546 PyObject *resultobj;
13547 wxFontData *arg1 = (wxFontData *) 0 ;
13548 bool arg2 ;
13549 PyObject * obj0 = 0 ;
13550 PyObject * obj1 = 0 ;
13551 char *kwnames[] = {
13552 (char *) "self",(char *) "enable", NULL
13553 };
13554
13555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail;
13556 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13557 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13558 arg2 = (bool)SWIG_As_bool(obj1);
13559 if (PyErr_Occurred()) SWIG_fail;
13560 {
13561 PyThreadState* __tstate = wxPyBeginAllowThreads();
13562 (arg1)->EnableEffects(arg2);
13563
13564 wxPyEndAllowThreads(__tstate);
13565 if (PyErr_Occurred()) SWIG_fail;
13566 }
13567 Py_INCREF(Py_None); resultobj = Py_None;
13568 return resultobj;
13569 fail:
13570 return NULL;
13571 }
13572
13573
13574 static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *, PyObject *args, PyObject *kwargs) {
13575 PyObject *resultobj;
13576 wxFontData *arg1 = (wxFontData *) 0 ;
13577 bool result;
13578 PyObject * obj0 = 0 ;
13579 char *kwnames[] = {
13580 (char *) "self", NULL
13581 };
13582
13583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail;
13584 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13585 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13586 {
13587 PyThreadState* __tstate = wxPyBeginAllowThreads();
13588 result = (bool)(arg1)->GetAllowSymbols();
13589
13590 wxPyEndAllowThreads(__tstate);
13591 if (PyErr_Occurred()) SWIG_fail;
13592 }
13593 {
13594 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13595 }
13596 return resultobj;
13597 fail:
13598 return NULL;
13599 }
13600
13601
13602 static PyObject *_wrap_FontData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
13603 PyObject *resultobj;
13604 wxFontData *arg1 = (wxFontData *) 0 ;
13605 wxColour result;
13606 PyObject * obj0 = 0 ;
13607 char *kwnames[] = {
13608 (char *) "self", NULL
13609 };
13610
13611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail;
13612 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13613 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13614 {
13615 PyThreadState* __tstate = wxPyBeginAllowThreads();
13616 result = (arg1)->GetColour();
13617
13618 wxPyEndAllowThreads(__tstate);
13619 if (PyErr_Occurred()) SWIG_fail;
13620 }
13621 {
13622 wxColour * resultptr;
13623 resultptr = new wxColour((wxColour &) result);
13624 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
13625 }
13626 return resultobj;
13627 fail:
13628 return NULL;
13629 }
13630
13631
13632 static PyObject *_wrap_FontData_GetChosenFont(PyObject *, PyObject *args, PyObject *kwargs) {
13633 PyObject *resultobj;
13634 wxFontData *arg1 = (wxFontData *) 0 ;
13635 wxFont result;
13636 PyObject * obj0 = 0 ;
13637 char *kwnames[] = {
13638 (char *) "self", NULL
13639 };
13640
13641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail;
13642 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13643 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13644 {
13645 PyThreadState* __tstate = wxPyBeginAllowThreads();
13646 result = (arg1)->GetChosenFont();
13647
13648 wxPyEndAllowThreads(__tstate);
13649 if (PyErr_Occurred()) SWIG_fail;
13650 }
13651 {
13652 wxFont * resultptr;
13653 resultptr = new wxFont((wxFont &) result);
13654 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
13655 }
13656 return resultobj;
13657 fail:
13658 return NULL;
13659 }
13660
13661
13662 static PyObject *_wrap_FontData_GetEnableEffects(PyObject *, PyObject *args, PyObject *kwargs) {
13663 PyObject *resultobj;
13664 wxFontData *arg1 = (wxFontData *) 0 ;
13665 bool result;
13666 PyObject * obj0 = 0 ;
13667 char *kwnames[] = {
13668 (char *) "self", NULL
13669 };
13670
13671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail;
13672 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13673 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13674 {
13675 PyThreadState* __tstate = wxPyBeginAllowThreads();
13676 result = (bool)(arg1)->GetEnableEffects();
13677
13678 wxPyEndAllowThreads(__tstate);
13679 if (PyErr_Occurred()) SWIG_fail;
13680 }
13681 {
13682 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13683 }
13684 return resultobj;
13685 fail:
13686 return NULL;
13687 }
13688
13689
13690 static PyObject *_wrap_FontData_GetInitialFont(PyObject *, PyObject *args, PyObject *kwargs) {
13691 PyObject *resultobj;
13692 wxFontData *arg1 = (wxFontData *) 0 ;
13693 wxFont result;
13694 PyObject * obj0 = 0 ;
13695 char *kwnames[] = {
13696 (char *) "self", NULL
13697 };
13698
13699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail;
13700 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13702 {
13703 PyThreadState* __tstate = wxPyBeginAllowThreads();
13704 result = (arg1)->GetInitialFont();
13705
13706 wxPyEndAllowThreads(__tstate);
13707 if (PyErr_Occurred()) SWIG_fail;
13708 }
13709 {
13710 wxFont * resultptr;
13711 resultptr = new wxFont((wxFont &) result);
13712 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
13713 }
13714 return resultobj;
13715 fail:
13716 return NULL;
13717 }
13718
13719
13720 static PyObject *_wrap_FontData_GetShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
13721 PyObject *resultobj;
13722 wxFontData *arg1 = (wxFontData *) 0 ;
13723 bool result;
13724 PyObject * obj0 = 0 ;
13725 char *kwnames[] = {
13726 (char *) "self", NULL
13727 };
13728
13729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail;
13730 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13731 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13732 {
13733 PyThreadState* __tstate = wxPyBeginAllowThreads();
13734 result = (bool)(arg1)->GetShowHelp();
13735
13736 wxPyEndAllowThreads(__tstate);
13737 if (PyErr_Occurred()) SWIG_fail;
13738 }
13739 {
13740 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13741 }
13742 return resultobj;
13743 fail:
13744 return NULL;
13745 }
13746
13747
13748 static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *, PyObject *args, PyObject *kwargs) {
13749 PyObject *resultobj;
13750 wxFontData *arg1 = (wxFontData *) 0 ;
13751 bool arg2 ;
13752 PyObject * obj0 = 0 ;
13753 PyObject * obj1 = 0 ;
13754 char *kwnames[] = {
13755 (char *) "self",(char *) "allowSymbols", NULL
13756 };
13757
13758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail;
13759 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13760 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13761 arg2 = (bool)SWIG_As_bool(obj1);
13762 if (PyErr_Occurred()) SWIG_fail;
13763 {
13764 PyThreadState* __tstate = wxPyBeginAllowThreads();
13765 (arg1)->SetAllowSymbols(arg2);
13766
13767 wxPyEndAllowThreads(__tstate);
13768 if (PyErr_Occurred()) SWIG_fail;
13769 }
13770 Py_INCREF(Py_None); resultobj = Py_None;
13771 return resultobj;
13772 fail:
13773 return NULL;
13774 }
13775
13776
13777 static PyObject *_wrap_FontData_SetChosenFont(PyObject *, PyObject *args, PyObject *kwargs) {
13778 PyObject *resultobj;
13779 wxFontData *arg1 = (wxFontData *) 0 ;
13780 wxFont *arg2 = 0 ;
13781 PyObject * obj0 = 0 ;
13782 PyObject * obj1 = 0 ;
13783 char *kwnames[] = {
13784 (char *) "self",(char *) "font", NULL
13785 };
13786
13787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail;
13788 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13789 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13790 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
13791 SWIG_POINTER_EXCEPTION | 0)) == -1)
13792 SWIG_fail;
13793 if (arg2 == NULL) {
13794 PyErr_SetString(PyExc_TypeError,"null reference");
13795 SWIG_fail;
13796 }
13797 {
13798 PyThreadState* __tstate = wxPyBeginAllowThreads();
13799 (arg1)->SetChosenFont((wxFont const &)*arg2);
13800
13801 wxPyEndAllowThreads(__tstate);
13802 if (PyErr_Occurred()) SWIG_fail;
13803 }
13804 Py_INCREF(Py_None); resultobj = Py_None;
13805 return resultobj;
13806 fail:
13807 return NULL;
13808 }
13809
13810
13811 static PyObject *_wrap_FontData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
13812 PyObject *resultobj;
13813 wxFontData *arg1 = (wxFontData *) 0 ;
13814 wxColour *arg2 = 0 ;
13815 wxColour temp2 ;
13816 PyObject * obj0 = 0 ;
13817 PyObject * obj1 = 0 ;
13818 char *kwnames[] = {
13819 (char *) "self",(char *) "colour", NULL
13820 };
13821
13822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail;
13823 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13824 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13825 {
13826 arg2 = &temp2;
13827 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
13828 }
13829 {
13830 PyThreadState* __tstate = wxPyBeginAllowThreads();
13831 (arg1)->SetColour((wxColour const &)*arg2);
13832
13833 wxPyEndAllowThreads(__tstate);
13834 if (PyErr_Occurred()) SWIG_fail;
13835 }
13836 Py_INCREF(Py_None); resultobj = Py_None;
13837 return resultobj;
13838 fail:
13839 return NULL;
13840 }
13841
13842
13843 static PyObject *_wrap_FontData_SetInitialFont(PyObject *, PyObject *args, PyObject *kwargs) {
13844 PyObject *resultobj;
13845 wxFontData *arg1 = (wxFontData *) 0 ;
13846 wxFont *arg2 = 0 ;
13847 PyObject * obj0 = 0 ;
13848 PyObject * obj1 = 0 ;
13849 char *kwnames[] = {
13850 (char *) "self",(char *) "font", NULL
13851 };
13852
13853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail;
13854 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13855 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13856 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
13857 SWIG_POINTER_EXCEPTION | 0)) == -1)
13858 SWIG_fail;
13859 if (arg2 == NULL) {
13860 PyErr_SetString(PyExc_TypeError,"null reference");
13861 SWIG_fail;
13862 }
13863 {
13864 PyThreadState* __tstate = wxPyBeginAllowThreads();
13865 (arg1)->SetInitialFont((wxFont const &)*arg2);
13866
13867 wxPyEndAllowThreads(__tstate);
13868 if (PyErr_Occurred()) SWIG_fail;
13869 }
13870 Py_INCREF(Py_None); resultobj = Py_None;
13871 return resultobj;
13872 fail:
13873 return NULL;
13874 }
13875
13876
13877 static PyObject *_wrap_FontData_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
13878 PyObject *resultobj;
13879 wxFontData *arg1 = (wxFontData *) 0 ;
13880 int arg2 ;
13881 int arg3 ;
13882 PyObject * obj0 = 0 ;
13883 PyObject * obj1 = 0 ;
13884 PyObject * obj2 = 0 ;
13885 char *kwnames[] = {
13886 (char *) "self",(char *) "min",(char *) "max", NULL
13887 };
13888
13889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
13890 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13892 arg2 = (int)SWIG_As_int(obj1);
13893 if (PyErr_Occurred()) SWIG_fail;
13894 arg3 = (int)SWIG_As_int(obj2);
13895 if (PyErr_Occurred()) SWIG_fail;
13896 {
13897 PyThreadState* __tstate = wxPyBeginAllowThreads();
13898 (arg1)->SetRange(arg2,arg3);
13899
13900 wxPyEndAllowThreads(__tstate);
13901 if (PyErr_Occurred()) SWIG_fail;
13902 }
13903 Py_INCREF(Py_None); resultobj = Py_None;
13904 return resultobj;
13905 fail:
13906 return NULL;
13907 }
13908
13909
13910 static PyObject *_wrap_FontData_SetShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
13911 PyObject *resultobj;
13912 wxFontData *arg1 = (wxFontData *) 0 ;
13913 bool arg2 ;
13914 PyObject * obj0 = 0 ;
13915 PyObject * obj1 = 0 ;
13916 char *kwnames[] = {
13917 (char *) "self",(char *) "showHelp", NULL
13918 };
13919
13920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail;
13921 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13923 arg2 = (bool)SWIG_As_bool(obj1);
13924 if (PyErr_Occurred()) SWIG_fail;
13925 {
13926 PyThreadState* __tstate = wxPyBeginAllowThreads();
13927 (arg1)->SetShowHelp(arg2);
13928
13929 wxPyEndAllowThreads(__tstate);
13930 if (PyErr_Occurred()) SWIG_fail;
13931 }
13932 Py_INCREF(Py_None); resultobj = Py_None;
13933 return resultobj;
13934 fail:
13935 return NULL;
13936 }
13937
13938
13939 static PyObject * FontData_swigregister(PyObject *, PyObject *args) {
13940 PyObject *obj;
13941 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13942 SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj);
13943 Py_INCREF(obj);
13944 return Py_BuildValue((char *)"");
13945 }
13946 static PyObject *_wrap_new_FontDialog(PyObject *, PyObject *args, PyObject *kwargs) {
13947 PyObject *resultobj;
13948 wxWindow *arg1 = (wxWindow *) 0 ;
13949 wxFontData *arg2 = 0 ;
13950 wxFontDialog *result;
13951 PyObject * obj0 = 0 ;
13952 PyObject * obj1 = 0 ;
13953 char *kwnames[] = {
13954 (char *) "parent",(char *) "data", NULL
13955 };
13956
13957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail;
13958 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13959 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13960 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFontData,
13961 SWIG_POINTER_EXCEPTION | 0)) == -1)
13962 SWIG_fail;
13963 if (arg2 == NULL) {
13964 PyErr_SetString(PyExc_TypeError,"null reference");
13965 SWIG_fail;
13966 }
13967 {
13968 if (!wxPyCheckForApp()) SWIG_fail;
13969 PyThreadState* __tstate = wxPyBeginAllowThreads();
13970 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
13971
13972 wxPyEndAllowThreads(__tstate);
13973 if (PyErr_Occurred()) SWIG_fail;
13974 }
13975 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontDialog, 1);
13976 return resultobj;
13977 fail:
13978 return NULL;
13979 }
13980
13981
13982 static PyObject *_wrap_FontDialog_GetFontData(PyObject *, PyObject *args, PyObject *kwargs) {
13983 PyObject *resultobj;
13984 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
13985 wxFontData *result;
13986 PyObject * obj0 = 0 ;
13987 char *kwnames[] = {
13988 (char *) "self", NULL
13989 };
13990
13991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail;
13992 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontDialog,
13993 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13994 {
13995 PyThreadState* __tstate = wxPyBeginAllowThreads();
13996 {
13997 wxFontData &_result_ref = (arg1)->GetFontData();
13998 result = (wxFontData *) &_result_ref;
13999 }
14000
14001 wxPyEndAllowThreads(__tstate);
14002 if (PyErr_Occurred()) SWIG_fail;
14003 }
14004 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 0);
14005 return resultobj;
14006 fail:
14007 return NULL;
14008 }
14009
14010
14011 static PyObject * FontDialog_swigregister(PyObject *, PyObject *args) {
14012 PyObject *obj;
14013 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14014 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj);
14015 Py_INCREF(obj);
14016 return Py_BuildValue((char *)"");
14017 }
14018 static PyObject *_wrap_new_MessageDialog(PyObject *, PyObject *args, PyObject *kwargs) {
14019 PyObject *resultobj;
14020 wxWindow *arg1 = (wxWindow *) 0 ;
14021 wxString *arg2 = 0 ;
14022 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
14023 wxString *arg3 = (wxString *) &arg3_defvalue ;
14024 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
14025 wxPoint const &arg5_defvalue = wxDefaultPosition ;
14026 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
14027 wxMessageDialog *result;
14028 bool temp2 = false ;
14029 bool temp3 = false ;
14030 wxPoint temp5 ;
14031 PyObject * obj0 = 0 ;
14032 PyObject * obj1 = 0 ;
14033 PyObject * obj2 = 0 ;
14034 PyObject * obj3 = 0 ;
14035 PyObject * obj4 = 0 ;
14036 char *kwnames[] = {
14037 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
14038 };
14039
14040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
14041 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14042 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14043 {
14044 arg2 = wxString_in_helper(obj1);
14045 if (arg2 == NULL) SWIG_fail;
14046 temp2 = true;
14047 }
14048 if (obj2) {
14049 {
14050 arg3 = wxString_in_helper(obj2);
14051 if (arg3 == NULL) SWIG_fail;
14052 temp3 = true;
14053 }
14054 }
14055 if (obj3) {
14056 arg4 = (long)SWIG_As_long(obj3);
14057 if (PyErr_Occurred()) SWIG_fail;
14058 }
14059 if (obj4) {
14060 {
14061 arg5 = &temp5;
14062 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14063 }
14064 }
14065 {
14066 if (!wxPyCheckForApp()) SWIG_fail;
14067 PyThreadState* __tstate = wxPyBeginAllowThreads();
14068 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
14069
14070 wxPyEndAllowThreads(__tstate);
14071 if (PyErr_Occurred()) SWIG_fail;
14072 }
14073 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMessageDialog, 1);
14074 {
14075 if (temp2)
14076 delete arg2;
14077 }
14078 {
14079 if (temp3)
14080 delete arg3;
14081 }
14082 return resultobj;
14083 fail:
14084 {
14085 if (temp2)
14086 delete arg2;
14087 }
14088 {
14089 if (temp3)
14090 delete arg3;
14091 }
14092 return NULL;
14093 }
14094
14095
14096 static PyObject * MessageDialog_swigregister(PyObject *, PyObject *args) {
14097 PyObject *obj;
14098 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14099 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj);
14100 Py_INCREF(obj);
14101 return Py_BuildValue((char *)"");
14102 }
14103 static PyObject *_wrap_new_ProgressDialog(PyObject *, PyObject *args, PyObject *kwargs) {
14104 PyObject *resultobj;
14105 wxString *arg1 = 0 ;
14106 wxString *arg2 = 0 ;
14107 int arg3 = (int) 100 ;
14108 wxWindow *arg4 = (wxWindow *) NULL ;
14109 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
14110 wxProgressDialog *result;
14111 bool temp1 = false ;
14112 bool temp2 = false ;
14113 PyObject * obj0 = 0 ;
14114 PyObject * obj1 = 0 ;
14115 PyObject * obj2 = 0 ;
14116 PyObject * obj3 = 0 ;
14117 PyObject * obj4 = 0 ;
14118 char *kwnames[] = {
14119 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
14120 };
14121
14122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
14123 {
14124 arg1 = wxString_in_helper(obj0);
14125 if (arg1 == NULL) SWIG_fail;
14126 temp1 = true;
14127 }
14128 {
14129 arg2 = wxString_in_helper(obj1);
14130 if (arg2 == NULL) SWIG_fail;
14131 temp2 = true;
14132 }
14133 if (obj2) {
14134 arg3 = (int)SWIG_As_int(obj2);
14135 if (PyErr_Occurred()) SWIG_fail;
14136 }
14137 if (obj3) {
14138 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
14139 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14140 }
14141 if (obj4) {
14142 arg5 = (int)SWIG_As_int(obj4);
14143 if (PyErr_Occurred()) SWIG_fail;
14144 }
14145 {
14146 if (!wxPyCheckForApp()) SWIG_fail;
14147 PyThreadState* __tstate = wxPyBeginAllowThreads();
14148 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
14149
14150 wxPyEndAllowThreads(__tstate);
14151 if (PyErr_Occurred()) SWIG_fail;
14152 }
14153 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxProgressDialog, 1);
14154 {
14155 if (temp1)
14156 delete arg1;
14157 }
14158 {
14159 if (temp2)
14160 delete arg2;
14161 }
14162 return resultobj;
14163 fail:
14164 {
14165 if (temp1)
14166 delete arg1;
14167 }
14168 {
14169 if (temp2)
14170 delete arg2;
14171 }
14172 return NULL;
14173 }
14174
14175
14176 static PyObject *_wrap_ProgressDialog_Update(PyObject *, PyObject *args, PyObject *kwargs) {
14177 PyObject *resultobj;
14178 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
14179 int arg2 ;
14180 wxString const &arg3_defvalue = wxPyEmptyString ;
14181 wxString *arg3 = (wxString *) &arg3_defvalue ;
14182 bool result;
14183 bool temp3 = false ;
14184 PyObject * obj0 = 0 ;
14185 PyObject * obj1 = 0 ;
14186 PyObject * obj2 = 0 ;
14187 char *kwnames[] = {
14188 (char *) "self",(char *) "value",(char *) "newmsg", NULL
14189 };
14190
14191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) goto fail;
14192 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog,
14193 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14194 arg2 = (int)SWIG_As_int(obj1);
14195 if (PyErr_Occurred()) SWIG_fail;
14196 if (obj2) {
14197 {
14198 arg3 = wxString_in_helper(obj2);
14199 if (arg3 == NULL) SWIG_fail;
14200 temp3 = true;
14201 }
14202 }
14203 {
14204 PyThreadState* __tstate = wxPyBeginAllowThreads();
14205 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3);
14206
14207 wxPyEndAllowThreads(__tstate);
14208 if (PyErr_Occurred()) SWIG_fail;
14209 }
14210 {
14211 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14212 }
14213 {
14214 if (temp3)
14215 delete arg3;
14216 }
14217 return resultobj;
14218 fail:
14219 {
14220 if (temp3)
14221 delete arg3;
14222 }
14223 return NULL;
14224 }
14225
14226
14227 static PyObject *_wrap_ProgressDialog_Resume(PyObject *, PyObject *args, PyObject *kwargs) {
14228 PyObject *resultobj;
14229 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
14230 PyObject * obj0 = 0 ;
14231 char *kwnames[] = {
14232 (char *) "self", NULL
14233 };
14234
14235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail;
14236 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog,
14237 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14238 {
14239 PyThreadState* __tstate = wxPyBeginAllowThreads();
14240 (arg1)->Resume();
14241
14242 wxPyEndAllowThreads(__tstate);
14243 if (PyErr_Occurred()) SWIG_fail;
14244 }
14245 Py_INCREF(Py_None); resultobj = Py_None;
14246 return resultobj;
14247 fail:
14248 return NULL;
14249 }
14250
14251
14252 static PyObject * ProgressDialog_swigregister(PyObject *, PyObject *args) {
14253 PyObject *obj;
14254 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14255 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj);
14256 Py_INCREF(obj);
14257 return Py_BuildValue((char *)"");
14258 }
14259 static PyObject *_wrap_new_FindDialogEvent(PyObject *, PyObject *args, PyObject *kwargs) {
14260 PyObject *resultobj;
14261 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
14262 int arg2 = (int) 0 ;
14263 wxFindDialogEvent *result;
14264 PyObject * obj0 = 0 ;
14265 PyObject * obj1 = 0 ;
14266 char *kwnames[] = {
14267 (char *) "commandType",(char *) "id", NULL
14268 };
14269
14270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) goto fail;
14271 if (obj0) {
14272 arg1 = (wxEventType)SWIG_As_int(obj0);
14273 if (PyErr_Occurred()) SWIG_fail;
14274 }
14275 if (obj1) {
14276 arg2 = (int)SWIG_As_int(obj1);
14277 if (PyErr_Occurred()) SWIG_fail;
14278 }
14279 {
14280 PyThreadState* __tstate = wxPyBeginAllowThreads();
14281 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
14282
14283 wxPyEndAllowThreads(__tstate);
14284 if (PyErr_Occurred()) SWIG_fail;
14285 }
14286 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindDialogEvent, 1);
14287 return resultobj;
14288 fail:
14289 return NULL;
14290 }
14291
14292
14293 static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
14294 PyObject *resultobj;
14295 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
14296 int result;
14297 PyObject * obj0 = 0 ;
14298 char *kwnames[] = {
14299 (char *) "self", NULL
14300 };
14301
14302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail;
14303 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14304 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14305 {
14306 PyThreadState* __tstate = wxPyBeginAllowThreads();
14307 result = (int)(arg1)->GetFlags();
14308
14309 wxPyEndAllowThreads(__tstate);
14310 if (PyErr_Occurred()) SWIG_fail;
14311 }
14312 resultobj = SWIG_From_int((int)result);
14313 return resultobj;
14314 fail:
14315 return NULL;
14316 }
14317
14318
14319 static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
14320 PyObject *resultobj;
14321 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
14322 wxString *result;
14323 PyObject * obj0 = 0 ;
14324 char *kwnames[] = {
14325 (char *) "self", NULL
14326 };
14327
14328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail;
14329 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14330 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14331 {
14332 PyThreadState* __tstate = wxPyBeginAllowThreads();
14333 {
14334 wxString const &_result_ref = (arg1)->GetFindString();
14335 result = (wxString *) &_result_ref;
14336 }
14337
14338 wxPyEndAllowThreads(__tstate);
14339 if (PyErr_Occurred()) SWIG_fail;
14340 }
14341 {
14342 #if wxUSE_UNICODE
14343 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14344 #else
14345 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14346 #endif
14347 }
14348 return resultobj;
14349 fail:
14350 return NULL;
14351 }
14352
14353
14354 static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
14355 PyObject *resultobj;
14356 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
14357 wxString *result;
14358 PyObject * obj0 = 0 ;
14359 char *kwnames[] = {
14360 (char *) "self", NULL
14361 };
14362
14363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail;
14364 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14365 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14366 {
14367 PyThreadState* __tstate = wxPyBeginAllowThreads();
14368 {
14369 wxString const &_result_ref = (arg1)->GetReplaceString();
14370 result = (wxString *) &_result_ref;
14371 }
14372
14373 wxPyEndAllowThreads(__tstate);
14374 if (PyErr_Occurred()) SWIG_fail;
14375 }
14376 {
14377 #if wxUSE_UNICODE
14378 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14379 #else
14380 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14381 #endif
14382 }
14383 return resultobj;
14384 fail:
14385 return NULL;
14386 }
14387
14388
14389 static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *, PyObject *args, PyObject *kwargs) {
14390 PyObject *resultobj;
14391 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
14392 wxFindReplaceDialog *result;
14393 PyObject * obj0 = 0 ;
14394 char *kwnames[] = {
14395 (char *) "self", NULL
14396 };
14397
14398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail;
14399 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14400 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14401 {
14402 PyThreadState* __tstate = wxPyBeginAllowThreads();
14403 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
14404
14405 wxPyEndAllowThreads(__tstate);
14406 if (PyErr_Occurred()) SWIG_fail;
14407 }
14408 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 0);
14409 return resultobj;
14410 fail:
14411 return NULL;
14412 }
14413
14414
14415 static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
14416 PyObject *resultobj;
14417 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
14418 int arg2 ;
14419 PyObject * obj0 = 0 ;
14420 PyObject * obj1 = 0 ;
14421 char *kwnames[] = {
14422 (char *) "self",(char *) "flags", NULL
14423 };
14424
14425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
14426 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14427 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14428 arg2 = (int)SWIG_As_int(obj1);
14429 if (PyErr_Occurred()) SWIG_fail;
14430 {
14431 PyThreadState* __tstate = wxPyBeginAllowThreads();
14432 (arg1)->SetFlags(arg2);
14433
14434 wxPyEndAllowThreads(__tstate);
14435 if (PyErr_Occurred()) SWIG_fail;
14436 }
14437 Py_INCREF(Py_None); resultobj = Py_None;
14438 return resultobj;
14439 fail:
14440 return NULL;
14441 }
14442
14443
14444 static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
14445 PyObject *resultobj;
14446 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
14447 wxString *arg2 = 0 ;
14448 bool temp2 = false ;
14449 PyObject * obj0 = 0 ;
14450 PyObject * obj1 = 0 ;
14451 char *kwnames[] = {
14452 (char *) "self",(char *) "str", NULL
14453 };
14454
14455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail;
14456 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14457 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14458 {
14459 arg2 = wxString_in_helper(obj1);
14460 if (arg2 == NULL) SWIG_fail;
14461 temp2 = true;
14462 }
14463 {
14464 PyThreadState* __tstate = wxPyBeginAllowThreads();
14465 (arg1)->SetFindString((wxString const &)*arg2);
14466
14467 wxPyEndAllowThreads(__tstate);
14468 if (PyErr_Occurred()) SWIG_fail;
14469 }
14470 Py_INCREF(Py_None); resultobj = Py_None;
14471 {
14472 if (temp2)
14473 delete arg2;
14474 }
14475 return resultobj;
14476 fail:
14477 {
14478 if (temp2)
14479 delete arg2;
14480 }
14481 return NULL;
14482 }
14483
14484
14485 static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
14486 PyObject *resultobj;
14487 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
14488 wxString *arg2 = 0 ;
14489 bool temp2 = false ;
14490 PyObject * obj0 = 0 ;
14491 PyObject * obj1 = 0 ;
14492 char *kwnames[] = {
14493 (char *) "self",(char *) "str", NULL
14494 };
14495
14496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
14497 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14498 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14499 {
14500 arg2 = wxString_in_helper(obj1);
14501 if (arg2 == NULL) SWIG_fail;
14502 temp2 = true;
14503 }
14504 {
14505 PyThreadState* __tstate = wxPyBeginAllowThreads();
14506 (arg1)->SetReplaceString((wxString const &)*arg2);
14507
14508 wxPyEndAllowThreads(__tstate);
14509 if (PyErr_Occurred()) SWIG_fail;
14510 }
14511 Py_INCREF(Py_None); resultobj = Py_None;
14512 {
14513 if (temp2)
14514 delete arg2;
14515 }
14516 return resultobj;
14517 fail:
14518 {
14519 if (temp2)
14520 delete arg2;
14521 }
14522 return NULL;
14523 }
14524
14525
14526 static PyObject * FindDialogEvent_swigregister(PyObject *, PyObject *args) {
14527 PyObject *obj;
14528 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14529 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj);
14530 Py_INCREF(obj);
14531 return Py_BuildValue((char *)"");
14532 }
14533 static PyObject *_wrap_new_FindReplaceData(PyObject *, PyObject *args, PyObject *kwargs) {
14534 PyObject *resultobj;
14535 int arg1 = (int) 0 ;
14536 wxFindReplaceData *result;
14537 PyObject * obj0 = 0 ;
14538 char *kwnames[] = {
14539 (char *) "flags", NULL
14540 };
14541
14542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) goto fail;
14543 if (obj0) {
14544 arg1 = (int)SWIG_As_int(obj0);
14545 if (PyErr_Occurred()) SWIG_fail;
14546 }
14547 {
14548 PyThreadState* __tstate = wxPyBeginAllowThreads();
14549 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
14550
14551 wxPyEndAllowThreads(__tstate);
14552 if (PyErr_Occurred()) SWIG_fail;
14553 }
14554 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 1);
14555 return resultobj;
14556 fail:
14557 return NULL;
14558 }
14559
14560
14561 static PyObject *_wrap_delete_FindReplaceData(PyObject *, PyObject *args, PyObject *kwargs) {
14562 PyObject *resultobj;
14563 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14564 PyObject * obj0 = 0 ;
14565 char *kwnames[] = {
14566 (char *) "self", NULL
14567 };
14568
14569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail;
14570 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14571 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14572 {
14573 PyThreadState* __tstate = wxPyBeginAllowThreads();
14574 delete arg1;
14575
14576 wxPyEndAllowThreads(__tstate);
14577 if (PyErr_Occurred()) SWIG_fail;
14578 }
14579 Py_INCREF(Py_None); resultobj = Py_None;
14580 return resultobj;
14581 fail:
14582 return NULL;
14583 }
14584
14585
14586 static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
14587 PyObject *resultobj;
14588 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14589 wxString *result;
14590 PyObject * obj0 = 0 ;
14591 char *kwnames[] = {
14592 (char *) "self", NULL
14593 };
14594
14595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail;
14596 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14597 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14598 {
14599 PyThreadState* __tstate = wxPyBeginAllowThreads();
14600 {
14601 wxString const &_result_ref = (arg1)->GetFindString();
14602 result = (wxString *) &_result_ref;
14603 }
14604
14605 wxPyEndAllowThreads(__tstate);
14606 if (PyErr_Occurred()) SWIG_fail;
14607 }
14608 {
14609 #if wxUSE_UNICODE
14610 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14611 #else
14612 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14613 #endif
14614 }
14615 return resultobj;
14616 fail:
14617 return NULL;
14618 }
14619
14620
14621 static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
14622 PyObject *resultobj;
14623 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14624 wxString *result;
14625 PyObject * obj0 = 0 ;
14626 char *kwnames[] = {
14627 (char *) "self", NULL
14628 };
14629
14630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail;
14631 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14632 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14633 {
14634 PyThreadState* __tstate = wxPyBeginAllowThreads();
14635 {
14636 wxString const &_result_ref = (arg1)->GetReplaceString();
14637 result = (wxString *) &_result_ref;
14638 }
14639
14640 wxPyEndAllowThreads(__tstate);
14641 if (PyErr_Occurred()) SWIG_fail;
14642 }
14643 {
14644 #if wxUSE_UNICODE
14645 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14646 #else
14647 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14648 #endif
14649 }
14650 return resultobj;
14651 fail:
14652 return NULL;
14653 }
14654
14655
14656 static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
14657 PyObject *resultobj;
14658 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14659 int result;
14660 PyObject * obj0 = 0 ;
14661 char *kwnames[] = {
14662 (char *) "self", NULL
14663 };
14664
14665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail;
14666 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14667 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14668 {
14669 PyThreadState* __tstate = wxPyBeginAllowThreads();
14670 result = (int)(arg1)->GetFlags();
14671
14672 wxPyEndAllowThreads(__tstate);
14673 if (PyErr_Occurred()) SWIG_fail;
14674 }
14675 resultobj = SWIG_From_int((int)result);
14676 return resultobj;
14677 fail:
14678 return NULL;
14679 }
14680
14681
14682 static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
14683 PyObject *resultobj;
14684 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14685 int arg2 ;
14686 PyObject * obj0 = 0 ;
14687 PyObject * obj1 = 0 ;
14688 char *kwnames[] = {
14689 (char *) "self",(char *) "flags", NULL
14690 };
14691
14692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) goto fail;
14693 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14694 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14695 arg2 = (int)SWIG_As_int(obj1);
14696 if (PyErr_Occurred()) SWIG_fail;
14697 {
14698 PyThreadState* __tstate = wxPyBeginAllowThreads();
14699 (arg1)->SetFlags(arg2);
14700
14701 wxPyEndAllowThreads(__tstate);
14702 if (PyErr_Occurred()) SWIG_fail;
14703 }
14704 Py_INCREF(Py_None); resultobj = Py_None;
14705 return resultobj;
14706 fail:
14707 return NULL;
14708 }
14709
14710
14711 static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
14712 PyObject *resultobj;
14713 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14714 wxString *arg2 = 0 ;
14715 bool temp2 = false ;
14716 PyObject * obj0 = 0 ;
14717 PyObject * obj1 = 0 ;
14718 char *kwnames[] = {
14719 (char *) "self",(char *) "str", NULL
14720 };
14721
14722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail;
14723 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14724 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14725 {
14726 arg2 = wxString_in_helper(obj1);
14727 if (arg2 == NULL) SWIG_fail;
14728 temp2 = true;
14729 }
14730 {
14731 PyThreadState* __tstate = wxPyBeginAllowThreads();
14732 (arg1)->SetFindString((wxString const &)*arg2);
14733
14734 wxPyEndAllowThreads(__tstate);
14735 if (PyErr_Occurred()) SWIG_fail;
14736 }
14737 Py_INCREF(Py_None); resultobj = Py_None;
14738 {
14739 if (temp2)
14740 delete arg2;
14741 }
14742 return resultobj;
14743 fail:
14744 {
14745 if (temp2)
14746 delete arg2;
14747 }
14748 return NULL;
14749 }
14750
14751
14752 static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
14753 PyObject *resultobj;
14754 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14755 wxString *arg2 = 0 ;
14756 bool temp2 = false ;
14757 PyObject * obj0 = 0 ;
14758 PyObject * obj1 = 0 ;
14759 char *kwnames[] = {
14760 (char *) "self",(char *) "str", NULL
14761 };
14762
14763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
14764 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14765 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14766 {
14767 arg2 = wxString_in_helper(obj1);
14768 if (arg2 == NULL) SWIG_fail;
14769 temp2 = true;
14770 }
14771 {
14772 PyThreadState* __tstate = wxPyBeginAllowThreads();
14773 (arg1)->SetReplaceString((wxString const &)*arg2);
14774
14775 wxPyEndAllowThreads(__tstate);
14776 if (PyErr_Occurred()) SWIG_fail;
14777 }
14778 Py_INCREF(Py_None); resultobj = Py_None;
14779 {
14780 if (temp2)
14781 delete arg2;
14782 }
14783 return resultobj;
14784 fail:
14785 {
14786 if (temp2)
14787 delete arg2;
14788 }
14789 return NULL;
14790 }
14791
14792
14793 static PyObject * FindReplaceData_swigregister(PyObject *, PyObject *args) {
14794 PyObject *obj;
14795 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14796 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj);
14797 Py_INCREF(obj);
14798 return Py_BuildValue((char *)"");
14799 }
14800 static PyObject *_wrap_new_FindReplaceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
14801 PyObject *resultobj;
14802 wxWindow *arg1 = (wxWindow *) 0 ;
14803 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
14804 wxString *arg3 = 0 ;
14805 int arg4 = (int) 0 ;
14806 wxFindReplaceDialog *result;
14807 bool temp3 = false ;
14808 PyObject * obj0 = 0 ;
14809 PyObject * obj1 = 0 ;
14810 PyObject * obj2 = 0 ;
14811 PyObject * obj3 = 0 ;
14812 char *kwnames[] = {
14813 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14814 };
14815
14816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14817 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14818 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14819 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData,
14820 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14821 {
14822 arg3 = wxString_in_helper(obj2);
14823 if (arg3 == NULL) SWIG_fail;
14824 temp3 = true;
14825 }
14826 if (obj3) {
14827 arg4 = (int)SWIG_As_int(obj3);
14828 if (PyErr_Occurred()) SWIG_fail;
14829 }
14830 {
14831 if (!wxPyCheckForApp()) SWIG_fail;
14832 PyThreadState* __tstate = wxPyBeginAllowThreads();
14833 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
14834
14835 wxPyEndAllowThreads(__tstate);
14836 if (PyErr_Occurred()) SWIG_fail;
14837 }
14838 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
14839 {
14840 if (temp3)
14841 delete arg3;
14842 }
14843 return resultobj;
14844 fail:
14845 {
14846 if (temp3)
14847 delete arg3;
14848 }
14849 return NULL;
14850 }
14851
14852
14853 static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
14854 PyObject *resultobj;
14855 wxFindReplaceDialog *result;
14856 char *kwnames[] = {
14857 NULL
14858 };
14859
14860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail;
14861 {
14862 if (!wxPyCheckForApp()) SWIG_fail;
14863 PyThreadState* __tstate = wxPyBeginAllowThreads();
14864 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
14865
14866 wxPyEndAllowThreads(__tstate);
14867 if (PyErr_Occurred()) SWIG_fail;
14868 }
14869 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
14870 return resultobj;
14871 fail:
14872 return NULL;
14873 }
14874
14875
14876 static PyObject *_wrap_FindReplaceDialog_Create(PyObject *, PyObject *args, PyObject *kwargs) {
14877 PyObject *resultobj;
14878 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14879 wxWindow *arg2 = (wxWindow *) 0 ;
14880 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
14881 wxString *arg4 = 0 ;
14882 int arg5 = (int) 0 ;
14883 bool result;
14884 bool temp4 = false ;
14885 PyObject * obj0 = 0 ;
14886 PyObject * obj1 = 0 ;
14887 PyObject * obj2 = 0 ;
14888 PyObject * obj3 = 0 ;
14889 PyObject * obj4 = 0 ;
14890 char *kwnames[] = {
14891 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14892 };
14893
14894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
14895 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14896 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14897 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14898 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14899 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFindReplaceData,
14900 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14901 {
14902 arg4 = wxString_in_helper(obj3);
14903 if (arg4 == NULL) SWIG_fail;
14904 temp4 = true;
14905 }
14906 if (obj4) {
14907 arg5 = (int)SWIG_As_int(obj4);
14908 if (PyErr_Occurred()) SWIG_fail;
14909 }
14910 {
14911 PyThreadState* __tstate = wxPyBeginAllowThreads();
14912 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
14913
14914 wxPyEndAllowThreads(__tstate);
14915 if (PyErr_Occurred()) SWIG_fail;
14916 }
14917 {
14918 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14919 }
14920 {
14921 if (temp4)
14922 delete arg4;
14923 }
14924 return resultobj;
14925 fail:
14926 {
14927 if (temp4)
14928 delete arg4;
14929 }
14930 return NULL;
14931 }
14932
14933
14934 static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
14935 PyObject *resultobj;
14936 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14937 wxFindReplaceData *result;
14938 PyObject * obj0 = 0 ;
14939 char *kwnames[] = {
14940 (char *) "self", NULL
14941 };
14942
14943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail;
14944 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14946 {
14947 PyThreadState* __tstate = wxPyBeginAllowThreads();
14948 result = (wxFindReplaceData *)(arg1)->GetData();
14949
14950 wxPyEndAllowThreads(__tstate);
14951 if (PyErr_Occurred()) SWIG_fail;
14952 }
14953 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 0);
14954 return resultobj;
14955 fail:
14956 return NULL;
14957 }
14958
14959
14960 static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
14961 PyObject *resultobj;
14962 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14963 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
14964 PyObject * obj0 = 0 ;
14965 PyObject * obj1 = 0 ;
14966 char *kwnames[] = {
14967 (char *) "self",(char *) "data", NULL
14968 };
14969
14970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail;
14971 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14972 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14973 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData,
14974 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14975 {
14976 PyThreadState* __tstate = wxPyBeginAllowThreads();
14977 (arg1)->SetData(arg2);
14978
14979 wxPyEndAllowThreads(__tstate);
14980 if (PyErr_Occurred()) SWIG_fail;
14981 }
14982 Py_INCREF(Py_None); resultobj = Py_None;
14983 return resultobj;
14984 fail:
14985 return NULL;
14986 }
14987
14988
14989 static PyObject * FindReplaceDialog_swigregister(PyObject *, PyObject *args) {
14990 PyObject *obj;
14991 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14992 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj);
14993 Py_INCREF(obj);
14994 return Py_BuildValue((char *)"");
14995 }
14996 static PyObject *_wrap_new_MDIParentFrame(PyObject *, PyObject *args, PyObject *kwargs) {
14997 PyObject *resultobj;
14998 wxWindow *arg1 = (wxWindow *) 0 ;
14999 int arg2 = (int) (int)-1 ;
15000 wxString const &arg3_defvalue = wxPyEmptyString ;
15001 wxString *arg3 = (wxString *) &arg3_defvalue ;
15002 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15003 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15004 wxSize const &arg5_defvalue = wxDefaultSize ;
15005 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15006 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
15007 wxString const &arg7_defvalue = wxPyFrameNameStr ;
15008 wxString *arg7 = (wxString *) &arg7_defvalue ;
15009 wxMDIParentFrame *result;
15010 bool temp3 = false ;
15011 wxPoint temp4 ;
15012 wxSize temp5 ;
15013 bool temp7 = false ;
15014 PyObject * obj0 = 0 ;
15015 PyObject * obj1 = 0 ;
15016 PyObject * obj2 = 0 ;
15017 PyObject * obj3 = 0 ;
15018 PyObject * obj4 = 0 ;
15019 PyObject * obj5 = 0 ;
15020 PyObject * obj6 = 0 ;
15021 char *kwnames[] = {
15022 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15023 };
15024
15025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15026 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
15027 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15028 if (obj1) {
15029 arg2 = (int)SWIG_As_int(obj1);
15030 if (PyErr_Occurred()) SWIG_fail;
15031 }
15032 if (obj2) {
15033 {
15034 arg3 = wxString_in_helper(obj2);
15035 if (arg3 == NULL) SWIG_fail;
15036 temp3 = true;
15037 }
15038 }
15039 if (obj3) {
15040 {
15041 arg4 = &temp4;
15042 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15043 }
15044 }
15045 if (obj4) {
15046 {
15047 arg5 = &temp5;
15048 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15049 }
15050 }
15051 if (obj5) {
15052 arg6 = (long)SWIG_As_long(obj5);
15053 if (PyErr_Occurred()) SWIG_fail;
15054 }
15055 if (obj6) {
15056 {
15057 arg7 = wxString_in_helper(obj6);
15058 if (arg7 == NULL) SWIG_fail;
15059 temp7 = true;
15060 }
15061 }
15062 {
15063 if (!wxPyCheckForApp()) SWIG_fail;
15064 PyThreadState* __tstate = wxPyBeginAllowThreads();
15065 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15066
15067 wxPyEndAllowThreads(__tstate);
15068 if (PyErr_Occurred()) SWIG_fail;
15069 }
15070 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
15071 {
15072 if (temp3)
15073 delete arg3;
15074 }
15075 {
15076 if (temp7)
15077 delete arg7;
15078 }
15079 return resultobj;
15080 fail:
15081 {
15082 if (temp3)
15083 delete arg3;
15084 }
15085 {
15086 if (temp7)
15087 delete arg7;
15088 }
15089 return NULL;
15090 }
15091
15092
15093 static PyObject *_wrap_new_PreMDIParentFrame(PyObject *, PyObject *args, PyObject *kwargs) {
15094 PyObject *resultobj;
15095 wxMDIParentFrame *result;
15096 char *kwnames[] = {
15097 NULL
15098 };
15099
15100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail;
15101 {
15102 if (!wxPyCheckForApp()) SWIG_fail;
15103 PyThreadState* __tstate = wxPyBeginAllowThreads();
15104 result = (wxMDIParentFrame *)new wxMDIParentFrame();
15105
15106 wxPyEndAllowThreads(__tstate);
15107 if (PyErr_Occurred()) SWIG_fail;
15108 }
15109 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
15110 return resultobj;
15111 fail:
15112 return NULL;
15113 }
15114
15115
15116 static PyObject *_wrap_MDIParentFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
15117 PyObject *resultobj;
15118 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15119 wxWindow *arg2 = (wxWindow *) 0 ;
15120 int arg3 = (int) (int)-1 ;
15121 wxString const &arg4_defvalue = wxPyEmptyString ;
15122 wxString *arg4 = (wxString *) &arg4_defvalue ;
15123 wxPoint const &arg5_defvalue = wxDefaultPosition ;
15124 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
15125 wxSize const &arg6_defvalue = wxDefaultSize ;
15126 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
15127 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
15128 wxString const &arg8_defvalue = wxPyFrameNameStr ;
15129 wxString *arg8 = (wxString *) &arg8_defvalue ;
15130 bool result;
15131 bool temp4 = false ;
15132 wxPoint temp5 ;
15133 wxSize temp6 ;
15134 bool temp8 = false ;
15135 PyObject * obj0 = 0 ;
15136 PyObject * obj1 = 0 ;
15137 PyObject * obj2 = 0 ;
15138 PyObject * obj3 = 0 ;
15139 PyObject * obj4 = 0 ;
15140 PyObject * obj5 = 0 ;
15141 PyObject * obj6 = 0 ;
15142 PyObject * obj7 = 0 ;
15143 char *kwnames[] = {
15144 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15145 };
15146
15147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15148 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15149 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15150 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
15151 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15152 if (obj2) {
15153 arg3 = (int)SWIG_As_int(obj2);
15154 if (PyErr_Occurred()) SWIG_fail;
15155 }
15156 if (obj3) {
15157 {
15158 arg4 = wxString_in_helper(obj3);
15159 if (arg4 == NULL) SWIG_fail;
15160 temp4 = true;
15161 }
15162 }
15163 if (obj4) {
15164 {
15165 arg5 = &temp5;
15166 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
15167 }
15168 }
15169 if (obj5) {
15170 {
15171 arg6 = &temp6;
15172 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
15173 }
15174 }
15175 if (obj6) {
15176 arg7 = (long)SWIG_As_long(obj6);
15177 if (PyErr_Occurred()) SWIG_fail;
15178 }
15179 if (obj7) {
15180 {
15181 arg8 = wxString_in_helper(obj7);
15182 if (arg8 == NULL) SWIG_fail;
15183 temp8 = true;
15184 }
15185 }
15186 {
15187 PyThreadState* __tstate = wxPyBeginAllowThreads();
15188 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
15189
15190 wxPyEndAllowThreads(__tstate);
15191 if (PyErr_Occurred()) SWIG_fail;
15192 }
15193 {
15194 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15195 }
15196 {
15197 if (temp4)
15198 delete arg4;
15199 }
15200 {
15201 if (temp8)
15202 delete arg8;
15203 }
15204 return resultobj;
15205 fail:
15206 {
15207 if (temp4)
15208 delete arg4;
15209 }
15210 {
15211 if (temp8)
15212 delete arg8;
15213 }
15214 return NULL;
15215 }
15216
15217
15218 static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *, PyObject *args, PyObject *kwargs) {
15219 PyObject *resultobj;
15220 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15221 PyObject * obj0 = 0 ;
15222 char *kwnames[] = {
15223 (char *) "self", NULL
15224 };
15225
15226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail;
15227 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15228 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15229 {
15230 PyThreadState* __tstate = wxPyBeginAllowThreads();
15231 (arg1)->ActivateNext();
15232
15233 wxPyEndAllowThreads(__tstate);
15234 if (PyErr_Occurred()) SWIG_fail;
15235 }
15236 Py_INCREF(Py_None); resultobj = Py_None;
15237 return resultobj;
15238 fail:
15239 return NULL;
15240 }
15241
15242
15243 static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *, PyObject *args, PyObject *kwargs) {
15244 PyObject *resultobj;
15245 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15246 PyObject * obj0 = 0 ;
15247 char *kwnames[] = {
15248 (char *) "self", NULL
15249 };
15250
15251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail;
15252 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15253 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15254 {
15255 PyThreadState* __tstate = wxPyBeginAllowThreads();
15256 (arg1)->ActivatePrevious();
15257
15258 wxPyEndAllowThreads(__tstate);
15259 if (PyErr_Occurred()) SWIG_fail;
15260 }
15261 Py_INCREF(Py_None); resultobj = Py_None;
15262 return resultobj;
15263 fail:
15264 return NULL;
15265 }
15266
15267
15268 static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *, PyObject *args, PyObject *kwargs) {
15269 PyObject *resultobj;
15270 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15271 PyObject * obj0 = 0 ;
15272 char *kwnames[] = {
15273 (char *) "self", NULL
15274 };
15275
15276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail;
15277 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15278 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15279 {
15280 PyThreadState* __tstate = wxPyBeginAllowThreads();
15281 (arg1)->ArrangeIcons();
15282
15283 wxPyEndAllowThreads(__tstate);
15284 if (PyErr_Occurred()) SWIG_fail;
15285 }
15286 Py_INCREF(Py_None); resultobj = Py_None;
15287 return resultobj;
15288 fail:
15289 return NULL;
15290 }
15291
15292
15293 static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *, PyObject *args, PyObject *kwargs) {
15294 PyObject *resultobj;
15295 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15296 PyObject * obj0 = 0 ;
15297 char *kwnames[] = {
15298 (char *) "self", NULL
15299 };
15300
15301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail;
15302 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15303 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15304 {
15305 PyThreadState* __tstate = wxPyBeginAllowThreads();
15306 (arg1)->Cascade();
15307
15308 wxPyEndAllowThreads(__tstate);
15309 if (PyErr_Occurred()) SWIG_fail;
15310 }
15311 Py_INCREF(Py_None); resultobj = Py_None;
15312 return resultobj;
15313 fail:
15314 return NULL;
15315 }
15316
15317
15318 static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *, PyObject *args, PyObject *kwargs) {
15319 PyObject *resultobj;
15320 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15321 wxMDIChildFrame *result;
15322 PyObject * obj0 = 0 ;
15323 char *kwnames[] = {
15324 (char *) "self", NULL
15325 };
15326
15327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail;
15328 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15329 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15330 {
15331 PyThreadState* __tstate = wxPyBeginAllowThreads();
15332 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
15333
15334 wxPyEndAllowThreads(__tstate);
15335 if (PyErr_Occurred()) SWIG_fail;
15336 }
15337 {
15338 resultobj = wxPyMake_wxObject(result, 0);
15339 }
15340 return resultobj;
15341 fail:
15342 return NULL;
15343 }
15344
15345
15346 static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
15347 PyObject *resultobj;
15348 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15349 wxMDIClientWindow *result;
15350 PyObject * obj0 = 0 ;
15351 char *kwnames[] = {
15352 (char *) "self", NULL
15353 };
15354
15355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail;
15356 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15357 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15358 {
15359 PyThreadState* __tstate = wxPyBeginAllowThreads();
15360 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
15361
15362 wxPyEndAllowThreads(__tstate);
15363 if (PyErr_Occurred()) SWIG_fail;
15364 }
15365 {
15366 resultobj = wxPyMake_wxObject(result, 0);
15367 }
15368 return resultobj;
15369 fail:
15370 return NULL;
15371 }
15372
15373
15374 static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
15375 PyObject *resultobj;
15376 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15377 wxWindow *result;
15378 PyObject * obj0 = 0 ;
15379 char *kwnames[] = {
15380 (char *) "self", NULL
15381 };
15382
15383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail;
15384 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15385 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15386 {
15387 PyThreadState* __tstate = wxPyBeginAllowThreads();
15388 result = (wxWindow *)(arg1)->GetToolBar();
15389
15390 wxPyEndAllowThreads(__tstate);
15391 if (PyErr_Occurred()) SWIG_fail;
15392 }
15393 {
15394 resultobj = wxPyMake_wxObject(result, 0);
15395 }
15396 return resultobj;
15397 fail:
15398 return NULL;
15399 }
15400
15401
15402 static PyObject *_wrap_MDIParentFrame_Tile(PyObject *, PyObject *args, PyObject *kwargs) {
15403 PyObject *resultobj;
15404 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15405 PyObject * obj0 = 0 ;
15406 char *kwnames[] = {
15407 (char *) "self", NULL
15408 };
15409
15410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Tile",kwnames,&obj0)) goto fail;
15411 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15412 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15413 {
15414 PyThreadState* __tstate = wxPyBeginAllowThreads();
15415 (arg1)->Tile();
15416
15417 wxPyEndAllowThreads(__tstate);
15418 if (PyErr_Occurred()) SWIG_fail;
15419 }
15420 Py_INCREF(Py_None); resultobj = Py_None;
15421 return resultobj;
15422 fail:
15423 return NULL;
15424 }
15425
15426
15427 static PyObject * MDIParentFrame_swigregister(PyObject *, PyObject *args) {
15428 PyObject *obj;
15429 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15430 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj);
15431 Py_INCREF(obj);
15432 return Py_BuildValue((char *)"");
15433 }
15434 static PyObject *_wrap_new_MDIChildFrame(PyObject *, PyObject *args, PyObject *kwargs) {
15435 PyObject *resultobj;
15436 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15437 int arg2 = (int) (int)-1 ;
15438 wxString const &arg3_defvalue = wxPyEmptyString ;
15439 wxString *arg3 = (wxString *) &arg3_defvalue ;
15440 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15441 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15442 wxSize const &arg5_defvalue = wxDefaultSize ;
15443 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15444 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
15445 wxString const &arg7_defvalue = wxPyFrameNameStr ;
15446 wxString *arg7 = (wxString *) &arg7_defvalue ;
15447 wxMDIChildFrame *result;
15448 bool temp3 = false ;
15449 wxPoint temp4 ;
15450 wxSize temp5 ;
15451 bool temp7 = false ;
15452 PyObject * obj0 = 0 ;
15453 PyObject * obj1 = 0 ;
15454 PyObject * obj2 = 0 ;
15455 PyObject * obj3 = 0 ;
15456 PyObject * obj4 = 0 ;
15457 PyObject * obj5 = 0 ;
15458 PyObject * obj6 = 0 ;
15459 char *kwnames[] = {
15460 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15461 };
15462
15463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15464 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15465 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15466 if (obj1) {
15467 arg2 = (int)SWIG_As_int(obj1);
15468 if (PyErr_Occurred()) SWIG_fail;
15469 }
15470 if (obj2) {
15471 {
15472 arg3 = wxString_in_helper(obj2);
15473 if (arg3 == NULL) SWIG_fail;
15474 temp3 = true;
15475 }
15476 }
15477 if (obj3) {
15478 {
15479 arg4 = &temp4;
15480 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15481 }
15482 }
15483 if (obj4) {
15484 {
15485 arg5 = &temp5;
15486 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15487 }
15488 }
15489 if (obj5) {
15490 arg6 = (long)SWIG_As_long(obj5);
15491 if (PyErr_Occurred()) SWIG_fail;
15492 }
15493 if (obj6) {
15494 {
15495 arg7 = wxString_in_helper(obj6);
15496 if (arg7 == NULL) SWIG_fail;
15497 temp7 = true;
15498 }
15499 }
15500 {
15501 if (!wxPyCheckForApp()) SWIG_fail;
15502 PyThreadState* __tstate = wxPyBeginAllowThreads();
15503 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15504
15505 wxPyEndAllowThreads(__tstate);
15506 if (PyErr_Occurred()) SWIG_fail;
15507 }
15508 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIChildFrame, 1);
15509 {
15510 if (temp3)
15511 delete arg3;
15512 }
15513 {
15514 if (temp7)
15515 delete arg7;
15516 }
15517 return resultobj;
15518 fail:
15519 {
15520 if (temp3)
15521 delete arg3;
15522 }
15523 {
15524 if (temp7)
15525 delete arg7;
15526 }
15527 return NULL;
15528 }
15529
15530
15531 static PyObject *_wrap_new_PreMDIChildFrame(PyObject *, PyObject *args, PyObject *kwargs) {
15532 PyObject *resultobj;
15533 wxMDIChildFrame *result;
15534 char *kwnames[] = {
15535 NULL
15536 };
15537
15538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail;
15539 {
15540 if (!wxPyCheckForApp()) SWIG_fail;
15541 PyThreadState* __tstate = wxPyBeginAllowThreads();
15542 result = (wxMDIChildFrame *)new wxMDIChildFrame();
15543
15544 wxPyEndAllowThreads(__tstate);
15545 if (PyErr_Occurred()) SWIG_fail;
15546 }
15547 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIChildFrame, 1);
15548 return resultobj;
15549 fail:
15550 return NULL;
15551 }
15552
15553
15554 static PyObject *_wrap_MDIChildFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
15555 PyObject *resultobj;
15556 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15557 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
15558 int arg3 = (int) (int)-1 ;
15559 wxString const &arg4_defvalue = wxPyEmptyString ;
15560 wxString *arg4 = (wxString *) &arg4_defvalue ;
15561 wxPoint const &arg5_defvalue = wxDefaultPosition ;
15562 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
15563 wxSize const &arg6_defvalue = wxDefaultSize ;
15564 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
15565 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
15566 wxString const &arg8_defvalue = wxPyFrameNameStr ;
15567 wxString *arg8 = (wxString *) &arg8_defvalue ;
15568 bool result;
15569 bool temp4 = false ;
15570 wxPoint temp5 ;
15571 wxSize temp6 ;
15572 bool temp8 = false ;
15573 PyObject * obj0 = 0 ;
15574 PyObject * obj1 = 0 ;
15575 PyObject * obj2 = 0 ;
15576 PyObject * obj3 = 0 ;
15577 PyObject * obj4 = 0 ;
15578 PyObject * obj5 = 0 ;
15579 PyObject * obj6 = 0 ;
15580 PyObject * obj7 = 0 ;
15581 char *kwnames[] = {
15582 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15583 };
15584
15585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15586 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15587 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15588 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
15589 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15590 if (obj2) {
15591 arg3 = (int)SWIG_As_int(obj2);
15592 if (PyErr_Occurred()) SWIG_fail;
15593 }
15594 if (obj3) {
15595 {
15596 arg4 = wxString_in_helper(obj3);
15597 if (arg4 == NULL) SWIG_fail;
15598 temp4 = true;
15599 }
15600 }
15601 if (obj4) {
15602 {
15603 arg5 = &temp5;
15604 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
15605 }
15606 }
15607 if (obj5) {
15608 {
15609 arg6 = &temp6;
15610 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
15611 }
15612 }
15613 if (obj6) {
15614 arg7 = (long)SWIG_As_long(obj6);
15615 if (PyErr_Occurred()) SWIG_fail;
15616 }
15617 if (obj7) {
15618 {
15619 arg8 = wxString_in_helper(obj7);
15620 if (arg8 == NULL) SWIG_fail;
15621 temp8 = true;
15622 }
15623 }
15624 {
15625 PyThreadState* __tstate = wxPyBeginAllowThreads();
15626 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
15627
15628 wxPyEndAllowThreads(__tstate);
15629 if (PyErr_Occurred()) SWIG_fail;
15630 }
15631 {
15632 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15633 }
15634 {
15635 if (temp4)
15636 delete arg4;
15637 }
15638 {
15639 if (temp8)
15640 delete arg8;
15641 }
15642 return resultobj;
15643 fail:
15644 {
15645 if (temp4)
15646 delete arg4;
15647 }
15648 {
15649 if (temp8)
15650 delete arg8;
15651 }
15652 return NULL;
15653 }
15654
15655
15656 static PyObject *_wrap_MDIChildFrame_Activate(PyObject *, PyObject *args, PyObject *kwargs) {
15657 PyObject *resultobj;
15658 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15659 PyObject * obj0 = 0 ;
15660 char *kwnames[] = {
15661 (char *) "self", NULL
15662 };
15663
15664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail;
15665 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15666 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15667 {
15668 PyThreadState* __tstate = wxPyBeginAllowThreads();
15669 (arg1)->Activate();
15670
15671 wxPyEndAllowThreads(__tstate);
15672 if (PyErr_Occurred()) SWIG_fail;
15673 }
15674 Py_INCREF(Py_None); resultobj = Py_None;
15675 return resultobj;
15676 fail:
15677 return NULL;
15678 }
15679
15680
15681 static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *, PyObject *args, PyObject *kwargs) {
15682 PyObject *resultobj;
15683 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15684 bool arg2 ;
15685 PyObject * obj0 = 0 ;
15686 PyObject * obj1 = 0 ;
15687 char *kwnames[] = {
15688 (char *) "self",(char *) "maximize", NULL
15689 };
15690
15691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail;
15692 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15693 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15694 arg2 = (bool)SWIG_As_bool(obj1);
15695 if (PyErr_Occurred()) SWIG_fail;
15696 {
15697 PyThreadState* __tstate = wxPyBeginAllowThreads();
15698 (arg1)->Maximize(arg2);
15699
15700 wxPyEndAllowThreads(__tstate);
15701 if (PyErr_Occurred()) SWIG_fail;
15702 }
15703 Py_INCREF(Py_None); resultobj = Py_None;
15704 return resultobj;
15705 fail:
15706 return NULL;
15707 }
15708
15709
15710 static PyObject *_wrap_MDIChildFrame_Restore(PyObject *, PyObject *args, PyObject *kwargs) {
15711 PyObject *resultobj;
15712 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15713 PyObject * obj0 = 0 ;
15714 char *kwnames[] = {
15715 (char *) "self", NULL
15716 };
15717
15718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail;
15719 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15720 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15721 {
15722 PyThreadState* __tstate = wxPyBeginAllowThreads();
15723 (arg1)->Restore();
15724
15725 wxPyEndAllowThreads(__tstate);
15726 if (PyErr_Occurred()) SWIG_fail;
15727 }
15728 Py_INCREF(Py_None); resultobj = Py_None;
15729 return resultobj;
15730 fail:
15731 return NULL;
15732 }
15733
15734
15735 static PyObject * MDIChildFrame_swigregister(PyObject *, PyObject *args) {
15736 PyObject *obj;
15737 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15738 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj);
15739 Py_INCREF(obj);
15740 return Py_BuildValue((char *)"");
15741 }
15742 static PyObject *_wrap_new_MDIClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
15743 PyObject *resultobj;
15744 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15745 long arg2 = (long) 0 ;
15746 wxMDIClientWindow *result;
15747 PyObject * obj0 = 0 ;
15748 PyObject * obj1 = 0 ;
15749 char *kwnames[] = {
15750 (char *) "parent",(char *) "style", NULL
15751 };
15752
15753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) goto fail;
15754 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15755 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15756 if (obj1) {
15757 arg2 = (long)SWIG_As_long(obj1);
15758 if (PyErr_Occurred()) SWIG_fail;
15759 }
15760 {
15761 if (!wxPyCheckForApp()) SWIG_fail;
15762 PyThreadState* __tstate = wxPyBeginAllowThreads();
15763 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
15764
15765 wxPyEndAllowThreads(__tstate);
15766 if (PyErr_Occurred()) SWIG_fail;
15767 }
15768 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIClientWindow, 1);
15769 return resultobj;
15770 fail:
15771 return NULL;
15772 }
15773
15774
15775 static PyObject *_wrap_new_PreMDIClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
15776 PyObject *resultobj;
15777 wxMDIClientWindow *result;
15778 char *kwnames[] = {
15779 NULL
15780 };
15781
15782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail;
15783 {
15784 if (!wxPyCheckForApp()) SWIG_fail;
15785 PyThreadState* __tstate = wxPyBeginAllowThreads();
15786 result = (wxMDIClientWindow *)new wxMDIClientWindow();
15787
15788 wxPyEndAllowThreads(__tstate);
15789 if (PyErr_Occurred()) SWIG_fail;
15790 }
15791 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIClientWindow, 1);
15792 return resultobj;
15793 fail:
15794 return NULL;
15795 }
15796
15797
15798 static PyObject *_wrap_MDIClientWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
15799 PyObject *resultobj;
15800 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
15801 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
15802 long arg3 = (long) 0 ;
15803 bool result;
15804 PyObject * obj0 = 0 ;
15805 PyObject * obj1 = 0 ;
15806 PyObject * obj2 = 0 ;
15807 char *kwnames[] = {
15808 (char *) "self",(char *) "parent",(char *) "style", NULL
15809 };
15810
15811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
15812 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIClientWindow,
15813 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15814 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
15815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15816 if (obj2) {
15817 arg3 = (long)SWIG_As_long(obj2);
15818 if (PyErr_Occurred()) SWIG_fail;
15819 }
15820 {
15821 PyThreadState* __tstate = wxPyBeginAllowThreads();
15822 result = (bool)(arg1)->Create(arg2,arg3);
15823
15824 wxPyEndAllowThreads(__tstate);
15825 if (PyErr_Occurred()) SWIG_fail;
15826 }
15827 {
15828 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15829 }
15830 return resultobj;
15831 fail:
15832 return NULL;
15833 }
15834
15835
15836 static PyObject * MDIClientWindow_swigregister(PyObject *, PyObject *args) {
15837 PyObject *obj;
15838 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15839 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj);
15840 Py_INCREF(obj);
15841 return Py_BuildValue((char *)"");
15842 }
15843 static PyObject *_wrap_new_PyWindow(PyObject *, PyObject *args, PyObject *kwargs) {
15844 PyObject *resultobj;
15845 wxWindow *arg1 = (wxWindow *) 0 ;
15846 int arg2 = (int) (int)-1 ;
15847 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15848 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15849 wxSize const &arg4_defvalue = wxDefaultSize ;
15850 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15851 long arg5 = (long) 0 ;
15852 wxString const &arg6_defvalue = wxPyPanelNameStr ;
15853 wxString *arg6 = (wxString *) &arg6_defvalue ;
15854 wxPyWindow *result;
15855 wxPoint temp3 ;
15856 wxSize temp4 ;
15857 bool temp6 = false ;
15858 PyObject * obj0 = 0 ;
15859 PyObject * obj1 = 0 ;
15860 PyObject * obj2 = 0 ;
15861 PyObject * obj3 = 0 ;
15862 PyObject * obj4 = 0 ;
15863 PyObject * obj5 = 0 ;
15864 char *kwnames[] = {
15865 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15866 };
15867
15868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15869 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
15870 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15871 if (obj1) {
15872 arg2 = (int)SWIG_As_int(obj1);
15873 if (PyErr_Occurred()) SWIG_fail;
15874 }
15875 if (obj2) {
15876 {
15877 arg3 = &temp3;
15878 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15879 }
15880 }
15881 if (obj3) {
15882 {
15883 arg4 = &temp4;
15884 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15885 }
15886 }
15887 if (obj4) {
15888 arg5 = (long)SWIG_As_long(obj4);
15889 if (PyErr_Occurred()) SWIG_fail;
15890 }
15891 if (obj5) {
15892 {
15893 arg6 = wxString_in_helper(obj5);
15894 if (arg6 == NULL) SWIG_fail;
15895 temp6 = true;
15896 }
15897 }
15898 {
15899 if (!wxPyCheckForApp()) SWIG_fail;
15900 PyThreadState* __tstate = wxPyBeginAllowThreads();
15901 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15902
15903 wxPyEndAllowThreads(__tstate);
15904 if (PyErr_Occurred()) SWIG_fail;
15905 }
15906 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
15907 {
15908 if (temp6)
15909 delete arg6;
15910 }
15911 return resultobj;
15912 fail:
15913 {
15914 if (temp6)
15915 delete arg6;
15916 }
15917 return NULL;
15918 }
15919
15920
15921 static PyObject *_wrap_new_PrePyWindow(PyObject *, PyObject *args, PyObject *kwargs) {
15922 PyObject *resultobj;
15923 wxPyWindow *result;
15924 char *kwnames[] = {
15925 NULL
15926 };
15927
15928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyWindow",kwnames)) goto fail;
15929 {
15930 if (!wxPyCheckForApp()) SWIG_fail;
15931 PyThreadState* __tstate = wxPyBeginAllowThreads();
15932 result = (wxPyWindow *)new wxPyWindow();
15933
15934 wxPyEndAllowThreads(__tstate);
15935 if (PyErr_Occurred()) SWIG_fail;
15936 }
15937 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
15938 return resultobj;
15939 fail:
15940 return NULL;
15941 }
15942
15943
15944 static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
15945 PyObject *resultobj;
15946 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15947 PyObject *arg2 = (PyObject *) 0 ;
15948 PyObject *arg3 = (PyObject *) 0 ;
15949 PyObject * obj0 = 0 ;
15950 PyObject * obj1 = 0 ;
15951 PyObject * obj2 = 0 ;
15952 char *kwnames[] = {
15953 (char *) "self",(char *) "self",(char *) "_class", NULL
15954 };
15955
15956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15957 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15958 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15959 arg2 = obj1;
15960 arg3 = obj2;
15961 {
15962 PyThreadState* __tstate = wxPyBeginAllowThreads();
15963 (arg1)->_setCallbackInfo(arg2,arg3);
15964
15965 wxPyEndAllowThreads(__tstate);
15966 if (PyErr_Occurred()) SWIG_fail;
15967 }
15968 Py_INCREF(Py_None); resultobj = Py_None;
15969 return resultobj;
15970 fail:
15971 return NULL;
15972 }
15973
15974
15975 static PyObject *_wrap_PyWindow_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
15976 PyObject *resultobj;
15977 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15978 wxSize *arg2 = 0 ;
15979 wxSize temp2 ;
15980 PyObject * obj0 = 0 ;
15981 PyObject * obj1 = 0 ;
15982 char *kwnames[] = {
15983 (char *) "self",(char *) "size", NULL
15984 };
15985
15986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
15987 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15989 {
15990 arg2 = &temp2;
15991 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
15992 }
15993 {
15994 PyThreadState* __tstate = wxPyBeginAllowThreads();
15995 (arg1)->SetBestSize((wxSize const &)*arg2);
15996
15997 wxPyEndAllowThreads(__tstate);
15998 if (PyErr_Occurred()) SWIG_fail;
15999 }
16000 Py_INCREF(Py_None); resultobj = Py_None;
16001 return resultobj;
16002 fail:
16003 return NULL;
16004 }
16005
16006
16007 static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
16008 PyObject *resultobj;
16009 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16010 int arg2 ;
16011 int arg3 ;
16012 int arg4 ;
16013 int arg5 ;
16014 PyObject * obj0 = 0 ;
16015 PyObject * obj1 = 0 ;
16016 PyObject * obj2 = 0 ;
16017 PyObject * obj3 = 0 ;
16018 PyObject * obj4 = 0 ;
16019 char *kwnames[] = {
16020 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16021 };
16022
16023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16024 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16025 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16026 arg2 = (int)SWIG_As_int(obj1);
16027 if (PyErr_Occurred()) SWIG_fail;
16028 arg3 = (int)SWIG_As_int(obj2);
16029 if (PyErr_Occurred()) SWIG_fail;
16030 arg4 = (int)SWIG_As_int(obj3);
16031 if (PyErr_Occurred()) SWIG_fail;
16032 arg5 = (int)SWIG_As_int(obj4);
16033 if (PyErr_Occurred()) SWIG_fail;
16034 {
16035 PyThreadState* __tstate = wxPyBeginAllowThreads();
16036 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
16037
16038 wxPyEndAllowThreads(__tstate);
16039 if (PyErr_Occurred()) SWIG_fail;
16040 }
16041 Py_INCREF(Py_None); resultobj = Py_None;
16042 return resultobj;
16043 fail:
16044 return NULL;
16045 }
16046
16047
16048 static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
16049 PyObject *resultobj;
16050 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16051 int arg2 ;
16052 int arg3 ;
16053 int arg4 ;
16054 int arg5 ;
16055 int arg6 = (int) wxSIZE_AUTO ;
16056 PyObject * obj0 = 0 ;
16057 PyObject * obj1 = 0 ;
16058 PyObject * obj2 = 0 ;
16059 PyObject * obj3 = 0 ;
16060 PyObject * obj4 = 0 ;
16061 PyObject * obj5 = 0 ;
16062 char *kwnames[] = {
16063 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
16064 };
16065
16066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16067 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16068 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16069 arg2 = (int)SWIG_As_int(obj1);
16070 if (PyErr_Occurred()) SWIG_fail;
16071 arg3 = (int)SWIG_As_int(obj2);
16072 if (PyErr_Occurred()) SWIG_fail;
16073 arg4 = (int)SWIG_As_int(obj3);
16074 if (PyErr_Occurred()) SWIG_fail;
16075 arg5 = (int)SWIG_As_int(obj4);
16076 if (PyErr_Occurred()) SWIG_fail;
16077 if (obj5) {
16078 arg6 = (int)SWIG_As_int(obj5);
16079 if (PyErr_Occurred()) SWIG_fail;
16080 }
16081 {
16082 PyThreadState* __tstate = wxPyBeginAllowThreads();
16083 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
16084
16085 wxPyEndAllowThreads(__tstate);
16086 if (PyErr_Occurred()) SWIG_fail;
16087 }
16088 Py_INCREF(Py_None); resultobj = Py_None;
16089 return resultobj;
16090 fail:
16091 return NULL;
16092 }
16093
16094
16095 static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
16096 PyObject *resultobj;
16097 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16098 int arg2 ;
16099 int arg3 ;
16100 PyObject * obj0 = 0 ;
16101 PyObject * obj1 = 0 ;
16102 PyObject * obj2 = 0 ;
16103 char *kwnames[] = {
16104 (char *) "self",(char *) "width",(char *) "height", NULL
16105 };
16106
16107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16108 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16109 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16110 arg2 = (int)SWIG_As_int(obj1);
16111 if (PyErr_Occurred()) SWIG_fail;
16112 arg3 = (int)SWIG_As_int(obj2);
16113 if (PyErr_Occurred()) SWIG_fail;
16114 {
16115 PyThreadState* __tstate = wxPyBeginAllowThreads();
16116 (arg1)->base_DoSetClientSize(arg2,arg3);
16117
16118 wxPyEndAllowThreads(__tstate);
16119 if (PyErr_Occurred()) SWIG_fail;
16120 }
16121 Py_INCREF(Py_None); resultobj = Py_None;
16122 return resultobj;
16123 fail:
16124 return NULL;
16125 }
16126
16127
16128 static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
16129 PyObject *resultobj;
16130 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16131 int arg2 ;
16132 int arg3 ;
16133 PyObject * obj0 = 0 ;
16134 PyObject * obj1 = 0 ;
16135 PyObject * obj2 = 0 ;
16136 char *kwnames[] = {
16137 (char *) "self",(char *) "x",(char *) "y", NULL
16138 };
16139
16140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16141 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16142 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16143 arg2 = (int)SWIG_As_int(obj1);
16144 if (PyErr_Occurred()) SWIG_fail;
16145 arg3 = (int)SWIG_As_int(obj2);
16146 if (PyErr_Occurred()) SWIG_fail;
16147 {
16148 PyThreadState* __tstate = wxPyBeginAllowThreads();
16149 (arg1)->base_DoSetVirtualSize(arg2,arg3);
16150
16151 wxPyEndAllowThreads(__tstate);
16152 if (PyErr_Occurred()) SWIG_fail;
16153 }
16154 Py_INCREF(Py_None); resultobj = Py_None;
16155 return resultobj;
16156 fail:
16157 return NULL;
16158 }
16159
16160
16161 static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
16162 PyObject *resultobj;
16163 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16164 int *arg2 = (int *) 0 ;
16165 int *arg3 = (int *) 0 ;
16166 int temp2 ;
16167 int res2 = 0 ;
16168 int temp3 ;
16169 int res3 = 0 ;
16170 PyObject * obj0 = 0 ;
16171 char *kwnames[] = {
16172 (char *) "self", NULL
16173 };
16174
16175 arg2 = &temp2; res2 = SWIG_NEWOBJ;
16176 arg3 = &temp3; res3 = SWIG_NEWOBJ;
16177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
16178 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16179 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16180 {
16181 PyThreadState* __tstate = wxPyBeginAllowThreads();
16182 ((wxPyWindow const *)arg1)->base_DoGetSize(arg2,arg3);
16183
16184 wxPyEndAllowThreads(__tstate);
16185 if (PyErr_Occurred()) SWIG_fail;
16186 }
16187 Py_INCREF(Py_None); resultobj = Py_None;
16188 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
16189 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
16190 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
16191 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
16192 return resultobj;
16193 fail:
16194 return NULL;
16195 }
16196
16197
16198 static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
16199 PyObject *resultobj;
16200 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16201 int *arg2 = (int *) 0 ;
16202 int *arg3 = (int *) 0 ;
16203 int temp2 ;
16204 int res2 = 0 ;
16205 int temp3 ;
16206 int res3 = 0 ;
16207 PyObject * obj0 = 0 ;
16208 char *kwnames[] = {
16209 (char *) "self", NULL
16210 };
16211
16212 arg2 = &temp2; res2 = SWIG_NEWOBJ;
16213 arg3 = &temp3; res3 = SWIG_NEWOBJ;
16214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
16215 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16216 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16217 {
16218 PyThreadState* __tstate = wxPyBeginAllowThreads();
16219 ((wxPyWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
16220
16221 wxPyEndAllowThreads(__tstate);
16222 if (PyErr_Occurred()) SWIG_fail;
16223 }
16224 Py_INCREF(Py_None); resultobj = Py_None;
16225 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
16226 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
16227 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
16228 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
16229 return resultobj;
16230 fail:
16231 return NULL;
16232 }
16233
16234
16235 static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
16236 PyObject *resultobj;
16237 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16238 int *arg2 = (int *) 0 ;
16239 int *arg3 = (int *) 0 ;
16240 int temp2 ;
16241 int res2 = 0 ;
16242 int temp3 ;
16243 int res3 = 0 ;
16244 PyObject * obj0 = 0 ;
16245 char *kwnames[] = {
16246 (char *) "self", NULL
16247 };
16248
16249 arg2 = &temp2; res2 = SWIG_NEWOBJ;
16250 arg3 = &temp3; res3 = SWIG_NEWOBJ;
16251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
16252 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16253 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16254 {
16255 PyThreadState* __tstate = wxPyBeginAllowThreads();
16256 ((wxPyWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
16257
16258 wxPyEndAllowThreads(__tstate);
16259 if (PyErr_Occurred()) SWIG_fail;
16260 }
16261 Py_INCREF(Py_None); resultobj = Py_None;
16262 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
16263 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
16264 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
16265 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
16266 return resultobj;
16267 fail:
16268 return NULL;
16269 }
16270
16271
16272 static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
16273 PyObject *resultobj;
16274 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16275 wxSize result;
16276 PyObject * obj0 = 0 ;
16277 char *kwnames[] = {
16278 (char *) "self", NULL
16279 };
16280
16281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
16282 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16283 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16284 {
16285 PyThreadState* __tstate = wxPyBeginAllowThreads();
16286 result = ((wxPyWindow const *)arg1)->base_DoGetVirtualSize();
16287
16288 wxPyEndAllowThreads(__tstate);
16289 if (PyErr_Occurred()) SWIG_fail;
16290 }
16291 {
16292 wxSize * resultptr;
16293 resultptr = new wxSize((wxSize &) result);
16294 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16295 }
16296 return resultobj;
16297 fail:
16298 return NULL;
16299 }
16300
16301
16302 static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
16303 PyObject *resultobj;
16304 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16305 wxSize result;
16306 PyObject * obj0 = 0 ;
16307 char *kwnames[] = {
16308 (char *) "self", NULL
16309 };
16310
16311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
16312 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16313 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16314 {
16315 PyThreadState* __tstate = wxPyBeginAllowThreads();
16316 result = ((wxPyWindow const *)arg1)->base_DoGetBestSize();
16317
16318 wxPyEndAllowThreads(__tstate);
16319 if (PyErr_Occurred()) SWIG_fail;
16320 }
16321 {
16322 wxSize * resultptr;
16323 resultptr = new wxSize((wxSize &) result);
16324 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16325 }
16326 return resultobj;
16327 fail:
16328 return NULL;
16329 }
16330
16331
16332 static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
16333 PyObject *resultobj;
16334 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16335 PyObject * obj0 = 0 ;
16336 char *kwnames[] = {
16337 (char *) "self", NULL
16338 };
16339
16340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_InitDialog",kwnames,&obj0)) goto fail;
16341 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16342 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16343 {
16344 PyThreadState* __tstate = wxPyBeginAllowThreads();
16345 (arg1)->base_InitDialog();
16346
16347 wxPyEndAllowThreads(__tstate);
16348 if (PyErr_Occurred()) SWIG_fail;
16349 }
16350 Py_INCREF(Py_None); resultobj = Py_None;
16351 return resultobj;
16352 fail:
16353 return NULL;
16354 }
16355
16356
16357 static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
16358 PyObject *resultobj;
16359 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16360 bool result;
16361 PyObject * obj0 = 0 ;
16362 char *kwnames[] = {
16363 (char *) "self", NULL
16364 };
16365
16366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
16367 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16368 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16369 {
16370 PyThreadState* __tstate = wxPyBeginAllowThreads();
16371 result = (bool)(arg1)->base_TransferDataToWindow();
16372
16373 wxPyEndAllowThreads(__tstate);
16374 if (PyErr_Occurred()) SWIG_fail;
16375 }
16376 {
16377 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16378 }
16379 return resultobj;
16380 fail:
16381 return NULL;
16382 }
16383
16384
16385 static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
16386 PyObject *resultobj;
16387 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16388 bool result;
16389 PyObject * obj0 = 0 ;
16390 char *kwnames[] = {
16391 (char *) "self", NULL
16392 };
16393
16394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
16395 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16396 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16397 {
16398 PyThreadState* __tstate = wxPyBeginAllowThreads();
16399 result = (bool)(arg1)->base_TransferDataFromWindow();
16400
16401 wxPyEndAllowThreads(__tstate);
16402 if (PyErr_Occurred()) SWIG_fail;
16403 }
16404 {
16405 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16406 }
16407 return resultobj;
16408 fail:
16409 return NULL;
16410 }
16411
16412
16413 static PyObject *_wrap_PyWindow_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
16414 PyObject *resultobj;
16415 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16416 bool result;
16417 PyObject * obj0 = 0 ;
16418 char *kwnames[] = {
16419 (char *) "self", NULL
16420 };
16421
16422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_Validate",kwnames,&obj0)) goto fail;
16423 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16424 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16425 {
16426 PyThreadState* __tstate = wxPyBeginAllowThreads();
16427 result = (bool)(arg1)->base_Validate();
16428
16429 wxPyEndAllowThreads(__tstate);
16430 if (PyErr_Occurred()) SWIG_fail;
16431 }
16432 {
16433 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16434 }
16435 return resultobj;
16436 fail:
16437 return NULL;
16438 }
16439
16440
16441 static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
16442 PyObject *resultobj;
16443 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16444 bool result;
16445 PyObject * obj0 = 0 ;
16446 char *kwnames[] = {
16447 (char *) "self", NULL
16448 };
16449
16450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
16451 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16452 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16453 {
16454 PyThreadState* __tstate = wxPyBeginAllowThreads();
16455 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocus();
16456
16457 wxPyEndAllowThreads(__tstate);
16458 if (PyErr_Occurred()) SWIG_fail;
16459 }
16460 {
16461 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16462 }
16463 return resultobj;
16464 fail:
16465 return NULL;
16466 }
16467
16468
16469 static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
16470 PyObject *resultobj;
16471 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16472 bool result;
16473 PyObject * obj0 = 0 ;
16474 char *kwnames[] = {
16475 (char *) "self", NULL
16476 };
16477
16478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
16479 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16480 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16481 {
16482 PyThreadState* __tstate = wxPyBeginAllowThreads();
16483 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
16484
16485 wxPyEndAllowThreads(__tstate);
16486 if (PyErr_Occurred()) SWIG_fail;
16487 }
16488 {
16489 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16490 }
16491 return resultobj;
16492 fail:
16493 return NULL;
16494 }
16495
16496
16497 static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
16498 PyObject *resultobj;
16499 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16500 wxSize result;
16501 PyObject * obj0 = 0 ;
16502 char *kwnames[] = {
16503 (char *) "self", NULL
16504 };
16505
16506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
16507 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16508 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16509 {
16510 PyThreadState* __tstate = wxPyBeginAllowThreads();
16511 result = ((wxPyWindow const *)arg1)->base_GetMaxSize();
16512
16513 wxPyEndAllowThreads(__tstate);
16514 if (PyErr_Occurred()) SWIG_fail;
16515 }
16516 {
16517 wxSize * resultptr;
16518 resultptr = new wxSize((wxSize &) result);
16519 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16520 }
16521 return resultobj;
16522 fail:
16523 return NULL;
16524 }
16525
16526
16527 static PyObject *_wrap_PyWindow_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
16528 PyObject *resultobj;
16529 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16530 wxWindow *arg2 = (wxWindow *) 0 ;
16531 PyObject * obj0 = 0 ;
16532 PyObject * obj1 = 0 ;
16533 char *kwnames[] = {
16534 (char *) "self",(char *) "child", NULL
16535 };
16536
16537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
16538 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16539 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16540 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16541 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16542 {
16543 PyThreadState* __tstate = wxPyBeginAllowThreads();
16544 (arg1)->base_AddChild(arg2);
16545
16546 wxPyEndAllowThreads(__tstate);
16547 if (PyErr_Occurred()) SWIG_fail;
16548 }
16549 Py_INCREF(Py_None); resultobj = Py_None;
16550 return resultobj;
16551 fail:
16552 return NULL;
16553 }
16554
16555
16556 static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
16557 PyObject *resultobj;
16558 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16559 wxWindow *arg2 = (wxWindow *) 0 ;
16560 PyObject * obj0 = 0 ;
16561 PyObject * obj1 = 0 ;
16562 char *kwnames[] = {
16563 (char *) "self",(char *) "child", NULL
16564 };
16565
16566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
16567 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16568 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16569 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16570 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16571 {
16572 PyThreadState* __tstate = wxPyBeginAllowThreads();
16573 (arg1)->base_RemoveChild(arg2);
16574
16575 wxPyEndAllowThreads(__tstate);
16576 if (PyErr_Occurred()) SWIG_fail;
16577 }
16578 Py_INCREF(Py_None); resultobj = Py_None;
16579 return resultobj;
16580 fail:
16581 return NULL;
16582 }
16583
16584
16585 static PyObject *_wrap_PyWindow_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
16586 PyObject *resultobj;
16587 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16588 bool result;
16589 PyObject * obj0 = 0 ;
16590 char *kwnames[] = {
16591 (char *) "self", NULL
16592 };
16593
16594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
16595 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16596 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16597 {
16598 PyThreadState* __tstate = wxPyBeginAllowThreads();
16599 result = (bool)((wxPyWindow const *)arg1)->base_ShouldInheritColours();
16600
16601 wxPyEndAllowThreads(__tstate);
16602 if (PyErr_Occurred()) SWIG_fail;
16603 }
16604 {
16605 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16606 }
16607 return resultobj;
16608 fail:
16609 return NULL;
16610 }
16611
16612
16613 static PyObject *_wrap_PyWindow_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) {
16614 PyObject *resultobj;
16615 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16616 wxColour *arg2 = 0 ;
16617 wxColour temp2 ;
16618 PyObject * obj0 = 0 ;
16619 PyObject * obj1 = 0 ;
16620 char *kwnames[] = {
16621 (char *) "self",(char *) "c", NULL
16622 };
16623
16624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
16625 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16626 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16627 {
16628 arg2 = &temp2;
16629 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16630 }
16631 {
16632 PyThreadState* __tstate = wxPyBeginAllowThreads();
16633 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
16634
16635 wxPyEndAllowThreads(__tstate);
16636 if (PyErr_Occurred()) SWIG_fail;
16637 }
16638 Py_INCREF(Py_None); resultobj = Py_None;
16639 return resultobj;
16640 fail:
16641 return NULL;
16642 }
16643
16644
16645 static PyObject *_wrap_PyWindow_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
16646 PyObject *resultobj;
16647 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16648 wxVisualAttributes result;
16649 PyObject * obj0 = 0 ;
16650 char *kwnames[] = {
16651 (char *) "self", NULL
16652 };
16653
16654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
16655 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16656 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16657 {
16658 PyThreadState* __tstate = wxPyBeginAllowThreads();
16659 result = (arg1)->base_GetDefaultAttributes();
16660
16661 wxPyEndAllowThreads(__tstate);
16662 if (PyErr_Occurred()) SWIG_fail;
16663 }
16664 {
16665 wxVisualAttributes * resultptr;
16666 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
16667 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
16668 }
16669 return resultobj;
16670 fail:
16671 return NULL;
16672 }
16673
16674
16675 static PyObject * PyWindow_swigregister(PyObject *, PyObject *args) {
16676 PyObject *obj;
16677 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16678 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj);
16679 Py_INCREF(obj);
16680 return Py_BuildValue((char *)"");
16681 }
16682 static PyObject *_wrap_new_PyPanel(PyObject *, PyObject *args, PyObject *kwargs) {
16683 PyObject *resultobj;
16684 wxWindow *arg1 = (wxWindow *) 0 ;
16685 int arg2 = (int) (int)-1 ;
16686 wxPoint const &arg3_defvalue = wxDefaultPosition ;
16687 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
16688 wxSize const &arg4_defvalue = wxDefaultSize ;
16689 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
16690 long arg5 = (long) 0 ;
16691 wxString const &arg6_defvalue = wxPyPanelNameStr ;
16692 wxString *arg6 = (wxString *) &arg6_defvalue ;
16693 wxPyPanel *result;
16694 wxPoint temp3 ;
16695 wxSize temp4 ;
16696 bool temp6 = false ;
16697 PyObject * obj0 = 0 ;
16698 PyObject * obj1 = 0 ;
16699 PyObject * obj2 = 0 ;
16700 PyObject * obj3 = 0 ;
16701 PyObject * obj4 = 0 ;
16702 PyObject * obj5 = 0 ;
16703 char *kwnames[] = {
16704 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16705 };
16706
16707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16708 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
16709 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16710 if (obj1) {
16711 arg2 = (int)SWIG_As_int(obj1);
16712 if (PyErr_Occurred()) SWIG_fail;
16713 }
16714 if (obj2) {
16715 {
16716 arg3 = &temp3;
16717 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
16718 }
16719 }
16720 if (obj3) {
16721 {
16722 arg4 = &temp4;
16723 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
16724 }
16725 }
16726 if (obj4) {
16727 arg5 = (long)SWIG_As_long(obj4);
16728 if (PyErr_Occurred()) SWIG_fail;
16729 }
16730 if (obj5) {
16731 {
16732 arg6 = wxString_in_helper(obj5);
16733 if (arg6 == NULL) SWIG_fail;
16734 temp6 = true;
16735 }
16736 }
16737 {
16738 if (!wxPyCheckForApp()) SWIG_fail;
16739 PyThreadState* __tstate = wxPyBeginAllowThreads();
16740 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
16741
16742 wxPyEndAllowThreads(__tstate);
16743 if (PyErr_Occurred()) SWIG_fail;
16744 }
16745 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
16746 {
16747 if (temp6)
16748 delete arg6;
16749 }
16750 return resultobj;
16751 fail:
16752 {
16753 if (temp6)
16754 delete arg6;
16755 }
16756 return NULL;
16757 }
16758
16759
16760 static PyObject *_wrap_new_PrePyPanel(PyObject *, PyObject *args, PyObject *kwargs) {
16761 PyObject *resultobj;
16762 wxPyPanel *result;
16763 char *kwnames[] = {
16764 NULL
16765 };
16766
16767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyPanel",kwnames)) goto fail;
16768 {
16769 if (!wxPyCheckForApp()) SWIG_fail;
16770 PyThreadState* __tstate = wxPyBeginAllowThreads();
16771 result = (wxPyPanel *)new wxPyPanel();
16772
16773 wxPyEndAllowThreads(__tstate);
16774 if (PyErr_Occurred()) SWIG_fail;
16775 }
16776 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
16777 return resultobj;
16778 fail:
16779 return NULL;
16780 }
16781
16782
16783 static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
16784 PyObject *resultobj;
16785 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16786 PyObject *arg2 = (PyObject *) 0 ;
16787 PyObject *arg3 = (PyObject *) 0 ;
16788 PyObject * obj0 = 0 ;
16789 PyObject * obj1 = 0 ;
16790 PyObject * obj2 = 0 ;
16791 char *kwnames[] = {
16792 (char *) "self",(char *) "self",(char *) "_class", NULL
16793 };
16794
16795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
16796 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16798 arg2 = obj1;
16799 arg3 = obj2;
16800 {
16801 PyThreadState* __tstate = wxPyBeginAllowThreads();
16802 (arg1)->_setCallbackInfo(arg2,arg3);
16803
16804 wxPyEndAllowThreads(__tstate);
16805 if (PyErr_Occurred()) SWIG_fail;
16806 }
16807 Py_INCREF(Py_None); resultobj = Py_None;
16808 return resultobj;
16809 fail:
16810 return NULL;
16811 }
16812
16813
16814 static PyObject *_wrap_PyPanel_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
16815 PyObject *resultobj;
16816 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16817 wxSize *arg2 = 0 ;
16818 wxSize temp2 ;
16819 PyObject * obj0 = 0 ;
16820 PyObject * obj1 = 0 ;
16821 char *kwnames[] = {
16822 (char *) "self",(char *) "size", NULL
16823 };
16824
16825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
16826 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16827 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16828 {
16829 arg2 = &temp2;
16830 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16831 }
16832 {
16833 PyThreadState* __tstate = wxPyBeginAllowThreads();
16834 (arg1)->SetBestSize((wxSize const &)*arg2);
16835
16836 wxPyEndAllowThreads(__tstate);
16837 if (PyErr_Occurred()) SWIG_fail;
16838 }
16839 Py_INCREF(Py_None); resultobj = Py_None;
16840 return resultobj;
16841 fail:
16842 return NULL;
16843 }
16844
16845
16846 static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
16847 PyObject *resultobj;
16848 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16849 int arg2 ;
16850 int arg3 ;
16851 int arg4 ;
16852 int arg5 ;
16853 PyObject * obj0 = 0 ;
16854 PyObject * obj1 = 0 ;
16855 PyObject * obj2 = 0 ;
16856 PyObject * obj3 = 0 ;
16857 PyObject * obj4 = 0 ;
16858 char *kwnames[] = {
16859 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16860 };
16861
16862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16863 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16864 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16865 arg2 = (int)SWIG_As_int(obj1);
16866 if (PyErr_Occurred()) SWIG_fail;
16867 arg3 = (int)SWIG_As_int(obj2);
16868 if (PyErr_Occurred()) SWIG_fail;
16869 arg4 = (int)SWIG_As_int(obj3);
16870 if (PyErr_Occurred()) SWIG_fail;
16871 arg5 = (int)SWIG_As_int(obj4);
16872 if (PyErr_Occurred()) SWIG_fail;
16873 {
16874 PyThreadState* __tstate = wxPyBeginAllowThreads();
16875 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
16876
16877 wxPyEndAllowThreads(__tstate);
16878 if (PyErr_Occurred()) SWIG_fail;
16879 }
16880 Py_INCREF(Py_None); resultobj = Py_None;
16881 return resultobj;
16882 fail:
16883 return NULL;
16884 }
16885
16886
16887 static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
16888 PyObject *resultobj;
16889 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16890 int arg2 ;
16891 int arg3 ;
16892 int arg4 ;
16893 int arg5 ;
16894 int arg6 = (int) wxSIZE_AUTO ;
16895 PyObject * obj0 = 0 ;
16896 PyObject * obj1 = 0 ;
16897 PyObject * obj2 = 0 ;
16898 PyObject * obj3 = 0 ;
16899 PyObject * obj4 = 0 ;
16900 PyObject * obj5 = 0 ;
16901 char *kwnames[] = {
16902 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
16903 };
16904
16905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16906 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16907 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16908 arg2 = (int)SWIG_As_int(obj1);
16909 if (PyErr_Occurred()) SWIG_fail;
16910 arg3 = (int)SWIG_As_int(obj2);
16911 if (PyErr_Occurred()) SWIG_fail;
16912 arg4 = (int)SWIG_As_int(obj3);
16913 if (PyErr_Occurred()) SWIG_fail;
16914 arg5 = (int)SWIG_As_int(obj4);
16915 if (PyErr_Occurred()) SWIG_fail;
16916 if (obj5) {
16917 arg6 = (int)SWIG_As_int(obj5);
16918 if (PyErr_Occurred()) SWIG_fail;
16919 }
16920 {
16921 PyThreadState* __tstate = wxPyBeginAllowThreads();
16922 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
16923
16924 wxPyEndAllowThreads(__tstate);
16925 if (PyErr_Occurred()) SWIG_fail;
16926 }
16927 Py_INCREF(Py_None); resultobj = Py_None;
16928 return resultobj;
16929 fail:
16930 return NULL;
16931 }
16932
16933
16934 static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
16935 PyObject *resultobj;
16936 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16937 int arg2 ;
16938 int arg3 ;
16939 PyObject * obj0 = 0 ;
16940 PyObject * obj1 = 0 ;
16941 PyObject * obj2 = 0 ;
16942 char *kwnames[] = {
16943 (char *) "self",(char *) "width",(char *) "height", NULL
16944 };
16945
16946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16947 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16948 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16949 arg2 = (int)SWIG_As_int(obj1);
16950 if (PyErr_Occurred()) SWIG_fail;
16951 arg3 = (int)SWIG_As_int(obj2);
16952 if (PyErr_Occurred()) SWIG_fail;
16953 {
16954 PyThreadState* __tstate = wxPyBeginAllowThreads();
16955 (arg1)->base_DoSetClientSize(arg2,arg3);
16956
16957 wxPyEndAllowThreads(__tstate);
16958 if (PyErr_Occurred()) SWIG_fail;
16959 }
16960 Py_INCREF(Py_None); resultobj = Py_None;
16961 return resultobj;
16962 fail:
16963 return NULL;
16964 }
16965
16966
16967 static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
16968 PyObject *resultobj;
16969 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16970 int arg2 ;
16971 int arg3 ;
16972 PyObject * obj0 = 0 ;
16973 PyObject * obj1 = 0 ;
16974 PyObject * obj2 = 0 ;
16975 char *kwnames[] = {
16976 (char *) "self",(char *) "x",(char *) "y", NULL
16977 };
16978
16979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16980 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16981 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16982 arg2 = (int)SWIG_As_int(obj1);
16983 if (PyErr_Occurred()) SWIG_fail;
16984 arg3 = (int)SWIG_As_int(obj2);
16985 if (PyErr_Occurred()) SWIG_fail;
16986 {
16987 PyThreadState* __tstate = wxPyBeginAllowThreads();
16988 (arg1)->base_DoSetVirtualSize(arg2,arg3);
16989
16990 wxPyEndAllowThreads(__tstate);
16991 if (PyErr_Occurred()) SWIG_fail;
16992 }
16993 Py_INCREF(Py_None); resultobj = Py_None;
16994 return resultobj;
16995 fail:
16996 return NULL;
16997 }
16998
16999
17000 static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
17001 PyObject *resultobj;
17002 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17003 int *arg2 = (int *) 0 ;
17004 int *arg3 = (int *) 0 ;
17005 int temp2 ;
17006 int res2 = 0 ;
17007 int temp3 ;
17008 int res3 = 0 ;
17009 PyObject * obj0 = 0 ;
17010 char *kwnames[] = {
17011 (char *) "self", NULL
17012 };
17013
17014 arg2 = &temp2; res2 = SWIG_NEWOBJ;
17015 arg3 = &temp3; res3 = SWIG_NEWOBJ;
17016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetSize",kwnames,&obj0)) goto fail;
17017 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17018 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17019 {
17020 PyThreadState* __tstate = wxPyBeginAllowThreads();
17021 ((wxPyPanel const *)arg1)->base_DoGetSize(arg2,arg3);
17022
17023 wxPyEndAllowThreads(__tstate);
17024 if (PyErr_Occurred()) SWIG_fail;
17025 }
17026 Py_INCREF(Py_None); resultobj = Py_None;
17027 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
17028 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
17029 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
17030 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
17031 return resultobj;
17032 fail:
17033 return NULL;
17034 }
17035
17036
17037 static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
17038 PyObject *resultobj;
17039 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17040 int *arg2 = (int *) 0 ;
17041 int *arg3 = (int *) 0 ;
17042 int temp2 ;
17043 int res2 = 0 ;
17044 int temp3 ;
17045 int res3 = 0 ;
17046 PyObject * obj0 = 0 ;
17047 char *kwnames[] = {
17048 (char *) "self", NULL
17049 };
17050
17051 arg2 = &temp2; res2 = SWIG_NEWOBJ;
17052 arg3 = &temp3; res3 = SWIG_NEWOBJ;
17053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetClientSize",kwnames,&obj0)) goto fail;
17054 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17055 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17056 {
17057 PyThreadState* __tstate = wxPyBeginAllowThreads();
17058 ((wxPyPanel const *)arg1)->base_DoGetClientSize(arg2,arg3);
17059
17060 wxPyEndAllowThreads(__tstate);
17061 if (PyErr_Occurred()) SWIG_fail;
17062 }
17063 Py_INCREF(Py_None); resultobj = Py_None;
17064 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
17065 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
17066 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
17067 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
17068 return resultobj;
17069 fail:
17070 return NULL;
17071 }
17072
17073
17074 static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
17075 PyObject *resultobj;
17076 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17077 int *arg2 = (int *) 0 ;
17078 int *arg3 = (int *) 0 ;
17079 int temp2 ;
17080 int res2 = 0 ;
17081 int temp3 ;
17082 int res3 = 0 ;
17083 PyObject * obj0 = 0 ;
17084 char *kwnames[] = {
17085 (char *) "self", NULL
17086 };
17087
17088 arg2 = &temp2; res2 = SWIG_NEWOBJ;
17089 arg3 = &temp3; res3 = SWIG_NEWOBJ;
17090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetPosition",kwnames,&obj0)) goto fail;
17091 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17092 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17093 {
17094 PyThreadState* __tstate = wxPyBeginAllowThreads();
17095 ((wxPyPanel const *)arg1)->base_DoGetPosition(arg2,arg3);
17096
17097 wxPyEndAllowThreads(__tstate);
17098 if (PyErr_Occurred()) SWIG_fail;
17099 }
17100 Py_INCREF(Py_None); resultobj = Py_None;
17101 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
17102 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
17103 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
17104 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
17105 return resultobj;
17106 fail:
17107 return NULL;
17108 }
17109
17110
17111 static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
17112 PyObject *resultobj;
17113 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17114 wxSize result;
17115 PyObject * obj0 = 0 ;
17116 char *kwnames[] = {
17117 (char *) "self", NULL
17118 };
17119
17120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
17121 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17122 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17123 {
17124 PyThreadState* __tstate = wxPyBeginAllowThreads();
17125 result = ((wxPyPanel const *)arg1)->base_DoGetVirtualSize();
17126
17127 wxPyEndAllowThreads(__tstate);
17128 if (PyErr_Occurred()) SWIG_fail;
17129 }
17130 {
17131 wxSize * resultptr;
17132 resultptr = new wxSize((wxSize &) result);
17133 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17134 }
17135 return resultobj;
17136 fail:
17137 return NULL;
17138 }
17139
17140
17141 static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
17142 PyObject *resultobj;
17143 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17144 wxSize result;
17145 PyObject * obj0 = 0 ;
17146 char *kwnames[] = {
17147 (char *) "self", NULL
17148 };
17149
17150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetBestSize",kwnames,&obj0)) goto fail;
17151 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17152 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17153 {
17154 PyThreadState* __tstate = wxPyBeginAllowThreads();
17155 result = ((wxPyPanel const *)arg1)->base_DoGetBestSize();
17156
17157 wxPyEndAllowThreads(__tstate);
17158 if (PyErr_Occurred()) SWIG_fail;
17159 }
17160 {
17161 wxSize * resultptr;
17162 resultptr = new wxSize((wxSize &) result);
17163 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17164 }
17165 return resultobj;
17166 fail:
17167 return NULL;
17168 }
17169
17170
17171 static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
17172 PyObject *resultobj;
17173 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17174 PyObject * obj0 = 0 ;
17175 char *kwnames[] = {
17176 (char *) "self", NULL
17177 };
17178
17179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_InitDialog",kwnames,&obj0)) goto fail;
17180 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17181 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17182 {
17183 PyThreadState* __tstate = wxPyBeginAllowThreads();
17184 (arg1)->base_InitDialog();
17185
17186 wxPyEndAllowThreads(__tstate);
17187 if (PyErr_Occurred()) SWIG_fail;
17188 }
17189 Py_INCREF(Py_None); resultobj = Py_None;
17190 return resultobj;
17191 fail:
17192 return NULL;
17193 }
17194
17195
17196 static PyObject *_wrap_PyPanel_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17197 PyObject *resultobj;
17198 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17199 bool result;
17200 PyObject * obj0 = 0 ;
17201 char *kwnames[] = {
17202 (char *) "self", NULL
17203 };
17204
17205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
17206 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17207 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17208 {
17209 PyThreadState* __tstate = wxPyBeginAllowThreads();
17210 result = (bool)(arg1)->base_TransferDataToWindow();
17211
17212 wxPyEndAllowThreads(__tstate);
17213 if (PyErr_Occurred()) SWIG_fail;
17214 }
17215 {
17216 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17217 }
17218 return resultobj;
17219 fail:
17220 return NULL;
17221 }
17222
17223
17224 static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17225 PyObject *resultobj;
17226 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17227 bool result;
17228 PyObject * obj0 = 0 ;
17229 char *kwnames[] = {
17230 (char *) "self", NULL
17231 };
17232
17233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
17234 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17235 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17236 {
17237 PyThreadState* __tstate = wxPyBeginAllowThreads();
17238 result = (bool)(arg1)->base_TransferDataFromWindow();
17239
17240 wxPyEndAllowThreads(__tstate);
17241 if (PyErr_Occurred()) SWIG_fail;
17242 }
17243 {
17244 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17245 }
17246 return resultobj;
17247 fail:
17248 return NULL;
17249 }
17250
17251
17252 static PyObject *_wrap_PyPanel_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
17253 PyObject *resultobj;
17254 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17255 bool result;
17256 PyObject * obj0 = 0 ;
17257 char *kwnames[] = {
17258 (char *) "self", NULL
17259 };
17260
17261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_Validate",kwnames,&obj0)) goto fail;
17262 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17263 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17264 {
17265 PyThreadState* __tstate = wxPyBeginAllowThreads();
17266 result = (bool)(arg1)->base_Validate();
17267
17268 wxPyEndAllowThreads(__tstate);
17269 if (PyErr_Occurred()) SWIG_fail;
17270 }
17271 {
17272 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17273 }
17274 return resultobj;
17275 fail:
17276 return NULL;
17277 }
17278
17279
17280 static PyObject *_wrap_PyPanel_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
17281 PyObject *resultobj;
17282 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17283 bool result;
17284 PyObject * obj0 = 0 ;
17285 char *kwnames[] = {
17286 (char *) "self", NULL
17287 };
17288
17289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocus",kwnames,&obj0)) goto fail;
17290 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17291 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17292 {
17293 PyThreadState* __tstate = wxPyBeginAllowThreads();
17294 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocus();
17295
17296 wxPyEndAllowThreads(__tstate);
17297 if (PyErr_Occurred()) SWIG_fail;
17298 }
17299 {
17300 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17301 }
17302 return resultobj;
17303 fail:
17304 return NULL;
17305 }
17306
17307
17308 static PyObject *_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
17309 PyObject *resultobj;
17310 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17311 bool result;
17312 PyObject * obj0 = 0 ;
17313 char *kwnames[] = {
17314 (char *) "self", NULL
17315 };
17316
17317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
17318 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17319 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17320 {
17321 PyThreadState* __tstate = wxPyBeginAllowThreads();
17322 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocusFromKeyboard();
17323
17324 wxPyEndAllowThreads(__tstate);
17325 if (PyErr_Occurred()) SWIG_fail;
17326 }
17327 {
17328 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17329 }
17330 return resultobj;
17331 fail:
17332 return NULL;
17333 }
17334
17335
17336 static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
17337 PyObject *resultobj;
17338 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17339 wxSize result;
17340 PyObject * obj0 = 0 ;
17341 char *kwnames[] = {
17342 (char *) "self", NULL
17343 };
17344
17345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetMaxSize",kwnames,&obj0)) goto fail;
17346 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17347 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17348 {
17349 PyThreadState* __tstate = wxPyBeginAllowThreads();
17350 result = ((wxPyPanel const *)arg1)->base_GetMaxSize();
17351
17352 wxPyEndAllowThreads(__tstate);
17353 if (PyErr_Occurred()) SWIG_fail;
17354 }
17355 {
17356 wxSize * resultptr;
17357 resultptr = new wxSize((wxSize &) result);
17358 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17359 }
17360 return resultobj;
17361 fail:
17362 return NULL;
17363 }
17364
17365
17366 static PyObject *_wrap_PyPanel_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
17367 PyObject *resultobj;
17368 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17369 wxWindow *arg2 = (wxWindow *) 0 ;
17370 PyObject * obj0 = 0 ;
17371 PyObject * obj1 = 0 ;
17372 char *kwnames[] = {
17373 (char *) "self",(char *) "child", NULL
17374 };
17375
17376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
17377 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17378 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17379 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17380 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17381 {
17382 PyThreadState* __tstate = wxPyBeginAllowThreads();
17383 (arg1)->base_AddChild(arg2);
17384
17385 wxPyEndAllowThreads(__tstate);
17386 if (PyErr_Occurred()) SWIG_fail;
17387 }
17388 Py_INCREF(Py_None); resultobj = Py_None;
17389 return resultobj;
17390 fail:
17391 return NULL;
17392 }
17393
17394
17395 static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
17396 PyObject *resultobj;
17397 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17398 wxWindow *arg2 = (wxWindow *) 0 ;
17399 PyObject * obj0 = 0 ;
17400 PyObject * obj1 = 0 ;
17401 char *kwnames[] = {
17402 (char *) "self",(char *) "child", NULL
17403 };
17404
17405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
17406 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17407 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17408 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17409 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17410 {
17411 PyThreadState* __tstate = wxPyBeginAllowThreads();
17412 (arg1)->base_RemoveChild(arg2);
17413
17414 wxPyEndAllowThreads(__tstate);
17415 if (PyErr_Occurred()) SWIG_fail;
17416 }
17417 Py_INCREF(Py_None); resultobj = Py_None;
17418 return resultobj;
17419 fail:
17420 return NULL;
17421 }
17422
17423
17424 static PyObject *_wrap_PyPanel_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
17425 PyObject *resultobj;
17426 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17427 bool result;
17428 PyObject * obj0 = 0 ;
17429 char *kwnames[] = {
17430 (char *) "self", NULL
17431 };
17432
17433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
17434 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17435 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17436 {
17437 PyThreadState* __tstate = wxPyBeginAllowThreads();
17438 result = (bool)((wxPyPanel const *)arg1)->base_ShouldInheritColours();
17439
17440 wxPyEndAllowThreads(__tstate);
17441 if (PyErr_Occurred()) SWIG_fail;
17442 }
17443 {
17444 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17445 }
17446 return resultobj;
17447 fail:
17448 return NULL;
17449 }
17450
17451
17452 static PyObject *_wrap_PyPanel_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) {
17453 PyObject *resultobj;
17454 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17455 wxColour *arg2 = 0 ;
17456 wxColour temp2 ;
17457 PyObject * obj0 = 0 ;
17458 PyObject * obj1 = 0 ;
17459 char *kwnames[] = {
17460 (char *) "self",(char *) "c", NULL
17461 };
17462
17463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
17464 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17465 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17466 {
17467 arg2 = &temp2;
17468 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17469 }
17470 {
17471 PyThreadState* __tstate = wxPyBeginAllowThreads();
17472 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
17473
17474 wxPyEndAllowThreads(__tstate);
17475 if (PyErr_Occurred()) SWIG_fail;
17476 }
17477 Py_INCREF(Py_None); resultobj = Py_None;
17478 return resultobj;
17479 fail:
17480 return NULL;
17481 }
17482
17483
17484 static PyObject *_wrap_PyPanel_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
17485 PyObject *resultobj;
17486 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17487 wxVisualAttributes result;
17488 PyObject * obj0 = 0 ;
17489 char *kwnames[] = {
17490 (char *) "self", NULL
17491 };
17492
17493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
17494 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17495 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17496 {
17497 PyThreadState* __tstate = wxPyBeginAllowThreads();
17498 result = (arg1)->base_GetDefaultAttributes();
17499
17500 wxPyEndAllowThreads(__tstate);
17501 if (PyErr_Occurred()) SWIG_fail;
17502 }
17503 {
17504 wxVisualAttributes * resultptr;
17505 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
17506 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
17507 }
17508 return resultobj;
17509 fail:
17510 return NULL;
17511 }
17512
17513
17514 static PyObject * PyPanel_swigregister(PyObject *, PyObject *args) {
17515 PyObject *obj;
17516 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17517 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj);
17518 Py_INCREF(obj);
17519 return Py_BuildValue((char *)"");
17520 }
17521 static PyObject *_wrap_new_PyScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17522 PyObject *resultobj;
17523 wxWindow *arg1 = (wxWindow *) 0 ;
17524 int arg2 = (int) (int)-1 ;
17525 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17526 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17527 wxSize const &arg4_defvalue = wxDefaultSize ;
17528 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17529 long arg5 = (long) 0 ;
17530 wxString const &arg6_defvalue = wxPyPanelNameStr ;
17531 wxString *arg6 = (wxString *) &arg6_defvalue ;
17532 wxPyScrolledWindow *result;
17533 wxPoint temp3 ;
17534 wxSize temp4 ;
17535 bool temp6 = false ;
17536 PyObject * obj0 = 0 ;
17537 PyObject * obj1 = 0 ;
17538 PyObject * obj2 = 0 ;
17539 PyObject * obj3 = 0 ;
17540 PyObject * obj4 = 0 ;
17541 PyObject * obj5 = 0 ;
17542 char *kwnames[] = {
17543 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17544 };
17545
17546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17547 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
17548 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17549 if (obj1) {
17550 arg2 = (int)SWIG_As_int(obj1);
17551 if (PyErr_Occurred()) SWIG_fail;
17552 }
17553 if (obj2) {
17554 {
17555 arg3 = &temp3;
17556 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17557 }
17558 }
17559 if (obj3) {
17560 {
17561 arg4 = &temp4;
17562 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17563 }
17564 }
17565 if (obj4) {
17566 arg5 = (long)SWIG_As_long(obj4);
17567 if (PyErr_Occurred()) SWIG_fail;
17568 }
17569 if (obj5) {
17570 {
17571 arg6 = wxString_in_helper(obj5);
17572 if (arg6 == NULL) SWIG_fail;
17573 temp6 = true;
17574 }
17575 }
17576 {
17577 if (!wxPyCheckForApp()) SWIG_fail;
17578 PyThreadState* __tstate = wxPyBeginAllowThreads();
17579 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17580
17581 wxPyEndAllowThreads(__tstate);
17582 if (PyErr_Occurred()) SWIG_fail;
17583 }
17584 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
17585 {
17586 if (temp6)
17587 delete arg6;
17588 }
17589 return resultobj;
17590 fail:
17591 {
17592 if (temp6)
17593 delete arg6;
17594 }
17595 return NULL;
17596 }
17597
17598
17599 static PyObject *_wrap_new_PrePyScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17600 PyObject *resultobj;
17601 wxPyScrolledWindow *result;
17602 char *kwnames[] = {
17603 NULL
17604 };
17605
17606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyScrolledWindow",kwnames)) goto fail;
17607 {
17608 if (!wxPyCheckForApp()) SWIG_fail;
17609 PyThreadState* __tstate = wxPyBeginAllowThreads();
17610 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
17611
17612 wxPyEndAllowThreads(__tstate);
17613 if (PyErr_Occurred()) SWIG_fail;
17614 }
17615 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
17616 return resultobj;
17617 fail:
17618 return NULL;
17619 }
17620
17621
17622 static PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
17623 PyObject *resultobj;
17624 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17625 PyObject *arg2 = (PyObject *) 0 ;
17626 PyObject *arg3 = (PyObject *) 0 ;
17627 PyObject * obj0 = 0 ;
17628 PyObject * obj1 = 0 ;
17629 PyObject * obj2 = 0 ;
17630 char *kwnames[] = {
17631 (char *) "self",(char *) "self",(char *) "_class", NULL
17632 };
17633
17634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
17635 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17636 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17637 arg2 = obj1;
17638 arg3 = obj2;
17639 {
17640 PyThreadState* __tstate = wxPyBeginAllowThreads();
17641 (arg1)->_setCallbackInfo(arg2,arg3);
17642
17643 wxPyEndAllowThreads(__tstate);
17644 if (PyErr_Occurred()) SWIG_fail;
17645 }
17646 Py_INCREF(Py_None); resultobj = Py_None;
17647 return resultobj;
17648 fail:
17649 return NULL;
17650 }
17651
17652
17653 static PyObject *_wrap_PyScrolledWindow_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
17654 PyObject *resultobj;
17655 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17656 wxSize *arg2 = 0 ;
17657 wxSize temp2 ;
17658 PyObject * obj0 = 0 ;
17659 PyObject * obj1 = 0 ;
17660 char *kwnames[] = {
17661 (char *) "self",(char *) "size", NULL
17662 };
17663
17664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
17665 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17666 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17667 {
17668 arg2 = &temp2;
17669 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17670 }
17671 {
17672 PyThreadState* __tstate = wxPyBeginAllowThreads();
17673 (arg1)->SetBestSize((wxSize const &)*arg2);
17674
17675 wxPyEndAllowThreads(__tstate);
17676 if (PyErr_Occurred()) SWIG_fail;
17677 }
17678 Py_INCREF(Py_None); resultobj = Py_None;
17679 return resultobj;
17680 fail:
17681 return NULL;
17682 }
17683
17684
17685 static PyObject *_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17686 PyObject *resultobj;
17687 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17688 int arg2 ;
17689 int arg3 ;
17690 int arg4 ;
17691 int arg5 ;
17692 PyObject * obj0 = 0 ;
17693 PyObject * obj1 = 0 ;
17694 PyObject * obj2 = 0 ;
17695 PyObject * obj3 = 0 ;
17696 PyObject * obj4 = 0 ;
17697 char *kwnames[] = {
17698 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
17699 };
17700
17701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
17702 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17703 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17704 arg2 = (int)SWIG_As_int(obj1);
17705 if (PyErr_Occurred()) SWIG_fail;
17706 arg3 = (int)SWIG_As_int(obj2);
17707 if (PyErr_Occurred()) SWIG_fail;
17708 arg4 = (int)SWIG_As_int(obj3);
17709 if (PyErr_Occurred()) SWIG_fail;
17710 arg5 = (int)SWIG_As_int(obj4);
17711 if (PyErr_Occurred()) SWIG_fail;
17712 {
17713 PyThreadState* __tstate = wxPyBeginAllowThreads();
17714 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
17715
17716 wxPyEndAllowThreads(__tstate);
17717 if (PyErr_Occurred()) SWIG_fail;
17718 }
17719 Py_INCREF(Py_None); resultobj = Py_None;
17720 return resultobj;
17721 fail:
17722 return NULL;
17723 }
17724
17725
17726 static PyObject *_wrap_PyScrolledWindow_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
17727 PyObject *resultobj;
17728 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17729 int arg2 ;
17730 int arg3 ;
17731 int arg4 ;
17732 int arg5 ;
17733 int arg6 = (int) wxSIZE_AUTO ;
17734 PyObject * obj0 = 0 ;
17735 PyObject * obj1 = 0 ;
17736 PyObject * obj2 = 0 ;
17737 PyObject * obj3 = 0 ;
17738 PyObject * obj4 = 0 ;
17739 PyObject * obj5 = 0 ;
17740 char *kwnames[] = {
17741 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
17742 };
17743
17744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17745 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17746 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17747 arg2 = (int)SWIG_As_int(obj1);
17748 if (PyErr_Occurred()) SWIG_fail;
17749 arg3 = (int)SWIG_As_int(obj2);
17750 if (PyErr_Occurred()) SWIG_fail;
17751 arg4 = (int)SWIG_As_int(obj3);
17752 if (PyErr_Occurred()) SWIG_fail;
17753 arg5 = (int)SWIG_As_int(obj4);
17754 if (PyErr_Occurred()) SWIG_fail;
17755 if (obj5) {
17756 arg6 = (int)SWIG_As_int(obj5);
17757 if (PyErr_Occurred()) SWIG_fail;
17758 }
17759 {
17760 PyThreadState* __tstate = wxPyBeginAllowThreads();
17761 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
17762
17763 wxPyEndAllowThreads(__tstate);
17764 if (PyErr_Occurred()) SWIG_fail;
17765 }
17766 Py_INCREF(Py_None); resultobj = Py_None;
17767 return resultobj;
17768 fail:
17769 return NULL;
17770 }
17771
17772
17773 static PyObject *_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
17774 PyObject *resultobj;
17775 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17776 int arg2 ;
17777 int arg3 ;
17778 PyObject * obj0 = 0 ;
17779 PyObject * obj1 = 0 ;
17780 PyObject * obj2 = 0 ;
17781 char *kwnames[] = {
17782 (char *) "self",(char *) "width",(char *) "height", NULL
17783 };
17784
17785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
17786 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17787 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17788 arg2 = (int)SWIG_As_int(obj1);
17789 if (PyErr_Occurred()) SWIG_fail;
17790 arg3 = (int)SWIG_As_int(obj2);
17791 if (PyErr_Occurred()) SWIG_fail;
17792 {
17793 PyThreadState* __tstate = wxPyBeginAllowThreads();
17794 (arg1)->base_DoSetClientSize(arg2,arg3);
17795
17796 wxPyEndAllowThreads(__tstate);
17797 if (PyErr_Occurred()) SWIG_fail;
17798 }
17799 Py_INCREF(Py_None); resultobj = Py_None;
17800 return resultobj;
17801 fail:
17802 return NULL;
17803 }
17804
17805
17806 static PyObject *_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
17807 PyObject *resultobj;
17808 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17809 int arg2 ;
17810 int arg3 ;
17811 PyObject * obj0 = 0 ;
17812 PyObject * obj1 = 0 ;
17813 PyObject * obj2 = 0 ;
17814 char *kwnames[] = {
17815 (char *) "self",(char *) "x",(char *) "y", NULL
17816 };
17817
17818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
17819 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17820 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17821 arg2 = (int)SWIG_As_int(obj1);
17822 if (PyErr_Occurred()) SWIG_fail;
17823 arg3 = (int)SWIG_As_int(obj2);
17824 if (PyErr_Occurred()) SWIG_fail;
17825 {
17826 PyThreadState* __tstate = wxPyBeginAllowThreads();
17827 (arg1)->base_DoSetVirtualSize(arg2,arg3);
17828
17829 wxPyEndAllowThreads(__tstate);
17830 if (PyErr_Occurred()) SWIG_fail;
17831 }
17832 Py_INCREF(Py_None); resultobj = Py_None;
17833 return resultobj;
17834 fail:
17835 return NULL;
17836 }
17837
17838
17839 static PyObject *_wrap_PyScrolledWindow_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
17840 PyObject *resultobj;
17841 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17842 int *arg2 = (int *) 0 ;
17843 int *arg3 = (int *) 0 ;
17844 int temp2 ;
17845 int res2 = 0 ;
17846 int temp3 ;
17847 int res3 = 0 ;
17848 PyObject * obj0 = 0 ;
17849 char *kwnames[] = {
17850 (char *) "self", NULL
17851 };
17852
17853 arg2 = &temp2; res2 = SWIG_NEWOBJ;
17854 arg3 = &temp3; res3 = SWIG_NEWOBJ;
17855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
17856 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17857 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17858 {
17859 PyThreadState* __tstate = wxPyBeginAllowThreads();
17860 ((wxPyScrolledWindow const *)arg1)->base_DoGetSize(arg2,arg3);
17861
17862 wxPyEndAllowThreads(__tstate);
17863 if (PyErr_Occurred()) SWIG_fail;
17864 }
17865 Py_INCREF(Py_None); resultobj = Py_None;
17866 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
17867 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
17868 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
17869 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
17870 return resultobj;
17871 fail:
17872 return NULL;
17873 }
17874
17875
17876 static PyObject *_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
17877 PyObject *resultobj;
17878 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17879 int *arg2 = (int *) 0 ;
17880 int *arg3 = (int *) 0 ;
17881 int temp2 ;
17882 int res2 = 0 ;
17883 int temp3 ;
17884 int res3 = 0 ;
17885 PyObject * obj0 = 0 ;
17886 char *kwnames[] = {
17887 (char *) "self", NULL
17888 };
17889
17890 arg2 = &temp2; res2 = SWIG_NEWOBJ;
17891 arg3 = &temp3; res3 = SWIG_NEWOBJ;
17892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
17893 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17894 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17895 {
17896 PyThreadState* __tstate = wxPyBeginAllowThreads();
17897 ((wxPyScrolledWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
17898
17899 wxPyEndAllowThreads(__tstate);
17900 if (PyErr_Occurred()) SWIG_fail;
17901 }
17902 Py_INCREF(Py_None); resultobj = Py_None;
17903 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
17904 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
17905 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
17906 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
17907 return resultobj;
17908 fail:
17909 return NULL;
17910 }
17911
17912
17913 static PyObject *_wrap_PyScrolledWindow_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
17914 PyObject *resultobj;
17915 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17916 int *arg2 = (int *) 0 ;
17917 int *arg3 = (int *) 0 ;
17918 int temp2 ;
17919 int res2 = 0 ;
17920 int temp3 ;
17921 int res3 = 0 ;
17922 PyObject * obj0 = 0 ;
17923 char *kwnames[] = {
17924 (char *) "self", NULL
17925 };
17926
17927 arg2 = &temp2; res2 = SWIG_NEWOBJ;
17928 arg3 = &temp3; res3 = SWIG_NEWOBJ;
17929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
17930 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17931 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17932 {
17933 PyThreadState* __tstate = wxPyBeginAllowThreads();
17934 ((wxPyScrolledWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
17935
17936 wxPyEndAllowThreads(__tstate);
17937 if (PyErr_Occurred()) SWIG_fail;
17938 }
17939 Py_INCREF(Py_None); resultobj = Py_None;
17940 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
17941 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
17942 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
17943 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
17944 return resultobj;
17945 fail:
17946 return NULL;
17947 }
17948
17949
17950 static PyObject *_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
17951 PyObject *resultobj;
17952 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17953 wxSize result;
17954 PyObject * obj0 = 0 ;
17955 char *kwnames[] = {
17956 (char *) "self", NULL
17957 };
17958
17959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
17960 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17961 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17962 {
17963 PyThreadState* __tstate = wxPyBeginAllowThreads();
17964 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetVirtualSize();
17965
17966 wxPyEndAllowThreads(__tstate);
17967 if (PyErr_Occurred()) SWIG_fail;
17968 }
17969 {
17970 wxSize * resultptr;
17971 resultptr = new wxSize((wxSize &) result);
17972 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17973 }
17974 return resultobj;
17975 fail:
17976 return NULL;
17977 }
17978
17979
17980 static PyObject *_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
17981 PyObject *resultobj;
17982 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17983 wxSize result;
17984 PyObject * obj0 = 0 ;
17985 char *kwnames[] = {
17986 (char *) "self", NULL
17987 };
17988
17989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
17990 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17991 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17992 {
17993 PyThreadState* __tstate = wxPyBeginAllowThreads();
17994 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetBestSize();
17995
17996 wxPyEndAllowThreads(__tstate);
17997 if (PyErr_Occurred()) SWIG_fail;
17998 }
17999 {
18000 wxSize * resultptr;
18001 resultptr = new wxSize((wxSize &) result);
18002 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18003 }
18004 return resultobj;
18005 fail:
18006 return NULL;
18007 }
18008
18009
18010 static PyObject *_wrap_PyScrolledWindow_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
18011 PyObject *resultobj;
18012 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18013 PyObject * obj0 = 0 ;
18014 char *kwnames[] = {
18015 (char *) "self", NULL
18016 };
18017
18018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames,&obj0)) goto fail;
18019 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18020 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18021 {
18022 PyThreadState* __tstate = wxPyBeginAllowThreads();
18023 (arg1)->base_InitDialog();
18024
18025 wxPyEndAllowThreads(__tstate);
18026 if (PyErr_Occurred()) SWIG_fail;
18027 }
18028 Py_INCREF(Py_None); resultobj = Py_None;
18029 return resultobj;
18030 fail:
18031 return NULL;
18032 }
18033
18034
18035 static PyObject *_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
18036 PyObject *resultobj;
18037 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18038 bool result;
18039 PyObject * obj0 = 0 ;
18040 char *kwnames[] = {
18041 (char *) "self", NULL
18042 };
18043
18044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
18045 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18046 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18047 {
18048 PyThreadState* __tstate = wxPyBeginAllowThreads();
18049 result = (bool)(arg1)->base_TransferDataToWindow();
18050
18051 wxPyEndAllowThreads(__tstate);
18052 if (PyErr_Occurred()) SWIG_fail;
18053 }
18054 {
18055 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18056 }
18057 return resultobj;
18058 fail:
18059 return NULL;
18060 }
18061
18062
18063 static PyObject *_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
18064 PyObject *resultobj;
18065 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18066 bool result;
18067 PyObject * obj0 = 0 ;
18068 char *kwnames[] = {
18069 (char *) "self", NULL
18070 };
18071
18072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
18073 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18074 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18075 {
18076 PyThreadState* __tstate = wxPyBeginAllowThreads();
18077 result = (bool)(arg1)->base_TransferDataFromWindow();
18078
18079 wxPyEndAllowThreads(__tstate);
18080 if (PyErr_Occurred()) SWIG_fail;
18081 }
18082 {
18083 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18084 }
18085 return resultobj;
18086 fail:
18087 return NULL;
18088 }
18089
18090
18091 static PyObject *_wrap_PyScrolledWindow_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
18092 PyObject *resultobj;
18093 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18094 bool result;
18095 PyObject * obj0 = 0 ;
18096 char *kwnames[] = {
18097 (char *) "self", NULL
18098 };
18099
18100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_Validate",kwnames,&obj0)) goto fail;
18101 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18102 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18103 {
18104 PyThreadState* __tstate = wxPyBeginAllowThreads();
18105 result = (bool)(arg1)->base_Validate();
18106
18107 wxPyEndAllowThreads(__tstate);
18108 if (PyErr_Occurred()) SWIG_fail;
18109 }
18110 {
18111 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18112 }
18113 return resultobj;
18114 fail:
18115 return NULL;
18116 }
18117
18118
18119 static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
18120 PyObject *resultobj;
18121 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18122 bool result;
18123 PyObject * obj0 = 0 ;
18124 char *kwnames[] = {
18125 (char *) "self", NULL
18126 };
18127
18128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
18129 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18130 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18131 {
18132 PyThreadState* __tstate = wxPyBeginAllowThreads();
18133 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocus();
18134
18135 wxPyEndAllowThreads(__tstate);
18136 if (PyErr_Occurred()) SWIG_fail;
18137 }
18138 {
18139 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18140 }
18141 return resultobj;
18142 fail:
18143 return NULL;
18144 }
18145
18146
18147 static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
18148 PyObject *resultobj;
18149 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18150 bool result;
18151 PyObject * obj0 = 0 ;
18152 char *kwnames[] = {
18153 (char *) "self", NULL
18154 };
18155
18156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
18157 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18158 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18159 {
18160 PyThreadState* __tstate = wxPyBeginAllowThreads();
18161 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
18162
18163 wxPyEndAllowThreads(__tstate);
18164 if (PyErr_Occurred()) SWIG_fail;
18165 }
18166 {
18167 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18168 }
18169 return resultobj;
18170 fail:
18171 return NULL;
18172 }
18173
18174
18175 static PyObject *_wrap_PyScrolledWindow_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
18176 PyObject *resultobj;
18177 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18178 wxSize result;
18179 PyObject * obj0 = 0 ;
18180 char *kwnames[] = {
18181 (char *) "self", NULL
18182 };
18183
18184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
18185 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18186 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18187 {
18188 PyThreadState* __tstate = wxPyBeginAllowThreads();
18189 result = ((wxPyScrolledWindow const *)arg1)->base_GetMaxSize();
18190
18191 wxPyEndAllowThreads(__tstate);
18192 if (PyErr_Occurred()) SWIG_fail;
18193 }
18194 {
18195 wxSize * resultptr;
18196 resultptr = new wxSize((wxSize &) result);
18197 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18198 }
18199 return resultobj;
18200 fail:
18201 return NULL;
18202 }
18203
18204
18205 static PyObject *_wrap_PyScrolledWindow_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
18206 PyObject *resultobj;
18207 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18208 wxWindow *arg2 = (wxWindow *) 0 ;
18209 PyObject * obj0 = 0 ;
18210 PyObject * obj1 = 0 ;
18211 char *kwnames[] = {
18212 (char *) "self",(char *) "child", NULL
18213 };
18214
18215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
18216 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18217 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18218 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
18219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18220 {
18221 PyThreadState* __tstate = wxPyBeginAllowThreads();
18222 (arg1)->base_AddChild(arg2);
18223
18224 wxPyEndAllowThreads(__tstate);
18225 if (PyErr_Occurred()) SWIG_fail;
18226 }
18227 Py_INCREF(Py_None); resultobj = Py_None;
18228 return resultobj;
18229 fail:
18230 return NULL;
18231 }
18232
18233
18234 static PyObject *_wrap_PyScrolledWindow_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
18235 PyObject *resultobj;
18236 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18237 wxWindow *arg2 = (wxWindow *) 0 ;
18238 PyObject * obj0 = 0 ;
18239 PyObject * obj1 = 0 ;
18240 char *kwnames[] = {
18241 (char *) "self",(char *) "child", NULL
18242 };
18243
18244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
18245 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18246 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18247 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
18248 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18249 {
18250 PyThreadState* __tstate = wxPyBeginAllowThreads();
18251 (arg1)->base_RemoveChild(arg2);
18252
18253 wxPyEndAllowThreads(__tstate);
18254 if (PyErr_Occurred()) SWIG_fail;
18255 }
18256 Py_INCREF(Py_None); resultobj = Py_None;
18257 return resultobj;
18258 fail:
18259 return NULL;
18260 }
18261
18262
18263 static PyObject *_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
18264 PyObject *resultobj;
18265 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18266 bool result;
18267 PyObject * obj0 = 0 ;
18268 char *kwnames[] = {
18269 (char *) "self", NULL
18270 };
18271
18272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
18273 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18274 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18275 {
18276 PyThreadState* __tstate = wxPyBeginAllowThreads();
18277 result = (bool)((wxPyScrolledWindow const *)arg1)->base_ShouldInheritColours();
18278
18279 wxPyEndAllowThreads(__tstate);
18280 if (PyErr_Occurred()) SWIG_fail;
18281 }
18282 {
18283 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18284 }
18285 return resultobj;
18286 fail:
18287 return NULL;
18288 }
18289
18290
18291 static PyObject *_wrap_PyScrolledWindow_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) {
18292 PyObject *resultobj;
18293 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18294 wxColour *arg2 = 0 ;
18295 wxColour temp2 ;
18296 PyObject * obj0 = 0 ;
18297 PyObject * obj1 = 0 ;
18298 char *kwnames[] = {
18299 (char *) "self",(char *) "c", NULL
18300 };
18301
18302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
18303 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18304 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18305 {
18306 arg2 = &temp2;
18307 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18308 }
18309 {
18310 PyThreadState* __tstate = wxPyBeginAllowThreads();
18311 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
18312
18313 wxPyEndAllowThreads(__tstate);
18314 if (PyErr_Occurred()) SWIG_fail;
18315 }
18316 Py_INCREF(Py_None); resultobj = Py_None;
18317 return resultobj;
18318 fail:
18319 return NULL;
18320 }
18321
18322
18323 static PyObject *_wrap_PyScrolledWindow_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
18324 PyObject *resultobj;
18325 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18326 wxVisualAttributes result;
18327 PyObject * obj0 = 0 ;
18328 char *kwnames[] = {
18329 (char *) "self", NULL
18330 };
18331
18332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
18333 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18334 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18335 {
18336 PyThreadState* __tstate = wxPyBeginAllowThreads();
18337 result = (arg1)->base_GetDefaultAttributes();
18338
18339 wxPyEndAllowThreads(__tstate);
18340 if (PyErr_Occurred()) SWIG_fail;
18341 }
18342 {
18343 wxVisualAttributes * resultptr;
18344 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
18345 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
18346 }
18347 return resultobj;
18348 fail:
18349 return NULL;
18350 }
18351
18352
18353 static PyObject * PyScrolledWindow_swigregister(PyObject *, PyObject *args) {
18354 PyObject *obj;
18355 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18356 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow, obj);
18357 Py_INCREF(obj);
18358 return Py_BuildValue((char *)"");
18359 }
18360 static int _wrap_PrintoutTitleStr_set(PyObject *) {
18361 PyErr_SetString(PyExc_TypeError,"Variable PrintoutTitleStr is read-only.");
18362 return 1;
18363 }
18364
18365
18366 static PyObject *_wrap_PrintoutTitleStr_get() {
18367 PyObject *pyobj;
18368
18369 {
18370 #if wxUSE_UNICODE
18371 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
18372 #else
18373 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
18374 #endif
18375 }
18376 return pyobj;
18377 }
18378
18379
18380 static int _wrap_PreviewCanvasNameStr_set(PyObject *) {
18381 PyErr_SetString(PyExc_TypeError,"Variable PreviewCanvasNameStr is read-only.");
18382 return 1;
18383 }
18384
18385
18386 static PyObject *_wrap_PreviewCanvasNameStr_get() {
18387 PyObject *pyobj;
18388
18389 {
18390 #if wxUSE_UNICODE
18391 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
18392 #else
18393 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
18394 #endif
18395 }
18396 return pyobj;
18397 }
18398
18399
18400 static PyObject *_wrap_new_PrintData__SWIG_0(PyObject *, PyObject *args) {
18401 PyObject *resultobj;
18402 wxPrintData *result;
18403
18404 if(!PyArg_ParseTuple(args,(char *)":new_PrintData")) goto fail;
18405 {
18406 PyThreadState* __tstate = wxPyBeginAllowThreads();
18407 result = (wxPrintData *)new wxPrintData();
18408
18409 wxPyEndAllowThreads(__tstate);
18410 if (PyErr_Occurred()) SWIG_fail;
18411 }
18412 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
18413 return resultobj;
18414 fail:
18415 return NULL;
18416 }
18417
18418
18419 static PyObject *_wrap_new_PrintData__SWIG_1(PyObject *, PyObject *args) {
18420 PyObject *resultobj;
18421 wxPrintData *arg1 = 0 ;
18422 wxPrintData *result;
18423 PyObject * obj0 = 0 ;
18424
18425 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintData",&obj0)) goto fail;
18426 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18427 SWIG_POINTER_EXCEPTION | 0)) == -1)
18428 SWIG_fail;
18429 if (arg1 == NULL) {
18430 PyErr_SetString(PyExc_TypeError,"null reference");
18431 SWIG_fail;
18432 }
18433 {
18434 PyThreadState* __tstate = wxPyBeginAllowThreads();
18435 result = (wxPrintData *)new wxPrintData((wxPrintData const &)*arg1);
18436
18437 wxPyEndAllowThreads(__tstate);
18438 if (PyErr_Occurred()) SWIG_fail;
18439 }
18440 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
18441 return resultobj;
18442 fail:
18443 return NULL;
18444 }
18445
18446
18447 static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args) {
18448 int argc;
18449 PyObject *argv[2];
18450 int ii;
18451
18452 argc = PyObject_Length(args);
18453 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
18454 argv[ii] = PyTuple_GetItem(args,ii);
18455 }
18456 if (argc == 0) {
18457 return _wrap_new_PrintData__SWIG_0(self,args);
18458 }
18459 if (argc == 1) {
18460 int _v;
18461 {
18462 void *ptr;
18463 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
18464 _v = 0;
18465 PyErr_Clear();
18466 } else {
18467 _v = 1;
18468 }
18469 }
18470 if (_v) {
18471 return _wrap_new_PrintData__SWIG_1(self,args);
18472 }
18473 }
18474
18475 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintData'");
18476 return NULL;
18477 }
18478
18479
18480 static PyObject *_wrap_delete_PrintData(PyObject *, PyObject *args, PyObject *kwargs) {
18481 PyObject *resultobj;
18482 wxPrintData *arg1 = (wxPrintData *) 0 ;
18483 PyObject * obj0 = 0 ;
18484 char *kwnames[] = {
18485 (char *) "self", NULL
18486 };
18487
18488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail;
18489 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18490 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18491 {
18492 PyThreadState* __tstate = wxPyBeginAllowThreads();
18493 delete arg1;
18494
18495 wxPyEndAllowThreads(__tstate);
18496 if (PyErr_Occurred()) SWIG_fail;
18497 }
18498 Py_INCREF(Py_None); resultobj = Py_None;
18499 return resultobj;
18500 fail:
18501 return NULL;
18502 }
18503
18504
18505 static PyObject *_wrap_PrintData_GetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
18506 PyObject *resultobj;
18507 wxPrintData *arg1 = (wxPrintData *) 0 ;
18508 int result;
18509 PyObject * obj0 = 0 ;
18510 char *kwnames[] = {
18511 (char *) "self", NULL
18512 };
18513
18514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail;
18515 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18516 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18517 {
18518 PyThreadState* __tstate = wxPyBeginAllowThreads();
18519 result = (int)(arg1)->GetNoCopies();
18520
18521 wxPyEndAllowThreads(__tstate);
18522 if (PyErr_Occurred()) SWIG_fail;
18523 }
18524 resultobj = SWIG_From_int((int)result);
18525 return resultobj;
18526 fail:
18527 return NULL;
18528 }
18529
18530
18531 static PyObject *_wrap_PrintData_GetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
18532 PyObject *resultobj;
18533 wxPrintData *arg1 = (wxPrintData *) 0 ;
18534 bool result;
18535 PyObject * obj0 = 0 ;
18536 char *kwnames[] = {
18537 (char *) "self", NULL
18538 };
18539
18540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail;
18541 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18542 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18543 {
18544 PyThreadState* __tstate = wxPyBeginAllowThreads();
18545 result = (bool)(arg1)->GetCollate();
18546
18547 wxPyEndAllowThreads(__tstate);
18548 if (PyErr_Occurred()) SWIG_fail;
18549 }
18550 {
18551 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18552 }
18553 return resultobj;
18554 fail:
18555 return NULL;
18556 }
18557
18558
18559 static PyObject *_wrap_PrintData_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
18560 PyObject *resultobj;
18561 wxPrintData *arg1 = (wxPrintData *) 0 ;
18562 int result;
18563 PyObject * obj0 = 0 ;
18564 char *kwnames[] = {
18565 (char *) "self", NULL
18566 };
18567
18568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",kwnames,&obj0)) goto fail;
18569 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18570 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18571 {
18572 PyThreadState* __tstate = wxPyBeginAllowThreads();
18573 result = (int)(arg1)->GetOrientation();
18574
18575 wxPyEndAllowThreads(__tstate);
18576 if (PyErr_Occurred()) SWIG_fail;
18577 }
18578 resultobj = SWIG_From_int((int)result);
18579 return resultobj;
18580 fail:
18581 return NULL;
18582 }
18583
18584
18585 static PyObject *_wrap_PrintData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
18586 PyObject *resultobj;
18587 wxPrintData *arg1 = (wxPrintData *) 0 ;
18588 bool result;
18589 PyObject * obj0 = 0 ;
18590 char *kwnames[] = {
18591 (char *) "self", NULL
18592 };
18593
18594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail;
18595 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18596 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18597 {
18598 PyThreadState* __tstate = wxPyBeginAllowThreads();
18599 result = (bool)(arg1)->Ok();
18600
18601 wxPyEndAllowThreads(__tstate);
18602 if (PyErr_Occurred()) SWIG_fail;
18603 }
18604 {
18605 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18606 }
18607 return resultobj;
18608 fail:
18609 return NULL;
18610 }
18611
18612
18613 static PyObject *_wrap_PrintData_GetPrinterName(PyObject *, PyObject *args, PyObject *kwargs) {
18614 PyObject *resultobj;
18615 wxPrintData *arg1 = (wxPrintData *) 0 ;
18616 wxString *result;
18617 PyObject * obj0 = 0 ;
18618 char *kwnames[] = {
18619 (char *) "self", NULL
18620 };
18621
18622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",kwnames,&obj0)) goto fail;
18623 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18624 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18625 {
18626 PyThreadState* __tstate = wxPyBeginAllowThreads();
18627 {
18628 wxString const &_result_ref = (arg1)->GetPrinterName();
18629 result = (wxString *) &_result_ref;
18630 }
18631
18632 wxPyEndAllowThreads(__tstate);
18633 if (PyErr_Occurred()) SWIG_fail;
18634 }
18635 {
18636 #if wxUSE_UNICODE
18637 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18638 #else
18639 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18640 #endif
18641 }
18642 return resultobj;
18643 fail:
18644 return NULL;
18645 }
18646
18647
18648 static PyObject *_wrap_PrintData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
18649 PyObject *resultobj;
18650 wxPrintData *arg1 = (wxPrintData *) 0 ;
18651 bool result;
18652 PyObject * obj0 = 0 ;
18653 char *kwnames[] = {
18654 (char *) "self", NULL
18655 };
18656
18657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail;
18658 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18659 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18660 {
18661 PyThreadState* __tstate = wxPyBeginAllowThreads();
18662 result = (bool)(arg1)->GetColour();
18663
18664 wxPyEndAllowThreads(__tstate);
18665 if (PyErr_Occurred()) SWIG_fail;
18666 }
18667 {
18668 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18669 }
18670 return resultobj;
18671 fail:
18672 return NULL;
18673 }
18674
18675
18676 static PyObject *_wrap_PrintData_GetDuplex(PyObject *, PyObject *args, PyObject *kwargs) {
18677 PyObject *resultobj;
18678 wxPrintData *arg1 = (wxPrintData *) 0 ;
18679 int result;
18680 PyObject * obj0 = 0 ;
18681 char *kwnames[] = {
18682 (char *) "self", NULL
18683 };
18684
18685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail;
18686 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18687 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18688 {
18689 PyThreadState* __tstate = wxPyBeginAllowThreads();
18690 result = (int)(arg1)->GetDuplex();
18691
18692 wxPyEndAllowThreads(__tstate);
18693 if (PyErr_Occurred()) SWIG_fail;
18694 }
18695 resultobj = SWIG_From_int((int)result);
18696 return resultobj;
18697 fail:
18698 return NULL;
18699 }
18700
18701
18702 static PyObject *_wrap_PrintData_GetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
18703 PyObject *resultobj;
18704 wxPrintData *arg1 = (wxPrintData *) 0 ;
18705 int result;
18706 PyObject * obj0 = 0 ;
18707 char *kwnames[] = {
18708 (char *) "self", NULL
18709 };
18710
18711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail;
18712 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18713 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18714 {
18715 PyThreadState* __tstate = wxPyBeginAllowThreads();
18716 result = (int)(arg1)->GetPaperId();
18717
18718 wxPyEndAllowThreads(__tstate);
18719 if (PyErr_Occurred()) SWIG_fail;
18720 }
18721 resultobj = SWIG_From_int((int)result);
18722 return resultobj;
18723 fail:
18724 return NULL;
18725 }
18726
18727
18728 static PyObject *_wrap_PrintData_GetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
18729 PyObject *resultobj;
18730 wxPrintData *arg1 = (wxPrintData *) 0 ;
18731 wxSize *result;
18732 PyObject * obj0 = 0 ;
18733 char *kwnames[] = {
18734 (char *) "self", NULL
18735 };
18736
18737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail;
18738 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18739 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18740 {
18741 PyThreadState* __tstate = wxPyBeginAllowThreads();
18742 {
18743 wxSize const &_result_ref = (arg1)->GetPaperSize();
18744 result = (wxSize *) &_result_ref;
18745 }
18746
18747 wxPyEndAllowThreads(__tstate);
18748 if (PyErr_Occurred()) SWIG_fail;
18749 }
18750 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0);
18751 return resultobj;
18752 fail:
18753 return NULL;
18754 }
18755
18756
18757 static PyObject *_wrap_PrintData_GetQuality(PyObject *, PyObject *args, PyObject *kwargs) {
18758 PyObject *resultobj;
18759 wxPrintData *arg1 = (wxPrintData *) 0 ;
18760 int result;
18761 PyObject * obj0 = 0 ;
18762 char *kwnames[] = {
18763 (char *) "self", NULL
18764 };
18765
18766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail;
18767 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18768 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18769 {
18770 PyThreadState* __tstate = wxPyBeginAllowThreads();
18771 result = (int)(arg1)->GetQuality();
18772
18773 wxPyEndAllowThreads(__tstate);
18774 if (PyErr_Occurred()) SWIG_fail;
18775 }
18776 resultobj = SWIG_From_int((int)result);
18777 return resultobj;
18778 fail:
18779 return NULL;
18780 }
18781
18782
18783 static PyObject *_wrap_PrintData_GetBin(PyObject *, PyObject *args, PyObject *kwargs) {
18784 PyObject *resultobj;
18785 wxPrintData *arg1 = (wxPrintData *) 0 ;
18786 int result;
18787 PyObject * obj0 = 0 ;
18788 char *kwnames[] = {
18789 (char *) "self", NULL
18790 };
18791
18792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetBin",kwnames,&obj0)) goto fail;
18793 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18794 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18795 {
18796 PyThreadState* __tstate = wxPyBeginAllowThreads();
18797 result = (int)(arg1)->GetBin();
18798
18799 wxPyEndAllowThreads(__tstate);
18800 if (PyErr_Occurred()) SWIG_fail;
18801 }
18802 resultobj = SWIG_From_int((int)result);
18803 return resultobj;
18804 fail:
18805 return NULL;
18806 }
18807
18808
18809 static PyObject *_wrap_PrintData_GetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) {
18810 PyObject *resultobj;
18811 wxPrintData *arg1 = (wxPrintData *) 0 ;
18812 int result;
18813 PyObject * obj0 = 0 ;
18814 char *kwnames[] = {
18815 (char *) "self", NULL
18816 };
18817
18818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail;
18819 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18820 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18821 {
18822 PyThreadState* __tstate = wxPyBeginAllowThreads();
18823 result = (int)((wxPrintData const *)arg1)->GetPrintMode();
18824
18825 wxPyEndAllowThreads(__tstate);
18826 if (PyErr_Occurred()) SWIG_fail;
18827 }
18828 resultobj = SWIG_From_int((int)result);
18829 return resultobj;
18830 fail:
18831 return NULL;
18832 }
18833
18834
18835 static PyObject *_wrap_PrintData_SetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
18836 PyObject *resultobj;
18837 wxPrintData *arg1 = (wxPrintData *) 0 ;
18838 int arg2 ;
18839 PyObject * obj0 = 0 ;
18840 PyObject * obj1 = 0 ;
18841 char *kwnames[] = {
18842 (char *) "self",(char *) "v", NULL
18843 };
18844
18845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
18846 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18847 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18848 arg2 = (int)SWIG_As_int(obj1);
18849 if (PyErr_Occurred()) SWIG_fail;
18850 {
18851 PyThreadState* __tstate = wxPyBeginAllowThreads();
18852 (arg1)->SetNoCopies(arg2);
18853
18854 wxPyEndAllowThreads(__tstate);
18855 if (PyErr_Occurred()) SWIG_fail;
18856 }
18857 Py_INCREF(Py_None); resultobj = Py_None;
18858 return resultobj;
18859 fail:
18860 return NULL;
18861 }
18862
18863
18864 static PyObject *_wrap_PrintData_SetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
18865 PyObject *resultobj;
18866 wxPrintData *arg1 = (wxPrintData *) 0 ;
18867 bool arg2 ;
18868 PyObject * obj0 = 0 ;
18869 PyObject * obj1 = 0 ;
18870 char *kwnames[] = {
18871 (char *) "self",(char *) "flag", NULL
18872 };
18873
18874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
18875 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18876 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18877 arg2 = (bool)SWIG_As_bool(obj1);
18878 if (PyErr_Occurred()) SWIG_fail;
18879 {
18880 PyThreadState* __tstate = wxPyBeginAllowThreads();
18881 (arg1)->SetCollate(arg2);
18882
18883 wxPyEndAllowThreads(__tstate);
18884 if (PyErr_Occurred()) SWIG_fail;
18885 }
18886 Py_INCREF(Py_None); resultobj = Py_None;
18887 return resultobj;
18888 fail:
18889 return NULL;
18890 }
18891
18892
18893 static PyObject *_wrap_PrintData_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
18894 PyObject *resultobj;
18895 wxPrintData *arg1 = (wxPrintData *) 0 ;
18896 int arg2 ;
18897 PyObject * obj0 = 0 ;
18898 PyObject * obj1 = 0 ;
18899 char *kwnames[] = {
18900 (char *) "self",(char *) "orient", NULL
18901 };
18902
18903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
18904 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18905 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18906 arg2 = (int)SWIG_As_int(obj1);
18907 if (PyErr_Occurred()) SWIG_fail;
18908 {
18909 PyThreadState* __tstate = wxPyBeginAllowThreads();
18910 (arg1)->SetOrientation(arg2);
18911
18912 wxPyEndAllowThreads(__tstate);
18913 if (PyErr_Occurred()) SWIG_fail;
18914 }
18915 Py_INCREF(Py_None); resultobj = Py_None;
18916 return resultobj;
18917 fail:
18918 return NULL;
18919 }
18920
18921
18922 static PyObject *_wrap_PrintData_SetPrinterName(PyObject *, PyObject *args, PyObject *kwargs) {
18923 PyObject *resultobj;
18924 wxPrintData *arg1 = (wxPrintData *) 0 ;
18925 wxString *arg2 = 0 ;
18926 bool temp2 = false ;
18927 PyObject * obj0 = 0 ;
18928 PyObject * obj1 = 0 ;
18929 char *kwnames[] = {
18930 (char *) "self",(char *) "name", NULL
18931 };
18932
18933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail;
18934 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18935 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18936 {
18937 arg2 = wxString_in_helper(obj1);
18938 if (arg2 == NULL) SWIG_fail;
18939 temp2 = true;
18940 }
18941 {
18942 PyThreadState* __tstate = wxPyBeginAllowThreads();
18943 (arg1)->SetPrinterName((wxString const &)*arg2);
18944
18945 wxPyEndAllowThreads(__tstate);
18946 if (PyErr_Occurred()) SWIG_fail;
18947 }
18948 Py_INCREF(Py_None); resultobj = Py_None;
18949 {
18950 if (temp2)
18951 delete arg2;
18952 }
18953 return resultobj;
18954 fail:
18955 {
18956 if (temp2)
18957 delete arg2;
18958 }
18959 return NULL;
18960 }
18961
18962
18963 static PyObject *_wrap_PrintData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
18964 PyObject *resultobj;
18965 wxPrintData *arg1 = (wxPrintData *) 0 ;
18966 bool arg2 ;
18967 PyObject * obj0 = 0 ;
18968 PyObject * obj1 = 0 ;
18969 char *kwnames[] = {
18970 (char *) "self",(char *) "colour", NULL
18971 };
18972
18973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail;
18974 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18975 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18976 arg2 = (bool)SWIG_As_bool(obj1);
18977 if (PyErr_Occurred()) SWIG_fail;
18978 {
18979 PyThreadState* __tstate = wxPyBeginAllowThreads();
18980 (arg1)->SetColour(arg2);
18981
18982 wxPyEndAllowThreads(__tstate);
18983 if (PyErr_Occurred()) SWIG_fail;
18984 }
18985 Py_INCREF(Py_None); resultobj = Py_None;
18986 return resultobj;
18987 fail:
18988 return NULL;
18989 }
18990
18991
18992 static PyObject *_wrap_PrintData_SetDuplex(PyObject *, PyObject *args, PyObject *kwargs) {
18993 PyObject *resultobj;
18994 wxPrintData *arg1 = (wxPrintData *) 0 ;
18995 int arg2 ;
18996 PyObject * obj0 = 0 ;
18997 PyObject * obj1 = 0 ;
18998 char *kwnames[] = {
18999 (char *) "self",(char *) "duplex", NULL
19000 };
19001
19002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) goto fail;
19003 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19004 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19005 arg2 = (int)SWIG_As_int(obj1);
19006 if (PyErr_Occurred()) SWIG_fail;
19007 {
19008 PyThreadState* __tstate = wxPyBeginAllowThreads();
19009 (arg1)->SetDuplex((wxDuplexMode )arg2);
19010
19011 wxPyEndAllowThreads(__tstate);
19012 if (PyErr_Occurred()) SWIG_fail;
19013 }
19014 Py_INCREF(Py_None); resultobj = Py_None;
19015 return resultobj;
19016 fail:
19017 return NULL;
19018 }
19019
19020
19021 static PyObject *_wrap_PrintData_SetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
19022 PyObject *resultobj;
19023 wxPrintData *arg1 = (wxPrintData *) 0 ;
19024 int arg2 ;
19025 PyObject * obj0 = 0 ;
19026 PyObject * obj1 = 0 ;
19027 char *kwnames[] = {
19028 (char *) "self",(char *) "sizeId", NULL
19029 };
19030
19031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
19032 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19033 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19034 arg2 = (int)SWIG_As_int(obj1);
19035 if (PyErr_Occurred()) SWIG_fail;
19036 {
19037 PyThreadState* __tstate = wxPyBeginAllowThreads();
19038 (arg1)->SetPaperId((wxPaperSize )arg2);
19039
19040 wxPyEndAllowThreads(__tstate);
19041 if (PyErr_Occurred()) SWIG_fail;
19042 }
19043 Py_INCREF(Py_None); resultobj = Py_None;
19044 return resultobj;
19045 fail:
19046 return NULL;
19047 }
19048
19049
19050 static PyObject *_wrap_PrintData_SetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
19051 PyObject *resultobj;
19052 wxPrintData *arg1 = (wxPrintData *) 0 ;
19053 wxSize *arg2 = 0 ;
19054 wxSize temp2 ;
19055 PyObject * obj0 = 0 ;
19056 PyObject * obj1 = 0 ;
19057 char *kwnames[] = {
19058 (char *) "self",(char *) "sz", NULL
19059 };
19060
19061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
19062 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19063 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19064 {
19065 arg2 = &temp2;
19066 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
19067 }
19068 {
19069 PyThreadState* __tstate = wxPyBeginAllowThreads();
19070 (arg1)->SetPaperSize((wxSize const &)*arg2);
19071
19072 wxPyEndAllowThreads(__tstate);
19073 if (PyErr_Occurred()) SWIG_fail;
19074 }
19075 Py_INCREF(Py_None); resultobj = Py_None;
19076 return resultobj;
19077 fail:
19078 return NULL;
19079 }
19080
19081
19082 static PyObject *_wrap_PrintData_SetQuality(PyObject *, PyObject *args, PyObject *kwargs) {
19083 PyObject *resultobj;
19084 wxPrintData *arg1 = (wxPrintData *) 0 ;
19085 int arg2 ;
19086 PyObject * obj0 = 0 ;
19087 PyObject * obj1 = 0 ;
19088 char *kwnames[] = {
19089 (char *) "self",(char *) "quality", NULL
19090 };
19091
19092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) goto fail;
19093 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19094 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19095 arg2 = (int)SWIG_As_int(obj1);
19096 if (PyErr_Occurred()) SWIG_fail;
19097 {
19098 PyThreadState* __tstate = wxPyBeginAllowThreads();
19099 (arg1)->SetQuality(arg2);
19100
19101 wxPyEndAllowThreads(__tstate);
19102 if (PyErr_Occurred()) SWIG_fail;
19103 }
19104 Py_INCREF(Py_None); resultobj = Py_None;
19105 return resultobj;
19106 fail:
19107 return NULL;
19108 }
19109
19110
19111 static PyObject *_wrap_PrintData_SetBin(PyObject *, PyObject *args, PyObject *kwargs) {
19112 PyObject *resultobj;
19113 wxPrintData *arg1 = (wxPrintData *) 0 ;
19114 int arg2 ;
19115 PyObject * obj0 = 0 ;
19116 PyObject * obj1 = 0 ;
19117 char *kwnames[] = {
19118 (char *) "self",(char *) "bin", NULL
19119 };
19120
19121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetBin",kwnames,&obj0,&obj1)) goto fail;
19122 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19123 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19124 arg2 = (int)SWIG_As_int(obj1);
19125 if (PyErr_Occurred()) SWIG_fail;
19126 {
19127 PyThreadState* __tstate = wxPyBeginAllowThreads();
19128 (arg1)->SetBin((wxPrintBin )arg2);
19129
19130 wxPyEndAllowThreads(__tstate);
19131 if (PyErr_Occurred()) SWIG_fail;
19132 }
19133 Py_INCREF(Py_None); resultobj = Py_None;
19134 return resultobj;
19135 fail:
19136 return NULL;
19137 }
19138
19139
19140 static PyObject *_wrap_PrintData_SetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) {
19141 PyObject *resultobj;
19142 wxPrintData *arg1 = (wxPrintData *) 0 ;
19143 int arg2 ;
19144 PyObject * obj0 = 0 ;
19145 PyObject * obj1 = 0 ;
19146 char *kwnames[] = {
19147 (char *) "self",(char *) "printMode", NULL
19148 };
19149
19150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) goto fail;
19151 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19152 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19153 arg2 = (int)SWIG_As_int(obj1);
19154 if (PyErr_Occurred()) SWIG_fail;
19155 {
19156 PyThreadState* __tstate = wxPyBeginAllowThreads();
19157 (arg1)->SetPrintMode((wxPrintMode )arg2);
19158
19159 wxPyEndAllowThreads(__tstate);
19160 if (PyErr_Occurred()) SWIG_fail;
19161 }
19162 Py_INCREF(Py_None); resultobj = Py_None;
19163 return resultobj;
19164 fail:
19165 return NULL;
19166 }
19167
19168
19169 static PyObject *_wrap_PrintData_GetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
19170 PyObject *resultobj;
19171 wxPrintData *arg1 = (wxPrintData *) 0 ;
19172 wxString result;
19173 PyObject * obj0 = 0 ;
19174 char *kwnames[] = {
19175 (char *) "self", NULL
19176 };
19177
19178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail;
19179 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19180 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19181 {
19182 PyThreadState* __tstate = wxPyBeginAllowThreads();
19183 result = ((wxPrintData const *)arg1)->GetFilename();
19184
19185 wxPyEndAllowThreads(__tstate);
19186 if (PyErr_Occurred()) SWIG_fail;
19187 }
19188 {
19189 #if wxUSE_UNICODE
19190 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19191 #else
19192 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19193 #endif
19194 }
19195 return resultobj;
19196 fail:
19197 return NULL;
19198 }
19199
19200
19201 static PyObject *_wrap_PrintData_SetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
19202 PyObject *resultobj;
19203 wxPrintData *arg1 = (wxPrintData *) 0 ;
19204 wxString *arg2 = 0 ;
19205 bool temp2 = false ;
19206 PyObject * obj0 = 0 ;
19207 PyObject * obj1 = 0 ;
19208 char *kwnames[] = {
19209 (char *) "self",(char *) "filename", NULL
19210 };
19211
19212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail;
19213 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19214 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19215 {
19216 arg2 = wxString_in_helper(obj1);
19217 if (arg2 == NULL) SWIG_fail;
19218 temp2 = true;
19219 }
19220 {
19221 PyThreadState* __tstate = wxPyBeginAllowThreads();
19222 (arg1)->SetFilename((wxString const &)*arg2);
19223
19224 wxPyEndAllowThreads(__tstate);
19225 if (PyErr_Occurred()) SWIG_fail;
19226 }
19227 Py_INCREF(Py_None); resultobj = Py_None;
19228 {
19229 if (temp2)
19230 delete arg2;
19231 }
19232 return resultobj;
19233 fail:
19234 {
19235 if (temp2)
19236 delete arg2;
19237 }
19238 return NULL;
19239 }
19240
19241
19242 static PyObject *_wrap_PrintData_GetPrinterCommand(PyObject *, PyObject *args, PyObject *kwargs) {
19243 PyObject *resultobj;
19244 wxPrintData *arg1 = (wxPrintData *) 0 ;
19245 wxString *result;
19246 PyObject * obj0 = 0 ;
19247 char *kwnames[] = {
19248 (char *) "self", NULL
19249 };
19250
19251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterCommand",kwnames,&obj0)) goto fail;
19252 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19253 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19254 {
19255 PyThreadState* __tstate = wxPyBeginAllowThreads();
19256 {
19257 wxString const &_result_ref = (arg1)->GetPrinterCommand();
19258 result = (wxString *) &_result_ref;
19259 }
19260
19261 wxPyEndAllowThreads(__tstate);
19262 if (PyErr_Occurred()) SWIG_fail;
19263 }
19264 {
19265 #if wxUSE_UNICODE
19266 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19267 #else
19268 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19269 #endif
19270 }
19271 return resultobj;
19272 fail:
19273 return NULL;
19274 }
19275
19276
19277 static PyObject *_wrap_PrintData_GetPrinterOptions(PyObject *, PyObject *args, PyObject *kwargs) {
19278 PyObject *resultobj;
19279 wxPrintData *arg1 = (wxPrintData *) 0 ;
19280 wxString *result;
19281 PyObject * obj0 = 0 ;
19282 char *kwnames[] = {
19283 (char *) "self", NULL
19284 };
19285
19286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterOptions",kwnames,&obj0)) goto fail;
19287 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19288 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19289 {
19290 PyThreadState* __tstate = wxPyBeginAllowThreads();
19291 {
19292 wxString const &_result_ref = (arg1)->GetPrinterOptions();
19293 result = (wxString *) &_result_ref;
19294 }
19295
19296 wxPyEndAllowThreads(__tstate);
19297 if (PyErr_Occurred()) SWIG_fail;
19298 }
19299 {
19300 #if wxUSE_UNICODE
19301 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19302 #else
19303 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19304 #endif
19305 }
19306 return resultobj;
19307 fail:
19308 return NULL;
19309 }
19310
19311
19312 static PyObject *_wrap_PrintData_GetPreviewCommand(PyObject *, PyObject *args, PyObject *kwargs) {
19313 PyObject *resultobj;
19314 wxPrintData *arg1 = (wxPrintData *) 0 ;
19315 wxString *result;
19316 PyObject * obj0 = 0 ;
19317 char *kwnames[] = {
19318 (char *) "self", NULL
19319 };
19320
19321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPreviewCommand",kwnames,&obj0)) goto fail;
19322 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19323 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19324 {
19325 PyThreadState* __tstate = wxPyBeginAllowThreads();
19326 {
19327 wxString const &_result_ref = (arg1)->GetPreviewCommand();
19328 result = (wxString *) &_result_ref;
19329 }
19330
19331 wxPyEndAllowThreads(__tstate);
19332 if (PyErr_Occurred()) SWIG_fail;
19333 }
19334 {
19335 #if wxUSE_UNICODE
19336 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19337 #else
19338 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19339 #endif
19340 }
19341 return resultobj;
19342 fail:
19343 return NULL;
19344 }
19345
19346
19347 static PyObject *_wrap_PrintData_GetFontMetricPath(PyObject *, PyObject *args, PyObject *kwargs) {
19348 PyObject *resultobj;
19349 wxPrintData *arg1 = (wxPrintData *) 0 ;
19350 wxString *result;
19351 PyObject * obj0 = 0 ;
19352 char *kwnames[] = {
19353 (char *) "self", NULL
19354 };
19355
19356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFontMetricPath",kwnames,&obj0)) goto fail;
19357 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19358 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19359 {
19360 PyThreadState* __tstate = wxPyBeginAllowThreads();
19361 {
19362 wxString const &_result_ref = (arg1)->GetFontMetricPath();
19363 result = (wxString *) &_result_ref;
19364 }
19365
19366 wxPyEndAllowThreads(__tstate);
19367 if (PyErr_Occurred()) SWIG_fail;
19368 }
19369 {
19370 #if wxUSE_UNICODE
19371 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19372 #else
19373 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19374 #endif
19375 }
19376 return resultobj;
19377 fail:
19378 return NULL;
19379 }
19380
19381
19382 static PyObject *_wrap_PrintData_GetPrinterScaleX(PyObject *, PyObject *args, PyObject *kwargs) {
19383 PyObject *resultobj;
19384 wxPrintData *arg1 = (wxPrintData *) 0 ;
19385 double result;
19386 PyObject * obj0 = 0 ;
19387 char *kwnames[] = {
19388 (char *) "self", NULL
19389 };
19390
19391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleX",kwnames,&obj0)) goto fail;
19392 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19393 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19394 {
19395 PyThreadState* __tstate = wxPyBeginAllowThreads();
19396 result = (double)(arg1)->GetPrinterScaleX();
19397
19398 wxPyEndAllowThreads(__tstate);
19399 if (PyErr_Occurred()) SWIG_fail;
19400 }
19401 resultobj = SWIG_From_double((double)result);
19402 return resultobj;
19403 fail:
19404 return NULL;
19405 }
19406
19407
19408 static PyObject *_wrap_PrintData_GetPrinterScaleY(PyObject *, PyObject *args, PyObject *kwargs) {
19409 PyObject *resultobj;
19410 wxPrintData *arg1 = (wxPrintData *) 0 ;
19411 double result;
19412 PyObject * obj0 = 0 ;
19413 char *kwnames[] = {
19414 (char *) "self", NULL
19415 };
19416
19417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleY",kwnames,&obj0)) goto fail;
19418 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19419 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19420 {
19421 PyThreadState* __tstate = wxPyBeginAllowThreads();
19422 result = (double)(arg1)->GetPrinterScaleY();
19423
19424 wxPyEndAllowThreads(__tstate);
19425 if (PyErr_Occurred()) SWIG_fail;
19426 }
19427 resultobj = SWIG_From_double((double)result);
19428 return resultobj;
19429 fail:
19430 return NULL;
19431 }
19432
19433
19434 static PyObject *_wrap_PrintData_GetPrinterTranslateX(PyObject *, PyObject *args, PyObject *kwargs) {
19435 PyObject *resultobj;
19436 wxPrintData *arg1 = (wxPrintData *) 0 ;
19437 long result;
19438 PyObject * obj0 = 0 ;
19439 char *kwnames[] = {
19440 (char *) "self", NULL
19441 };
19442
19443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateX",kwnames,&obj0)) goto fail;
19444 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19445 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19446 {
19447 PyThreadState* __tstate = wxPyBeginAllowThreads();
19448 result = (long)(arg1)->GetPrinterTranslateX();
19449
19450 wxPyEndAllowThreads(__tstate);
19451 if (PyErr_Occurred()) SWIG_fail;
19452 }
19453 resultobj = SWIG_From_long((long)result);
19454 return resultobj;
19455 fail:
19456 return NULL;
19457 }
19458
19459
19460 static PyObject *_wrap_PrintData_GetPrinterTranslateY(PyObject *, PyObject *args, PyObject *kwargs) {
19461 PyObject *resultobj;
19462 wxPrintData *arg1 = (wxPrintData *) 0 ;
19463 long result;
19464 PyObject * obj0 = 0 ;
19465 char *kwnames[] = {
19466 (char *) "self", NULL
19467 };
19468
19469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateY",kwnames,&obj0)) goto fail;
19470 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19471 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19472 {
19473 PyThreadState* __tstate = wxPyBeginAllowThreads();
19474 result = (long)(arg1)->GetPrinterTranslateY();
19475
19476 wxPyEndAllowThreads(__tstate);
19477 if (PyErr_Occurred()) SWIG_fail;
19478 }
19479 resultobj = SWIG_From_long((long)result);
19480 return resultobj;
19481 fail:
19482 return NULL;
19483 }
19484
19485
19486 static PyObject *_wrap_PrintData_SetPrinterCommand(PyObject *, PyObject *args, PyObject *kwargs) {
19487 PyObject *resultobj;
19488 wxPrintData *arg1 = (wxPrintData *) 0 ;
19489 wxString *arg2 = 0 ;
19490 bool temp2 = false ;
19491 PyObject * obj0 = 0 ;
19492 PyObject * obj1 = 0 ;
19493 char *kwnames[] = {
19494 (char *) "self",(char *) "command", NULL
19495 };
19496
19497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterCommand",kwnames,&obj0,&obj1)) goto fail;
19498 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19499 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19500 {
19501 arg2 = wxString_in_helper(obj1);
19502 if (arg2 == NULL) SWIG_fail;
19503 temp2 = true;
19504 }
19505 {
19506 PyThreadState* __tstate = wxPyBeginAllowThreads();
19507 (arg1)->SetPrinterCommand((wxString const &)*arg2);
19508
19509 wxPyEndAllowThreads(__tstate);
19510 if (PyErr_Occurred()) SWIG_fail;
19511 }
19512 Py_INCREF(Py_None); resultobj = Py_None;
19513 {
19514 if (temp2)
19515 delete arg2;
19516 }
19517 return resultobj;
19518 fail:
19519 {
19520 if (temp2)
19521 delete arg2;
19522 }
19523 return NULL;
19524 }
19525
19526
19527 static PyObject *_wrap_PrintData_SetPrinterOptions(PyObject *, PyObject *args, PyObject *kwargs) {
19528 PyObject *resultobj;
19529 wxPrintData *arg1 = (wxPrintData *) 0 ;
19530 wxString *arg2 = 0 ;
19531 bool temp2 = false ;
19532 PyObject * obj0 = 0 ;
19533 PyObject * obj1 = 0 ;
19534 char *kwnames[] = {
19535 (char *) "self",(char *) "options", NULL
19536 };
19537
19538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterOptions",kwnames,&obj0,&obj1)) goto fail;
19539 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19540 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19541 {
19542 arg2 = wxString_in_helper(obj1);
19543 if (arg2 == NULL) SWIG_fail;
19544 temp2 = true;
19545 }
19546 {
19547 PyThreadState* __tstate = wxPyBeginAllowThreads();
19548 (arg1)->SetPrinterOptions((wxString const &)*arg2);
19549
19550 wxPyEndAllowThreads(__tstate);
19551 if (PyErr_Occurred()) SWIG_fail;
19552 }
19553 Py_INCREF(Py_None); resultobj = Py_None;
19554 {
19555 if (temp2)
19556 delete arg2;
19557 }
19558 return resultobj;
19559 fail:
19560 {
19561 if (temp2)
19562 delete arg2;
19563 }
19564 return NULL;
19565 }
19566
19567
19568 static PyObject *_wrap_PrintData_SetPreviewCommand(PyObject *, PyObject *args, PyObject *kwargs) {
19569 PyObject *resultobj;
19570 wxPrintData *arg1 = (wxPrintData *) 0 ;
19571 wxString *arg2 = 0 ;
19572 bool temp2 = false ;
19573 PyObject * obj0 = 0 ;
19574 PyObject * obj1 = 0 ;
19575 char *kwnames[] = {
19576 (char *) "self",(char *) "command", NULL
19577 };
19578
19579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPreviewCommand",kwnames,&obj0,&obj1)) goto fail;
19580 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19581 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19582 {
19583 arg2 = wxString_in_helper(obj1);
19584 if (arg2 == NULL) SWIG_fail;
19585 temp2 = true;
19586 }
19587 {
19588 PyThreadState* __tstate = wxPyBeginAllowThreads();
19589 (arg1)->SetPreviewCommand((wxString const &)*arg2);
19590
19591 wxPyEndAllowThreads(__tstate);
19592 if (PyErr_Occurred()) SWIG_fail;
19593 }
19594 Py_INCREF(Py_None); resultobj = Py_None;
19595 {
19596 if (temp2)
19597 delete arg2;
19598 }
19599 return resultobj;
19600 fail:
19601 {
19602 if (temp2)
19603 delete arg2;
19604 }
19605 return NULL;
19606 }
19607
19608
19609 static PyObject *_wrap_PrintData_SetFontMetricPath(PyObject *, PyObject *args, PyObject *kwargs) {
19610 PyObject *resultobj;
19611 wxPrintData *arg1 = (wxPrintData *) 0 ;
19612 wxString *arg2 = 0 ;
19613 bool temp2 = false ;
19614 PyObject * obj0 = 0 ;
19615 PyObject * obj1 = 0 ;
19616 char *kwnames[] = {
19617 (char *) "self",(char *) "path", NULL
19618 };
19619
19620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFontMetricPath",kwnames,&obj0,&obj1)) goto fail;
19621 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19622 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19623 {
19624 arg2 = wxString_in_helper(obj1);
19625 if (arg2 == NULL) SWIG_fail;
19626 temp2 = true;
19627 }
19628 {
19629 PyThreadState* __tstate = wxPyBeginAllowThreads();
19630 (arg1)->SetFontMetricPath((wxString const &)*arg2);
19631
19632 wxPyEndAllowThreads(__tstate);
19633 if (PyErr_Occurred()) SWIG_fail;
19634 }
19635 Py_INCREF(Py_None); resultobj = Py_None;
19636 {
19637 if (temp2)
19638 delete arg2;
19639 }
19640 return resultobj;
19641 fail:
19642 {
19643 if (temp2)
19644 delete arg2;
19645 }
19646 return NULL;
19647 }
19648
19649
19650 static PyObject *_wrap_PrintData_SetPrinterScaleX(PyObject *, PyObject *args, PyObject *kwargs) {
19651 PyObject *resultobj;
19652 wxPrintData *arg1 = (wxPrintData *) 0 ;
19653 double arg2 ;
19654 PyObject * obj0 = 0 ;
19655 PyObject * obj1 = 0 ;
19656 char *kwnames[] = {
19657 (char *) "self",(char *) "x", NULL
19658 };
19659
19660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleX",kwnames,&obj0,&obj1)) goto fail;
19661 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19662 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19663 arg2 = (double)SWIG_As_double(obj1);
19664 if (PyErr_Occurred()) SWIG_fail;
19665 {
19666 PyThreadState* __tstate = wxPyBeginAllowThreads();
19667 (arg1)->SetPrinterScaleX(arg2);
19668
19669 wxPyEndAllowThreads(__tstate);
19670 if (PyErr_Occurred()) SWIG_fail;
19671 }
19672 Py_INCREF(Py_None); resultobj = Py_None;
19673 return resultobj;
19674 fail:
19675 return NULL;
19676 }
19677
19678
19679 static PyObject *_wrap_PrintData_SetPrinterScaleY(PyObject *, PyObject *args, PyObject *kwargs) {
19680 PyObject *resultobj;
19681 wxPrintData *arg1 = (wxPrintData *) 0 ;
19682 double arg2 ;
19683 PyObject * obj0 = 0 ;
19684 PyObject * obj1 = 0 ;
19685 char *kwnames[] = {
19686 (char *) "self",(char *) "y", NULL
19687 };
19688
19689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleY",kwnames,&obj0,&obj1)) goto fail;
19690 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19691 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19692 arg2 = (double)SWIG_As_double(obj1);
19693 if (PyErr_Occurred()) SWIG_fail;
19694 {
19695 PyThreadState* __tstate = wxPyBeginAllowThreads();
19696 (arg1)->SetPrinterScaleY(arg2);
19697
19698 wxPyEndAllowThreads(__tstate);
19699 if (PyErr_Occurred()) SWIG_fail;
19700 }
19701 Py_INCREF(Py_None); resultobj = Py_None;
19702 return resultobj;
19703 fail:
19704 return NULL;
19705 }
19706
19707
19708 static PyObject *_wrap_PrintData_SetPrinterScaling(PyObject *, PyObject *args, PyObject *kwargs) {
19709 PyObject *resultobj;
19710 wxPrintData *arg1 = (wxPrintData *) 0 ;
19711 double arg2 ;
19712 double arg3 ;
19713 PyObject * obj0 = 0 ;
19714 PyObject * obj1 = 0 ;
19715 PyObject * obj2 = 0 ;
19716 char *kwnames[] = {
19717 (char *) "self",(char *) "x",(char *) "y", NULL
19718 };
19719
19720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterScaling",kwnames,&obj0,&obj1,&obj2)) goto fail;
19721 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19722 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19723 arg2 = (double)SWIG_As_double(obj1);
19724 if (PyErr_Occurred()) SWIG_fail;
19725 arg3 = (double)SWIG_As_double(obj2);
19726 if (PyErr_Occurred()) SWIG_fail;
19727 {
19728 PyThreadState* __tstate = wxPyBeginAllowThreads();
19729 (arg1)->SetPrinterScaling(arg2,arg3);
19730
19731 wxPyEndAllowThreads(__tstate);
19732 if (PyErr_Occurred()) SWIG_fail;
19733 }
19734 Py_INCREF(Py_None); resultobj = Py_None;
19735 return resultobj;
19736 fail:
19737 return NULL;
19738 }
19739
19740
19741 static PyObject *_wrap_PrintData_SetPrinterTranslateX(PyObject *, PyObject *args, PyObject *kwargs) {
19742 PyObject *resultobj;
19743 wxPrintData *arg1 = (wxPrintData *) 0 ;
19744 long arg2 ;
19745 PyObject * obj0 = 0 ;
19746 PyObject * obj1 = 0 ;
19747 char *kwnames[] = {
19748 (char *) "self",(char *) "x", NULL
19749 };
19750
19751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames,&obj0,&obj1)) goto fail;
19752 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19753 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19754 arg2 = (long)SWIG_As_long(obj1);
19755 if (PyErr_Occurred()) SWIG_fail;
19756 {
19757 PyThreadState* __tstate = wxPyBeginAllowThreads();
19758 (arg1)->SetPrinterTranslateX(arg2);
19759
19760 wxPyEndAllowThreads(__tstate);
19761 if (PyErr_Occurred()) SWIG_fail;
19762 }
19763 Py_INCREF(Py_None); resultobj = Py_None;
19764 return resultobj;
19765 fail:
19766 return NULL;
19767 }
19768
19769
19770 static PyObject *_wrap_PrintData_SetPrinterTranslateY(PyObject *, PyObject *args, PyObject *kwargs) {
19771 PyObject *resultobj;
19772 wxPrintData *arg1 = (wxPrintData *) 0 ;
19773 long arg2 ;
19774 PyObject * obj0 = 0 ;
19775 PyObject * obj1 = 0 ;
19776 char *kwnames[] = {
19777 (char *) "self",(char *) "y", NULL
19778 };
19779
19780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames,&obj0,&obj1)) goto fail;
19781 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19782 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19783 arg2 = (long)SWIG_As_long(obj1);
19784 if (PyErr_Occurred()) SWIG_fail;
19785 {
19786 PyThreadState* __tstate = wxPyBeginAllowThreads();
19787 (arg1)->SetPrinterTranslateY(arg2);
19788
19789 wxPyEndAllowThreads(__tstate);
19790 if (PyErr_Occurred()) SWIG_fail;
19791 }
19792 Py_INCREF(Py_None); resultobj = Py_None;
19793 return resultobj;
19794 fail:
19795 return NULL;
19796 }
19797
19798
19799 static PyObject *_wrap_PrintData_SetPrinterTranslation(PyObject *, PyObject *args, PyObject *kwargs) {
19800 PyObject *resultobj;
19801 wxPrintData *arg1 = (wxPrintData *) 0 ;
19802 long arg2 ;
19803 long arg3 ;
19804 PyObject * obj0 = 0 ;
19805 PyObject * obj1 = 0 ;
19806 PyObject * obj2 = 0 ;
19807 char *kwnames[] = {
19808 (char *) "self",(char *) "x",(char *) "y", NULL
19809 };
19810
19811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames,&obj0,&obj1,&obj2)) goto fail;
19812 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19813 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19814 arg2 = (long)SWIG_As_long(obj1);
19815 if (PyErr_Occurred()) SWIG_fail;
19816 arg3 = (long)SWIG_As_long(obj2);
19817 if (PyErr_Occurred()) SWIG_fail;
19818 {
19819 PyThreadState* __tstate = wxPyBeginAllowThreads();
19820 (arg1)->SetPrinterTranslation(arg2,arg3);
19821
19822 wxPyEndAllowThreads(__tstate);
19823 if (PyErr_Occurred()) SWIG_fail;
19824 }
19825 Py_INCREF(Py_None); resultobj = Py_None;
19826 return resultobj;
19827 fail:
19828 return NULL;
19829 }
19830
19831
19832 static PyObject * PrintData_swigregister(PyObject *, PyObject *args) {
19833 PyObject *obj;
19834 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19835 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj);
19836 Py_INCREF(obj);
19837 return Py_BuildValue((char *)"");
19838 }
19839 static PyObject *_wrap_new_PageSetupDialogData__SWIG_0(PyObject *, PyObject *args) {
19840 PyObject *resultobj;
19841 wxPageSetupDialogData *result;
19842
19843 if(!PyArg_ParseTuple(args,(char *)":new_PageSetupDialogData")) goto fail;
19844 {
19845 PyThreadState* __tstate = wxPyBeginAllowThreads();
19846 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
19847
19848 wxPyEndAllowThreads(__tstate);
19849 if (PyErr_Occurred()) SWIG_fail;
19850 }
19851 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
19852 return resultobj;
19853 fail:
19854 return NULL;
19855 }
19856
19857
19858 static PyObject *_wrap_new_PageSetupDialogData__SWIG_1(PyObject *, PyObject *args) {
19859 PyObject *resultobj;
19860 wxPageSetupDialogData *arg1 = 0 ;
19861 wxPageSetupDialogData *result;
19862 PyObject * obj0 = 0 ;
19863
19864 if(!PyArg_ParseTuple(args,(char *)"O:new_PageSetupDialogData",&obj0)) goto fail;
19865 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19866 SWIG_POINTER_EXCEPTION | 0)) == -1)
19867 SWIG_fail;
19868 if (arg1 == NULL) {
19869 PyErr_SetString(PyExc_TypeError,"null reference");
19870 SWIG_fail;
19871 }
19872 {
19873 PyThreadState* __tstate = wxPyBeginAllowThreads();
19874 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPageSetupDialogData const &)*arg1);
19875
19876 wxPyEndAllowThreads(__tstate);
19877 if (PyErr_Occurred()) SWIG_fail;
19878 }
19879 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
19880 return resultobj;
19881 fail:
19882 return NULL;
19883 }
19884
19885
19886 static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args) {
19887 int argc;
19888 PyObject *argv[2];
19889 int ii;
19890
19891 argc = PyObject_Length(args);
19892 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
19893 argv[ii] = PyTuple_GetItem(args,ii);
19894 }
19895 if (argc == 0) {
19896 return _wrap_new_PageSetupDialogData__SWIG_0(self,args);
19897 }
19898 if (argc == 1) {
19899 int _v;
19900 {
19901 void *ptr;
19902 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPageSetupDialogData, 0) == -1) {
19903 _v = 0;
19904 PyErr_Clear();
19905 } else {
19906 _v = 1;
19907 }
19908 }
19909 if (_v) {
19910 return _wrap_new_PageSetupDialogData__SWIG_1(self,args);
19911 }
19912 }
19913
19914 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PageSetupDialogData'");
19915 return NULL;
19916 }
19917
19918
19919 static PyObject *_wrap_delete_PageSetupDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
19920 PyObject *resultobj;
19921 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19922 PyObject * obj0 = 0 ;
19923 char *kwnames[] = {
19924 (char *) "self", NULL
19925 };
19926
19927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail;
19928 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19929 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19930 {
19931 PyThreadState* __tstate = wxPyBeginAllowThreads();
19932 delete arg1;
19933
19934 wxPyEndAllowThreads(__tstate);
19935 if (PyErr_Occurred()) SWIG_fail;
19936 }
19937 Py_INCREF(Py_None); resultobj = Py_None;
19938 return resultobj;
19939 fail:
19940 return NULL;
19941 }
19942
19943
19944 static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
19945 PyObject *resultobj;
19946 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19947 bool arg2 ;
19948 PyObject * obj0 = 0 ;
19949 PyObject * obj1 = 0 ;
19950 char *kwnames[] = {
19951 (char *) "self",(char *) "flag", NULL
19952 };
19953
19954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
19955 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19956 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19957 arg2 = (bool)SWIG_As_bool(obj1);
19958 if (PyErr_Occurred()) SWIG_fail;
19959 {
19960 PyThreadState* __tstate = wxPyBeginAllowThreads();
19961 (arg1)->EnableHelp(arg2);
19962
19963 wxPyEndAllowThreads(__tstate);
19964 if (PyErr_Occurred()) SWIG_fail;
19965 }
19966 Py_INCREF(Py_None); resultobj = Py_None;
19967 return resultobj;
19968 fail:
19969 return NULL;
19970 }
19971
19972
19973 static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *, PyObject *args, PyObject *kwargs) {
19974 PyObject *resultobj;
19975 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19976 bool arg2 ;
19977 PyObject * obj0 = 0 ;
19978 PyObject * obj1 = 0 ;
19979 char *kwnames[] = {
19980 (char *) "self",(char *) "flag", NULL
19981 };
19982
19983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail;
19984 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19985 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19986 arg2 = (bool)SWIG_As_bool(obj1);
19987 if (PyErr_Occurred()) SWIG_fail;
19988 {
19989 PyThreadState* __tstate = wxPyBeginAllowThreads();
19990 (arg1)->EnableMargins(arg2);
19991
19992 wxPyEndAllowThreads(__tstate);
19993 if (PyErr_Occurred()) SWIG_fail;
19994 }
19995 Py_INCREF(Py_None); resultobj = Py_None;
19996 return resultobj;
19997 fail:
19998 return NULL;
19999 }
20000
20001
20002 static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
20003 PyObject *resultobj;
20004 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20005 bool arg2 ;
20006 PyObject * obj0 = 0 ;
20007 PyObject * obj1 = 0 ;
20008 char *kwnames[] = {
20009 (char *) "self",(char *) "flag", NULL
20010 };
20011
20012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail;
20013 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20014 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20015 arg2 = (bool)SWIG_As_bool(obj1);
20016 if (PyErr_Occurred()) SWIG_fail;
20017 {
20018 PyThreadState* __tstate = wxPyBeginAllowThreads();
20019 (arg1)->EnableOrientation(arg2);
20020
20021 wxPyEndAllowThreads(__tstate);
20022 if (PyErr_Occurred()) SWIG_fail;
20023 }
20024 Py_INCREF(Py_None); resultobj = Py_None;
20025 return resultobj;
20026 fail:
20027 return NULL;
20028 }
20029
20030
20031 static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *, PyObject *args, PyObject *kwargs) {
20032 PyObject *resultobj;
20033 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20034 bool arg2 ;
20035 PyObject * obj0 = 0 ;
20036 PyObject * obj1 = 0 ;
20037 char *kwnames[] = {
20038 (char *) "self",(char *) "flag", NULL
20039 };
20040
20041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail;
20042 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20043 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20044 arg2 = (bool)SWIG_As_bool(obj1);
20045 if (PyErr_Occurred()) SWIG_fail;
20046 {
20047 PyThreadState* __tstate = wxPyBeginAllowThreads();
20048 (arg1)->EnablePaper(arg2);
20049
20050 wxPyEndAllowThreads(__tstate);
20051 if (PyErr_Occurred()) SWIG_fail;
20052 }
20053 Py_INCREF(Py_None); resultobj = Py_None;
20054 return resultobj;
20055 fail:
20056 return NULL;
20057 }
20058
20059
20060 static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *, PyObject *args, PyObject *kwargs) {
20061 PyObject *resultobj;
20062 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20063 bool arg2 ;
20064 PyObject * obj0 = 0 ;
20065 PyObject * obj1 = 0 ;
20066 char *kwnames[] = {
20067 (char *) "self",(char *) "flag", NULL
20068 };
20069
20070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail;
20071 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20072 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20073 arg2 = (bool)SWIG_As_bool(obj1);
20074 if (PyErr_Occurred()) SWIG_fail;
20075 {
20076 PyThreadState* __tstate = wxPyBeginAllowThreads();
20077 (arg1)->EnablePrinter(arg2);
20078
20079 wxPyEndAllowThreads(__tstate);
20080 if (PyErr_Occurred()) SWIG_fail;
20081 }
20082 Py_INCREF(Py_None); resultobj = Py_None;
20083 return resultobj;
20084 fail:
20085 return NULL;
20086 }
20087
20088
20089 static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *, PyObject *args, PyObject *kwargs) {
20090 PyObject *resultobj;
20091 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20092 bool result;
20093 PyObject * obj0 = 0 ;
20094 char *kwnames[] = {
20095 (char *) "self", NULL
20096 };
20097
20098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames,&obj0)) goto fail;
20099 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20100 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20101 {
20102 PyThreadState* __tstate = wxPyBeginAllowThreads();
20103 result = (bool)(arg1)->GetDefaultMinMargins();
20104
20105 wxPyEndAllowThreads(__tstate);
20106 if (PyErr_Occurred()) SWIG_fail;
20107 }
20108 {
20109 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20110 }
20111 return resultobj;
20112 fail:
20113 return NULL;
20114 }
20115
20116
20117 static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *, PyObject *args, PyObject *kwargs) {
20118 PyObject *resultobj;
20119 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20120 bool result;
20121 PyObject * obj0 = 0 ;
20122 char *kwnames[] = {
20123 (char *) "self", NULL
20124 };
20125
20126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail;
20127 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20128 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20129 {
20130 PyThreadState* __tstate = wxPyBeginAllowThreads();
20131 result = (bool)(arg1)->GetEnableMargins();
20132
20133 wxPyEndAllowThreads(__tstate);
20134 if (PyErr_Occurred()) SWIG_fail;
20135 }
20136 {
20137 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20138 }
20139 return resultobj;
20140 fail:
20141 return NULL;
20142 }
20143
20144
20145 static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
20146 PyObject *resultobj;
20147 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20148 bool result;
20149 PyObject * obj0 = 0 ;
20150 char *kwnames[] = {
20151 (char *) "self", NULL
20152 };
20153
20154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail;
20155 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20156 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20157 {
20158 PyThreadState* __tstate = wxPyBeginAllowThreads();
20159 result = (bool)(arg1)->GetEnableOrientation();
20160
20161 wxPyEndAllowThreads(__tstate);
20162 if (PyErr_Occurred()) SWIG_fail;
20163 }
20164 {
20165 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20166 }
20167 return resultobj;
20168 fail:
20169 return NULL;
20170 }
20171
20172
20173 static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *, PyObject *args, PyObject *kwargs) {
20174 PyObject *resultobj;
20175 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20176 bool result;
20177 PyObject * obj0 = 0 ;
20178 char *kwnames[] = {
20179 (char *) "self", NULL
20180 };
20181
20182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail;
20183 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20184 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20185 {
20186 PyThreadState* __tstate = wxPyBeginAllowThreads();
20187 result = (bool)(arg1)->GetEnablePaper();
20188
20189 wxPyEndAllowThreads(__tstate);
20190 if (PyErr_Occurred()) SWIG_fail;
20191 }
20192 {
20193 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20194 }
20195 return resultobj;
20196 fail:
20197 return NULL;
20198 }
20199
20200
20201 static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *, PyObject *args, PyObject *kwargs) {
20202 PyObject *resultobj;
20203 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20204 bool result;
20205 PyObject * obj0 = 0 ;
20206 char *kwnames[] = {
20207 (char *) "self", NULL
20208 };
20209
20210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail;
20211 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20212 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20213 {
20214 PyThreadState* __tstate = wxPyBeginAllowThreads();
20215 result = (bool)(arg1)->GetEnablePrinter();
20216
20217 wxPyEndAllowThreads(__tstate);
20218 if (PyErr_Occurred()) SWIG_fail;
20219 }
20220 {
20221 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20222 }
20223 return resultobj;
20224 fail:
20225 return NULL;
20226 }
20227
20228
20229 static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
20230 PyObject *resultobj;
20231 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20232 bool result;
20233 PyObject * obj0 = 0 ;
20234 char *kwnames[] = {
20235 (char *) "self", NULL
20236 };
20237
20238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
20239 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20240 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20241 {
20242 PyThreadState* __tstate = wxPyBeginAllowThreads();
20243 result = (bool)(arg1)->GetEnableHelp();
20244
20245 wxPyEndAllowThreads(__tstate);
20246 if (PyErr_Occurred()) SWIG_fail;
20247 }
20248 {
20249 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20250 }
20251 return resultobj;
20252 fail:
20253 return NULL;
20254 }
20255
20256
20257 static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *, PyObject *args, PyObject *kwargs) {
20258 PyObject *resultobj;
20259 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20260 bool result;
20261 PyObject * obj0 = 0 ;
20262 char *kwnames[] = {
20263 (char *) "self", NULL
20264 };
20265
20266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames,&obj0)) goto fail;
20267 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20268 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20269 {
20270 PyThreadState* __tstate = wxPyBeginAllowThreads();
20271 result = (bool)(arg1)->GetDefaultInfo();
20272
20273 wxPyEndAllowThreads(__tstate);
20274 if (PyErr_Occurred()) SWIG_fail;
20275 }
20276 {
20277 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20278 }
20279 return resultobj;
20280 fail:
20281 return NULL;
20282 }
20283
20284
20285 static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
20286 PyObject *resultobj;
20287 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20288 wxPoint result;
20289 PyObject * obj0 = 0 ;
20290 char *kwnames[] = {
20291 (char *) "self", NULL
20292 };
20293
20294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail;
20295 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20296 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20297 {
20298 PyThreadState* __tstate = wxPyBeginAllowThreads();
20299 result = (arg1)->GetMarginTopLeft();
20300
20301 wxPyEndAllowThreads(__tstate);
20302 if (PyErr_Occurred()) SWIG_fail;
20303 }
20304 {
20305 wxPoint * resultptr;
20306 resultptr = new wxPoint((wxPoint &) result);
20307 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
20308 }
20309 return resultobj;
20310 fail:
20311 return NULL;
20312 }
20313
20314
20315 static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
20316 PyObject *resultobj;
20317 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20318 wxPoint result;
20319 PyObject * obj0 = 0 ;
20320 char *kwnames[] = {
20321 (char *) "self", NULL
20322 };
20323
20324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail;
20325 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20326 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20327 {
20328 PyThreadState* __tstate = wxPyBeginAllowThreads();
20329 result = (arg1)->GetMarginBottomRight();
20330
20331 wxPyEndAllowThreads(__tstate);
20332 if (PyErr_Occurred()) SWIG_fail;
20333 }
20334 {
20335 wxPoint * resultptr;
20336 resultptr = new wxPoint((wxPoint &) result);
20337 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
20338 }
20339 return resultobj;
20340 fail:
20341 return NULL;
20342 }
20343
20344
20345 static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
20346 PyObject *resultobj;
20347 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20348 wxPoint result;
20349 PyObject * obj0 = 0 ;
20350 char *kwnames[] = {
20351 (char *) "self", NULL
20352 };
20353
20354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail;
20355 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20356 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20357 {
20358 PyThreadState* __tstate = wxPyBeginAllowThreads();
20359 result = (arg1)->GetMinMarginTopLeft();
20360
20361 wxPyEndAllowThreads(__tstate);
20362 if (PyErr_Occurred()) SWIG_fail;
20363 }
20364 {
20365 wxPoint * resultptr;
20366 resultptr = new wxPoint((wxPoint &) result);
20367 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
20368 }
20369 return resultobj;
20370 fail:
20371 return NULL;
20372 }
20373
20374
20375 static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
20376 PyObject *resultobj;
20377 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20378 wxPoint result;
20379 PyObject * obj0 = 0 ;
20380 char *kwnames[] = {
20381 (char *) "self", NULL
20382 };
20383
20384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail;
20385 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20386 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20387 {
20388 PyThreadState* __tstate = wxPyBeginAllowThreads();
20389 result = (arg1)->GetMinMarginBottomRight();
20390
20391 wxPyEndAllowThreads(__tstate);
20392 if (PyErr_Occurred()) SWIG_fail;
20393 }
20394 {
20395 wxPoint * resultptr;
20396 resultptr = new wxPoint((wxPoint &) result);
20397 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
20398 }
20399 return resultobj;
20400 fail:
20401 return NULL;
20402 }
20403
20404
20405 static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
20406 PyObject *resultobj;
20407 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20408 int result;
20409 PyObject * obj0 = 0 ;
20410 char *kwnames[] = {
20411 (char *) "self", NULL
20412 };
20413
20414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",kwnames,&obj0)) goto fail;
20415 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20416 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20417 {
20418 PyThreadState* __tstate = wxPyBeginAllowThreads();
20419 result = (int)(arg1)->GetPaperId();
20420
20421 wxPyEndAllowThreads(__tstate);
20422 if (PyErr_Occurred()) SWIG_fail;
20423 }
20424 resultobj = SWIG_From_int((int)result);
20425 return resultobj;
20426 fail:
20427 return NULL;
20428 }
20429
20430
20431 static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
20432 PyObject *resultobj;
20433 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20434 wxSize result;
20435 PyObject * obj0 = 0 ;
20436 char *kwnames[] = {
20437 (char *) "self", NULL
20438 };
20439
20440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail;
20441 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20442 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20443 {
20444 PyThreadState* __tstate = wxPyBeginAllowThreads();
20445 result = (arg1)->GetPaperSize();
20446
20447 wxPyEndAllowThreads(__tstate);
20448 if (PyErr_Occurred()) SWIG_fail;
20449 }
20450 {
20451 wxSize * resultptr;
20452 resultptr = new wxSize((wxSize &) result);
20453 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20454 }
20455 return resultobj;
20456 fail:
20457 return NULL;
20458 }
20459
20460
20461 static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
20462 PyObject *resultobj;
20463 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20464 wxPrintData *result;
20465 PyObject * obj0 = 0 ;
20466 char *kwnames[] = {
20467 (char *) "self", NULL
20468 };
20469
20470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail;
20471 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20472 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20473 {
20474 PyThreadState* __tstate = wxPyBeginAllowThreads();
20475 {
20476 wxPrintData &_result_ref = (arg1)->GetPrintData();
20477 result = (wxPrintData *) &_result_ref;
20478 }
20479
20480 wxPyEndAllowThreads(__tstate);
20481 if (PyErr_Occurred()) SWIG_fail;
20482 }
20483 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
20484 return resultobj;
20485 fail:
20486 return NULL;
20487 }
20488
20489
20490 static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
20491 PyObject *resultobj;
20492 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20493 bool result;
20494 PyObject * obj0 = 0 ;
20495 char *kwnames[] = {
20496 (char *) "self", NULL
20497 };
20498
20499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_Ok",kwnames,&obj0)) goto fail;
20500 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20501 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20502 {
20503 PyThreadState* __tstate = wxPyBeginAllowThreads();
20504 result = (bool)(arg1)->Ok();
20505
20506 wxPyEndAllowThreads(__tstate);
20507 if (PyErr_Occurred()) SWIG_fail;
20508 }
20509 {
20510 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20511 }
20512 return resultobj;
20513 fail:
20514 return NULL;
20515 }
20516
20517
20518 static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *, PyObject *args, PyObject *kwargs) {
20519 PyObject *resultobj;
20520 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20521 bool arg2 ;
20522 PyObject * obj0 = 0 ;
20523 PyObject * obj1 = 0 ;
20524 char *kwnames[] = {
20525 (char *) "self",(char *) "flag", NULL
20526 };
20527
20528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail;
20529 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20530 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20531 arg2 = (bool)SWIG_As_bool(obj1);
20532 if (PyErr_Occurred()) SWIG_fail;
20533 {
20534 PyThreadState* __tstate = wxPyBeginAllowThreads();
20535 (arg1)->SetDefaultInfo(arg2);
20536
20537 wxPyEndAllowThreads(__tstate);
20538 if (PyErr_Occurred()) SWIG_fail;
20539 }
20540 Py_INCREF(Py_None); resultobj = Py_None;
20541 return resultobj;
20542 fail:
20543 return NULL;
20544 }
20545
20546
20547 static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *, PyObject *args, PyObject *kwargs) {
20548 PyObject *resultobj;
20549 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20550 bool arg2 ;
20551 PyObject * obj0 = 0 ;
20552 PyObject * obj1 = 0 ;
20553 char *kwnames[] = {
20554 (char *) "self",(char *) "flag", NULL
20555 };
20556
20557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail;
20558 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20559 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20560 arg2 = (bool)SWIG_As_bool(obj1);
20561 if (PyErr_Occurred()) SWIG_fail;
20562 {
20563 PyThreadState* __tstate = wxPyBeginAllowThreads();
20564 (arg1)->SetDefaultMinMargins(arg2);
20565
20566 wxPyEndAllowThreads(__tstate);
20567 if (PyErr_Occurred()) SWIG_fail;
20568 }
20569 Py_INCREF(Py_None); resultobj = Py_None;
20570 return resultobj;
20571 fail:
20572 return NULL;
20573 }
20574
20575
20576 static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
20577 PyObject *resultobj;
20578 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20579 wxPoint *arg2 = 0 ;
20580 wxPoint temp2 ;
20581 PyObject * obj0 = 0 ;
20582 PyObject * obj1 = 0 ;
20583 char *kwnames[] = {
20584 (char *) "self",(char *) "pt", NULL
20585 };
20586
20587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
20588 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20589 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20590 {
20591 arg2 = &temp2;
20592 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20593 }
20594 {
20595 PyThreadState* __tstate = wxPyBeginAllowThreads();
20596 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
20597
20598 wxPyEndAllowThreads(__tstate);
20599 if (PyErr_Occurred()) SWIG_fail;
20600 }
20601 Py_INCREF(Py_None); resultobj = Py_None;
20602 return resultobj;
20603 fail:
20604 return NULL;
20605 }
20606
20607
20608 static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
20609 PyObject *resultobj;
20610 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20611 wxPoint *arg2 = 0 ;
20612 wxPoint temp2 ;
20613 PyObject * obj0 = 0 ;
20614 PyObject * obj1 = 0 ;
20615 char *kwnames[] = {
20616 (char *) "self",(char *) "pt", NULL
20617 };
20618
20619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
20620 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20621 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20622 {
20623 arg2 = &temp2;
20624 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20625 }
20626 {
20627 PyThreadState* __tstate = wxPyBeginAllowThreads();
20628 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
20629
20630 wxPyEndAllowThreads(__tstate);
20631 if (PyErr_Occurred()) SWIG_fail;
20632 }
20633 Py_INCREF(Py_None); resultobj = Py_None;
20634 return resultobj;
20635 fail:
20636 return NULL;
20637 }
20638
20639
20640 static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
20641 PyObject *resultobj;
20642 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20643 wxPoint *arg2 = 0 ;
20644 wxPoint temp2 ;
20645 PyObject * obj0 = 0 ;
20646 PyObject * obj1 = 0 ;
20647 char *kwnames[] = {
20648 (char *) "self",(char *) "pt", NULL
20649 };
20650
20651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
20652 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20653 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20654 {
20655 arg2 = &temp2;
20656 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20657 }
20658 {
20659 PyThreadState* __tstate = wxPyBeginAllowThreads();
20660 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
20661
20662 wxPyEndAllowThreads(__tstate);
20663 if (PyErr_Occurred()) SWIG_fail;
20664 }
20665 Py_INCREF(Py_None); resultobj = Py_None;
20666 return resultobj;
20667 fail:
20668 return NULL;
20669 }
20670
20671
20672 static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
20673 PyObject *resultobj;
20674 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20675 wxPoint *arg2 = 0 ;
20676 wxPoint temp2 ;
20677 PyObject * obj0 = 0 ;
20678 PyObject * obj1 = 0 ;
20679 char *kwnames[] = {
20680 (char *) "self",(char *) "pt", NULL
20681 };
20682
20683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
20684 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20685 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20686 {
20687 arg2 = &temp2;
20688 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20689 }
20690 {
20691 PyThreadState* __tstate = wxPyBeginAllowThreads();
20692 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
20693
20694 wxPyEndAllowThreads(__tstate);
20695 if (PyErr_Occurred()) SWIG_fail;
20696 }
20697 Py_INCREF(Py_None); resultobj = Py_None;
20698 return resultobj;
20699 fail:
20700 return NULL;
20701 }
20702
20703
20704 static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
20705 PyObject *resultobj;
20706 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20707 int arg2 ;
20708 PyObject * obj0 = 0 ;
20709 PyObject * obj1 = 0 ;
20710 char *kwnames[] = {
20711 (char *) "self",(char *) "id", NULL
20712 };
20713
20714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
20715 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20716 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20717 arg2 = (int)SWIG_As_int(obj1);
20718 if (PyErr_Occurred()) SWIG_fail;
20719 {
20720 PyThreadState* __tstate = wxPyBeginAllowThreads();
20721 (arg1)->SetPaperId((wxPaperSize )arg2);
20722
20723 wxPyEndAllowThreads(__tstate);
20724 if (PyErr_Occurred()) SWIG_fail;
20725 }
20726 Py_INCREF(Py_None); resultobj = Py_None;
20727 return resultobj;
20728 fail:
20729 return NULL;
20730 }
20731
20732
20733 static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
20734 PyObject *resultobj;
20735 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20736 wxSize *arg2 = 0 ;
20737 wxSize temp2 ;
20738 PyObject * obj0 = 0 ;
20739 PyObject * obj1 = 0 ;
20740 char *kwnames[] = {
20741 (char *) "self",(char *) "size", NULL
20742 };
20743
20744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
20745 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20746 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20747 {
20748 arg2 = &temp2;
20749 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
20750 }
20751 {
20752 PyThreadState* __tstate = wxPyBeginAllowThreads();
20753 (arg1)->SetPaperSize((wxSize const &)*arg2);
20754
20755 wxPyEndAllowThreads(__tstate);
20756 if (PyErr_Occurred()) SWIG_fail;
20757 }
20758 Py_INCREF(Py_None); resultobj = Py_None;
20759 return resultobj;
20760 fail:
20761 return NULL;
20762 }
20763
20764
20765 static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
20766 PyObject *resultobj;
20767 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20768 wxPrintData *arg2 = 0 ;
20769 PyObject * obj0 = 0 ;
20770 PyObject * obj1 = 0 ;
20771 char *kwnames[] = {
20772 (char *) "self",(char *) "printData", NULL
20773 };
20774
20775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
20776 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20777 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20778 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData,
20779 SWIG_POINTER_EXCEPTION | 0)) == -1)
20780 SWIG_fail;
20781 if (arg2 == NULL) {
20782 PyErr_SetString(PyExc_TypeError,"null reference");
20783 SWIG_fail;
20784 }
20785 {
20786 PyThreadState* __tstate = wxPyBeginAllowThreads();
20787 (arg1)->SetPrintData((wxPrintData const &)*arg2);
20788
20789 wxPyEndAllowThreads(__tstate);
20790 if (PyErr_Occurred()) SWIG_fail;
20791 }
20792 Py_INCREF(Py_None); resultobj = Py_None;
20793 return resultobj;
20794 fail:
20795 return NULL;
20796 }
20797
20798
20799 static PyObject * PageSetupDialogData_swigregister(PyObject *, PyObject *args) {
20800 PyObject *obj;
20801 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20802 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj);
20803 Py_INCREF(obj);
20804 return Py_BuildValue((char *)"");
20805 }
20806 static PyObject *_wrap_new_PageSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
20807 PyObject *resultobj;
20808 wxWindow *arg1 = (wxWindow *) 0 ;
20809 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
20810 wxPageSetupDialog *result;
20811 PyObject * obj0 = 0 ;
20812 PyObject * obj1 = 0 ;
20813 char *kwnames[] = {
20814 (char *) "parent",(char *) "data", NULL
20815 };
20816
20817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail;
20818 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
20819 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20820 if (obj1) {
20821 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPageSetupDialogData,
20822 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20823 }
20824 {
20825 if (!wxPyCheckForApp()) SWIG_fail;
20826 PyThreadState* __tstate = wxPyBeginAllowThreads();
20827 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
20828
20829 wxPyEndAllowThreads(__tstate);
20830 if (PyErr_Occurred()) SWIG_fail;
20831 }
20832 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialog, 1);
20833 return resultobj;
20834 fail:
20835 return NULL;
20836 }
20837
20838
20839 static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *, PyObject *args, PyObject *kwargs) {
20840 PyObject *resultobj;
20841 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
20842 wxPageSetupDialogData *result;
20843 PyObject * obj0 = 0 ;
20844 char *kwnames[] = {
20845 (char *) "self", NULL
20846 };
20847
20848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail;
20849 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog,
20850 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20851 {
20852 PyThreadState* __tstate = wxPyBeginAllowThreads();
20853 {
20854 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
20855 result = (wxPageSetupDialogData *) &_result_ref;
20856 }
20857
20858 wxPyEndAllowThreads(__tstate);
20859 if (PyErr_Occurred()) SWIG_fail;
20860 }
20861 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
20862 return resultobj;
20863 fail:
20864 return NULL;
20865 }
20866
20867
20868 static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
20869 PyObject *resultobj;
20870 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
20871 int result;
20872 PyObject * obj0 = 0 ;
20873 char *kwnames[] = {
20874 (char *) "self", NULL
20875 };
20876
20877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail;
20878 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog,
20879 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20880 {
20881 PyThreadState* __tstate = wxPyBeginAllowThreads();
20882 result = (int)(arg1)->ShowModal();
20883
20884 wxPyEndAllowThreads(__tstate);
20885 if (PyErr_Occurred()) SWIG_fail;
20886 }
20887 resultobj = SWIG_From_int((int)result);
20888 return resultobj;
20889 fail:
20890 return NULL;
20891 }
20892
20893
20894 static PyObject * PageSetupDialog_swigregister(PyObject *, PyObject *args) {
20895 PyObject *obj;
20896 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20897 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj);
20898 Py_INCREF(obj);
20899 return Py_BuildValue((char *)"");
20900 }
20901 static PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *, PyObject *args) {
20902 PyObject *resultobj;
20903 wxPrintDialogData *result;
20904
20905 if(!PyArg_ParseTuple(args,(char *)":new_PrintDialogData")) goto fail;
20906 {
20907 PyThreadState* __tstate = wxPyBeginAllowThreads();
20908 result = (wxPrintDialogData *)new wxPrintDialogData();
20909
20910 wxPyEndAllowThreads(__tstate);
20911 if (PyErr_Occurred()) SWIG_fail;
20912 }
20913 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
20914 return resultobj;
20915 fail:
20916 return NULL;
20917 }
20918
20919
20920 static PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *, PyObject *args) {
20921 PyObject *resultobj;
20922 wxPrintData *arg1 = 0 ;
20923 wxPrintDialogData *result;
20924 PyObject * obj0 = 0 ;
20925
20926 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintDialogData",&obj0)) goto fail;
20927 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
20928 SWIG_POINTER_EXCEPTION | 0)) == -1)
20929 SWIG_fail;
20930 if (arg1 == NULL) {
20931 PyErr_SetString(PyExc_TypeError,"null reference");
20932 SWIG_fail;
20933 }
20934 {
20935 PyThreadState* __tstate = wxPyBeginAllowThreads();
20936 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
20937
20938 wxPyEndAllowThreads(__tstate);
20939 if (PyErr_Occurred()) SWIG_fail;
20940 }
20941 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
20942 return resultobj;
20943 fail:
20944 return NULL;
20945 }
20946
20947
20948 static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
20949 int argc;
20950 PyObject *argv[2];
20951 int ii;
20952
20953 argc = PyObject_Length(args);
20954 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
20955 argv[ii] = PyTuple_GetItem(args,ii);
20956 }
20957 if (argc == 0) {
20958 return _wrap_new_PrintDialogData__SWIG_0(self,args);
20959 }
20960 if (argc == 1) {
20961 int _v;
20962 {
20963 void *ptr;
20964 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
20965 _v = 0;
20966 PyErr_Clear();
20967 } else {
20968 _v = 1;
20969 }
20970 }
20971 if (_v) {
20972 return _wrap_new_PrintDialogData__SWIG_1(self,args);
20973 }
20974 }
20975
20976 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintDialogData'");
20977 return NULL;
20978 }
20979
20980
20981 static PyObject *_wrap_delete_PrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
20982 PyObject *resultobj;
20983 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20984 PyObject * obj0 = 0 ;
20985 char *kwnames[] = {
20986 (char *) "self", NULL
20987 };
20988
20989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail;
20990 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20991 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20992 {
20993 PyThreadState* __tstate = wxPyBeginAllowThreads();
20994 delete arg1;
20995
20996 wxPyEndAllowThreads(__tstate);
20997 if (PyErr_Occurred()) SWIG_fail;
20998 }
20999 Py_INCREF(Py_None); resultobj = Py_None;
21000 return resultobj;
21001 fail:
21002 return NULL;
21003 }
21004
21005
21006 static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
21007 PyObject *resultobj;
21008 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21009 int result;
21010 PyObject * obj0 = 0 ;
21011 char *kwnames[] = {
21012 (char *) "self", NULL
21013 };
21014
21015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail;
21016 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21017 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21018 {
21019 PyThreadState* __tstate = wxPyBeginAllowThreads();
21020 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
21021
21022 wxPyEndAllowThreads(__tstate);
21023 if (PyErr_Occurred()) SWIG_fail;
21024 }
21025 resultobj = SWIG_From_int((int)result);
21026 return resultobj;
21027 fail:
21028 return NULL;
21029 }
21030
21031
21032 static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *, PyObject *args, PyObject *kwargs) {
21033 PyObject *resultobj;
21034 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21035 int result;
21036 PyObject * obj0 = 0 ;
21037 char *kwnames[] = {
21038 (char *) "self", NULL
21039 };
21040
21041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail;
21042 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21043 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21044 {
21045 PyThreadState* __tstate = wxPyBeginAllowThreads();
21046 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
21047
21048 wxPyEndAllowThreads(__tstate);
21049 if (PyErr_Occurred()) SWIG_fail;
21050 }
21051 resultobj = SWIG_From_int((int)result);
21052 return resultobj;
21053 fail:
21054 return NULL;
21055 }
21056
21057
21058 static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
21059 PyObject *resultobj;
21060 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21061 int result;
21062 PyObject * obj0 = 0 ;
21063 char *kwnames[] = {
21064 (char *) "self", NULL
21065 };
21066
21067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail;
21068 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21069 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21070 {
21071 PyThreadState* __tstate = wxPyBeginAllowThreads();
21072 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
21073
21074 wxPyEndAllowThreads(__tstate);
21075 if (PyErr_Occurred()) SWIG_fail;
21076 }
21077 resultobj = SWIG_From_int((int)result);
21078 return resultobj;
21079 fail:
21080 return NULL;
21081 }
21082
21083
21084 static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
21085 PyObject *resultobj;
21086 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21087 int result;
21088 PyObject * obj0 = 0 ;
21089 char *kwnames[] = {
21090 (char *) "self", NULL
21091 };
21092
21093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail;
21094 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21095 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21096 {
21097 PyThreadState* __tstate = wxPyBeginAllowThreads();
21098 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
21099
21100 wxPyEndAllowThreads(__tstate);
21101 if (PyErr_Occurred()) SWIG_fail;
21102 }
21103 resultobj = SWIG_From_int((int)result);
21104 return resultobj;
21105 fail:
21106 return NULL;
21107 }
21108
21109
21110 static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
21111 PyObject *resultobj;
21112 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21113 int result;
21114 PyObject * obj0 = 0 ;
21115 char *kwnames[] = {
21116 (char *) "self", NULL
21117 };
21118
21119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail;
21120 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21121 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21122 {
21123 PyThreadState* __tstate = wxPyBeginAllowThreads();
21124 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
21125
21126 wxPyEndAllowThreads(__tstate);
21127 if (PyErr_Occurred()) SWIG_fail;
21128 }
21129 resultobj = SWIG_From_int((int)result);
21130 return resultobj;
21131 fail:
21132 return NULL;
21133 }
21134
21135
21136 static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
21137 PyObject *resultobj;
21138 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21139 bool result;
21140 PyObject * obj0 = 0 ;
21141 char *kwnames[] = {
21142 (char *) "self", NULL
21143 };
21144
21145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail;
21146 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21147 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21148 {
21149 PyThreadState* __tstate = wxPyBeginAllowThreads();
21150 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
21151
21152 wxPyEndAllowThreads(__tstate);
21153 if (PyErr_Occurred()) SWIG_fail;
21154 }
21155 {
21156 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21157 }
21158 return resultobj;
21159 fail:
21160 return NULL;
21161 }
21162
21163
21164 static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
21165 PyObject *resultobj;
21166 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21167 bool result;
21168 PyObject * obj0 = 0 ;
21169 char *kwnames[] = {
21170 (char *) "self", NULL
21171 };
21172
21173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail;
21174 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21175 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21176 {
21177 PyThreadState* __tstate = wxPyBeginAllowThreads();
21178 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
21179
21180 wxPyEndAllowThreads(__tstate);
21181 if (PyErr_Occurred()) SWIG_fail;
21182 }
21183 {
21184 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21185 }
21186 return resultobj;
21187 fail:
21188 return NULL;
21189 }
21190
21191
21192 static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
21193 PyObject *resultobj;
21194 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21195 bool result;
21196 PyObject * obj0 = 0 ;
21197 char *kwnames[] = {
21198 (char *) "self", NULL
21199 };
21200
21201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail;
21202 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21203 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21204 {
21205 PyThreadState* __tstate = wxPyBeginAllowThreads();
21206 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
21207
21208 wxPyEndAllowThreads(__tstate);
21209 if (PyErr_Occurred()) SWIG_fail;
21210 }
21211 {
21212 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21213 }
21214 return resultobj;
21215 fail:
21216 return NULL;
21217 }
21218
21219
21220 static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
21221 PyObject *resultobj;
21222 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21223 bool result;
21224 PyObject * obj0 = 0 ;
21225 char *kwnames[] = {
21226 (char *) "self", NULL
21227 };
21228
21229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail;
21230 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21231 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21232 {
21233 PyThreadState* __tstate = wxPyBeginAllowThreads();
21234 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
21235
21236 wxPyEndAllowThreads(__tstate);
21237 if (PyErr_Occurred()) SWIG_fail;
21238 }
21239 {
21240 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21241 }
21242 return resultobj;
21243 fail:
21244 return NULL;
21245 }
21246
21247
21248 static PyObject *_wrap_PrintDialogData_GetSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
21249 PyObject *resultobj;
21250 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21251 bool result;
21252 PyObject * obj0 = 0 ;
21253 char *kwnames[] = {
21254 (char *) "self", NULL
21255 };
21256
21257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSetupDialog",kwnames,&obj0)) goto fail;
21258 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21259 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21260 {
21261 PyThreadState* __tstate = wxPyBeginAllowThreads();
21262 result = (bool)((wxPrintDialogData const *)arg1)->GetSetupDialog();
21263
21264 wxPyEndAllowThreads(__tstate);
21265 if (PyErr_Occurred()) SWIG_fail;
21266 }
21267 {
21268 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21269 }
21270 return resultobj;
21271 fail:
21272 return NULL;
21273 }
21274
21275
21276 static PyObject *_wrap_PrintDialogData_SetSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
21277 PyObject *resultobj;
21278 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21279 bool arg2 ;
21280 PyObject * obj0 = 0 ;
21281 PyObject * obj1 = 0 ;
21282 char *kwnames[] = {
21283 (char *) "self",(char *) "flag", NULL
21284 };
21285
21286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames,&obj0,&obj1)) goto fail;
21287 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21288 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21289 arg2 = (bool)SWIG_As_bool(obj1);
21290 if (PyErr_Occurred()) SWIG_fail;
21291 {
21292 PyThreadState* __tstate = wxPyBeginAllowThreads();
21293 (arg1)->SetSetupDialog(arg2);
21294
21295 wxPyEndAllowThreads(__tstate);
21296 if (PyErr_Occurred()) SWIG_fail;
21297 }
21298 Py_INCREF(Py_None); resultobj = Py_None;
21299 return resultobj;
21300 fail:
21301 return NULL;
21302 }
21303
21304
21305 static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
21306 PyObject *resultobj;
21307 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21308 int arg2 ;
21309 PyObject * obj0 = 0 ;
21310 PyObject * obj1 = 0 ;
21311 char *kwnames[] = {
21312 (char *) "self",(char *) "v", NULL
21313 };
21314
21315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) goto fail;
21316 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21317 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21318 arg2 = (int)SWIG_As_int(obj1);
21319 if (PyErr_Occurred()) SWIG_fail;
21320 {
21321 PyThreadState* __tstate = wxPyBeginAllowThreads();
21322 (arg1)->SetFromPage(arg2);
21323
21324 wxPyEndAllowThreads(__tstate);
21325 if (PyErr_Occurred()) SWIG_fail;
21326 }
21327 Py_INCREF(Py_None); resultobj = Py_None;
21328 return resultobj;
21329 fail:
21330 return NULL;
21331 }
21332
21333
21334 static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *, PyObject *args, PyObject *kwargs) {
21335 PyObject *resultobj;
21336 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21337 int arg2 ;
21338 PyObject * obj0 = 0 ;
21339 PyObject * obj1 = 0 ;
21340 char *kwnames[] = {
21341 (char *) "self",(char *) "v", NULL
21342 };
21343
21344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) goto fail;
21345 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21346 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21347 arg2 = (int)SWIG_As_int(obj1);
21348 if (PyErr_Occurred()) SWIG_fail;
21349 {
21350 PyThreadState* __tstate = wxPyBeginAllowThreads();
21351 (arg1)->SetToPage(arg2);
21352
21353 wxPyEndAllowThreads(__tstate);
21354 if (PyErr_Occurred()) SWIG_fail;
21355 }
21356 Py_INCREF(Py_None); resultobj = Py_None;
21357 return resultobj;
21358 fail:
21359 return NULL;
21360 }
21361
21362
21363 static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
21364 PyObject *resultobj;
21365 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21366 int arg2 ;
21367 PyObject * obj0 = 0 ;
21368 PyObject * obj1 = 0 ;
21369 char *kwnames[] = {
21370 (char *) "self",(char *) "v", NULL
21371 };
21372
21373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) goto fail;
21374 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21375 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21376 arg2 = (int)SWIG_As_int(obj1);
21377 if (PyErr_Occurred()) SWIG_fail;
21378 {
21379 PyThreadState* __tstate = wxPyBeginAllowThreads();
21380 (arg1)->SetMinPage(arg2);
21381
21382 wxPyEndAllowThreads(__tstate);
21383 if (PyErr_Occurred()) SWIG_fail;
21384 }
21385 Py_INCREF(Py_None); resultobj = Py_None;
21386 return resultobj;
21387 fail:
21388 return NULL;
21389 }
21390
21391
21392 static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
21393 PyObject *resultobj;
21394 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21395 int arg2 ;
21396 PyObject * obj0 = 0 ;
21397 PyObject * obj1 = 0 ;
21398 char *kwnames[] = {
21399 (char *) "self",(char *) "v", NULL
21400 };
21401
21402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) goto fail;
21403 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21404 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21405 arg2 = (int)SWIG_As_int(obj1);
21406 if (PyErr_Occurred()) SWIG_fail;
21407 {
21408 PyThreadState* __tstate = wxPyBeginAllowThreads();
21409 (arg1)->SetMaxPage(arg2);
21410
21411 wxPyEndAllowThreads(__tstate);
21412 if (PyErr_Occurred()) SWIG_fail;
21413 }
21414 Py_INCREF(Py_None); resultobj = Py_None;
21415 return resultobj;
21416 fail:
21417 return NULL;
21418 }
21419
21420
21421 static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
21422 PyObject *resultobj;
21423 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21424 int arg2 ;
21425 PyObject * obj0 = 0 ;
21426 PyObject * obj1 = 0 ;
21427 char *kwnames[] = {
21428 (char *) "self",(char *) "v", NULL
21429 };
21430
21431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
21432 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21433 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21434 arg2 = (int)SWIG_As_int(obj1);
21435 if (PyErr_Occurred()) SWIG_fail;
21436 {
21437 PyThreadState* __tstate = wxPyBeginAllowThreads();
21438 (arg1)->SetNoCopies(arg2);
21439
21440 wxPyEndAllowThreads(__tstate);
21441 if (PyErr_Occurred()) SWIG_fail;
21442 }
21443 Py_INCREF(Py_None); resultobj = Py_None;
21444 return resultobj;
21445 fail:
21446 return NULL;
21447 }
21448
21449
21450 static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
21451 PyObject *resultobj;
21452 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21453 bool arg2 ;
21454 PyObject * obj0 = 0 ;
21455 PyObject * obj1 = 0 ;
21456 char *kwnames[] = {
21457 (char *) "self",(char *) "flag", NULL
21458 };
21459
21460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail;
21461 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21462 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21463 arg2 = (bool)SWIG_As_bool(obj1);
21464 if (PyErr_Occurred()) SWIG_fail;
21465 {
21466 PyThreadState* __tstate = wxPyBeginAllowThreads();
21467 (arg1)->SetAllPages(arg2);
21468
21469 wxPyEndAllowThreads(__tstate);
21470 if (PyErr_Occurred()) SWIG_fail;
21471 }
21472 Py_INCREF(Py_None); resultobj = Py_None;
21473 return resultobj;
21474 fail:
21475 return NULL;
21476 }
21477
21478
21479 static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
21480 PyObject *resultobj;
21481 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21482 bool arg2 ;
21483 PyObject * obj0 = 0 ;
21484 PyObject * obj1 = 0 ;
21485 char *kwnames[] = {
21486 (char *) "self",(char *) "flag", NULL
21487 };
21488
21489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail;
21490 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21491 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21492 arg2 = (bool)SWIG_As_bool(obj1);
21493 if (PyErr_Occurred()) SWIG_fail;
21494 {
21495 PyThreadState* __tstate = wxPyBeginAllowThreads();
21496 (arg1)->SetSelection(arg2);
21497
21498 wxPyEndAllowThreads(__tstate);
21499 if (PyErr_Occurred()) SWIG_fail;
21500 }
21501 Py_INCREF(Py_None); resultobj = Py_None;
21502 return resultobj;
21503 fail:
21504 return NULL;
21505 }
21506
21507
21508 static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
21509 PyObject *resultobj;
21510 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21511 bool arg2 ;
21512 PyObject * obj0 = 0 ;
21513 PyObject * obj1 = 0 ;
21514 char *kwnames[] = {
21515 (char *) "self",(char *) "flag", NULL
21516 };
21517
21518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
21519 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21520 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21521 arg2 = (bool)SWIG_As_bool(obj1);
21522 if (PyErr_Occurred()) SWIG_fail;
21523 {
21524 PyThreadState* __tstate = wxPyBeginAllowThreads();
21525 (arg1)->SetCollate(arg2);
21526
21527 wxPyEndAllowThreads(__tstate);
21528 if (PyErr_Occurred()) SWIG_fail;
21529 }
21530 Py_INCREF(Py_None); resultobj = Py_None;
21531 return resultobj;
21532 fail:
21533 return NULL;
21534 }
21535
21536
21537 static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
21538 PyObject *resultobj;
21539 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21540 bool arg2 ;
21541 PyObject * obj0 = 0 ;
21542 PyObject * obj1 = 0 ;
21543 char *kwnames[] = {
21544 (char *) "self",(char *) "flag", NULL
21545 };
21546
21547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail;
21548 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21549 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21550 arg2 = (bool)SWIG_As_bool(obj1);
21551 if (PyErr_Occurred()) SWIG_fail;
21552 {
21553 PyThreadState* __tstate = wxPyBeginAllowThreads();
21554 (arg1)->SetPrintToFile(arg2);
21555
21556 wxPyEndAllowThreads(__tstate);
21557 if (PyErr_Occurred()) SWIG_fail;
21558 }
21559 Py_INCREF(Py_None); resultobj = Py_None;
21560 return resultobj;
21561 fail:
21562 return NULL;
21563 }
21564
21565
21566 static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
21567 PyObject *resultobj;
21568 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21569 bool arg2 ;
21570 PyObject * obj0 = 0 ;
21571 PyObject * obj1 = 0 ;
21572 char *kwnames[] = {
21573 (char *) "self",(char *) "flag", NULL
21574 };
21575
21576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail;
21577 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21578 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21579 arg2 = (bool)SWIG_As_bool(obj1);
21580 if (PyErr_Occurred()) SWIG_fail;
21581 {
21582 PyThreadState* __tstate = wxPyBeginAllowThreads();
21583 (arg1)->EnablePrintToFile(arg2);
21584
21585 wxPyEndAllowThreads(__tstate);
21586 if (PyErr_Occurred()) SWIG_fail;
21587 }
21588 Py_INCREF(Py_None); resultobj = Py_None;
21589 return resultobj;
21590 fail:
21591 return NULL;
21592 }
21593
21594
21595 static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *, PyObject *args, PyObject *kwargs) {
21596 PyObject *resultobj;
21597 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21598 bool arg2 ;
21599 PyObject * obj0 = 0 ;
21600 PyObject * obj1 = 0 ;
21601 char *kwnames[] = {
21602 (char *) "self",(char *) "flag", NULL
21603 };
21604
21605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail;
21606 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21607 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21608 arg2 = (bool)SWIG_As_bool(obj1);
21609 if (PyErr_Occurred()) SWIG_fail;
21610 {
21611 PyThreadState* __tstate = wxPyBeginAllowThreads();
21612 (arg1)->EnableSelection(arg2);
21613
21614 wxPyEndAllowThreads(__tstate);
21615 if (PyErr_Occurred()) SWIG_fail;
21616 }
21617 Py_INCREF(Py_None); resultobj = Py_None;
21618 return resultobj;
21619 fail:
21620 return NULL;
21621 }
21622
21623
21624 static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *, PyObject *args, PyObject *kwargs) {
21625 PyObject *resultobj;
21626 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21627 bool arg2 ;
21628 PyObject * obj0 = 0 ;
21629 PyObject * obj1 = 0 ;
21630 char *kwnames[] = {
21631 (char *) "self",(char *) "flag", NULL
21632 };
21633
21634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail;
21635 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21636 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21637 arg2 = (bool)SWIG_As_bool(obj1);
21638 if (PyErr_Occurred()) SWIG_fail;
21639 {
21640 PyThreadState* __tstate = wxPyBeginAllowThreads();
21641 (arg1)->EnablePageNumbers(arg2);
21642
21643 wxPyEndAllowThreads(__tstate);
21644 if (PyErr_Occurred()) SWIG_fail;
21645 }
21646 Py_INCREF(Py_None); resultobj = Py_None;
21647 return resultobj;
21648 fail:
21649 return NULL;
21650 }
21651
21652
21653 static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
21654 PyObject *resultobj;
21655 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21656 bool arg2 ;
21657 PyObject * obj0 = 0 ;
21658 PyObject * obj1 = 0 ;
21659 char *kwnames[] = {
21660 (char *) "self",(char *) "flag", NULL
21661 };
21662
21663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
21664 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21665 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21666 arg2 = (bool)SWIG_As_bool(obj1);
21667 if (PyErr_Occurred()) SWIG_fail;
21668 {
21669 PyThreadState* __tstate = wxPyBeginAllowThreads();
21670 (arg1)->EnableHelp(arg2);
21671
21672 wxPyEndAllowThreads(__tstate);
21673 if (PyErr_Occurred()) SWIG_fail;
21674 }
21675 Py_INCREF(Py_None); resultobj = Py_None;
21676 return resultobj;
21677 fail:
21678 return NULL;
21679 }
21680
21681
21682 static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
21683 PyObject *resultobj;
21684 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21685 bool result;
21686 PyObject * obj0 = 0 ;
21687 char *kwnames[] = {
21688 (char *) "self", NULL
21689 };
21690
21691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail;
21692 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21693 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21694 {
21695 PyThreadState* __tstate = wxPyBeginAllowThreads();
21696 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
21697
21698 wxPyEndAllowThreads(__tstate);
21699 if (PyErr_Occurred()) SWIG_fail;
21700 }
21701 {
21702 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21703 }
21704 return resultobj;
21705 fail:
21706 return NULL;
21707 }
21708
21709
21710 static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *, PyObject *args, PyObject *kwargs) {
21711 PyObject *resultobj;
21712 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21713 bool result;
21714 PyObject * obj0 = 0 ;
21715 char *kwnames[] = {
21716 (char *) "self", NULL
21717 };
21718
21719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail;
21720 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21721 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21722 {
21723 PyThreadState* __tstate = wxPyBeginAllowThreads();
21724 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
21725
21726 wxPyEndAllowThreads(__tstate);
21727 if (PyErr_Occurred()) SWIG_fail;
21728 }
21729 {
21730 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21731 }
21732 return resultobj;
21733 fail:
21734 return NULL;
21735 }
21736
21737
21738 static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *, PyObject *args, PyObject *kwargs) {
21739 PyObject *resultobj;
21740 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21741 bool result;
21742 PyObject * obj0 = 0 ;
21743 char *kwnames[] = {
21744 (char *) "self", NULL
21745 };
21746
21747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail;
21748 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21749 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21750 {
21751 PyThreadState* __tstate = wxPyBeginAllowThreads();
21752 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
21753
21754 wxPyEndAllowThreads(__tstate);
21755 if (PyErr_Occurred()) SWIG_fail;
21756 }
21757 {
21758 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21759 }
21760 return resultobj;
21761 fail:
21762 return NULL;
21763 }
21764
21765
21766 static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
21767 PyObject *resultobj;
21768 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21769 bool result;
21770 PyObject * obj0 = 0 ;
21771 char *kwnames[] = {
21772 (char *) "self", NULL
21773 };
21774
21775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
21776 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21777 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21778 {
21779 PyThreadState* __tstate = wxPyBeginAllowThreads();
21780 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
21781
21782 wxPyEndAllowThreads(__tstate);
21783 if (PyErr_Occurred()) SWIG_fail;
21784 }
21785 {
21786 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21787 }
21788 return resultobj;
21789 fail:
21790 return NULL;
21791 }
21792
21793
21794 static PyObject *_wrap_PrintDialogData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
21795 PyObject *resultobj;
21796 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21797 bool result;
21798 PyObject * obj0 = 0 ;
21799 char *kwnames[] = {
21800 (char *) "self", NULL
21801 };
21802
21803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail;
21804 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21805 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21806 {
21807 PyThreadState* __tstate = wxPyBeginAllowThreads();
21808 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
21809
21810 wxPyEndAllowThreads(__tstate);
21811 if (PyErr_Occurred()) SWIG_fail;
21812 }
21813 {
21814 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21815 }
21816 return resultobj;
21817 fail:
21818 return NULL;
21819 }
21820
21821
21822 static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
21823 PyObject *resultobj;
21824 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21825 wxPrintData *result;
21826 PyObject * obj0 = 0 ;
21827 char *kwnames[] = {
21828 (char *) "self", NULL
21829 };
21830
21831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail;
21832 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21833 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21834 {
21835 PyThreadState* __tstate = wxPyBeginAllowThreads();
21836 {
21837 wxPrintData &_result_ref = (arg1)->GetPrintData();
21838 result = (wxPrintData *) &_result_ref;
21839 }
21840
21841 wxPyEndAllowThreads(__tstate);
21842 if (PyErr_Occurred()) SWIG_fail;
21843 }
21844 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
21845 return resultobj;
21846 fail:
21847 return NULL;
21848 }
21849
21850
21851 static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
21852 PyObject *resultobj;
21853 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21854 wxPrintData *arg2 = 0 ;
21855 PyObject * obj0 = 0 ;
21856 PyObject * obj1 = 0 ;
21857 char *kwnames[] = {
21858 (char *) "self",(char *) "printData", NULL
21859 };
21860
21861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
21862 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21863 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21864 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData,
21865 SWIG_POINTER_EXCEPTION | 0)) == -1)
21866 SWIG_fail;
21867 if (arg2 == NULL) {
21868 PyErr_SetString(PyExc_TypeError,"null reference");
21869 SWIG_fail;
21870 }
21871 {
21872 PyThreadState* __tstate = wxPyBeginAllowThreads();
21873 (arg1)->SetPrintData((wxPrintData const &)*arg2);
21874
21875 wxPyEndAllowThreads(__tstate);
21876 if (PyErr_Occurred()) SWIG_fail;
21877 }
21878 Py_INCREF(Py_None); resultobj = Py_None;
21879 return resultobj;
21880 fail:
21881 return NULL;
21882 }
21883
21884
21885 static PyObject * PrintDialogData_swigregister(PyObject *, PyObject *args) {
21886 PyObject *obj;
21887 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21888 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj);
21889 Py_INCREF(obj);
21890 return Py_BuildValue((char *)"");
21891 }
21892 static PyObject *_wrap_new_PrintDialog(PyObject *, PyObject *args, PyObject *kwargs) {
21893 PyObject *resultobj;
21894 wxWindow *arg1 = (wxWindow *) 0 ;
21895 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
21896 wxPrintDialog *result;
21897 PyObject * obj0 = 0 ;
21898 PyObject * obj1 = 0 ;
21899 char *kwnames[] = {
21900 (char *) "parent",(char *) "data", NULL
21901 };
21902
21903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
21904 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21905 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21906 if (obj1) {
21907 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintDialogData,
21908 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21909 }
21910 {
21911 if (!wxPyCheckForApp()) SWIG_fail;
21912 PyThreadState* __tstate = wxPyBeginAllowThreads();
21913 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
21914
21915 wxPyEndAllowThreads(__tstate);
21916 if (PyErr_Occurred()) SWIG_fail;
21917 }
21918 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialog, 1);
21919 return resultobj;
21920 fail:
21921 return NULL;
21922 }
21923
21924
21925 static PyObject *_wrap_PrintDialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
21926 PyObject *resultobj;
21927 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
21928 int result;
21929 PyObject * obj0 = 0 ;
21930 char *kwnames[] = {
21931 (char *) "self", NULL
21932 };
21933
21934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail;
21935 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
21936 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21937 {
21938 PyThreadState* __tstate = wxPyBeginAllowThreads();
21939 result = (int)(arg1)->ShowModal();
21940
21941 wxPyEndAllowThreads(__tstate);
21942 if (PyErr_Occurred()) SWIG_fail;
21943 }
21944 resultobj = SWIG_From_int((int)result);
21945 return resultobj;
21946 fail:
21947 return NULL;
21948 }
21949
21950
21951 static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
21952 PyObject *resultobj;
21953 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
21954 wxPrintDialogData *result;
21955 PyObject * obj0 = 0 ;
21956 char *kwnames[] = {
21957 (char *) "self", NULL
21958 };
21959
21960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail;
21961 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
21962 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21963 {
21964 PyThreadState* __tstate = wxPyBeginAllowThreads();
21965 {
21966 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
21967 result = (wxPrintDialogData *) &_result_ref;
21968 }
21969
21970 wxPyEndAllowThreads(__tstate);
21971 if (PyErr_Occurred()) SWIG_fail;
21972 }
21973 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
21974 return resultobj;
21975 fail:
21976 return NULL;
21977 }
21978
21979
21980 static PyObject *_wrap_PrintDialog_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
21981 PyObject *resultobj;
21982 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
21983 wxPrintData *result;
21984 PyObject * obj0 = 0 ;
21985 char *kwnames[] = {
21986 (char *) "self", NULL
21987 };
21988
21989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintData",kwnames,&obj0)) goto fail;
21990 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
21991 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21992 {
21993 PyThreadState* __tstate = wxPyBeginAllowThreads();
21994 {
21995 wxPrintData &_result_ref = (arg1)->GetPrintData();
21996 result = (wxPrintData *) &_result_ref;
21997 }
21998
21999 wxPyEndAllowThreads(__tstate);
22000 if (PyErr_Occurred()) SWIG_fail;
22001 }
22002 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
22003 return resultobj;
22004 fail:
22005 return NULL;
22006 }
22007
22008
22009 static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *, PyObject *args, PyObject *kwargs) {
22010 PyObject *resultobj;
22011 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
22012 wxDC *result;
22013 PyObject * obj0 = 0 ;
22014 char *kwnames[] = {
22015 (char *) "self", NULL
22016 };
22017
22018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail;
22019 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
22020 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22021 {
22022 PyThreadState* __tstate = wxPyBeginAllowThreads();
22023 result = (wxDC *)(arg1)->GetPrintDC();
22024
22025 wxPyEndAllowThreads(__tstate);
22026 if (PyErr_Occurred()) SWIG_fail;
22027 }
22028 {
22029 resultobj = wxPyMake_wxObject(result, 1);
22030 }
22031 return resultobj;
22032 fail:
22033 return NULL;
22034 }
22035
22036
22037 static PyObject * PrintDialog_swigregister(PyObject *, PyObject *args) {
22038 PyObject *obj;
22039 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22040 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj);
22041 Py_INCREF(obj);
22042 return Py_BuildValue((char *)"");
22043 }
22044 static PyObject *_wrap_new_Printer(PyObject *, PyObject *args, PyObject *kwargs) {
22045 PyObject *resultobj;
22046 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
22047 wxPrinter *result;
22048 PyObject * obj0 = 0 ;
22049 char *kwnames[] = {
22050 (char *) "data", NULL
22051 };
22052
22053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail;
22054 if (obj0) {
22055 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
22056 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22057 }
22058 {
22059 if (!wxPyCheckForApp()) SWIG_fail;
22060 PyThreadState* __tstate = wxPyBeginAllowThreads();
22061 result = (wxPrinter *)new wxPrinter(arg1);
22062
22063 wxPyEndAllowThreads(__tstate);
22064 if (PyErr_Occurred()) SWIG_fail;
22065 }
22066 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrinter, 1);
22067 return resultobj;
22068 fail:
22069 return NULL;
22070 }
22071
22072
22073 static PyObject *_wrap_delete_Printer(PyObject *, PyObject *args, PyObject *kwargs) {
22074 PyObject *resultobj;
22075 wxPrinter *arg1 = (wxPrinter *) 0 ;
22076 PyObject * obj0 = 0 ;
22077 char *kwnames[] = {
22078 (char *) "self", NULL
22079 };
22080
22081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail;
22082 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
22083 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22084 {
22085 PyThreadState* __tstate = wxPyBeginAllowThreads();
22086 delete arg1;
22087
22088 wxPyEndAllowThreads(__tstate);
22089 if (PyErr_Occurred()) SWIG_fail;
22090 }
22091 Py_INCREF(Py_None); resultobj = Py_None;
22092 return resultobj;
22093 fail:
22094 return NULL;
22095 }
22096
22097
22098 static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *, PyObject *args, PyObject *kwargs) {
22099 PyObject *resultobj;
22100 wxPrinter *arg1 = (wxPrinter *) 0 ;
22101 wxWindow *arg2 = (wxWindow *) 0 ;
22102 wxPrintout *arg3 = (wxPrintout *) 0 ;
22103 wxWindow *result;
22104 PyObject * obj0 = 0 ;
22105 PyObject * obj1 = 0 ;
22106 PyObject * obj2 = 0 ;
22107 char *kwnames[] = {
22108 (char *) "self",(char *) "parent",(char *) "printout", NULL
22109 };
22110
22111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
22112 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
22113 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22114 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
22115 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22116 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintout,
22117 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22118 {
22119 PyThreadState* __tstate = wxPyBeginAllowThreads();
22120 result = (wxWindow *)(arg1)->CreateAbortWindow(arg2,arg3);
22121
22122 wxPyEndAllowThreads(__tstate);
22123 if (PyErr_Occurred()) SWIG_fail;
22124 }
22125 {
22126 resultobj = wxPyMake_wxObject(result, 0);
22127 }
22128 return resultobj;
22129 fail:
22130 return NULL;
22131 }
22132
22133
22134 static PyObject *_wrap_Printer_ReportError(PyObject *, PyObject *args, PyObject *kwargs) {
22135 PyObject *resultobj;
22136 wxPrinter *arg1 = (wxPrinter *) 0 ;
22137 wxWindow *arg2 = (wxWindow *) 0 ;
22138 wxPrintout *arg3 = (wxPrintout *) 0 ;
22139 wxString *arg4 = 0 ;
22140 bool temp4 = false ;
22141 PyObject * obj0 = 0 ;
22142 PyObject * obj1 = 0 ;
22143 PyObject * obj2 = 0 ;
22144 PyObject * obj3 = 0 ;
22145 char *kwnames[] = {
22146 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
22147 };
22148
22149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
22150 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
22151 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22152 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
22153 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22154 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintout,
22155 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22156 {
22157 arg4 = wxString_in_helper(obj3);
22158 if (arg4 == NULL) SWIG_fail;
22159 temp4 = true;
22160 }
22161 {
22162 PyThreadState* __tstate = wxPyBeginAllowThreads();
22163 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
22164
22165 wxPyEndAllowThreads(__tstate);
22166 if (PyErr_Occurred()) SWIG_fail;
22167 }
22168 Py_INCREF(Py_None); resultobj = Py_None;
22169 {
22170 if (temp4)
22171 delete arg4;
22172 }
22173 return resultobj;
22174 fail:
22175 {
22176 if (temp4)
22177 delete arg4;
22178 }
22179 return NULL;
22180 }
22181
22182
22183 static PyObject *_wrap_Printer_Setup(PyObject *, PyObject *args, PyObject *kwargs) {
22184 PyObject *resultobj;
22185 wxPrinter *arg1 = (wxPrinter *) 0 ;
22186 wxWindow *arg2 = (wxWindow *) 0 ;
22187 bool result;
22188 PyObject * obj0 = 0 ;
22189 PyObject * obj1 = 0 ;
22190 char *kwnames[] = {
22191 (char *) "self",(char *) "parent", NULL
22192 };
22193
22194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail;
22195 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
22196 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22197 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
22198 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22199 {
22200 PyThreadState* __tstate = wxPyBeginAllowThreads();
22201 result = (bool)(arg1)->Setup(arg2);
22202
22203 wxPyEndAllowThreads(__tstate);
22204 if (PyErr_Occurred()) SWIG_fail;
22205 }
22206 {
22207 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22208 }
22209 return resultobj;
22210 fail:
22211 return NULL;
22212 }
22213
22214
22215 static PyObject *_wrap_Printer_Print(PyObject *, PyObject *args, PyObject *kwargs) {
22216 PyObject *resultobj;
22217 wxPrinter *arg1 = (wxPrinter *) 0 ;
22218 wxWindow *arg2 = (wxWindow *) 0 ;
22219 wxPrintout *arg3 = (wxPrintout *) 0 ;
22220 bool arg4 = (bool) true ;
22221 bool result;
22222 PyObject * obj0 = 0 ;
22223 PyObject * obj1 = 0 ;
22224 PyObject * obj2 = 0 ;
22225 PyObject * obj3 = 0 ;
22226 char *kwnames[] = {
22227 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
22228 };
22229
22230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
22231 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
22232 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22233 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
22234 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22235 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintout,
22236 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22237 if (obj3) {
22238 arg4 = (bool)SWIG_As_bool(obj3);
22239 if (PyErr_Occurred()) SWIG_fail;
22240 }
22241 {
22242 PyThreadState* __tstate = wxPyBeginAllowThreads();
22243 result = (bool)(arg1)->Print(arg2,arg3,arg4);
22244
22245 wxPyEndAllowThreads(__tstate);
22246 if (PyErr_Occurred()) SWIG_fail;
22247 }
22248 {
22249 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22250 }
22251 return resultobj;
22252 fail:
22253 return NULL;
22254 }
22255
22256
22257 static PyObject *_wrap_Printer_PrintDialog(PyObject *, PyObject *args, PyObject *kwargs) {
22258 PyObject *resultobj;
22259 wxPrinter *arg1 = (wxPrinter *) 0 ;
22260 wxWindow *arg2 = (wxWindow *) 0 ;
22261 wxDC *result;
22262 PyObject * obj0 = 0 ;
22263 PyObject * obj1 = 0 ;
22264 char *kwnames[] = {
22265 (char *) "self",(char *) "parent", NULL
22266 };
22267
22268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
22269 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
22270 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22271 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
22272 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22273 {
22274 PyThreadState* __tstate = wxPyBeginAllowThreads();
22275 result = (wxDC *)(arg1)->PrintDialog(arg2);
22276
22277 wxPyEndAllowThreads(__tstate);
22278 if (PyErr_Occurred()) SWIG_fail;
22279 }
22280 {
22281 resultobj = wxPyMake_wxObject(result, 0);
22282 }
22283 return resultobj;
22284 fail:
22285 return NULL;
22286 }
22287
22288
22289 static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
22290 PyObject *resultobj;
22291 wxPrinter *arg1 = (wxPrinter *) 0 ;
22292 wxPrintDialogData *result;
22293 PyObject * obj0 = 0 ;
22294 char *kwnames[] = {
22295 (char *) "self", NULL
22296 };
22297
22298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail;
22299 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
22300 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22301 {
22302 PyThreadState* __tstate = wxPyBeginAllowThreads();
22303 {
22304 wxPrintDialogData &_result_ref = ((wxPrinter const *)arg1)->GetPrintDialogData();
22305 result = (wxPrintDialogData *) &_result_ref;
22306 }
22307
22308 wxPyEndAllowThreads(__tstate);
22309 if (PyErr_Occurred()) SWIG_fail;
22310 }
22311 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
22312 return resultobj;
22313 fail:
22314 return NULL;
22315 }
22316
22317
22318 static PyObject *_wrap_Printer_GetAbort(PyObject *, PyObject *args, PyObject *kwargs) {
22319 PyObject *resultobj;
22320 wxPrinter *arg1 = (wxPrinter *) 0 ;
22321 bool result;
22322 PyObject * obj0 = 0 ;
22323 char *kwnames[] = {
22324 (char *) "self", NULL
22325 };
22326
22327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail;
22328 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
22329 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22330 {
22331 PyThreadState* __tstate = wxPyBeginAllowThreads();
22332 result = (bool)(arg1)->GetAbort();
22333
22334 wxPyEndAllowThreads(__tstate);
22335 if (PyErr_Occurred()) SWIG_fail;
22336 }
22337 {
22338 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22339 }
22340 return resultobj;
22341 fail:
22342 return NULL;
22343 }
22344
22345
22346 static PyObject *_wrap_Printer_GetLastError(PyObject *, PyObject *args, PyObject *kwargs) {
22347 PyObject *resultobj;
22348 int result;
22349 char *kwnames[] = {
22350 NULL
22351 };
22352
22353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail;
22354 {
22355 PyThreadState* __tstate = wxPyBeginAllowThreads();
22356 result = (int)wxPrinter::GetLastError();
22357
22358 wxPyEndAllowThreads(__tstate);
22359 if (PyErr_Occurred()) SWIG_fail;
22360 }
22361 resultobj = SWIG_From_int((int)result);
22362 return resultobj;
22363 fail:
22364 return NULL;
22365 }
22366
22367
22368 static PyObject * Printer_swigregister(PyObject *, PyObject *args) {
22369 PyObject *obj;
22370 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22371 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj);
22372 Py_INCREF(obj);
22373 return Py_BuildValue((char *)"");
22374 }
22375 static PyObject *_wrap_new_Printout(PyObject *, PyObject *args, PyObject *kwargs) {
22376 PyObject *resultobj;
22377 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
22378 wxString *arg1 = (wxString *) &arg1_defvalue ;
22379 wxPyPrintout *result;
22380 bool temp1 = false ;
22381 PyObject * obj0 = 0 ;
22382 char *kwnames[] = {
22383 (char *) "title", NULL
22384 };
22385
22386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail;
22387 if (obj0) {
22388 {
22389 arg1 = wxString_in_helper(obj0);
22390 if (arg1 == NULL) SWIG_fail;
22391 temp1 = true;
22392 }
22393 }
22394 {
22395 if (!wxPyCheckForApp()) SWIG_fail;
22396 PyThreadState* __tstate = wxPyBeginAllowThreads();
22397 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
22398
22399 wxPyEndAllowThreads(__tstate);
22400 if (PyErr_Occurred()) SWIG_fail;
22401 }
22402 {
22403 resultobj = wxPyMake_wxObject(result, 1);
22404 }
22405 {
22406 if (temp1)
22407 delete arg1;
22408 }
22409 return resultobj;
22410 fail:
22411 {
22412 if (temp1)
22413 delete arg1;
22414 }
22415 return NULL;
22416 }
22417
22418
22419 static PyObject *_wrap_Printout__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
22420 PyObject *resultobj;
22421 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22422 PyObject *arg2 = (PyObject *) 0 ;
22423 PyObject *arg3 = (PyObject *) 0 ;
22424 PyObject * obj0 = 0 ;
22425 PyObject * obj1 = 0 ;
22426 PyObject * obj2 = 0 ;
22427 char *kwnames[] = {
22428 (char *) "self",(char *) "self",(char *) "_class", NULL
22429 };
22430
22431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
22432 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22433 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22434 arg2 = obj1;
22435 arg3 = obj2;
22436 {
22437 PyThreadState* __tstate = wxPyBeginAllowThreads();
22438 (arg1)->_setCallbackInfo(arg2,arg3);
22439
22440 wxPyEndAllowThreads(__tstate);
22441 if (PyErr_Occurred()) SWIG_fail;
22442 }
22443 Py_INCREF(Py_None); resultobj = Py_None;
22444 return resultobj;
22445 fail:
22446 return NULL;
22447 }
22448
22449
22450 static PyObject *_wrap_Printout_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
22451 PyObject *resultobj;
22452 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22453 wxString result;
22454 PyObject * obj0 = 0 ;
22455 char *kwnames[] = {
22456 (char *) "self", NULL
22457 };
22458
22459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail;
22460 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22461 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22462 {
22463 PyThreadState* __tstate = wxPyBeginAllowThreads();
22464 result = ((wxPyPrintout const *)arg1)->GetTitle();
22465
22466 wxPyEndAllowThreads(__tstate);
22467 if (PyErr_Occurred()) SWIG_fail;
22468 }
22469 {
22470 #if wxUSE_UNICODE
22471 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
22472 #else
22473 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
22474 #endif
22475 }
22476 return resultobj;
22477 fail:
22478 return NULL;
22479 }
22480
22481
22482 static PyObject *_wrap_Printout_GetDC(PyObject *, PyObject *args, PyObject *kwargs) {
22483 PyObject *resultobj;
22484 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22485 wxDC *result;
22486 PyObject * obj0 = 0 ;
22487 char *kwnames[] = {
22488 (char *) "self", NULL
22489 };
22490
22491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail;
22492 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22493 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22494 {
22495 PyThreadState* __tstate = wxPyBeginAllowThreads();
22496 result = (wxDC *)(arg1)->GetDC();
22497
22498 wxPyEndAllowThreads(__tstate);
22499 if (PyErr_Occurred()) SWIG_fail;
22500 }
22501 {
22502 resultobj = wxPyMake_wxObject(result, 0);
22503 }
22504 return resultobj;
22505 fail:
22506 return NULL;
22507 }
22508
22509
22510 static PyObject *_wrap_Printout_SetDC(PyObject *, PyObject *args, PyObject *kwargs) {
22511 PyObject *resultobj;
22512 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22513 wxDC *arg2 = (wxDC *) 0 ;
22514 PyObject * obj0 = 0 ;
22515 PyObject * obj1 = 0 ;
22516 char *kwnames[] = {
22517 (char *) "self",(char *) "dc", NULL
22518 };
22519
22520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail;
22521 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22522 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22523 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
22524 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22525 {
22526 PyThreadState* __tstate = wxPyBeginAllowThreads();
22527 (arg1)->SetDC(arg2);
22528
22529 wxPyEndAllowThreads(__tstate);
22530 if (PyErr_Occurred()) SWIG_fail;
22531 }
22532 Py_INCREF(Py_None); resultobj = Py_None;
22533 return resultobj;
22534 fail:
22535 return NULL;
22536 }
22537
22538
22539 static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *, PyObject *args, PyObject *kwargs) {
22540 PyObject *resultobj;
22541 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22542 int arg2 ;
22543 int arg3 ;
22544 PyObject * obj0 = 0 ;
22545 PyObject * obj1 = 0 ;
22546 PyObject * obj2 = 0 ;
22547 char *kwnames[] = {
22548 (char *) "self",(char *) "w",(char *) "h", NULL
22549 };
22550
22551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) goto fail;
22552 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22553 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22554 arg2 = (int)SWIG_As_int(obj1);
22555 if (PyErr_Occurred()) SWIG_fail;
22556 arg3 = (int)SWIG_As_int(obj2);
22557 if (PyErr_Occurred()) SWIG_fail;
22558 {
22559 PyThreadState* __tstate = wxPyBeginAllowThreads();
22560 (arg1)->SetPageSizePixels(arg2,arg3);
22561
22562 wxPyEndAllowThreads(__tstate);
22563 if (PyErr_Occurred()) SWIG_fail;
22564 }
22565 Py_INCREF(Py_None); resultobj = Py_None;
22566 return resultobj;
22567 fail:
22568 return NULL;
22569 }
22570
22571
22572 static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *, PyObject *args, PyObject *kwargs) {
22573 PyObject *resultobj;
22574 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22575 int *arg2 = (int *) 0 ;
22576 int *arg3 = (int *) 0 ;
22577 int temp2 ;
22578 int res2 = 0 ;
22579 int temp3 ;
22580 int res3 = 0 ;
22581 PyObject * obj0 = 0 ;
22582 char *kwnames[] = {
22583 (char *) "self", NULL
22584 };
22585
22586 arg2 = &temp2; res2 = SWIG_NEWOBJ;
22587 arg3 = &temp3; res3 = SWIG_NEWOBJ;
22588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail;
22589 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22590 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22591 {
22592 PyThreadState* __tstate = wxPyBeginAllowThreads();
22593 (arg1)->GetPageSizePixels(arg2,arg3);
22594
22595 wxPyEndAllowThreads(__tstate);
22596 if (PyErr_Occurred()) SWIG_fail;
22597 }
22598 Py_INCREF(Py_None); resultobj = Py_None;
22599 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
22600 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
22601 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
22602 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
22603 return resultobj;
22604 fail:
22605 return NULL;
22606 }
22607
22608
22609 static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
22610 PyObject *resultobj;
22611 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22612 int arg2 ;
22613 int arg3 ;
22614 PyObject * obj0 = 0 ;
22615 PyObject * obj1 = 0 ;
22616 PyObject * obj2 = 0 ;
22617 char *kwnames[] = {
22618 (char *) "self",(char *) "w",(char *) "h", NULL
22619 };
22620
22621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) goto fail;
22622 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22623 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22624 arg2 = (int)SWIG_As_int(obj1);
22625 if (PyErr_Occurred()) SWIG_fail;
22626 arg3 = (int)SWIG_As_int(obj2);
22627 if (PyErr_Occurred()) SWIG_fail;
22628 {
22629 PyThreadState* __tstate = wxPyBeginAllowThreads();
22630 (arg1)->SetPageSizeMM(arg2,arg3);
22631
22632 wxPyEndAllowThreads(__tstate);
22633 if (PyErr_Occurred()) SWIG_fail;
22634 }
22635 Py_INCREF(Py_None); resultobj = Py_None;
22636 return resultobj;
22637 fail:
22638 return NULL;
22639 }
22640
22641
22642 static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
22643 PyObject *resultobj;
22644 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22645 int *arg2 = (int *) 0 ;
22646 int *arg3 = (int *) 0 ;
22647 int temp2 ;
22648 int res2 = 0 ;
22649 int temp3 ;
22650 int res3 = 0 ;
22651 PyObject * obj0 = 0 ;
22652 char *kwnames[] = {
22653 (char *) "self", NULL
22654 };
22655
22656 arg2 = &temp2; res2 = SWIG_NEWOBJ;
22657 arg3 = &temp3; res3 = SWIG_NEWOBJ;
22658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail;
22659 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22660 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22661 {
22662 PyThreadState* __tstate = wxPyBeginAllowThreads();
22663 (arg1)->GetPageSizeMM(arg2,arg3);
22664
22665 wxPyEndAllowThreads(__tstate);
22666 if (PyErr_Occurred()) SWIG_fail;
22667 }
22668 Py_INCREF(Py_None); resultobj = Py_None;
22669 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
22670 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
22671 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
22672 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
22673 return resultobj;
22674 fail:
22675 return NULL;
22676 }
22677
22678
22679 static PyObject *_wrap_Printout_SetPPIScreen(PyObject *, PyObject *args, PyObject *kwargs) {
22680 PyObject *resultobj;
22681 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22682 int arg2 ;
22683 int arg3 ;
22684 PyObject * obj0 = 0 ;
22685 PyObject * obj1 = 0 ;
22686 PyObject * obj2 = 0 ;
22687 char *kwnames[] = {
22688 (char *) "self",(char *) "x",(char *) "y", NULL
22689 };
22690
22691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
22692 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22693 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22694 arg2 = (int)SWIG_As_int(obj1);
22695 if (PyErr_Occurred()) SWIG_fail;
22696 arg3 = (int)SWIG_As_int(obj2);
22697 if (PyErr_Occurred()) SWIG_fail;
22698 {
22699 PyThreadState* __tstate = wxPyBeginAllowThreads();
22700 (arg1)->SetPPIScreen(arg2,arg3);
22701
22702 wxPyEndAllowThreads(__tstate);
22703 if (PyErr_Occurred()) SWIG_fail;
22704 }
22705 Py_INCREF(Py_None); resultobj = Py_None;
22706 return resultobj;
22707 fail:
22708 return NULL;
22709 }
22710
22711
22712 static PyObject *_wrap_Printout_GetPPIScreen(PyObject *, PyObject *args, PyObject *kwargs) {
22713 PyObject *resultobj;
22714 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22715 int *arg2 = (int *) 0 ;
22716 int *arg3 = (int *) 0 ;
22717 int temp2 ;
22718 int res2 = 0 ;
22719 int temp3 ;
22720 int res3 = 0 ;
22721 PyObject * obj0 = 0 ;
22722 char *kwnames[] = {
22723 (char *) "self", NULL
22724 };
22725
22726 arg2 = &temp2; res2 = SWIG_NEWOBJ;
22727 arg3 = &temp3; res3 = SWIG_NEWOBJ;
22728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",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)->GetPPIScreen(arg2,arg3);
22734
22735 wxPyEndAllowThreads(__tstate);
22736 if (PyErr_Occurred()) SWIG_fail;
22737 }
22738 Py_INCREF(Py_None); resultobj = Py_None;
22739 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
22740 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
22741 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
22742 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
22743 return resultobj;
22744 fail:
22745 return NULL;
22746 }
22747
22748
22749 static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *, PyObject *args, PyObject *kwargs) {
22750 PyObject *resultobj;
22751 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22752 int arg2 ;
22753 int arg3 ;
22754 PyObject * obj0 = 0 ;
22755 PyObject * obj1 = 0 ;
22756 PyObject * obj2 = 0 ;
22757 char *kwnames[] = {
22758 (char *) "self",(char *) "x",(char *) "y", NULL
22759 };
22760
22761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) goto fail;
22762 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22763 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22764 arg2 = (int)SWIG_As_int(obj1);
22765 if (PyErr_Occurred()) SWIG_fail;
22766 arg3 = (int)SWIG_As_int(obj2);
22767 if (PyErr_Occurred()) SWIG_fail;
22768 {
22769 PyThreadState* __tstate = wxPyBeginAllowThreads();
22770 (arg1)->SetPPIPrinter(arg2,arg3);
22771
22772 wxPyEndAllowThreads(__tstate);
22773 if (PyErr_Occurred()) SWIG_fail;
22774 }
22775 Py_INCREF(Py_None); resultobj = Py_None;
22776 return resultobj;
22777 fail:
22778 return NULL;
22779 }
22780
22781
22782 static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *, PyObject *args, PyObject *kwargs) {
22783 PyObject *resultobj;
22784 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22785 int *arg2 = (int *) 0 ;
22786 int *arg3 = (int *) 0 ;
22787 int temp2 ;
22788 int res2 = 0 ;
22789 int temp3 ;
22790 int res3 = 0 ;
22791 PyObject * obj0 = 0 ;
22792 char *kwnames[] = {
22793 (char *) "self", NULL
22794 };
22795
22796 arg2 = &temp2; res2 = SWIG_NEWOBJ;
22797 arg3 = &temp3; res3 = SWIG_NEWOBJ;
22798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail;
22799 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22800 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22801 {
22802 PyThreadState* __tstate = wxPyBeginAllowThreads();
22803 (arg1)->GetPPIPrinter(arg2,arg3);
22804
22805 wxPyEndAllowThreads(__tstate);
22806 if (PyErr_Occurred()) SWIG_fail;
22807 }
22808 Py_INCREF(Py_None); resultobj = Py_None;
22809 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
22810 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
22811 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
22812 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
22813 return resultobj;
22814 fail:
22815 return NULL;
22816 }
22817
22818
22819 static PyObject *_wrap_Printout_IsPreview(PyObject *, PyObject *args, PyObject *kwargs) {
22820 PyObject *resultobj;
22821 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22822 bool result;
22823 PyObject * obj0 = 0 ;
22824 char *kwnames[] = {
22825 (char *) "self", NULL
22826 };
22827
22828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail;
22829 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22830 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22831 {
22832 PyThreadState* __tstate = wxPyBeginAllowThreads();
22833 result = (bool)(arg1)->IsPreview();
22834
22835 wxPyEndAllowThreads(__tstate);
22836 if (PyErr_Occurred()) SWIG_fail;
22837 }
22838 {
22839 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22840 }
22841 return resultobj;
22842 fail:
22843 return NULL;
22844 }
22845
22846
22847 static PyObject *_wrap_Printout_SetIsPreview(PyObject *, PyObject *args, PyObject *kwargs) {
22848 PyObject *resultobj;
22849 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22850 bool arg2 ;
22851 PyObject * obj0 = 0 ;
22852 PyObject * obj1 = 0 ;
22853 char *kwnames[] = {
22854 (char *) "self",(char *) "p", NULL
22855 };
22856
22857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail;
22858 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22859 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22860 arg2 = (bool)SWIG_As_bool(obj1);
22861 if (PyErr_Occurred()) SWIG_fail;
22862 {
22863 PyThreadState* __tstate = wxPyBeginAllowThreads();
22864 (arg1)->SetIsPreview(arg2);
22865
22866 wxPyEndAllowThreads(__tstate);
22867 if (PyErr_Occurred()) SWIG_fail;
22868 }
22869 Py_INCREF(Py_None); resultobj = Py_None;
22870 return resultobj;
22871 fail:
22872 return NULL;
22873 }
22874
22875
22876 static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *, PyObject *args, PyObject *kwargs) {
22877 PyObject *resultobj;
22878 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22879 int arg2 ;
22880 int arg3 ;
22881 bool result;
22882 PyObject * obj0 = 0 ;
22883 PyObject * obj1 = 0 ;
22884 PyObject * obj2 = 0 ;
22885 char *kwnames[] = {
22886 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
22887 };
22888
22889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_base_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) goto fail;
22890 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22892 arg2 = (int)SWIG_As_int(obj1);
22893 if (PyErr_Occurred()) SWIG_fail;
22894 arg3 = (int)SWIG_As_int(obj2);
22895 if (PyErr_Occurred()) SWIG_fail;
22896 {
22897 PyThreadState* __tstate = wxPyBeginAllowThreads();
22898 result = (bool)(arg1)->base_OnBeginDocument(arg2,arg3);
22899
22900 wxPyEndAllowThreads(__tstate);
22901 if (PyErr_Occurred()) SWIG_fail;
22902 }
22903 {
22904 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22905 }
22906 return resultobj;
22907 fail:
22908 return NULL;
22909 }
22910
22911
22912 static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *, PyObject *args, PyObject *kwargs) {
22913 PyObject *resultobj;
22914 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22915 PyObject * obj0 = 0 ;
22916 char *kwnames[] = {
22917 (char *) "self", NULL
22918 };
22919
22920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndDocument",kwnames,&obj0)) goto fail;
22921 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22923 {
22924 PyThreadState* __tstate = wxPyBeginAllowThreads();
22925 (arg1)->base_OnEndDocument();
22926
22927 wxPyEndAllowThreads(__tstate);
22928 if (PyErr_Occurred()) SWIG_fail;
22929 }
22930 Py_INCREF(Py_None); resultobj = Py_None;
22931 return resultobj;
22932 fail:
22933 return NULL;
22934 }
22935
22936
22937 static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
22938 PyObject *resultobj;
22939 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22940 PyObject * obj0 = 0 ;
22941 char *kwnames[] = {
22942 (char *) "self", NULL
22943 };
22944
22945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnBeginPrinting",kwnames,&obj0)) goto fail;
22946 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22947 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22948 {
22949 PyThreadState* __tstate = wxPyBeginAllowThreads();
22950 (arg1)->base_OnBeginPrinting();
22951
22952 wxPyEndAllowThreads(__tstate);
22953 if (PyErr_Occurred()) SWIG_fail;
22954 }
22955 Py_INCREF(Py_None); resultobj = Py_None;
22956 return resultobj;
22957 fail:
22958 return NULL;
22959 }
22960
22961
22962 static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
22963 PyObject *resultobj;
22964 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22965 PyObject * obj0 = 0 ;
22966 char *kwnames[] = {
22967 (char *) "self", NULL
22968 };
22969
22970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndPrinting",kwnames,&obj0)) goto fail;
22971 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22972 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22973 {
22974 PyThreadState* __tstate = wxPyBeginAllowThreads();
22975 (arg1)->base_OnEndPrinting();
22976
22977 wxPyEndAllowThreads(__tstate);
22978 if (PyErr_Occurred()) SWIG_fail;
22979 }
22980 Py_INCREF(Py_None); resultobj = Py_None;
22981 return resultobj;
22982 fail:
22983 return NULL;
22984 }
22985
22986
22987 static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *, PyObject *args, PyObject *kwargs) {
22988 PyObject *resultobj;
22989 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22990 PyObject * obj0 = 0 ;
22991 char *kwnames[] = {
22992 (char *) "self", NULL
22993 };
22994
22995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnPreparePrinting",kwnames,&obj0)) goto fail;
22996 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22997 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22998 {
22999 PyThreadState* __tstate = wxPyBeginAllowThreads();
23000 (arg1)->base_OnPreparePrinting();
23001
23002 wxPyEndAllowThreads(__tstate);
23003 if (PyErr_Occurred()) SWIG_fail;
23004 }
23005 Py_INCREF(Py_None); resultobj = Py_None;
23006 return resultobj;
23007 fail:
23008 return NULL;
23009 }
23010
23011
23012 static PyObject *_wrap_Printout_base_HasPage(PyObject *, PyObject *args, PyObject *kwargs) {
23013 PyObject *resultobj;
23014 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23015 int arg2 ;
23016 bool result;
23017 PyObject * obj0 = 0 ;
23018 PyObject * obj1 = 0 ;
23019 char *kwnames[] = {
23020 (char *) "self",(char *) "page", NULL
23021 };
23022
23023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_base_HasPage",kwnames,&obj0,&obj1)) goto fail;
23024 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23025 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23026 arg2 = (int)SWIG_As_int(obj1);
23027 if (PyErr_Occurred()) SWIG_fail;
23028 {
23029 PyThreadState* __tstate = wxPyBeginAllowThreads();
23030 result = (bool)(arg1)->base_HasPage(arg2);
23031
23032 wxPyEndAllowThreads(__tstate);
23033 if (PyErr_Occurred()) SWIG_fail;
23034 }
23035 {
23036 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23037 }
23038 return resultobj;
23039 fail:
23040 return NULL;
23041 }
23042
23043
23044 static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *, PyObject *args, PyObject *kwargs) {
23045 PyObject *resultobj;
23046 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23047 int *arg2 = (int *) 0 ;
23048 int *arg3 = (int *) 0 ;
23049 int *arg4 = (int *) 0 ;
23050 int *arg5 = (int *) 0 ;
23051 int temp2 ;
23052 int res2 = 0 ;
23053 int temp3 ;
23054 int res3 = 0 ;
23055 int temp4 ;
23056 int res4 = 0 ;
23057 int temp5 ;
23058 int res5 = 0 ;
23059 PyObject * obj0 = 0 ;
23060 char *kwnames[] = {
23061 (char *) "self", NULL
23062 };
23063
23064 arg2 = &temp2; res2 = SWIG_NEWOBJ;
23065 arg3 = &temp3; res3 = SWIG_NEWOBJ;
23066 arg4 = &temp4; res4 = SWIG_NEWOBJ;
23067 arg5 = &temp5; res5 = SWIG_NEWOBJ;
23068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_GetPageInfo",kwnames,&obj0)) goto fail;
23069 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23070 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23071 {
23072 PyThreadState* __tstate = wxPyBeginAllowThreads();
23073 (arg1)->base_GetPageInfo(arg2,arg3,arg4,arg5);
23074
23075 wxPyEndAllowThreads(__tstate);
23076 if (PyErr_Occurred()) SWIG_fail;
23077 }
23078 Py_INCREF(Py_None); resultobj = Py_None;
23079 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
23080 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
23081 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
23082 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
23083 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
23084 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
23085 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
23086 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
23087 return resultobj;
23088 fail:
23089 return NULL;
23090 }
23091
23092
23093 static PyObject * Printout_swigregister(PyObject *, PyObject *args) {
23094 PyObject *obj;
23095 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23096 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj);
23097 Py_INCREF(obj);
23098 return Py_BuildValue((char *)"");
23099 }
23100 static PyObject *_wrap_new_PreviewCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
23101 PyObject *resultobj;
23102 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23103 wxWindow *arg2 = (wxWindow *) 0 ;
23104 wxPoint const &arg3_defvalue = wxDefaultPosition ;
23105 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
23106 wxSize const &arg4_defvalue = wxDefaultSize ;
23107 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
23108 long arg5 = (long) 0 ;
23109 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
23110 wxString *arg6 = (wxString *) &arg6_defvalue ;
23111 wxPreviewCanvas *result;
23112 wxPoint temp3 ;
23113 wxSize temp4 ;
23114 bool temp6 = false ;
23115 PyObject * obj0 = 0 ;
23116 PyObject * obj1 = 0 ;
23117 PyObject * obj2 = 0 ;
23118 PyObject * obj3 = 0 ;
23119 PyObject * obj4 = 0 ;
23120 PyObject * obj5 = 0 ;
23121 char *kwnames[] = {
23122 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23123 };
23124
23125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
23126 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23127 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23128 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
23129 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23130 if (obj2) {
23131 {
23132 arg3 = &temp3;
23133 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
23134 }
23135 }
23136 if (obj3) {
23137 {
23138 arg4 = &temp4;
23139 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
23140 }
23141 }
23142 if (obj4) {
23143 arg5 = (long)SWIG_As_long(obj4);
23144 if (PyErr_Occurred()) SWIG_fail;
23145 }
23146 if (obj5) {
23147 {
23148 arg6 = wxString_in_helper(obj5);
23149 if (arg6 == NULL) SWIG_fail;
23150 temp6 = true;
23151 }
23152 }
23153 {
23154 if (!wxPyCheckForApp()) SWIG_fail;
23155 PyThreadState* __tstate = wxPyBeginAllowThreads();
23156 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
23157
23158 wxPyEndAllowThreads(__tstate);
23159 if (PyErr_Occurred()) SWIG_fail;
23160 }
23161 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 1);
23162 {
23163 if (temp6)
23164 delete arg6;
23165 }
23166 return resultobj;
23167 fail:
23168 {
23169 if (temp6)
23170 delete arg6;
23171 }
23172 return NULL;
23173 }
23174
23175
23176 static PyObject * PreviewCanvas_swigregister(PyObject *, PyObject *args) {
23177 PyObject *obj;
23178 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23179 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj);
23180 Py_INCREF(obj);
23181 return Py_BuildValue((char *)"");
23182 }
23183 static PyObject *_wrap_new_PreviewFrame(PyObject *, PyObject *args, PyObject *kwargs) {
23184 PyObject *resultobj;
23185 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23186 wxFrame *arg2 = (wxFrame *) 0 ;
23187 wxString *arg3 = 0 ;
23188 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23189 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23190 wxSize const &arg5_defvalue = wxDefaultSize ;
23191 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23192 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
23193 wxString const &arg7_defvalue = wxPyFrameNameStr ;
23194 wxString *arg7 = (wxString *) &arg7_defvalue ;
23195 wxPreviewFrame *result;
23196 bool temp3 = false ;
23197 wxPoint temp4 ;
23198 wxSize temp5 ;
23199 bool temp7 = false ;
23200 PyObject * obj0 = 0 ;
23201 PyObject * obj1 = 0 ;
23202 PyObject * obj2 = 0 ;
23203 PyObject * obj3 = 0 ;
23204 PyObject * obj4 = 0 ;
23205 PyObject * obj5 = 0 ;
23206 PyObject * obj6 = 0 ;
23207 char *kwnames[] = {
23208 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23209 };
23210
23211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
23212 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23213 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23214 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
23215 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23216 {
23217 arg3 = wxString_in_helper(obj2);
23218 if (arg3 == NULL) SWIG_fail;
23219 temp3 = true;
23220 }
23221 if (obj3) {
23222 {
23223 arg4 = &temp4;
23224 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23225 }
23226 }
23227 if (obj4) {
23228 {
23229 arg5 = &temp5;
23230 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23231 }
23232 }
23233 if (obj5) {
23234 arg6 = (long)SWIG_As_long(obj5);
23235 if (PyErr_Occurred()) SWIG_fail;
23236 }
23237 if (obj6) {
23238 {
23239 arg7 = wxString_in_helper(obj6);
23240 if (arg7 == NULL) SWIG_fail;
23241 temp7 = true;
23242 }
23243 }
23244 {
23245 if (!wxPyCheckForApp()) SWIG_fail;
23246 PyThreadState* __tstate = wxPyBeginAllowThreads();
23247 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
23248
23249 wxPyEndAllowThreads(__tstate);
23250 if (PyErr_Occurred()) SWIG_fail;
23251 }
23252 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewFrame, 1);
23253 {
23254 if (temp3)
23255 delete arg3;
23256 }
23257 {
23258 if (temp7)
23259 delete arg7;
23260 }
23261 return resultobj;
23262 fail:
23263 {
23264 if (temp3)
23265 delete arg3;
23266 }
23267 {
23268 if (temp7)
23269 delete arg7;
23270 }
23271 return NULL;
23272 }
23273
23274
23275 static PyObject *_wrap_PreviewFrame_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
23276 PyObject *resultobj;
23277 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
23278 PyObject * obj0 = 0 ;
23279 char *kwnames[] = {
23280 (char *) "self", NULL
23281 };
23282
23283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail;
23284 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
23285 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23286 {
23287 PyThreadState* __tstate = wxPyBeginAllowThreads();
23288 (arg1)->Initialize();
23289
23290 wxPyEndAllowThreads(__tstate);
23291 if (PyErr_Occurred()) SWIG_fail;
23292 }
23293 Py_INCREF(Py_None); resultobj = Py_None;
23294 return resultobj;
23295 fail:
23296 return NULL;
23297 }
23298
23299
23300 static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
23301 PyObject *resultobj;
23302 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
23303 PyObject * obj0 = 0 ;
23304 char *kwnames[] = {
23305 (char *) "self", NULL
23306 };
23307
23308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail;
23309 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
23310 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23311 {
23312 PyThreadState* __tstate = wxPyBeginAllowThreads();
23313 (arg1)->CreateControlBar();
23314
23315 wxPyEndAllowThreads(__tstate);
23316 if (PyErr_Occurred()) SWIG_fail;
23317 }
23318 Py_INCREF(Py_None); resultobj = Py_None;
23319 return resultobj;
23320 fail:
23321 return NULL;
23322 }
23323
23324
23325 static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
23326 PyObject *resultobj;
23327 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
23328 PyObject * obj0 = 0 ;
23329 char *kwnames[] = {
23330 (char *) "self", NULL
23331 };
23332
23333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail;
23334 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
23335 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23336 {
23337 PyThreadState* __tstate = wxPyBeginAllowThreads();
23338 (arg1)->CreateCanvas();
23339
23340 wxPyEndAllowThreads(__tstate);
23341 if (PyErr_Occurred()) SWIG_fail;
23342 }
23343 Py_INCREF(Py_None); resultobj = Py_None;
23344 return resultobj;
23345 fail:
23346 return NULL;
23347 }
23348
23349
23350 static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
23351 PyObject *resultobj;
23352 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
23353 wxPreviewControlBar *result;
23354 PyObject * obj0 = 0 ;
23355 char *kwnames[] = {
23356 (char *) "self", NULL
23357 };
23358
23359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail;
23360 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
23361 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23362 {
23363 PyThreadState* __tstate = wxPyBeginAllowThreads();
23364 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
23365
23366 wxPyEndAllowThreads(__tstate);
23367 if (PyErr_Occurred()) SWIG_fail;
23368 }
23369 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 0);
23370 return resultobj;
23371 fail:
23372 return NULL;
23373 }
23374
23375
23376 static PyObject * PreviewFrame_swigregister(PyObject *, PyObject *args) {
23377 PyObject *obj;
23378 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23379 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj);
23380 Py_INCREF(obj);
23381 return Py_BuildValue((char *)"");
23382 }
23383 static PyObject *_wrap_new_PreviewControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
23384 PyObject *resultobj;
23385 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23386 long arg2 ;
23387 wxWindow *arg3 = (wxWindow *) 0 ;
23388 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23389 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23390 wxSize const &arg5_defvalue = wxDefaultSize ;
23391 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23392 long arg6 = (long) wxTAB_TRAVERSAL ;
23393 wxString const &arg7_defvalue = wxPyPanelNameStr ;
23394 wxString *arg7 = (wxString *) &arg7_defvalue ;
23395 wxPreviewControlBar *result;
23396 wxPoint temp4 ;
23397 wxSize temp5 ;
23398 bool temp7 = false ;
23399 PyObject * obj0 = 0 ;
23400 PyObject * obj1 = 0 ;
23401 PyObject * obj2 = 0 ;
23402 PyObject * obj3 = 0 ;
23403 PyObject * obj4 = 0 ;
23404 PyObject * obj5 = 0 ;
23405 PyObject * obj6 = 0 ;
23406 char *kwnames[] = {
23407 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23408 };
23409
23410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
23411 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23412 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23413 arg2 = (long)SWIG_As_long(obj1);
23414 if (PyErr_Occurred()) SWIG_fail;
23415 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
23416 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23417 if (obj3) {
23418 {
23419 arg4 = &temp4;
23420 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23421 }
23422 }
23423 if (obj4) {
23424 {
23425 arg5 = &temp5;
23426 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23427 }
23428 }
23429 if (obj5) {
23430 arg6 = (long)SWIG_As_long(obj5);
23431 if (PyErr_Occurred()) SWIG_fail;
23432 }
23433 if (obj6) {
23434 {
23435 arg7 = wxString_in_helper(obj6);
23436 if (arg7 == NULL) SWIG_fail;
23437 temp7 = true;
23438 }
23439 }
23440 {
23441 if (!wxPyCheckForApp()) SWIG_fail;
23442 PyThreadState* __tstate = wxPyBeginAllowThreads();
23443 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
23444
23445 wxPyEndAllowThreads(__tstate);
23446 if (PyErr_Occurred()) SWIG_fail;
23447 }
23448 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 1);
23449 {
23450 if (temp7)
23451 delete arg7;
23452 }
23453 return resultobj;
23454 fail:
23455 {
23456 if (temp7)
23457 delete arg7;
23458 }
23459 return NULL;
23460 }
23461
23462
23463 static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
23464 PyObject *resultobj;
23465 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23466 int result;
23467 PyObject * obj0 = 0 ;
23468 char *kwnames[] = {
23469 (char *) "self", NULL
23470 };
23471
23472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail;
23473 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23474 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23475 {
23476 PyThreadState* __tstate = wxPyBeginAllowThreads();
23477 result = (int)(arg1)->GetZoomControl();
23478
23479 wxPyEndAllowThreads(__tstate);
23480 if (PyErr_Occurred()) SWIG_fail;
23481 }
23482 resultobj = SWIG_From_int((int)result);
23483 return resultobj;
23484 fail:
23485 return NULL;
23486 }
23487
23488
23489 static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
23490 PyObject *resultobj;
23491 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23492 int arg2 ;
23493 PyObject * obj0 = 0 ;
23494 PyObject * obj1 = 0 ;
23495 char *kwnames[] = {
23496 (char *) "self",(char *) "zoom", NULL
23497 };
23498
23499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
23500 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23501 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23502 arg2 = (int)SWIG_As_int(obj1);
23503 if (PyErr_Occurred()) SWIG_fail;
23504 {
23505 PyThreadState* __tstate = wxPyBeginAllowThreads();
23506 (arg1)->SetZoomControl(arg2);
23507
23508 wxPyEndAllowThreads(__tstate);
23509 if (PyErr_Occurred()) SWIG_fail;
23510 }
23511 Py_INCREF(Py_None); resultobj = Py_None;
23512 return resultobj;
23513 fail:
23514 return NULL;
23515 }
23516
23517
23518 static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *, PyObject *args, PyObject *kwargs) {
23519 PyObject *resultobj;
23520 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23521 wxPrintPreview *result;
23522 PyObject * obj0 = 0 ;
23523 char *kwnames[] = {
23524 (char *) "self", NULL
23525 };
23526
23527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail;
23528 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23529 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23530 {
23531 PyThreadState* __tstate = wxPyBeginAllowThreads();
23532 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
23533
23534 wxPyEndAllowThreads(__tstate);
23535 if (PyErr_Occurred()) SWIG_fail;
23536 }
23537 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 0);
23538 return resultobj;
23539 fail:
23540 return NULL;
23541 }
23542
23543
23544 static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *, PyObject *args, PyObject *kwargs) {
23545 PyObject *resultobj;
23546 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23547 PyObject * obj0 = 0 ;
23548 char *kwnames[] = {
23549 (char *) "self", NULL
23550 };
23551
23552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail;
23553 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23554 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23555 {
23556 PyThreadState* __tstate = wxPyBeginAllowThreads();
23557 (arg1)->OnNext();
23558
23559 wxPyEndAllowThreads(__tstate);
23560 if (PyErr_Occurred()) SWIG_fail;
23561 }
23562 Py_INCREF(Py_None); resultobj = Py_None;
23563 return resultobj;
23564 fail:
23565 return NULL;
23566 }
23567
23568
23569 static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *, PyObject *args, PyObject *kwargs) {
23570 PyObject *resultobj;
23571 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23572 PyObject * obj0 = 0 ;
23573 char *kwnames[] = {
23574 (char *) "self", NULL
23575 };
23576
23577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail;
23578 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23579 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23580 {
23581 PyThreadState* __tstate = wxPyBeginAllowThreads();
23582 (arg1)->OnPrevious();
23583
23584 wxPyEndAllowThreads(__tstate);
23585 if (PyErr_Occurred()) SWIG_fail;
23586 }
23587 Py_INCREF(Py_None); resultobj = Py_None;
23588 return resultobj;
23589 fail:
23590 return NULL;
23591 }
23592
23593
23594 static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *, PyObject *args, PyObject *kwargs) {
23595 PyObject *resultobj;
23596 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23597 PyObject * obj0 = 0 ;
23598 char *kwnames[] = {
23599 (char *) "self", NULL
23600 };
23601
23602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail;
23603 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23604 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23605 {
23606 PyThreadState* __tstate = wxPyBeginAllowThreads();
23607 (arg1)->OnFirst();
23608
23609 wxPyEndAllowThreads(__tstate);
23610 if (PyErr_Occurred()) SWIG_fail;
23611 }
23612 Py_INCREF(Py_None); resultobj = Py_None;
23613 return resultobj;
23614 fail:
23615 return NULL;
23616 }
23617
23618
23619 static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *, PyObject *args, PyObject *kwargs) {
23620 PyObject *resultobj;
23621 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23622 PyObject * obj0 = 0 ;
23623 char *kwnames[] = {
23624 (char *) "self", NULL
23625 };
23626
23627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail;
23628 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23629 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23630 {
23631 PyThreadState* __tstate = wxPyBeginAllowThreads();
23632 (arg1)->OnLast();
23633
23634 wxPyEndAllowThreads(__tstate);
23635 if (PyErr_Occurred()) SWIG_fail;
23636 }
23637 Py_INCREF(Py_None); resultobj = Py_None;
23638 return resultobj;
23639 fail:
23640 return NULL;
23641 }
23642
23643
23644 static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *, PyObject *args, PyObject *kwargs) {
23645 PyObject *resultobj;
23646 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23647 PyObject * obj0 = 0 ;
23648 char *kwnames[] = {
23649 (char *) "self", NULL
23650 };
23651
23652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail;
23653 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23654 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23655 {
23656 PyThreadState* __tstate = wxPyBeginAllowThreads();
23657 (arg1)->OnGoto();
23658
23659 wxPyEndAllowThreads(__tstate);
23660 if (PyErr_Occurred()) SWIG_fail;
23661 }
23662 Py_INCREF(Py_None); resultobj = Py_None;
23663 return resultobj;
23664 fail:
23665 return NULL;
23666 }
23667
23668
23669 static PyObject * PreviewControlBar_swigregister(PyObject *, PyObject *args) {
23670 PyObject *obj;
23671 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23672 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj);
23673 Py_INCREF(obj);
23674 return Py_BuildValue((char *)"");
23675 }
23676 static PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *, PyObject *args) {
23677 PyObject *resultobj;
23678 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23679 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23680 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
23681 wxPrintPreview *result;
23682 PyObject * obj0 = 0 ;
23683 PyObject * obj1 = 0 ;
23684 PyObject * obj2 = 0 ;
23685
23686 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
23687 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23688 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23689 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23690 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23691 if (obj2) {
23692 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintDialogData,
23693 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23694 }
23695 {
23696 if (!wxPyCheckForApp()) SWIG_fail;
23697 PyThreadState* __tstate = wxPyBeginAllowThreads();
23698 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
23699
23700 wxPyEndAllowThreads(__tstate);
23701 if (PyErr_Occurred()) SWIG_fail;
23702 }
23703 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
23704 return resultobj;
23705 fail:
23706 return NULL;
23707 }
23708
23709
23710 static PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *, PyObject *args) {
23711 PyObject *resultobj;
23712 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23713 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23714 wxPrintData *arg3 = (wxPrintData *) 0 ;
23715 wxPrintPreview *result;
23716 PyObject * obj0 = 0 ;
23717 PyObject * obj1 = 0 ;
23718 PyObject * obj2 = 0 ;
23719
23720 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
23721 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23722 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23723 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23724 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23725 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData,
23726 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23727 {
23728 if (!wxPyCheckForApp()) SWIG_fail;
23729 PyThreadState* __tstate = wxPyBeginAllowThreads();
23730 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
23731
23732 wxPyEndAllowThreads(__tstate);
23733 if (PyErr_Occurred()) SWIG_fail;
23734 }
23735 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
23736 return resultobj;
23737 fail:
23738 return NULL;
23739 }
23740
23741
23742 static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
23743 int argc;
23744 PyObject *argv[4];
23745 int ii;
23746
23747 argc = PyObject_Length(args);
23748 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
23749 argv[ii] = PyTuple_GetItem(args,ii);
23750 }
23751 if ((argc >= 2) && (argc <= 3)) {
23752 int _v;
23753 {
23754 void *ptr;
23755 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23756 _v = 0;
23757 PyErr_Clear();
23758 } else {
23759 _v = 1;
23760 }
23761 }
23762 if (_v) {
23763 {
23764 void *ptr;
23765 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23766 _v = 0;
23767 PyErr_Clear();
23768 } else {
23769 _v = 1;
23770 }
23771 }
23772 if (_v) {
23773 if (argc <= 2) {
23774 return _wrap_new_PrintPreview__SWIG_0(self,args);
23775 }
23776 {
23777 void *ptr;
23778 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
23779 _v = 0;
23780 PyErr_Clear();
23781 } else {
23782 _v = 1;
23783 }
23784 }
23785 if (_v) {
23786 return _wrap_new_PrintPreview__SWIG_0(self,args);
23787 }
23788 }
23789 }
23790 }
23791 if (argc == 3) {
23792 int _v;
23793 {
23794 void *ptr;
23795 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23796 _v = 0;
23797 PyErr_Clear();
23798 } else {
23799 _v = 1;
23800 }
23801 }
23802 if (_v) {
23803 {
23804 void *ptr;
23805 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23806 _v = 0;
23807 PyErr_Clear();
23808 } else {
23809 _v = 1;
23810 }
23811 }
23812 if (_v) {
23813 {
23814 void *ptr;
23815 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
23816 _v = 0;
23817 PyErr_Clear();
23818 } else {
23819 _v = 1;
23820 }
23821 }
23822 if (_v) {
23823 return _wrap_new_PrintPreview__SWIG_1(self,args);
23824 }
23825 }
23826 }
23827 }
23828
23829 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintPreview'");
23830 return NULL;
23831 }
23832
23833
23834 static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
23835 PyObject *resultobj;
23836 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23837 int arg2 ;
23838 bool result;
23839 PyObject * obj0 = 0 ;
23840 PyObject * obj1 = 0 ;
23841 char *kwnames[] = {
23842 (char *) "self",(char *) "pageNum", NULL
23843 };
23844
23845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
23846 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23847 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23848 arg2 = (int)SWIG_As_int(obj1);
23849 if (PyErr_Occurred()) SWIG_fail;
23850 {
23851 PyThreadState* __tstate = wxPyBeginAllowThreads();
23852 result = (bool)(arg1)->SetCurrentPage(arg2);
23853
23854 wxPyEndAllowThreads(__tstate);
23855 if (PyErr_Occurred()) SWIG_fail;
23856 }
23857 {
23858 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23859 }
23860 return resultobj;
23861 fail:
23862 return NULL;
23863 }
23864
23865
23866 static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
23867 PyObject *resultobj;
23868 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23869 int result;
23870 PyObject * obj0 = 0 ;
23871 char *kwnames[] = {
23872 (char *) "self", NULL
23873 };
23874
23875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail;
23876 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23877 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23878 {
23879 PyThreadState* __tstate = wxPyBeginAllowThreads();
23880 result = (int)(arg1)->GetCurrentPage();
23881
23882 wxPyEndAllowThreads(__tstate);
23883 if (PyErr_Occurred()) SWIG_fail;
23884 }
23885 resultobj = SWIG_From_int((int)result);
23886 return resultobj;
23887 fail:
23888 return NULL;
23889 }
23890
23891
23892 static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *, PyObject *args, PyObject *kwargs) {
23893 PyObject *resultobj;
23894 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23895 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23896 PyObject * obj0 = 0 ;
23897 PyObject * obj1 = 0 ;
23898 char *kwnames[] = {
23899 (char *) "self",(char *) "printout", NULL
23900 };
23901
23902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail;
23903 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23904 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23905 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23906 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23907 {
23908 PyThreadState* __tstate = wxPyBeginAllowThreads();
23909 (arg1)->SetPrintout(arg2);
23910
23911 wxPyEndAllowThreads(__tstate);
23912 if (PyErr_Occurred()) SWIG_fail;
23913 }
23914 Py_INCREF(Py_None); resultobj = Py_None;
23915 return resultobj;
23916 fail:
23917 return NULL;
23918 }
23919
23920
23921 static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *, PyObject *args, PyObject *kwargs) {
23922 PyObject *resultobj;
23923 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23924 wxPyPrintout *result;
23925 PyObject * obj0 = 0 ;
23926 char *kwnames[] = {
23927 (char *) "self", NULL
23928 };
23929
23930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail;
23931 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23932 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23933 {
23934 PyThreadState* __tstate = wxPyBeginAllowThreads();
23935 result = (wxPyPrintout *)(arg1)->GetPrintout();
23936
23937 wxPyEndAllowThreads(__tstate);
23938 if (PyErr_Occurred()) SWIG_fail;
23939 }
23940 {
23941 resultobj = wxPyMake_wxObject(result, 0);
23942 }
23943 return resultobj;
23944 fail:
23945 return NULL;
23946 }
23947
23948
23949 static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
23950 PyObject *resultobj;
23951 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23952 wxPyPrintout *result;
23953 PyObject * obj0 = 0 ;
23954 char *kwnames[] = {
23955 (char *) "self", NULL
23956 };
23957
23958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail;
23959 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23960 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23961 {
23962 PyThreadState* __tstate = wxPyBeginAllowThreads();
23963 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
23964
23965 wxPyEndAllowThreads(__tstate);
23966 if (PyErr_Occurred()) SWIG_fail;
23967 }
23968 {
23969 resultobj = wxPyMake_wxObject(result, 0);
23970 }
23971 return resultobj;
23972 fail:
23973 return NULL;
23974 }
23975
23976
23977 static PyObject *_wrap_PrintPreview_SetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
23978 PyObject *resultobj;
23979 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23980 wxFrame *arg2 = (wxFrame *) 0 ;
23981 PyObject * obj0 = 0 ;
23982 PyObject * obj1 = 0 ;
23983 char *kwnames[] = {
23984 (char *) "self",(char *) "frame", NULL
23985 };
23986
23987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail;
23988 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23989 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23990 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
23991 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23992 {
23993 PyThreadState* __tstate = wxPyBeginAllowThreads();
23994 (arg1)->SetFrame(arg2);
23995
23996 wxPyEndAllowThreads(__tstate);
23997 if (PyErr_Occurred()) SWIG_fail;
23998 }
23999 Py_INCREF(Py_None); resultobj = Py_None;
24000 return resultobj;
24001 fail:
24002 return NULL;
24003 }
24004
24005
24006 static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
24007 PyObject *resultobj;
24008 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24009 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
24010 PyObject * obj0 = 0 ;
24011 PyObject * obj1 = 0 ;
24012 char *kwnames[] = {
24013 (char *) "self",(char *) "canvas", NULL
24014 };
24015
24016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
24017 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24018 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24019 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
24020 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24021 {
24022 PyThreadState* __tstate = wxPyBeginAllowThreads();
24023 (arg1)->SetCanvas(arg2);
24024
24025 wxPyEndAllowThreads(__tstate);
24026 if (PyErr_Occurred()) SWIG_fail;
24027 }
24028 Py_INCREF(Py_None); resultobj = Py_None;
24029 return resultobj;
24030 fail:
24031 return NULL;
24032 }
24033
24034
24035 static PyObject *_wrap_PrintPreview_GetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
24036 PyObject *resultobj;
24037 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24038 wxFrame *result;
24039 PyObject * obj0 = 0 ;
24040 char *kwnames[] = {
24041 (char *) "self", NULL
24042 };
24043
24044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail;
24045 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24046 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24047 {
24048 PyThreadState* __tstate = wxPyBeginAllowThreads();
24049 result = (wxFrame *)(arg1)->GetFrame();
24050
24051 wxPyEndAllowThreads(__tstate);
24052 if (PyErr_Occurred()) SWIG_fail;
24053 }
24054 {
24055 resultobj = wxPyMake_wxObject(result, 0);
24056 }
24057 return resultobj;
24058 fail:
24059 return NULL;
24060 }
24061
24062
24063 static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
24064 PyObject *resultobj;
24065 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24066 wxPreviewCanvas *result;
24067 PyObject * obj0 = 0 ;
24068 char *kwnames[] = {
24069 (char *) "self", NULL
24070 };
24071
24072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail;
24073 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24074 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24075 {
24076 PyThreadState* __tstate = wxPyBeginAllowThreads();
24077 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
24078
24079 wxPyEndAllowThreads(__tstate);
24080 if (PyErr_Occurred()) SWIG_fail;
24081 }
24082 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 0);
24083 return resultobj;
24084 fail:
24085 return NULL;
24086 }
24087
24088
24089 static PyObject *_wrap_PrintPreview_PaintPage(PyObject *, PyObject *args, PyObject *kwargs) {
24090 PyObject *resultobj;
24091 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24092 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
24093 wxDC *arg3 = 0 ;
24094 bool result;
24095 PyObject * obj0 = 0 ;
24096 PyObject * obj1 = 0 ;
24097 PyObject * obj2 = 0 ;
24098 char *kwnames[] = {
24099 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24100 };
24101
24102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
24103 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24104 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24105 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
24106 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24107 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
24108 SWIG_POINTER_EXCEPTION | 0)) == -1)
24109 SWIG_fail;
24110 if (arg3 == NULL) {
24111 PyErr_SetString(PyExc_TypeError,"null reference");
24112 SWIG_fail;
24113 }
24114 {
24115 PyThreadState* __tstate = wxPyBeginAllowThreads();
24116 result = (bool)(arg1)->PaintPage(arg2,*arg3);
24117
24118 wxPyEndAllowThreads(__tstate);
24119 if (PyErr_Occurred()) SWIG_fail;
24120 }
24121 {
24122 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24123 }
24124 return resultobj;
24125 fail:
24126 return NULL;
24127 }
24128
24129
24130 static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *, PyObject *args, PyObject *kwargs) {
24131 PyObject *resultobj;
24132 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24133 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
24134 wxDC *arg3 = 0 ;
24135 bool result;
24136 PyObject * obj0 = 0 ;
24137 PyObject * obj1 = 0 ;
24138 PyObject * obj2 = 0 ;
24139 char *kwnames[] = {
24140 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24141 };
24142
24143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
24144 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24145 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24146 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
24147 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24148 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
24149 SWIG_POINTER_EXCEPTION | 0)) == -1)
24150 SWIG_fail;
24151 if (arg3 == NULL) {
24152 PyErr_SetString(PyExc_TypeError,"null reference");
24153 SWIG_fail;
24154 }
24155 {
24156 PyThreadState* __tstate = wxPyBeginAllowThreads();
24157 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
24158
24159 wxPyEndAllowThreads(__tstate);
24160 if (PyErr_Occurred()) SWIG_fail;
24161 }
24162 {
24163 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24164 }
24165 return resultobj;
24166 fail:
24167 return NULL;
24168 }
24169
24170
24171 static PyObject *_wrap_PrintPreview_RenderPage(PyObject *, PyObject *args, PyObject *kwargs) {
24172 PyObject *resultobj;
24173 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24174 int arg2 ;
24175 bool result;
24176 PyObject * obj0 = 0 ;
24177 PyObject * obj1 = 0 ;
24178 char *kwnames[] = {
24179 (char *) "self",(char *) "pageNum", NULL
24180 };
24181
24182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) goto fail;
24183 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24184 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24185 arg2 = (int)SWIG_As_int(obj1);
24186 if (PyErr_Occurred()) SWIG_fail;
24187 {
24188 PyThreadState* __tstate = wxPyBeginAllowThreads();
24189 result = (bool)(arg1)->RenderPage(arg2);
24190
24191 wxPyEndAllowThreads(__tstate);
24192 if (PyErr_Occurred()) SWIG_fail;
24193 }
24194 {
24195 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24196 }
24197 return resultobj;
24198 fail:
24199 return NULL;
24200 }
24201
24202
24203 static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
24204 PyObject *resultobj;
24205 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24206 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
24207 PyObject * obj0 = 0 ;
24208 PyObject * obj1 = 0 ;
24209 char *kwnames[] = {
24210 (char *) "self",(char *) "canvas", NULL
24211 };
24212
24213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail;
24214 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24215 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24216 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
24217 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24218 {
24219 PyThreadState* __tstate = wxPyBeginAllowThreads();
24220 (arg1)->AdjustScrollbars(arg2);
24221
24222 wxPyEndAllowThreads(__tstate);
24223 if (PyErr_Occurred()) SWIG_fail;
24224 }
24225 Py_INCREF(Py_None); resultobj = Py_None;
24226 return resultobj;
24227 fail:
24228 return NULL;
24229 }
24230
24231
24232 static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
24233 PyObject *resultobj;
24234 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24235 wxPrintDialogData *result;
24236 PyObject * obj0 = 0 ;
24237 char *kwnames[] = {
24238 (char *) "self", NULL
24239 };
24240
24241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail;
24242 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24243 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24244 {
24245 PyThreadState* __tstate = wxPyBeginAllowThreads();
24246 {
24247 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
24248 result = (wxPrintDialogData *) &_result_ref;
24249 }
24250
24251 wxPyEndAllowThreads(__tstate);
24252 if (PyErr_Occurred()) SWIG_fail;
24253 }
24254 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
24255 return resultobj;
24256 fail:
24257 return NULL;
24258 }
24259
24260
24261 static PyObject *_wrap_PrintPreview_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
24262 PyObject *resultobj;
24263 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24264 int arg2 ;
24265 PyObject * obj0 = 0 ;
24266 PyObject * obj1 = 0 ;
24267 char *kwnames[] = {
24268 (char *) "self",(char *) "percent", NULL
24269 };
24270
24271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) goto fail;
24272 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24273 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24274 arg2 = (int)SWIG_As_int(obj1);
24275 if (PyErr_Occurred()) SWIG_fail;
24276 {
24277 PyThreadState* __tstate = wxPyBeginAllowThreads();
24278 (arg1)->SetZoom(arg2);
24279
24280 wxPyEndAllowThreads(__tstate);
24281 if (PyErr_Occurred()) SWIG_fail;
24282 }
24283 Py_INCREF(Py_None); resultobj = Py_None;
24284 return resultobj;
24285 fail:
24286 return NULL;
24287 }
24288
24289
24290 static PyObject *_wrap_PrintPreview_GetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
24291 PyObject *resultobj;
24292 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24293 int result;
24294 PyObject * obj0 = 0 ;
24295 char *kwnames[] = {
24296 (char *) "self", NULL
24297 };
24298
24299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail;
24300 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24301 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24302 {
24303 PyThreadState* __tstate = wxPyBeginAllowThreads();
24304 result = (int)(arg1)->GetZoom();
24305
24306 wxPyEndAllowThreads(__tstate);
24307 if (PyErr_Occurred()) SWIG_fail;
24308 }
24309 resultobj = SWIG_From_int((int)result);
24310 return resultobj;
24311 fail:
24312 return NULL;
24313 }
24314
24315
24316 static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
24317 PyObject *resultobj;
24318 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24319 int result;
24320 PyObject * obj0 = 0 ;
24321 char *kwnames[] = {
24322 (char *) "self", NULL
24323 };
24324
24325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail;
24326 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24327 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24328 {
24329 PyThreadState* __tstate = wxPyBeginAllowThreads();
24330 result = (int)(arg1)->GetMaxPage();
24331
24332 wxPyEndAllowThreads(__tstate);
24333 if (PyErr_Occurred()) SWIG_fail;
24334 }
24335 resultobj = SWIG_From_int((int)result);
24336 return resultobj;
24337 fail:
24338 return NULL;
24339 }
24340
24341
24342 static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
24343 PyObject *resultobj;
24344 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24345 int result;
24346 PyObject * obj0 = 0 ;
24347 char *kwnames[] = {
24348 (char *) "self", NULL
24349 };
24350
24351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail;
24352 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24353 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24354 {
24355 PyThreadState* __tstate = wxPyBeginAllowThreads();
24356 result = (int)(arg1)->GetMinPage();
24357
24358 wxPyEndAllowThreads(__tstate);
24359 if (PyErr_Occurred()) SWIG_fail;
24360 }
24361 resultobj = SWIG_From_int((int)result);
24362 return resultobj;
24363 fail:
24364 return NULL;
24365 }
24366
24367
24368 static PyObject *_wrap_PrintPreview_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
24369 PyObject *resultobj;
24370 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24371 bool result;
24372 PyObject * obj0 = 0 ;
24373 char *kwnames[] = {
24374 (char *) "self", NULL
24375 };
24376
24377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail;
24378 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24379 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24380 {
24381 PyThreadState* __tstate = wxPyBeginAllowThreads();
24382 result = (bool)(arg1)->Ok();
24383
24384 wxPyEndAllowThreads(__tstate);
24385 if (PyErr_Occurred()) SWIG_fail;
24386 }
24387 {
24388 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24389 }
24390 return resultobj;
24391 fail:
24392 return NULL;
24393 }
24394
24395
24396 static PyObject *_wrap_PrintPreview_SetOk(PyObject *, PyObject *args, PyObject *kwargs) {
24397 PyObject *resultobj;
24398 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24399 bool arg2 ;
24400 PyObject * obj0 = 0 ;
24401 PyObject * obj1 = 0 ;
24402 char *kwnames[] = {
24403 (char *) "self",(char *) "ok", NULL
24404 };
24405
24406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail;
24407 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24408 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24409 arg2 = (bool)SWIG_As_bool(obj1);
24410 if (PyErr_Occurred()) SWIG_fail;
24411 {
24412 PyThreadState* __tstate = wxPyBeginAllowThreads();
24413 (arg1)->SetOk(arg2);
24414
24415 wxPyEndAllowThreads(__tstate);
24416 if (PyErr_Occurred()) SWIG_fail;
24417 }
24418 Py_INCREF(Py_None); resultobj = Py_None;
24419 return resultobj;
24420 fail:
24421 return NULL;
24422 }
24423
24424
24425 static PyObject *_wrap_PrintPreview_Print(PyObject *, PyObject *args, PyObject *kwargs) {
24426 PyObject *resultobj;
24427 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24428 bool arg2 ;
24429 bool result;
24430 PyObject * obj0 = 0 ;
24431 PyObject * obj1 = 0 ;
24432 char *kwnames[] = {
24433 (char *) "self",(char *) "interactive", NULL
24434 };
24435
24436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail;
24437 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24438 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24439 arg2 = (bool)SWIG_As_bool(obj1);
24440 if (PyErr_Occurred()) SWIG_fail;
24441 {
24442 PyThreadState* __tstate = wxPyBeginAllowThreads();
24443 result = (bool)(arg1)->Print(arg2);
24444
24445 wxPyEndAllowThreads(__tstate);
24446 if (PyErr_Occurred()) SWIG_fail;
24447 }
24448 {
24449 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24450 }
24451 return resultobj;
24452 fail:
24453 return NULL;
24454 }
24455
24456
24457 static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *, PyObject *args, PyObject *kwargs) {
24458 PyObject *resultobj;
24459 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24460 PyObject * obj0 = 0 ;
24461 char *kwnames[] = {
24462 (char *) "self", NULL
24463 };
24464
24465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail;
24466 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24468 {
24469 PyThreadState* __tstate = wxPyBeginAllowThreads();
24470 (arg1)->DetermineScaling();
24471
24472 wxPyEndAllowThreads(__tstate);
24473 if (PyErr_Occurred()) SWIG_fail;
24474 }
24475 Py_INCREF(Py_None); resultobj = Py_None;
24476 return resultobj;
24477 fail:
24478 return NULL;
24479 }
24480
24481
24482 static PyObject * PrintPreview_swigregister(PyObject *, PyObject *args) {
24483 PyObject *obj;
24484 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24485 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj);
24486 Py_INCREF(obj);
24487 return Py_BuildValue((char *)"");
24488 }
24489 static PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *, PyObject *args) {
24490 PyObject *resultobj;
24491 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24492 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
24493 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
24494 wxPyPrintPreview *result;
24495 PyObject * obj0 = 0 ;
24496 PyObject * obj1 = 0 ;
24497 PyObject * obj2 = 0 ;
24498
24499 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
24500 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
24501 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24502 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
24503 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24504 if (obj2) {
24505 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintDialogData,
24506 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24507 }
24508 {
24509 if (!wxPyCheckForApp()) SWIG_fail;
24510 PyThreadState* __tstate = wxPyBeginAllowThreads();
24511 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
24512
24513 wxPyEndAllowThreads(__tstate);
24514 if (PyErr_Occurred()) SWIG_fail;
24515 }
24516 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
24517 return resultobj;
24518 fail:
24519 return NULL;
24520 }
24521
24522
24523 static PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *, PyObject *args) {
24524 PyObject *resultobj;
24525 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24526 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
24527 wxPrintData *arg3 = (wxPrintData *) 0 ;
24528 wxPyPrintPreview *result;
24529 PyObject * obj0 = 0 ;
24530 PyObject * obj1 = 0 ;
24531 PyObject * obj2 = 0 ;
24532
24533 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
24534 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
24535 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24536 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
24537 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24538 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData,
24539 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24540 {
24541 if (!wxPyCheckForApp()) SWIG_fail;
24542 PyThreadState* __tstate = wxPyBeginAllowThreads();
24543 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
24544
24545 wxPyEndAllowThreads(__tstate);
24546 if (PyErr_Occurred()) SWIG_fail;
24547 }
24548 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
24549 return resultobj;
24550 fail:
24551 return NULL;
24552 }
24553
24554
24555 static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
24556 int argc;
24557 PyObject *argv[4];
24558 int ii;
24559
24560 argc = PyObject_Length(args);
24561 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
24562 argv[ii] = PyTuple_GetItem(args,ii);
24563 }
24564 if ((argc >= 2) && (argc <= 3)) {
24565 int _v;
24566 {
24567 void *ptr;
24568 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
24569 _v = 0;
24570 PyErr_Clear();
24571 } else {
24572 _v = 1;
24573 }
24574 }
24575 if (_v) {
24576 {
24577 void *ptr;
24578 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
24579 _v = 0;
24580 PyErr_Clear();
24581 } else {
24582 _v = 1;
24583 }
24584 }
24585 if (_v) {
24586 if (argc <= 2) {
24587 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
24588 }
24589 {
24590 void *ptr;
24591 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
24592 _v = 0;
24593 PyErr_Clear();
24594 } else {
24595 _v = 1;
24596 }
24597 }
24598 if (_v) {
24599 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
24600 }
24601 }
24602 }
24603 }
24604 if (argc == 3) {
24605 int _v;
24606 {
24607 void *ptr;
24608 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
24609 _v = 0;
24610 PyErr_Clear();
24611 } else {
24612 _v = 1;
24613 }
24614 }
24615 if (_v) {
24616 {
24617 void *ptr;
24618 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
24619 _v = 0;
24620 PyErr_Clear();
24621 } else {
24622 _v = 1;
24623 }
24624 }
24625 if (_v) {
24626 {
24627 void *ptr;
24628 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
24629 _v = 0;
24630 PyErr_Clear();
24631 } else {
24632 _v = 1;
24633 }
24634 }
24635 if (_v) {
24636 return _wrap_new_PyPrintPreview__SWIG_1(self,args);
24637 }
24638 }
24639 }
24640 }
24641
24642 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PyPrintPreview'");
24643 return NULL;
24644 }
24645
24646
24647 static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
24648 PyObject *resultobj;
24649 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24650 PyObject *arg2 = (PyObject *) 0 ;
24651 PyObject *arg3 = (PyObject *) 0 ;
24652 PyObject * obj0 = 0 ;
24653 PyObject * obj1 = 0 ;
24654 PyObject * obj2 = 0 ;
24655 char *kwnames[] = {
24656 (char *) "self",(char *) "self",(char *) "_class", NULL
24657 };
24658
24659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24660 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24661 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24662 arg2 = obj1;
24663 arg3 = obj2;
24664 {
24665 PyThreadState* __tstate = wxPyBeginAllowThreads();
24666 (arg1)->_setCallbackInfo(arg2,arg3);
24667
24668 wxPyEndAllowThreads(__tstate);
24669 if (PyErr_Occurred()) SWIG_fail;
24670 }
24671 Py_INCREF(Py_None); resultobj = Py_None;
24672 return resultobj;
24673 fail:
24674 return NULL;
24675 }
24676
24677
24678 static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
24679 PyObject *resultobj;
24680 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24681 int arg2 ;
24682 bool result;
24683 PyObject * obj0 = 0 ;
24684 PyObject * obj1 = 0 ;
24685 char *kwnames[] = {
24686 (char *) "self",(char *) "pageNum", NULL
24687 };
24688
24689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
24690 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24691 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24692 arg2 = (int)SWIG_As_int(obj1);
24693 if (PyErr_Occurred()) SWIG_fail;
24694 {
24695 PyThreadState* __tstate = wxPyBeginAllowThreads();
24696 result = (bool)(arg1)->base_SetCurrentPage(arg2);
24697
24698 wxPyEndAllowThreads(__tstate);
24699 if (PyErr_Occurred()) SWIG_fail;
24700 }
24701 {
24702 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24703 }
24704 return resultobj;
24705 fail:
24706 return NULL;
24707 }
24708
24709
24710 static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *, PyObject *args, PyObject *kwargs) {
24711 PyObject *resultobj;
24712 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24713 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
24714 wxDC *arg3 = 0 ;
24715 bool result;
24716 PyObject * obj0 = 0 ;
24717 PyObject * obj1 = 0 ;
24718 PyObject * obj2 = 0 ;
24719 char *kwnames[] = {
24720 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24721 };
24722
24723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
24724 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24725 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24726 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
24727 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24728 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
24729 SWIG_POINTER_EXCEPTION | 0)) == -1)
24730 SWIG_fail;
24731 if (arg3 == NULL) {
24732 PyErr_SetString(PyExc_TypeError,"null reference");
24733 SWIG_fail;
24734 }
24735 {
24736 PyThreadState* __tstate = wxPyBeginAllowThreads();
24737 result = (bool)(arg1)->base_PaintPage(arg2,*arg3);
24738
24739 wxPyEndAllowThreads(__tstate);
24740 if (PyErr_Occurred()) SWIG_fail;
24741 }
24742 {
24743 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24744 }
24745 return resultobj;
24746 fail:
24747 return NULL;
24748 }
24749
24750
24751 static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *, PyObject *args, PyObject *kwargs) {
24752 PyObject *resultobj;
24753 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24754 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
24755 wxDC *arg3 = 0 ;
24756 bool result;
24757 PyObject * obj0 = 0 ;
24758 PyObject * obj1 = 0 ;
24759 PyObject * obj2 = 0 ;
24760 char *kwnames[] = {
24761 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24762 };
24763
24764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
24765 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24766 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24767 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
24768 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24769 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
24770 SWIG_POINTER_EXCEPTION | 0)) == -1)
24771 SWIG_fail;
24772 if (arg3 == NULL) {
24773 PyErr_SetString(PyExc_TypeError,"null reference");
24774 SWIG_fail;
24775 }
24776 {
24777 PyThreadState* __tstate = wxPyBeginAllowThreads();
24778 result = (bool)(arg1)->base_DrawBlankPage(arg2,*arg3);
24779
24780 wxPyEndAllowThreads(__tstate);
24781 if (PyErr_Occurred()) SWIG_fail;
24782 }
24783 {
24784 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24785 }
24786 return resultobj;
24787 fail:
24788 return NULL;
24789 }
24790
24791
24792 static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *, PyObject *args, PyObject *kwargs) {
24793 PyObject *resultobj;
24794 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24795 int arg2 ;
24796 bool result;
24797 PyObject * obj0 = 0 ;
24798 PyObject * obj1 = 0 ;
24799 char *kwnames[] = {
24800 (char *) "self",(char *) "pageNum", NULL
24801 };
24802
24803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames,&obj0,&obj1)) goto fail;
24804 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24805 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24806 arg2 = (int)SWIG_As_int(obj1);
24807 if (PyErr_Occurred()) SWIG_fail;
24808 {
24809 PyThreadState* __tstate = wxPyBeginAllowThreads();
24810 result = (bool)(arg1)->base_RenderPage(arg2);
24811
24812 wxPyEndAllowThreads(__tstate);
24813 if (PyErr_Occurred()) SWIG_fail;
24814 }
24815 {
24816 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24817 }
24818 return resultobj;
24819 fail:
24820 return NULL;
24821 }
24822
24823
24824 static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
24825 PyObject *resultobj;
24826 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24827 int arg2 ;
24828 PyObject * obj0 = 0 ;
24829 PyObject * obj1 = 0 ;
24830 char *kwnames[] = {
24831 (char *) "self",(char *) "percent", NULL
24832 };
24833
24834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames,&obj0,&obj1)) goto fail;
24835 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24836 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24837 arg2 = (int)SWIG_As_int(obj1);
24838 if (PyErr_Occurred()) SWIG_fail;
24839 {
24840 PyThreadState* __tstate = wxPyBeginAllowThreads();
24841 (arg1)->base_SetZoom(arg2);
24842
24843 wxPyEndAllowThreads(__tstate);
24844 if (PyErr_Occurred()) SWIG_fail;
24845 }
24846 Py_INCREF(Py_None); resultobj = Py_None;
24847 return resultobj;
24848 fail:
24849 return NULL;
24850 }
24851
24852
24853 static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *, PyObject *args, PyObject *kwargs) {
24854 PyObject *resultobj;
24855 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24856 bool arg2 ;
24857 bool result;
24858 PyObject * obj0 = 0 ;
24859 PyObject * obj1 = 0 ;
24860 char *kwnames[] = {
24861 (char *) "self",(char *) "interactive", NULL
24862 };
24863
24864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_Print",kwnames,&obj0,&obj1)) goto fail;
24865 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24866 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24867 arg2 = (bool)SWIG_As_bool(obj1);
24868 if (PyErr_Occurred()) SWIG_fail;
24869 {
24870 PyThreadState* __tstate = wxPyBeginAllowThreads();
24871 result = (bool)(arg1)->base_Print(arg2);
24872
24873 wxPyEndAllowThreads(__tstate);
24874 if (PyErr_Occurred()) SWIG_fail;
24875 }
24876 {
24877 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24878 }
24879 return resultobj;
24880 fail:
24881 return NULL;
24882 }
24883
24884
24885 static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *, PyObject *args, PyObject *kwargs) {
24886 PyObject *resultobj;
24887 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24888 PyObject * obj0 = 0 ;
24889 char *kwnames[] = {
24890 (char *) "self", NULL
24891 };
24892
24893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames,&obj0)) goto fail;
24894 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24895 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24896 {
24897 PyThreadState* __tstate = wxPyBeginAllowThreads();
24898 (arg1)->base_DetermineScaling();
24899
24900 wxPyEndAllowThreads(__tstate);
24901 if (PyErr_Occurred()) SWIG_fail;
24902 }
24903 Py_INCREF(Py_None); resultobj = Py_None;
24904 return resultobj;
24905 fail:
24906 return NULL;
24907 }
24908
24909
24910 static PyObject * PyPrintPreview_swigregister(PyObject *, PyObject *args) {
24911 PyObject *obj;
24912 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24913 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj);
24914 Py_INCREF(obj);
24915 return Py_BuildValue((char *)"");
24916 }
24917 static PyObject *_wrap_new_PyPreviewFrame(PyObject *, PyObject *args, PyObject *kwargs) {
24918 PyObject *resultobj;
24919 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24920 wxFrame *arg2 = (wxFrame *) 0 ;
24921 wxString *arg3 = 0 ;
24922 wxPoint const &arg4_defvalue = wxDefaultPosition ;
24923 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
24924 wxSize const &arg5_defvalue = wxDefaultSize ;
24925 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
24926 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
24927 wxString const &arg7_defvalue = wxPyFrameNameStr ;
24928 wxString *arg7 = (wxString *) &arg7_defvalue ;
24929 wxPyPreviewFrame *result;
24930 bool temp3 = false ;
24931 wxPoint temp4 ;
24932 wxSize temp5 ;
24933 bool temp7 = false ;
24934 PyObject * obj0 = 0 ;
24935 PyObject * obj1 = 0 ;
24936 PyObject * obj2 = 0 ;
24937 PyObject * obj3 = 0 ;
24938 PyObject * obj4 = 0 ;
24939 PyObject * obj5 = 0 ;
24940 PyObject * obj6 = 0 ;
24941 char *kwnames[] = {
24942 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24943 };
24944
24945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
24946 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24947 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24948 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
24949 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24950 {
24951 arg3 = wxString_in_helper(obj2);
24952 if (arg3 == NULL) SWIG_fail;
24953 temp3 = true;
24954 }
24955 if (obj3) {
24956 {
24957 arg4 = &temp4;
24958 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
24959 }
24960 }
24961 if (obj4) {
24962 {
24963 arg5 = &temp5;
24964 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
24965 }
24966 }
24967 if (obj5) {
24968 arg6 = (long)SWIG_As_long(obj5);
24969 if (PyErr_Occurred()) SWIG_fail;
24970 }
24971 if (obj6) {
24972 {
24973 arg7 = wxString_in_helper(obj6);
24974 if (arg7 == NULL) SWIG_fail;
24975 temp7 = true;
24976 }
24977 }
24978 {
24979 if (!wxPyCheckForApp()) SWIG_fail;
24980 PyThreadState* __tstate = wxPyBeginAllowThreads();
24981 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
24982
24983 wxPyEndAllowThreads(__tstate);
24984 if (PyErr_Occurred()) SWIG_fail;
24985 }
24986 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewFrame, 1);
24987 {
24988 if (temp3)
24989 delete arg3;
24990 }
24991 {
24992 if (temp7)
24993 delete arg7;
24994 }
24995 return resultobj;
24996 fail:
24997 {
24998 if (temp3)
24999 delete arg3;
25000 }
25001 {
25002 if (temp7)
25003 delete arg7;
25004 }
25005 return NULL;
25006 }
25007
25008
25009 static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
25010 PyObject *resultobj;
25011 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
25012 PyObject *arg2 = (PyObject *) 0 ;
25013 PyObject *arg3 = (PyObject *) 0 ;
25014 PyObject * obj0 = 0 ;
25015 PyObject * obj1 = 0 ;
25016 PyObject * obj2 = 0 ;
25017 char *kwnames[] = {
25018 (char *) "self",(char *) "self",(char *) "_class", NULL
25019 };
25020
25021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
25022 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
25023 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25024 arg2 = obj1;
25025 arg3 = obj2;
25026 {
25027 PyThreadState* __tstate = wxPyBeginAllowThreads();
25028 (arg1)->_setCallbackInfo(arg2,arg3);
25029
25030 wxPyEndAllowThreads(__tstate);
25031 if (PyErr_Occurred()) SWIG_fail;
25032 }
25033 Py_INCREF(Py_None); resultobj = Py_None;
25034 return resultobj;
25035 fail:
25036 return NULL;
25037 }
25038
25039
25040 static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
25041 PyObject *resultobj;
25042 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
25043 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
25044 PyObject * obj0 = 0 ;
25045 PyObject * obj1 = 0 ;
25046 char *kwnames[] = {
25047 (char *) "self",(char *) "canvas", NULL
25048 };
25049
25050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail;
25051 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
25052 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25053 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
25054 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25055 {
25056 PyThreadState* __tstate = wxPyBeginAllowThreads();
25057 (arg1)->SetPreviewCanvas(arg2);
25058
25059 wxPyEndAllowThreads(__tstate);
25060 if (PyErr_Occurred()) SWIG_fail;
25061 }
25062 Py_INCREF(Py_None); resultobj = Py_None;
25063 return resultobj;
25064 fail:
25065 return NULL;
25066 }
25067
25068
25069 static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
25070 PyObject *resultobj;
25071 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
25072 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
25073 PyObject * obj0 = 0 ;
25074 PyObject * obj1 = 0 ;
25075 char *kwnames[] = {
25076 (char *) "self",(char *) "bar", NULL
25077 };
25078
25079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail;
25080 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
25081 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25082 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewControlBar,
25083 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25084 {
25085 PyThreadState* __tstate = wxPyBeginAllowThreads();
25086 (arg1)->SetControlBar(arg2);
25087
25088 wxPyEndAllowThreads(__tstate);
25089 if (PyErr_Occurred()) SWIG_fail;
25090 }
25091 Py_INCREF(Py_None); resultobj = Py_None;
25092 return resultobj;
25093 fail:
25094 return NULL;
25095 }
25096
25097
25098 static PyObject *_wrap_PyPreviewFrame_base_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
25099 PyObject *resultobj;
25100 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
25101 PyObject * obj0 = 0 ;
25102 char *kwnames[] = {
25103 (char *) "self", NULL
25104 };
25105
25106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_Initialize",kwnames,&obj0)) goto fail;
25107 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
25108 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25109 {
25110 PyThreadState* __tstate = wxPyBeginAllowThreads();
25111 (arg1)->base_Initialize();
25112
25113 wxPyEndAllowThreads(__tstate);
25114 if (PyErr_Occurred()) SWIG_fail;
25115 }
25116 Py_INCREF(Py_None); resultobj = Py_None;
25117 return resultobj;
25118 fail:
25119 return NULL;
25120 }
25121
25122
25123 static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
25124 PyObject *resultobj;
25125 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
25126 PyObject * obj0 = 0 ;
25127 char *kwnames[] = {
25128 (char *) "self", NULL
25129 };
25130
25131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames,&obj0)) goto fail;
25132 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
25133 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25134 {
25135 PyThreadState* __tstate = wxPyBeginAllowThreads();
25136 (arg1)->base_CreateCanvas();
25137
25138 wxPyEndAllowThreads(__tstate);
25139 if (PyErr_Occurred()) SWIG_fail;
25140 }
25141 Py_INCREF(Py_None); resultobj = Py_None;
25142 return resultobj;
25143 fail:
25144 return NULL;
25145 }
25146
25147
25148 static PyObject *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
25149 PyObject *resultobj;
25150 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
25151 PyObject * obj0 = 0 ;
25152 char *kwnames[] = {
25153 (char *) "self", NULL
25154 };
25155
25156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames,&obj0)) goto fail;
25157 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
25158 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25159 {
25160 PyThreadState* __tstate = wxPyBeginAllowThreads();
25161 (arg1)->base_CreateControlBar();
25162
25163 wxPyEndAllowThreads(__tstate);
25164 if (PyErr_Occurred()) SWIG_fail;
25165 }
25166 Py_INCREF(Py_None); resultobj = Py_None;
25167 return resultobj;
25168 fail:
25169 return NULL;
25170 }
25171
25172
25173 static PyObject * PyPreviewFrame_swigregister(PyObject *, PyObject *args) {
25174 PyObject *obj;
25175 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25176 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj);
25177 Py_INCREF(obj);
25178 return Py_BuildValue((char *)"");
25179 }
25180 static PyObject *_wrap_new_PyPreviewControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
25181 PyObject *resultobj;
25182 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25183 long arg2 ;
25184 wxWindow *arg3 = (wxWindow *) 0 ;
25185 wxPoint const &arg4_defvalue = wxDefaultPosition ;
25186 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
25187 wxSize const &arg5_defvalue = wxDefaultSize ;
25188 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
25189 long arg6 = (long) 0 ;
25190 wxString const &arg7_defvalue = wxPyPanelNameStr ;
25191 wxString *arg7 = (wxString *) &arg7_defvalue ;
25192 wxPyPreviewControlBar *result;
25193 wxPoint temp4 ;
25194 wxSize temp5 ;
25195 bool temp7 = false ;
25196 PyObject * obj0 = 0 ;
25197 PyObject * obj1 = 0 ;
25198 PyObject * obj2 = 0 ;
25199 PyObject * obj3 = 0 ;
25200 PyObject * obj4 = 0 ;
25201 PyObject * obj5 = 0 ;
25202 PyObject * obj6 = 0 ;
25203 char *kwnames[] = {
25204 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25205 };
25206
25207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
25208 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
25209 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25210 arg2 = (long)SWIG_As_long(obj1);
25211 if (PyErr_Occurred()) SWIG_fail;
25212 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
25213 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25214 if (obj3) {
25215 {
25216 arg4 = &temp4;
25217 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
25218 }
25219 }
25220 if (obj4) {
25221 {
25222 arg5 = &temp5;
25223 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
25224 }
25225 }
25226 if (obj5) {
25227 arg6 = (long)SWIG_As_long(obj5);
25228 if (PyErr_Occurred()) SWIG_fail;
25229 }
25230 if (obj6) {
25231 {
25232 arg7 = wxString_in_helper(obj6);
25233 if (arg7 == NULL) SWIG_fail;
25234 temp7 = true;
25235 }
25236 }
25237 {
25238 if (!wxPyCheckForApp()) SWIG_fail;
25239 PyThreadState* __tstate = wxPyBeginAllowThreads();
25240 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
25241
25242 wxPyEndAllowThreads(__tstate);
25243 if (PyErr_Occurred()) SWIG_fail;
25244 }
25245 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewControlBar, 1);
25246 {
25247 if (temp7)
25248 delete arg7;
25249 }
25250 return resultobj;
25251 fail:
25252 {
25253 if (temp7)
25254 delete arg7;
25255 }
25256 return NULL;
25257 }
25258
25259
25260 static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
25261 PyObject *resultobj;
25262 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
25263 PyObject *arg2 = (PyObject *) 0 ;
25264 PyObject *arg3 = (PyObject *) 0 ;
25265 PyObject * obj0 = 0 ;
25266 PyObject * obj1 = 0 ;
25267 PyObject * obj2 = 0 ;
25268 char *kwnames[] = {
25269 (char *) "self",(char *) "self",(char *) "_class", NULL
25270 };
25271
25272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
25273 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
25274 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25275 arg2 = obj1;
25276 arg3 = obj2;
25277 {
25278 PyThreadState* __tstate = wxPyBeginAllowThreads();
25279 (arg1)->_setCallbackInfo(arg2,arg3);
25280
25281 wxPyEndAllowThreads(__tstate);
25282 if (PyErr_Occurred()) SWIG_fail;
25283 }
25284 Py_INCREF(Py_None); resultobj = Py_None;
25285 return resultobj;
25286 fail:
25287 return NULL;
25288 }
25289
25290
25291 static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *, PyObject *args, PyObject *kwargs) {
25292 PyObject *resultobj;
25293 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
25294 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
25295 PyObject * obj0 = 0 ;
25296 PyObject * obj1 = 0 ;
25297 char *kwnames[] = {
25298 (char *) "self",(char *) "preview", NULL
25299 };
25300
25301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail;
25302 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
25303 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25304 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintPreview,
25305 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25306 {
25307 PyThreadState* __tstate = wxPyBeginAllowThreads();
25308 (arg1)->SetPrintPreview(arg2);
25309
25310 wxPyEndAllowThreads(__tstate);
25311 if (PyErr_Occurred()) SWIG_fail;
25312 }
25313 Py_INCREF(Py_None); resultobj = Py_None;
25314 return resultobj;
25315 fail:
25316 return NULL;
25317 }
25318
25319
25320 static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *, PyObject *args, PyObject *kwargs) {
25321 PyObject *resultobj;
25322 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
25323 PyObject * obj0 = 0 ;
25324 char *kwnames[] = {
25325 (char *) "self", NULL
25326 };
25327
25328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames,&obj0)) goto fail;
25329 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
25330 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25331 {
25332 PyThreadState* __tstate = wxPyBeginAllowThreads();
25333 (arg1)->base_CreateButtons();
25334
25335 wxPyEndAllowThreads(__tstate);
25336 if (PyErr_Occurred()) SWIG_fail;
25337 }
25338 Py_INCREF(Py_None); resultobj = Py_None;
25339 return resultobj;
25340 fail:
25341 return NULL;
25342 }
25343
25344
25345 static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
25346 PyObject *resultobj;
25347 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
25348 int arg2 ;
25349 PyObject * obj0 = 0 ;
25350 PyObject * obj1 = 0 ;
25351 char *kwnames[] = {
25352 (char *) "self",(char *) "zoom", NULL
25353 };
25354
25355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
25356 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
25357 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25358 arg2 = (int)SWIG_As_int(obj1);
25359 if (PyErr_Occurred()) SWIG_fail;
25360 {
25361 PyThreadState* __tstate = wxPyBeginAllowThreads();
25362 (arg1)->base_SetZoomControl(arg2);
25363
25364 wxPyEndAllowThreads(__tstate);
25365 if (PyErr_Occurred()) SWIG_fail;
25366 }
25367 Py_INCREF(Py_None); resultobj = Py_None;
25368 return resultobj;
25369 fail:
25370 return NULL;
25371 }
25372
25373
25374 static PyObject * PyPreviewControlBar_swigregister(PyObject *, PyObject *args) {
25375 PyObject *obj;
25376 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25377 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj);
25378 Py_INCREF(obj);
25379 return Py_BuildValue((char *)"");
25380 }
25381 static PyObject *_wrap_PrintFactory_CreatePrinter(PyObject *, PyObject *args, PyObject *kwargs) {
25382 PyObject *resultobj;
25383 wxPrintFactory *arg1 = (wxPrintFactory *) 0 ;
25384 wxPrintDialogData *arg2 = (wxPrintDialogData *) 0 ;
25385 wxPrinterBase *result;
25386 PyObject * obj0 = 0 ;
25387 PyObject * obj1 = 0 ;
25388 char *kwnames[] = {
25389 (char *) "self",(char *) "data", NULL
25390 };
25391
25392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintFactory_CreatePrinter",kwnames,&obj0,&obj1)) goto fail;
25393 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintFactory,
25394 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25395 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintDialogData,
25396 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25397 {
25398 PyThreadState* __tstate = wxPyBeginAllowThreads();
25399 result = (wxPrinterBase *)(arg1)->CreatePrinter(arg2);
25400
25401 wxPyEndAllowThreads(__tstate);
25402 if (PyErr_Occurred()) SWIG_fail;
25403 }
25404 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrinterBase, 0);
25405 return resultobj;
25406 fail:
25407 return NULL;
25408 }
25409
25410
25411 static PyObject *_wrap_PrintFactory_CreatePrintPreview__SWIG_0(PyObject *, PyObject *args) {
25412 PyObject *resultobj;
25413 wxPrintFactory *arg1 = (wxPrintFactory *) 0 ;
25414 wxPrintout *arg2 = (wxPrintout *) 0 ;
25415 wxPrintout *arg3 = (wxPrintout *) NULL ;
25416 wxPrintDialogData *arg4 = (wxPrintDialogData *) NULL ;
25417 wxPrintPreviewBase *result;
25418 PyObject * obj0 = 0 ;
25419 PyObject * obj1 = 0 ;
25420 PyObject * obj2 = 0 ;
25421 PyObject * obj3 = 0 ;
25422
25423 if(!PyArg_ParseTuple(args,(char *)"OO|OO:PrintFactory_CreatePrintPreview",&obj0,&obj1,&obj2,&obj3)) goto fail;
25424 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintFactory,
25425 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25426 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintout,
25427 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25428 if (obj2) {
25429 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintout,
25430 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25431 }
25432 if (obj3) {
25433 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxPrintDialogData,
25434 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25435 }
25436 {
25437 PyThreadState* __tstate = wxPyBeginAllowThreads();
25438 result = (wxPrintPreviewBase *)(arg1)->CreatePrintPreview(arg2,arg3,arg4);
25439
25440 wxPyEndAllowThreads(__tstate);
25441 if (PyErr_Occurred()) SWIG_fail;
25442 }
25443 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreviewBase, 0);
25444 return resultobj;
25445 fail:
25446 return NULL;
25447 }
25448
25449
25450 static PyObject *_wrap_PrintFactory_CreatePrintPreview__SWIG_1(PyObject *, PyObject *args) {
25451 PyObject *resultobj;
25452 wxPrintFactory *arg1 = (wxPrintFactory *) 0 ;
25453 wxPrintout *arg2 = (wxPrintout *) 0 ;
25454 wxPrintout *arg3 = (wxPrintout *) 0 ;
25455 wxPrintData *arg4 = (wxPrintData *) 0 ;
25456 wxPrintPreviewBase *result;
25457 PyObject * obj0 = 0 ;
25458 PyObject * obj1 = 0 ;
25459 PyObject * obj2 = 0 ;
25460 PyObject * obj3 = 0 ;
25461
25462 if(!PyArg_ParseTuple(args,(char *)"OOOO:PrintFactory_CreatePrintPreview",&obj0,&obj1,&obj2,&obj3)) goto fail;
25463 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintFactory,
25464 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25465 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintout,
25466 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25467 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintout,
25468 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25469 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxPrintData,
25470 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25471 {
25472 PyThreadState* __tstate = wxPyBeginAllowThreads();
25473 result = (wxPrintPreviewBase *)(arg1)->CreatePrintPreview(arg2,arg3,arg4);
25474
25475 wxPyEndAllowThreads(__tstate);
25476 if (PyErr_Occurred()) SWIG_fail;
25477 }
25478 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreviewBase, 0);
25479 return resultobj;
25480 fail:
25481 return NULL;
25482 }
25483
25484
25485 static PyObject *_wrap_PrintFactory_CreatePrintPreview(PyObject *self, PyObject *args) {
25486 int argc;
25487 PyObject *argv[5];
25488 int ii;
25489
25490 argc = PyObject_Length(args);
25491 for (ii = 0; (ii < argc) && (ii < 4); ii++) {
25492 argv[ii] = PyTuple_GetItem(args,ii);
25493 }
25494 if ((argc >= 2) && (argc <= 4)) {
25495 int _v;
25496 {
25497 void *ptr;
25498 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintFactory, 0) == -1) {
25499 _v = 0;
25500 PyErr_Clear();
25501 } else {
25502 _v = 1;
25503 }
25504 }
25505 if (_v) {
25506 {
25507 void *ptr;
25508 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPrintout, 0) == -1) {
25509 _v = 0;
25510 PyErr_Clear();
25511 } else {
25512 _v = 1;
25513 }
25514 }
25515 if (_v) {
25516 if (argc <= 2) {
25517 return _wrap_PrintFactory_CreatePrintPreview__SWIG_0(self,args);
25518 }
25519 {
25520 void *ptr;
25521 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintout, 0) == -1) {
25522 _v = 0;
25523 PyErr_Clear();
25524 } else {
25525 _v = 1;
25526 }
25527 }
25528 if (_v) {
25529 if (argc <= 3) {
25530 return _wrap_PrintFactory_CreatePrintPreview__SWIG_0(self,args);
25531 }
25532 {
25533 void *ptr;
25534 if (SWIG_ConvertPtr(argv[3], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
25535 _v = 0;
25536 PyErr_Clear();
25537 } else {
25538 _v = 1;
25539 }
25540 }
25541 if (_v) {
25542 return _wrap_PrintFactory_CreatePrintPreview__SWIG_0(self,args);
25543 }
25544 }
25545 }
25546 }
25547 }
25548 if (argc == 4) {
25549 int _v;
25550 {
25551 void *ptr;
25552 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintFactory, 0) == -1) {
25553 _v = 0;
25554 PyErr_Clear();
25555 } else {
25556 _v = 1;
25557 }
25558 }
25559 if (_v) {
25560 {
25561 void *ptr;
25562 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPrintout, 0) == -1) {
25563 _v = 0;
25564 PyErr_Clear();
25565 } else {
25566 _v = 1;
25567 }
25568 }
25569 if (_v) {
25570 {
25571 void *ptr;
25572 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintout, 0) == -1) {
25573 _v = 0;
25574 PyErr_Clear();
25575 } else {
25576 _v = 1;
25577 }
25578 }
25579 if (_v) {
25580 {
25581 void *ptr;
25582 if (SWIG_ConvertPtr(argv[3], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
25583 _v = 0;
25584 PyErr_Clear();
25585 } else {
25586 _v = 1;
25587 }
25588 }
25589 if (_v) {
25590 return _wrap_PrintFactory_CreatePrintPreview__SWIG_1(self,args);
25591 }
25592 }
25593 }
25594 }
25595 }
25596
25597 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'PrintFactory_CreatePrintPreview'");
25598 return NULL;
25599 }
25600
25601
25602 static PyObject *_wrap_PrintFactory_CreatePrintDialog__SWIG_0(PyObject *, PyObject *args) {
25603 PyObject *resultobj;
25604 wxPrintFactory *arg1 = (wxPrintFactory *) 0 ;
25605 wxWindow *arg2 = (wxWindow *) 0 ;
25606 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
25607 wxPrintDialogBase *result;
25608 PyObject * obj0 = 0 ;
25609 PyObject * obj1 = 0 ;
25610 PyObject * obj2 = 0 ;
25611
25612 if(!PyArg_ParseTuple(args,(char *)"OO|O:PrintFactory_CreatePrintDialog",&obj0,&obj1,&obj2)) goto fail;
25613 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintFactory,
25614 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25615 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
25616 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25617 if (obj2) {
25618 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintDialogData,
25619 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25620 }
25621 {
25622 PyThreadState* __tstate = wxPyBeginAllowThreads();
25623 result = (wxPrintDialogBase *)(arg1)->CreatePrintDialog(arg2,arg3);
25624
25625 wxPyEndAllowThreads(__tstate);
25626 if (PyErr_Occurred()) SWIG_fail;
25627 }
25628 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogBase, 0);
25629 return resultobj;
25630 fail:
25631 return NULL;
25632 }
25633
25634
25635 static PyObject *_wrap_PrintFactory_CreatePrintDialog__SWIG_1(PyObject *, PyObject *args) {
25636 PyObject *resultobj;
25637 wxPrintFactory *arg1 = (wxPrintFactory *) 0 ;
25638 wxWindow *arg2 = (wxWindow *) 0 ;
25639 wxPrintData *arg3 = (wxPrintData *) 0 ;
25640 wxPrintDialogBase *result;
25641 PyObject * obj0 = 0 ;
25642 PyObject * obj1 = 0 ;
25643 PyObject * obj2 = 0 ;
25644
25645 if(!PyArg_ParseTuple(args,(char *)"OOO:PrintFactory_CreatePrintDialog",&obj0,&obj1,&obj2)) goto fail;
25646 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintFactory,
25647 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25648 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
25649 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25650 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData,
25651 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25652 {
25653 PyThreadState* __tstate = wxPyBeginAllowThreads();
25654 result = (wxPrintDialogBase *)(arg1)->CreatePrintDialog(arg2,arg3);
25655
25656 wxPyEndAllowThreads(__tstate);
25657 if (PyErr_Occurred()) SWIG_fail;
25658 }
25659 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogBase, 0);
25660 return resultobj;
25661 fail:
25662 return NULL;
25663 }
25664
25665
25666 static PyObject *_wrap_PrintFactory_CreatePrintDialog(PyObject *self, PyObject *args) {
25667 int argc;
25668 PyObject *argv[4];
25669 int ii;
25670
25671 argc = PyObject_Length(args);
25672 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
25673 argv[ii] = PyTuple_GetItem(args,ii);
25674 }
25675 if ((argc >= 2) && (argc <= 3)) {
25676 int _v;
25677 {
25678 void *ptr;
25679 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintFactory, 0) == -1) {
25680 _v = 0;
25681 PyErr_Clear();
25682 } else {
25683 _v = 1;
25684 }
25685 }
25686 if (_v) {
25687 {
25688 void *ptr;
25689 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
25690 _v = 0;
25691 PyErr_Clear();
25692 } else {
25693 _v = 1;
25694 }
25695 }
25696 if (_v) {
25697 if (argc <= 2) {
25698 return _wrap_PrintFactory_CreatePrintDialog__SWIG_0(self,args);
25699 }
25700 {
25701 void *ptr;
25702 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
25703 _v = 0;
25704 PyErr_Clear();
25705 } else {
25706 _v = 1;
25707 }
25708 }
25709 if (_v) {
25710 return _wrap_PrintFactory_CreatePrintDialog__SWIG_0(self,args);
25711 }
25712 }
25713 }
25714 }
25715 if (argc == 3) {
25716 int _v;
25717 {
25718 void *ptr;
25719 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintFactory, 0) == -1) {
25720 _v = 0;
25721 PyErr_Clear();
25722 } else {
25723 _v = 1;
25724 }
25725 }
25726 if (_v) {
25727 {
25728 void *ptr;
25729 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
25730 _v = 0;
25731 PyErr_Clear();
25732 } else {
25733 _v = 1;
25734 }
25735 }
25736 if (_v) {
25737 {
25738 void *ptr;
25739 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
25740 _v = 0;
25741 PyErr_Clear();
25742 } else {
25743 _v = 1;
25744 }
25745 }
25746 if (_v) {
25747 return _wrap_PrintFactory_CreatePrintDialog__SWIG_1(self,args);
25748 }
25749 }
25750 }
25751 }
25752
25753 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'PrintFactory_CreatePrintDialog'");
25754 return NULL;
25755 }
25756
25757
25758 static PyObject *_wrap_PrintFactory_HasPrintSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
25759 PyObject *resultobj;
25760 wxPrintFactory *arg1 = (wxPrintFactory *) 0 ;
25761 bool result;
25762 PyObject * obj0 = 0 ;
25763 char *kwnames[] = {
25764 (char *) "self", NULL
25765 };
25766
25767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintFactory_HasPrintSetupDialog",kwnames,&obj0)) goto fail;
25768 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintFactory,
25769 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25770 {
25771 PyThreadState* __tstate = wxPyBeginAllowThreads();
25772 result = (bool)(arg1)->HasPrintSetupDialog();
25773
25774 wxPyEndAllowThreads(__tstate);
25775 if (PyErr_Occurred()) SWIG_fail;
25776 }
25777 {
25778 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25779 }
25780 return resultobj;
25781 fail:
25782 return NULL;
25783 }
25784
25785
25786 static PyObject *_wrap_PrintFactory_CreatePrintSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
25787 PyObject *resultobj;
25788 wxPrintFactory *arg1 = (wxPrintFactory *) 0 ;
25789 wxWindow *arg2 = (wxWindow *) 0 ;
25790 wxPrintData *arg3 = (wxPrintData *) 0 ;
25791 wxDialog *result;
25792 PyObject * obj0 = 0 ;
25793 PyObject * obj1 = 0 ;
25794 PyObject * obj2 = 0 ;
25795 char *kwnames[] = {
25796 (char *) "self",(char *) "parent",(char *) "data", NULL
25797 };
25798
25799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintFactory_CreatePrintSetupDialog",kwnames,&obj0,&obj1,&obj2)) goto fail;
25800 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintFactory,
25801 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25802 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
25803 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25804 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData,
25805 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25806 {
25807 PyThreadState* __tstate = wxPyBeginAllowThreads();
25808 result = (wxDialog *)(arg1)->CreatePrintSetupDialog(arg2,arg3);
25809
25810 wxPyEndAllowThreads(__tstate);
25811 if (PyErr_Occurred()) SWIG_fail;
25812 }
25813 {
25814 resultobj = wxPyMake_wxObject(result, 0);
25815 }
25816 return resultobj;
25817 fail:
25818 return NULL;
25819 }
25820
25821
25822 static PyObject *_wrap_PrintFactory_HasOwnPrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
25823 PyObject *resultobj;
25824 wxPrintFactory *arg1 = (wxPrintFactory *) 0 ;
25825 bool result;
25826 PyObject * obj0 = 0 ;
25827 char *kwnames[] = {
25828 (char *) "self", NULL
25829 };
25830
25831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintFactory_HasOwnPrintToFile",kwnames,&obj0)) goto fail;
25832 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintFactory,
25833 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25834 {
25835 PyThreadState* __tstate = wxPyBeginAllowThreads();
25836 result = (bool)(arg1)->HasOwnPrintToFile();
25837
25838 wxPyEndAllowThreads(__tstate);
25839 if (PyErr_Occurred()) SWIG_fail;
25840 }
25841 {
25842 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25843 }
25844 return resultobj;
25845 fail:
25846 return NULL;
25847 }
25848
25849
25850 static PyObject *_wrap_PrintFactory_HasPrinterLine(PyObject *, PyObject *args, PyObject *kwargs) {
25851 PyObject *resultobj;
25852 wxPrintFactory *arg1 = (wxPrintFactory *) 0 ;
25853 bool result;
25854 PyObject * obj0 = 0 ;
25855 char *kwnames[] = {
25856 (char *) "self", NULL
25857 };
25858
25859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintFactory_HasPrinterLine",kwnames,&obj0)) goto fail;
25860 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintFactory,
25861 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25862 {
25863 PyThreadState* __tstate = wxPyBeginAllowThreads();
25864 result = (bool)(arg1)->HasPrinterLine();
25865
25866 wxPyEndAllowThreads(__tstate);
25867 if (PyErr_Occurred()) SWIG_fail;
25868 }
25869 {
25870 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25871 }
25872 return resultobj;
25873 fail:
25874 return NULL;
25875 }
25876
25877
25878 static PyObject *_wrap_PrintFactory_CreatePrinterLine(PyObject *, PyObject *args, PyObject *kwargs) {
25879 PyObject *resultobj;
25880 wxPrintFactory *arg1 = (wxPrintFactory *) 0 ;
25881 wxString result;
25882 PyObject * obj0 = 0 ;
25883 char *kwnames[] = {
25884 (char *) "self", NULL
25885 };
25886
25887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintFactory_CreatePrinterLine",kwnames,&obj0)) goto fail;
25888 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintFactory,
25889 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25890 {
25891 PyThreadState* __tstate = wxPyBeginAllowThreads();
25892 result = (arg1)->CreatePrinterLine();
25893
25894 wxPyEndAllowThreads(__tstate);
25895 if (PyErr_Occurred()) SWIG_fail;
25896 }
25897 {
25898 #if wxUSE_UNICODE
25899 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
25900 #else
25901 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
25902 #endif
25903 }
25904 return resultobj;
25905 fail:
25906 return NULL;
25907 }
25908
25909
25910 static PyObject *_wrap_PrintFactory_HasStatusLine(PyObject *, PyObject *args, PyObject *kwargs) {
25911 PyObject *resultobj;
25912 wxPrintFactory *arg1 = (wxPrintFactory *) 0 ;
25913 bool result;
25914 PyObject * obj0 = 0 ;
25915 char *kwnames[] = {
25916 (char *) "self", NULL
25917 };
25918
25919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintFactory_HasStatusLine",kwnames,&obj0)) goto fail;
25920 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintFactory,
25921 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25922 {
25923 PyThreadState* __tstate = wxPyBeginAllowThreads();
25924 result = (bool)(arg1)->HasStatusLine();
25925
25926 wxPyEndAllowThreads(__tstate);
25927 if (PyErr_Occurred()) SWIG_fail;
25928 }
25929 {
25930 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25931 }
25932 return resultobj;
25933 fail:
25934 return NULL;
25935 }
25936
25937
25938 static PyObject *_wrap_PrintFactory_CreateStatusLine(PyObject *, PyObject *args, PyObject *kwargs) {
25939 PyObject *resultobj;
25940 wxPrintFactory *arg1 = (wxPrintFactory *) 0 ;
25941 wxString result;
25942 PyObject * obj0 = 0 ;
25943 char *kwnames[] = {
25944 (char *) "self", NULL
25945 };
25946
25947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintFactory_CreateStatusLine",kwnames,&obj0)) goto fail;
25948 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintFactory,
25949 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25950 {
25951 PyThreadState* __tstate = wxPyBeginAllowThreads();
25952 result = (arg1)->CreateStatusLine();
25953
25954 wxPyEndAllowThreads(__tstate);
25955 if (PyErr_Occurred()) SWIG_fail;
25956 }
25957 {
25958 #if wxUSE_UNICODE
25959 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
25960 #else
25961 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
25962 #endif
25963 }
25964 return resultobj;
25965 fail:
25966 return NULL;
25967 }
25968
25969
25970 static PyObject *_wrap_PrintFactory_CreatePrintNativeData(PyObject *, PyObject *args, PyObject *kwargs) {
25971 PyObject *resultobj;
25972 wxPrintFactory *arg1 = (wxPrintFactory *) 0 ;
25973 wxPrintNativeDataBase *result;
25974 PyObject * obj0 = 0 ;
25975 char *kwnames[] = {
25976 (char *) "self", NULL
25977 };
25978
25979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintFactory_CreatePrintNativeData",kwnames,&obj0)) goto fail;
25980 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintFactory,
25981 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25982 {
25983 PyThreadState* __tstate = wxPyBeginAllowThreads();
25984 result = (wxPrintNativeDataBase *)(arg1)->CreatePrintNativeData();
25985
25986 wxPyEndAllowThreads(__tstate);
25987 if (PyErr_Occurred()) SWIG_fail;
25988 }
25989 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintNativeDataBase, 0);
25990 return resultobj;
25991 fail:
25992 return NULL;
25993 }
25994
25995
25996 static PyObject *_wrap_PrintFactory_SetPrintFactory(PyObject *, PyObject *args, PyObject *kwargs) {
25997 PyObject *resultobj;
25998 wxPrintFactory *arg1 = (wxPrintFactory *) 0 ;
25999 PyObject * obj0 = 0 ;
26000 char *kwnames[] = {
26001 (char *) "factory", NULL
26002 };
26003
26004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintFactory_SetPrintFactory",kwnames,&obj0)) goto fail;
26005 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintFactory,
26006 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26007 {
26008 PyThreadState* __tstate = wxPyBeginAllowThreads();
26009 wxPrintFactory::SetPrintFactory(arg1);
26010
26011 wxPyEndAllowThreads(__tstate);
26012 if (PyErr_Occurred()) SWIG_fail;
26013 }
26014 Py_INCREF(Py_None); resultobj = Py_None;
26015 return resultobj;
26016 fail:
26017 return NULL;
26018 }
26019
26020
26021 static PyObject *_wrap_PrintFactory_GetFactory(PyObject *, PyObject *args, PyObject *kwargs) {
26022 PyObject *resultobj;
26023 wxPrintFactory *result;
26024 char *kwnames[] = {
26025 NULL
26026 };
26027
26028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PrintFactory_GetFactory",kwnames)) goto fail;
26029 {
26030 PyThreadState* __tstate = wxPyBeginAllowThreads();
26031 result = (wxPrintFactory *)wxPrintFactory::GetFactory();
26032
26033 wxPyEndAllowThreads(__tstate);
26034 if (PyErr_Occurred()) SWIG_fail;
26035 }
26036 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintFactory, 0);
26037 return resultobj;
26038 fail:
26039 return NULL;
26040 }
26041
26042
26043 static PyObject * PrintFactory_swigregister(PyObject *, PyObject *args) {
26044 PyObject *obj;
26045 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26046 SWIG_TypeClientData(SWIGTYPE_p_wxPrintFactory, obj);
26047 Py_INCREF(obj);
26048 return Py_BuildValue((char *)"");
26049 }
26050 static PyObject *_wrap_delete_PrintNativeDataBase(PyObject *, PyObject *args, PyObject *kwargs) {
26051 PyObject *resultobj;
26052 wxPrintNativeDataBase *arg1 = (wxPrintNativeDataBase *) 0 ;
26053 PyObject * obj0 = 0 ;
26054 char *kwnames[] = {
26055 (char *) "self", NULL
26056 };
26057
26058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintNativeDataBase",kwnames,&obj0)) goto fail;
26059 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintNativeDataBase,
26060 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26061 {
26062 PyThreadState* __tstate = wxPyBeginAllowThreads();
26063 delete arg1;
26064
26065 wxPyEndAllowThreads(__tstate);
26066 if (PyErr_Occurred()) SWIG_fail;
26067 }
26068 Py_INCREF(Py_None); resultobj = Py_None;
26069 return resultobj;
26070 fail:
26071 return NULL;
26072 }
26073
26074
26075 static PyObject *_wrap_PrintNativeDataBase_TransferTo(PyObject *, PyObject *args, PyObject *kwargs) {
26076 PyObject *resultobj;
26077 wxPrintNativeDataBase *arg1 = (wxPrintNativeDataBase *) 0 ;
26078 wxPrintData *arg2 = 0 ;
26079 bool result;
26080 PyObject * obj0 = 0 ;
26081 PyObject * obj1 = 0 ;
26082 char *kwnames[] = {
26083 (char *) "self",(char *) "data", NULL
26084 };
26085
26086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintNativeDataBase_TransferTo",kwnames,&obj0,&obj1)) goto fail;
26087 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintNativeDataBase,
26088 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26089 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData,
26090 SWIG_POINTER_EXCEPTION | 0)) == -1)
26091 SWIG_fail;
26092 if (arg2 == NULL) {
26093 PyErr_SetString(PyExc_TypeError,"null reference");
26094 SWIG_fail;
26095 }
26096 {
26097 PyThreadState* __tstate = wxPyBeginAllowThreads();
26098 result = (bool)(arg1)->TransferTo(*arg2);
26099
26100 wxPyEndAllowThreads(__tstate);
26101 if (PyErr_Occurred()) SWIG_fail;
26102 }
26103 {
26104 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26105 }
26106 return resultobj;
26107 fail:
26108 return NULL;
26109 }
26110
26111
26112 static PyObject *_wrap_PrintNativeDataBase_TransferFrom(PyObject *, PyObject *args, PyObject *kwargs) {
26113 PyObject *resultobj;
26114 wxPrintNativeDataBase *arg1 = (wxPrintNativeDataBase *) 0 ;
26115 wxPrintData *arg2 = 0 ;
26116 bool result;
26117 PyObject * obj0 = 0 ;
26118 PyObject * obj1 = 0 ;
26119 char *kwnames[] = {
26120 (char *) "self",(char *) "data", NULL
26121 };
26122
26123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintNativeDataBase_TransferFrom",kwnames,&obj0,&obj1)) goto fail;
26124 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintNativeDataBase,
26125 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26126 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData,
26127 SWIG_POINTER_EXCEPTION | 0)) == -1)
26128 SWIG_fail;
26129 if (arg2 == NULL) {
26130 PyErr_SetString(PyExc_TypeError,"null reference");
26131 SWIG_fail;
26132 }
26133 {
26134 PyThreadState* __tstate = wxPyBeginAllowThreads();
26135 result = (bool)(arg1)->TransferFrom((wxPrintData const &)*arg2);
26136
26137 wxPyEndAllowThreads(__tstate);
26138 if (PyErr_Occurred()) SWIG_fail;
26139 }
26140 {
26141 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26142 }
26143 return resultobj;
26144 fail:
26145 return NULL;
26146 }
26147
26148
26149 static PyObject *_wrap_PrintNativeDataBase_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
26150 PyObject *resultobj;
26151 wxPrintNativeDataBase *arg1 = (wxPrintNativeDataBase *) 0 ;
26152 bool result;
26153 PyObject * obj0 = 0 ;
26154 char *kwnames[] = {
26155 (char *) "self", NULL
26156 };
26157
26158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintNativeDataBase_Ok",kwnames,&obj0)) goto fail;
26159 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintNativeDataBase,
26160 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26161 {
26162 PyThreadState* __tstate = wxPyBeginAllowThreads();
26163 result = (bool)((wxPrintNativeDataBase const *)arg1)->Ok();
26164
26165 wxPyEndAllowThreads(__tstate);
26166 if (PyErr_Occurred()) SWIG_fail;
26167 }
26168 {
26169 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26170 }
26171 return resultobj;
26172 fail:
26173 return NULL;
26174 }
26175
26176
26177 static PyObject *_wrap_PrintNativeDataBase_m_ref_set(PyObject *, PyObject *args, PyObject *kwargs) {
26178 PyObject *resultobj;
26179 wxPrintNativeDataBase *arg1 = (wxPrintNativeDataBase *) 0 ;
26180 int arg2 ;
26181 PyObject * obj0 = 0 ;
26182 PyObject * obj1 = 0 ;
26183 char *kwnames[] = {
26184 (char *) "self",(char *) "m_ref", NULL
26185 };
26186
26187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintNativeDataBase_m_ref_set",kwnames,&obj0,&obj1)) goto fail;
26188 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintNativeDataBase,
26189 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26190 arg2 = (int)SWIG_As_int(obj1);
26191 if (PyErr_Occurred()) SWIG_fail;
26192 if (arg1) (arg1)->m_ref = arg2;
26193
26194 Py_INCREF(Py_None); resultobj = Py_None;
26195 return resultobj;
26196 fail:
26197 return NULL;
26198 }
26199
26200
26201 static PyObject *_wrap_PrintNativeDataBase_m_ref_get(PyObject *, PyObject *args, PyObject *kwargs) {
26202 PyObject *resultobj;
26203 wxPrintNativeDataBase *arg1 = (wxPrintNativeDataBase *) 0 ;
26204 int result;
26205 PyObject * obj0 = 0 ;
26206 char *kwnames[] = {
26207 (char *) "self", NULL
26208 };
26209
26210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintNativeDataBase_m_ref_get",kwnames,&obj0)) goto fail;
26211 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintNativeDataBase,
26212 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26213 result = (int) ((arg1)->m_ref);
26214
26215 resultobj = SWIG_From_int((int)result);
26216 return resultobj;
26217 fail:
26218 return NULL;
26219 }
26220
26221
26222 static PyObject * PrintNativeDataBase_swigregister(PyObject *, PyObject *args) {
26223 PyObject *obj;
26224 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26225 SWIG_TypeClientData(SWIGTYPE_p_wxPrintNativeDataBase, obj);
26226 Py_INCREF(obj);
26227 return Py_BuildValue((char *)"");
26228 }
26229 static PyMethodDef SwigMethods[] = {
26230 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS, NULL },
26231 { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS, NULL },
26232 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS, NULL },
26233 { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL },
26234 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
26235 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS, NULL },
26236 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
26237 { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
26238 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
26239 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS, NULL },
26240 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS, NULL },
26241 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL },
26242 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL },
26243 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS, NULL },
26244 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS, NULL },
26245 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS, NULL },
26246 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS, NULL },
26247 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS, NULL },
26248 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS, NULL },
26249 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS, NULL },
26250 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS, NULL },
26251 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS, NULL },
26252 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL },
26253 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS, NULL },
26254 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL },
26255 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL },
26256 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction) _wrap_ScrolledWindow_DoPrepareDC, METH_VARARGS | METH_KEYWORDS, NULL },
26257 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
26258 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS, NULL },
26259 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS, NULL },
26260 { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS, NULL },
26261 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS, NULL },
26262 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS, NULL },
26263 { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS, NULL },
26264 { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS, NULL },
26265 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL },
26266 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS, NULL },
26267 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS, NULL },
26268 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS, NULL },
26269 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL },
26270 { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL },
26271 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS, NULL },
26272 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction) _wrap_TopLevelWindow_RequestUserAttention, METH_VARARGS | METH_KEYWORDS, NULL },
26273 { (char *)"TopLevelWindow_IsActive", (PyCFunction) _wrap_TopLevelWindow_IsActive, METH_VARARGS | METH_KEYWORDS, NULL },
26274 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacSetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL },
26275 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacGetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL },
26276 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS, NULL },
26277 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS, NULL },
26278 { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS, NULL },
26279 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS, NULL },
26280 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS, NULL },
26281 { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS, NULL },
26282 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL },
26283 { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL },
26284 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS, NULL },
26285 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS, NULL },
26286 { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL },
26287 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL },
26288 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
26289 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL },
26290 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
26291 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
26292 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL },
26293 { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL },
26294 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
26295 { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
26296 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
26297 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS, NULL },
26298 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS, NULL },
26299 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
26300 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS, NULL },
26301 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS, NULL },
26302 { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS, NULL },
26303 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS, NULL },
26304 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL },
26305 { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL },
26306 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS, NULL },
26307 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL },
26308 { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS, NULL },
26309 { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL },
26310 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS, NULL },
26311 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
26312 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS, NULL },
26313 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS, NULL },
26314 { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS, NULL },
26315 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL },
26316 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS, NULL },
26317 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS, NULL },
26318 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
26319 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
26320 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS, NULL },
26321 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS, NULL },
26322 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS, NULL },
26323 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS, NULL },
26324 { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS, NULL },
26325 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS, NULL },
26326 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS, NULL },
26327 { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS, NULL },
26328 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS, NULL },
26329 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL },
26330 { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL },
26331 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
26332 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
26333 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
26334 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
26335 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL },
26336 { (char *)"StatusBar_SetStatusStyles", (PyCFunction) _wrap_StatusBar_SetStatusStyles, METH_VARARGS | METH_KEYWORDS, NULL },
26337 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS, NULL },
26338 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL },
26339 { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS, NULL },
26340 { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS, NULL },
26341 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
26342 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS, NULL },
26343 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL },
26344 { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL },
26345 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
26346 { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS, NULL },
26347 { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS, NULL },
26348 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL },
26349 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL },
26350 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS, NULL },
26351 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS, NULL },
26352 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS, NULL },
26353 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS, NULL },
26354 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS, NULL },
26355 { (char *)"SplitterWindow_UpdateSize", (PyCFunction) _wrap_SplitterWindow_UpdateSize, METH_VARARGS | METH_KEYWORDS, NULL },
26356 { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS, NULL },
26357 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS, NULL },
26358 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
26359 { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS, NULL },
26360 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
26361 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL },
26362 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL },
26363 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL },
26364 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL },
26365 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL },
26366 { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS, NULL },
26367 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL },
26368 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL },
26369 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
26370 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS, NULL },
26371 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS, NULL },
26372 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL },
26373 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL },
26374 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS, NULL },
26375 { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS, NULL },
26376 { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS, NULL },
26377 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS, NULL },
26378 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS, NULL },
26379 { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS, NULL },
26380 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
26381 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL },
26382 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL },
26383 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS, NULL },
26384 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS, NULL },
26385 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS, NULL },
26386 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
26387 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
26388 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
26389 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
26390 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL },
26391 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL },
26392 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL },
26393 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL },
26394 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL },
26395 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL },
26396 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL },
26397 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL },
26398 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL },
26399 { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS, NULL },
26400 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS, NULL },
26401 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS, NULL },
26402 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL },
26403 { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS, NULL },
26404 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS, NULL },
26405 { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS, NULL },
26406 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL },
26407 { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL },
26408 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS, NULL },
26409 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS, NULL },
26410 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL },
26411 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL },
26412 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
26413 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
26414 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL },
26415 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS, NULL },
26416 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
26417 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
26418 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
26419 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
26420 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS, NULL },
26421 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS, NULL },
26422 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
26423 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
26424 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL },
26425 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS, NULL },
26426 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS, NULL },
26427 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL },
26428 { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL },
26429 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
26430 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
26431 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
26432 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
26433 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL },
26434 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
26435 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS, NULL },
26436 { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS, NULL },
26437 { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS, NULL },
26438 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS, NULL },
26439 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS, NULL },
26440 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL },
26441 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS, NULL },
26442 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS, NULL },
26443 { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS, NULL },
26444 { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
26445 { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS, NULL },
26446 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS, NULL },
26447 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL },
26448 { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL },
26449 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
26450 { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS, NULL },
26451 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction) _wrap_PopupTransientWindow_Dismiss, METH_VARARGS | METH_KEYWORDS, NULL },
26452 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS, NULL },
26453 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS, NULL },
26454 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL },
26455 { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS, NULL },
26456 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS, NULL },
26457 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
26458 { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
26459 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
26460 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
26461 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS, NULL },
26462 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL },
26463 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS, NULL },
26464 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS, NULL },
26465 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS, NULL },
26466 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS, NULL },
26467 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction) _wrap_VScrolledWindow_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL },
26468 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL },
26469 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS, NULL },
26470 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS, NULL },
26471 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL },
26472 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL },
26473 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL },
26474 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL },
26475 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL },
26476 { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS, NULL },
26477 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
26478 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL },
26479 { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS, NULL },
26480 { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS, NULL },
26481 { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
26482 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS, NULL },
26483 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL },
26484 { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS, NULL },
26485 { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS, NULL },
26486 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL },
26487 { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS, NULL },
26488 { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL },
26489 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL },
26490 { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS, NULL },
26491 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
26492 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL },
26493 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS, NULL },
26494 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS, NULL },
26495 { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL },
26496 { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS, NULL },
26497 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL },
26498 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL },
26499 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL },
26500 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS, NULL },
26501 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL },
26502 { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL },
26503 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
26504 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL },
26505 { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS, NULL },
26506 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL },
26507 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction) _wrap_HtmlListBox_GetFileSystem, METH_VARARGS | METH_KEYWORDS, NULL },
26508 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS, NULL },
26509 { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS, NULL },
26510 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction) _wrap_TaskBarIcon__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
26511 { (char *)"TaskBarIcon_Destroy", (PyCFunction) _wrap_TaskBarIcon_Destroy, METH_VARARGS | METH_KEYWORDS, NULL },
26512 { (char *)"TaskBarIcon_IsOk", (PyCFunction) _wrap_TaskBarIcon_IsOk, METH_VARARGS | METH_KEYWORDS, NULL },
26513 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction) _wrap_TaskBarIcon_IsIconInstalled, METH_VARARGS | METH_KEYWORDS, NULL },
26514 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL },
26515 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction) _wrap_TaskBarIcon_RemoveIcon, METH_VARARGS | METH_KEYWORDS, NULL },
26516 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL },
26517 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS, NULL },
26518 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS, NULL },
26519 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS, NULL },
26520 { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS, NULL },
26521 { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS, NULL },
26522 { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL },
26523 { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL },
26524 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL },
26525 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL },
26526 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL },
26527 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL },
26528 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS, NULL },
26529 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS, NULL },
26530 { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS, NULL },
26531 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS, NULL },
26532 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS, NULL },
26533 { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS, NULL },
26534 { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL },
26535 { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
26536 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL },
26537 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL },
26538 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS, NULL },
26539 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS, NULL },
26540 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL },
26541 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL },
26542 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS, NULL },
26543 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL },
26544 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS, NULL },
26545 { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
26546 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL },
26547 { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL },
26548 { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS, NULL },
26549 { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS, NULL },
26550 { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS, NULL },
26551 { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS, NULL },
26552 { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
26553 { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL },
26554 { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS, NULL },
26555 { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS, NULL },
26556 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS, NULL },
26557 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL },
26558 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS, NULL },
26559 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL },
26560 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS, NULL },
26561 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL },
26562 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
26563 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL },
26564 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
26565 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS, NULL },
26566 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL },
26567 { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
26568 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS, NULL },
26569 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS, NULL },
26570 { (char *)"new_PasswordEntryDialog", (PyCFunction) _wrap_new_PasswordEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL },
26571 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister, METH_VARARGS, NULL },
26572 { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS, NULL },
26573 { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS, NULL },
26574 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS, NULL },
26575 { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL },
26576 { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL },
26577 { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL },
26578 { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS, NULL },
26579 { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL },
26580 { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL },
26581 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL },
26582 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL },
26583 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL },
26584 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL },
26585 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS, NULL },
26586 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL },
26587 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS, NULL },
26588 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS, NULL },
26589 { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS, NULL },
26590 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS, NULL },
26591 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS, NULL },
26592 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS, NULL },
26593 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL },
26594 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL },
26595 { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS, NULL },
26596 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL },
26597 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL },
26598 { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
26599 { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS, NULL },
26600 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL },
26601 { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS, NULL },
26602 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
26603 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL },
26604 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL },
26605 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS, NULL },
26606 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL },
26607 { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL },
26608 { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS, NULL },
26609 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL },
26610 { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
26611 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
26612 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL },
26613 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL },
26614 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS, NULL },
26615 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL },
26616 { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL },
26617 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL },
26618 { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS, NULL },
26619 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS, NULL },
26620 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS, NULL },
26621 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL },
26622 { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL },
26623 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL },
26624 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS, NULL },
26625 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS, NULL },
26626 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS, NULL },
26627 { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS, NULL },
26628 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS, NULL },
26629 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS, NULL },
26630 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
26631 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS, NULL },
26632 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS, NULL },
26633 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL },
26634 { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL },
26635 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL },
26636 { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS, NULL },
26637 { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS, NULL },
26638 { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS, NULL },
26639 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS, NULL },
26640 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL },
26641 { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL },
26642 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
26643 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS, NULL },
26644 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS, NULL },
26645 { (char *)"new_PrePyWindow", (PyCFunction) _wrap_new_PrePyWindow, METH_VARARGS | METH_KEYWORDS, NULL },
26646 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
26647 { (char *)"PyWindow_SetBestSize", (PyCFunction) _wrap_PyWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
26648 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL },
26649 { (char *)"PyWindow_base_DoSetSize", (PyCFunction) _wrap_PyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL },
26650 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
26651 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
26652 { (char *)"PyWindow_base_DoGetSize", (PyCFunction) _wrap_PyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL },
26653 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
26654 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction) _wrap_PyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
26655 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
26656 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
26657 { (char *)"PyWindow_base_InitDialog", (PyCFunction) _wrap_PyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL },
26658 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL },
26659 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL },
26660 { (char *)"PyWindow_base_Validate", (PyCFunction) _wrap_PyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL },
26661 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL },
26662 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL },
26663 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction) _wrap_PyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL },
26664 { (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL },
26665 { (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL },
26666 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL },
26667 { (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL },
26668 { (char *)"PyWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
26669 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL },
26670 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL },
26671 { (char *)"new_PrePyPanel", (PyCFunction) _wrap_new_PrePyPanel, METH_VARARGS | METH_KEYWORDS, NULL },
26672 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
26673 { (char *)"PyPanel_SetBestSize", (PyCFunction) _wrap_PyPanel_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
26674 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction) _wrap_PyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL },
26675 { (char *)"PyPanel_base_DoSetSize", (PyCFunction) _wrap_PyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL },
26676 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction) _wrap_PyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
26677 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
26678 { (char *)"PyPanel_base_DoGetSize", (PyCFunction) _wrap_PyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL },
26679 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction) _wrap_PyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
26680 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction) _wrap_PyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
26681 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
26682 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction) _wrap_PyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
26683 { (char *)"PyPanel_base_InitDialog", (PyCFunction) _wrap_PyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL },
26684 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL },
26685 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL },
26686 { (char *)"PyPanel_base_Validate", (PyCFunction) _wrap_PyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL },
26687 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction) _wrap_PyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL },
26688 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL },
26689 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction) _wrap_PyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL },
26690 { (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL },
26691 { (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL },
26692 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction) _wrap_PyPanel_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL },
26693 { (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyPanel_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL },
26694 { (char *)"PyPanel_base_GetDefaultAttributes", (PyCFunction) _wrap_PyPanel_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
26695 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL },
26696 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
26697 { (char *)"new_PrePyScrolledWindow", (PyCFunction) _wrap_new_PrePyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
26698 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
26699 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction) _wrap_PyScrolledWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
26700 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL },
26701 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL },
26702 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
26703 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
26704 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL },
26705 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
26706 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
26707 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
26708 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
26709 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction) _wrap_PyScrolledWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL },
26710 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL },
26711 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL },
26712 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction) _wrap_PyScrolledWindow_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL },
26713 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL },
26714 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL },
26715 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction) _wrap_PyScrolledWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL },
26716 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction) _wrap_PyScrolledWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL },
26717 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction) _wrap_PyScrolledWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL },
26718 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyScrolledWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL },
26719 { (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL },
26720 { (char *)"PyScrolledWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyScrolledWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
26721 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS, NULL },
26722 { (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS, NULL },
26723 { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS, NULL },
26724 { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL },
26725 { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS, NULL },
26726 { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
26727 { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
26728 { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL },
26729 { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL },
26730 { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS, NULL },
26731 { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS, NULL },
26732 { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL },
26733 { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS, NULL },
26734 { (char *)"PrintData_GetBin", (PyCFunction) _wrap_PrintData_GetBin, METH_VARARGS | METH_KEYWORDS, NULL },
26735 { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL },
26736 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL },
26737 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL },
26738 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
26739 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL },
26740 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL },
26741 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS, NULL },
26742 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL },
26743 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL },
26744 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS, NULL },
26745 { (char *)"PrintData_SetBin", (PyCFunction) _wrap_PrintData_SetBin, METH_VARARGS | METH_KEYWORDS, NULL },
26746 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL },
26747 { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS, NULL },
26748 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL },
26749 { (char *)"PrintData_GetPrinterCommand", (PyCFunction) _wrap_PrintData_GetPrinterCommand, METH_VARARGS | METH_KEYWORDS, NULL },
26750 { (char *)"PrintData_GetPrinterOptions", (PyCFunction) _wrap_PrintData_GetPrinterOptions, METH_VARARGS | METH_KEYWORDS, NULL },
26751 { (char *)"PrintData_GetPreviewCommand", (PyCFunction) _wrap_PrintData_GetPreviewCommand, METH_VARARGS | METH_KEYWORDS, NULL },
26752 { (char *)"PrintData_GetFontMetricPath", (PyCFunction) _wrap_PrintData_GetFontMetricPath, METH_VARARGS | METH_KEYWORDS, NULL },
26753 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction) _wrap_PrintData_GetPrinterScaleX, METH_VARARGS | METH_KEYWORDS, NULL },
26754 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction) _wrap_PrintData_GetPrinterScaleY, METH_VARARGS | METH_KEYWORDS, NULL },
26755 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction) _wrap_PrintData_GetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS, NULL },
26756 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction) _wrap_PrintData_GetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS, NULL },
26757 { (char *)"PrintData_SetPrinterCommand", (PyCFunction) _wrap_PrintData_SetPrinterCommand, METH_VARARGS | METH_KEYWORDS, NULL },
26758 { (char *)"PrintData_SetPrinterOptions", (PyCFunction) _wrap_PrintData_SetPrinterOptions, METH_VARARGS | METH_KEYWORDS, NULL },
26759 { (char *)"PrintData_SetPreviewCommand", (PyCFunction) _wrap_PrintData_SetPreviewCommand, METH_VARARGS | METH_KEYWORDS, NULL },
26760 { (char *)"PrintData_SetFontMetricPath", (PyCFunction) _wrap_PrintData_SetFontMetricPath, METH_VARARGS | METH_KEYWORDS, NULL },
26761 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction) _wrap_PrintData_SetPrinterScaleX, METH_VARARGS | METH_KEYWORDS, NULL },
26762 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction) _wrap_PrintData_SetPrinterScaleY, METH_VARARGS | METH_KEYWORDS, NULL },
26763 { (char *)"PrintData_SetPrinterScaling", (PyCFunction) _wrap_PrintData_SetPrinterScaling, METH_VARARGS | METH_KEYWORDS, NULL },
26764 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction) _wrap_PrintData_SetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS, NULL },
26765 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction) _wrap_PrintData_SetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS, NULL },
26766 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction) _wrap_PrintData_SetPrinterTranslation, METH_VARARGS | METH_KEYWORDS, NULL },
26767 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS, NULL },
26768 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData, METH_VARARGS, NULL },
26769 { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS, NULL },
26770 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL },
26771 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS, NULL },
26772 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
26773 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS, NULL },
26774 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL },
26775 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL },
26776 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS, NULL },
26777 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
26778 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS, NULL },
26779 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL },
26780 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS, NULL },
26781 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL },
26782 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL },
26783 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL },
26784 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL },
26785 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL },
26786 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS, NULL },
26787 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL },
26788 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL },
26789 { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
26790 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL },
26791 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL },
26792 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL },
26793 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL },
26794 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL },
26795 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL },
26796 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL },
26797 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL },
26798 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL },
26799 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS, NULL },
26800 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL },
26801 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS, NULL },
26802 { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL },
26803 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS, NULL },
26804 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS, NULL },
26805 { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL },
26806 { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS, NULL },
26807 { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS, NULL },
26808 { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS, NULL },
26809 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL },
26810 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL },
26811 { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS, NULL },
26812 { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
26813 { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS, NULL },
26814 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL },
26815 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction) _wrap_PrintDialogData_GetSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL },
26816 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction) _wrap_PrintDialogData_SetSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL },
26817 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS, NULL },
26818 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS, NULL },
26819 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS, NULL },
26820 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL },
26821 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL },
26822 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS, NULL },
26823 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
26824 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL },
26825 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL },
26826 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL },
26827 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS, NULL },
26828 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL },
26829 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL },
26830 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL },
26831 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS, NULL },
26832 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL },
26833 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS, NULL },
26834 { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
26835 { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL },
26836 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL },
26837 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS, NULL },
26838 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL },
26839 { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL },
26840 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL },
26841 { (char *)"PrintDialog_GetPrintData", (PyCFunction) _wrap_PrintDialog_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL },
26842 { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS, NULL },
26843 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS, NULL },
26844 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS, NULL },
26845 { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS, NULL },
26846 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS, NULL },
26847 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS, NULL },
26848 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS, NULL },
26849 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS, NULL },
26850 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL },
26851 { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL },
26852 { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS, NULL },
26853 { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS, NULL },
26854 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS, NULL },
26855 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS, NULL },
26856 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
26857 { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL },
26858 { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS, NULL },
26859 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS, NULL },
26860 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL },
26861 { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL },
26862 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL },
26863 { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL },
26864 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL },
26865 { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL },
26866 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL },
26867 { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL },
26868 { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS, NULL },
26869 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS, NULL },
26870 { (char *)"Printout_base_OnBeginDocument", (PyCFunction) _wrap_Printout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS, NULL },
26871 { (char *)"Printout_base_OnEndDocument", (PyCFunction) _wrap_Printout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS, NULL },
26872 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS, NULL },
26873 { (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS, NULL },
26874 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS, NULL },
26875 { (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS, NULL },
26876 { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS, NULL },
26877 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS, NULL },
26878 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
26879 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS, NULL },
26880 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL },
26881 { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS, NULL },
26882 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
26883 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
26884 { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
26885 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS, NULL },
26886 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
26887 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL },
26888 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL },
26889 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL },
26890 { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS, NULL },
26891 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS, NULL },
26892 { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS, NULL },
26893 { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS, NULL },
26894 { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS, NULL },
26895 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS, NULL },
26896 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS, NULL },
26897 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL },
26898 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL },
26899 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS, NULL },
26900 { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS, NULL },
26901 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS, NULL },
26902 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS, NULL },
26903 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
26904 { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS, NULL },
26905 { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
26906 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL },
26907 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL },
26908 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL },
26909 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL },
26910 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL },
26911 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL },
26912 { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS, NULL },
26913 { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL },
26914 { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS, NULL },
26915 { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
26916 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS, NULL },
26917 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL },
26918 { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS, NULL },
26919 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS, NULL },
26920 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS, NULL },
26921 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
26922 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL },
26923 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction) _wrap_PyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL },
26924 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL },
26925 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction) _wrap_PyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL },
26926 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction) _wrap_PyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL },
26927 { (char *)"PyPrintPreview_base_Print", (PyCFunction) _wrap_PyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS, NULL },
26928 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS, NULL },
26929 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS, NULL },
26930 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL },
26931 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
26932 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
26933 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
26934 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction) _wrap_PyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS, NULL },
26935 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
26936 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
26937 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS, NULL },
26938 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
26939 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
26940 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL },
26941 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS, NULL },
26942 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL },
26943 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS, NULL },
26944 { (char *)"PrintFactory_CreatePrinter", (PyCFunction) _wrap_PrintFactory_CreatePrinter, METH_VARARGS | METH_KEYWORDS, NULL },
26945 { (char *)"PrintFactory_CreatePrintPreview", _wrap_PrintFactory_CreatePrintPreview, METH_VARARGS, NULL },
26946 { (char *)"PrintFactory_CreatePrintDialog", _wrap_PrintFactory_CreatePrintDialog, METH_VARARGS, NULL },
26947 { (char *)"PrintFactory_HasPrintSetupDialog", (PyCFunction) _wrap_PrintFactory_HasPrintSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL },
26948 { (char *)"PrintFactory_CreatePrintSetupDialog", (PyCFunction) _wrap_PrintFactory_CreatePrintSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL },
26949 { (char *)"PrintFactory_HasOwnPrintToFile", (PyCFunction) _wrap_PrintFactory_HasOwnPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL },
26950 { (char *)"PrintFactory_HasPrinterLine", (PyCFunction) _wrap_PrintFactory_HasPrinterLine, METH_VARARGS | METH_KEYWORDS, NULL },
26951 { (char *)"PrintFactory_CreatePrinterLine", (PyCFunction) _wrap_PrintFactory_CreatePrinterLine, METH_VARARGS | METH_KEYWORDS, NULL },
26952 { (char *)"PrintFactory_HasStatusLine", (PyCFunction) _wrap_PrintFactory_HasStatusLine, METH_VARARGS | METH_KEYWORDS, NULL },
26953 { (char *)"PrintFactory_CreateStatusLine", (PyCFunction) _wrap_PrintFactory_CreateStatusLine, METH_VARARGS | METH_KEYWORDS, NULL },
26954 { (char *)"PrintFactory_CreatePrintNativeData", (PyCFunction) _wrap_PrintFactory_CreatePrintNativeData, METH_VARARGS | METH_KEYWORDS, NULL },
26955 { (char *)"PrintFactory_SetPrintFactory", (PyCFunction) _wrap_PrintFactory_SetPrintFactory, METH_VARARGS | METH_KEYWORDS, NULL },
26956 { (char *)"PrintFactory_GetFactory", (PyCFunction) _wrap_PrintFactory_GetFactory, METH_VARARGS | METH_KEYWORDS, NULL },
26957 { (char *)"PrintFactory_swigregister", PrintFactory_swigregister, METH_VARARGS, NULL },
26958 { (char *)"delete_PrintNativeDataBase", (PyCFunction) _wrap_delete_PrintNativeDataBase, METH_VARARGS | METH_KEYWORDS, NULL },
26959 { (char *)"PrintNativeDataBase_TransferTo", (PyCFunction) _wrap_PrintNativeDataBase_TransferTo, METH_VARARGS | METH_KEYWORDS, NULL },
26960 { (char *)"PrintNativeDataBase_TransferFrom", (PyCFunction) _wrap_PrintNativeDataBase_TransferFrom, METH_VARARGS | METH_KEYWORDS, NULL },
26961 { (char *)"PrintNativeDataBase_Ok", (PyCFunction) _wrap_PrintNativeDataBase_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
26962 { (char *)"PrintNativeDataBase_m_ref_set", (PyCFunction) _wrap_PrintNativeDataBase_m_ref_set, METH_VARARGS | METH_KEYWORDS, NULL },
26963 { (char *)"PrintNativeDataBase_m_ref_get", (PyCFunction) _wrap_PrintNativeDataBase_m_ref_get, METH_VARARGS | METH_KEYWORDS, NULL },
26964 { (char *)"PrintNativeDataBase_swigregister", PrintNativeDataBase_swigregister, METH_VARARGS, NULL },
26965 { NULL, NULL, 0, NULL }
26966 };
26967
26968
26969 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
26970
26971 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
26972 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
26973 }
26974 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
26975 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
26976 }
26977 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
26978 return (void *)((wxEvent *) ((wxMenuEvent *) x));
26979 }
26980 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
26981 return (void *)((wxEvent *) ((wxCloseEvent *) x));
26982 }
26983 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
26984 return (void *)((wxEvent *) ((wxMouseEvent *) x));
26985 }
26986 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
26987 return (void *)((wxEvent *) ((wxEraseEvent *) x));
26988 }
26989 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
26990 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
26991 }
26992 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
26993 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
26994 }
26995 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
26996 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
26997 }
26998 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
26999 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
27000 }
27001 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
27002 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
27003 }
27004 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
27005 return (void *)((wxEvent *) ((wxPyEvent *) x));
27006 }
27007 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
27008 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
27009 }
27010 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
27011 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
27012 }
27013 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
27014 return (void *)((wxEvent *) ((wxIdleEvent *) x));
27015 }
27016 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
27017 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
27018 }
27019 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
27020 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
27021 }
27022 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
27023 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
27024 }
27025 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
27026 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
27027 }
27028 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
27029 return (void *)((wxEvent *) ((wxActivateEvent *) x));
27030 }
27031 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
27032 return (void *)((wxEvent *) ((wxSizeEvent *) x));
27033 }
27034 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
27035 return (void *)((wxEvent *) ((wxMoveEvent *) x));
27036 }
27037 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
27038 return (void *)((wxEvent *) ((wxPaintEvent *) x));
27039 }
27040 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
27041 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
27042 }
27043 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
27044 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
27045 }
27046 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
27047 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
27048 }
27049 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
27050 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
27051 }
27052 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
27053 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
27054 }
27055 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
27056 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
27057 }
27058 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
27059 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
27060 }
27061 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
27062 return (void *)((wxEvent *) ((wxFocusEvent *) x));
27063 }
27064 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
27065 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
27066 }
27067 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
27068 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
27069 }
27070 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
27071 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
27072 }
27073 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
27074 return (void *)((wxEvent *) ((wxShowEvent *) x));
27075 }
27076 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
27077 return (void *)((wxEvent *) ((wxCommandEvent *) x));
27078 }
27079 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
27080 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
27081 }
27082 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
27083 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
27084 }
27085 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
27086 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
27087 }
27088 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
27089 return (void *)((wxEvent *) ((wxKeyEvent *) x));
27090 }
27091 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
27092 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
27093 }
27094 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
27095 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
27096 }
27097 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
27098 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
27099 }
27100 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x) {
27101 return (void *)((wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
27102 }
27103 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
27104 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
27105 }
27106 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
27107 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
27108 }
27109 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
27110 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
27111 }
27112 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
27113 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
27114 }
27115 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
27116 return (void *)((wxEvtHandler *) ((wxValidator *) x));
27117 }
27118 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
27119 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
27120 }
27121 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
27122 return (void *)((wxEvtHandler *) ((wxMenu *) x));
27123 }
27124 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
27125 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
27126 }
27127 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
27128 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
27129 }
27130 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
27131 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
27132 }
27133 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
27134 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
27135 }
27136 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
27137 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
27138 }
27139 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
27140 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
27141 }
27142 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
27143 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
27144 }
27145 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
27146 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
27147 }
27148 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
27149 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
27150 }
27151 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
27152 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
27153 }
27154 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
27155 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
27156 }
27157 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
27158 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
27159 }
27160 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
27161 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
27162 }
27163 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
27164 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
27165 }
27166 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
27167 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
27168 }
27169 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
27170 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
27171 }
27172 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
27173 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
27174 }
27175 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
27176 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
27177 }
27178 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
27179 return (void *)((wxEvtHandler *) ((wxWindow *) x));
27180 }
27181 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
27182 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
27183 }
27184 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
27185 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
27186 }
27187 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
27188 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
27189 }
27190 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
27191 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
27192 }
27193 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
27194 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
27195 }
27196 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
27197 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
27198 }
27199 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
27200 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
27201 }
27202 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
27203 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
27204 }
27205 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
27206 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
27207 }
27208 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
27209 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
27210 }
27211 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
27212 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
27213 }
27214 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
27215 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
27216 }
27217 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
27218 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
27219 }
27220 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
27221 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
27222 }
27223 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
27224 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
27225 }
27226 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
27227 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
27228 }
27229 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
27230 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
27231 }
27232 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
27233 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
27234 }
27235 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
27236 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
27237 }
27238 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
27239 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
27240 }
27241 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
27242 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
27243 }
27244 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
27245 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
27246 }
27247 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) {
27248 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
27249 }
27250 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) {
27251 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
27252 }
27253 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
27254 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
27255 }
27256 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
27257 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
27258 }
27259 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
27260 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
27261 }
27262 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
27263 return (void *)((wxFrame *) ((wxProgressDialog *) x));
27264 }
27265 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
27266 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
27267 }
27268 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
27269 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
27270 }
27271 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
27272 return (void *)((wxFrame *) ((wxMiniFrame *) x));
27273 }
27274 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
27275 return (void *)((wxFrame *) ((wxSplashScreen *) x));
27276 }
27277 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
27278 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
27279 }
27280 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
27281 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
27282 }
27283 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
27284 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
27285 }
27286 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
27287 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
27288 }
27289 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
27290 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
27291 }
27292 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
27293 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
27294 }
27295 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
27296 return (void *)((wxObject *) ((wxSizerItem *) x));
27297 }
27298 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
27299 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
27300 }
27301 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
27302 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
27303 }
27304 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
27305 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
27306 }
27307 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
27308 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
27309 }
27310 static void *_p_wxSizerTo_p_wxObject(void *x) {
27311 return (void *)((wxObject *) ((wxSizer *) x));
27312 }
27313 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
27314 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
27315 }
27316 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
27317 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
27318 }
27319 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
27320 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
27321 }
27322 static void *_p_wxEventTo_p_wxObject(void *x) {
27323 return (void *)((wxObject *) ((wxEvent *) x));
27324 }
27325 static void *_p_wxFontDataTo_p_wxObject(void *x) {
27326 return (void *)((wxObject *) ((wxFontData *) x));
27327 }
27328 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
27329 return (void *)((wxObject *) ((wxPrintData *) x));
27330 }
27331 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
27332 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
27333 }
27334 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
27335 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
27336 }
27337 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
27338 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
27339 }
27340 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
27341 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
27342 }
27343 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
27344 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
27345 }
27346 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
27347 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
27348 }
27349 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
27350 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
27351 }
27352 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
27353 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
27354 }
27355 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
27356 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
27357 }
27358 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
27359 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
27360 }
27361 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
27362 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
27363 }
27364 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
27365 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
27366 }
27367 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
27368 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
27369 }
27370 static void *_p_wxControlTo_p_wxObject(void *x) {
27371 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
27372 }
27373 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
27374 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
27375 }
27376 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
27377 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
27378 }
27379 static void *_p_wxFSFileTo_p_wxObject(void *x) {
27380 return (void *)((wxObject *) ((wxFSFile *) x));
27381 }
27382 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
27383 return (void *)((wxObject *) ((wxFindReplaceData *) x));
27384 }
27385 static void *_p_wxPySizerTo_p_wxObject(void *x) {
27386 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
27387 }
27388 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
27389 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
27390 }
27391 static void *_p_wxColourDataTo_p_wxObject(void *x) {
27392 return (void *)((wxObject *) ((wxColourData *) x));
27393 }
27394 static void *_p_wxPyEventTo_p_wxObject(void *x) {
27395 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
27396 }
27397 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
27398 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
27399 }
27400 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
27401 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
27402 }
27403 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
27404 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
27405 }
27406 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
27407 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
27408 }
27409 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
27410 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
27411 }
27412 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
27413 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
27414 }
27415 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
27416 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
27417 }
27418 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
27419 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
27420 }
27421 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
27422 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
27423 }
27424 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
27425 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
27426 }
27427 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
27428 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
27429 }
27430 static void *_p_wxShowEventTo_p_wxObject(void *x) {
27431 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
27432 }
27433 static void *_p_wxPrinterTo_p_wxObject(void *x) {
27434 return (void *)((wxObject *) ((wxPrinter *) x));
27435 }
27436 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
27437 return (void *)((wxObject *) ((wxMenuItem *) x));
27438 }
27439 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
27440 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
27441 }
27442 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
27443 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
27444 }
27445 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
27446 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
27447 }
27448 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
27449 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
27450 }
27451 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
27452 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
27453 }
27454 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
27455 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
27456 }
27457 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
27458 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
27459 }
27460 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
27461 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
27462 }
27463 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
27464 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
27465 }
27466 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
27467 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
27468 }
27469 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
27470 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
27471 }
27472 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
27473 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
27474 }
27475 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
27476 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
27477 }
27478 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
27479 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
27480 }
27481 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
27482 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
27483 }
27484 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
27485 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
27486 }
27487 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
27488 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
27489 }
27490 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
27491 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
27492 }
27493 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
27494 return (void *)((wxObject *) ((wxImageHandler *) x));
27495 }
27496 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
27497 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
27498 }
27499 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
27500 return (void *)((wxObject *) ((wxEvtHandler *) x));
27501 }
27502 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
27503 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
27504 }
27505 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
27506 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
27507 }
27508 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
27509 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
27510 }
27511 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
27512 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
27513 }
27514 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
27515 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
27516 }
27517 static void *_p_wxImageTo_p_wxObject(void *x) {
27518 return (void *)((wxObject *) ((wxImage *) x));
27519 }
27520 static void *_p_wxFrameTo_p_wxObject(void *x) {
27521 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
27522 }
27523 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
27524 return (void *)((wxObject *) ((wxPyPrintout *) x));
27525 }
27526 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
27527 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
27528 }
27529 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
27530 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
27531 }
27532 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
27533 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
27534 }
27535 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
27536 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
27537 }
27538 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
27539 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
27540 }
27541 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
27542 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
27543 }
27544 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
27545 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
27546 }
27547 static void *_p_wxWindowTo_p_wxObject(void *x) {
27548 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
27549 }
27550 static void *_p_wxMenuTo_p_wxObject(void *x) {
27551 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
27552 }
27553 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
27554 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
27555 }
27556 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
27557 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
27558 }
27559 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
27560 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
27561 }
27562 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
27563 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
27564 }
27565 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
27566 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
27567 }
27568 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
27569 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
27570 }
27571 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
27572 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
27573 }
27574 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
27575 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
27576 }
27577 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
27578 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
27579 }
27580 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
27581 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
27582 }
27583 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
27584 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
27585 }
27586 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
27587 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
27588 }
27589 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
27590 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
27591 }
27592 static void *_p_wxSashEventTo_p_wxObject(void *x) {
27593 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
27594 }
27595 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
27596 return (void *)((wxObject *) ((wxPrintPreview *) x));
27597 }
27598 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
27599 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
27600 }
27601 static void *_p_wxPanelTo_p_wxObject(void *x) {
27602 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
27603 }
27604 static void *_p_wxDialogTo_p_wxObject(void *x) {
27605 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
27606 }
27607 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
27608 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
27609 }
27610 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
27611 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
27612 }
27613 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
27614 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
27615 }
27616 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
27617 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
27618 }
27619 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
27620 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
27621 }
27622 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
27623 return (void *)((wxObject *) ((wxFileSystem *) x));
27624 }
27625 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
27626 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
27627 }
27628 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
27629 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
27630 }
27631 static void *_p_wxPyAppTo_p_wxObject(void *x) {
27632 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
27633 }
27634 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
27635 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
27636 }
27637 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
27638 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
27639 }
27640 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
27641 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
27642 }
27643 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
27644 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
27645 }
27646 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
27647 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
27648 }
27649 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
27650 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
27651 }
27652 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
27653 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
27654 }
27655 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
27656 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
27657 }
27658 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
27659 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
27660 }
27661 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
27662 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
27663 }
27664 static void *_p_wxPrintNativeDataBaseTo_p_wxObject(void *x) {
27665 return (void *)((wxObject *) ((wxPrintNativeDataBase *) x));
27666 }
27667 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
27668 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
27669 }
27670 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
27671 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
27672 }
27673 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
27674 return (void *)((wxObject *) ((wxPrintDialogData *) x));
27675 }
27676 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
27677 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
27678 }
27679 static void *_p_wxValidatorTo_p_wxObject(void *x) {
27680 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
27681 }
27682 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
27683 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
27684 }
27685 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
27686 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
27687 }
27688 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) {
27689 return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x));
27690 }
27691 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
27692 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
27693 }
27694 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) {
27695 return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x));
27696 }
27697 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
27698 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
27699 }
27700 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
27701 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
27702 }
27703 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
27704 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
27705 }
27706 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
27707 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
27708 }
27709 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
27710 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
27711 }
27712 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
27713 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
27714 }
27715 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
27716 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
27717 }
27718 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x) {
27719 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPageSetupDialog *) x));
27720 }
27721 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x) {
27722 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPrintDialog *) x));
27723 }
27724 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
27725 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
27726 }
27727 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
27728 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
27729 }
27730 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
27731 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
27732 }
27733 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
27734 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
27735 }
27736 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
27737 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
27738 }
27739 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
27740 return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
27741 }
27742 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
27743 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
27744 }
27745 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
27746 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
27747 }
27748 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
27749 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
27750 }
27751 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
27752 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
27753 }
27754 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
27755 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
27756 }
27757 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
27758 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
27759 }
27760 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
27761 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
27762 }
27763 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
27764 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
27765 }
27766 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
27767 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
27768 }
27769 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
27770 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
27771 }
27772 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
27773 return (void *)((wxWindow *) ((wxMenuBar *) x));
27774 }
27775 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
27776 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
27777 }
27778 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
27779 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
27780 }
27781 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
27782 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
27783 }
27784 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
27785 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
27786 }
27787 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
27788 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
27789 }
27790 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
27791 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
27792 }
27793 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
27794 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
27795 }
27796 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
27797 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
27798 }
27799 static void *_p_wxPanelTo_p_wxWindow(void *x) {
27800 return (void *)((wxWindow *) ((wxPanel *) x));
27801 }
27802 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
27803 return (void *)((wxWindow *) ((wxStatusBar *) x));
27804 }
27805 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
27806 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
27807 }
27808 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
27809 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
27810 }
27811 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
27812 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
27813 }
27814 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
27815 return (void *)((wxWindow *) ((wxPopupWindow *) x));
27816 }
27817 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
27818 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
27819 }
27820 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
27821 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
27822 }
27823 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
27824 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
27825 }
27826 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
27827 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
27828 }
27829 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
27830 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
27831 }
27832 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
27833 return (void *)((wxWindow *) ((wxSashWindow *) x));
27834 }
27835 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
27836 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
27837 }
27838 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
27839 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
27840 }
27841 static void *_p_wxControlTo_p_wxWindow(void *x) {
27842 return (void *)((wxWindow *) ((wxControl *) x));
27843 }
27844 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
27845 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
27846 }
27847 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
27848 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
27849 }
27850 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
27851 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
27852 }
27853 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
27854 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
27855 }
27856 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
27857 return (void *)((wxWindow *) ((wxPyWindow *) x));
27858 }
27859 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
27860 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
27861 }
27862 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
27863 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
27864 }
27865 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
27866 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
27867 }
27868 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
27869 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
27870 }
27871 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
27872 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
27873 }
27874 static void *_p_wxFrameTo_p_wxWindow(void *x) {
27875 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
27876 }
27877 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
27878 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
27879 }
27880 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
27881 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
27882 }
27883 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
27884 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
27885 }
27886 static void *_p_wxDialogTo_p_wxWindow(void *x) {
27887 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
27888 }
27889 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) {
27890 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
27891 }
27892 static void *_p_wxPrintDialogTo_p_wxWindow(void *x) {
27893 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
27894 }
27895 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
27896 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
27897 }
27898 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
27899 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
27900 }
27901 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
27902 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
27903 }
27904 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
27905 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
27906 }
27907 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
27908 return (void *)((wxDialog *) ((wxColourDialog *) x));
27909 }
27910 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
27911 return (void *)((wxDialog *) ((wxDirDialog *) x));
27912 }
27913 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
27914 return (void *)((wxDialog *) ((wxFontDialog *) x));
27915 }
27916 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x) {
27917 return (void *)((wxDialog *) ((wxPageSetupDialog *) x));
27918 }
27919 static void *_p_wxPrintDialogTo_p_wxDialog(void *x) {
27920 return (void *)((wxDialog *) ((wxPrintDialog *) x));
27921 }
27922 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
27923 return (void *)((wxDialog *) ((wxFileDialog *) x));
27924 }
27925 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
27926 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
27927 }
27928 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
27929 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
27930 }
27931 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
27932 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
27933 }
27934 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) {
27935 return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
27936 }
27937 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
27938 return (void *)((wxDialog *) ((wxMessageDialog *) x));
27939 }
27940 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
27941 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
27942 }
27943 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
27944 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
27945 }
27946 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
27947 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
27948 }
27949 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
27950 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
27951 }
27952 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
27953 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
27954 }
27955 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
27956 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
27957 }
27958 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
27959 return (void *)((wxPanel *) ((wxPyPanel *) x));
27960 }
27961 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
27962 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
27963 }
27964 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
27965 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
27966 }
27967 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
27968 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
27969 }
27970 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
27971 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
27972 }
27973 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
27974 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
27975 }
27976 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
27977 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
27978 }
27979 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
27980 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
27981 }
27982 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
27983 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
27984 }
27985 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
27986 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
27987 }
27988 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
27989 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
27990 }
27991 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
27992 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
27993 }
27994 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
27995 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
27996 }
27997 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
27998 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
27999 }
28000 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
28001 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
28002 }
28003 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
28004 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
28005 }
28006 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}};
28007 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}};
28008 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}};
28009 static swig_type_info _swigt__p_wxPrintDialogBase[] = {{"_p_wxPrintDialogBase", 0, "wxPrintDialogBase *", 0, 0, 0, 0},{"_p_wxPrintDialogBase", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
28010 static swig_type_info _swigt__p_wxPrintFactory[] = {{"_p_wxPrintFactory", 0, "wxPrintFactory *", 0, 0, 0, 0},{"_p_wxPrintFactory", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
28011 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}};
28012 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}};
28013 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}};
28014 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}};
28015 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}};
28016 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}};
28017 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}};
28018 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}};
28019 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}};
28020 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}};
28021 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}};
28022 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}};
28023 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}};
28024 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}};
28025 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}};
28026 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}};
28027 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}};
28028 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}};
28029 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}};
28030 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}};
28031 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}};
28032 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}};
28033 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}};
28034 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}};
28035 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}};
28036 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}};
28037 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}};
28038 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}};
28039 static swig_type_info _swigt__p_wxPasswordEntryDialog[] = {{"_p_wxPasswordEntryDialog", 0, "wxPasswordEntryDialog *", 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
28040 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}};
28041 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}};
28042 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}};
28043 static swig_type_info _swigt__p_wxTextEntryDialog[] = {{"_p_wxTextEntryDialog", 0, "wxTextEntryDialog *", 0, 0, 0, 0},{"_p_wxTextEntryDialog", 0, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxTextEntryDialog, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
28044 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}};
28045 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}};
28046 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_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_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_wxPanel", _p_wxPanelTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_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}};
28047 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}};
28048 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}};
28049 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}};
28050 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}};
28051 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}};
28052 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}};
28053 static swig_type_info _swigt__p_wxFrame[] = {{"_p_wxFrame", 0, "wxFrame *", 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxFrame", 0, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
28054 static swig_type_info _swigt__p_wxPrintout[] = {{"_p_wxPrintout", 0, "wxPrintout *", 0, 0, 0, 0},{"_p_wxPrintout", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
28055 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}};
28056 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}};
28057 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}};
28058 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}};
28059 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}};
28060 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}};
28061 static swig_type_info _swigt__p_wxPrintPreviewBase[] = {{"_p_wxPrintPreviewBase", 0, "wxPrintPreviewBase *", 0, 0, 0, 0},{"_p_wxPrintPreviewBase", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
28062 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_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_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_wxTextEntryDialog", _p_wxTextEntryDialogTo_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_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_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPrintout", _p_wxPyPrintoutTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintNativeDataBase", _p_wxPrintNativeDataBaseTo_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}};
28063 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}};
28064 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}};
28065 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}};
28066 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}};
28067 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}};
28068 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}};
28069 static swig_type_info _swigt__p_wxPyPopupTransientWindow[] = {{"_p_wxPyPopupTransientWindow", 0, "wxPyPopupTransientWindow *", 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxPyPopupTransientWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
28070 static swig_type_info _swigt__p_wxPopupWindow[] = {{"_p_wxPopupWindow", 0, "wxPopupWindow *", 0, 0, 0, 0},{"_p_wxPopupWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxPopupWindow, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxPopupWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
28071 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}};
28072 static swig_type_info _swigt__p_wxTopLevelWindow[] = {{"_p_wxTopLevelWindow", 0, "wxTopLevelWindow *", 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", 0, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_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}};
28073 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_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_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_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_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}};
28074 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}};
28075 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}};
28076 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}};
28077 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}};
28078 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}};
28079 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}};
28080 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}};
28081 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}};
28082 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}};
28083 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}};
28084 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_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_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}};
28085 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}};
28086 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}};
28087 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}};
28088 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}};
28089 static swig_type_info _swigt__p_wxPrinterBase[] = {{"_p_wxPrinterBase", 0, "wxPrinterBase *", 0, 0, 0, 0},{"_p_wxPrinterBase", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
28090 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}};
28091 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}};
28092 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}};
28093 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}};
28094 static swig_type_info _swigt__p_wxPrintNativeDataBase[] = {{"_p_wxPrintNativeDataBase", 0, "wxPrintNativeDataBase *", 0, 0, 0, 0},{"_p_wxPrintNativeDataBase", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
28095 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}};
28096 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}};
28097 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}};
28098 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}};
28099
28100 static swig_type_info *swig_types_initial[] = {
28101 _swigt__p_wxQueryLayoutInfoEvent,
28102 _swigt__p_wxPreviewFrame,
28103 _swigt__p_wxPyPreviewFrame,
28104 _swigt__p_wxPrintDialogBase,
28105 _swigt__p_wxPrintFactory,
28106 _swigt__p_wxPyPanel,
28107 _swigt__p_wxMenu,
28108 _swigt__p_wxFontData,
28109 _swigt__p_wxEvent,
28110 _swigt__p_wxPrintData,
28111 _swigt__p_wxTaskBarIcon,
28112 _swigt__p_wxPyTaskBarIcon,
28113 _swigt__p_wxIconBundle,
28114 _swigt__p_wxLayoutAlgorithm,
28115 _swigt__p_wxFindDialogEvent,
28116 _swigt__p_wxPreviewCanvas,
28117 _swigt__p_wxFont,
28118 _swigt__p_wxSplitterEvent,
28119 _swigt__p_wxRegion,
28120 _swigt__p_wxFindReplaceData,
28121 _swigt__p_int,
28122 _swigt__p_wxSize,
28123 _swigt__p_wxDC,
28124 _swigt__p_wxIcon,
28125 _swigt__p_wxVisualAttributes,
28126 _swigt__p_wxMDIChildFrame,
28127 _swigt__p_wxColourData,
28128 _swigt__p_wxNotifyEvent,
28129 _swigt__p_wxPyWindow,
28130 _swigt__p_wxSplashScreen,
28131 _swigt__p_wxFindReplaceDialog,
28132 _swigt__p_wxProgressDialog,
28133 _swigt__p_wxMessageDialog,
28134 _swigt__p_wxPasswordEntryDialog,
28135 _swigt__p_wxSingleChoiceDialog,
28136 _swigt__p_wxMultiChoiceDialog,
28137 _swigt__p_wxFileDialog,
28138 _swigt__p_wxTextEntryDialog,
28139 _swigt__p_wxPrinter,
28140 _swigt__p_wxArrayInt,
28141 _swigt__p_wxEvtHandler,
28142 _swigt__p_wxCalculateLayoutEvent,
28143 _swigt__p_wxPyHtmlListBox,
28144 _swigt__p_wxPyVListBox,
28145 _swigt__p_wxRect,
28146 _swigt__p_char,
28147 _swigt__p_wxMiniFrame,
28148 _swigt__p_wxFrame,
28149 _swigt__p_wxPrintout,
28150 _swigt__p_wxPyPrintout,
28151 _swigt__p_wxTaskBarIconEvent,
28152 _swigt__p_wxScrollWinEvent,
28153 _swigt__p_wxStatusBar,
28154 _swigt__p_wxMDIParentFrame,
28155 _swigt__p_wxPoint,
28156 _swigt__p_wxPrintPreviewBase,
28157 _swigt__p_wxObject,
28158 _swigt__p_wxMDIClientWindow,
28159 _swigt__p_wxTipWindow,
28160 _swigt__p_wxSashLayoutWindow,
28161 _swigt__p_wxSplitterWindow,
28162 _swigt__p_wxSplashScreenWindow,
28163 _swigt__p_wxPyVScrolledWindow,
28164 _swigt__p_wxPyPopupTransientWindow,
28165 _swigt__p_wxPopupWindow,
28166 _swigt__p_wxSashWindow,
28167 _swigt__p_wxTopLevelWindow,
28168 _swigt__p_wxWindow,
28169 _swigt__p_wxScrolledWindow,
28170 _swigt__p_wxMenuBar,
28171 _swigt__p_wxPyScrolledWindow,
28172 _swigt__p_wxPrintPreview,
28173 _swigt__p_wxSashEvent,
28174 _swigt__p_wxString,
28175 _swigt__p_wxPyPrintPreview,
28176 _swigt__p_wxFontDialog,
28177 _swigt__p_wxDirDialog,
28178 _swigt__p_wxColourDialog,
28179 _swigt__p_wxDialog,
28180 _swigt__p_wxPanel,
28181 _swigt__p_wxPageSetupDialog,
28182 _swigt__p_wxPrintDialog,
28183 _swigt__p_wxFileSystem,
28184 _swigt__p_wxPrinterBase,
28185 _swigt__p_wxBitmap,
28186 _swigt__p_wxCommandEvent,
28187 _swigt__p_wxPreviewControlBar,
28188 _swigt__p_wxPyPreviewControlBar,
28189 _swigt__p_wxPrintNativeDataBase,
28190 _swigt__p_wxColour,
28191 _swigt__p_wxToolBar,
28192 _swigt__p_wxPageSetupDialogData,
28193 _swigt__p_wxPrintDialogData,
28194 0
28195 };
28196
28197
28198 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
28199
28200 static swig_const_info swig_const_table[] = {
28201 {0, 0, 0, 0.0, 0, 0}};
28202
28203 #ifdef __cplusplus
28204 }
28205 #endif
28206
28207 #ifdef __cplusplus
28208 extern "C"
28209 #endif
28210 SWIGEXPORT(void) SWIG_init(void) {
28211 static PyObject *SWIG_globals = 0;
28212 static int typeinit = 0;
28213 PyObject *m, *d;
28214 int i;
28215 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
28216 m = Py_InitModule((char *) SWIG_name, SwigMethods);
28217 d = PyModule_GetDict(m);
28218
28219 if (!typeinit) {
28220 for (i = 0; swig_types_initial[i]; i++) {
28221 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
28222 }
28223 typeinit = 1;
28224 }
28225 SWIG_InstallConstants(d,swig_const_table);
28226
28227 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
28228 SWIG_addvarlink(SWIG_globals,(char*)"FrameNameStr",_wrap_FrameNameStr_get, _wrap_FrameNameStr_set);
28229 SWIG_addvarlink(SWIG_globals,(char*)"DialogNameStr",_wrap_DialogNameStr_get, _wrap_DialogNameStr_set);
28230 SWIG_addvarlink(SWIG_globals,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get, _wrap_StatusLineNameStr_set);
28231 SWIG_addvarlink(SWIG_globals,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get, _wrap_ToolBarNameStr_set);
28232 PyDict_SetItemString(d,"STAY_ON_TOP", SWIG_From_int((int)wxSTAY_ON_TOP));
28233 PyDict_SetItemString(d,"ICONIZE", SWIG_From_int((int)wxICONIZE));
28234 PyDict_SetItemString(d,"MINIMIZE", SWIG_From_int((int)wxMINIMIZE));
28235 PyDict_SetItemString(d,"MAXIMIZE", SWIG_From_int((int)wxMAXIMIZE));
28236 PyDict_SetItemString(d,"CLOSE_BOX", SWIG_From_int((int)wxCLOSE_BOX));
28237 PyDict_SetItemString(d,"THICK_FRAME", SWIG_From_int((int)wxTHICK_FRAME));
28238 PyDict_SetItemString(d,"SYSTEM_MENU", SWIG_From_int((int)wxSYSTEM_MENU));
28239 PyDict_SetItemString(d,"MINIMIZE_BOX", SWIG_From_int((int)wxMINIMIZE_BOX));
28240 PyDict_SetItemString(d,"MAXIMIZE_BOX", SWIG_From_int((int)wxMAXIMIZE_BOX));
28241 PyDict_SetItemString(d,"TINY_CAPTION_HORIZ", SWIG_From_int((int)wxTINY_CAPTION_HORIZ));
28242 PyDict_SetItemString(d,"TINY_CAPTION_VERT", SWIG_From_int((int)wxTINY_CAPTION_VERT));
28243 PyDict_SetItemString(d,"RESIZE_BOX", SWIG_From_int((int)wxRESIZE_BOX));
28244 PyDict_SetItemString(d,"RESIZE_BORDER", SWIG_From_int((int)wxRESIZE_BORDER));
28245 PyDict_SetItemString(d,"DIALOG_NO_PARENT", SWIG_From_int((int)wxDIALOG_NO_PARENT));
28246 PyDict_SetItemString(d,"DEFAULT_FRAME_STYLE", SWIG_From_int((int)wxDEFAULT_FRAME_STYLE));
28247 PyDict_SetItemString(d,"DEFAULT_DIALOG_STYLE", SWIG_From_int((int)wxDEFAULT_DIALOG_STYLE));
28248 PyDict_SetItemString(d,"FRAME_TOOL_WINDOW", SWIG_From_int((int)wxFRAME_TOOL_WINDOW));
28249 PyDict_SetItemString(d,"FRAME_FLOAT_ON_PARENT", SWIG_From_int((int)wxFRAME_FLOAT_ON_PARENT));
28250 PyDict_SetItemString(d,"FRAME_NO_WINDOW_MENU", SWIG_From_int((int)wxFRAME_NO_WINDOW_MENU));
28251 PyDict_SetItemString(d,"FRAME_NO_TASKBAR", SWIG_From_int((int)wxFRAME_NO_TASKBAR));
28252 PyDict_SetItemString(d,"FRAME_SHAPED", SWIG_From_int((int)wxFRAME_SHAPED));
28253 PyDict_SetItemString(d,"FRAME_DRAWER", SWIG_From_int((int)wxFRAME_DRAWER));
28254 PyDict_SetItemString(d,"DIALOG_MODAL", SWIG_From_int((int)wxDIALOG_MODAL));
28255 PyDict_SetItemString(d,"DIALOG_MODELESS", SWIG_From_int((int)wxDIALOG_MODELESS));
28256 PyDict_SetItemString(d,"USER_COLOURS", SWIG_From_int((int)wxUSER_COLOURS));
28257 PyDict_SetItemString(d,"NO_3D", SWIG_From_int((int)wxNO_3D));
28258 PyDict_SetItemString(d,"FULLSCREEN_NOMENUBAR", SWIG_From_int((int)wxFULLSCREEN_NOMENUBAR));
28259 PyDict_SetItemString(d,"FULLSCREEN_NOTOOLBAR", SWIG_From_int((int)wxFULLSCREEN_NOTOOLBAR));
28260 PyDict_SetItemString(d,"FULLSCREEN_NOSTATUSBAR", SWIG_From_int((int)wxFULLSCREEN_NOSTATUSBAR));
28261 PyDict_SetItemString(d,"FULLSCREEN_NOBORDER", SWIG_From_int((int)wxFULLSCREEN_NOBORDER));
28262 PyDict_SetItemString(d,"FULLSCREEN_NOCAPTION", SWIG_From_int((int)wxFULLSCREEN_NOCAPTION));
28263 PyDict_SetItemString(d,"FULLSCREEN_ALL", SWIG_From_int((int)wxFULLSCREEN_ALL));
28264 PyDict_SetItemString(d,"TOPLEVEL_EX_DIALOG", SWIG_From_int((int)wxTOPLEVEL_EX_DIALOG));
28265 PyDict_SetItemString(d,"USER_ATTENTION_INFO", SWIG_From_int((int)wxUSER_ATTENTION_INFO));
28266 PyDict_SetItemString(d,"USER_ATTENTION_ERROR", SWIG_From_int((int)wxUSER_ATTENTION_ERROR));
28267 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_PARENT", SWIG_From_int((int)wxSPLASH_CENTRE_ON_PARENT));
28268 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_SCREEN", SWIG_From_int((int)wxSPLASH_CENTRE_ON_SCREEN));
28269 PyDict_SetItemString(d,"SPLASH_NO_CENTRE", SWIG_From_int((int)wxSPLASH_NO_CENTRE));
28270 PyDict_SetItemString(d,"SPLASH_TIMEOUT", SWIG_From_int((int)wxSPLASH_TIMEOUT));
28271 PyDict_SetItemString(d,"SPLASH_NO_TIMEOUT", SWIG_From_int((int)wxSPLASH_NO_TIMEOUT));
28272 PyDict_SetItemString(d,"SB_NORMAL", SWIG_From_int((int)wxSB_NORMAL));
28273 PyDict_SetItemString(d,"SB_FLAT", SWIG_From_int((int)wxSB_FLAT));
28274 PyDict_SetItemString(d,"SB_RAISED", SWIG_From_int((int)wxSB_RAISED));
28275 SWIG_addvarlink(SWIG_globals,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get, _wrap_SplitterNameStr_set);
28276 PyDict_SetItemString(d,"SP_NOBORDER", SWIG_From_int((int)wxSP_NOBORDER));
28277 PyDict_SetItemString(d,"SP_NOSASH", SWIG_From_int((int)wxSP_NOSASH));
28278 PyDict_SetItemString(d,"SP_PERMIT_UNSPLIT", SWIG_From_int((int)wxSP_PERMIT_UNSPLIT));
28279 PyDict_SetItemString(d,"SP_LIVE_UPDATE", SWIG_From_int((int)wxSP_LIVE_UPDATE));
28280 PyDict_SetItemString(d,"SP_3DSASH", SWIG_From_int((int)wxSP_3DSASH));
28281 PyDict_SetItemString(d,"SP_3DBORDER", SWIG_From_int((int)wxSP_3DBORDER));
28282 PyDict_SetItemString(d,"SP_NO_XP_THEME", SWIG_From_int((int)wxSP_NO_XP_THEME));
28283 PyDict_SetItemString(d,"SP_BORDER", SWIG_From_int((int)wxSP_BORDER));
28284 PyDict_SetItemString(d,"SP_3D", SWIG_From_int((int)wxSP_3D));
28285 PyDict_SetItemString(d,"SPLIT_HORIZONTAL", SWIG_From_int((int)wxSPLIT_HORIZONTAL));
28286 PyDict_SetItemString(d,"SPLIT_VERTICAL", SWIG_From_int((int)wxSPLIT_VERTICAL));
28287 PyDict_SetItemString(d,"SPLIT_DRAG_NONE", SWIG_From_int((int)wxSPLIT_DRAG_NONE));
28288 PyDict_SetItemString(d,"SPLIT_DRAG_DRAGGING", SWIG_From_int((int)wxSPLIT_DRAG_DRAGGING));
28289 PyDict_SetItemString(d,"SPLIT_DRAG_LEFT_DOWN", SWIG_From_int((int)wxSPLIT_DRAG_LEFT_DOWN));
28290 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
28291 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
28292 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
28293 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
28294 SWIG_addvarlink(SWIG_globals,(char*)"SashNameStr",_wrap_SashNameStr_get, _wrap_SashNameStr_set);
28295 SWIG_addvarlink(SWIG_globals,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get, _wrap_SashLayoutNameStr_set);
28296 PyDict_SetItemString(d,"SASH_DRAG_NONE", SWIG_From_int((int)wxSASH_DRAG_NONE));
28297 PyDict_SetItemString(d,"SASH_DRAG_DRAGGING", SWIG_From_int((int)wxSASH_DRAG_DRAGGING));
28298 PyDict_SetItemString(d,"SASH_DRAG_LEFT_DOWN", SWIG_From_int((int)wxSASH_DRAG_LEFT_DOWN));
28299 PyDict_SetItemString(d,"SW_NOBORDER", SWIG_From_int((int)wxSW_NOBORDER));
28300 PyDict_SetItemString(d,"SW_BORDER", SWIG_From_int((int)wxSW_BORDER));
28301 PyDict_SetItemString(d,"SW_3DSASH", SWIG_From_int((int)wxSW_3DSASH));
28302 PyDict_SetItemString(d,"SW_3DBORDER", SWIG_From_int((int)wxSW_3DBORDER));
28303 PyDict_SetItemString(d,"SW_3D", SWIG_From_int((int)wxSW_3D));
28304 PyDict_SetItemString(d,"SASH_TOP", SWIG_From_int((int)wxSASH_TOP));
28305 PyDict_SetItemString(d,"SASH_RIGHT", SWIG_From_int((int)wxSASH_RIGHT));
28306 PyDict_SetItemString(d,"SASH_BOTTOM", SWIG_From_int((int)wxSASH_BOTTOM));
28307 PyDict_SetItemString(d,"SASH_LEFT", SWIG_From_int((int)wxSASH_LEFT));
28308 PyDict_SetItemString(d,"SASH_NONE", SWIG_From_int((int)wxSASH_NONE));
28309 PyDict_SetItemString(d,"SASH_STATUS_OK", SWIG_From_int((int)wxSASH_STATUS_OK));
28310 PyDict_SetItemString(d,"SASH_STATUS_OUT_OF_RANGE", SWIG_From_int((int)wxSASH_STATUS_OUT_OF_RANGE));
28311 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
28312 PyDict_SetItemString(d,"LAYOUT_HORIZONTAL", SWIG_From_int((int)wxLAYOUT_HORIZONTAL));
28313 PyDict_SetItemString(d,"LAYOUT_VERTICAL", SWIG_From_int((int)wxLAYOUT_VERTICAL));
28314 PyDict_SetItemString(d,"LAYOUT_NONE", SWIG_From_int((int)wxLAYOUT_NONE));
28315 PyDict_SetItemString(d,"LAYOUT_TOP", SWIG_From_int((int)wxLAYOUT_TOP));
28316 PyDict_SetItemString(d,"LAYOUT_LEFT", SWIG_From_int((int)wxLAYOUT_LEFT));
28317 PyDict_SetItemString(d,"LAYOUT_RIGHT", SWIG_From_int((int)wxLAYOUT_RIGHT));
28318 PyDict_SetItemString(d,"LAYOUT_BOTTOM", SWIG_From_int((int)wxLAYOUT_BOTTOM));
28319 PyDict_SetItemString(d,"LAYOUT_LENGTH_Y", SWIG_From_int((int)wxLAYOUT_LENGTH_Y));
28320 PyDict_SetItemString(d,"LAYOUT_LENGTH_X", SWIG_From_int((int)wxLAYOUT_LENGTH_X));
28321 PyDict_SetItemString(d,"LAYOUT_MRU_LENGTH", SWIG_From_int((int)wxLAYOUT_MRU_LENGTH));
28322 PyDict_SetItemString(d,"LAYOUT_QUERY", SWIG_From_int((int)wxLAYOUT_QUERY));
28323 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
28324 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
28325 SWIG_addvarlink(SWIG_globals,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get, _wrap_VListBoxNameStr_set);
28326
28327 // Map renamed classes back to their common name for OOR
28328 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
28329 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
28330 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
28331
28332 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
28333 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
28334 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
28335 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
28336 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
28337 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
28338 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
28339 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
28340 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
28341 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get, _wrap_DirDialogNameStr_set);
28342 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
28343 SWIG_addvarlink(SWIG_globals,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get, _wrap_GetTextFromUserPromptStr_set);
28344 SWIG_addvarlink(SWIG_globals,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get, _wrap_MessageBoxCaptionStr_set);
28345 PyDict_SetItemString(d,"CHOICEDLG_STYLE", SWIG_From_int((int)wxCHOICEDLG_STYLE));
28346 SWIG_addvarlink(SWIG_globals,(char*)"GetPasswordFromUserPromptStr",_wrap_GetPasswordFromUserPromptStr_get, _wrap_GetPasswordFromUserPromptStr_set);
28347 PyDict_SetItemString(d,"FR_DOWN", SWIG_From_int((int)wxFR_DOWN));
28348 PyDict_SetItemString(d,"FR_WHOLEWORD", SWIG_From_int((int)wxFR_WHOLEWORD));
28349 PyDict_SetItemString(d,"FR_MATCHCASE", SWIG_From_int((int)wxFR_MATCHCASE));
28350 PyDict_SetItemString(d,"FR_REPLACEDIALOG", SWIG_From_int((int)wxFR_REPLACEDIALOG));
28351 PyDict_SetItemString(d,"FR_NOUPDOWN", SWIG_From_int((int)wxFR_NOUPDOWN));
28352 PyDict_SetItemString(d,"FR_NOMATCHCASE", SWIG_From_int((int)wxFR_NOMATCHCASE));
28353 PyDict_SetItemString(d,"FR_NOWHOLEWORD", SWIG_From_int((int)wxFR_NOWHOLEWORD));
28354 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
28355 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
28356 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
28357 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
28358 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
28359 PyDict_SetItemString(d,"IDM_WINDOWTILE", SWIG_From_int((int)4001));
28360 PyDict_SetItemString(d,"IDM_WINDOWTILEHOR", SWIG_From_int((int)4001));
28361 PyDict_SetItemString(d,"IDM_WINDOWCASCADE", SWIG_From_int((int)4002));
28362 PyDict_SetItemString(d,"IDM_WINDOWICONS", SWIG_From_int((int)4003));
28363 PyDict_SetItemString(d,"IDM_WINDOWNEXT", SWIG_From_int((int)4004));
28364 PyDict_SetItemString(d,"IDM_WINDOWTILEVERT", SWIG_From_int((int)4005));
28365 PyDict_SetItemString(d,"FIRST_MDI_CHILD", SWIG_From_int((int)4100));
28366 PyDict_SetItemString(d,"LAST_MDI_CHILD", SWIG_From_int((int)4600));
28367 SWIG_addvarlink(SWIG_globals,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get, _wrap_PrintoutTitleStr_set);
28368 SWIG_addvarlink(SWIG_globals,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get, _wrap_PreviewCanvasNameStr_set);
28369 PyDict_SetItemString(d,"PRINT_MODE_NONE", SWIG_From_int((int)wxPRINT_MODE_NONE));
28370 PyDict_SetItemString(d,"PRINT_MODE_PREVIEW", SWIG_From_int((int)wxPRINT_MODE_PREVIEW));
28371 PyDict_SetItemString(d,"PRINT_MODE_FILE", SWIG_From_int((int)wxPRINT_MODE_FILE));
28372 PyDict_SetItemString(d,"PRINT_MODE_PRINTER", SWIG_From_int((int)wxPRINT_MODE_PRINTER));
28373 PyDict_SetItemString(d,"PRINT_MODE_STREAM", SWIG_From_int((int)wxPRINT_MODE_STREAM));
28374 PyDict_SetItemString(d,"PRINTBIN_DEFAULT", SWIG_From_int((int)wxPRINTBIN_DEFAULT));
28375 PyDict_SetItemString(d,"PRINTBIN_ONLYONE", SWIG_From_int((int)wxPRINTBIN_ONLYONE));
28376 PyDict_SetItemString(d,"PRINTBIN_LOWER", SWIG_From_int((int)wxPRINTBIN_LOWER));
28377 PyDict_SetItemString(d,"PRINTBIN_MIDDLE", SWIG_From_int((int)wxPRINTBIN_MIDDLE));
28378 PyDict_SetItemString(d,"PRINTBIN_MANUAL", SWIG_From_int((int)wxPRINTBIN_MANUAL));
28379 PyDict_SetItemString(d,"PRINTBIN_ENVELOPE", SWIG_From_int((int)wxPRINTBIN_ENVELOPE));
28380 PyDict_SetItemString(d,"PRINTBIN_ENVMANUAL", SWIG_From_int((int)wxPRINTBIN_ENVMANUAL));
28381 PyDict_SetItemString(d,"PRINTBIN_AUTO", SWIG_From_int((int)wxPRINTBIN_AUTO));
28382 PyDict_SetItemString(d,"PRINTBIN_TRACTOR", SWIG_From_int((int)wxPRINTBIN_TRACTOR));
28383 PyDict_SetItemString(d,"PRINTBIN_SMALLFMT", SWIG_From_int((int)wxPRINTBIN_SMALLFMT));
28384 PyDict_SetItemString(d,"PRINTBIN_LARGEFMT", SWIG_From_int((int)wxPRINTBIN_LARGEFMT));
28385 PyDict_SetItemString(d,"PRINTBIN_LARGECAPACITY", SWIG_From_int((int)wxPRINTBIN_LARGECAPACITY));
28386 PyDict_SetItemString(d,"PRINTBIN_CASSETTE", SWIG_From_int((int)wxPRINTBIN_CASSETTE));
28387 PyDict_SetItemString(d,"PRINTBIN_FORMSOURCE", SWIG_From_int((int)wxPRINTBIN_FORMSOURCE));
28388 PyDict_SetItemString(d,"PRINTBIN_USER", SWIG_From_int((int)wxPRINTBIN_USER));
28389 PyDict_SetItemString(d,"PRINTER_NO_ERROR", SWIG_From_int((int)wxPRINTER_NO_ERROR));
28390 PyDict_SetItemString(d,"PRINTER_CANCELLED", SWIG_From_int((int)wxPRINTER_CANCELLED));
28391 PyDict_SetItemString(d,"PRINTER_ERROR", SWIG_From_int((int)wxPRINTER_ERROR));
28392 PyDict_SetItemString(d,"PREVIEW_PRINT", SWIG_From_int((int)wxPREVIEW_PRINT));
28393 PyDict_SetItemString(d,"PREVIEW_PREVIOUS", SWIG_From_int((int)wxPREVIEW_PREVIOUS));
28394 PyDict_SetItemString(d,"PREVIEW_NEXT", SWIG_From_int((int)wxPREVIEW_NEXT));
28395 PyDict_SetItemString(d,"PREVIEW_ZOOM", SWIG_From_int((int)wxPREVIEW_ZOOM));
28396 PyDict_SetItemString(d,"PREVIEW_FIRST", SWIG_From_int((int)wxPREVIEW_FIRST));
28397 PyDict_SetItemString(d,"PREVIEW_LAST", SWIG_From_int((int)wxPREVIEW_LAST));
28398 PyDict_SetItemString(d,"PREVIEW_GOTO", SWIG_From_int((int)wxPREVIEW_GOTO));
28399 PyDict_SetItemString(d,"PREVIEW_DEFAULT", SWIG_From_int((int)wxPREVIEW_DEFAULT));
28400 PyDict_SetItemString(d,"ID_PREVIEW_CLOSE", SWIG_From_int((int)wxID_PREVIEW_CLOSE));
28401 PyDict_SetItemString(d,"ID_PREVIEW_NEXT", SWIG_From_int((int)wxID_PREVIEW_NEXT));
28402 PyDict_SetItemString(d,"ID_PREVIEW_PREVIOUS", SWIG_From_int((int)wxID_PREVIEW_PREVIOUS));
28403 PyDict_SetItemString(d,"ID_PREVIEW_PRINT", SWIG_From_int((int)wxID_PREVIEW_PRINT));
28404 PyDict_SetItemString(d,"ID_PREVIEW_ZOOM", SWIG_From_int((int)wxID_PREVIEW_ZOOM));
28405 PyDict_SetItemString(d,"ID_PREVIEW_FIRST", SWIG_From_int((int)wxID_PREVIEW_FIRST));
28406 PyDict_SetItemString(d,"ID_PREVIEW_LAST", SWIG_From_int((int)wxID_PREVIEW_LAST));
28407 PyDict_SetItemString(d,"ID_PREVIEW_GOTO", SWIG_From_int((int)wxID_PREVIEW_GOTO));
28408
28409 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
28410
28411 }
28412