]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/msw/_windows_wrap.cpp
Allow the OOR reference to be saved without doing an INCREF. This
[wxWidgets.git] / wxPython / src / msw / _windows_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.22
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12 #define SWIG_NOINCLUDE
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30
31 #include "Python.h"
32
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
35 *
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
38 *
39 ************************************************************************/
40
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypePrettyName SWIG_Python_TypePrettyName
47 #define SWIG_TypeQuery SWIG_Python_TypeQuery
48 #define SWIG_TypeClientData SWIG_Python_TypeClientData
49 #define SWIG_PackData SWIG_Python_PackData
50 #define SWIG_UnpackData SWIG_Python_UnpackData
51
52
53 /***********************************************************************
54 * common.swg for wxPython
55 *
56 * Include only the function prototypes and such from SWIG's common.swg,
57 * but not the runtime functions themselves. This helps keep the
58 * wrapper files clean of unnecessary stuff that is in the libpy.c file
59 * anyway.
60 *
61 ************************************************************************/
62
63 #include <string.h>
64
65 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
66 # if defined(_MSC_VER) || defined(__GNUC__)
67 # if defined(STATIC_LINKED)
68 # define SWIGEXPORT(a) a
69 # define SWIGIMPORT(a) extern a
70 # else
71 # define SWIGEXPORT(a) __declspec(dllexport) a
72 # define SWIGIMPORT(a) extern a
73 # endif
74 # else
75 # if defined(__BORLANDC__)
76 # define SWIGEXPORT(a) a _export
77 # define SWIGIMPORT(a) a _export
78 # else
79 # define SWIGEXPORT(a) a
80 # define SWIGIMPORT(a) a
81 # endif
82 # endif
83 #else
84 # define SWIGEXPORT(a) a
85 # define SWIGIMPORT(a) a
86 #endif
87
88 #ifdef SWIG_GLOBAL
89 # define SWIGRUNTIME(a) SWIGEXPORT(a)
90 #else
91 # define SWIGRUNTIME(a) static a
92 #endif
93
94 #ifdef __cplusplus
95 extern "C" {
96 #endif
97
98 typedef void *(*swig_converter_func)(void *);
99 typedef struct swig_type_info *(*swig_dycast_func)(void **);
100
101 typedef struct swig_type_info {
102 const char *name;
103 swig_converter_func converter;
104 const char *str;
105 void *clientdata;
106 swig_dycast_func dcast;
107 struct swig_type_info *next;
108 struct swig_type_info *prev;
109 } swig_type_info;
110
111
112 SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
113 SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
114 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
115 SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
116 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
117 SWIGIMPORT(const char *) SWIG_TypePrettyName(const swig_type_info *);
118 SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
119 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
120 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
121 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
122
123
124 #ifdef __cplusplus
125 }
126 #endif
127
128
129 /***********************************************************************
130 * pyrun.swg for wxPython
131 *
132 * Include only the function prototypes and such from SWIG's pyrun.swg,
133 * but not the runtime functions themselves. This helps keep the
134 * wrapper files clean of unnecessary stuff that is in the libpy.c file
135 * anyway.
136 *
137 ************************************************************************/
138
139 #ifdef __cplusplus
140 extern "C" {
141 #endif
142
143 #define SWIG_PY_INT 1
144 #define SWIG_PY_FLOAT 2
145 #define SWIG_PY_STRING 3
146 #define SWIG_PY_POINTER 4
147 #define SWIG_PY_BINARY 5
148
149 /* Flags for pointer conversion */
150
151 #define SWIG_POINTER_EXCEPTION 0x1
152 #define SWIG_POINTER_DISOWN 0x2
153
154 /* Exception handling in wrappers */
155 #define SWIG_fail goto fail
156
157 /* Constant information structure */
158 typedef struct swig_const_info {
159 int type;
160 char *name;
161 long lvalue;
162 double dvalue;
163 void *pvalue;
164 swig_type_info **ptype;
165 } swig_const_info;
166
167 /* Common SWIG API */
168 #define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170 #define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172 #define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174
175 /* Python-specific SWIG API */
176 #define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
182 #define SWIG_NewPackedObj(ptr, sz, type) \
183 SWIG_Python_NewPackedObj(ptr, sz, type)
184 #define SWIG_InstallConstants(d, constants) \
185 SWIG_Python_InstallConstants(d, constants)
186
187 typedef double (*py_objasdbl_conv)(PyObject *obj);
188
189 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
190 SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
191 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
192 SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
193 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
194 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
195 SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
196 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
197
198
199 /* Contract support */
200
201 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
202
203 #ifdef __cplusplus
204 }
205 #endif
206
207
208
209 /* -------- TYPES TABLE (BEGIN) -------- */
210
211 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[0]
212 #define SWIGTYPE_p_wxPreviewFrame swig_types[1]
213 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[2]
214 #define SWIGTYPE_p_wxPyPanel swig_types[3]
215 #define SWIGTYPE_p_wxMenu swig_types[4]
216 #define SWIGTYPE_p_wxFontData swig_types[5]
217 #define SWIGTYPE_p_wxEvent swig_types[6]
218 #define SWIGTYPE_p_wxPrintData swig_types[7]
219 #define SWIGTYPE_p_wxTaskBarIcon swig_types[8]
220 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[9]
221 #define SWIGTYPE_p_wxIconBundle swig_types[10]
222 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[11]
223 #define SWIGTYPE_p_wxFindDialogEvent swig_types[12]
224 #define SWIGTYPE_p_wxPreviewCanvas swig_types[13]
225 #define SWIGTYPE_p_wxFont swig_types[14]
226 #define SWIGTYPE_p_wxSplitterEvent swig_types[15]
227 #define SWIGTYPE_p_wxRegion swig_types[16]
228 #define SWIGTYPE_p_wxFindReplaceData swig_types[17]
229 #define SWIGTYPE_p_int swig_types[18]
230 #define SWIGTYPE_p_wxSize swig_types[19]
231 #define SWIGTYPE_p_wxDC swig_types[20]
232 #define SWIGTYPE_p_wxIcon swig_types[21]
233 #define SWIGTYPE_p_wxVisualAttributes swig_types[22]
234 #define SWIGTYPE_p_wxMDIChildFrame swig_types[23]
235 #define SWIGTYPE_p_wxColourData swig_types[24]
236 #define SWIGTYPE_p_wxNotifyEvent swig_types[25]
237 #define SWIGTYPE_p_wxPyWindow swig_types[26]
238 #define SWIGTYPE_p_wxSplashScreen swig_types[27]
239 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[28]
240 #define SWIGTYPE_p_wxProgressDialog swig_types[29]
241 #define SWIGTYPE_p_wxMessageDialog swig_types[30]
242 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[31]
243 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[32]
244 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[33]
245 #define SWIGTYPE_p_wxFileDialog swig_types[34]
246 #define SWIGTYPE_p_wxTextEntryDialog swig_types[35]
247 #define SWIGTYPE_p_wxPrinter swig_types[36]
248 #define SWIGTYPE_p_wxArrayInt swig_types[37]
249 #define SWIGTYPE_p_wxEvtHandler swig_types[38]
250 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[39]
251 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[40]
252 #define SWIGTYPE_p_wxPyVListBox swig_types[41]
253 #define SWIGTYPE_p_wxRect swig_types[42]
254 #define SWIGTYPE_p_char swig_types[43]
255 #define SWIGTYPE_p_wxMiniFrame swig_types[44]
256 #define SWIGTYPE_p_wxFrame swig_types[45]
257 #define SWIGTYPE_p_wxPyPrintout swig_types[46]
258 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[47]
259 #define SWIGTYPE_p_wxScrollWinEvent swig_types[48]
260 #define SWIGTYPE_p_wxStatusBar swig_types[49]
261 #define SWIGTYPE_p_wxMDIParentFrame swig_types[50]
262 #define SWIGTYPE_p_wxPoint swig_types[51]
263 #define SWIGTYPE_p_wxObject swig_types[52]
264 #define SWIGTYPE_p_wxMDIClientWindow swig_types[53]
265 #define SWIGTYPE_p_wxTipWindow swig_types[54]
266 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[55]
267 #define SWIGTYPE_p_wxSplitterWindow swig_types[56]
268 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[57]
269 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[58]
270 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[59]
271 #define SWIGTYPE_p_wxPopupWindow swig_types[60]
272 #define SWIGTYPE_p_wxSashWindow swig_types[61]
273 #define SWIGTYPE_p_wxTopLevelWindow swig_types[62]
274 #define SWIGTYPE_p_wxWindow swig_types[63]
275 #define SWIGTYPE_p_wxScrolledWindow swig_types[64]
276 #define SWIGTYPE_p_wxMenuBar swig_types[65]
277 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[66]
278 #define SWIGTYPE_p_wxPrintPreview swig_types[67]
279 #define SWIGTYPE_p_wxSashEvent swig_types[68]
280 #define SWIGTYPE_p_wxString swig_types[69]
281 #define SWIGTYPE_p_wxPyPrintPreview swig_types[70]
282 #define SWIGTYPE_p_wxFontDialog swig_types[71]
283 #define SWIGTYPE_p_wxDirDialog swig_types[72]
284 #define SWIGTYPE_p_wxColourDialog swig_types[73]
285 #define SWIGTYPE_p_wxDialog swig_types[74]
286 #define SWIGTYPE_p_wxPanel swig_types[75]
287 #define SWIGTYPE_p_wxPageSetupDialog swig_types[76]
288 #define SWIGTYPE_p_wxPrintDialog swig_types[77]
289 #define SWIGTYPE_p_wxFileSystem swig_types[78]
290 #define SWIGTYPE_p_wxBitmap swig_types[79]
291 #define SWIGTYPE_p_wxCommandEvent swig_types[80]
292 #define SWIGTYPE_p_wxPreviewControlBar swig_types[81]
293 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[82]
294 #define SWIGTYPE_p_wxColour swig_types[83]
295 #define SWIGTYPE_p_wxToolBar swig_types[84]
296 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[85]
297 #define SWIGTYPE_p_wxPrintDialogData swig_types[86]
298 static swig_type_info *swig_types[88];
299
300 /* -------- TYPES TABLE (END) -------- */
301
302
303 /*-----------------------------------------------
304 @(target):= _windows_.so
305 ------------------------------------------------*/
306 #define SWIG_init init_windows_
307
308 #define SWIG_name "_windows_"
309
310 /* Auxiliar swig macros that appear in the header */
311
312 #define SWIG_OLDOBJ 1
313 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
314 #define SWIG_PYSTR SWIG_NEWOBJ + 1
315
316 #ifdef __cplusplus
317 #define SWIGSTATICINLINE(a) static inline a
318 #define SWIGSTATIC(a) static a
319 #define swig_new_array(size,Type) (new Type[(size)])
320 #define swig_delete(cptr) delete cptr
321 #define swig_delete_array(cptr) delete[] cptr
322 #define swig_const_cast(a,Type) const_cast<Type >(a)
323 #define swig_static_cast(a,Type) static_cast<Type >(a)
324 #define swig_reinterpret_cast(a,Type) reinterpret_cast<Type >(a)
325 #define swig_new_copy(ptr,Type) (new Type(*ptr))
326 #define swig_numeric_cast(a,Type) static_cast<Type >(a)
327
328 #else /* C case */
329
330 #define SWIGSTATICINLINE(a) static a
331 #define SWIGSTATIC(a) static a
332 #define swig_new_array(size,Type) ((Type*) malloc((size)*sizeof(Type)))
333 #define swig_delete(cptr) free((char*)cptr)
334 #define swig_delete_array(cptr) free((char*)cptr)
335 #define swig_const_cast(a,Type) (Type)(a)
336 #define swig_static_cast(a,Type) (Type)(a)
337 #define swig_reinterpret_cast(a,Type) (Type)(a)
338 #define swig_numeric_cast(a,Type) (Type)(a)
339 #define swig_new_copy(ptr,Type) ((Type*)memcpy(malloc(sizeof(Type)),ptr,sizeof(Type)))
340
341 #endif /* __cplusplus */
342
343
344 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
345 #define SWIG_From_signed_SS_char PyInt_FromLong
346 /*@@*/
347 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
348 #define SWIG_From_unsigned_SS_char PyInt_FromLong
349 /*@@*/
350 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
351 #define SWIG_From_short PyInt_FromLong
352 /*@@*/
353 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
354 #define SWIG_From_unsigned_SS_short PyInt_FromLong
355 /*@@*/
356 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
357 #define SWIG_From_int PyInt_FromLong
358 /*@@*/
359 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
360 #define SWIG_From_long PyInt_FromLong
361 /*@@*/
362 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
363 #define SWIG_From_float PyFloat_FromDouble
364 /*@@*/
365 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
366 #define SWIG_From_double PyFloat_FromDouble
367 /*@@*/
368
369
370 #include "wx/wxPython/wxPython.h"
371 #include "wx/wxPython/pyclasses.h"
372
373
374 static const wxString wxPyEmptyString(wxEmptyString);
375 static const wxString wxPyPanelNameStr(wxPanelNameStr);
376
377
378
379 #include <limits.h>
380
381
382 SWIGSTATICINLINE(int)
383 SWIG_CheckLongInRange(long value, long min_value, long max_value,
384 const char *errmsg)
385 {
386 if (value < min_value) {
387 if (errmsg) {
388 PyErr_Format(PyExc_OverflowError,
389 "value %ld is less than '%s' minimum %ld",
390 value, errmsg, min_value);
391 }
392 return 0;
393 } else if (value > max_value) {
394 if (errmsg) {
395 PyErr_Format(PyExc_OverflowError,
396 "value %ld is greater than '%s' maximum %ld",
397 value, errmsg, max_value);
398 }
399 return 0;
400 }
401 return 1;
402 }
403
404
405 // See my_fragments.i
406 SWIGSTATICINLINE(int)
407 SWIG_AsVal_long(PyObject* obj, long* val)
408 {
409 if (PyNumber_Check(obj)) {
410 if (val) *val = PyInt_AsLong(obj);
411 return 1;
412 }
413 else {
414 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
415 obj->ob_type->tp_name);
416 PyErr_SetObject(PyExc_TypeError, errmsg);
417 Py_DECREF(errmsg);
418 }
419 return 0;
420 }
421
422
423 #if INT_MAX != LONG_MAX
424 SWIGSTATICINLINE(int)
425 SWIG_AsVal_int(PyObject *obj, int *val)
426 {
427 const char* errmsg = val ? "int" : 0;
428 long v;
429 if (SWIG_AsVal_long(obj, &v)) {
430 if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) {
431 if (val) *val = swig_numeric_cast(v, int);
432 return 1;
433 } else {
434 return 0;
435 }
436 } else {
437 PyErr_Clear();
438 }
439 if (val) {
440 PyErr_SetString(PyExc_TypeError, "an int is expected");
441 }
442 return 0;
443 }
444 #else
445 SWIGSTATICINLINE(int)
446 SWIG_AsVal_int(PyObject *obj, int *val)
447 {
448 return SWIG_AsVal_long(obj,(long*)val);
449 }
450 #endif
451
452
453 SWIGSTATICINLINE(int)
454 SWIG_As_int(PyObject* obj)
455 {
456 int v;
457 if (!SWIG_AsVal_int(obj, &v)) {
458 /*
459 this is needed to make valgrind/purify happier. the other
460 solution is throw an exception, but since this code should work
461 with plain C ....
462 */
463 memset((void*)&v, 0, sizeof(int));
464 }
465 return v;
466 }
467
468
469 SWIGSTATICINLINE(long)
470 SWIG_As_long(PyObject* obj)
471 {
472 long v;
473 if (!SWIG_AsVal_long(obj, &v)) {
474 /*
475 this is needed to make valgrind/purify happier. the other
476 solution is throw an exception, but since this code should work
477 with plain C ....
478 */
479 memset((void*)&v, 0, sizeof(long));
480 }
481 return v;
482 }
483
484
485 SWIGSTATICINLINE(int)
486 SWIG_Check_int(PyObject* obj)
487 {
488 return SWIG_AsVal_int(obj, (int*)0);
489 }
490
491
492 SWIGSTATICINLINE(int)
493 SWIG_Check_long(PyObject* obj)
494 {
495 return SWIG_AsVal_long(obj, (long*)0);
496 }
497
498
499 SWIGSTATICINLINE(int)
500 SWIG_AsVal_bool(PyObject *obj, bool *val)
501 {
502 /* if (val) *val = PyObject_IsTrue(obj); return 1; */
503 if (obj == Py_True) {
504 if (val) *val = true;
505 return 1;
506 }
507 if (obj == Py_False) {
508 if (val) *val = false;
509 return 1;
510 }
511 int res = 0;
512 if (SWIG_AsVal_int(obj, &res)) {
513 if (val) *val = (bool)res;
514 return 1;
515 }
516 if (val) {
517 PyErr_SetString(PyExc_TypeError, "a bool is expected");
518 }
519 return 0;
520 }
521
522
523 SWIGSTATICINLINE(bool)
524 SWIG_As_bool(PyObject* obj)
525 {
526 bool v;
527 if (!SWIG_AsVal_bool(obj, &v)) {
528 /*
529 this is needed to make valgrind/purify happier. the other
530 solution is throw an exception, but since this code should work
531 with plain C ....
532 */
533 memset((void*)&v, 0, sizeof(bool));
534 }
535 return v;
536 }
537
538
539 SWIGSTATICINLINE(int)
540 SWIG_Check_bool(PyObject* obj)
541 {
542 return SWIG_AsVal_bool(obj, (bool*)0);
543 }
544
545
546 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
547 PyObject* o2;
548 PyObject* o3;
549
550 if (!target) {
551 target = o;
552 } else if (target == Py_None) {
553 Py_DECREF(Py_None);
554 target = o;
555 } else {
556 if (!PyTuple_Check(target)) {
557 o2 = target;
558 target = PyTuple_New(1);
559 PyTuple_SetItem(target, 0, o2);
560 }
561 o3 = PyTuple_New(1);
562 PyTuple_SetItem(o3, 0, o);
563
564 o2 = target;
565 target = PySequence_Concat(o2, o3);
566 Py_DECREF(o2);
567 Py_DECREF(o3);
568 }
569 return target;
570 }
571
572
573
574 // See my_fragments.i
575 SWIGSTATICINLINE(int)
576 SWIG_AsVal_double(PyObject *obj, double* val)
577 {
578 if (PyNumber_Check(obj)) {
579 if (val) *val = PyFloat_AsDouble(obj);
580 return 1;
581 }
582 else {
583 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
584 obj->ob_type->tp_name);
585 PyErr_SetObject(PyExc_TypeError, errmsg);
586 Py_DECREF(errmsg);
587 }
588 return 0;
589 }
590
591
592 SWIGSTATICINLINE(double)
593 SWIG_As_double(PyObject* obj)
594 {
595 double v;
596 if (!SWIG_AsVal_double(obj, &v)) {
597 /*
598 this is needed to make valgrind/purify happier. the other
599 solution is throw an exception, but since this code should work
600 with plain C ....
601 */
602 memset((void*)&v, 0, sizeof(double));
603 }
604 return v;
605 }
606
607
608 SWIGSTATICINLINE(int)
609 SWIG_Check_double(PyObject* obj)
610 {
611 return SWIG_AsVal_double(obj, (double*)0);
612 }
613
614 static const wxString wxPyFrameNameStr(wxFrameNameStr);
615 static const wxString wxPyDialogNameStr(wxDialogNameStr);
616 static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr);
617 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
618 void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow *self,bool on){ /*wxPyRaiseNotImplemented();*/ }
619 bool wxTopLevelWindow_MacGetMetalAppearance(wxTopLevelWindow const *self){ /*wxPyRaiseNotImplemented();*/ return false; }
620
621
622 wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
623 wxRect r;
624 self->GetFieldRect(i, r);
625 return r;
626 }
627 static const wxString wxPySplitterNameStr(wxT("splitter"));
628 static const wxString wxPySashNameStr(wxT("sashWindow"));
629 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
630
631 #include <wx/popupwin.h>
632
633
634 class wxPyPopupTransientWindow : public wxPopupTransientWindow
635 {
636 public:
637 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
638 wxPyPopupTransientWindow(wxWindow* parent, int style = wxBORDER_NONE)
639 : wxPopupTransientWindow(parent, style) {}
640
641 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown);
642 DEC_PYCALLBACK__(OnDismiss);
643 DEC_PYCALLBACK_BOOL_(CanDismiss);
644 PYPRIVATE;
645 };
646
647
648 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow, wxPopupTransientWindow, ProcessLeftDown);
649 IMP_PYCALLBACK__(wxPyPopupTransientWindow, wxPopupTransientWindow, OnDismiss);
650 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow, wxPopupTransientWindow, CanDismiss);
651
652
653 #include <wx/tipwin.h>
654
655 wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength,wxRect *rectBound){
656 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
657 }
658
659 #include <wx/tipwin.h>
660
661
662 #include <wx/vscroll.h>
663
664
665 class wxPyVScrolledWindow : public wxVScrolledWindow
666 {
667 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow);
668 public:
669 wxPyVScrolledWindow() : wxVScrolledWindow() {}
670
671 wxPyVScrolledWindow(wxWindow *parent,
672 wxWindowID id = wxID_ANY,
673 const wxPoint& pos = wxDefaultPosition,
674 const wxSize& size = wxDefaultSize,
675 long style = 0,
676 const wxString& name = wxPyPanelNameStr)
677 : wxVScrolledWindow(parent, id, pos, size, style, name)
678 {}
679
680 // Overridable virtuals
681
682 // this function must be overridden in the derived class and it should
683 // return the height of the given line in pixels
684 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
685
686
687 // this function doesn't have to be overridden but it may be useful to do
688 // it if calculating the lines heights is a relatively expensive operation
689 // as it gives the user code a possibility to calculate several of them at
690 // once
691 //
692 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
693 // shouldn't rely on the latter being called for all lines in the interval
694 // specified here. It is also possible that OnGetLineHeight() will be
695 // called for the lines outside of this interval, so this is really just a
696 // hint, not a promise.
697 //
698 // finally note that lineMin is inclusive, while lineMax is exclusive, as
699 // usual
700 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
701
702
703 // when the number of lines changes, we try to estimate the total height
704 // of all lines which is a rather expensive operation in terms of lines
705 // access, so if the user code may estimate the average height
706 // better/faster than we do, it should override this function to implement
707 // its own logic
708 //
709 // this function should return the best guess for the total height it may
710 // make
711 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
712
713
714 // Also expose some other interesting protected methods
715
716
717 // find the index of the line we need to show at the top of the window such
718 // that the last (fully or partially) visible line is the given one
719 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = false)
720 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
721
722 // get the total height of the lines between lineMin (inclusive) and
723 // lineMax (exclusive)
724 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
725 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
726
727
728 PYPRIVATE;
729 };
730
731 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
732
733 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
734 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
735 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
736
737
738 // See my_fragments.i
739 SWIGSTATICINLINE(int)
740 SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val)
741 {
742 long v = 0;
743 if (SWIG_AsVal_long(obj, &v) && v < 0) {
744 PyErr_SetString(PyExc_TypeError, "negative value received for unsigned type");
745 return 0;
746 }
747 else if (val)
748 *val = (unsigned long)v;
749 return 1;
750 }
751
752
753 SWIGSTATICINLINE(unsigned long)
754 SWIG_As_unsigned_SS_long(PyObject* obj)
755 {
756 unsigned long v;
757 if (!SWIG_AsVal_unsigned_SS_long(obj, &v)) {
758 /*
759 this is needed to make valgrind/purify happier. the other
760 solution is throw an exception, but since this code should work
761 with plain C ....
762 */
763 memset((void*)&v, 0, sizeof(unsigned long));
764 }
765 return v;
766 }
767
768
769 SWIGSTATICINLINE(int)
770 SWIG_Check_unsigned_SS_long(PyObject* obj)
771 {
772 return SWIG_AsVal_unsigned_SS_long(obj, (unsigned long*)0);
773 }
774
775
776 SWIGSTATICINLINE(PyObject* )
777 SWIG_From_unsigned_SS_long(unsigned long value)
778 {
779 return (value > LONG_MAX) ?
780 PyLong_FromUnsignedLong(value)
781 : PyInt_FromLong(swig_numeric_cast(value,long));
782 }
783
784
785 #include <wx/vlbox.h>
786
787 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
788
789 class wxPyVListBox : public wxVListBox
790 {
791 DECLARE_ABSTRACT_CLASS(wxPyVListBox);
792 public:
793 wxPyVListBox() : wxVListBox() {}
794
795 wxPyVListBox(wxWindow *parent,
796 wxWindowID id = wxID_ANY,
797 const wxPoint& pos = wxDefaultPosition,
798 const wxSize& size = wxDefaultSize,
799 long style = 0,
800 const wxString& name = wxPyVListBoxNameStr)
801 : wxVListBox(parent, id, pos, size, style, name)
802 {}
803
804 // Overridable virtuals
805
806 // the derived class must implement this function to actually draw the item
807 // with the given index on the provided DC
808 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
809 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
810
811
812 // the derived class must implement this method to return the height of the
813 // specified item
814 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
815 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
816
817
818 // this method may be used to draw separators between the lines; note that
819 // the rectangle may be modified, typically to deflate it a bit before
820 // passing to OnDrawItem()
821 //
822 // the base class version doesn't do anything
823 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
824 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator);
825
826
827 // this method is used to draw the items background and, maybe, a border
828 // around it
829 //
830 // the base class version implements a reasonable default behaviour which
831 // consists in drawing the selected item with the standard background
832 // colour and drawing a border around the item if it is either selected or
833 // current
834 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
835 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
836
837
838 PYPRIVATE;
839 };
840
841 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
842
843 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
844 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
845 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawSeparator);
846 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
847
848
849 PyObject *wxPyVListBox_GetFirstSelected(wxPyVListBox *self){
850 unsigned long cookie = 0;
851 int selected = self->GetFirstSelected(cookie);
852 bool blocked = wxPyBeginBlockThreads();
853 PyObject* tup = PyTuple_New(2);
854 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
855 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
856 wxPyEndBlockThreads(blocked);
857 return tup;
858 }
859 PyObject *wxPyVListBox_GetNextSelected(wxPyVListBox *self,unsigned long cookie){
860 int selected = self->GetNextSelected(cookie);
861 bool blocked = wxPyBeginBlockThreads();
862 PyObject* tup = PyTuple_New(2);
863 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
864 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
865 wxPyEndBlockThreads(blocked);
866 return tup;
867 }
868
869 #include <wx/htmllbox.h>
870
871
872 class wxPyHtmlListBox : public wxHtmlListBox
873 {
874 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox);
875 public:
876 wxPyHtmlListBox() : wxHtmlListBox() {}
877
878 wxPyHtmlListBox(wxWindow *parent,
879 wxWindowID id = wxID_ANY,
880 const wxPoint& pos = wxDefaultPosition,
881 const wxSize& size = wxDefaultSize,
882 long style = 0,
883 const wxString& name = wxPyVListBoxNameStr)
884 : wxHtmlListBox(parent, id, pos, size, style, name)
885 {}
886
887 // Overridable virtuals
888
889 // this method must be implemented in the derived class and should return
890 // the body (i.e. without <html>) of the HTML for the given item
891 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
892
893 // this function may be overridden to decorate HTML returned by OnGetItem()
894 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
895
896 // TODO:
897 // // this method allows to customize the selection appearance: it may be used
898 // // to specify the colour of the text which normally has the given colour
899 // // colFg when it is inside the selection
900 // //
901 // // by default, the original colour is not used at all and all text has the
902 // // same (default for this system) colour inside selection
903 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
904
905 // // this is the same as GetSelectedTextColour() but allows to customize the
906 // // background colour -- this is even more rarely used as you can change it
907 // // globally using SetSelectionBackground()
908 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
909
910
911 PYPRIVATE;
912 };
913
914
915 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
916
917 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
918 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
919
920
921
922
923
924 #ifndef wxHAS_TASK_BAR_ICON
925 // implement dummy classes for platforms that don't have it
926
927 class wxTaskBarIcon : public wxEvtHandler
928 {
929 public:
930 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
931 };
932
933
934 class wxTaskBarIconEvent : public wxEvent
935 {
936 public:
937 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
938 { wxPyRaiseNotImplemented(); }
939 virtual wxEvent* Clone() const { return NULL; }
940 bool IsOk() const { return false; }
941 bool IsIconInstalled() const { return false; }
942 bool SetIcon(const wxIcon& icon, const wxString& tooltip = wxPyEmptyString) { return false; }
943 bool RemoveIcon() { return false; }
944 bool PopupMenu(wxMenu *menu) { return false; }
945 };
946
947 enum {
948 wxEVT_TASKBAR_MOVE = 0,
949 wxEVT_TASKBAR_LEFT_DOWN = 0,
950 wxEVT_TASKBAR_LEFT_UP = 0,
951 wxEVT_TASKBAR_RIGHT_DOWN = 0,
952 wxEVT_TASKBAR_RIGHT_UP = 0,
953 wxEVT_TASKBAR_LEFT_DCLICK = 0,
954 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
955 };
956
957
958 #else
959 // Otherwise make a class that can virtualize CreatePopupMenu
960 class wxPyTaskBarIcon : public wxTaskBarIcon
961 {
962 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon);
963 public:
964 wxPyTaskBarIcon() : wxTaskBarIcon()
965 {}
966
967 wxMenu* CreatePopupMenu() {
968 wxMenu *rval = NULL;
969 bool found;
970 bool blocked = wxPyBeginBlockThreads();
971 if ((found = wxPyCBH_findCallback(m_myInst, "CreatePopupMenu"))) {
972 PyObject* ro;
973 wxMenu* ptr;
974 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
975 if (ro) {
976 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxMenu")))
977 rval = ptr;
978 Py_DECREF(ro);
979 }
980 }
981 wxPyEndBlockThreads(blocked);
982 if (! found)
983 rval = wxTaskBarIcon::CreatePopupMenu();
984 return rval;
985 }
986
987 PYPRIVATE;
988 };
989
990 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon);
991
992 #endif
993
994 void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon *self){
995 self->RemoveIcon();
996 delete self;
997 }
998 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
999 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
1000 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
1001 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
1002 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
1003 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
1004 PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
1005 wxArrayString arr;
1006 self->GetFilenames(arr);
1007 return wxArrayString2PyList_helper(arr);
1008 }
1009 PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
1010 wxArrayString arr;
1011 self->GetPaths(arr);
1012 return wxArrayString2PyList_helper(arr);
1013 }
1014 PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
1015 return wxArrayInt2PyList_helper(self->GetSelections());
1016 }
1017 wxSingleChoiceDialog *new_wxSingleChoiceDialog(wxWindow *parent,wxString const &message,wxString const &caption,int choices,wxString *choices_array,long style,wxPoint const &pos){
1018 return new wxSingleChoiceDialog(parent, message, caption,
1019 choices, choices_array, NULL, style, pos);
1020 }
1021 static const wxString wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr);
1022
1023 #include <wx/mdi.h>
1024
1025 // C++ version of Python aware wxWindow
1026 class wxPyWindow : public wxWindow
1027 {
1028 DECLARE_DYNAMIC_CLASS(wxPyWindow)
1029 public:
1030 wxPyWindow() : wxWindow() {}
1031 wxPyWindow(wxWindow* parent, const wxWindowID id,
1032 const wxPoint& pos = wxDefaultPosition,
1033 const wxSize& size = wxDefaultSize,
1034 long style = 0,
1035 const wxString& name = wxPyPanelNameStr)
1036 : wxWindow(parent, id, pos, size, style, name) {}
1037
1038 void SetBestSize(const wxSize& size) { wxWindow::SetBestSize(size); }
1039
1040 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
1041 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
1042 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
1043 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
1044
1045 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
1046 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
1047 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
1048
1049 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
1050 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
1051
1052 DEC_PYCALLBACK__(InitDialog);
1053 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
1054 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
1055 DEC_PYCALLBACK_BOOL_(Validate);
1056
1057 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
1058 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
1059 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
1060
1061 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
1062 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
1063
1064 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
1065 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
1066 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
1067
1068 PYPRIVATE;
1069 };
1070
1071 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
1072
1073 IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
1074 IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
1075 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
1076 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
1077
1078 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
1079 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
1080 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
1081
1082 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
1083 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
1084
1085 IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
1086 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
1087 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
1088 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
1089
1090 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
1091 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
1092 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
1093
1094 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
1095 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
1096
1097 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, ShouldInheritColours);
1098 IMP_PYCALLBACK__COLOUR(wxPyWindow, wxWindow, ApplyParentThemeBackground);
1099 IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes);
1100
1101
1102 // C++ version of Python aware wxPanel
1103 class wxPyPanel : public wxPanel
1104 {
1105 DECLARE_DYNAMIC_CLASS(wxPyPanel)
1106 public:
1107 wxPyPanel() : wxPanel() {}
1108 wxPyPanel(wxWindow* parent, const wxWindowID id,
1109 const wxPoint& pos = wxDefaultPosition,
1110 const wxSize& size = wxDefaultSize,
1111 long style = 0,
1112 const wxString& name = wxPyPanelNameStr)
1113 : wxPanel(parent, id, pos, size, style, name) {}
1114
1115 void SetBestSize(const wxSize& size) { wxPanel::SetBestSize(size); }
1116
1117
1118 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
1119 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
1120 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
1121 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
1122
1123 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
1124 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
1125 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
1126
1127 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
1128 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
1129
1130 DEC_PYCALLBACK__(InitDialog);
1131 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
1132 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
1133 DEC_PYCALLBACK_BOOL_(Validate);
1134
1135 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
1136 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
1137 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
1138
1139 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
1140 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
1141
1142 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
1143 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
1144 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
1145
1146 PYPRIVATE;
1147 };
1148
1149 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
1150
1151 IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
1152 IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
1153 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
1154 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
1155
1156 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
1157 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
1158 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
1159
1160 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
1161 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
1162
1163 IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
1164 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
1165 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
1166 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
1167
1168 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
1169 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
1170 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
1171
1172 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
1173 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
1174
1175 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours);
1176 IMP_PYCALLBACK__COLOUR(wxPyPanel, wxPanel, ApplyParentThemeBackground);
1177 IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes);
1178
1179
1180 // C++ version of Python aware wxScrolledWindow
1181 class wxPyScrolledWindow : public wxScrolledWindow
1182 {
1183 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow)
1184 public:
1185 wxPyScrolledWindow() : wxScrolledWindow() {}
1186 wxPyScrolledWindow(wxWindow* parent, const wxWindowID id,
1187 const wxPoint& pos = wxDefaultPosition,
1188 const wxSize& size = wxDefaultSize,
1189 long style = 0,
1190 const wxString& name = wxPyPanelNameStr)
1191 : wxScrolledWindow(parent, id, pos, size, style, name) {}
1192
1193 void SetBestSize(const wxSize& size) { wxScrolledWindow::SetBestSize(size); }
1194
1195 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
1196 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
1197 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
1198 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
1199
1200 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
1201 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
1202 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
1203
1204 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
1205 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
1206
1207 DEC_PYCALLBACK__(InitDialog);
1208 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
1209 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
1210 DEC_PYCALLBACK_BOOL_(Validate);
1211
1212 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
1213 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
1214 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
1215
1216 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
1217 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
1218
1219 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
1220 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
1221 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
1222
1223 PYPRIVATE;
1224 };
1225
1226 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow);
1227
1228 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow);
1229 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize);
1230 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize);
1231 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize);
1232
1233 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize);
1234 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize);
1235 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition);
1236
1237 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize);
1238 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize);
1239
1240 IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog);
1241 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow);
1242 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow);
1243 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate);
1244
1245 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus);
1246 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard);
1247 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize);
1248
1249 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild);
1250 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
1251
1252 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
1253 IMP_PYCALLBACK__COLOUR(wxPyScrolledWindow, wxScrolledWindow, ApplyParentThemeBackground);
1254 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes);
1255
1256
1257
1258 #include "wx/wxPython/printfw.h"
1259
1260
1261 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
1262 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
1263
1264
1265 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout, wxPrintout);
1266
1267 // Since this one would be tough and ugly to do with the Macros...
1268 void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
1269 bool hadErr = false;
1270 bool found;
1271
1272 bool blocked = wxPyBeginBlockThreads();
1273 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
1274 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
1275 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
1276 PyObject* val;
1277
1278 val = PyTuple_GetItem(result, 0);
1279 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
1280 else hadErr = true;
1281
1282 val = PyTuple_GetItem(result, 1);
1283 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
1284 else hadErr = true;
1285
1286 val = PyTuple_GetItem(result, 2);
1287 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
1288 else hadErr = true;
1289
1290 val = PyTuple_GetItem(result, 3);
1291 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
1292 else hadErr = true;
1293 }
1294 else
1295 hadErr = true;
1296
1297 if (hadErr) {
1298 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
1299 PyErr_Print();
1300 }
1301 Py_DECREF(result);
1302 }
1303 wxPyEndBlockThreads(blocked);
1304 if (! found)
1305 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
1306 }
1307
1308 void wxPyPrintout::base_GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
1309 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
1310 }
1311
1312
1313 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
1314 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
1315 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
1316 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
1317 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
1318 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
1319 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
1320
1321
1322
1323
1324
1325 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
1326 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
1327 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
1328
1329
1330 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
1331 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1332 bool rval=false; \
1333 bool found; \
1334 bool blocked = wxPyBeginBlockThreads(); \
1335 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1336 PyObject* win = wxPyMake_wxObject(a,false); \
1337 PyObject* dc = wxPyMake_wxObject(&b,false); \
1338 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
1339 Py_DECREF(win); \
1340 Py_DECREF(dc); \
1341 } \
1342 wxPyEndBlockThreads(blocked); \
1343 if (! found) \
1344 rval = PCLASS::CBNAME(a, b); \
1345 return rval; \
1346 } \
1347 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1348 return PCLASS::CBNAME(a, b); \
1349 }
1350
1351
1352
1353
1354 class wxPyPrintPreview : public wxPrintPreview
1355 {
1356 DECLARE_CLASS(wxPyPrintPreview)
1357 public:
1358 wxPyPrintPreview(wxPyPrintout* printout,
1359 wxPyPrintout* printoutForPrinting,
1360 wxPrintDialogData* data=NULL)
1361 : wxPrintPreview(printout, printoutForPrinting, data)
1362 {}
1363 wxPyPrintPreview(wxPyPrintout* printout,
1364 wxPyPrintout* printoutForPrinting,
1365 wxPrintData* data=NULL)
1366 : wxPrintPreview(printout, printoutForPrinting, data)
1367 {}
1368
1369 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
1370 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
1371 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
1372 DEC_PYCALLBACK_BOOL_INT(RenderPage);
1373 DEC_PYCALLBACK_VOID_INT(SetZoom);
1374 DEC_PYCALLBACK_BOOL_BOOL(Print);
1375 DEC_PYCALLBACK_VOID_(DetermineScaling);
1376
1377 PYPRIVATE;
1378 };
1379
1380 // Stupid renamed classes... Fix this in 2.5...
1381 #if defined(__WXMSW__)
1382 IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
1383 #elif defined(__WXMAC__)
1384 IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
1385 #else
1386 IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
1387 #endif
1388
1389 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
1390 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
1391 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
1392 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
1393 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
1394 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
1395 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
1396
1397
1398 class wxPyPreviewFrame : public wxPreviewFrame
1399 {
1400 DECLARE_CLASS(wxPyPreviewFrame);
1401 public:
1402 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
1403 const wxString& title,
1404 const wxPoint& pos = wxDefaultPosition,
1405 const wxSize& size = wxDefaultSize,
1406 long style = wxDEFAULT_FRAME_STYLE,
1407 const wxString& name = wxPyFrameNameStr)
1408 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
1409 {}
1410
1411 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
1412 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
1413
1414 DEC_PYCALLBACK_VOID_(Initialize);
1415 DEC_PYCALLBACK_VOID_(CreateCanvas);
1416 DEC_PYCALLBACK_VOID_(CreateControlBar);
1417
1418 PYPRIVATE;
1419 };
1420
1421 IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
1422
1423 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
1424 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
1425 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
1426
1427
1428 class wxPyPreviewControlBar : public wxPreviewControlBar
1429 {
1430 DECLARE_CLASS(wxPyPreviewControlBar);
1431 public:
1432 wxPyPreviewControlBar(wxPrintPreview *preview,
1433 long buttons,
1434 wxWindow *parent,
1435 const wxPoint& pos = wxDefaultPosition,
1436 const wxSize& size = wxDefaultSize,
1437 long style = 0,
1438 const wxString& name = wxPyPanelNameStr)
1439 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
1440 {}
1441
1442 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
1443
1444 DEC_PYCALLBACK_VOID_(CreateButtons);
1445 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
1446
1447 PYPRIVATE;
1448 };
1449
1450 IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
1451 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
1452 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
1453
1454 #ifdef __cplusplus
1455 extern "C" {
1456 #endif
1457 static PyObject *_wrap_new_Panel(PyObject *, PyObject *args, PyObject *kwargs) {
1458 PyObject *resultobj;
1459 wxWindow *arg1 = (wxWindow *) 0 ;
1460 int arg2 = (int) (int)-1 ;
1461 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1462 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1463 wxSize const &arg4_defvalue = wxDefaultSize ;
1464 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1465 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1466 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1467 wxString *arg6 = (wxString *) &arg6_defvalue ;
1468 wxPanel *result;
1469 wxPoint temp3 ;
1470 wxSize temp4 ;
1471 bool temp6 = false ;
1472 PyObject * obj0 = 0 ;
1473 PyObject * obj1 = 0 ;
1474 PyObject * obj2 = 0 ;
1475 PyObject * obj3 = 0 ;
1476 PyObject * obj4 = 0 ;
1477 PyObject * obj5 = 0 ;
1478 char *kwnames[] = {
1479 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1480 };
1481
1482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
1483 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1484 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1485 if (obj1) {
1486 arg2 = (int)SWIG_As_int(obj1);
1487 if (PyErr_Occurred()) SWIG_fail;
1488 }
1489 if (obj2) {
1490 {
1491 arg3 = &temp3;
1492 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1493 }
1494 }
1495 if (obj3) {
1496 {
1497 arg4 = &temp4;
1498 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1499 }
1500 }
1501 if (obj4) {
1502 arg5 = (long)SWIG_As_long(obj4);
1503 if (PyErr_Occurred()) SWIG_fail;
1504 }
1505 if (obj5) {
1506 {
1507 arg6 = wxString_in_helper(obj5);
1508 if (arg6 == NULL) SWIG_fail;
1509 temp6 = true;
1510 }
1511 }
1512 {
1513 if (!wxPyCheckForApp()) SWIG_fail;
1514 PyThreadState* __tstate = wxPyBeginAllowThreads();
1515 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1516
1517 wxPyEndAllowThreads(__tstate);
1518 if (PyErr_Occurred()) SWIG_fail;
1519 }
1520 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
1521 {
1522 if (temp6)
1523 delete arg6;
1524 }
1525 return resultobj;
1526 fail:
1527 {
1528 if (temp6)
1529 delete arg6;
1530 }
1531 return NULL;
1532 }
1533
1534
1535 static PyObject *_wrap_new_PrePanel(PyObject *, PyObject *args, PyObject *kwargs) {
1536 PyObject *resultobj;
1537 wxPanel *result;
1538 char *kwnames[] = {
1539 NULL
1540 };
1541
1542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePanel",kwnames)) goto fail;
1543 {
1544 if (!wxPyCheckForApp()) SWIG_fail;
1545 PyThreadState* __tstate = wxPyBeginAllowThreads();
1546 result = (wxPanel *)new wxPanel();
1547
1548 wxPyEndAllowThreads(__tstate);
1549 if (PyErr_Occurred()) SWIG_fail;
1550 }
1551 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
1552 return resultobj;
1553 fail:
1554 return NULL;
1555 }
1556
1557
1558 static PyObject *_wrap_Panel_Create(PyObject *, PyObject *args, PyObject *kwargs) {
1559 PyObject *resultobj;
1560 wxPanel *arg1 = (wxPanel *) 0 ;
1561 wxWindow *arg2 = (wxWindow *) 0 ;
1562 int arg3 = (int) (int)-1 ;
1563 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1564 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1565 wxSize const &arg5_defvalue = wxDefaultSize ;
1566 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1567 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1568 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1569 wxString *arg7 = (wxString *) &arg7_defvalue ;
1570 bool result;
1571 wxPoint temp4 ;
1572 wxSize temp5 ;
1573 bool temp7 = false ;
1574 PyObject * obj0 = 0 ;
1575 PyObject * obj1 = 0 ;
1576 PyObject * obj2 = 0 ;
1577 PyObject * obj3 = 0 ;
1578 PyObject * obj4 = 0 ;
1579 PyObject * obj5 = 0 ;
1580 PyObject * obj6 = 0 ;
1581 char *kwnames[] = {
1582 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1583 };
1584
1585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
1586 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPanel,
1587 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1588 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1589 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1590 if (obj2) {
1591 arg3 = (int)SWIG_As_int(obj2);
1592 if (PyErr_Occurred()) SWIG_fail;
1593 }
1594 if (obj3) {
1595 {
1596 arg4 = &temp4;
1597 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1598 }
1599 }
1600 if (obj4) {
1601 {
1602 arg5 = &temp5;
1603 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1604 }
1605 }
1606 if (obj5) {
1607 arg6 = (long)SWIG_As_long(obj5);
1608 if (PyErr_Occurred()) SWIG_fail;
1609 }
1610 if (obj6) {
1611 {
1612 arg7 = wxString_in_helper(obj6);
1613 if (arg7 == NULL) SWIG_fail;
1614 temp7 = true;
1615 }
1616 }
1617 {
1618 PyThreadState* __tstate = wxPyBeginAllowThreads();
1619 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1620
1621 wxPyEndAllowThreads(__tstate);
1622 if (PyErr_Occurred()) SWIG_fail;
1623 }
1624 {
1625 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1626 }
1627 {
1628 if (temp7)
1629 delete arg7;
1630 }
1631 return resultobj;
1632 fail:
1633 {
1634 if (temp7)
1635 delete arg7;
1636 }
1637 return NULL;
1638 }
1639
1640
1641 static PyObject *_wrap_Panel_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
1642 PyObject *resultobj;
1643 wxPanel *arg1 = (wxPanel *) 0 ;
1644 PyObject * obj0 = 0 ;
1645 char *kwnames[] = {
1646 (char *) "self", NULL
1647 };
1648
1649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_InitDialog",kwnames,&obj0)) goto fail;
1650 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPanel,
1651 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1652 {
1653 PyThreadState* __tstate = wxPyBeginAllowThreads();
1654 (arg1)->InitDialog();
1655
1656 wxPyEndAllowThreads(__tstate);
1657 if (PyErr_Occurred()) SWIG_fail;
1658 }
1659 Py_INCREF(Py_None); resultobj = Py_None;
1660 return resultobj;
1661 fail:
1662 return NULL;
1663 }
1664
1665
1666 static PyObject *_wrap_Panel_SetFocus(PyObject *, PyObject *args, PyObject *kwargs) {
1667 PyObject *resultobj;
1668 wxPanel *arg1 = (wxPanel *) 0 ;
1669 PyObject * obj0 = 0 ;
1670 char *kwnames[] = {
1671 (char *) "self", NULL
1672 };
1673
1674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_SetFocus",kwnames,&obj0)) goto fail;
1675 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPanel,
1676 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1677 {
1678 PyThreadState* __tstate = wxPyBeginAllowThreads();
1679 (arg1)->SetFocus();
1680
1681 wxPyEndAllowThreads(__tstate);
1682 if (PyErr_Occurred()) SWIG_fail;
1683 }
1684 Py_INCREF(Py_None); resultobj = Py_None;
1685 return resultobj;
1686 fail:
1687 return NULL;
1688 }
1689
1690
1691 static PyObject *_wrap_Panel_SetFocusIgnoringChildren(PyObject *, PyObject *args, PyObject *kwargs) {
1692 PyObject *resultobj;
1693 wxPanel *arg1 = (wxPanel *) 0 ;
1694 PyObject * obj0 = 0 ;
1695 char *kwnames[] = {
1696 (char *) "self", NULL
1697 };
1698
1699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_SetFocusIgnoringChildren",kwnames,&obj0)) goto fail;
1700 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPanel,
1701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1702 {
1703 PyThreadState* __tstate = wxPyBeginAllowThreads();
1704 (arg1)->SetFocusIgnoringChildren();
1705
1706 wxPyEndAllowThreads(__tstate);
1707 if (PyErr_Occurred()) SWIG_fail;
1708 }
1709 Py_INCREF(Py_None); resultobj = Py_None;
1710 return resultobj;
1711 fail:
1712 return NULL;
1713 }
1714
1715
1716 static PyObject *_wrap_Panel_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
1717 PyObject *resultobj;
1718 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
1719 wxVisualAttributes result;
1720 PyObject * obj0 = 0 ;
1721 char *kwnames[] = {
1722 (char *) "variant", NULL
1723 };
1724
1725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
1726 if (obj0) {
1727 arg1 = (int)SWIG_As_int(obj0);
1728 if (PyErr_Occurred()) SWIG_fail;
1729 }
1730 {
1731 if (!wxPyCheckForApp()) SWIG_fail;
1732 PyThreadState* __tstate = wxPyBeginAllowThreads();
1733 result = wxPanel::GetClassDefaultAttributes((wxWindowVariant )arg1);
1734
1735 wxPyEndAllowThreads(__tstate);
1736 if (PyErr_Occurred()) SWIG_fail;
1737 }
1738 {
1739 wxVisualAttributes * resultptr;
1740 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
1741 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
1742 }
1743 return resultobj;
1744 fail:
1745 return NULL;
1746 }
1747
1748
1749 static PyObject * Panel_swigregister(PyObject *, PyObject *args) {
1750 PyObject *obj;
1751 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1752 SWIG_TypeClientData(SWIGTYPE_p_wxPanel, obj);
1753 Py_INCREF(obj);
1754 return Py_BuildValue((char *)"");
1755 }
1756 static PyObject *_wrap_new_ScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
1757 PyObject *resultobj;
1758 wxWindow *arg1 = (wxWindow *) 0 ;
1759 int arg2 = (int) (int)-1 ;
1760 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1761 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1762 wxSize const &arg4_defvalue = wxDefaultSize ;
1763 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1764 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
1765 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1766 wxString *arg6 = (wxString *) &arg6_defvalue ;
1767 wxScrolledWindow *result;
1768 wxPoint temp3 ;
1769 wxSize temp4 ;
1770 bool temp6 = false ;
1771 PyObject * obj0 = 0 ;
1772 PyObject * obj1 = 0 ;
1773 PyObject * obj2 = 0 ;
1774 PyObject * obj3 = 0 ;
1775 PyObject * obj4 = 0 ;
1776 PyObject * obj5 = 0 ;
1777 char *kwnames[] = {
1778 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1779 };
1780
1781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
1782 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1783 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1784 if (obj1) {
1785 arg2 = (int)SWIG_As_int(obj1);
1786 if (PyErr_Occurred()) SWIG_fail;
1787 }
1788 if (obj2) {
1789 {
1790 arg3 = &temp3;
1791 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1792 }
1793 }
1794 if (obj3) {
1795 {
1796 arg4 = &temp4;
1797 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1798 }
1799 }
1800 if (obj4) {
1801 arg5 = (long)SWIG_As_long(obj4);
1802 if (PyErr_Occurred()) SWIG_fail;
1803 }
1804 if (obj5) {
1805 {
1806 arg6 = wxString_in_helper(obj5);
1807 if (arg6 == NULL) SWIG_fail;
1808 temp6 = true;
1809 }
1810 }
1811 {
1812 if (!wxPyCheckForApp()) SWIG_fail;
1813 PyThreadState* __tstate = wxPyBeginAllowThreads();
1814 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1815
1816 wxPyEndAllowThreads(__tstate);
1817 if (PyErr_Occurred()) SWIG_fail;
1818 }
1819 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
1820 {
1821 if (temp6)
1822 delete arg6;
1823 }
1824 return resultobj;
1825 fail:
1826 {
1827 if (temp6)
1828 delete arg6;
1829 }
1830 return NULL;
1831 }
1832
1833
1834 static PyObject *_wrap_new_PreScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
1835 PyObject *resultobj;
1836 wxScrolledWindow *result;
1837 char *kwnames[] = {
1838 NULL
1839 };
1840
1841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrolledWindow",kwnames)) goto fail;
1842 {
1843 if (!wxPyCheckForApp()) SWIG_fail;
1844 PyThreadState* __tstate = wxPyBeginAllowThreads();
1845 result = (wxScrolledWindow *)new wxScrolledWindow();
1846
1847 wxPyEndAllowThreads(__tstate);
1848 if (PyErr_Occurred()) SWIG_fail;
1849 }
1850 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
1851 return resultobj;
1852 fail:
1853 return NULL;
1854 }
1855
1856
1857 static PyObject *_wrap_ScrolledWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
1858 PyObject *resultobj;
1859 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1860 wxWindow *arg2 = (wxWindow *) 0 ;
1861 int arg3 = (int) (int)-1 ;
1862 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1863 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1864 wxSize const &arg5_defvalue = wxDefaultSize ;
1865 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1866 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
1867 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1868 wxString *arg7 = (wxString *) &arg7_defvalue ;
1869 bool result;
1870 wxPoint temp4 ;
1871 wxSize temp5 ;
1872 bool temp7 = false ;
1873 PyObject * obj0 = 0 ;
1874 PyObject * obj1 = 0 ;
1875 PyObject * obj2 = 0 ;
1876 PyObject * obj3 = 0 ;
1877 PyObject * obj4 = 0 ;
1878 PyObject * obj5 = 0 ;
1879 PyObject * obj6 = 0 ;
1880 char *kwnames[] = {
1881 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1882 };
1883
1884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
1885 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1886 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1887 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1888 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1889 if (obj2) {
1890 arg3 = (int)SWIG_As_int(obj2);
1891 if (PyErr_Occurred()) SWIG_fail;
1892 }
1893 if (obj3) {
1894 {
1895 arg4 = &temp4;
1896 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1897 }
1898 }
1899 if (obj4) {
1900 {
1901 arg5 = &temp5;
1902 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1903 }
1904 }
1905 if (obj5) {
1906 arg6 = (long)SWIG_As_long(obj5);
1907 if (PyErr_Occurred()) SWIG_fail;
1908 }
1909 if (obj6) {
1910 {
1911 arg7 = wxString_in_helper(obj6);
1912 if (arg7 == NULL) SWIG_fail;
1913 temp7 = true;
1914 }
1915 }
1916 {
1917 PyThreadState* __tstate = wxPyBeginAllowThreads();
1918 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1919
1920 wxPyEndAllowThreads(__tstate);
1921 if (PyErr_Occurred()) SWIG_fail;
1922 }
1923 {
1924 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1925 }
1926 {
1927 if (temp7)
1928 delete arg7;
1929 }
1930 return resultobj;
1931 fail:
1932 {
1933 if (temp7)
1934 delete arg7;
1935 }
1936 return NULL;
1937 }
1938
1939
1940 static PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
1941 PyObject *resultobj;
1942 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1943 int arg2 ;
1944 int arg3 ;
1945 int arg4 ;
1946 int arg5 ;
1947 int arg6 = (int) 0 ;
1948 int arg7 = (int) 0 ;
1949 bool arg8 = (bool) false ;
1950 PyObject * obj0 = 0 ;
1951 PyObject * obj1 = 0 ;
1952 PyObject * obj2 = 0 ;
1953 PyObject * obj3 = 0 ;
1954 PyObject * obj4 = 0 ;
1955 PyObject * obj5 = 0 ;
1956 PyObject * obj6 = 0 ;
1957 PyObject * obj7 = 0 ;
1958 char *kwnames[] = {
1959 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1960 };
1961
1962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
1963 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1964 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1965 arg2 = (int)SWIG_As_int(obj1);
1966 if (PyErr_Occurred()) SWIG_fail;
1967 arg3 = (int)SWIG_As_int(obj2);
1968 if (PyErr_Occurred()) SWIG_fail;
1969 arg4 = (int)SWIG_As_int(obj3);
1970 if (PyErr_Occurred()) SWIG_fail;
1971 arg5 = (int)SWIG_As_int(obj4);
1972 if (PyErr_Occurred()) SWIG_fail;
1973 if (obj5) {
1974 arg6 = (int)SWIG_As_int(obj5);
1975 if (PyErr_Occurred()) SWIG_fail;
1976 }
1977 if (obj6) {
1978 arg7 = (int)SWIG_As_int(obj6);
1979 if (PyErr_Occurred()) SWIG_fail;
1980 }
1981 if (obj7) {
1982 arg8 = (bool)SWIG_As_bool(obj7);
1983 if (PyErr_Occurred()) SWIG_fail;
1984 }
1985 {
1986 PyThreadState* __tstate = wxPyBeginAllowThreads();
1987 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
1988
1989 wxPyEndAllowThreads(__tstate);
1990 if (PyErr_Occurred()) SWIG_fail;
1991 }
1992 Py_INCREF(Py_None); resultobj = Py_None;
1993 return resultobj;
1994 fail:
1995 return NULL;
1996 }
1997
1998
1999 static PyObject *_wrap_ScrolledWindow_Scroll(PyObject *, PyObject *args, PyObject *kwargs) {
2000 PyObject *resultobj;
2001 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2002 int arg2 ;
2003 int arg3 ;
2004 PyObject * obj0 = 0 ;
2005 PyObject * obj1 = 0 ;
2006 PyObject * obj2 = 0 ;
2007 char *kwnames[] = {
2008 (char *) "self",(char *) "x",(char *) "y", NULL
2009 };
2010
2011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) goto fail;
2012 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2013 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2014 arg2 = (int)SWIG_As_int(obj1);
2015 if (PyErr_Occurred()) SWIG_fail;
2016 arg3 = (int)SWIG_As_int(obj2);
2017 if (PyErr_Occurred()) SWIG_fail;
2018 {
2019 PyThreadState* __tstate = wxPyBeginAllowThreads();
2020 (arg1)->Scroll(arg2,arg3);
2021
2022 wxPyEndAllowThreads(__tstate);
2023 if (PyErr_Occurred()) SWIG_fail;
2024 }
2025 Py_INCREF(Py_None); resultobj = Py_None;
2026 return resultobj;
2027 fail:
2028 return NULL;
2029 }
2030
2031
2032 static PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
2033 PyObject *resultobj;
2034 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2035 int arg2 ;
2036 int result;
2037 PyObject * obj0 = 0 ;
2038 PyObject * obj1 = 0 ;
2039 char *kwnames[] = {
2040 (char *) "self",(char *) "orient", NULL
2041 };
2042
2043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) goto fail;
2044 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2045 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2046 arg2 = (int)SWIG_As_int(obj1);
2047 if (PyErr_Occurred()) SWIG_fail;
2048 {
2049 PyThreadState* __tstate = wxPyBeginAllowThreads();
2050 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
2051
2052 wxPyEndAllowThreads(__tstate);
2053 if (PyErr_Occurred()) SWIG_fail;
2054 }
2055 resultobj = SWIG_From_int((int)result);
2056 return resultobj;
2057 fail:
2058 return NULL;
2059 }
2060
2061
2062 static PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
2063 PyObject *resultobj;
2064 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2065 int arg2 ;
2066 int arg3 ;
2067 PyObject * obj0 = 0 ;
2068 PyObject * obj1 = 0 ;
2069 PyObject * obj2 = 0 ;
2070 char *kwnames[] = {
2071 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
2072 };
2073
2074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2075 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2076 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2077 arg2 = (int)SWIG_As_int(obj1);
2078 if (PyErr_Occurred()) SWIG_fail;
2079 arg3 = (int)SWIG_As_int(obj2);
2080 if (PyErr_Occurred()) SWIG_fail;
2081 {
2082 PyThreadState* __tstate = wxPyBeginAllowThreads();
2083 (arg1)->SetScrollPageSize(arg2,arg3);
2084
2085 wxPyEndAllowThreads(__tstate);
2086 if (PyErr_Occurred()) SWIG_fail;
2087 }
2088 Py_INCREF(Py_None); resultobj = Py_None;
2089 return resultobj;
2090 fail:
2091 return NULL;
2092 }
2093
2094
2095 static PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *, PyObject *args, PyObject *kwargs) {
2096 PyObject *resultobj;
2097 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2098 int arg2 ;
2099 int arg3 ;
2100 PyObject * obj0 = 0 ;
2101 PyObject * obj1 = 0 ;
2102 PyObject * obj2 = 0 ;
2103 char *kwnames[] = {
2104 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
2105 };
2106
2107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) goto fail;
2108 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2109 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2110 arg2 = (int)SWIG_As_int(obj1);
2111 if (PyErr_Occurred()) SWIG_fail;
2112 arg3 = (int)SWIG_As_int(obj2);
2113 if (PyErr_Occurred()) SWIG_fail;
2114 {
2115 PyThreadState* __tstate = wxPyBeginAllowThreads();
2116 (arg1)->SetScrollRate(arg2,arg3);
2117
2118 wxPyEndAllowThreads(__tstate);
2119 if (PyErr_Occurred()) SWIG_fail;
2120 }
2121 Py_INCREF(Py_None); resultobj = Py_None;
2122 return resultobj;
2123 fail:
2124 return NULL;
2125 }
2126
2127
2128 static PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *, PyObject *args, PyObject *kwargs) {
2129 PyObject *resultobj;
2130 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2131 int *arg2 = (int *) 0 ;
2132 int *arg3 = (int *) 0 ;
2133 int temp2 ;
2134 int res2 = 0 ;
2135 int temp3 ;
2136 int res3 = 0 ;
2137 PyObject * obj0 = 0 ;
2138 char *kwnames[] = {
2139 (char *) "self", NULL
2140 };
2141
2142 arg2 = &temp2; res2 = SWIG_NEWOBJ;
2143 arg3 = &temp3; res3 = SWIG_NEWOBJ;
2144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames,&obj0)) goto fail;
2145 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2146 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2147 {
2148 PyThreadState* __tstate = wxPyBeginAllowThreads();
2149 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
2150
2151 wxPyEndAllowThreads(__tstate);
2152 if (PyErr_Occurred()) SWIG_fail;
2153 }
2154 Py_INCREF(Py_None); resultobj = Py_None;
2155 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
2156 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
2157 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
2158 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
2159 return resultobj;
2160 fail:
2161 return NULL;
2162 }
2163
2164
2165 static PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *, PyObject *args, PyObject *kwargs) {
2166 PyObject *resultobj;
2167 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2168 bool arg2 ;
2169 bool arg3 ;
2170 PyObject * obj0 = 0 ;
2171 PyObject * obj1 = 0 ;
2172 PyObject * obj2 = 0 ;
2173 char *kwnames[] = {
2174 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
2175 };
2176
2177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) goto fail;
2178 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2179 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2180 arg2 = (bool)SWIG_As_bool(obj1);
2181 if (PyErr_Occurred()) SWIG_fail;
2182 arg3 = (bool)SWIG_As_bool(obj2);
2183 if (PyErr_Occurred()) SWIG_fail;
2184 {
2185 PyThreadState* __tstate = wxPyBeginAllowThreads();
2186 (arg1)->EnableScrolling(arg2,arg3);
2187
2188 wxPyEndAllowThreads(__tstate);
2189 if (PyErr_Occurred()) SWIG_fail;
2190 }
2191 Py_INCREF(Py_None); resultobj = Py_None;
2192 return resultobj;
2193 fail:
2194 return NULL;
2195 }
2196
2197
2198 static PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *, PyObject *args, PyObject *kwargs) {
2199 PyObject *resultobj;
2200 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2201 int *arg2 = (int *) 0 ;
2202 int *arg3 = (int *) 0 ;
2203 int temp2 ;
2204 int res2 = 0 ;
2205 int temp3 ;
2206 int res3 = 0 ;
2207 PyObject * obj0 = 0 ;
2208 char *kwnames[] = {
2209 (char *) "self", NULL
2210 };
2211
2212 arg2 = &temp2; res2 = SWIG_NEWOBJ;
2213 arg3 = &temp3; res3 = SWIG_NEWOBJ;
2214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetViewStart",kwnames,&obj0)) goto fail;
2215 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2216 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2217 {
2218 PyThreadState* __tstate = wxPyBeginAllowThreads();
2219 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
2220
2221 wxPyEndAllowThreads(__tstate);
2222 if (PyErr_Occurred()) SWIG_fail;
2223 }
2224 Py_INCREF(Py_None); resultobj = Py_None;
2225 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
2226 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
2227 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
2228 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
2229 return resultobj;
2230 fail:
2231 return NULL;
2232 }
2233
2234
2235 static PyObject *_wrap_ScrolledWindow_SetScale(PyObject *, PyObject *args, PyObject *kwargs) {
2236 PyObject *resultobj;
2237 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2238 double arg2 ;
2239 double arg3 ;
2240 PyObject * obj0 = 0 ;
2241 PyObject * obj1 = 0 ;
2242 PyObject * obj2 = 0 ;
2243 char *kwnames[] = {
2244 (char *) "self",(char *) "xs",(char *) "ys", NULL
2245 };
2246
2247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) goto fail;
2248 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2249 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2250 arg2 = (double)SWIG_As_double(obj1);
2251 if (PyErr_Occurred()) SWIG_fail;
2252 arg3 = (double)SWIG_As_double(obj2);
2253 if (PyErr_Occurred()) SWIG_fail;
2254 {
2255 PyThreadState* __tstate = wxPyBeginAllowThreads();
2256 (arg1)->SetScale(arg2,arg3);
2257
2258 wxPyEndAllowThreads(__tstate);
2259 if (PyErr_Occurred()) SWIG_fail;
2260 }
2261 Py_INCREF(Py_None); resultobj = Py_None;
2262 return resultobj;
2263 fail:
2264 return NULL;
2265 }
2266
2267
2268 static PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *, PyObject *args, PyObject *kwargs) {
2269 PyObject *resultobj;
2270 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2271 double result;
2272 PyObject * obj0 = 0 ;
2273 char *kwnames[] = {
2274 (char *) "self", NULL
2275 };
2276
2277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleX",kwnames,&obj0)) goto fail;
2278 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2279 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2280 {
2281 PyThreadState* __tstate = wxPyBeginAllowThreads();
2282 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
2283
2284 wxPyEndAllowThreads(__tstate);
2285 if (PyErr_Occurred()) SWIG_fail;
2286 }
2287 resultobj = SWIG_From_double((double)result);
2288 return resultobj;
2289 fail:
2290 return NULL;
2291 }
2292
2293
2294 static PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *, PyObject *args, PyObject *kwargs) {
2295 PyObject *resultobj;
2296 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2297 double result;
2298 PyObject * obj0 = 0 ;
2299 char *kwnames[] = {
2300 (char *) "self", NULL
2301 };
2302
2303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleY",kwnames,&obj0)) goto fail;
2304 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2305 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2306 {
2307 PyThreadState* __tstate = wxPyBeginAllowThreads();
2308 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
2309
2310 wxPyEndAllowThreads(__tstate);
2311 if (PyErr_Occurred()) SWIG_fail;
2312 }
2313 resultobj = SWIG_From_double((double)result);
2314 return resultobj;
2315 fail:
2316 return NULL;
2317 }
2318
2319
2320 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *, PyObject *args) {
2321 PyObject *resultobj;
2322 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2323 wxPoint *arg2 = 0 ;
2324 wxPoint result;
2325 wxPoint temp2 ;
2326 PyObject * obj0 = 0 ;
2327 PyObject * obj1 = 0 ;
2328
2329 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1)) goto fail;
2330 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2331 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2332 {
2333 arg2 = &temp2;
2334 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2335 }
2336 {
2337 PyThreadState* __tstate = wxPyBeginAllowThreads();
2338 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
2339
2340 wxPyEndAllowThreads(__tstate);
2341 if (PyErr_Occurred()) SWIG_fail;
2342 }
2343 {
2344 wxPoint * resultptr;
2345 resultptr = new wxPoint((wxPoint &) result);
2346 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
2347 }
2348 return resultobj;
2349 fail:
2350 return NULL;
2351 }
2352
2353
2354 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *, PyObject *args) {
2355 PyObject *resultobj;
2356 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2357 int arg2 ;
2358 int arg3 ;
2359 int *arg4 = (int *) 0 ;
2360 int *arg5 = (int *) 0 ;
2361 int temp4 ;
2362 int res4 = 0 ;
2363 int temp5 ;
2364 int res5 = 0 ;
2365 PyObject * obj0 = 0 ;
2366 PyObject * obj1 = 0 ;
2367 PyObject * obj2 = 0 ;
2368
2369 arg4 = &temp4; res4 = SWIG_NEWOBJ;
2370 arg5 = &temp5; res5 = SWIG_NEWOBJ;
2371 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1,&obj2)) goto fail;
2372 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2373 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2374 arg2 = (int)SWIG_As_int(obj1);
2375 if (PyErr_Occurred()) SWIG_fail;
2376 arg3 = (int)SWIG_As_int(obj2);
2377 if (PyErr_Occurred()) SWIG_fail;
2378 {
2379 PyThreadState* __tstate = wxPyBeginAllowThreads();
2380 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
2381
2382 wxPyEndAllowThreads(__tstate);
2383 if (PyErr_Occurred()) SWIG_fail;
2384 }
2385 Py_INCREF(Py_None); resultobj = Py_None;
2386 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
2387 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
2388 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
2389 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
2390 return resultobj;
2391 fail:
2392 return NULL;
2393 }
2394
2395
2396 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
2397 int argc;
2398 PyObject *argv[4];
2399 int ii;
2400
2401 argc = PyObject_Length(args);
2402 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
2403 argv[ii] = PyTuple_GetItem(args,ii);
2404 }
2405 if (argc == 2) {
2406 int _v;
2407 {
2408 void *ptr;
2409 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2410 _v = 0;
2411 PyErr_Clear();
2412 } else {
2413 _v = 1;
2414 }
2415 }
2416 if (_v) {
2417 {
2418 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
2419 }
2420 if (_v) {
2421 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self,args);
2422 }
2423 }
2424 }
2425 if (argc == 3) {
2426 int _v;
2427 {
2428 void *ptr;
2429 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2430 _v = 0;
2431 PyErr_Clear();
2432 } else {
2433 _v = 1;
2434 }
2435 }
2436 if (_v) {
2437 _v = SWIG_Check_int(argv[1]);
2438 if (_v) {
2439 _v = SWIG_Check_int(argv[2]);
2440 if (_v) {
2441 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self,args);
2442 }
2443 }
2444 }
2445 }
2446
2447 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
2448 return NULL;
2449 }
2450
2451
2452 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *, PyObject *args) {
2453 PyObject *resultobj;
2454 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2455 wxPoint *arg2 = 0 ;
2456 wxPoint result;
2457 wxPoint temp2 ;
2458 PyObject * obj0 = 0 ;
2459 PyObject * obj1 = 0 ;
2460
2461 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1)) goto fail;
2462 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2463 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2464 {
2465 arg2 = &temp2;
2466 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2467 }
2468 {
2469 PyThreadState* __tstate = wxPyBeginAllowThreads();
2470 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
2471
2472 wxPyEndAllowThreads(__tstate);
2473 if (PyErr_Occurred()) SWIG_fail;
2474 }
2475 {
2476 wxPoint * resultptr;
2477 resultptr = new wxPoint((wxPoint &) result);
2478 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
2479 }
2480 return resultobj;
2481 fail:
2482 return NULL;
2483 }
2484
2485
2486 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *, PyObject *args) {
2487 PyObject *resultobj;
2488 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2489 int arg2 ;
2490 int arg3 ;
2491 int *arg4 = (int *) 0 ;
2492 int *arg5 = (int *) 0 ;
2493 int temp4 ;
2494 int res4 = 0 ;
2495 int temp5 ;
2496 int res5 = 0 ;
2497 PyObject * obj0 = 0 ;
2498 PyObject * obj1 = 0 ;
2499 PyObject * obj2 = 0 ;
2500
2501 arg4 = &temp4; res4 = SWIG_NEWOBJ;
2502 arg5 = &temp5; res5 = SWIG_NEWOBJ;
2503 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1,&obj2)) goto fail;
2504 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2505 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2506 arg2 = (int)SWIG_As_int(obj1);
2507 if (PyErr_Occurred()) SWIG_fail;
2508 arg3 = (int)SWIG_As_int(obj2);
2509 if (PyErr_Occurred()) SWIG_fail;
2510 {
2511 PyThreadState* __tstate = wxPyBeginAllowThreads();
2512 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
2513
2514 wxPyEndAllowThreads(__tstate);
2515 if (PyErr_Occurred()) SWIG_fail;
2516 }
2517 Py_INCREF(Py_None); resultobj = Py_None;
2518 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
2519 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
2520 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
2521 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
2522 return resultobj;
2523 fail:
2524 return NULL;
2525 }
2526
2527
2528 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
2529 int argc;
2530 PyObject *argv[4];
2531 int ii;
2532
2533 argc = PyObject_Length(args);
2534 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
2535 argv[ii] = PyTuple_GetItem(args,ii);
2536 }
2537 if (argc == 2) {
2538 int _v;
2539 {
2540 void *ptr;
2541 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2542 _v = 0;
2543 PyErr_Clear();
2544 } else {
2545 _v = 1;
2546 }
2547 }
2548 if (_v) {
2549 {
2550 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
2551 }
2552 if (_v) {
2553 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self,args);
2554 }
2555 }
2556 }
2557 if (argc == 3) {
2558 int _v;
2559 {
2560 void *ptr;
2561 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2562 _v = 0;
2563 PyErr_Clear();
2564 } else {
2565 _v = 1;
2566 }
2567 }
2568 if (_v) {
2569 _v = SWIG_Check_int(argv[1]);
2570 if (_v) {
2571 _v = SWIG_Check_int(argv[2]);
2572 if (_v) {
2573 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self,args);
2574 }
2575 }
2576 }
2577 }
2578
2579 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
2580 return NULL;
2581 }
2582
2583
2584 static PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
2585 PyObject *resultobj;
2586 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2587 PyObject * obj0 = 0 ;
2588 char *kwnames[] = {
2589 (char *) "self", NULL
2590 };
2591
2592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames,&obj0)) goto fail;
2593 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2594 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2595 {
2596 PyThreadState* __tstate = wxPyBeginAllowThreads();
2597 (arg1)->AdjustScrollbars();
2598
2599 wxPyEndAllowThreads(__tstate);
2600 if (PyErr_Occurred()) SWIG_fail;
2601 }
2602 Py_INCREF(Py_None); resultobj = Py_None;
2603 return resultobj;
2604 fail:
2605 return NULL;
2606 }
2607
2608
2609 static PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *, PyObject *args, PyObject *kwargs) {
2610 PyObject *resultobj;
2611 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2612 wxScrollWinEvent *arg2 = 0 ;
2613 int result;
2614 PyObject * obj0 = 0 ;
2615 PyObject * obj1 = 0 ;
2616 char *kwnames[] = {
2617 (char *) "self",(char *) "event", NULL
2618 };
2619
2620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) goto fail;
2621 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2622 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2623 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxScrollWinEvent,
2624 SWIG_POINTER_EXCEPTION | 0)) == -1)
2625 SWIG_fail;
2626 if (arg2 == NULL) {
2627 PyErr_SetString(PyExc_TypeError,"null reference");
2628 SWIG_fail;
2629 }
2630 {
2631 PyThreadState* __tstate = wxPyBeginAllowThreads();
2632 result = (int)(arg1)->CalcScrollInc(*arg2);
2633
2634 wxPyEndAllowThreads(__tstate);
2635 if (PyErr_Occurred()) SWIG_fail;
2636 }
2637 resultobj = SWIG_From_int((int)result);
2638 return resultobj;
2639 fail:
2640 return NULL;
2641 }
2642
2643
2644 static PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
2645 PyObject *resultobj;
2646 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2647 wxWindow *arg2 = (wxWindow *) 0 ;
2648 PyObject * obj0 = 0 ;
2649 PyObject * obj1 = 0 ;
2650 char *kwnames[] = {
2651 (char *) "self",(char *) "target", NULL
2652 };
2653
2654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) goto fail;
2655 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2656 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2657 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
2658 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2659 {
2660 PyThreadState* __tstate = wxPyBeginAllowThreads();
2661 (arg1)->SetTargetWindow(arg2);
2662
2663 wxPyEndAllowThreads(__tstate);
2664 if (PyErr_Occurred()) SWIG_fail;
2665 }
2666 Py_INCREF(Py_None); resultobj = Py_None;
2667 return resultobj;
2668 fail:
2669 return NULL;
2670 }
2671
2672
2673 static PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
2674 PyObject *resultobj;
2675 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2676 wxWindow *result;
2677 PyObject * obj0 = 0 ;
2678 char *kwnames[] = {
2679 (char *) "self", NULL
2680 };
2681
2682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames,&obj0)) goto fail;
2683 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2684 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2685 {
2686 PyThreadState* __tstate = wxPyBeginAllowThreads();
2687 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
2688
2689 wxPyEndAllowThreads(__tstate);
2690 if (PyErr_Occurred()) SWIG_fail;
2691 }
2692 {
2693 resultobj = wxPyMake_wxObject(result, 0);
2694 }
2695 return resultobj;
2696 fail:
2697 return NULL;
2698 }
2699
2700
2701 static PyObject *_wrap_ScrolledWindow_SetTargetRect(PyObject *, PyObject *args, PyObject *kwargs) {
2702 PyObject *resultobj;
2703 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2704 wxRect *arg2 = 0 ;
2705 wxRect temp2 ;
2706 PyObject * obj0 = 0 ;
2707 PyObject * obj1 = 0 ;
2708 char *kwnames[] = {
2709 (char *) "self",(char *) "rect", NULL
2710 };
2711
2712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames,&obj0,&obj1)) goto fail;
2713 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2714 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2715 {
2716 arg2 = &temp2;
2717 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
2718 }
2719 {
2720 PyThreadState* __tstate = wxPyBeginAllowThreads();
2721 (arg1)->SetTargetRect((wxRect const &)*arg2);
2722
2723 wxPyEndAllowThreads(__tstate);
2724 if (PyErr_Occurred()) SWIG_fail;
2725 }
2726 Py_INCREF(Py_None); resultobj = Py_None;
2727 return resultobj;
2728 fail:
2729 return NULL;
2730 }
2731
2732
2733 static PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *, PyObject *args, PyObject *kwargs) {
2734 PyObject *resultobj;
2735 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2736 wxRect result;
2737 PyObject * obj0 = 0 ;
2738 char *kwnames[] = {
2739 (char *) "self", NULL
2740 };
2741
2742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetRect",kwnames,&obj0)) goto fail;
2743 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2744 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2745 {
2746 PyThreadState* __tstate = wxPyBeginAllowThreads();
2747 result = ((wxScrolledWindow const *)arg1)->GetTargetRect();
2748
2749 wxPyEndAllowThreads(__tstate);
2750 if (PyErr_Occurred()) SWIG_fail;
2751 }
2752 {
2753 wxRect * resultptr;
2754 resultptr = new wxRect((wxRect &) result);
2755 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
2756 }
2757 return resultobj;
2758 fail:
2759 return NULL;
2760 }
2761
2762
2763 static PyObject *_wrap_ScrolledWindow_DoPrepareDC(PyObject *, PyObject *args, PyObject *kwargs) {
2764 PyObject *resultobj;
2765 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2766 wxDC *arg2 = 0 ;
2767 PyObject * obj0 = 0 ;
2768 PyObject * obj1 = 0 ;
2769 char *kwnames[] = {
2770 (char *) "self",(char *) "dc", NULL
2771 };
2772
2773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames,&obj0,&obj1)) goto fail;
2774 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2775 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2776 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
2777 SWIG_POINTER_EXCEPTION | 0)) == -1)
2778 SWIG_fail;
2779 if (arg2 == NULL) {
2780 PyErr_SetString(PyExc_TypeError,"null reference");
2781 SWIG_fail;
2782 }
2783 {
2784 PyThreadState* __tstate = wxPyBeginAllowThreads();
2785 (arg1)->DoPrepareDC(*arg2);
2786
2787 wxPyEndAllowThreads(__tstate);
2788 if (PyErr_Occurred()) SWIG_fail;
2789 }
2790 Py_INCREF(Py_None); resultobj = Py_None;
2791 return resultobj;
2792 fail:
2793 return NULL;
2794 }
2795
2796
2797 static PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
2798 PyObject *resultobj;
2799 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
2800 wxVisualAttributes result;
2801 PyObject * obj0 = 0 ;
2802 char *kwnames[] = {
2803 (char *) "variant", NULL
2804 };
2805
2806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
2807 if (obj0) {
2808 arg1 = (int)SWIG_As_int(obj0);
2809 if (PyErr_Occurred()) SWIG_fail;
2810 }
2811 {
2812 if (!wxPyCheckForApp()) SWIG_fail;
2813 PyThreadState* __tstate = wxPyBeginAllowThreads();
2814 result = wxScrolledWindow::GetClassDefaultAttributes((wxWindowVariant )arg1);
2815
2816 wxPyEndAllowThreads(__tstate);
2817 if (PyErr_Occurred()) SWIG_fail;
2818 }
2819 {
2820 wxVisualAttributes * resultptr;
2821 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
2822 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
2823 }
2824 return resultobj;
2825 fail:
2826 return NULL;
2827 }
2828
2829
2830 static PyObject * ScrolledWindow_swigregister(PyObject *, PyObject *args) {
2831 PyObject *obj;
2832 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2833 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj);
2834 Py_INCREF(obj);
2835 return Py_BuildValue((char *)"");
2836 }
2837 static int _wrap_FrameNameStr_set(PyObject *) {
2838 PyErr_SetString(PyExc_TypeError,"Variable FrameNameStr is read-only.");
2839 return 1;
2840 }
2841
2842
2843 static PyObject *_wrap_FrameNameStr_get() {
2844 PyObject *pyobj;
2845
2846 {
2847 #if wxUSE_UNICODE
2848 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2849 #else
2850 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2851 #endif
2852 }
2853 return pyobj;
2854 }
2855
2856
2857 static int _wrap_DialogNameStr_set(PyObject *) {
2858 PyErr_SetString(PyExc_TypeError,"Variable DialogNameStr is read-only.");
2859 return 1;
2860 }
2861
2862
2863 static PyObject *_wrap_DialogNameStr_get() {
2864 PyObject *pyobj;
2865
2866 {
2867 #if wxUSE_UNICODE
2868 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2869 #else
2870 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2871 #endif
2872 }
2873 return pyobj;
2874 }
2875
2876
2877 static int _wrap_StatusLineNameStr_set(PyObject *) {
2878 PyErr_SetString(PyExc_TypeError,"Variable StatusLineNameStr is read-only.");
2879 return 1;
2880 }
2881
2882
2883 static PyObject *_wrap_StatusLineNameStr_get() {
2884 PyObject *pyobj;
2885
2886 {
2887 #if wxUSE_UNICODE
2888 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2889 #else
2890 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2891 #endif
2892 }
2893 return pyobj;
2894 }
2895
2896
2897 static int _wrap_ToolBarNameStr_set(PyObject *) {
2898 PyErr_SetString(PyExc_TypeError,"Variable ToolBarNameStr is read-only.");
2899 return 1;
2900 }
2901
2902
2903 static PyObject *_wrap_ToolBarNameStr_get() {
2904 PyObject *pyobj;
2905
2906 {
2907 #if wxUSE_UNICODE
2908 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2909 #else
2910 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2911 #endif
2912 }
2913 return pyobj;
2914 }
2915
2916
2917 static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *, PyObject *args, PyObject *kwargs) {
2918 PyObject *resultobj;
2919 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2920 bool arg2 = (bool) true ;
2921 PyObject * obj0 = 0 ;
2922 PyObject * obj1 = 0 ;
2923 char *kwnames[] = {
2924 (char *) "self",(char *) "maximize", NULL
2925 };
2926
2927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail;
2928 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2929 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2930 if (obj1) {
2931 arg2 = (bool)SWIG_As_bool(obj1);
2932 if (PyErr_Occurred()) SWIG_fail;
2933 }
2934 {
2935 PyThreadState* __tstate = wxPyBeginAllowThreads();
2936 (arg1)->Maximize(arg2);
2937
2938 wxPyEndAllowThreads(__tstate);
2939 if (PyErr_Occurred()) SWIG_fail;
2940 }
2941 Py_INCREF(Py_None); resultobj = Py_None;
2942 return resultobj;
2943 fail:
2944 return NULL;
2945 }
2946
2947
2948 static PyObject *_wrap_TopLevelWindow_Restore(PyObject *, PyObject *args, PyObject *kwargs) {
2949 PyObject *resultobj;
2950 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2951 PyObject * obj0 = 0 ;
2952 char *kwnames[] = {
2953 (char *) "self", NULL
2954 };
2955
2956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",kwnames,&obj0)) goto fail;
2957 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2958 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2959 {
2960 PyThreadState* __tstate = wxPyBeginAllowThreads();
2961 (arg1)->Restore();
2962
2963 wxPyEndAllowThreads(__tstate);
2964 if (PyErr_Occurred()) SWIG_fail;
2965 }
2966 Py_INCREF(Py_None); resultobj = Py_None;
2967 return resultobj;
2968 fail:
2969 return NULL;
2970 }
2971
2972
2973 static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *, PyObject *args, PyObject *kwargs) {
2974 PyObject *resultobj;
2975 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2976 bool arg2 = (bool) true ;
2977 PyObject * obj0 = 0 ;
2978 PyObject * obj1 = 0 ;
2979 char *kwnames[] = {
2980 (char *) "self",(char *) "iconize", NULL
2981 };
2982
2983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail;
2984 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2985 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2986 if (obj1) {
2987 arg2 = (bool)SWIG_As_bool(obj1);
2988 if (PyErr_Occurred()) SWIG_fail;
2989 }
2990 {
2991 PyThreadState* __tstate = wxPyBeginAllowThreads();
2992 (arg1)->Iconize(arg2);
2993
2994 wxPyEndAllowThreads(__tstate);
2995 if (PyErr_Occurred()) SWIG_fail;
2996 }
2997 Py_INCREF(Py_None); resultobj = Py_None;
2998 return resultobj;
2999 fail:
3000 return NULL;
3001 }
3002
3003
3004 static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *, PyObject *args, PyObject *kwargs) {
3005 PyObject *resultobj;
3006 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3007 bool result;
3008 PyObject * obj0 = 0 ;
3009 char *kwnames[] = {
3010 (char *) "self", NULL
3011 };
3012
3013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail;
3014 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3015 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3016 {
3017 PyThreadState* __tstate = wxPyBeginAllowThreads();
3018 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
3019
3020 wxPyEndAllowThreads(__tstate);
3021 if (PyErr_Occurred()) SWIG_fail;
3022 }
3023 {
3024 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3025 }
3026 return resultobj;
3027 fail:
3028 return NULL;
3029 }
3030
3031
3032 static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *, PyObject *args, PyObject *kwargs) {
3033 PyObject *resultobj;
3034 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3035 bool result;
3036 PyObject * obj0 = 0 ;
3037 char *kwnames[] = {
3038 (char *) "self", NULL
3039 };
3040
3041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail;
3042 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3043 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3044 {
3045 PyThreadState* __tstate = wxPyBeginAllowThreads();
3046 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
3047
3048 wxPyEndAllowThreads(__tstate);
3049 if (PyErr_Occurred()) SWIG_fail;
3050 }
3051 {
3052 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3053 }
3054 return resultobj;
3055 fail:
3056 return NULL;
3057 }
3058
3059
3060 static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
3061 PyObject *resultobj;
3062 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3063 wxIcon result;
3064 PyObject * obj0 = 0 ;
3065 char *kwnames[] = {
3066 (char *) "self", NULL
3067 };
3068
3069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail;
3070 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3071 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3072 {
3073 PyThreadState* __tstate = wxPyBeginAllowThreads();
3074 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
3075
3076 wxPyEndAllowThreads(__tstate);
3077 if (PyErr_Occurred()) SWIG_fail;
3078 }
3079 {
3080 wxIcon * resultptr;
3081 resultptr = new wxIcon((wxIcon &) result);
3082 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1);
3083 }
3084 return resultobj;
3085 fail:
3086 return NULL;
3087 }
3088
3089
3090 static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
3091 PyObject *resultobj;
3092 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3093 wxIcon *arg2 = 0 ;
3094 PyObject * obj0 = 0 ;
3095 PyObject * obj1 = 0 ;
3096 char *kwnames[] = {
3097 (char *) "self",(char *) "icon", NULL
3098 };
3099
3100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail;
3101 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3102 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3103 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
3104 SWIG_POINTER_EXCEPTION | 0)) == -1)
3105 SWIG_fail;
3106 if (arg2 == NULL) {
3107 PyErr_SetString(PyExc_TypeError,"null reference");
3108 SWIG_fail;
3109 }
3110 {
3111 PyThreadState* __tstate = wxPyBeginAllowThreads();
3112 (arg1)->SetIcon((wxIcon const &)*arg2);
3113
3114 wxPyEndAllowThreads(__tstate);
3115 if (PyErr_Occurred()) SWIG_fail;
3116 }
3117 Py_INCREF(Py_None); resultobj = Py_None;
3118 return resultobj;
3119 fail:
3120 return NULL;
3121 }
3122
3123
3124 static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *, PyObject *args, PyObject *kwargs) {
3125 PyObject *resultobj;
3126 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3127 wxIconBundle *arg2 = 0 ;
3128 PyObject * obj0 = 0 ;
3129 PyObject * obj1 = 0 ;
3130 char *kwnames[] = {
3131 (char *) "self",(char *) "icons", NULL
3132 };
3133
3134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail;
3135 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3136 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3137 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIconBundle,
3138 SWIG_POINTER_EXCEPTION | 0)) == -1)
3139 SWIG_fail;
3140 if (arg2 == NULL) {
3141 PyErr_SetString(PyExc_TypeError,"null reference");
3142 SWIG_fail;
3143 }
3144 {
3145 PyThreadState* __tstate = wxPyBeginAllowThreads();
3146 (arg1)->SetIcons((wxIconBundle const &)*arg2);
3147
3148 wxPyEndAllowThreads(__tstate);
3149 if (PyErr_Occurred()) SWIG_fail;
3150 }
3151 Py_INCREF(Py_None); resultobj = Py_None;
3152 return resultobj;
3153 fail:
3154 return NULL;
3155 }
3156
3157
3158 static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *, PyObject *args, PyObject *kwargs) {
3159 PyObject *resultobj;
3160 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3161 bool arg2 ;
3162 long arg3 = (long) wxFULLSCREEN_ALL ;
3163 bool result;
3164 PyObject * obj0 = 0 ;
3165 PyObject * obj1 = 0 ;
3166 PyObject * obj2 = 0 ;
3167 char *kwnames[] = {
3168 (char *) "self",(char *) "show",(char *) "style", NULL
3169 };
3170
3171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
3172 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3173 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3174 arg2 = (bool)SWIG_As_bool(obj1);
3175 if (PyErr_Occurred()) SWIG_fail;
3176 if (obj2) {
3177 arg3 = (long)SWIG_As_long(obj2);
3178 if (PyErr_Occurred()) SWIG_fail;
3179 }
3180 {
3181 PyThreadState* __tstate = wxPyBeginAllowThreads();
3182 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
3183
3184 wxPyEndAllowThreads(__tstate);
3185 if (PyErr_Occurred()) SWIG_fail;
3186 }
3187 {
3188 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3189 }
3190 return resultobj;
3191 fail:
3192 return NULL;
3193 }
3194
3195
3196 static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *, PyObject *args, PyObject *kwargs) {
3197 PyObject *resultobj;
3198 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3199 bool result;
3200 PyObject * obj0 = 0 ;
3201 char *kwnames[] = {
3202 (char *) "self", NULL
3203 };
3204
3205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail;
3206 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3207 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3208 {
3209 PyThreadState* __tstate = wxPyBeginAllowThreads();
3210 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
3211
3212 wxPyEndAllowThreads(__tstate);
3213 if (PyErr_Occurred()) SWIG_fail;
3214 }
3215 {
3216 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3217 }
3218 return resultobj;
3219 fail:
3220 return NULL;
3221 }
3222
3223
3224 static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
3225 PyObject *resultobj;
3226 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3227 wxString *arg2 = 0 ;
3228 bool temp2 = false ;
3229 PyObject * obj0 = 0 ;
3230 PyObject * obj1 = 0 ;
3231 char *kwnames[] = {
3232 (char *) "self",(char *) "title", NULL
3233 };
3234
3235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail;
3236 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3237 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3238 {
3239 arg2 = wxString_in_helper(obj1);
3240 if (arg2 == NULL) SWIG_fail;
3241 temp2 = true;
3242 }
3243 {
3244 PyThreadState* __tstate = wxPyBeginAllowThreads();
3245 (arg1)->SetTitle((wxString const &)*arg2);
3246
3247 wxPyEndAllowThreads(__tstate);
3248 if (PyErr_Occurred()) SWIG_fail;
3249 }
3250 Py_INCREF(Py_None); resultobj = Py_None;
3251 {
3252 if (temp2)
3253 delete arg2;
3254 }
3255 return resultobj;
3256 fail:
3257 {
3258 if (temp2)
3259 delete arg2;
3260 }
3261 return NULL;
3262 }
3263
3264
3265 static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
3266 PyObject *resultobj;
3267 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3268 wxString result;
3269 PyObject * obj0 = 0 ;
3270 char *kwnames[] = {
3271 (char *) "self", NULL
3272 };
3273
3274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail;
3275 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3276 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3277 {
3278 PyThreadState* __tstate = wxPyBeginAllowThreads();
3279 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
3280
3281 wxPyEndAllowThreads(__tstate);
3282 if (PyErr_Occurred()) SWIG_fail;
3283 }
3284 {
3285 #if wxUSE_UNICODE
3286 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3287 #else
3288 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3289 #endif
3290 }
3291 return resultobj;
3292 fail:
3293 return NULL;
3294 }
3295
3296
3297 static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *, PyObject *args, PyObject *kwargs) {
3298 PyObject *resultobj;
3299 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3300 wxRegion *arg2 = 0 ;
3301 bool result;
3302 PyObject * obj0 = 0 ;
3303 PyObject * obj1 = 0 ;
3304 char *kwnames[] = {
3305 (char *) "self",(char *) "region", NULL
3306 };
3307
3308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail;
3309 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3310 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3311 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRegion,
3312 SWIG_POINTER_EXCEPTION | 0)) == -1)
3313 SWIG_fail;
3314 if (arg2 == NULL) {
3315 PyErr_SetString(PyExc_TypeError,"null reference");
3316 SWIG_fail;
3317 }
3318 {
3319 PyThreadState* __tstate = wxPyBeginAllowThreads();
3320 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
3321
3322 wxPyEndAllowThreads(__tstate);
3323 if (PyErr_Occurred()) SWIG_fail;
3324 }
3325 {
3326 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3327 }
3328 return resultobj;
3329 fail:
3330 return NULL;
3331 }
3332
3333
3334 static PyObject *_wrap_TopLevelWindow_RequestUserAttention(PyObject *, PyObject *args, PyObject *kwargs) {
3335 PyObject *resultobj;
3336 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3337 int arg2 = (int) wxUSER_ATTENTION_INFO ;
3338 PyObject * obj0 = 0 ;
3339 PyObject * obj1 = 0 ;
3340 char *kwnames[] = {
3341 (char *) "self",(char *) "flags", NULL
3342 };
3343
3344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames,&obj0,&obj1)) goto fail;
3345 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3346 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3347 if (obj1) {
3348 arg2 = (int)SWIG_As_int(obj1);
3349 if (PyErr_Occurred()) SWIG_fail;
3350 }
3351 {
3352 PyThreadState* __tstate = wxPyBeginAllowThreads();
3353 (arg1)->RequestUserAttention(arg2);
3354
3355 wxPyEndAllowThreads(__tstate);
3356 if (PyErr_Occurred()) SWIG_fail;
3357 }
3358 Py_INCREF(Py_None); resultobj = Py_None;
3359 return resultobj;
3360 fail:
3361 return NULL;
3362 }
3363
3364
3365 static PyObject *_wrap_TopLevelWindow_IsActive(PyObject *, PyObject *args, PyObject *kwargs) {
3366 PyObject *resultobj;
3367 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3368 bool result;
3369 PyObject * obj0 = 0 ;
3370 char *kwnames[] = {
3371 (char *) "self", NULL
3372 };
3373
3374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsActive",kwnames,&obj0)) goto fail;
3375 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3376 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3377 {
3378 PyThreadState* __tstate = wxPyBeginAllowThreads();
3379 result = (bool)(arg1)->IsActive();
3380
3381 wxPyEndAllowThreads(__tstate);
3382 if (PyErr_Occurred()) SWIG_fail;
3383 }
3384 {
3385 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3386 }
3387 return resultobj;
3388 fail:
3389 return NULL;
3390 }
3391
3392
3393 static PyObject *_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject *, PyObject *args, PyObject *kwargs) {
3394 PyObject *resultobj;
3395 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3396 bool arg2 ;
3397 PyObject * obj0 = 0 ;
3398 PyObject * obj1 = 0 ;
3399 char *kwnames[] = {
3400 (char *) "self",(char *) "on", NULL
3401 };
3402
3403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames,&obj0,&obj1)) goto fail;
3404 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3405 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3406 arg2 = (bool)SWIG_As_bool(obj1);
3407 if (PyErr_Occurred()) SWIG_fail;
3408 {
3409 PyThreadState* __tstate = wxPyBeginAllowThreads();
3410 wxTopLevelWindow_MacSetMetalAppearance(arg1,arg2);
3411
3412 wxPyEndAllowThreads(__tstate);
3413 if (PyErr_Occurred()) SWIG_fail;
3414 }
3415 Py_INCREF(Py_None); resultobj = Py_None;
3416 return resultobj;
3417 fail:
3418 return NULL;
3419 }
3420
3421
3422 static PyObject *_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject *, PyObject *args, PyObject *kwargs) {
3423 PyObject *resultobj;
3424 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3425 bool result;
3426 PyObject * obj0 = 0 ;
3427 char *kwnames[] = {
3428 (char *) "self", NULL
3429 };
3430
3431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_MacGetMetalAppearance",kwnames,&obj0)) goto fail;
3432 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3433 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3434 {
3435 PyThreadState* __tstate = wxPyBeginAllowThreads();
3436 result = (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow const *)arg1);
3437
3438 wxPyEndAllowThreads(__tstate);
3439 if (PyErr_Occurred()) SWIG_fail;
3440 }
3441 {
3442 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3443 }
3444 return resultobj;
3445 fail:
3446 return NULL;
3447 }
3448
3449
3450 static PyObject * TopLevelWindow_swigregister(PyObject *, PyObject *args) {
3451 PyObject *obj;
3452 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3453 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj);
3454 Py_INCREF(obj);
3455 return Py_BuildValue((char *)"");
3456 }
3457 static PyObject *_wrap_new_Frame(PyObject *, PyObject *args, PyObject *kwargs) {
3458 PyObject *resultobj;
3459 wxWindow *arg1 = (wxWindow *) 0 ;
3460 int arg2 = (int) (int)-1 ;
3461 wxString const &arg3_defvalue = wxPyEmptyString ;
3462 wxString *arg3 = (wxString *) &arg3_defvalue ;
3463 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3464 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3465 wxSize const &arg5_defvalue = wxDefaultSize ;
3466 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3467 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
3468 wxString const &arg7_defvalue = wxPyFrameNameStr ;
3469 wxString *arg7 = (wxString *) &arg7_defvalue ;
3470 wxFrame *result;
3471 bool temp3 = false ;
3472 wxPoint temp4 ;
3473 wxSize temp5 ;
3474 bool temp7 = false ;
3475 PyObject * obj0 = 0 ;
3476 PyObject * obj1 = 0 ;
3477 PyObject * obj2 = 0 ;
3478 PyObject * obj3 = 0 ;
3479 PyObject * obj4 = 0 ;
3480 PyObject * obj5 = 0 ;
3481 PyObject * obj6 = 0 ;
3482 char *kwnames[] = {
3483 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3484 };
3485
3486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
3487 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
3488 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3489 if (obj1) {
3490 arg2 = (int)SWIG_As_int(obj1);
3491 if (PyErr_Occurred()) SWIG_fail;
3492 }
3493 if (obj2) {
3494 {
3495 arg3 = wxString_in_helper(obj2);
3496 if (arg3 == NULL) SWIG_fail;
3497 temp3 = true;
3498 }
3499 }
3500 if (obj3) {
3501 {
3502 arg4 = &temp4;
3503 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3504 }
3505 }
3506 if (obj4) {
3507 {
3508 arg5 = &temp5;
3509 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3510 }
3511 }
3512 if (obj5) {
3513 arg6 = (long)SWIG_As_long(obj5);
3514 if (PyErr_Occurred()) SWIG_fail;
3515 }
3516 if (obj6) {
3517 {
3518 arg7 = wxString_in_helper(obj6);
3519 if (arg7 == NULL) SWIG_fail;
3520 temp7 = true;
3521 }
3522 }
3523 {
3524 if (!wxPyCheckForApp()) SWIG_fail;
3525 PyThreadState* __tstate = wxPyBeginAllowThreads();
3526 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3527
3528 wxPyEndAllowThreads(__tstate);
3529 if (PyErr_Occurred()) SWIG_fail;
3530 }
3531 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFrame, 1);
3532 {
3533 if (temp3)
3534 delete arg3;
3535 }
3536 {
3537 if (temp7)
3538 delete arg7;
3539 }
3540 return resultobj;
3541 fail:
3542 {
3543 if (temp3)
3544 delete arg3;
3545 }
3546 {
3547 if (temp7)
3548 delete arg7;
3549 }
3550 return NULL;
3551 }
3552
3553
3554 static PyObject *_wrap_new_PreFrame(PyObject *, PyObject *args, PyObject *kwargs) {
3555 PyObject *resultobj;
3556 wxFrame *result;
3557 char *kwnames[] = {
3558 NULL
3559 };
3560
3561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail;
3562 {
3563 if (!wxPyCheckForApp()) SWIG_fail;
3564 PyThreadState* __tstate = wxPyBeginAllowThreads();
3565 result = (wxFrame *)new wxFrame();
3566
3567 wxPyEndAllowThreads(__tstate);
3568 if (PyErr_Occurred()) SWIG_fail;
3569 }
3570 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFrame, 1);
3571 return resultobj;
3572 fail:
3573 return NULL;
3574 }
3575
3576
3577 static PyObject *_wrap_Frame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
3578 PyObject *resultobj;
3579 wxFrame *arg1 = (wxFrame *) 0 ;
3580 wxWindow *arg2 = (wxWindow *) 0 ;
3581 int arg3 = (int) (int)-1 ;
3582 wxString const &arg4_defvalue = wxPyEmptyString ;
3583 wxString *arg4 = (wxString *) &arg4_defvalue ;
3584 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3585 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3586 wxSize const &arg6_defvalue = wxDefaultSize ;
3587 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3588 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
3589 wxString const &arg8_defvalue = wxPyFrameNameStr ;
3590 wxString *arg8 = (wxString *) &arg8_defvalue ;
3591 bool result;
3592 bool temp4 = false ;
3593 wxPoint temp5 ;
3594 wxSize temp6 ;
3595 bool temp8 = false ;
3596 PyObject * obj0 = 0 ;
3597 PyObject * obj1 = 0 ;
3598 PyObject * obj2 = 0 ;
3599 PyObject * obj3 = 0 ;
3600 PyObject * obj4 = 0 ;
3601 PyObject * obj5 = 0 ;
3602 PyObject * obj6 = 0 ;
3603 PyObject * obj7 = 0 ;
3604 char *kwnames[] = {
3605 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3606 };
3607
3608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3609 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3610 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3611 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
3612 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3613 if (obj2) {
3614 arg3 = (int)SWIG_As_int(obj2);
3615 if (PyErr_Occurred()) SWIG_fail;
3616 }
3617 if (obj3) {
3618 {
3619 arg4 = wxString_in_helper(obj3);
3620 if (arg4 == NULL) SWIG_fail;
3621 temp4 = true;
3622 }
3623 }
3624 if (obj4) {
3625 {
3626 arg5 = &temp5;
3627 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3628 }
3629 }
3630 if (obj5) {
3631 {
3632 arg6 = &temp6;
3633 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3634 }
3635 }
3636 if (obj6) {
3637 arg7 = (long)SWIG_As_long(obj6);
3638 if (PyErr_Occurred()) SWIG_fail;
3639 }
3640 if (obj7) {
3641 {
3642 arg8 = wxString_in_helper(obj7);
3643 if (arg8 == NULL) SWIG_fail;
3644 temp8 = true;
3645 }
3646 }
3647 {
3648 PyThreadState* __tstate = wxPyBeginAllowThreads();
3649 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3650
3651 wxPyEndAllowThreads(__tstate);
3652 if (PyErr_Occurred()) SWIG_fail;
3653 }
3654 {
3655 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3656 }
3657 {
3658 if (temp4)
3659 delete arg4;
3660 }
3661 {
3662 if (temp8)
3663 delete arg8;
3664 }
3665 return resultobj;
3666 fail:
3667 {
3668 if (temp4)
3669 delete arg4;
3670 }
3671 {
3672 if (temp8)
3673 delete arg8;
3674 }
3675 return NULL;
3676 }
3677
3678
3679 static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *, PyObject *args, PyObject *kwargs) {
3680 PyObject *resultobj;
3681 wxFrame *arg1 = (wxFrame *) 0 ;
3682 wxPoint result;
3683 PyObject * obj0 = 0 ;
3684 char *kwnames[] = {
3685 (char *) "self", NULL
3686 };
3687
3688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
3689 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3690 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3691 {
3692 PyThreadState* __tstate = wxPyBeginAllowThreads();
3693 result = ((wxFrame const *)arg1)->GetClientAreaOrigin();
3694
3695 wxPyEndAllowThreads(__tstate);
3696 if (PyErr_Occurred()) SWIG_fail;
3697 }
3698 {
3699 wxPoint * resultptr;
3700 resultptr = new wxPoint((wxPoint &) result);
3701 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
3702 }
3703 return resultobj;
3704 fail:
3705 return NULL;
3706 }
3707
3708
3709 static PyObject *_wrap_Frame_SendSizeEvent(PyObject *, PyObject *args, PyObject *kwargs) {
3710 PyObject *resultobj;
3711 wxFrame *arg1 = (wxFrame *) 0 ;
3712 PyObject * obj0 = 0 ;
3713 char *kwnames[] = {
3714 (char *) "self", NULL
3715 };
3716
3717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail;
3718 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3719 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3720 {
3721 PyThreadState* __tstate = wxPyBeginAllowThreads();
3722 (arg1)->SendSizeEvent();
3723
3724 wxPyEndAllowThreads(__tstate);
3725 if (PyErr_Occurred()) SWIG_fail;
3726 }
3727 Py_INCREF(Py_None); resultobj = Py_None;
3728 return resultobj;
3729 fail:
3730 return NULL;
3731 }
3732
3733
3734 static PyObject *_wrap_Frame_SetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) {
3735 PyObject *resultobj;
3736 wxFrame *arg1 = (wxFrame *) 0 ;
3737 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
3738 PyObject * obj0 = 0 ;
3739 PyObject * obj1 = 0 ;
3740 char *kwnames[] = {
3741 (char *) "self",(char *) "menubar", NULL
3742 };
3743
3744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail;
3745 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3746 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3747 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuBar,
3748 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3749 {
3750 PyThreadState* __tstate = wxPyBeginAllowThreads();
3751 (arg1)->SetMenuBar(arg2);
3752
3753 wxPyEndAllowThreads(__tstate);
3754 if (PyErr_Occurred()) SWIG_fail;
3755 }
3756 Py_INCREF(Py_None); resultobj = Py_None;
3757 return resultobj;
3758 fail:
3759 return NULL;
3760 }
3761
3762
3763 static PyObject *_wrap_Frame_GetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) {
3764 PyObject *resultobj;
3765 wxFrame *arg1 = (wxFrame *) 0 ;
3766 wxMenuBar *result;
3767 PyObject * obj0 = 0 ;
3768 char *kwnames[] = {
3769 (char *) "self", NULL
3770 };
3771
3772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail;
3773 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3774 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3775 {
3776 PyThreadState* __tstate = wxPyBeginAllowThreads();
3777 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
3778
3779 wxPyEndAllowThreads(__tstate);
3780 if (PyErr_Occurred()) SWIG_fail;
3781 }
3782 {
3783 resultobj = wxPyMake_wxObject(result, 0);
3784 }
3785 return resultobj;
3786 fail:
3787 return NULL;
3788 }
3789
3790
3791 static PyObject *_wrap_Frame_ProcessCommand(PyObject *, PyObject *args, PyObject *kwargs) {
3792 PyObject *resultobj;
3793 wxFrame *arg1 = (wxFrame *) 0 ;
3794 int arg2 ;
3795 bool result;
3796 PyObject * obj0 = 0 ;
3797 PyObject * obj1 = 0 ;
3798 char *kwnames[] = {
3799 (char *) "self",(char *) "winid", NULL
3800 };
3801
3802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) goto fail;
3803 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3804 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3805 arg2 = (int)SWIG_As_int(obj1);
3806 if (PyErr_Occurred()) SWIG_fail;
3807 {
3808 PyThreadState* __tstate = wxPyBeginAllowThreads();
3809 result = (bool)(arg1)->ProcessCommand(arg2);
3810
3811 wxPyEndAllowThreads(__tstate);
3812 if (PyErr_Occurred()) SWIG_fail;
3813 }
3814 {
3815 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3816 }
3817 return resultobj;
3818 fail:
3819 return NULL;
3820 }
3821
3822
3823 static PyObject *_wrap_Frame_CreateStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
3824 PyObject *resultobj;
3825 wxFrame *arg1 = (wxFrame *) 0 ;
3826 int arg2 = (int) 1 ;
3827 long arg3 = (long) wxST_SIZEGRIP ;
3828 int arg4 = (int) 0 ;
3829 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
3830 wxString *arg5 = (wxString *) &arg5_defvalue ;
3831 wxStatusBar *result;
3832 bool temp5 = false ;
3833 PyObject * obj0 = 0 ;
3834 PyObject * obj1 = 0 ;
3835 PyObject * obj2 = 0 ;
3836 PyObject * obj3 = 0 ;
3837 PyObject * obj4 = 0 ;
3838 char *kwnames[] = {
3839 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3840 };
3841
3842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
3843 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3844 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3845 if (obj1) {
3846 arg2 = (int)SWIG_As_int(obj1);
3847 if (PyErr_Occurred()) SWIG_fail;
3848 }
3849 if (obj2) {
3850 arg3 = (long)SWIG_As_long(obj2);
3851 if (PyErr_Occurred()) SWIG_fail;
3852 }
3853 if (obj3) {
3854 arg4 = (int)SWIG_As_int(obj3);
3855 if (PyErr_Occurred()) SWIG_fail;
3856 }
3857 if (obj4) {
3858 {
3859 arg5 = wxString_in_helper(obj4);
3860 if (arg5 == NULL) SWIG_fail;
3861 temp5 = true;
3862 }
3863 }
3864 {
3865 PyThreadState* __tstate = wxPyBeginAllowThreads();
3866 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
3867
3868 wxPyEndAllowThreads(__tstate);
3869 if (PyErr_Occurred()) SWIG_fail;
3870 }
3871 {
3872 resultobj = wxPyMake_wxObject(result, 0);
3873 }
3874 {
3875 if (temp5)
3876 delete arg5;
3877 }
3878 return resultobj;
3879 fail:
3880 {
3881 if (temp5)
3882 delete arg5;
3883 }
3884 return NULL;
3885 }
3886
3887
3888 static PyObject *_wrap_Frame_GetStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
3889 PyObject *resultobj;
3890 wxFrame *arg1 = (wxFrame *) 0 ;
3891 wxStatusBar *result;
3892 PyObject * obj0 = 0 ;
3893 char *kwnames[] = {
3894 (char *) "self", NULL
3895 };
3896
3897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail;
3898 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3899 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3900 {
3901 PyThreadState* __tstate = wxPyBeginAllowThreads();
3902 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
3903
3904 wxPyEndAllowThreads(__tstate);
3905 if (PyErr_Occurred()) SWIG_fail;
3906 }
3907 {
3908 resultobj = wxPyMake_wxObject(result, 0);
3909 }
3910 return resultobj;
3911 fail:
3912 return NULL;
3913 }
3914
3915
3916 static PyObject *_wrap_Frame_SetStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
3917 PyObject *resultobj;
3918 wxFrame *arg1 = (wxFrame *) 0 ;
3919 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
3920 PyObject * obj0 = 0 ;
3921 PyObject * obj1 = 0 ;
3922 char *kwnames[] = {
3923 (char *) "self",(char *) "statBar", NULL
3924 };
3925
3926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail;
3927 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3928 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3929 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxStatusBar,
3930 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3931 {
3932 PyThreadState* __tstate = wxPyBeginAllowThreads();
3933 (arg1)->SetStatusBar(arg2);
3934
3935 wxPyEndAllowThreads(__tstate);
3936 if (PyErr_Occurred()) SWIG_fail;
3937 }
3938 Py_INCREF(Py_None); resultobj = Py_None;
3939 return resultobj;
3940 fail:
3941 return NULL;
3942 }
3943
3944
3945 static PyObject *_wrap_Frame_SetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
3946 PyObject *resultobj;
3947 wxFrame *arg1 = (wxFrame *) 0 ;
3948 wxString *arg2 = 0 ;
3949 int arg3 = (int) 0 ;
3950 bool temp2 = false ;
3951 PyObject * obj0 = 0 ;
3952 PyObject * obj1 = 0 ;
3953 PyObject * obj2 = 0 ;
3954 char *kwnames[] = {
3955 (char *) "self",(char *) "text",(char *) "number", NULL
3956 };
3957
3958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
3959 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3960 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3961 {
3962 arg2 = wxString_in_helper(obj1);
3963 if (arg2 == NULL) SWIG_fail;
3964 temp2 = true;
3965 }
3966 if (obj2) {
3967 arg3 = (int)SWIG_As_int(obj2);
3968 if (PyErr_Occurred()) SWIG_fail;
3969 }
3970 {
3971 PyThreadState* __tstate = wxPyBeginAllowThreads();
3972 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
3973
3974 wxPyEndAllowThreads(__tstate);
3975 if (PyErr_Occurred()) SWIG_fail;
3976 }
3977 Py_INCREF(Py_None); resultobj = Py_None;
3978 {
3979 if (temp2)
3980 delete arg2;
3981 }
3982 return resultobj;
3983 fail:
3984 {
3985 if (temp2)
3986 delete arg2;
3987 }
3988 return NULL;
3989 }
3990
3991
3992 static PyObject *_wrap_Frame_SetStatusWidths(PyObject *, PyObject *args, PyObject *kwargs) {
3993 PyObject *resultobj;
3994 wxFrame *arg1 = (wxFrame *) 0 ;
3995 int arg2 ;
3996 int *arg3 = (int *) 0 ;
3997 PyObject * obj0 = 0 ;
3998 PyObject * obj1 = 0 ;
3999 char *kwnames[] = {
4000 (char *) "self",(char *) "widths", NULL
4001 };
4002
4003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
4004 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4005 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4006 {
4007 arg2 = PyList_Size(obj1);
4008 arg3 = int_LIST_helper(obj1);
4009 if (arg3 == NULL) SWIG_fail;
4010 }
4011 {
4012 PyThreadState* __tstate = wxPyBeginAllowThreads();
4013 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
4014
4015 wxPyEndAllowThreads(__tstate);
4016 if (PyErr_Occurred()) SWIG_fail;
4017 }
4018 Py_INCREF(Py_None); resultobj = Py_None;
4019 {
4020 if (arg3) delete [] arg3;
4021 }
4022 return resultobj;
4023 fail:
4024 {
4025 if (arg3) delete [] arg3;
4026 }
4027 return NULL;
4028 }
4029
4030
4031 static PyObject *_wrap_Frame_PushStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
4032 PyObject *resultobj;
4033 wxFrame *arg1 = (wxFrame *) 0 ;
4034 wxString *arg2 = 0 ;
4035 int arg3 = (int) 0 ;
4036 bool temp2 = false ;
4037 PyObject * obj0 = 0 ;
4038 PyObject * obj1 = 0 ;
4039 PyObject * obj2 = 0 ;
4040 char *kwnames[] = {
4041 (char *) "self",(char *) "text",(char *) "number", NULL
4042 };
4043
4044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
4045 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4046 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4047 {
4048 arg2 = wxString_in_helper(obj1);
4049 if (arg2 == NULL) SWIG_fail;
4050 temp2 = true;
4051 }
4052 if (obj2) {
4053 arg3 = (int)SWIG_As_int(obj2);
4054 if (PyErr_Occurred()) SWIG_fail;
4055 }
4056 {
4057 PyThreadState* __tstate = wxPyBeginAllowThreads();
4058 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
4059
4060 wxPyEndAllowThreads(__tstate);
4061 if (PyErr_Occurred()) SWIG_fail;
4062 }
4063 Py_INCREF(Py_None); resultobj = Py_None;
4064 {
4065 if (temp2)
4066 delete arg2;
4067 }
4068 return resultobj;
4069 fail:
4070 {
4071 if (temp2)
4072 delete arg2;
4073 }
4074 return NULL;
4075 }
4076
4077
4078 static PyObject *_wrap_Frame_PopStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
4079 PyObject *resultobj;
4080 wxFrame *arg1 = (wxFrame *) 0 ;
4081 int arg2 = (int) 0 ;
4082 PyObject * obj0 = 0 ;
4083 PyObject * obj1 = 0 ;
4084 char *kwnames[] = {
4085 (char *) "self",(char *) "number", NULL
4086 };
4087
4088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
4089 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4090 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4091 if (obj1) {
4092 arg2 = (int)SWIG_As_int(obj1);
4093 if (PyErr_Occurred()) SWIG_fail;
4094 }
4095 {
4096 PyThreadState* __tstate = wxPyBeginAllowThreads();
4097 (arg1)->PopStatusText(arg2);
4098
4099 wxPyEndAllowThreads(__tstate);
4100 if (PyErr_Occurred()) SWIG_fail;
4101 }
4102 Py_INCREF(Py_None); resultobj = Py_None;
4103 return resultobj;
4104 fail:
4105 return NULL;
4106 }
4107
4108
4109 static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *, PyObject *args, PyObject *kwargs) {
4110 PyObject *resultobj;
4111 wxFrame *arg1 = (wxFrame *) 0 ;
4112 int arg2 ;
4113 PyObject * obj0 = 0 ;
4114 PyObject * obj1 = 0 ;
4115 char *kwnames[] = {
4116 (char *) "self",(char *) "n", NULL
4117 };
4118
4119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) goto fail;
4120 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4121 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4122 arg2 = (int)SWIG_As_int(obj1);
4123 if (PyErr_Occurred()) SWIG_fail;
4124 {
4125 PyThreadState* __tstate = wxPyBeginAllowThreads();
4126 (arg1)->SetStatusBarPane(arg2);
4127
4128 wxPyEndAllowThreads(__tstate);
4129 if (PyErr_Occurred()) SWIG_fail;
4130 }
4131 Py_INCREF(Py_None); resultobj = Py_None;
4132 return resultobj;
4133 fail:
4134 return NULL;
4135 }
4136
4137
4138 static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *, PyObject *args, PyObject *kwargs) {
4139 PyObject *resultobj;
4140 wxFrame *arg1 = (wxFrame *) 0 ;
4141 int result;
4142 PyObject * obj0 = 0 ;
4143 char *kwnames[] = {
4144 (char *) "self", NULL
4145 };
4146
4147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail;
4148 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4149 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4150 {
4151 PyThreadState* __tstate = wxPyBeginAllowThreads();
4152 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
4153
4154 wxPyEndAllowThreads(__tstate);
4155 if (PyErr_Occurred()) SWIG_fail;
4156 }
4157 resultobj = SWIG_From_int((int)result);
4158 return resultobj;
4159 fail:
4160 return NULL;
4161 }
4162
4163
4164 static PyObject *_wrap_Frame_CreateToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
4165 PyObject *resultobj;
4166 wxFrame *arg1 = (wxFrame *) 0 ;
4167 long arg2 = (long) -1 ;
4168 int arg3 = (int) -1 ;
4169 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
4170 wxString *arg4 = (wxString *) &arg4_defvalue ;
4171 wxToolBar *result;
4172 bool temp4 = false ;
4173 PyObject * obj0 = 0 ;
4174 PyObject * obj1 = 0 ;
4175 PyObject * obj2 = 0 ;
4176 PyObject * obj3 = 0 ;
4177 char *kwnames[] = {
4178 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
4179 };
4180
4181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
4182 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4183 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4184 if (obj1) {
4185 arg2 = (long)SWIG_As_long(obj1);
4186 if (PyErr_Occurred()) SWIG_fail;
4187 }
4188 if (obj2) {
4189 arg3 = (int)SWIG_As_int(obj2);
4190 if (PyErr_Occurred()) SWIG_fail;
4191 }
4192 if (obj3) {
4193 {
4194 arg4 = wxString_in_helper(obj3);
4195 if (arg4 == NULL) SWIG_fail;
4196 temp4 = true;
4197 }
4198 }
4199 {
4200 PyThreadState* __tstate = wxPyBeginAllowThreads();
4201 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
4202
4203 wxPyEndAllowThreads(__tstate);
4204 if (PyErr_Occurred()) SWIG_fail;
4205 }
4206 {
4207 resultobj = wxPyMake_wxObject(result, 0);
4208 }
4209 {
4210 if (temp4)
4211 delete arg4;
4212 }
4213 return resultobj;
4214 fail:
4215 {
4216 if (temp4)
4217 delete arg4;
4218 }
4219 return NULL;
4220 }
4221
4222
4223 static PyObject *_wrap_Frame_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
4224 PyObject *resultobj;
4225 wxFrame *arg1 = (wxFrame *) 0 ;
4226 wxToolBar *result;
4227 PyObject * obj0 = 0 ;
4228 char *kwnames[] = {
4229 (char *) "self", NULL
4230 };
4231
4232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail;
4233 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4234 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4235 {
4236 PyThreadState* __tstate = wxPyBeginAllowThreads();
4237 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
4238
4239 wxPyEndAllowThreads(__tstate);
4240 if (PyErr_Occurred()) SWIG_fail;
4241 }
4242 {
4243 resultobj = wxPyMake_wxObject(result, 0);
4244 }
4245 return resultobj;
4246 fail:
4247 return NULL;
4248 }
4249
4250
4251 static PyObject *_wrap_Frame_SetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
4252 PyObject *resultobj;
4253 wxFrame *arg1 = (wxFrame *) 0 ;
4254 wxToolBar *arg2 = (wxToolBar *) 0 ;
4255 PyObject * obj0 = 0 ;
4256 PyObject * obj1 = 0 ;
4257 char *kwnames[] = {
4258 (char *) "self",(char *) "toolbar", NULL
4259 };
4260
4261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
4262 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4263 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4264 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBar,
4265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4266 {
4267 PyThreadState* __tstate = wxPyBeginAllowThreads();
4268 (arg1)->SetToolBar(arg2);
4269
4270 wxPyEndAllowThreads(__tstate);
4271 if (PyErr_Occurred()) SWIG_fail;
4272 }
4273 Py_INCREF(Py_None); resultobj = Py_None;
4274 return resultobj;
4275 fail:
4276 return NULL;
4277 }
4278
4279
4280 static PyObject *_wrap_Frame_DoGiveHelp(PyObject *, PyObject *args, PyObject *kwargs) {
4281 PyObject *resultobj;
4282 wxFrame *arg1 = (wxFrame *) 0 ;
4283 wxString *arg2 = 0 ;
4284 bool arg3 ;
4285 bool temp2 = false ;
4286 PyObject * obj0 = 0 ;
4287 PyObject * obj1 = 0 ;
4288 PyObject * obj2 = 0 ;
4289 char *kwnames[] = {
4290 (char *) "self",(char *) "text",(char *) "show", NULL
4291 };
4292
4293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
4294 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4295 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4296 {
4297 arg2 = wxString_in_helper(obj1);
4298 if (arg2 == NULL) SWIG_fail;
4299 temp2 = true;
4300 }
4301 arg3 = (bool)SWIG_As_bool(obj2);
4302 if (PyErr_Occurred()) SWIG_fail;
4303 {
4304 PyThreadState* __tstate = wxPyBeginAllowThreads();
4305 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
4306
4307 wxPyEndAllowThreads(__tstate);
4308 if (PyErr_Occurred()) SWIG_fail;
4309 }
4310 Py_INCREF(Py_None); resultobj = Py_None;
4311 {
4312 if (temp2)
4313 delete arg2;
4314 }
4315 return resultobj;
4316 fail:
4317 {
4318 if (temp2)
4319 delete arg2;
4320 }
4321 return NULL;
4322 }
4323
4324
4325 static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *, PyObject *args, PyObject *kwargs) {
4326 PyObject *resultobj;
4327 wxFrame *arg1 = (wxFrame *) 0 ;
4328 wxMenu *arg2 = (wxMenu *) NULL ;
4329 PyObject * obj0 = 0 ;
4330 PyObject * obj1 = 0 ;
4331 char *kwnames[] = {
4332 (char *) "self",(char *) "menu", NULL
4333 };
4334
4335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail;
4336 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4337 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4338 if (obj1) {
4339 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
4340 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4341 }
4342 {
4343 PyThreadState* __tstate = wxPyBeginAllowThreads();
4344 (arg1)->DoMenuUpdates(arg2);
4345
4346 wxPyEndAllowThreads(__tstate);
4347 if (PyErr_Occurred()) SWIG_fail;
4348 }
4349 Py_INCREF(Py_None); resultobj = Py_None;
4350 return resultobj;
4351 fail:
4352 return NULL;
4353 }
4354
4355
4356 static PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
4357 PyObject *resultobj;
4358 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
4359 wxVisualAttributes result;
4360 PyObject * obj0 = 0 ;
4361 char *kwnames[] = {
4362 (char *) "variant", NULL
4363 };
4364
4365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4366 if (obj0) {
4367 arg1 = (int)SWIG_As_int(obj0);
4368 if (PyErr_Occurred()) SWIG_fail;
4369 }
4370 {
4371 if (!wxPyCheckForApp()) SWIG_fail;
4372 PyThreadState* __tstate = wxPyBeginAllowThreads();
4373 result = wxFrame::GetClassDefaultAttributes((wxWindowVariant )arg1);
4374
4375 wxPyEndAllowThreads(__tstate);
4376 if (PyErr_Occurred()) SWIG_fail;
4377 }
4378 {
4379 wxVisualAttributes * resultptr;
4380 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
4381 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4382 }
4383 return resultobj;
4384 fail:
4385 return NULL;
4386 }
4387
4388
4389 static PyObject * Frame_swigregister(PyObject *, PyObject *args) {
4390 PyObject *obj;
4391 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4392 SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj);
4393 Py_INCREF(obj);
4394 return Py_BuildValue((char *)"");
4395 }
4396 static PyObject *_wrap_new_Dialog(PyObject *, PyObject *args, PyObject *kwargs) {
4397 PyObject *resultobj;
4398 wxWindow *arg1 = (wxWindow *) 0 ;
4399 int arg2 = (int) (int)-1 ;
4400 wxString const &arg3_defvalue = wxPyEmptyString ;
4401 wxString *arg3 = (wxString *) &arg3_defvalue ;
4402 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4403 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4404 wxSize const &arg5_defvalue = wxDefaultSize ;
4405 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4406 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
4407 wxString const &arg7_defvalue = wxPyDialogNameStr ;
4408 wxString *arg7 = (wxString *) &arg7_defvalue ;
4409 wxDialog *result;
4410 bool temp3 = false ;
4411 wxPoint temp4 ;
4412 wxSize temp5 ;
4413 bool temp7 = false ;
4414 PyObject * obj0 = 0 ;
4415 PyObject * obj1 = 0 ;
4416 PyObject * obj2 = 0 ;
4417 PyObject * obj3 = 0 ;
4418 PyObject * obj4 = 0 ;
4419 PyObject * obj5 = 0 ;
4420 PyObject * obj6 = 0 ;
4421 char *kwnames[] = {
4422 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4423 };
4424
4425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4426 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4427 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4428 if (obj1) {
4429 arg2 = (int)SWIG_As_int(obj1);
4430 if (PyErr_Occurred()) SWIG_fail;
4431 }
4432 if (obj2) {
4433 {
4434 arg3 = wxString_in_helper(obj2);
4435 if (arg3 == NULL) SWIG_fail;
4436 temp3 = true;
4437 }
4438 }
4439 if (obj3) {
4440 {
4441 arg4 = &temp4;
4442 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4443 }
4444 }
4445 if (obj4) {
4446 {
4447 arg5 = &temp5;
4448 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4449 }
4450 }
4451 if (obj5) {
4452 arg6 = (long)SWIG_As_long(obj5);
4453 if (PyErr_Occurred()) SWIG_fail;
4454 }
4455 if (obj6) {
4456 {
4457 arg7 = wxString_in_helper(obj6);
4458 if (arg7 == NULL) SWIG_fail;
4459 temp7 = true;
4460 }
4461 }
4462 {
4463 if (!wxPyCheckForApp()) SWIG_fail;
4464 PyThreadState* __tstate = wxPyBeginAllowThreads();
4465 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4466
4467 wxPyEndAllowThreads(__tstate);
4468 if (PyErr_Occurred()) SWIG_fail;
4469 }
4470 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
4471 {
4472 if (temp3)
4473 delete arg3;
4474 }
4475 {
4476 if (temp7)
4477 delete arg7;
4478 }
4479 return resultobj;
4480 fail:
4481 {
4482 if (temp3)
4483 delete arg3;
4484 }
4485 {
4486 if (temp7)
4487 delete arg7;
4488 }
4489 return NULL;
4490 }
4491
4492
4493 static PyObject *_wrap_new_PreDialog(PyObject *, PyObject *args, PyObject *kwargs) {
4494 PyObject *resultobj;
4495 wxDialog *result;
4496 char *kwnames[] = {
4497 NULL
4498 };
4499
4500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail;
4501 {
4502 if (!wxPyCheckForApp()) SWIG_fail;
4503 PyThreadState* __tstate = wxPyBeginAllowThreads();
4504 result = (wxDialog *)new wxDialog();
4505
4506 wxPyEndAllowThreads(__tstate);
4507 if (PyErr_Occurred()) SWIG_fail;
4508 }
4509 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
4510 return resultobj;
4511 fail:
4512 return NULL;
4513 }
4514
4515
4516 static PyObject *_wrap_Dialog_Create(PyObject *, PyObject *args, PyObject *kwargs) {
4517 PyObject *resultobj;
4518 wxDialog *arg1 = (wxDialog *) 0 ;
4519 wxWindow *arg2 = (wxWindow *) 0 ;
4520 int arg3 = (int) (int)-1 ;
4521 wxString const &arg4_defvalue = wxPyEmptyString ;
4522 wxString *arg4 = (wxString *) &arg4_defvalue ;
4523 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4524 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4525 wxSize const &arg6_defvalue = wxDefaultSize ;
4526 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4527 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
4528 wxString const &arg8_defvalue = wxPyDialogNameStr ;
4529 wxString *arg8 = (wxString *) &arg8_defvalue ;
4530 bool result;
4531 bool temp4 = false ;
4532 wxPoint temp5 ;
4533 wxSize temp6 ;
4534 bool temp8 = false ;
4535 PyObject * obj0 = 0 ;
4536 PyObject * obj1 = 0 ;
4537 PyObject * obj2 = 0 ;
4538 PyObject * obj3 = 0 ;
4539 PyObject * obj4 = 0 ;
4540 PyObject * obj5 = 0 ;
4541 PyObject * obj6 = 0 ;
4542 PyObject * obj7 = 0 ;
4543 char *kwnames[] = {
4544 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4545 };
4546
4547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4548 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4549 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4550 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4551 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4552 if (obj2) {
4553 arg3 = (int)SWIG_As_int(obj2);
4554 if (PyErr_Occurred()) SWIG_fail;
4555 }
4556 if (obj3) {
4557 {
4558 arg4 = wxString_in_helper(obj3);
4559 if (arg4 == NULL) SWIG_fail;
4560 temp4 = true;
4561 }
4562 }
4563 if (obj4) {
4564 {
4565 arg5 = &temp5;
4566 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4567 }
4568 }
4569 if (obj5) {
4570 {
4571 arg6 = &temp6;
4572 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4573 }
4574 }
4575 if (obj6) {
4576 arg7 = (long)SWIG_As_long(obj6);
4577 if (PyErr_Occurred()) SWIG_fail;
4578 }
4579 if (obj7) {
4580 {
4581 arg8 = wxString_in_helper(obj7);
4582 if (arg8 == NULL) SWIG_fail;
4583 temp8 = true;
4584 }
4585 }
4586 {
4587 PyThreadState* __tstate = wxPyBeginAllowThreads();
4588 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4589
4590 wxPyEndAllowThreads(__tstate);
4591 if (PyErr_Occurred()) SWIG_fail;
4592 }
4593 {
4594 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4595 }
4596 {
4597 if (temp4)
4598 delete arg4;
4599 }
4600 {
4601 if (temp8)
4602 delete arg8;
4603 }
4604 return resultobj;
4605 fail:
4606 {
4607 if (temp4)
4608 delete arg4;
4609 }
4610 {
4611 if (temp8)
4612 delete arg8;
4613 }
4614 return NULL;
4615 }
4616
4617
4618 static PyObject *_wrap_Dialog_SetReturnCode(PyObject *, PyObject *args, PyObject *kwargs) {
4619 PyObject *resultobj;
4620 wxDialog *arg1 = (wxDialog *) 0 ;
4621 int arg2 ;
4622 PyObject * obj0 = 0 ;
4623 PyObject * obj1 = 0 ;
4624 char *kwnames[] = {
4625 (char *) "self",(char *) "returnCode", NULL
4626 };
4627
4628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) goto fail;
4629 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4630 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4631 arg2 = (int)SWIG_As_int(obj1);
4632 if (PyErr_Occurred()) SWIG_fail;
4633 {
4634 PyThreadState* __tstate = wxPyBeginAllowThreads();
4635 (arg1)->SetReturnCode(arg2);
4636
4637 wxPyEndAllowThreads(__tstate);
4638 if (PyErr_Occurred()) SWIG_fail;
4639 }
4640 Py_INCREF(Py_None); resultobj = Py_None;
4641 return resultobj;
4642 fail:
4643 return NULL;
4644 }
4645
4646
4647 static PyObject *_wrap_Dialog_GetReturnCode(PyObject *, PyObject *args, PyObject *kwargs) {
4648 PyObject *resultobj;
4649 wxDialog *arg1 = (wxDialog *) 0 ;
4650 int result;
4651 PyObject * obj0 = 0 ;
4652 char *kwnames[] = {
4653 (char *) "self", NULL
4654 };
4655
4656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail;
4657 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4658 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4659 {
4660 PyThreadState* __tstate = wxPyBeginAllowThreads();
4661 result = (int)((wxDialog const *)arg1)->GetReturnCode();
4662
4663 wxPyEndAllowThreads(__tstate);
4664 if (PyErr_Occurred()) SWIG_fail;
4665 }
4666 resultobj = SWIG_From_int((int)result);
4667 return resultobj;
4668 fail:
4669 return NULL;
4670 }
4671
4672
4673 static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *, PyObject *args, PyObject *kwargs) {
4674 PyObject *resultobj;
4675 wxDialog *arg1 = (wxDialog *) 0 ;
4676 wxString *arg2 = 0 ;
4677 wxSizer *result;
4678 bool temp2 = false ;
4679 PyObject * obj0 = 0 ;
4680 PyObject * obj1 = 0 ;
4681 char *kwnames[] = {
4682 (char *) "self",(char *) "message", NULL
4683 };
4684
4685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail;
4686 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4687 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4688 {
4689 arg2 = wxString_in_helper(obj1);
4690 if (arg2 == NULL) SWIG_fail;
4691 temp2 = true;
4692 }
4693 {
4694 PyThreadState* __tstate = wxPyBeginAllowThreads();
4695 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
4696
4697 wxPyEndAllowThreads(__tstate);
4698 if (PyErr_Occurred()) SWIG_fail;
4699 }
4700 {
4701 resultobj = wxPyMake_wxSizer(result, 0);
4702 }
4703 {
4704 if (temp2)
4705 delete arg2;
4706 }
4707 return resultobj;
4708 fail:
4709 {
4710 if (temp2)
4711 delete arg2;
4712 }
4713 return NULL;
4714 }
4715
4716
4717 static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *, PyObject *args, PyObject *kwargs) {
4718 PyObject *resultobj;
4719 wxDialog *arg1 = (wxDialog *) 0 ;
4720 long arg2 ;
4721 wxSizer *result;
4722 PyObject * obj0 = 0 ;
4723 PyObject * obj1 = 0 ;
4724 char *kwnames[] = {
4725 (char *) "self",(char *) "flags", NULL
4726 };
4727
4728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1)) goto fail;
4729 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4730 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4731 arg2 = (long)SWIG_As_long(obj1);
4732 if (PyErr_Occurred()) SWIG_fail;
4733 {
4734 PyThreadState* __tstate = wxPyBeginAllowThreads();
4735 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
4736
4737 wxPyEndAllowThreads(__tstate);
4738 if (PyErr_Occurred()) SWIG_fail;
4739 }
4740 {
4741 resultobj = wxPyMake_wxSizer(result, 0);
4742 }
4743 return resultobj;
4744 fail:
4745 return NULL;
4746 }
4747
4748
4749 static PyObject *_wrap_Dialog_IsModal(PyObject *, PyObject *args, PyObject *kwargs) {
4750 PyObject *resultobj;
4751 wxDialog *arg1 = (wxDialog *) 0 ;
4752 bool result;
4753 PyObject * obj0 = 0 ;
4754 char *kwnames[] = {
4755 (char *) "self", NULL
4756 };
4757
4758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail;
4759 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4760 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4761 {
4762 PyThreadState* __tstate = wxPyBeginAllowThreads();
4763 result = (bool)((wxDialog const *)arg1)->IsModal();
4764
4765 wxPyEndAllowThreads(__tstate);
4766 if (PyErr_Occurred()) SWIG_fail;
4767 }
4768 {
4769 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4770 }
4771 return resultobj;
4772 fail:
4773 return NULL;
4774 }
4775
4776
4777 static PyObject *_wrap_Dialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
4778 PyObject *resultobj;
4779 wxDialog *arg1 = (wxDialog *) 0 ;
4780 int result;
4781 PyObject * obj0 = 0 ;
4782 char *kwnames[] = {
4783 (char *) "self", NULL
4784 };
4785
4786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail;
4787 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4788 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4789 {
4790 PyThreadState* __tstate = wxPyBeginAllowThreads();
4791 result = (int)(arg1)->ShowModal();
4792
4793 wxPyEndAllowThreads(__tstate);
4794 if (PyErr_Occurred()) SWIG_fail;
4795 }
4796 resultobj = SWIG_From_int((int)result);
4797 return resultobj;
4798 fail:
4799 return NULL;
4800 }
4801
4802
4803 static PyObject *_wrap_Dialog_EndModal(PyObject *, PyObject *args, PyObject *kwargs) {
4804 PyObject *resultobj;
4805 wxDialog *arg1 = (wxDialog *) 0 ;
4806 int arg2 ;
4807 PyObject * obj0 = 0 ;
4808 PyObject * obj1 = 0 ;
4809 char *kwnames[] = {
4810 (char *) "self",(char *) "retCode", NULL
4811 };
4812
4813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) goto fail;
4814 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4816 arg2 = (int)SWIG_As_int(obj1);
4817 if (PyErr_Occurred()) SWIG_fail;
4818 {
4819 PyThreadState* __tstate = wxPyBeginAllowThreads();
4820 (arg1)->EndModal(arg2);
4821
4822 wxPyEndAllowThreads(__tstate);
4823 if (PyErr_Occurred()) SWIG_fail;
4824 }
4825 Py_INCREF(Py_None); resultobj = Py_None;
4826 return resultobj;
4827 fail:
4828 return NULL;
4829 }
4830
4831
4832 static PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
4833 PyObject *resultobj;
4834 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
4835 wxVisualAttributes result;
4836 PyObject * obj0 = 0 ;
4837 char *kwnames[] = {
4838 (char *) "variant", NULL
4839 };
4840
4841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4842 if (obj0) {
4843 arg1 = (int)SWIG_As_int(obj0);
4844 if (PyErr_Occurred()) SWIG_fail;
4845 }
4846 {
4847 if (!wxPyCheckForApp()) SWIG_fail;
4848 PyThreadState* __tstate = wxPyBeginAllowThreads();
4849 result = wxDialog::GetClassDefaultAttributes((wxWindowVariant )arg1);
4850
4851 wxPyEndAllowThreads(__tstate);
4852 if (PyErr_Occurred()) SWIG_fail;
4853 }
4854 {
4855 wxVisualAttributes * resultptr;
4856 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
4857 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4858 }
4859 return resultobj;
4860 fail:
4861 return NULL;
4862 }
4863
4864
4865 static PyObject * Dialog_swigregister(PyObject *, PyObject *args) {
4866 PyObject *obj;
4867 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4868 SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj);
4869 Py_INCREF(obj);
4870 return Py_BuildValue((char *)"");
4871 }
4872 static PyObject *_wrap_new_MiniFrame(PyObject *, PyObject *args, PyObject *kwargs) {
4873 PyObject *resultobj;
4874 wxWindow *arg1 = (wxWindow *) 0 ;
4875 int arg2 = (int) (int)-1 ;
4876 wxString const &arg3_defvalue = wxPyEmptyString ;
4877 wxString *arg3 = (wxString *) &arg3_defvalue ;
4878 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4879 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4880 wxSize const &arg5_defvalue = wxDefaultSize ;
4881 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4882 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
4883 wxString const &arg7_defvalue = wxPyFrameNameStr ;
4884 wxString *arg7 = (wxString *) &arg7_defvalue ;
4885 wxMiniFrame *result;
4886 bool temp3 = false ;
4887 wxPoint temp4 ;
4888 wxSize temp5 ;
4889 bool temp7 = false ;
4890 PyObject * obj0 = 0 ;
4891 PyObject * obj1 = 0 ;
4892 PyObject * obj2 = 0 ;
4893 PyObject * obj3 = 0 ;
4894 PyObject * obj4 = 0 ;
4895 PyObject * obj5 = 0 ;
4896 PyObject * obj6 = 0 ;
4897 char *kwnames[] = {
4898 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4899 };
4900
4901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4902 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4903 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4904 if (obj1) {
4905 arg2 = (int)SWIG_As_int(obj1);
4906 if (PyErr_Occurred()) SWIG_fail;
4907 }
4908 if (obj2) {
4909 {
4910 arg3 = wxString_in_helper(obj2);
4911 if (arg3 == NULL) SWIG_fail;
4912 temp3 = true;
4913 }
4914 }
4915 if (obj3) {
4916 {
4917 arg4 = &temp4;
4918 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4919 }
4920 }
4921 if (obj4) {
4922 {
4923 arg5 = &temp5;
4924 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4925 }
4926 }
4927 if (obj5) {
4928 arg6 = (long)SWIG_As_long(obj5);
4929 if (PyErr_Occurred()) SWIG_fail;
4930 }
4931 if (obj6) {
4932 {
4933 arg7 = wxString_in_helper(obj6);
4934 if (arg7 == NULL) SWIG_fail;
4935 temp7 = true;
4936 }
4937 }
4938 {
4939 if (!wxPyCheckForApp()) SWIG_fail;
4940 PyThreadState* __tstate = wxPyBeginAllowThreads();
4941 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4942
4943 wxPyEndAllowThreads(__tstate);
4944 if (PyErr_Occurred()) SWIG_fail;
4945 }
4946 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
4947 {
4948 if (temp3)
4949 delete arg3;
4950 }
4951 {
4952 if (temp7)
4953 delete arg7;
4954 }
4955 return resultobj;
4956 fail:
4957 {
4958 if (temp3)
4959 delete arg3;
4960 }
4961 {
4962 if (temp7)
4963 delete arg7;
4964 }
4965 return NULL;
4966 }
4967
4968
4969 static PyObject *_wrap_new_PreMiniFrame(PyObject *, PyObject *args, PyObject *kwargs) {
4970 PyObject *resultobj;
4971 wxMiniFrame *result;
4972 char *kwnames[] = {
4973 NULL
4974 };
4975
4976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail;
4977 {
4978 if (!wxPyCheckForApp()) SWIG_fail;
4979 PyThreadState* __tstate = wxPyBeginAllowThreads();
4980 result = (wxMiniFrame *)new wxMiniFrame();
4981
4982 wxPyEndAllowThreads(__tstate);
4983 if (PyErr_Occurred()) SWIG_fail;
4984 }
4985 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
4986 return resultobj;
4987 fail:
4988 return NULL;
4989 }
4990
4991
4992 static PyObject *_wrap_MiniFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
4993 PyObject *resultobj;
4994 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
4995 wxWindow *arg2 = (wxWindow *) 0 ;
4996 int arg3 = (int) (int)-1 ;
4997 wxString const &arg4_defvalue = wxPyEmptyString ;
4998 wxString *arg4 = (wxString *) &arg4_defvalue ;
4999 wxPoint const &arg5_defvalue = wxDefaultPosition ;
5000 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
5001 wxSize const &arg6_defvalue = wxDefaultSize ;
5002 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
5003 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
5004 wxString const &arg8_defvalue = wxPyFrameNameStr ;
5005 wxString *arg8 = (wxString *) &arg8_defvalue ;
5006 bool result;
5007 bool temp4 = false ;
5008 wxPoint temp5 ;
5009 wxSize temp6 ;
5010 bool temp8 = false ;
5011 PyObject * obj0 = 0 ;
5012 PyObject * obj1 = 0 ;
5013 PyObject * obj2 = 0 ;
5014 PyObject * obj3 = 0 ;
5015 PyObject * obj4 = 0 ;
5016 PyObject * obj5 = 0 ;
5017 PyObject * obj6 = 0 ;
5018 PyObject * obj7 = 0 ;
5019 char *kwnames[] = {
5020 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5021 };
5022
5023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
5024 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMiniFrame,
5025 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5026 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5027 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5028 if (obj2) {
5029 arg3 = (int)SWIG_As_int(obj2);
5030 if (PyErr_Occurred()) SWIG_fail;
5031 }
5032 if (obj3) {
5033 {
5034 arg4 = wxString_in_helper(obj3);
5035 if (arg4 == NULL) SWIG_fail;
5036 temp4 = true;
5037 }
5038 }
5039 if (obj4) {
5040 {
5041 arg5 = &temp5;
5042 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
5043 }
5044 }
5045 if (obj5) {
5046 {
5047 arg6 = &temp6;
5048 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
5049 }
5050 }
5051 if (obj6) {
5052 arg7 = (long)SWIG_As_long(obj6);
5053 if (PyErr_Occurred()) SWIG_fail;
5054 }
5055 if (obj7) {
5056 {
5057 arg8 = wxString_in_helper(obj7);
5058 if (arg8 == NULL) SWIG_fail;
5059 temp8 = true;
5060 }
5061 }
5062 {
5063 PyThreadState* __tstate = wxPyBeginAllowThreads();
5064 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
5065
5066 wxPyEndAllowThreads(__tstate);
5067 if (PyErr_Occurred()) SWIG_fail;
5068 }
5069 {
5070 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5071 }
5072 {
5073 if (temp4)
5074 delete arg4;
5075 }
5076 {
5077 if (temp8)
5078 delete arg8;
5079 }
5080 return resultobj;
5081 fail:
5082 {
5083 if (temp4)
5084 delete arg4;
5085 }
5086 {
5087 if (temp8)
5088 delete arg8;
5089 }
5090 return NULL;
5091 }
5092
5093
5094 static PyObject * MiniFrame_swigregister(PyObject *, PyObject *args) {
5095 PyObject *obj;
5096 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5097 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj);
5098 Py_INCREF(obj);
5099 return Py_BuildValue((char *)"");
5100 }
5101 static PyObject *_wrap_new_SplashScreenWindow(PyObject *, PyObject *args, PyObject *kwargs) {
5102 PyObject *resultobj;
5103 wxBitmap *arg1 = 0 ;
5104 wxWindow *arg2 = (wxWindow *) 0 ;
5105 int arg3 ;
5106 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5107 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5108 wxSize const &arg5_defvalue = wxDefaultSize ;
5109 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5110 long arg6 = (long) wxNO_BORDER ;
5111 wxSplashScreenWindow *result;
5112 wxPoint temp4 ;
5113 wxSize temp5 ;
5114 PyObject * obj0 = 0 ;
5115 PyObject * obj1 = 0 ;
5116 PyObject * obj2 = 0 ;
5117 PyObject * obj3 = 0 ;
5118 PyObject * obj4 = 0 ;
5119 PyObject * obj5 = 0 ;
5120 char *kwnames[] = {
5121 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
5122 };
5123
5124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
5125 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
5126 SWIG_POINTER_EXCEPTION | 0)) == -1)
5127 SWIG_fail;
5128 if (arg1 == NULL) {
5129 PyErr_SetString(PyExc_TypeError,"null reference");
5130 SWIG_fail;
5131 }
5132 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5133 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5134 arg3 = (int)SWIG_As_int(obj2);
5135 if (PyErr_Occurred()) SWIG_fail;
5136 if (obj3) {
5137 {
5138 arg4 = &temp4;
5139 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5140 }
5141 }
5142 if (obj4) {
5143 {
5144 arg5 = &temp5;
5145 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5146 }
5147 }
5148 if (obj5) {
5149 arg6 = (long)SWIG_As_long(obj5);
5150 if (PyErr_Occurred()) SWIG_fail;
5151 }
5152 {
5153 if (!wxPyCheckForApp()) SWIG_fail;
5154 PyThreadState* __tstate = wxPyBeginAllowThreads();
5155 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
5156
5157 wxPyEndAllowThreads(__tstate);
5158 if (PyErr_Occurred()) SWIG_fail;
5159 }
5160 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 1);
5161 return resultobj;
5162 fail:
5163 return NULL;
5164 }
5165
5166
5167 static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
5168 PyObject *resultobj;
5169 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
5170 wxBitmap *arg2 = 0 ;
5171 PyObject * obj0 = 0 ;
5172 PyObject * obj1 = 0 ;
5173 char *kwnames[] = {
5174 (char *) "self",(char *) "bitmap", NULL
5175 };
5176
5177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
5178 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow,
5179 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5180 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
5181 SWIG_POINTER_EXCEPTION | 0)) == -1)
5182 SWIG_fail;
5183 if (arg2 == NULL) {
5184 PyErr_SetString(PyExc_TypeError,"null reference");
5185 SWIG_fail;
5186 }
5187 {
5188 PyThreadState* __tstate = wxPyBeginAllowThreads();
5189 (arg1)->SetBitmap((wxBitmap const &)*arg2);
5190
5191 wxPyEndAllowThreads(__tstate);
5192 if (PyErr_Occurred()) SWIG_fail;
5193 }
5194 Py_INCREF(Py_None); resultobj = Py_None;
5195 return resultobj;
5196 fail:
5197 return NULL;
5198 }
5199
5200
5201 static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
5202 PyObject *resultobj;
5203 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
5204 wxBitmap *result;
5205 PyObject * obj0 = 0 ;
5206 char *kwnames[] = {
5207 (char *) "self", NULL
5208 };
5209
5210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail;
5211 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow,
5212 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5213 {
5214 PyThreadState* __tstate = wxPyBeginAllowThreads();
5215 {
5216 wxBitmap &_result_ref = (arg1)->GetBitmap();
5217 result = (wxBitmap *) &_result_ref;
5218 }
5219
5220 wxPyEndAllowThreads(__tstate);
5221 if (PyErr_Occurred()) SWIG_fail;
5222 }
5223 {
5224 wxBitmap* resultptr = new wxBitmap(*result);
5225 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
5226 }
5227 return resultobj;
5228 fail:
5229 return NULL;
5230 }
5231
5232
5233 static PyObject * SplashScreenWindow_swigregister(PyObject *, PyObject *args) {
5234 PyObject *obj;
5235 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5236 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj);
5237 Py_INCREF(obj);
5238 return Py_BuildValue((char *)"");
5239 }
5240 static PyObject *_wrap_new_SplashScreen(PyObject *, PyObject *args, PyObject *kwargs) {
5241 PyObject *resultobj;
5242 wxBitmap *arg1 = 0 ;
5243 long arg2 ;
5244 int arg3 ;
5245 wxWindow *arg4 = (wxWindow *) 0 ;
5246 int arg5 = (int) -1 ;
5247 wxPoint const &arg6_defvalue = wxDefaultPosition ;
5248 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
5249 wxSize const &arg7_defvalue = wxDefaultSize ;
5250 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
5251 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
5252 wxSplashScreen *result;
5253 wxPoint temp6 ;
5254 wxSize temp7 ;
5255 PyObject * obj0 = 0 ;
5256 PyObject * obj1 = 0 ;
5257 PyObject * obj2 = 0 ;
5258 PyObject * obj3 = 0 ;
5259 PyObject * obj4 = 0 ;
5260 PyObject * obj5 = 0 ;
5261 PyObject * obj6 = 0 ;
5262 PyObject * obj7 = 0 ;
5263 char *kwnames[] = {
5264 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
5265 };
5266
5267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
5268 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
5269 SWIG_POINTER_EXCEPTION | 0)) == -1)
5270 SWIG_fail;
5271 if (arg1 == NULL) {
5272 PyErr_SetString(PyExc_TypeError,"null reference");
5273 SWIG_fail;
5274 }
5275 arg2 = (long)SWIG_As_long(obj1);
5276 if (PyErr_Occurred()) SWIG_fail;
5277 arg3 = (int)SWIG_As_int(obj2);
5278 if (PyErr_Occurred()) SWIG_fail;
5279 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
5280 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5281 if (obj4) {
5282 arg5 = (int)SWIG_As_int(obj4);
5283 if (PyErr_Occurred()) SWIG_fail;
5284 }
5285 if (obj5) {
5286 {
5287 arg6 = &temp6;
5288 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
5289 }
5290 }
5291 if (obj6) {
5292 {
5293 arg7 = &temp7;
5294 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
5295 }
5296 }
5297 if (obj7) {
5298 arg8 = (long)SWIG_As_long(obj7);
5299 if (PyErr_Occurred()) SWIG_fail;
5300 }
5301 {
5302 if (!wxPyCheckForApp()) SWIG_fail;
5303 PyThreadState* __tstate = wxPyBeginAllowThreads();
5304 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
5305
5306 wxPyEndAllowThreads(__tstate);
5307 if (PyErr_Occurred()) SWIG_fail;
5308 }
5309 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreen, 1);
5310 return resultobj;
5311 fail:
5312 return NULL;
5313 }
5314
5315
5316 static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *, PyObject *args, PyObject *kwargs) {
5317 PyObject *resultobj;
5318 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
5319 long result;
5320 PyObject * obj0 = 0 ;
5321 char *kwnames[] = {
5322 (char *) "self", NULL
5323 };
5324
5325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail;
5326 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
5327 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5328 {
5329 PyThreadState* __tstate = wxPyBeginAllowThreads();
5330 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
5331
5332 wxPyEndAllowThreads(__tstate);
5333 if (PyErr_Occurred()) SWIG_fail;
5334 }
5335 resultobj = SWIG_From_long((long)result);
5336 return resultobj;
5337 fail:
5338 return NULL;
5339 }
5340
5341
5342 static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
5343 PyObject *resultobj;
5344 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
5345 wxSplashScreenWindow *result;
5346 PyObject * obj0 = 0 ;
5347 char *kwnames[] = {
5348 (char *) "self", NULL
5349 };
5350
5351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail;
5352 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
5353 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5354 {
5355 PyThreadState* __tstate = wxPyBeginAllowThreads();
5356 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
5357
5358 wxPyEndAllowThreads(__tstate);
5359 if (PyErr_Occurred()) SWIG_fail;
5360 }
5361 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 0);
5362 return resultobj;
5363 fail:
5364 return NULL;
5365 }
5366
5367
5368 static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *, PyObject *args, PyObject *kwargs) {
5369 PyObject *resultobj;
5370 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
5371 int result;
5372 PyObject * obj0 = 0 ;
5373 char *kwnames[] = {
5374 (char *) "self", NULL
5375 };
5376
5377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail;
5378 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
5379 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5380 {
5381 PyThreadState* __tstate = wxPyBeginAllowThreads();
5382 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
5383
5384 wxPyEndAllowThreads(__tstate);
5385 if (PyErr_Occurred()) SWIG_fail;
5386 }
5387 resultobj = SWIG_From_int((int)result);
5388 return resultobj;
5389 fail:
5390 return NULL;
5391 }
5392
5393
5394 static PyObject * SplashScreen_swigregister(PyObject *, PyObject *args) {
5395 PyObject *obj;
5396 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5397 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj);
5398 Py_INCREF(obj);
5399 return Py_BuildValue((char *)"");
5400 }
5401 static PyObject *_wrap_new_StatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
5402 PyObject *resultobj;
5403 wxWindow *arg1 = (wxWindow *) 0 ;
5404 int arg2 = (int) -1 ;
5405 long arg3 = (long) wxST_SIZEGRIP ;
5406 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
5407 wxString *arg4 = (wxString *) &arg4_defvalue ;
5408 wxStatusBar *result;
5409 bool temp4 = false ;
5410 PyObject * obj0 = 0 ;
5411 PyObject * obj1 = 0 ;
5412 PyObject * obj2 = 0 ;
5413 PyObject * obj3 = 0 ;
5414 char *kwnames[] = {
5415 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5416 };
5417
5418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5419 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5420 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5421 if (obj1) {
5422 arg2 = (int)SWIG_As_int(obj1);
5423 if (PyErr_Occurred()) SWIG_fail;
5424 }
5425 if (obj2) {
5426 arg3 = (long)SWIG_As_long(obj2);
5427 if (PyErr_Occurred()) SWIG_fail;
5428 }
5429 if (obj3) {
5430 {
5431 arg4 = wxString_in_helper(obj3);
5432 if (arg4 == NULL) SWIG_fail;
5433 temp4 = true;
5434 }
5435 }
5436 {
5437 if (!wxPyCheckForApp()) SWIG_fail;
5438 PyThreadState* __tstate = wxPyBeginAllowThreads();
5439 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
5440
5441 wxPyEndAllowThreads(__tstate);
5442 if (PyErr_Occurred()) SWIG_fail;
5443 }
5444 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStatusBar, 1);
5445 {
5446 if (temp4)
5447 delete arg4;
5448 }
5449 return resultobj;
5450 fail:
5451 {
5452 if (temp4)
5453 delete arg4;
5454 }
5455 return NULL;
5456 }
5457
5458
5459 static PyObject *_wrap_new_PreStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
5460 PyObject *resultobj;
5461 wxStatusBar *result;
5462 char *kwnames[] = {
5463 NULL
5464 };
5465
5466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail;
5467 {
5468 if (!wxPyCheckForApp()) SWIG_fail;
5469 PyThreadState* __tstate = wxPyBeginAllowThreads();
5470 result = (wxStatusBar *)new wxStatusBar();
5471
5472 wxPyEndAllowThreads(__tstate);
5473 if (PyErr_Occurred()) SWIG_fail;
5474 }
5475 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStatusBar, 1);
5476 return resultobj;
5477 fail:
5478 return NULL;
5479 }
5480
5481
5482 static PyObject *_wrap_StatusBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
5483 PyObject *resultobj;
5484 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5485 wxWindow *arg2 = (wxWindow *) 0 ;
5486 int arg3 = (int) -1 ;
5487 long arg4 = (long) wxST_SIZEGRIP ;
5488 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
5489 wxString *arg5 = (wxString *) &arg5_defvalue ;
5490 bool result;
5491 bool temp5 = false ;
5492 PyObject * obj0 = 0 ;
5493 PyObject * obj1 = 0 ;
5494 PyObject * obj2 = 0 ;
5495 PyObject * obj3 = 0 ;
5496 PyObject * obj4 = 0 ;
5497 char *kwnames[] = {
5498 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5499 };
5500
5501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
5502 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5503 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5504 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5505 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5506 if (obj2) {
5507 arg3 = (int)SWIG_As_int(obj2);
5508 if (PyErr_Occurred()) SWIG_fail;
5509 }
5510 if (obj3) {
5511 arg4 = (long)SWIG_As_long(obj3);
5512 if (PyErr_Occurred()) SWIG_fail;
5513 }
5514 if (obj4) {
5515 {
5516 arg5 = wxString_in_helper(obj4);
5517 if (arg5 == NULL) SWIG_fail;
5518 temp5 = true;
5519 }
5520 }
5521 {
5522 PyThreadState* __tstate = wxPyBeginAllowThreads();
5523 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
5524
5525 wxPyEndAllowThreads(__tstate);
5526 if (PyErr_Occurred()) SWIG_fail;
5527 }
5528 {
5529 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5530 }
5531 {
5532 if (temp5)
5533 delete arg5;
5534 }
5535 return resultobj;
5536 fail:
5537 {
5538 if (temp5)
5539 delete arg5;
5540 }
5541 return NULL;
5542 }
5543
5544
5545 static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *, PyObject *args, PyObject *kwargs) {
5546 PyObject *resultobj;
5547 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5548 int arg2 = (int) 1 ;
5549 PyObject * obj0 = 0 ;
5550 PyObject * obj1 = 0 ;
5551 char *kwnames[] = {
5552 (char *) "self",(char *) "number", NULL
5553 };
5554
5555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) goto fail;
5556 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5557 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5558 if (obj1) {
5559 arg2 = (int)SWIG_As_int(obj1);
5560 if (PyErr_Occurred()) SWIG_fail;
5561 }
5562 {
5563 PyThreadState* __tstate = wxPyBeginAllowThreads();
5564 (arg1)->SetFieldsCount(arg2);
5565
5566 wxPyEndAllowThreads(__tstate);
5567 if (PyErr_Occurred()) SWIG_fail;
5568 }
5569 Py_INCREF(Py_None); resultobj = Py_None;
5570 return resultobj;
5571 fail:
5572 return NULL;
5573 }
5574
5575
5576 static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *, PyObject *args, PyObject *kwargs) {
5577 PyObject *resultobj;
5578 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5579 int result;
5580 PyObject * obj0 = 0 ;
5581 char *kwnames[] = {
5582 (char *) "self", NULL
5583 };
5584
5585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail;
5586 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5587 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5588 {
5589 PyThreadState* __tstate = wxPyBeginAllowThreads();
5590 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
5591
5592 wxPyEndAllowThreads(__tstate);
5593 if (PyErr_Occurred()) SWIG_fail;
5594 }
5595 resultobj = SWIG_From_int((int)result);
5596 return resultobj;
5597 fail:
5598 return NULL;
5599 }
5600
5601
5602 static PyObject *_wrap_StatusBar_SetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
5603 PyObject *resultobj;
5604 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5605 wxString *arg2 = 0 ;
5606 int arg3 = (int) 0 ;
5607 bool temp2 = false ;
5608 PyObject * obj0 = 0 ;
5609 PyObject * obj1 = 0 ;
5610 PyObject * obj2 = 0 ;
5611 char *kwnames[] = {
5612 (char *) "self",(char *) "text",(char *) "number", NULL
5613 };
5614
5615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5616 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5617 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5618 {
5619 arg2 = wxString_in_helper(obj1);
5620 if (arg2 == NULL) SWIG_fail;
5621 temp2 = true;
5622 }
5623 if (obj2) {
5624 arg3 = (int)SWIG_As_int(obj2);
5625 if (PyErr_Occurred()) SWIG_fail;
5626 }
5627 {
5628 PyThreadState* __tstate = wxPyBeginAllowThreads();
5629 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
5630
5631 wxPyEndAllowThreads(__tstate);
5632 if (PyErr_Occurred()) SWIG_fail;
5633 }
5634 Py_INCREF(Py_None); resultobj = Py_None;
5635 {
5636 if (temp2)
5637 delete arg2;
5638 }
5639 return resultobj;
5640 fail:
5641 {
5642 if (temp2)
5643 delete arg2;
5644 }
5645 return NULL;
5646 }
5647
5648
5649 static PyObject *_wrap_StatusBar_GetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
5650 PyObject *resultobj;
5651 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5652 int arg2 = (int) 0 ;
5653 wxString result;
5654 PyObject * obj0 = 0 ;
5655 PyObject * obj1 = 0 ;
5656 char *kwnames[] = {
5657 (char *) "self",(char *) "number", NULL
5658 };
5659
5660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) goto fail;
5661 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5662 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5663 if (obj1) {
5664 arg2 = (int)SWIG_As_int(obj1);
5665 if (PyErr_Occurred()) SWIG_fail;
5666 }
5667 {
5668 PyThreadState* __tstate = wxPyBeginAllowThreads();
5669 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
5670
5671 wxPyEndAllowThreads(__tstate);
5672 if (PyErr_Occurred()) SWIG_fail;
5673 }
5674 {
5675 #if wxUSE_UNICODE
5676 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5677 #else
5678 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5679 #endif
5680 }
5681 return resultobj;
5682 fail:
5683 return NULL;
5684 }
5685
5686
5687 static PyObject *_wrap_StatusBar_PushStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
5688 PyObject *resultobj;
5689 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5690 wxString *arg2 = 0 ;
5691 int arg3 = (int) 0 ;
5692 bool temp2 = false ;
5693 PyObject * obj0 = 0 ;
5694 PyObject * obj1 = 0 ;
5695 PyObject * obj2 = 0 ;
5696 char *kwnames[] = {
5697 (char *) "self",(char *) "text",(char *) "number", NULL
5698 };
5699
5700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5701 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5702 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5703 {
5704 arg2 = wxString_in_helper(obj1);
5705 if (arg2 == NULL) SWIG_fail;
5706 temp2 = true;
5707 }
5708 if (obj2) {
5709 arg3 = (int)SWIG_As_int(obj2);
5710 if (PyErr_Occurred()) SWIG_fail;
5711 }
5712 {
5713 PyThreadState* __tstate = wxPyBeginAllowThreads();
5714 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
5715
5716 wxPyEndAllowThreads(__tstate);
5717 if (PyErr_Occurred()) SWIG_fail;
5718 }
5719 Py_INCREF(Py_None); resultobj = Py_None;
5720 {
5721 if (temp2)
5722 delete arg2;
5723 }
5724 return resultobj;
5725 fail:
5726 {
5727 if (temp2)
5728 delete arg2;
5729 }
5730 return NULL;
5731 }
5732
5733
5734 static PyObject *_wrap_StatusBar_PopStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
5735 PyObject *resultobj;
5736 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5737 int arg2 = (int) 0 ;
5738 PyObject * obj0 = 0 ;
5739 PyObject * obj1 = 0 ;
5740 char *kwnames[] = {
5741 (char *) "self",(char *) "number", NULL
5742 };
5743
5744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
5745 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5746 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5747 if (obj1) {
5748 arg2 = (int)SWIG_As_int(obj1);
5749 if (PyErr_Occurred()) SWIG_fail;
5750 }
5751 {
5752 PyThreadState* __tstate = wxPyBeginAllowThreads();
5753 (arg1)->PopStatusText(arg2);
5754
5755 wxPyEndAllowThreads(__tstate);
5756 if (PyErr_Occurred()) SWIG_fail;
5757 }
5758 Py_INCREF(Py_None); resultobj = Py_None;
5759 return resultobj;
5760 fail:
5761 return NULL;
5762 }
5763
5764
5765 static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *, PyObject *args, PyObject *kwargs) {
5766 PyObject *resultobj;
5767 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5768 int arg2 ;
5769 int *arg3 = (int *) 0 ;
5770 PyObject * obj0 = 0 ;
5771 PyObject * obj1 = 0 ;
5772 char *kwnames[] = {
5773 (char *) "self",(char *) "widths", NULL
5774 };
5775
5776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
5777 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5778 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5779 {
5780 arg2 = PyList_Size(obj1);
5781 arg3 = int_LIST_helper(obj1);
5782 if (arg3 == NULL) SWIG_fail;
5783 }
5784 {
5785 PyThreadState* __tstate = wxPyBeginAllowThreads();
5786 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
5787
5788 wxPyEndAllowThreads(__tstate);
5789 if (PyErr_Occurred()) SWIG_fail;
5790 }
5791 Py_INCREF(Py_None); resultobj = Py_None;
5792 {
5793 if (arg3) delete [] arg3;
5794 }
5795 return resultobj;
5796 fail:
5797 {
5798 if (arg3) delete [] arg3;
5799 }
5800 return NULL;
5801 }
5802
5803
5804 static PyObject *_wrap_StatusBar_SetStatusStyles(PyObject *, PyObject *args, PyObject *kwargs) {
5805 PyObject *resultobj;
5806 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5807 int arg2 ;
5808 int *arg3 = (int *) 0 ;
5809 PyObject * obj0 = 0 ;
5810 PyObject * obj1 = 0 ;
5811 char *kwnames[] = {
5812 (char *) "self",(char *) "styles", NULL
5813 };
5814
5815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusStyles",kwnames,&obj0,&obj1)) goto fail;
5816 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5817 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5818 {
5819 arg2 = PyList_Size(obj1);
5820 arg3 = int_LIST_helper(obj1);
5821 if (arg3 == NULL) SWIG_fail;
5822 }
5823 {
5824 PyThreadState* __tstate = wxPyBeginAllowThreads();
5825 (arg1)->SetStatusStyles(arg2,(int const *)arg3);
5826
5827 wxPyEndAllowThreads(__tstate);
5828 if (PyErr_Occurred()) SWIG_fail;
5829 }
5830 Py_INCREF(Py_None); resultobj = Py_None;
5831 {
5832 if (arg3) delete [] arg3;
5833 }
5834 return resultobj;
5835 fail:
5836 {
5837 if (arg3) delete [] arg3;
5838 }
5839 return NULL;
5840 }
5841
5842
5843 static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *, PyObject *args, PyObject *kwargs) {
5844 PyObject *resultobj;
5845 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5846 int arg2 ;
5847 wxRect result;
5848 PyObject * obj0 = 0 ;
5849 PyObject * obj1 = 0 ;
5850 char *kwnames[] = {
5851 (char *) "self",(char *) "i", NULL
5852 };
5853
5854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) goto fail;
5855 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5856 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5857 arg2 = (int)SWIG_As_int(obj1);
5858 if (PyErr_Occurred()) SWIG_fail;
5859 {
5860 PyThreadState* __tstate = wxPyBeginAllowThreads();
5861 result = wxStatusBar_GetFieldRect(arg1,arg2);
5862
5863 wxPyEndAllowThreads(__tstate);
5864 if (PyErr_Occurred()) SWIG_fail;
5865 }
5866 {
5867 wxRect * resultptr;
5868 resultptr = new wxRect((wxRect &) result);
5869 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
5870 }
5871 return resultobj;
5872 fail:
5873 return NULL;
5874 }
5875
5876
5877 static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *, PyObject *args, PyObject *kwargs) {
5878 PyObject *resultobj;
5879 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5880 int arg2 ;
5881 PyObject * obj0 = 0 ;
5882 PyObject * obj1 = 0 ;
5883 char *kwnames[] = {
5884 (char *) "self",(char *) "height", NULL
5885 };
5886
5887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) goto fail;
5888 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5889 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5890 arg2 = (int)SWIG_As_int(obj1);
5891 if (PyErr_Occurred()) SWIG_fail;
5892 {
5893 PyThreadState* __tstate = wxPyBeginAllowThreads();
5894 (arg1)->SetMinHeight(arg2);
5895
5896 wxPyEndAllowThreads(__tstate);
5897 if (PyErr_Occurred()) SWIG_fail;
5898 }
5899 Py_INCREF(Py_None); resultobj = Py_None;
5900 return resultobj;
5901 fail:
5902 return NULL;
5903 }
5904
5905
5906 static PyObject *_wrap_StatusBar_GetBorderX(PyObject *, PyObject *args, PyObject *kwargs) {
5907 PyObject *resultobj;
5908 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5909 int result;
5910 PyObject * obj0 = 0 ;
5911 char *kwnames[] = {
5912 (char *) "self", NULL
5913 };
5914
5915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail;
5916 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5917 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5918 {
5919 PyThreadState* __tstate = wxPyBeginAllowThreads();
5920 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
5921
5922 wxPyEndAllowThreads(__tstate);
5923 if (PyErr_Occurred()) SWIG_fail;
5924 }
5925 resultobj = SWIG_From_int((int)result);
5926 return resultobj;
5927 fail:
5928 return NULL;
5929 }
5930
5931
5932 static PyObject *_wrap_StatusBar_GetBorderY(PyObject *, PyObject *args, PyObject *kwargs) {
5933 PyObject *resultobj;
5934 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5935 int result;
5936 PyObject * obj0 = 0 ;
5937 char *kwnames[] = {
5938 (char *) "self", NULL
5939 };
5940
5941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail;
5942 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5943 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5944 {
5945 PyThreadState* __tstate = wxPyBeginAllowThreads();
5946 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
5947
5948 wxPyEndAllowThreads(__tstate);
5949 if (PyErr_Occurred()) SWIG_fail;
5950 }
5951 resultobj = SWIG_From_int((int)result);
5952 return resultobj;
5953 fail:
5954 return NULL;
5955 }
5956
5957
5958 static PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
5959 PyObject *resultobj;
5960 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
5961 wxVisualAttributes result;
5962 PyObject * obj0 = 0 ;
5963 char *kwnames[] = {
5964 (char *) "variant", NULL
5965 };
5966
5967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5968 if (obj0) {
5969 arg1 = (int)SWIG_As_int(obj0);
5970 if (PyErr_Occurred()) SWIG_fail;
5971 }
5972 {
5973 if (!wxPyCheckForApp()) SWIG_fail;
5974 PyThreadState* __tstate = wxPyBeginAllowThreads();
5975 result = wxStatusBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
5976
5977 wxPyEndAllowThreads(__tstate);
5978 if (PyErr_Occurred()) SWIG_fail;
5979 }
5980 {
5981 wxVisualAttributes * resultptr;
5982 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
5983 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5984 }
5985 return resultobj;
5986 fail:
5987 return NULL;
5988 }
5989
5990
5991 static PyObject * StatusBar_swigregister(PyObject *, PyObject *args) {
5992 PyObject *obj;
5993 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5994 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj);
5995 Py_INCREF(obj);
5996 return Py_BuildValue((char *)"");
5997 }
5998 static int _wrap_SplitterNameStr_set(PyObject *) {
5999 PyErr_SetString(PyExc_TypeError,"Variable SplitterNameStr is read-only.");
6000 return 1;
6001 }
6002
6003
6004 static PyObject *_wrap_SplitterNameStr_get() {
6005 PyObject *pyobj;
6006
6007 {
6008 #if wxUSE_UNICODE
6009 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
6010 #else
6011 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
6012 #endif
6013 }
6014 return pyobj;
6015 }
6016
6017
6018 static PyObject *_wrap_new_SplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) {
6019 PyObject *resultobj;
6020 wxWindow *arg1 = (wxWindow *) 0 ;
6021 int arg2 = (int) -1 ;
6022 wxPoint const &arg3_defvalue = wxDefaultPosition ;
6023 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
6024 wxSize const &arg4_defvalue = wxDefaultSize ;
6025 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
6026 long arg5 = (long) wxSP_3D ;
6027 wxString const &arg6_defvalue = wxPySplitterNameStr ;
6028 wxString *arg6 = (wxString *) &arg6_defvalue ;
6029 wxSplitterWindow *result;
6030 wxPoint temp3 ;
6031 wxSize temp4 ;
6032 bool temp6 = false ;
6033 PyObject * obj0 = 0 ;
6034 PyObject * obj1 = 0 ;
6035 PyObject * obj2 = 0 ;
6036 PyObject * obj3 = 0 ;
6037 PyObject * obj4 = 0 ;
6038 PyObject * obj5 = 0 ;
6039 char *kwnames[] = {
6040 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6041 };
6042
6043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
6044 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
6045 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6046 if (obj1) {
6047 arg2 = (int)SWIG_As_int(obj1);
6048 if (PyErr_Occurred()) SWIG_fail;
6049 }
6050 if (obj2) {
6051 {
6052 arg3 = &temp3;
6053 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
6054 }
6055 }
6056 if (obj3) {
6057 {
6058 arg4 = &temp4;
6059 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
6060 }
6061 }
6062 if (obj4) {
6063 arg5 = (long)SWIG_As_long(obj4);
6064 if (PyErr_Occurred()) SWIG_fail;
6065 }
6066 if (obj5) {
6067 {
6068 arg6 = wxString_in_helper(obj5);
6069 if (arg6 == NULL) SWIG_fail;
6070 temp6 = true;
6071 }
6072 }
6073 {
6074 if (!wxPyCheckForApp()) SWIG_fail;
6075 PyThreadState* __tstate = wxPyBeginAllowThreads();
6076 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
6077
6078 wxPyEndAllowThreads(__tstate);
6079 if (PyErr_Occurred()) SWIG_fail;
6080 }
6081 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
6082 {
6083 if (temp6)
6084 delete arg6;
6085 }
6086 return resultobj;
6087 fail:
6088 {
6089 if (temp6)
6090 delete arg6;
6091 }
6092 return NULL;
6093 }
6094
6095
6096 static PyObject *_wrap_new_PreSplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) {
6097 PyObject *resultobj;
6098 wxSplitterWindow *result;
6099 char *kwnames[] = {
6100 NULL
6101 };
6102
6103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail;
6104 {
6105 if (!wxPyCheckForApp()) SWIG_fail;
6106 PyThreadState* __tstate = wxPyBeginAllowThreads();
6107 result = (wxSplitterWindow *)new wxSplitterWindow();
6108
6109 wxPyEndAllowThreads(__tstate);
6110 if (PyErr_Occurred()) SWIG_fail;
6111 }
6112 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
6113 return resultobj;
6114 fail:
6115 return NULL;
6116 }
6117
6118
6119 static PyObject *_wrap_SplitterWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
6120 PyObject *resultobj;
6121 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6122 wxWindow *arg2 = (wxWindow *) 0 ;
6123 int arg3 = (int) -1 ;
6124 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6125 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6126 wxSize const &arg5_defvalue = wxDefaultSize ;
6127 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6128 long arg6 = (long) wxSP_3D ;
6129 wxString const &arg7_defvalue = wxPySplitterNameStr ;
6130 wxString *arg7 = (wxString *) &arg7_defvalue ;
6131 bool result;
6132 wxPoint temp4 ;
6133 wxSize temp5 ;
6134 bool temp7 = false ;
6135 PyObject * obj0 = 0 ;
6136 PyObject * obj1 = 0 ;
6137 PyObject * obj2 = 0 ;
6138 PyObject * obj3 = 0 ;
6139 PyObject * obj4 = 0 ;
6140 PyObject * obj5 = 0 ;
6141 PyObject * obj6 = 0 ;
6142 char *kwnames[] = {
6143 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6144 };
6145
6146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
6147 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6148 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6149 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6150 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6151 if (obj2) {
6152 arg3 = (int)SWIG_As_int(obj2);
6153 if (PyErr_Occurred()) SWIG_fail;
6154 }
6155 if (obj3) {
6156 {
6157 arg4 = &temp4;
6158 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6159 }
6160 }
6161 if (obj4) {
6162 {
6163 arg5 = &temp5;
6164 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6165 }
6166 }
6167 if (obj5) {
6168 arg6 = (long)SWIG_As_long(obj5);
6169 if (PyErr_Occurred()) SWIG_fail;
6170 }
6171 if (obj6) {
6172 {
6173 arg7 = wxString_in_helper(obj6);
6174 if (arg7 == NULL) SWIG_fail;
6175 temp7 = true;
6176 }
6177 }
6178 {
6179 PyThreadState* __tstate = wxPyBeginAllowThreads();
6180 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6181
6182 wxPyEndAllowThreads(__tstate);
6183 if (PyErr_Occurred()) SWIG_fail;
6184 }
6185 {
6186 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6187 }
6188 {
6189 if (temp7)
6190 delete arg7;
6191 }
6192 return resultobj;
6193 fail:
6194 {
6195 if (temp7)
6196 delete arg7;
6197 }
6198 return NULL;
6199 }
6200
6201
6202 static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *, PyObject *args, PyObject *kwargs) {
6203 PyObject *resultobj;
6204 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6205 wxWindow *result;
6206 PyObject * obj0 = 0 ;
6207 char *kwnames[] = {
6208 (char *) "self", NULL
6209 };
6210
6211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail;
6212 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6213 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6214 {
6215 PyThreadState* __tstate = wxPyBeginAllowThreads();
6216 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
6217
6218 wxPyEndAllowThreads(__tstate);
6219 if (PyErr_Occurred()) SWIG_fail;
6220 }
6221 {
6222 resultobj = wxPyMake_wxObject(result, 0);
6223 }
6224 return resultobj;
6225 fail:
6226 return NULL;
6227 }
6228
6229
6230 static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *, PyObject *args, PyObject *kwargs) {
6231 PyObject *resultobj;
6232 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6233 wxWindow *result;
6234 PyObject * obj0 = 0 ;
6235 char *kwnames[] = {
6236 (char *) "self", NULL
6237 };
6238
6239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail;
6240 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6241 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6242 {
6243 PyThreadState* __tstate = wxPyBeginAllowThreads();
6244 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
6245
6246 wxPyEndAllowThreads(__tstate);
6247 if (PyErr_Occurred()) SWIG_fail;
6248 }
6249 {
6250 resultobj = wxPyMake_wxObject(result, 0);
6251 }
6252 return resultobj;
6253 fail:
6254 return NULL;
6255 }
6256
6257
6258 static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *, PyObject *args, PyObject *kwargs) {
6259 PyObject *resultobj;
6260 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6261 int arg2 ;
6262 PyObject * obj0 = 0 ;
6263 PyObject * obj1 = 0 ;
6264 char *kwnames[] = {
6265 (char *) "self",(char *) "mode", NULL
6266 };
6267
6268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) goto fail;
6269 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6270 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6271 arg2 = (int)SWIG_As_int(obj1);
6272 if (PyErr_Occurred()) SWIG_fail;
6273 {
6274 PyThreadState* __tstate = wxPyBeginAllowThreads();
6275 (arg1)->SetSplitMode(arg2);
6276
6277 wxPyEndAllowThreads(__tstate);
6278 if (PyErr_Occurred()) SWIG_fail;
6279 }
6280 Py_INCREF(Py_None); resultobj = Py_None;
6281 return resultobj;
6282 fail:
6283 return NULL;
6284 }
6285
6286
6287 static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *, PyObject *args, PyObject *kwargs) {
6288 PyObject *resultobj;
6289 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6290 int result;
6291 PyObject * obj0 = 0 ;
6292 char *kwnames[] = {
6293 (char *) "self", NULL
6294 };
6295
6296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail;
6297 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6299 {
6300 PyThreadState* __tstate = wxPyBeginAllowThreads();
6301 result = (int)((wxSplitterWindow const *)arg1)->GetSplitMode();
6302
6303 wxPyEndAllowThreads(__tstate);
6304 if (PyErr_Occurred()) SWIG_fail;
6305 }
6306 resultobj = SWIG_From_int((int)result);
6307 return resultobj;
6308 fail:
6309 return NULL;
6310 }
6311
6312
6313 static PyObject *_wrap_SplitterWindow_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
6314 PyObject *resultobj;
6315 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6316 wxWindow *arg2 = (wxWindow *) 0 ;
6317 PyObject * obj0 = 0 ;
6318 PyObject * obj1 = 0 ;
6319 char *kwnames[] = {
6320 (char *) "self",(char *) "window", NULL
6321 };
6322
6323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail;
6324 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6325 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6326 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6327 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6328 {
6329 PyThreadState* __tstate = wxPyBeginAllowThreads();
6330 (arg1)->Initialize(arg2);
6331
6332 wxPyEndAllowThreads(__tstate);
6333 if (PyErr_Occurred()) SWIG_fail;
6334 }
6335 Py_INCREF(Py_None); resultobj = Py_None;
6336 return resultobj;
6337 fail:
6338 return NULL;
6339 }
6340
6341
6342 static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *, PyObject *args, PyObject *kwargs) {
6343 PyObject *resultobj;
6344 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6345 wxWindow *arg2 = (wxWindow *) 0 ;
6346 wxWindow *arg3 = (wxWindow *) 0 ;
6347 int arg4 = (int) 0 ;
6348 bool result;
6349 PyObject * obj0 = 0 ;
6350 PyObject * obj1 = 0 ;
6351 PyObject * obj2 = 0 ;
6352 PyObject * obj3 = 0 ;
6353 char *kwnames[] = {
6354 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
6355 };
6356
6357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6358 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6359 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6360 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6361 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6362 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
6363 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6364 if (obj3) {
6365 arg4 = (int)SWIG_As_int(obj3);
6366 if (PyErr_Occurred()) SWIG_fail;
6367 }
6368 {
6369 PyThreadState* __tstate = wxPyBeginAllowThreads();
6370 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
6371
6372 wxPyEndAllowThreads(__tstate);
6373 if (PyErr_Occurred()) SWIG_fail;
6374 }
6375 {
6376 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6377 }
6378 return resultobj;
6379 fail:
6380 return NULL;
6381 }
6382
6383
6384 static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *, PyObject *args, PyObject *kwargs) {
6385 PyObject *resultobj;
6386 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6387 wxWindow *arg2 = (wxWindow *) 0 ;
6388 wxWindow *arg3 = (wxWindow *) 0 ;
6389 int arg4 = (int) 0 ;
6390 bool result;
6391 PyObject * obj0 = 0 ;
6392 PyObject * obj1 = 0 ;
6393 PyObject * obj2 = 0 ;
6394 PyObject * obj3 = 0 ;
6395 char *kwnames[] = {
6396 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
6397 };
6398
6399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6400 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6401 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6402 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6403 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6404 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
6405 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6406 if (obj3) {
6407 arg4 = (int)SWIG_As_int(obj3);
6408 if (PyErr_Occurred()) SWIG_fail;
6409 }
6410 {
6411 PyThreadState* __tstate = wxPyBeginAllowThreads();
6412 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
6413
6414 wxPyEndAllowThreads(__tstate);
6415 if (PyErr_Occurred()) SWIG_fail;
6416 }
6417 {
6418 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6419 }
6420 return resultobj;
6421 fail:
6422 return NULL;
6423 }
6424
6425
6426 static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *, PyObject *args, PyObject *kwargs) {
6427 PyObject *resultobj;
6428 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6429 wxWindow *arg2 = (wxWindow *) NULL ;
6430 bool result;
6431 PyObject * obj0 = 0 ;
6432 PyObject * obj1 = 0 ;
6433 char *kwnames[] = {
6434 (char *) "self",(char *) "toRemove", NULL
6435 };
6436
6437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail;
6438 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6439 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6440 if (obj1) {
6441 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6442 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6443 }
6444 {
6445 PyThreadState* __tstate = wxPyBeginAllowThreads();
6446 result = (bool)(arg1)->Unsplit(arg2);
6447
6448 wxPyEndAllowThreads(__tstate);
6449 if (PyErr_Occurred()) SWIG_fail;
6450 }
6451 {
6452 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6453 }
6454 return resultobj;
6455 fail:
6456 return NULL;
6457 }
6458
6459
6460 static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *, PyObject *args, PyObject *kwargs) {
6461 PyObject *resultobj;
6462 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6463 wxWindow *arg2 = (wxWindow *) 0 ;
6464 wxWindow *arg3 = (wxWindow *) 0 ;
6465 bool result;
6466 PyObject * obj0 = 0 ;
6467 PyObject * obj1 = 0 ;
6468 PyObject * obj2 = 0 ;
6469 char *kwnames[] = {
6470 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
6471 };
6472
6473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
6474 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6475 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6476 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6477 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6478 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
6479 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6480 {
6481 PyThreadState* __tstate = wxPyBeginAllowThreads();
6482 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
6483
6484 wxPyEndAllowThreads(__tstate);
6485 if (PyErr_Occurred()) SWIG_fail;
6486 }
6487 {
6488 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6489 }
6490 return resultobj;
6491 fail:
6492 return NULL;
6493 }
6494
6495
6496 static PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *, PyObject *args, PyObject *kwargs) {
6497 PyObject *resultobj;
6498 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6499 PyObject * obj0 = 0 ;
6500 char *kwnames[] = {
6501 (char *) "self", NULL
6502 };
6503
6504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_UpdateSize",kwnames,&obj0)) goto fail;
6505 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6506 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6507 {
6508 PyThreadState* __tstate = wxPyBeginAllowThreads();
6509 (arg1)->UpdateSize();
6510
6511 wxPyEndAllowThreads(__tstate);
6512 if (PyErr_Occurred()) SWIG_fail;
6513 }
6514 Py_INCREF(Py_None); resultobj = Py_None;
6515 return resultobj;
6516 fail:
6517 return NULL;
6518 }
6519
6520
6521 static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *, PyObject *args, PyObject *kwargs) {
6522 PyObject *resultobj;
6523 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6524 bool result;
6525 PyObject * obj0 = 0 ;
6526 char *kwnames[] = {
6527 (char *) "self", NULL
6528 };
6529
6530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail;
6531 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6532 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6533 {
6534 PyThreadState* __tstate = wxPyBeginAllowThreads();
6535 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
6536
6537 wxPyEndAllowThreads(__tstate);
6538 if (PyErr_Occurred()) SWIG_fail;
6539 }
6540 {
6541 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6542 }
6543 return resultobj;
6544 fail:
6545 return NULL;
6546 }
6547
6548
6549 static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *, PyObject *args, PyObject *kwargs) {
6550 PyObject *resultobj;
6551 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6552 int arg2 ;
6553 PyObject * obj0 = 0 ;
6554 PyObject * obj1 = 0 ;
6555 char *kwnames[] = {
6556 (char *) "self",(char *) "width", NULL
6557 };
6558
6559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) goto fail;
6560 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6561 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6562 arg2 = (int)SWIG_As_int(obj1);
6563 if (PyErr_Occurred()) SWIG_fail;
6564 {
6565 PyThreadState* __tstate = wxPyBeginAllowThreads();
6566 (arg1)->SetSashSize(arg2);
6567
6568 wxPyEndAllowThreads(__tstate);
6569 if (PyErr_Occurred()) SWIG_fail;
6570 }
6571 Py_INCREF(Py_None); resultobj = Py_None;
6572 return resultobj;
6573 fail:
6574 return NULL;
6575 }
6576
6577
6578 static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
6579 PyObject *resultobj;
6580 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6581 int arg2 ;
6582 PyObject * obj0 = 0 ;
6583 PyObject * obj1 = 0 ;
6584 char *kwnames[] = {
6585 (char *) "self",(char *) "width", NULL
6586 };
6587
6588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) goto fail;
6589 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6590 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6591 arg2 = (int)SWIG_As_int(obj1);
6592 if (PyErr_Occurred()) SWIG_fail;
6593 {
6594 PyThreadState* __tstate = wxPyBeginAllowThreads();
6595 (arg1)->SetBorderSize(arg2);
6596
6597 wxPyEndAllowThreads(__tstate);
6598 if (PyErr_Occurred()) SWIG_fail;
6599 }
6600 Py_INCREF(Py_None); resultobj = Py_None;
6601 return resultobj;
6602 fail:
6603 return NULL;
6604 }
6605
6606
6607 static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *, PyObject *args, PyObject *kwargs) {
6608 PyObject *resultobj;
6609 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6610 int result;
6611 PyObject * obj0 = 0 ;
6612 char *kwnames[] = {
6613 (char *) "self", NULL
6614 };
6615
6616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail;
6617 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6618 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6619 {
6620 PyThreadState* __tstate = wxPyBeginAllowThreads();
6621 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
6622
6623 wxPyEndAllowThreads(__tstate);
6624 if (PyErr_Occurred()) SWIG_fail;
6625 }
6626 resultobj = SWIG_From_int((int)result);
6627 return resultobj;
6628 fail:
6629 return NULL;
6630 }
6631
6632
6633 static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
6634 PyObject *resultobj;
6635 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6636 int result;
6637 PyObject * obj0 = 0 ;
6638 char *kwnames[] = {
6639 (char *) "self", NULL
6640 };
6641
6642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail;
6643 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6644 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6645 {
6646 PyThreadState* __tstate = wxPyBeginAllowThreads();
6647 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
6648
6649 wxPyEndAllowThreads(__tstate);
6650 if (PyErr_Occurred()) SWIG_fail;
6651 }
6652 resultobj = SWIG_From_int((int)result);
6653 return resultobj;
6654 fail:
6655 return NULL;
6656 }
6657
6658
6659 static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
6660 PyObject *resultobj;
6661 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6662 int arg2 ;
6663 bool arg3 = (bool) true ;
6664 PyObject * obj0 = 0 ;
6665 PyObject * obj1 = 0 ;
6666 PyObject * obj2 = 0 ;
6667 char *kwnames[] = {
6668 (char *) "self",(char *) "position",(char *) "redraw", NULL
6669 };
6670
6671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
6672 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6673 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6674 arg2 = (int)SWIG_As_int(obj1);
6675 if (PyErr_Occurred()) SWIG_fail;
6676 if (obj2) {
6677 arg3 = (bool)SWIG_As_bool(obj2);
6678 if (PyErr_Occurred()) SWIG_fail;
6679 }
6680 {
6681 PyThreadState* __tstate = wxPyBeginAllowThreads();
6682 (arg1)->SetSashPosition(arg2,arg3);
6683
6684 wxPyEndAllowThreads(__tstate);
6685 if (PyErr_Occurred()) SWIG_fail;
6686 }
6687 Py_INCREF(Py_None); resultobj = Py_None;
6688 return resultobj;
6689 fail:
6690 return NULL;
6691 }
6692
6693
6694 static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
6695 PyObject *resultobj;
6696 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6697 int result;
6698 PyObject * obj0 = 0 ;
6699 char *kwnames[] = {
6700 (char *) "self", NULL
6701 };
6702
6703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail;
6704 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6705 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6706 {
6707 PyThreadState* __tstate = wxPyBeginAllowThreads();
6708 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
6709
6710 wxPyEndAllowThreads(__tstate);
6711 if (PyErr_Occurred()) SWIG_fail;
6712 }
6713 resultobj = SWIG_From_int((int)result);
6714 return resultobj;
6715 fail:
6716 return NULL;
6717 }
6718
6719
6720 static PyObject *_wrap_SplitterWindow_SetSashGravity(PyObject *, PyObject *args, PyObject *kwargs) {
6721 PyObject *resultobj;
6722 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6723 double arg2 ;
6724 PyObject * obj0 = 0 ;
6725 PyObject * obj1 = 0 ;
6726 char *kwnames[] = {
6727 (char *) "self",(char *) "gravity", NULL
6728 };
6729
6730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashGravity",kwnames,&obj0,&obj1)) goto fail;
6731 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6732 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6733 arg2 = (double)SWIG_As_double(obj1);
6734 if (PyErr_Occurred()) SWIG_fail;
6735 {
6736 PyThreadState* __tstate = wxPyBeginAllowThreads();
6737 (arg1)->SetSashGravity(arg2);
6738
6739 wxPyEndAllowThreads(__tstate);
6740 if (PyErr_Occurred()) SWIG_fail;
6741 }
6742 Py_INCREF(Py_None); resultobj = Py_None;
6743 return resultobj;
6744 fail:
6745 return NULL;
6746 }
6747
6748
6749 static PyObject *_wrap_SplitterWindow_GetSashGravity(PyObject *, PyObject *args, PyObject *kwargs) {
6750 PyObject *resultobj;
6751 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6752 double result;
6753 PyObject * obj0 = 0 ;
6754 char *kwnames[] = {
6755 (char *) "self", NULL
6756 };
6757
6758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashGravity",kwnames,&obj0)) goto fail;
6759 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6760 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6761 {
6762 PyThreadState* __tstate = wxPyBeginAllowThreads();
6763 result = (double)((wxSplitterWindow const *)arg1)->GetSashGravity();
6764
6765 wxPyEndAllowThreads(__tstate);
6766 if (PyErr_Occurred()) SWIG_fail;
6767 }
6768 resultobj = SWIG_From_double((double)result);
6769 return resultobj;
6770 fail:
6771 return NULL;
6772 }
6773
6774
6775 static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *, PyObject *args, PyObject *kwargs) {
6776 PyObject *resultobj;
6777 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6778 int arg2 ;
6779 PyObject * obj0 = 0 ;
6780 PyObject * obj1 = 0 ;
6781 char *kwnames[] = {
6782 (char *) "self",(char *) "min", NULL
6783 };
6784
6785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) goto fail;
6786 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6787 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6788 arg2 = (int)SWIG_As_int(obj1);
6789 if (PyErr_Occurred()) SWIG_fail;
6790 {
6791 PyThreadState* __tstate = wxPyBeginAllowThreads();
6792 (arg1)->SetMinimumPaneSize(arg2);
6793
6794 wxPyEndAllowThreads(__tstate);
6795 if (PyErr_Occurred()) SWIG_fail;
6796 }
6797 Py_INCREF(Py_None); resultobj = Py_None;
6798 return resultobj;
6799 fail:
6800 return NULL;
6801 }
6802
6803
6804 static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *, PyObject *args, PyObject *kwargs) {
6805 PyObject *resultobj;
6806 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6807 int result;
6808 PyObject * obj0 = 0 ;
6809 char *kwnames[] = {
6810 (char *) "self", NULL
6811 };
6812
6813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail;
6814 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6816 {
6817 PyThreadState* __tstate = wxPyBeginAllowThreads();
6818 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
6819
6820 wxPyEndAllowThreads(__tstate);
6821 if (PyErr_Occurred()) SWIG_fail;
6822 }
6823 resultobj = SWIG_From_int((int)result);
6824 return resultobj;
6825 fail:
6826 return NULL;
6827 }
6828
6829
6830 static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *, PyObject *args, PyObject *kwargs) {
6831 PyObject *resultobj;
6832 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6833 int arg2 ;
6834 int arg3 ;
6835 int arg4 = (int) 5 ;
6836 bool result;
6837 PyObject * obj0 = 0 ;
6838 PyObject * obj1 = 0 ;
6839 PyObject * obj2 = 0 ;
6840 PyObject * obj3 = 0 ;
6841 char *kwnames[] = {
6842 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6843 };
6844
6845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6846 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6847 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6848 arg2 = (int)SWIG_As_int(obj1);
6849 if (PyErr_Occurred()) SWIG_fail;
6850 arg3 = (int)SWIG_As_int(obj2);
6851 if (PyErr_Occurred()) SWIG_fail;
6852 if (obj3) {
6853 arg4 = (int)SWIG_As_int(obj3);
6854 if (PyErr_Occurred()) SWIG_fail;
6855 }
6856 {
6857 PyThreadState* __tstate = wxPyBeginAllowThreads();
6858 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
6859
6860 wxPyEndAllowThreads(__tstate);
6861 if (PyErr_Occurred()) SWIG_fail;
6862 }
6863 {
6864 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6865 }
6866 return resultobj;
6867 fail:
6868 return NULL;
6869 }
6870
6871
6872 static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *, PyObject *args, PyObject *kwargs) {
6873 PyObject *resultobj;
6874 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6875 PyObject * obj0 = 0 ;
6876 char *kwnames[] = {
6877 (char *) "self", NULL
6878 };
6879
6880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail;
6881 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6882 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6883 {
6884 PyThreadState* __tstate = wxPyBeginAllowThreads();
6885 (arg1)->SizeWindows();
6886
6887 wxPyEndAllowThreads(__tstate);
6888 if (PyErr_Occurred()) SWIG_fail;
6889 }
6890 Py_INCREF(Py_None); resultobj = Py_None;
6891 return resultobj;
6892 fail:
6893 return NULL;
6894 }
6895
6896
6897 static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *, PyObject *args, PyObject *kwargs) {
6898 PyObject *resultobj;
6899 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6900 bool arg2 ;
6901 PyObject * obj0 = 0 ;
6902 PyObject * obj1 = 0 ;
6903 char *kwnames[] = {
6904 (char *) "self",(char *) "needUpdating", NULL
6905 };
6906
6907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail;
6908 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6909 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6910 arg2 = (bool)SWIG_As_bool(obj1);
6911 if (PyErr_Occurred()) SWIG_fail;
6912 {
6913 PyThreadState* __tstate = wxPyBeginAllowThreads();
6914 (arg1)->SetNeedUpdating(arg2);
6915
6916 wxPyEndAllowThreads(__tstate);
6917 if (PyErr_Occurred()) SWIG_fail;
6918 }
6919 Py_INCREF(Py_None); resultobj = Py_None;
6920 return resultobj;
6921 fail:
6922 return NULL;
6923 }
6924
6925
6926 static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *, PyObject *args, PyObject *kwargs) {
6927 PyObject *resultobj;
6928 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6929 bool result;
6930 PyObject * obj0 = 0 ;
6931 char *kwnames[] = {
6932 (char *) "self", NULL
6933 };
6934
6935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail;
6936 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6937 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6938 {
6939 PyThreadState* __tstate = wxPyBeginAllowThreads();
6940 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
6941
6942 wxPyEndAllowThreads(__tstate);
6943 if (PyErr_Occurred()) SWIG_fail;
6944 }
6945 {
6946 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6947 }
6948 return resultobj;
6949 fail:
6950 return NULL;
6951 }
6952
6953
6954 static PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
6955 PyObject *resultobj;
6956 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
6957 wxVisualAttributes result;
6958 PyObject * obj0 = 0 ;
6959 char *kwnames[] = {
6960 (char *) "variant", NULL
6961 };
6962
6963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6964 if (obj0) {
6965 arg1 = (int)SWIG_As_int(obj0);
6966 if (PyErr_Occurred()) SWIG_fail;
6967 }
6968 {
6969 if (!wxPyCheckForApp()) SWIG_fail;
6970 PyThreadState* __tstate = wxPyBeginAllowThreads();
6971 result = wxSplitterWindow::GetClassDefaultAttributes((wxWindowVariant )arg1);
6972
6973 wxPyEndAllowThreads(__tstate);
6974 if (PyErr_Occurred()) SWIG_fail;
6975 }
6976 {
6977 wxVisualAttributes * resultptr;
6978 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
6979 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6980 }
6981 return resultobj;
6982 fail:
6983 return NULL;
6984 }
6985
6986
6987 static PyObject * SplitterWindow_swigregister(PyObject *, PyObject *args) {
6988 PyObject *obj;
6989 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6990 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj);
6991 Py_INCREF(obj);
6992 return Py_BuildValue((char *)"");
6993 }
6994 static PyObject *_wrap_new_SplitterEvent(PyObject *, PyObject *args, PyObject *kwargs) {
6995 PyObject *resultobj;
6996 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
6997 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
6998 wxSplitterEvent *result;
6999 PyObject * obj0 = 0 ;
7000 PyObject * obj1 = 0 ;
7001 char *kwnames[] = {
7002 (char *) "type",(char *) "splitter", NULL
7003 };
7004
7005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) goto fail;
7006 if (obj0) {
7007 arg1 = (wxEventType)SWIG_As_int(obj0);
7008 if (PyErr_Occurred()) SWIG_fail;
7009 }
7010 if (obj1) {
7011 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSplitterWindow,
7012 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7013 }
7014 {
7015 PyThreadState* __tstate = wxPyBeginAllowThreads();
7016 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
7017
7018 wxPyEndAllowThreads(__tstate);
7019 if (PyErr_Occurred()) SWIG_fail;
7020 }
7021 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterEvent, 1);
7022 return resultobj;
7023 fail:
7024 return NULL;
7025 }
7026
7027
7028 static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
7029 PyObject *resultobj;
7030 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
7031 int arg2 ;
7032 PyObject * obj0 = 0 ;
7033 PyObject * obj1 = 0 ;
7034 char *kwnames[] = {
7035 (char *) "self",(char *) "pos", NULL
7036 };
7037
7038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) goto fail;
7039 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
7040 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7041 arg2 = (int)SWIG_As_int(obj1);
7042 if (PyErr_Occurred()) SWIG_fail;
7043 {
7044 PyThreadState* __tstate = wxPyBeginAllowThreads();
7045 (arg1)->SetSashPosition(arg2);
7046
7047 wxPyEndAllowThreads(__tstate);
7048 if (PyErr_Occurred()) SWIG_fail;
7049 }
7050 Py_INCREF(Py_None); resultobj = Py_None;
7051 return resultobj;
7052 fail:
7053 return NULL;
7054 }
7055
7056
7057 static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
7058 PyObject *resultobj;
7059 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
7060 int result;
7061 PyObject * obj0 = 0 ;
7062 char *kwnames[] = {
7063 (char *) "self", NULL
7064 };
7065
7066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail;
7067 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
7068 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7069 {
7070 PyThreadState* __tstate = wxPyBeginAllowThreads();
7071 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
7072
7073 wxPyEndAllowThreads(__tstate);
7074 if (PyErr_Occurred()) SWIG_fail;
7075 }
7076 resultobj = SWIG_From_int((int)result);
7077 return resultobj;
7078 fail:
7079 return NULL;
7080 }
7081
7082
7083 static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *, PyObject *args, PyObject *kwargs) {
7084 PyObject *resultobj;
7085 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
7086 wxWindow *result;
7087 PyObject * obj0 = 0 ;
7088 char *kwnames[] = {
7089 (char *) "self", NULL
7090 };
7091
7092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail;
7093 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
7094 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7095 {
7096 PyThreadState* __tstate = wxPyBeginAllowThreads();
7097 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
7098
7099 wxPyEndAllowThreads(__tstate);
7100 if (PyErr_Occurred()) SWIG_fail;
7101 }
7102 {
7103 resultobj = wxPyMake_wxObject(result, 0);
7104 }
7105 return resultobj;
7106 fail:
7107 return NULL;
7108 }
7109
7110
7111 static PyObject *_wrap_SplitterEvent_GetX(PyObject *, PyObject *args, PyObject *kwargs) {
7112 PyObject *resultobj;
7113 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
7114 int result;
7115 PyObject * obj0 = 0 ;
7116 char *kwnames[] = {
7117 (char *) "self", NULL
7118 };
7119
7120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail;
7121 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
7122 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7123 {
7124 PyThreadState* __tstate = wxPyBeginAllowThreads();
7125 result = (int)((wxSplitterEvent const *)arg1)->GetX();
7126
7127 wxPyEndAllowThreads(__tstate);
7128 if (PyErr_Occurred()) SWIG_fail;
7129 }
7130 resultobj = SWIG_From_int((int)result);
7131 return resultobj;
7132 fail:
7133 return NULL;
7134 }
7135
7136
7137 static PyObject *_wrap_SplitterEvent_GetY(PyObject *, PyObject *args, PyObject *kwargs) {
7138 PyObject *resultobj;
7139 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
7140 int result;
7141 PyObject * obj0 = 0 ;
7142 char *kwnames[] = {
7143 (char *) "self", NULL
7144 };
7145
7146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail;
7147 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
7148 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7149 {
7150 PyThreadState* __tstate = wxPyBeginAllowThreads();
7151 result = (int)((wxSplitterEvent const *)arg1)->GetY();
7152
7153 wxPyEndAllowThreads(__tstate);
7154 if (PyErr_Occurred()) SWIG_fail;
7155 }
7156 resultobj = SWIG_From_int((int)result);
7157 return resultobj;
7158 fail:
7159 return NULL;
7160 }
7161
7162
7163 static PyObject * SplitterEvent_swigregister(PyObject *, PyObject *args) {
7164 PyObject *obj;
7165 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7166 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj);
7167 Py_INCREF(obj);
7168 return Py_BuildValue((char *)"");
7169 }
7170 static int _wrap_SashNameStr_set(PyObject *) {
7171 PyErr_SetString(PyExc_TypeError,"Variable SashNameStr is read-only.");
7172 return 1;
7173 }
7174
7175
7176 static PyObject *_wrap_SashNameStr_get() {
7177 PyObject *pyobj;
7178
7179 {
7180 #if wxUSE_UNICODE
7181 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
7182 #else
7183 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
7184 #endif
7185 }
7186 return pyobj;
7187 }
7188
7189
7190 static int _wrap_SashLayoutNameStr_set(PyObject *) {
7191 PyErr_SetString(PyExc_TypeError,"Variable SashLayoutNameStr is read-only.");
7192 return 1;
7193 }
7194
7195
7196 static PyObject *_wrap_SashLayoutNameStr_get() {
7197 PyObject *pyobj;
7198
7199 {
7200 #if wxUSE_UNICODE
7201 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
7202 #else
7203 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
7204 #endif
7205 }
7206 return pyobj;
7207 }
7208
7209
7210 static PyObject *_wrap_new_SashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7211 PyObject *resultobj;
7212 wxWindow *arg1 = (wxWindow *) 0 ;
7213 int arg2 = (int) -1 ;
7214 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7215 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7216 wxSize const &arg4_defvalue = wxDefaultSize ;
7217 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7218 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
7219 wxString const &arg6_defvalue = wxPySashNameStr ;
7220 wxString *arg6 = (wxString *) &arg6_defvalue ;
7221 wxSashWindow *result;
7222 wxPoint temp3 ;
7223 wxSize temp4 ;
7224 bool temp6 = false ;
7225 PyObject * obj0 = 0 ;
7226 PyObject * obj1 = 0 ;
7227 PyObject * obj2 = 0 ;
7228 PyObject * obj3 = 0 ;
7229 PyObject * obj4 = 0 ;
7230 PyObject * obj5 = 0 ;
7231 char *kwnames[] = {
7232 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7233 };
7234
7235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
7236 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
7237 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7238 if (obj1) {
7239 arg2 = (int)SWIG_As_int(obj1);
7240 if (PyErr_Occurred()) SWIG_fail;
7241 }
7242 if (obj2) {
7243 {
7244 arg3 = &temp3;
7245 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7246 }
7247 }
7248 if (obj3) {
7249 {
7250 arg4 = &temp4;
7251 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7252 }
7253 }
7254 if (obj4) {
7255 arg5 = (long)SWIG_As_long(obj4);
7256 if (PyErr_Occurred()) SWIG_fail;
7257 }
7258 if (obj5) {
7259 {
7260 arg6 = wxString_in_helper(obj5);
7261 if (arg6 == NULL) SWIG_fail;
7262 temp6 = true;
7263 }
7264 }
7265 {
7266 if (!wxPyCheckForApp()) SWIG_fail;
7267 PyThreadState* __tstate = wxPyBeginAllowThreads();
7268 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7269
7270 wxPyEndAllowThreads(__tstate);
7271 if (PyErr_Occurred()) SWIG_fail;
7272 }
7273 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
7274 {
7275 if (temp6)
7276 delete arg6;
7277 }
7278 return resultobj;
7279 fail:
7280 {
7281 if (temp6)
7282 delete arg6;
7283 }
7284 return NULL;
7285 }
7286
7287
7288 static PyObject *_wrap_new_PreSashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7289 PyObject *resultobj;
7290 wxSashWindow *result;
7291 char *kwnames[] = {
7292 NULL
7293 };
7294
7295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail;
7296 {
7297 if (!wxPyCheckForApp()) SWIG_fail;
7298 PyThreadState* __tstate = wxPyBeginAllowThreads();
7299 result = (wxSashWindow *)new wxSashWindow();
7300
7301 wxPyEndAllowThreads(__tstate);
7302 if (PyErr_Occurred()) SWIG_fail;
7303 }
7304 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
7305 return resultobj;
7306 fail:
7307 return NULL;
7308 }
7309
7310
7311 static PyObject *_wrap_SashWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7312 PyObject *resultobj;
7313 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7314 wxWindow *arg2 = (wxWindow *) 0 ;
7315 int arg3 = (int) -1 ;
7316 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7317 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7318 wxSize const &arg5_defvalue = wxDefaultSize ;
7319 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7320 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
7321 wxString const &arg7_defvalue = wxPySashNameStr ;
7322 wxString *arg7 = (wxString *) &arg7_defvalue ;
7323 bool result;
7324 wxPoint temp4 ;
7325 wxSize temp5 ;
7326 bool temp7 = false ;
7327 PyObject * obj0 = 0 ;
7328 PyObject * obj1 = 0 ;
7329 PyObject * obj2 = 0 ;
7330 PyObject * obj3 = 0 ;
7331 PyObject * obj4 = 0 ;
7332 PyObject * obj5 = 0 ;
7333 PyObject * obj6 = 0 ;
7334 char *kwnames[] = {
7335 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7336 };
7337
7338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
7339 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7340 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7341 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
7342 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7343 if (obj2) {
7344 arg3 = (int)SWIG_As_int(obj2);
7345 if (PyErr_Occurred()) SWIG_fail;
7346 }
7347 if (obj3) {
7348 {
7349 arg4 = &temp4;
7350 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7351 }
7352 }
7353 if (obj4) {
7354 {
7355 arg5 = &temp5;
7356 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7357 }
7358 }
7359 if (obj5) {
7360 arg6 = (long)SWIG_As_long(obj5);
7361 if (PyErr_Occurred()) SWIG_fail;
7362 }
7363 if (obj6) {
7364 {
7365 arg7 = wxString_in_helper(obj6);
7366 if (arg7 == NULL) SWIG_fail;
7367 temp7 = true;
7368 }
7369 }
7370 {
7371 PyThreadState* __tstate = wxPyBeginAllowThreads();
7372 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7373
7374 wxPyEndAllowThreads(__tstate);
7375 if (PyErr_Occurred()) SWIG_fail;
7376 }
7377 {
7378 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7379 }
7380 {
7381 if (temp7)
7382 delete arg7;
7383 }
7384 return resultobj;
7385 fail:
7386 {
7387 if (temp7)
7388 delete arg7;
7389 }
7390 return NULL;
7391 }
7392
7393
7394 static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *, PyObject *args, PyObject *kwargs) {
7395 PyObject *resultobj;
7396 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7397 int arg2 ;
7398 bool arg3 ;
7399 PyObject * obj0 = 0 ;
7400 PyObject * obj1 = 0 ;
7401 PyObject * obj2 = 0 ;
7402 char *kwnames[] = {
7403 (char *) "self",(char *) "edge",(char *) "sash", NULL
7404 };
7405
7406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) goto fail;
7407 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7408 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7409 arg2 = (int)SWIG_As_int(obj1);
7410 if (PyErr_Occurred()) SWIG_fail;
7411 arg3 = (bool)SWIG_As_bool(obj2);
7412 if (PyErr_Occurred()) SWIG_fail;
7413 {
7414 PyThreadState* __tstate = wxPyBeginAllowThreads();
7415 (arg1)->SetSashVisible((wxSashEdgePosition )arg2,arg3);
7416
7417 wxPyEndAllowThreads(__tstate);
7418 if (PyErr_Occurred()) SWIG_fail;
7419 }
7420 Py_INCREF(Py_None); resultobj = Py_None;
7421 return resultobj;
7422 fail:
7423 return NULL;
7424 }
7425
7426
7427 static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *, PyObject *args, PyObject *kwargs) {
7428 PyObject *resultobj;
7429 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7430 int arg2 ;
7431 bool result;
7432 PyObject * obj0 = 0 ;
7433 PyObject * obj1 = 0 ;
7434 char *kwnames[] = {
7435 (char *) "self",(char *) "edge", NULL
7436 };
7437
7438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) goto fail;
7439 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7440 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7441 arg2 = (int)SWIG_As_int(obj1);
7442 if (PyErr_Occurred()) SWIG_fail;
7443 {
7444 PyThreadState* __tstate = wxPyBeginAllowThreads();
7445 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible((wxSashEdgePosition )arg2);
7446
7447 wxPyEndAllowThreads(__tstate);
7448 if (PyErr_Occurred()) SWIG_fail;
7449 }
7450 {
7451 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7452 }
7453 return resultobj;
7454 fail:
7455 return NULL;
7456 }
7457
7458
7459 static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *, PyObject *args, PyObject *kwargs) {
7460 PyObject *resultobj;
7461 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7462 int arg2 ;
7463 bool arg3 ;
7464 PyObject * obj0 = 0 ;
7465 PyObject * obj1 = 0 ;
7466 PyObject * obj2 = 0 ;
7467 char *kwnames[] = {
7468 (char *) "self",(char *) "edge",(char *) "border", NULL
7469 };
7470
7471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) goto fail;
7472 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7473 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7474 arg2 = (int)SWIG_As_int(obj1);
7475 if (PyErr_Occurred()) SWIG_fail;
7476 arg3 = (bool)SWIG_As_bool(obj2);
7477 if (PyErr_Occurred()) SWIG_fail;
7478 {
7479 PyThreadState* __tstate = wxPyBeginAllowThreads();
7480 (arg1)->SetSashBorder((wxSashEdgePosition )arg2,arg3);
7481
7482 wxPyEndAllowThreads(__tstate);
7483 if (PyErr_Occurred()) SWIG_fail;
7484 }
7485 Py_INCREF(Py_None); resultobj = Py_None;
7486 return resultobj;
7487 fail:
7488 return NULL;
7489 }
7490
7491
7492 static PyObject *_wrap_SashWindow_HasBorder(PyObject *, PyObject *args, PyObject *kwargs) {
7493 PyObject *resultobj;
7494 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7495 int arg2 ;
7496 bool result;
7497 PyObject * obj0 = 0 ;
7498 PyObject * obj1 = 0 ;
7499 char *kwnames[] = {
7500 (char *) "self",(char *) "edge", NULL
7501 };
7502
7503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) goto fail;
7504 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7505 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7506 arg2 = (int)SWIG_As_int(obj1);
7507 if (PyErr_Occurred()) SWIG_fail;
7508 {
7509 PyThreadState* __tstate = wxPyBeginAllowThreads();
7510 result = (bool)((wxSashWindow const *)arg1)->HasBorder((wxSashEdgePosition )arg2);
7511
7512 wxPyEndAllowThreads(__tstate);
7513 if (PyErr_Occurred()) SWIG_fail;
7514 }
7515 {
7516 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7517 }
7518 return resultobj;
7519 fail:
7520 return NULL;
7521 }
7522
7523
7524 static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *, PyObject *args, PyObject *kwargs) {
7525 PyObject *resultobj;
7526 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7527 int arg2 ;
7528 int result;
7529 PyObject * obj0 = 0 ;
7530 PyObject * obj1 = 0 ;
7531 char *kwnames[] = {
7532 (char *) "self",(char *) "edge", NULL
7533 };
7534
7535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) goto fail;
7536 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7537 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7538 arg2 = (int)SWIG_As_int(obj1);
7539 if (PyErr_Occurred()) SWIG_fail;
7540 {
7541 PyThreadState* __tstate = wxPyBeginAllowThreads();
7542 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin((wxSashEdgePosition )arg2);
7543
7544 wxPyEndAllowThreads(__tstate);
7545 if (PyErr_Occurred()) SWIG_fail;
7546 }
7547 resultobj = SWIG_From_int((int)result);
7548 return resultobj;
7549 fail:
7550 return NULL;
7551 }
7552
7553
7554 static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
7555 PyObject *resultobj;
7556 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7557 int arg2 ;
7558 PyObject * obj0 = 0 ;
7559 PyObject * obj1 = 0 ;
7560 char *kwnames[] = {
7561 (char *) "self",(char *) "width", NULL
7562 };
7563
7564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) goto fail;
7565 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7566 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7567 arg2 = (int)SWIG_As_int(obj1);
7568 if (PyErr_Occurred()) SWIG_fail;
7569 {
7570 PyThreadState* __tstate = wxPyBeginAllowThreads();
7571 (arg1)->SetDefaultBorderSize(arg2);
7572
7573 wxPyEndAllowThreads(__tstate);
7574 if (PyErr_Occurred()) SWIG_fail;
7575 }
7576 Py_INCREF(Py_None); resultobj = Py_None;
7577 return resultobj;
7578 fail:
7579 return NULL;
7580 }
7581
7582
7583 static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
7584 PyObject *resultobj;
7585 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7586 int result;
7587 PyObject * obj0 = 0 ;
7588 char *kwnames[] = {
7589 (char *) "self", NULL
7590 };
7591
7592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail;
7593 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7594 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7595 {
7596 PyThreadState* __tstate = wxPyBeginAllowThreads();
7597 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
7598
7599 wxPyEndAllowThreads(__tstate);
7600 if (PyErr_Occurred()) SWIG_fail;
7601 }
7602 resultobj = SWIG_From_int((int)result);
7603 return resultobj;
7604 fail:
7605 return NULL;
7606 }
7607
7608
7609 static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
7610 PyObject *resultobj;
7611 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7612 int arg2 ;
7613 PyObject * obj0 = 0 ;
7614 PyObject * obj1 = 0 ;
7615 char *kwnames[] = {
7616 (char *) "self",(char *) "width", NULL
7617 };
7618
7619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) goto fail;
7620 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7621 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7622 arg2 = (int)SWIG_As_int(obj1);
7623 if (PyErr_Occurred()) SWIG_fail;
7624 {
7625 PyThreadState* __tstate = wxPyBeginAllowThreads();
7626 (arg1)->SetExtraBorderSize(arg2);
7627
7628 wxPyEndAllowThreads(__tstate);
7629 if (PyErr_Occurred()) SWIG_fail;
7630 }
7631 Py_INCREF(Py_None); resultobj = Py_None;
7632 return resultobj;
7633 fail:
7634 return NULL;
7635 }
7636
7637
7638 static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
7639 PyObject *resultobj;
7640 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7641 int result;
7642 PyObject * obj0 = 0 ;
7643 char *kwnames[] = {
7644 (char *) "self", NULL
7645 };
7646
7647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail;
7648 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7649 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7650 {
7651 PyThreadState* __tstate = wxPyBeginAllowThreads();
7652 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
7653
7654 wxPyEndAllowThreads(__tstate);
7655 if (PyErr_Occurred()) SWIG_fail;
7656 }
7657 resultobj = SWIG_From_int((int)result);
7658 return resultobj;
7659 fail:
7660 return NULL;
7661 }
7662
7663
7664 static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
7665 PyObject *resultobj;
7666 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7667 int arg2 ;
7668 PyObject * obj0 = 0 ;
7669 PyObject * obj1 = 0 ;
7670 char *kwnames[] = {
7671 (char *) "self",(char *) "min", NULL
7672 };
7673
7674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) goto fail;
7675 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7676 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7677 arg2 = (int)SWIG_As_int(obj1);
7678 if (PyErr_Occurred()) SWIG_fail;
7679 {
7680 PyThreadState* __tstate = wxPyBeginAllowThreads();
7681 (arg1)->SetMinimumSizeX(arg2);
7682
7683 wxPyEndAllowThreads(__tstate);
7684 if (PyErr_Occurred()) SWIG_fail;
7685 }
7686 Py_INCREF(Py_None); resultobj = Py_None;
7687 return resultobj;
7688 fail:
7689 return NULL;
7690 }
7691
7692
7693 static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
7694 PyObject *resultobj;
7695 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7696 int arg2 ;
7697 PyObject * obj0 = 0 ;
7698 PyObject * obj1 = 0 ;
7699 char *kwnames[] = {
7700 (char *) "self",(char *) "min", NULL
7701 };
7702
7703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) goto fail;
7704 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7705 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7706 arg2 = (int)SWIG_As_int(obj1);
7707 if (PyErr_Occurred()) SWIG_fail;
7708 {
7709 PyThreadState* __tstate = wxPyBeginAllowThreads();
7710 (arg1)->SetMinimumSizeY(arg2);
7711
7712 wxPyEndAllowThreads(__tstate);
7713 if (PyErr_Occurred()) SWIG_fail;
7714 }
7715 Py_INCREF(Py_None); resultobj = Py_None;
7716 return resultobj;
7717 fail:
7718 return NULL;
7719 }
7720
7721
7722 static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
7723 PyObject *resultobj;
7724 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7725 int result;
7726 PyObject * obj0 = 0 ;
7727 char *kwnames[] = {
7728 (char *) "self", NULL
7729 };
7730
7731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail;
7732 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7733 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7734 {
7735 PyThreadState* __tstate = wxPyBeginAllowThreads();
7736 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
7737
7738 wxPyEndAllowThreads(__tstate);
7739 if (PyErr_Occurred()) SWIG_fail;
7740 }
7741 resultobj = SWIG_From_int((int)result);
7742 return resultobj;
7743 fail:
7744 return NULL;
7745 }
7746
7747
7748 static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
7749 PyObject *resultobj;
7750 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7751 int result;
7752 PyObject * obj0 = 0 ;
7753 char *kwnames[] = {
7754 (char *) "self", NULL
7755 };
7756
7757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail;
7758 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7759 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7760 {
7761 PyThreadState* __tstate = wxPyBeginAllowThreads();
7762 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
7763
7764 wxPyEndAllowThreads(__tstate);
7765 if (PyErr_Occurred()) SWIG_fail;
7766 }
7767 resultobj = SWIG_From_int((int)result);
7768 return resultobj;
7769 fail:
7770 return NULL;
7771 }
7772
7773
7774 static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
7775 PyObject *resultobj;
7776 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7777 int arg2 ;
7778 PyObject * obj0 = 0 ;
7779 PyObject * obj1 = 0 ;
7780 char *kwnames[] = {
7781 (char *) "self",(char *) "max", NULL
7782 };
7783
7784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) goto fail;
7785 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7786 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7787 arg2 = (int)SWIG_As_int(obj1);
7788 if (PyErr_Occurred()) SWIG_fail;
7789 {
7790 PyThreadState* __tstate = wxPyBeginAllowThreads();
7791 (arg1)->SetMaximumSizeX(arg2);
7792
7793 wxPyEndAllowThreads(__tstate);
7794 if (PyErr_Occurred()) SWIG_fail;
7795 }
7796 Py_INCREF(Py_None); resultobj = Py_None;
7797 return resultobj;
7798 fail:
7799 return NULL;
7800 }
7801
7802
7803 static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
7804 PyObject *resultobj;
7805 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7806 int arg2 ;
7807 PyObject * obj0 = 0 ;
7808 PyObject * obj1 = 0 ;
7809 char *kwnames[] = {
7810 (char *) "self",(char *) "max", NULL
7811 };
7812
7813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) goto fail;
7814 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7816 arg2 = (int)SWIG_As_int(obj1);
7817 if (PyErr_Occurred()) SWIG_fail;
7818 {
7819 PyThreadState* __tstate = wxPyBeginAllowThreads();
7820 (arg1)->SetMaximumSizeY(arg2);
7821
7822 wxPyEndAllowThreads(__tstate);
7823 if (PyErr_Occurred()) SWIG_fail;
7824 }
7825 Py_INCREF(Py_None); resultobj = Py_None;
7826 return resultobj;
7827 fail:
7828 return NULL;
7829 }
7830
7831
7832 static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
7833 PyObject *resultobj;
7834 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7835 int result;
7836 PyObject * obj0 = 0 ;
7837 char *kwnames[] = {
7838 (char *) "self", NULL
7839 };
7840
7841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail;
7842 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7843 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7844 {
7845 PyThreadState* __tstate = wxPyBeginAllowThreads();
7846 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
7847
7848 wxPyEndAllowThreads(__tstate);
7849 if (PyErr_Occurred()) SWIG_fail;
7850 }
7851 resultobj = SWIG_From_int((int)result);
7852 return resultobj;
7853 fail:
7854 return NULL;
7855 }
7856
7857
7858 static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
7859 PyObject *resultobj;
7860 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7861 int result;
7862 PyObject * obj0 = 0 ;
7863 char *kwnames[] = {
7864 (char *) "self", NULL
7865 };
7866
7867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail;
7868 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7869 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7870 {
7871 PyThreadState* __tstate = wxPyBeginAllowThreads();
7872 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
7873
7874 wxPyEndAllowThreads(__tstate);
7875 if (PyErr_Occurred()) SWIG_fail;
7876 }
7877 resultobj = SWIG_From_int((int)result);
7878 return resultobj;
7879 fail:
7880 return NULL;
7881 }
7882
7883
7884 static PyObject *_wrap_SashWindow_SashHitTest(PyObject *, PyObject *args, PyObject *kwargs) {
7885 PyObject *resultobj;
7886 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7887 int arg2 ;
7888 int arg3 ;
7889 int arg4 = (int) 2 ;
7890 int result;
7891 PyObject * obj0 = 0 ;
7892 PyObject * obj1 = 0 ;
7893 PyObject * obj2 = 0 ;
7894 PyObject * obj3 = 0 ;
7895 char *kwnames[] = {
7896 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
7897 };
7898
7899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7900 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7901 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7902 arg2 = (int)SWIG_As_int(obj1);
7903 if (PyErr_Occurred()) SWIG_fail;
7904 arg3 = (int)SWIG_As_int(obj2);
7905 if (PyErr_Occurred()) SWIG_fail;
7906 if (obj3) {
7907 arg4 = (int)SWIG_As_int(obj3);
7908 if (PyErr_Occurred()) SWIG_fail;
7909 }
7910 {
7911 PyThreadState* __tstate = wxPyBeginAllowThreads();
7912 result = (int)(arg1)->SashHitTest(arg2,arg3,arg4);
7913
7914 wxPyEndAllowThreads(__tstate);
7915 if (PyErr_Occurred()) SWIG_fail;
7916 }
7917 resultobj = SWIG_From_int((int)result);
7918 return resultobj;
7919 fail:
7920 return NULL;
7921 }
7922
7923
7924 static PyObject *_wrap_SashWindow_SizeWindows(PyObject *, PyObject *args, PyObject *kwargs) {
7925 PyObject *resultobj;
7926 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7927 PyObject * obj0 = 0 ;
7928 char *kwnames[] = {
7929 (char *) "self", NULL
7930 };
7931
7932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail;
7933 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7934 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7935 {
7936 PyThreadState* __tstate = wxPyBeginAllowThreads();
7937 (arg1)->SizeWindows();
7938
7939 wxPyEndAllowThreads(__tstate);
7940 if (PyErr_Occurred()) SWIG_fail;
7941 }
7942 Py_INCREF(Py_None); resultobj = Py_None;
7943 return resultobj;
7944 fail:
7945 return NULL;
7946 }
7947
7948
7949 static PyObject * SashWindow_swigregister(PyObject *, PyObject *args) {
7950 PyObject *obj;
7951 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7952 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj);
7953 Py_INCREF(obj);
7954 return Py_BuildValue((char *)"");
7955 }
7956 static PyObject *_wrap_new_SashEvent(PyObject *, PyObject *args, PyObject *kwargs) {
7957 PyObject *resultobj;
7958 int arg1 = (int) 0 ;
7959 int arg2 = (int) wxSASH_NONE ;
7960 wxSashEvent *result;
7961 PyObject * obj0 = 0 ;
7962 PyObject * obj1 = 0 ;
7963 char *kwnames[] = {
7964 (char *) "id",(char *) "edge", NULL
7965 };
7966
7967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) goto fail;
7968 if (obj0) {
7969 arg1 = (int)SWIG_As_int(obj0);
7970 if (PyErr_Occurred()) SWIG_fail;
7971 }
7972 if (obj1) {
7973 arg2 = (int)SWIG_As_int(obj1);
7974 if (PyErr_Occurred()) SWIG_fail;
7975 }
7976 {
7977 PyThreadState* __tstate = wxPyBeginAllowThreads();
7978 result = (wxSashEvent *)new wxSashEvent(arg1,(wxSashEdgePosition )arg2);
7979
7980 wxPyEndAllowThreads(__tstate);
7981 if (PyErr_Occurred()) SWIG_fail;
7982 }
7983 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashEvent, 1);
7984 return resultobj;
7985 fail:
7986 return NULL;
7987 }
7988
7989
7990 static PyObject *_wrap_SashEvent_SetEdge(PyObject *, PyObject *args, PyObject *kwargs) {
7991 PyObject *resultobj;
7992 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7993 int arg2 ;
7994 PyObject * obj0 = 0 ;
7995 PyObject * obj1 = 0 ;
7996 char *kwnames[] = {
7997 (char *) "self",(char *) "edge", NULL
7998 };
7999
8000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) goto fail;
8001 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
8002 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8003 arg2 = (int)SWIG_As_int(obj1);
8004 if (PyErr_Occurred()) SWIG_fail;
8005 {
8006 PyThreadState* __tstate = wxPyBeginAllowThreads();
8007 (arg1)->SetEdge((wxSashEdgePosition )arg2);
8008
8009 wxPyEndAllowThreads(__tstate);
8010 if (PyErr_Occurred()) SWIG_fail;
8011 }
8012 Py_INCREF(Py_None); resultobj = Py_None;
8013 return resultobj;
8014 fail:
8015 return NULL;
8016 }
8017
8018
8019 static PyObject *_wrap_SashEvent_GetEdge(PyObject *, PyObject *args, PyObject *kwargs) {
8020 PyObject *resultobj;
8021 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
8022 int result;
8023 PyObject * obj0 = 0 ;
8024 char *kwnames[] = {
8025 (char *) "self", NULL
8026 };
8027
8028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail;
8029 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
8030 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8031 {
8032 PyThreadState* __tstate = wxPyBeginAllowThreads();
8033 result = (int)((wxSashEvent const *)arg1)->GetEdge();
8034
8035 wxPyEndAllowThreads(__tstate);
8036 if (PyErr_Occurred()) SWIG_fail;
8037 }
8038 resultobj = SWIG_From_int((int)result);
8039 return resultobj;
8040 fail:
8041 return NULL;
8042 }
8043
8044
8045 static PyObject *_wrap_SashEvent_SetDragRect(PyObject *, PyObject *args, PyObject *kwargs) {
8046 PyObject *resultobj;
8047 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
8048 wxRect *arg2 = 0 ;
8049 wxRect temp2 ;
8050 PyObject * obj0 = 0 ;
8051 PyObject * obj1 = 0 ;
8052 char *kwnames[] = {
8053 (char *) "self",(char *) "rect", NULL
8054 };
8055
8056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail;
8057 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
8058 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8059 {
8060 arg2 = &temp2;
8061 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
8062 }
8063 {
8064 PyThreadState* __tstate = wxPyBeginAllowThreads();
8065 (arg1)->SetDragRect((wxRect const &)*arg2);
8066
8067 wxPyEndAllowThreads(__tstate);
8068 if (PyErr_Occurred()) SWIG_fail;
8069 }
8070 Py_INCREF(Py_None); resultobj = Py_None;
8071 return resultobj;
8072 fail:
8073 return NULL;
8074 }
8075
8076
8077 static PyObject *_wrap_SashEvent_GetDragRect(PyObject *, PyObject *args, PyObject *kwargs) {
8078 PyObject *resultobj;
8079 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
8080 wxRect result;
8081 PyObject * obj0 = 0 ;
8082 char *kwnames[] = {
8083 (char *) "self", NULL
8084 };
8085
8086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail;
8087 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
8088 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8089 {
8090 PyThreadState* __tstate = wxPyBeginAllowThreads();
8091 result = ((wxSashEvent const *)arg1)->GetDragRect();
8092
8093 wxPyEndAllowThreads(__tstate);
8094 if (PyErr_Occurred()) SWIG_fail;
8095 }
8096 {
8097 wxRect * resultptr;
8098 resultptr = new wxRect((wxRect &) result);
8099 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
8100 }
8101 return resultobj;
8102 fail:
8103 return NULL;
8104 }
8105
8106
8107 static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *, PyObject *args, PyObject *kwargs) {
8108 PyObject *resultobj;
8109 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
8110 int arg2 ;
8111 PyObject * obj0 = 0 ;
8112 PyObject * obj1 = 0 ;
8113 char *kwnames[] = {
8114 (char *) "self",(char *) "status", NULL
8115 };
8116
8117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) goto fail;
8118 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
8119 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8120 arg2 = (int)SWIG_As_int(obj1);
8121 if (PyErr_Occurred()) SWIG_fail;
8122 {
8123 PyThreadState* __tstate = wxPyBeginAllowThreads();
8124 (arg1)->SetDragStatus((wxSashDragStatus )arg2);
8125
8126 wxPyEndAllowThreads(__tstate);
8127 if (PyErr_Occurred()) SWIG_fail;
8128 }
8129 Py_INCREF(Py_None); resultobj = Py_None;
8130 return resultobj;
8131 fail:
8132 return NULL;
8133 }
8134
8135
8136 static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *, PyObject *args, PyObject *kwargs) {
8137 PyObject *resultobj;
8138 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
8139 int result;
8140 PyObject * obj0 = 0 ;
8141 char *kwnames[] = {
8142 (char *) "self", NULL
8143 };
8144
8145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail;
8146 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
8147 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8148 {
8149 PyThreadState* __tstate = wxPyBeginAllowThreads();
8150 result = (int)((wxSashEvent const *)arg1)->GetDragStatus();
8151
8152 wxPyEndAllowThreads(__tstate);
8153 if (PyErr_Occurred()) SWIG_fail;
8154 }
8155 resultobj = SWIG_From_int((int)result);
8156 return resultobj;
8157 fail:
8158 return NULL;
8159 }
8160
8161
8162 static PyObject * SashEvent_swigregister(PyObject *, PyObject *args) {
8163 PyObject *obj;
8164 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8165 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj);
8166 Py_INCREF(obj);
8167 return Py_BuildValue((char *)"");
8168 }
8169 static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *, PyObject *args, PyObject *kwargs) {
8170 PyObject *resultobj;
8171 int arg1 = (int) 0 ;
8172 wxQueryLayoutInfoEvent *result;
8173 PyObject * obj0 = 0 ;
8174 char *kwnames[] = {
8175 (char *) "id", NULL
8176 };
8177
8178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) goto fail;
8179 if (obj0) {
8180 arg1 = (int)SWIG_As_int(obj0);
8181 if (PyErr_Occurred()) SWIG_fail;
8182 }
8183 {
8184 PyThreadState* __tstate = wxPyBeginAllowThreads();
8185 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
8186
8187 wxPyEndAllowThreads(__tstate);
8188 if (PyErr_Occurred()) SWIG_fail;
8189 }
8190 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, 1);
8191 return resultobj;
8192 fail:
8193 return NULL;
8194 }
8195
8196
8197 static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *, PyObject *args, PyObject *kwargs) {
8198 PyObject *resultobj;
8199 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8200 int arg2 ;
8201 PyObject * obj0 = 0 ;
8202 PyObject * obj1 = 0 ;
8203 char *kwnames[] = {
8204 (char *) "self",(char *) "length", NULL
8205 };
8206
8207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) goto fail;
8208 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8209 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8210 arg2 = (int)SWIG_As_int(obj1);
8211 if (PyErr_Occurred()) SWIG_fail;
8212 {
8213 PyThreadState* __tstate = wxPyBeginAllowThreads();
8214 (arg1)->SetRequestedLength(arg2);
8215
8216 wxPyEndAllowThreads(__tstate);
8217 if (PyErr_Occurred()) SWIG_fail;
8218 }
8219 Py_INCREF(Py_None); resultobj = Py_None;
8220 return resultobj;
8221 fail:
8222 return NULL;
8223 }
8224
8225
8226 static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *, PyObject *args, PyObject *kwargs) {
8227 PyObject *resultobj;
8228 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8229 int result;
8230 PyObject * obj0 = 0 ;
8231 char *kwnames[] = {
8232 (char *) "self", NULL
8233 };
8234
8235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail;
8236 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8237 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8238 {
8239 PyThreadState* __tstate = wxPyBeginAllowThreads();
8240 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
8241
8242 wxPyEndAllowThreads(__tstate);
8243 if (PyErr_Occurred()) SWIG_fail;
8244 }
8245 resultobj = SWIG_From_int((int)result);
8246 return resultobj;
8247 fail:
8248 return NULL;
8249 }
8250
8251
8252 static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
8253 PyObject *resultobj;
8254 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8255 int arg2 ;
8256 PyObject * obj0 = 0 ;
8257 PyObject * obj1 = 0 ;
8258 char *kwnames[] = {
8259 (char *) "self",(char *) "flags", NULL
8260 };
8261
8262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
8263 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8264 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8265 arg2 = (int)SWIG_As_int(obj1);
8266 if (PyErr_Occurred()) SWIG_fail;
8267 {
8268 PyThreadState* __tstate = wxPyBeginAllowThreads();
8269 (arg1)->SetFlags(arg2);
8270
8271 wxPyEndAllowThreads(__tstate);
8272 if (PyErr_Occurred()) SWIG_fail;
8273 }
8274 Py_INCREF(Py_None); resultobj = Py_None;
8275 return resultobj;
8276 fail:
8277 return NULL;
8278 }
8279
8280
8281 static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
8282 PyObject *resultobj;
8283 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8284 int result;
8285 PyObject * obj0 = 0 ;
8286 char *kwnames[] = {
8287 (char *) "self", NULL
8288 };
8289
8290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail;
8291 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8292 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8293 {
8294 PyThreadState* __tstate = wxPyBeginAllowThreads();
8295 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
8296
8297 wxPyEndAllowThreads(__tstate);
8298 if (PyErr_Occurred()) SWIG_fail;
8299 }
8300 resultobj = SWIG_From_int((int)result);
8301 return resultobj;
8302 fail:
8303 return NULL;
8304 }
8305
8306
8307 static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
8308 PyObject *resultobj;
8309 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8310 wxSize *arg2 = 0 ;
8311 wxSize temp2 ;
8312 PyObject * obj0 = 0 ;
8313 PyObject * obj1 = 0 ;
8314 char *kwnames[] = {
8315 (char *) "self",(char *) "size", NULL
8316 };
8317
8318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
8319 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8320 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8321 {
8322 arg2 = &temp2;
8323 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
8324 }
8325 {
8326 PyThreadState* __tstate = wxPyBeginAllowThreads();
8327 (arg1)->SetSize((wxSize const &)*arg2);
8328
8329 wxPyEndAllowThreads(__tstate);
8330 if (PyErr_Occurred()) SWIG_fail;
8331 }
8332 Py_INCREF(Py_None); resultobj = Py_None;
8333 return resultobj;
8334 fail:
8335 return NULL;
8336 }
8337
8338
8339 static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
8340 PyObject *resultobj;
8341 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8342 wxSize result;
8343 PyObject * obj0 = 0 ;
8344 char *kwnames[] = {
8345 (char *) "self", NULL
8346 };
8347
8348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail;
8349 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8350 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8351 {
8352 PyThreadState* __tstate = wxPyBeginAllowThreads();
8353 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
8354
8355 wxPyEndAllowThreads(__tstate);
8356 if (PyErr_Occurred()) SWIG_fail;
8357 }
8358 {
8359 wxSize * resultptr;
8360 resultptr = new wxSize((wxSize &) result);
8361 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
8362 }
8363 return resultobj;
8364 fail:
8365 return NULL;
8366 }
8367
8368
8369 static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
8370 PyObject *resultobj;
8371 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8372 int arg2 ;
8373 PyObject * obj0 = 0 ;
8374 PyObject * obj1 = 0 ;
8375 char *kwnames[] = {
8376 (char *) "self",(char *) "orient", NULL
8377 };
8378
8379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
8380 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8381 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8382 arg2 = (int)SWIG_As_int(obj1);
8383 if (PyErr_Occurred()) SWIG_fail;
8384 {
8385 PyThreadState* __tstate = wxPyBeginAllowThreads();
8386 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
8387
8388 wxPyEndAllowThreads(__tstate);
8389 if (PyErr_Occurred()) SWIG_fail;
8390 }
8391 Py_INCREF(Py_None); resultobj = Py_None;
8392 return resultobj;
8393 fail:
8394 return NULL;
8395 }
8396
8397
8398 static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
8399 PyObject *resultobj;
8400 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8401 int result;
8402 PyObject * obj0 = 0 ;
8403 char *kwnames[] = {
8404 (char *) "self", NULL
8405 };
8406
8407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail;
8408 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8409 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8410 {
8411 PyThreadState* __tstate = wxPyBeginAllowThreads();
8412 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
8413
8414 wxPyEndAllowThreads(__tstate);
8415 if (PyErr_Occurred()) SWIG_fail;
8416 }
8417 resultobj = SWIG_From_int((int)result);
8418 return resultobj;
8419 fail:
8420 return NULL;
8421 }
8422
8423
8424 static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
8425 PyObject *resultobj;
8426 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8427 int arg2 ;
8428 PyObject * obj0 = 0 ;
8429 PyObject * obj1 = 0 ;
8430 char *kwnames[] = {
8431 (char *) "self",(char *) "align", NULL
8432 };
8433
8434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
8435 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8436 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8437 arg2 = (int)SWIG_As_int(obj1);
8438 if (PyErr_Occurred()) SWIG_fail;
8439 {
8440 PyThreadState* __tstate = wxPyBeginAllowThreads();
8441 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
8442
8443 wxPyEndAllowThreads(__tstate);
8444 if (PyErr_Occurred()) SWIG_fail;
8445 }
8446 Py_INCREF(Py_None); resultobj = Py_None;
8447 return resultobj;
8448 fail:
8449 return NULL;
8450 }
8451
8452
8453 static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
8454 PyObject *resultobj;
8455 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8456 int result;
8457 PyObject * obj0 = 0 ;
8458 char *kwnames[] = {
8459 (char *) "self", NULL
8460 };
8461
8462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail;
8463 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8464 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8465 {
8466 PyThreadState* __tstate = wxPyBeginAllowThreads();
8467 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
8468
8469 wxPyEndAllowThreads(__tstate);
8470 if (PyErr_Occurred()) SWIG_fail;
8471 }
8472 resultobj = SWIG_From_int((int)result);
8473 return resultobj;
8474 fail:
8475 return NULL;
8476 }
8477
8478
8479 static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *, PyObject *args) {
8480 PyObject *obj;
8481 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8482 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj);
8483 Py_INCREF(obj);
8484 return Py_BuildValue((char *)"");
8485 }
8486 static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *, PyObject *args, PyObject *kwargs) {
8487 PyObject *resultobj;
8488 int arg1 = (int) 0 ;
8489 wxCalculateLayoutEvent *result;
8490 PyObject * obj0 = 0 ;
8491 char *kwnames[] = {
8492 (char *) "id", NULL
8493 };
8494
8495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) goto fail;
8496 if (obj0) {
8497 arg1 = (int)SWIG_As_int(obj0);
8498 if (PyErr_Occurred()) SWIG_fail;
8499 }
8500 {
8501 PyThreadState* __tstate = wxPyBeginAllowThreads();
8502 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
8503
8504 wxPyEndAllowThreads(__tstate);
8505 if (PyErr_Occurred()) SWIG_fail;
8506 }
8507 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCalculateLayoutEvent, 1);
8508 return resultobj;
8509 fail:
8510 return NULL;
8511 }
8512
8513
8514 static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
8515 PyObject *resultobj;
8516 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
8517 int arg2 ;
8518 PyObject * obj0 = 0 ;
8519 PyObject * obj1 = 0 ;
8520 char *kwnames[] = {
8521 (char *) "self",(char *) "flags", NULL
8522 };
8523
8524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
8525 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
8526 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8527 arg2 = (int)SWIG_As_int(obj1);
8528 if (PyErr_Occurred()) SWIG_fail;
8529 {
8530 PyThreadState* __tstate = wxPyBeginAllowThreads();
8531 (arg1)->SetFlags(arg2);
8532
8533 wxPyEndAllowThreads(__tstate);
8534 if (PyErr_Occurred()) SWIG_fail;
8535 }
8536 Py_INCREF(Py_None); resultobj = Py_None;
8537 return resultobj;
8538 fail:
8539 return NULL;
8540 }
8541
8542
8543 static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
8544 PyObject *resultobj;
8545 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
8546 int result;
8547 PyObject * obj0 = 0 ;
8548 char *kwnames[] = {
8549 (char *) "self", NULL
8550 };
8551
8552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail;
8553 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
8554 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8555 {
8556 PyThreadState* __tstate = wxPyBeginAllowThreads();
8557 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
8558
8559 wxPyEndAllowThreads(__tstate);
8560 if (PyErr_Occurred()) SWIG_fail;
8561 }
8562 resultobj = SWIG_From_int((int)result);
8563 return resultobj;
8564 fail:
8565 return NULL;
8566 }
8567
8568
8569 static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *, PyObject *args, PyObject *kwargs) {
8570 PyObject *resultobj;
8571 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
8572 wxRect *arg2 = 0 ;
8573 wxRect temp2 ;
8574 PyObject * obj0 = 0 ;
8575 PyObject * obj1 = 0 ;
8576 char *kwnames[] = {
8577 (char *) "self",(char *) "rect", NULL
8578 };
8579
8580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
8581 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
8582 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8583 {
8584 arg2 = &temp2;
8585 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
8586 }
8587 {
8588 PyThreadState* __tstate = wxPyBeginAllowThreads();
8589 (arg1)->SetRect((wxRect const &)*arg2);
8590
8591 wxPyEndAllowThreads(__tstate);
8592 if (PyErr_Occurred()) SWIG_fail;
8593 }
8594 Py_INCREF(Py_None); resultobj = Py_None;
8595 return resultobj;
8596 fail:
8597 return NULL;
8598 }
8599
8600
8601 static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *, PyObject *args, PyObject *kwargs) {
8602 PyObject *resultobj;
8603 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
8604 wxRect result;
8605 PyObject * obj0 = 0 ;
8606 char *kwnames[] = {
8607 (char *) "self", NULL
8608 };
8609
8610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail;
8611 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
8612 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8613 {
8614 PyThreadState* __tstate = wxPyBeginAllowThreads();
8615 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
8616
8617 wxPyEndAllowThreads(__tstate);
8618 if (PyErr_Occurred()) SWIG_fail;
8619 }
8620 {
8621 wxRect * resultptr;
8622 resultptr = new wxRect((wxRect &) result);
8623 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
8624 }
8625 return resultobj;
8626 fail:
8627 return NULL;
8628 }
8629
8630
8631 static PyObject * CalculateLayoutEvent_swigregister(PyObject *, PyObject *args) {
8632 PyObject *obj;
8633 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8634 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj);
8635 Py_INCREF(obj);
8636 return Py_BuildValue((char *)"");
8637 }
8638 static PyObject *_wrap_new_SashLayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8639 PyObject *resultobj;
8640 wxWindow *arg1 = (wxWindow *) 0 ;
8641 int arg2 = (int) -1 ;
8642 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8643 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8644 wxSize const &arg4_defvalue = wxDefaultSize ;
8645 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8646 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
8647 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
8648 wxString *arg6 = (wxString *) &arg6_defvalue ;
8649 wxSashLayoutWindow *result;
8650 wxPoint temp3 ;
8651 wxSize temp4 ;
8652 bool temp6 = false ;
8653 PyObject * obj0 = 0 ;
8654 PyObject * obj1 = 0 ;
8655 PyObject * obj2 = 0 ;
8656 PyObject * obj3 = 0 ;
8657 PyObject * obj4 = 0 ;
8658 PyObject * obj5 = 0 ;
8659 char *kwnames[] = {
8660 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8661 };
8662
8663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
8664 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8665 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8666 if (obj1) {
8667 arg2 = (int)SWIG_As_int(obj1);
8668 if (PyErr_Occurred()) SWIG_fail;
8669 }
8670 if (obj2) {
8671 {
8672 arg3 = &temp3;
8673 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8674 }
8675 }
8676 if (obj3) {
8677 {
8678 arg4 = &temp4;
8679 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8680 }
8681 }
8682 if (obj4) {
8683 arg5 = (long)SWIG_As_long(obj4);
8684 if (PyErr_Occurred()) SWIG_fail;
8685 }
8686 if (obj5) {
8687 {
8688 arg6 = wxString_in_helper(obj5);
8689 if (arg6 == NULL) SWIG_fail;
8690 temp6 = true;
8691 }
8692 }
8693 {
8694 if (!wxPyCheckForApp()) SWIG_fail;
8695 PyThreadState* __tstate = wxPyBeginAllowThreads();
8696 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8697
8698 wxPyEndAllowThreads(__tstate);
8699 if (PyErr_Occurred()) SWIG_fail;
8700 }
8701 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
8702 {
8703 if (temp6)
8704 delete arg6;
8705 }
8706 return resultobj;
8707 fail:
8708 {
8709 if (temp6)
8710 delete arg6;
8711 }
8712 return NULL;
8713 }
8714
8715
8716 static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8717 PyObject *resultobj;
8718 wxSashLayoutWindow *result;
8719 char *kwnames[] = {
8720 NULL
8721 };
8722
8723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail;
8724 {
8725 if (!wxPyCheckForApp()) SWIG_fail;
8726 PyThreadState* __tstate = wxPyBeginAllowThreads();
8727 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
8728
8729 wxPyEndAllowThreads(__tstate);
8730 if (PyErr_Occurred()) SWIG_fail;
8731 }
8732 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
8733 return resultobj;
8734 fail:
8735 return NULL;
8736 }
8737
8738
8739 static PyObject *_wrap_SashLayoutWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
8740 PyObject *resultobj;
8741 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8742 wxWindow *arg2 = (wxWindow *) 0 ;
8743 int arg3 = (int) -1 ;
8744 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8745 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8746 wxSize const &arg5_defvalue = wxDefaultSize ;
8747 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8748 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
8749 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
8750 wxString *arg7 = (wxString *) &arg7_defvalue ;
8751 bool result;
8752 wxPoint temp4 ;
8753 wxSize temp5 ;
8754 bool temp7 = false ;
8755 PyObject * obj0 = 0 ;
8756 PyObject * obj1 = 0 ;
8757 PyObject * obj2 = 0 ;
8758 PyObject * obj3 = 0 ;
8759 PyObject * obj4 = 0 ;
8760 PyObject * obj5 = 0 ;
8761 PyObject * obj6 = 0 ;
8762 char *kwnames[] = {
8763 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8764 };
8765
8766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
8767 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8768 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8769 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8770 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8771 if (obj2) {
8772 arg3 = (int)SWIG_As_int(obj2);
8773 if (PyErr_Occurred()) SWIG_fail;
8774 }
8775 if (obj3) {
8776 {
8777 arg4 = &temp4;
8778 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8779 }
8780 }
8781 if (obj4) {
8782 {
8783 arg5 = &temp5;
8784 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8785 }
8786 }
8787 if (obj5) {
8788 arg6 = (long)SWIG_As_long(obj5);
8789 if (PyErr_Occurred()) SWIG_fail;
8790 }
8791 if (obj6) {
8792 {
8793 arg7 = wxString_in_helper(obj6);
8794 if (arg7 == NULL) SWIG_fail;
8795 temp7 = true;
8796 }
8797 }
8798 {
8799 PyThreadState* __tstate = wxPyBeginAllowThreads();
8800 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8801
8802 wxPyEndAllowThreads(__tstate);
8803 if (PyErr_Occurred()) SWIG_fail;
8804 }
8805 {
8806 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8807 }
8808 {
8809 if (temp7)
8810 delete arg7;
8811 }
8812 return resultobj;
8813 fail:
8814 {
8815 if (temp7)
8816 delete arg7;
8817 }
8818 return NULL;
8819 }
8820
8821
8822 static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
8823 PyObject *resultobj;
8824 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8825 int result;
8826 PyObject * obj0 = 0 ;
8827 char *kwnames[] = {
8828 (char *) "self", NULL
8829 };
8830
8831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail;
8832 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8833 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8834 {
8835 PyThreadState* __tstate = wxPyBeginAllowThreads();
8836 result = (int)(arg1)->GetAlignment();
8837
8838 wxPyEndAllowThreads(__tstate);
8839 if (PyErr_Occurred()) SWIG_fail;
8840 }
8841 resultobj = SWIG_From_int((int)result);
8842 return resultobj;
8843 fail:
8844 return NULL;
8845 }
8846
8847
8848 static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
8849 PyObject *resultobj;
8850 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8851 int result;
8852 PyObject * obj0 = 0 ;
8853 char *kwnames[] = {
8854 (char *) "self", NULL
8855 };
8856
8857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail;
8858 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8859 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8860 {
8861 PyThreadState* __tstate = wxPyBeginAllowThreads();
8862 result = (int)(arg1)->GetOrientation();
8863
8864 wxPyEndAllowThreads(__tstate);
8865 if (PyErr_Occurred()) SWIG_fail;
8866 }
8867 resultobj = SWIG_From_int((int)result);
8868 return resultobj;
8869 fail:
8870 return NULL;
8871 }
8872
8873
8874 static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
8875 PyObject *resultobj;
8876 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8877 int arg2 ;
8878 PyObject * obj0 = 0 ;
8879 PyObject * obj1 = 0 ;
8880 char *kwnames[] = {
8881 (char *) "self",(char *) "alignment", NULL
8882 };
8883
8884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
8885 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8886 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8887 arg2 = (int)SWIG_As_int(obj1);
8888 if (PyErr_Occurred()) SWIG_fail;
8889 {
8890 PyThreadState* __tstate = wxPyBeginAllowThreads();
8891 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
8892
8893 wxPyEndAllowThreads(__tstate);
8894 if (PyErr_Occurred()) SWIG_fail;
8895 }
8896 Py_INCREF(Py_None); resultobj = Py_None;
8897 return resultobj;
8898 fail:
8899 return NULL;
8900 }
8901
8902
8903 static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) {
8904 PyObject *resultobj;
8905 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8906 wxSize *arg2 = 0 ;
8907 wxSize temp2 ;
8908 PyObject * obj0 = 0 ;
8909 PyObject * obj1 = 0 ;
8910 char *kwnames[] = {
8911 (char *) "self",(char *) "size", NULL
8912 };
8913
8914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail;
8915 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8916 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8917 {
8918 arg2 = &temp2;
8919 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
8920 }
8921 {
8922 PyThreadState* __tstate = wxPyBeginAllowThreads();
8923 (arg1)->SetDefaultSize((wxSize const &)*arg2);
8924
8925 wxPyEndAllowThreads(__tstate);
8926 if (PyErr_Occurred()) SWIG_fail;
8927 }
8928 Py_INCREF(Py_None); resultobj = Py_None;
8929 return resultobj;
8930 fail:
8931 return NULL;
8932 }
8933
8934
8935 static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
8936 PyObject *resultobj;
8937 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8938 int arg2 ;
8939 PyObject * obj0 = 0 ;
8940 PyObject * obj1 = 0 ;
8941 char *kwnames[] = {
8942 (char *) "self",(char *) "orientation", NULL
8943 };
8944
8945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
8946 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8947 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8948 arg2 = (int)SWIG_As_int(obj1);
8949 if (PyErr_Occurred()) SWIG_fail;
8950 {
8951 PyThreadState* __tstate = wxPyBeginAllowThreads();
8952 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
8953
8954 wxPyEndAllowThreads(__tstate);
8955 if (PyErr_Occurred()) SWIG_fail;
8956 }
8957 Py_INCREF(Py_None); resultobj = Py_None;
8958 return resultobj;
8959 fail:
8960 return NULL;
8961 }
8962
8963
8964 static PyObject * SashLayoutWindow_swigregister(PyObject *, PyObject *args) {
8965 PyObject *obj;
8966 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8967 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj);
8968 Py_INCREF(obj);
8969 return Py_BuildValue((char *)"");
8970 }
8971 static PyObject *_wrap_new_LayoutAlgorithm(PyObject *, PyObject *args, PyObject *kwargs) {
8972 PyObject *resultobj;
8973 wxLayoutAlgorithm *result;
8974 char *kwnames[] = {
8975 NULL
8976 };
8977
8978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail;
8979 {
8980 PyThreadState* __tstate = wxPyBeginAllowThreads();
8981 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
8982
8983 wxPyEndAllowThreads(__tstate);
8984 if (PyErr_Occurred()) SWIG_fail;
8985 }
8986 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutAlgorithm, 1);
8987 return resultobj;
8988 fail:
8989 return NULL;
8990 }
8991
8992
8993 static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *, PyObject *args, PyObject *kwargs) {
8994 PyObject *resultobj;
8995 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8996 PyObject * obj0 = 0 ;
8997 char *kwnames[] = {
8998 (char *) "self", NULL
8999 };
9000
9001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail;
9002 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
9003 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9004 {
9005 PyThreadState* __tstate = wxPyBeginAllowThreads();
9006 delete arg1;
9007
9008 wxPyEndAllowThreads(__tstate);
9009 if (PyErr_Occurred()) SWIG_fail;
9010 }
9011 Py_INCREF(Py_None); resultobj = Py_None;
9012 return resultobj;
9013 fail:
9014 return NULL;
9015 }
9016
9017
9018 static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *, PyObject *args, PyObject *kwargs) {
9019 PyObject *resultobj;
9020 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
9021 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
9022 wxRect *arg3 = (wxRect *) NULL ;
9023 bool result;
9024 PyObject * obj0 = 0 ;
9025 PyObject * obj1 = 0 ;
9026 PyObject * obj2 = 0 ;
9027 char *kwnames[] = {
9028 (char *) "self",(char *) "frame",(char *) "rect", NULL
9029 };
9030
9031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
9032 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
9033 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9034 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
9035 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9036 if (obj2) {
9037 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxRect,
9038 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9039 }
9040 {
9041 PyThreadState* __tstate = wxPyBeginAllowThreads();
9042 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
9043
9044 wxPyEndAllowThreads(__tstate);
9045 if (PyErr_Occurred()) SWIG_fail;
9046 }
9047 {
9048 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9049 }
9050 return resultobj;
9051 fail:
9052 return NULL;
9053 }
9054
9055
9056 static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *, PyObject *args, PyObject *kwargs) {
9057 PyObject *resultobj;
9058 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
9059 wxFrame *arg2 = (wxFrame *) 0 ;
9060 wxWindow *arg3 = (wxWindow *) NULL ;
9061 bool result;
9062 PyObject * obj0 = 0 ;
9063 PyObject * obj1 = 0 ;
9064 PyObject * obj2 = 0 ;
9065 char *kwnames[] = {
9066 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
9067 };
9068
9069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
9070 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
9071 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9072 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
9073 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9074 if (obj2) {
9075 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
9076 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9077 }
9078 {
9079 PyThreadState* __tstate = wxPyBeginAllowThreads();
9080 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
9081
9082 wxPyEndAllowThreads(__tstate);
9083 if (PyErr_Occurred()) SWIG_fail;
9084 }
9085 {
9086 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9087 }
9088 return resultobj;
9089 fail:
9090 return NULL;
9091 }
9092
9093
9094 static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
9095 PyObject *resultobj;
9096 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
9097 wxWindow *arg2 = (wxWindow *) 0 ;
9098 wxWindow *arg3 = (wxWindow *) NULL ;
9099 bool result;
9100 PyObject * obj0 = 0 ;
9101 PyObject * obj1 = 0 ;
9102 PyObject * obj2 = 0 ;
9103 char *kwnames[] = {
9104 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
9105 };
9106
9107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
9108 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
9109 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9110 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
9111 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9112 if (obj2) {
9113 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
9114 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9115 }
9116 {
9117 PyThreadState* __tstate = wxPyBeginAllowThreads();
9118 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
9119
9120 wxPyEndAllowThreads(__tstate);
9121 if (PyErr_Occurred()) SWIG_fail;
9122 }
9123 {
9124 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9125 }
9126 return resultobj;
9127 fail:
9128 return NULL;
9129 }
9130
9131
9132 static PyObject * LayoutAlgorithm_swigregister(PyObject *, PyObject *args) {
9133 PyObject *obj;
9134 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9135 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj);
9136 Py_INCREF(obj);
9137 return Py_BuildValue((char *)"");
9138 }
9139 static PyObject *_wrap_new_PopupWindow(PyObject *, PyObject *args, PyObject *kwargs) {
9140 PyObject *resultobj;
9141 wxWindow *arg1 = (wxWindow *) 0 ;
9142 int arg2 = (int) wxBORDER_NONE ;
9143 wxPopupWindow *result;
9144 PyObject * obj0 = 0 ;
9145 PyObject * obj1 = 0 ;
9146 char *kwnames[] = {
9147 (char *) "parent",(char *) "flags", NULL
9148 };
9149
9150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) goto fail;
9151 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9152 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9153 if (obj1) {
9154 arg2 = (int)SWIG_As_int(obj1);
9155 if (PyErr_Occurred()) SWIG_fail;
9156 }
9157 {
9158 if (!wxPyCheckForApp()) SWIG_fail;
9159 PyThreadState* __tstate = wxPyBeginAllowThreads();
9160 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
9161
9162 wxPyEndAllowThreads(__tstate);
9163 if (PyErr_Occurred()) SWIG_fail;
9164 }
9165 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
9166 return resultobj;
9167 fail:
9168 return NULL;
9169 }
9170
9171
9172 static PyObject *_wrap_new_PrePopupWindow(PyObject *, PyObject *args, PyObject *kwargs) {
9173 PyObject *resultobj;
9174 wxPopupWindow *result;
9175 char *kwnames[] = {
9176 NULL
9177 };
9178
9179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail;
9180 {
9181 if (!wxPyCheckForApp()) SWIG_fail;
9182 PyThreadState* __tstate = wxPyBeginAllowThreads();
9183 result = (wxPopupWindow *)new wxPopupWindow();
9184
9185 wxPyEndAllowThreads(__tstate);
9186 if (PyErr_Occurred()) SWIG_fail;
9187 }
9188 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
9189 return resultobj;
9190 fail:
9191 return NULL;
9192 }
9193
9194
9195 static PyObject *_wrap_PopupWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
9196 PyObject *resultobj;
9197 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
9198 wxWindow *arg2 = (wxWindow *) 0 ;
9199 int arg3 = (int) wxBORDER_NONE ;
9200 bool result;
9201 PyObject * obj0 = 0 ;
9202 PyObject * obj1 = 0 ;
9203 PyObject * obj2 = 0 ;
9204 char *kwnames[] = {
9205 (char *) "self",(char *) "parent",(char *) "flags", NULL
9206 };
9207
9208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PopupWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
9209 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPopupWindow,
9210 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9211 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
9212 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9213 if (obj2) {
9214 arg3 = (int)SWIG_As_int(obj2);
9215 if (PyErr_Occurred()) SWIG_fail;
9216 }
9217 {
9218 PyThreadState* __tstate = wxPyBeginAllowThreads();
9219 result = (bool)(arg1)->Create(arg2,arg3);
9220
9221 wxPyEndAllowThreads(__tstate);
9222 if (PyErr_Occurred()) SWIG_fail;
9223 }
9224 {
9225 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9226 }
9227 return resultobj;
9228 fail:
9229 return NULL;
9230 }
9231
9232
9233 static PyObject *_wrap_PopupWindow_Position(PyObject *, PyObject *args, PyObject *kwargs) {
9234 PyObject *resultobj;
9235 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
9236 wxPoint *arg2 = 0 ;
9237 wxSize *arg3 = 0 ;
9238 wxPoint temp2 ;
9239 wxSize temp3 ;
9240 PyObject * obj0 = 0 ;
9241 PyObject * obj1 = 0 ;
9242 PyObject * obj2 = 0 ;
9243 char *kwnames[] = {
9244 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
9245 };
9246
9247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) goto fail;
9248 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPopupWindow,
9249 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9250 {
9251 arg2 = &temp2;
9252 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9253 }
9254 {
9255 arg3 = &temp3;
9256 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
9257 }
9258 {
9259 PyThreadState* __tstate = wxPyBeginAllowThreads();
9260 (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3);
9261
9262 wxPyEndAllowThreads(__tstate);
9263 if (PyErr_Occurred()) SWIG_fail;
9264 }
9265 Py_INCREF(Py_None); resultobj = Py_None;
9266 return resultobj;
9267 fail:
9268 return NULL;
9269 }
9270
9271
9272 static PyObject * PopupWindow_swigregister(PyObject *, PyObject *args) {
9273 PyObject *obj;
9274 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9275 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj);
9276 Py_INCREF(obj);
9277 return Py_BuildValue((char *)"");
9278 }
9279 static PyObject *_wrap_new_PopupTransientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
9280 PyObject *resultobj;
9281 wxWindow *arg1 = (wxWindow *) 0 ;
9282 int arg2 = (int) wxBORDER_NONE ;
9283 wxPyPopupTransientWindow *result;
9284 PyObject * obj0 = 0 ;
9285 PyObject * obj1 = 0 ;
9286 char *kwnames[] = {
9287 (char *) "parent",(char *) "style", NULL
9288 };
9289
9290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) goto fail;
9291 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9292 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9293 if (obj1) {
9294 arg2 = (int)SWIG_As_int(obj1);
9295 if (PyErr_Occurred()) SWIG_fail;
9296 }
9297 {
9298 if (!wxPyCheckForApp()) SWIG_fail;
9299 PyThreadState* __tstate = wxPyBeginAllowThreads();
9300 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
9301
9302 wxPyEndAllowThreads(__tstate);
9303 if (PyErr_Occurred()) SWIG_fail;
9304 }
9305 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
9306 return resultobj;
9307 fail:
9308 return NULL;
9309 }
9310
9311
9312 static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
9313 PyObject *resultobj;
9314 wxPyPopupTransientWindow *result;
9315 char *kwnames[] = {
9316 NULL
9317 };
9318
9319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail;
9320 {
9321 if (!wxPyCheckForApp()) SWIG_fail;
9322 PyThreadState* __tstate = wxPyBeginAllowThreads();
9323 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
9324
9325 wxPyEndAllowThreads(__tstate);
9326 if (PyErr_Occurred()) SWIG_fail;
9327 }
9328 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
9329 return resultobj;
9330 fail:
9331 return NULL;
9332 }
9333
9334
9335 static PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
9336 PyObject *resultobj;
9337 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
9338 PyObject *arg2 = (PyObject *) 0 ;
9339 PyObject *arg3 = (PyObject *) 0 ;
9340 PyObject * obj0 = 0 ;
9341 PyObject * obj1 = 0 ;
9342 PyObject * obj2 = 0 ;
9343 char *kwnames[] = {
9344 (char *) "self",(char *) "self",(char *) "_class", NULL
9345 };
9346
9347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
9348 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow,
9349 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9350 arg2 = obj1;
9351 arg3 = obj2;
9352 {
9353 PyThreadState* __tstate = wxPyBeginAllowThreads();
9354 (arg1)->_setCallbackInfo(arg2,arg3);
9355
9356 wxPyEndAllowThreads(__tstate);
9357 if (PyErr_Occurred()) SWIG_fail;
9358 }
9359 Py_INCREF(Py_None); resultobj = Py_None;
9360 return resultobj;
9361 fail:
9362 return NULL;
9363 }
9364
9365
9366 static PyObject *_wrap_PopupTransientWindow_Popup(PyObject *, PyObject *args, PyObject *kwargs) {
9367 PyObject *resultobj;
9368 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
9369 wxWindow *arg2 = (wxWindow *) NULL ;
9370 PyObject * obj0 = 0 ;
9371 PyObject * obj1 = 0 ;
9372 char *kwnames[] = {
9373 (char *) "self",(char *) "focus", NULL
9374 };
9375
9376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) goto fail;
9377 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow,
9378 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9379 if (obj1) {
9380 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
9381 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9382 }
9383 {
9384 PyThreadState* __tstate = wxPyBeginAllowThreads();
9385 (arg1)->Popup(arg2);
9386
9387 wxPyEndAllowThreads(__tstate);
9388 if (PyErr_Occurred()) SWIG_fail;
9389 }
9390 Py_INCREF(Py_None); resultobj = Py_None;
9391 return resultobj;
9392 fail:
9393 return NULL;
9394 }
9395
9396
9397 static PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *, PyObject *args, PyObject *kwargs) {
9398 PyObject *resultobj;
9399 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
9400 PyObject * obj0 = 0 ;
9401 char *kwnames[] = {
9402 (char *) "self", NULL
9403 };
9404
9405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PopupTransientWindow_Dismiss",kwnames,&obj0)) goto fail;
9406 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow,
9407 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9408 {
9409 PyThreadState* __tstate = wxPyBeginAllowThreads();
9410 (arg1)->Dismiss();
9411
9412 wxPyEndAllowThreads(__tstate);
9413 if (PyErr_Occurred()) SWIG_fail;
9414 }
9415 Py_INCREF(Py_None); resultobj = Py_None;
9416 return resultobj;
9417 fail:
9418 return NULL;
9419 }
9420
9421
9422 static PyObject * PopupTransientWindow_swigregister(PyObject *, PyObject *args) {
9423 PyObject *obj;
9424 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9425 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj);
9426 Py_INCREF(obj);
9427 return Py_BuildValue((char *)"");
9428 }
9429 static PyObject *_wrap_new_TipWindow(PyObject *, PyObject *args, PyObject *kwargs) {
9430 PyObject *resultobj;
9431 wxWindow *arg1 = (wxWindow *) 0 ;
9432 wxString *arg2 = 0 ;
9433 int arg3 = (int) 100 ;
9434 wxRect *arg4 = (wxRect *) NULL ;
9435 wxTipWindow *result;
9436 bool temp2 = false ;
9437 PyObject * obj0 = 0 ;
9438 PyObject * obj1 = 0 ;
9439 PyObject * obj2 = 0 ;
9440 PyObject * obj3 = 0 ;
9441 char *kwnames[] = {
9442 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
9443 };
9444
9445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9446 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9447 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9448 {
9449 arg2 = wxString_in_helper(obj1);
9450 if (arg2 == NULL) SWIG_fail;
9451 temp2 = true;
9452 }
9453 if (obj2) {
9454 arg3 = (int)SWIG_As_int(obj2);
9455 if (PyErr_Occurred()) SWIG_fail;
9456 }
9457 if (obj3) {
9458 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxRect,
9459 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9460 }
9461 {
9462 if (!wxPyCheckForApp()) SWIG_fail;
9463 PyThreadState* __tstate = wxPyBeginAllowThreads();
9464 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
9465
9466 wxPyEndAllowThreads(__tstate);
9467 if (PyErr_Occurred()) SWIG_fail;
9468 }
9469 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTipWindow, 1);
9470 {
9471 if (temp2)
9472 delete arg2;
9473 }
9474 return resultobj;
9475 fail:
9476 {
9477 if (temp2)
9478 delete arg2;
9479 }
9480 return NULL;
9481 }
9482
9483
9484 static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *, PyObject *args, PyObject *kwargs) {
9485 PyObject *resultobj;
9486 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
9487 wxRect *arg2 = 0 ;
9488 wxRect temp2 ;
9489 PyObject * obj0 = 0 ;
9490 PyObject * obj1 = 0 ;
9491 char *kwnames[] = {
9492 (char *) "self",(char *) "rectBound", NULL
9493 };
9494
9495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail;
9496 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow,
9497 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9498 {
9499 arg2 = &temp2;
9500 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
9501 }
9502 {
9503 PyThreadState* __tstate = wxPyBeginAllowThreads();
9504 (arg1)->SetBoundingRect((wxRect const &)*arg2);
9505
9506 wxPyEndAllowThreads(__tstate);
9507 if (PyErr_Occurred()) SWIG_fail;
9508 }
9509 Py_INCREF(Py_None); resultobj = Py_None;
9510 return resultobj;
9511 fail:
9512 return NULL;
9513 }
9514
9515
9516 static PyObject *_wrap_TipWindow_Close(PyObject *, PyObject *args, PyObject *kwargs) {
9517 PyObject *resultobj;
9518 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
9519 PyObject * obj0 = 0 ;
9520 char *kwnames[] = {
9521 (char *) "self", NULL
9522 };
9523
9524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail;
9525 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow,
9526 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9527 {
9528 PyThreadState* __tstate = wxPyBeginAllowThreads();
9529 (arg1)->Close();
9530
9531 wxPyEndAllowThreads(__tstate);
9532 if (PyErr_Occurred()) SWIG_fail;
9533 }
9534 Py_INCREF(Py_None); resultobj = Py_None;
9535 return resultobj;
9536 fail:
9537 return NULL;
9538 }
9539
9540
9541 static PyObject * TipWindow_swigregister(PyObject *, PyObject *args) {
9542 PyObject *obj;
9543 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9544 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj);
9545 Py_INCREF(obj);
9546 return Py_BuildValue((char *)"");
9547 }
9548 static PyObject *_wrap_new_VScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
9549 PyObject *resultobj;
9550 wxWindow *arg1 = (wxWindow *) 0 ;
9551 int arg2 = (int) wxID_ANY ;
9552 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9553 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9554 wxSize const &arg4_defvalue = wxDefaultSize ;
9555 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9556 long arg5 = (long) 0 ;
9557 wxString const &arg6_defvalue = wxPyPanelNameStr ;
9558 wxString *arg6 = (wxString *) &arg6_defvalue ;
9559 wxPyVScrolledWindow *result;
9560 wxPoint temp3 ;
9561 wxSize temp4 ;
9562 bool temp6 = false ;
9563 PyObject * obj0 = 0 ;
9564 PyObject * obj1 = 0 ;
9565 PyObject * obj2 = 0 ;
9566 PyObject * obj3 = 0 ;
9567 PyObject * obj4 = 0 ;
9568 PyObject * obj5 = 0 ;
9569 char *kwnames[] = {
9570 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9571 };
9572
9573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9574 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9575 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9576 if (obj1) {
9577 arg2 = (int)SWIG_As_int(obj1);
9578 if (PyErr_Occurred()) SWIG_fail;
9579 }
9580 if (obj2) {
9581 {
9582 arg3 = &temp3;
9583 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9584 }
9585 }
9586 if (obj3) {
9587 {
9588 arg4 = &temp4;
9589 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9590 }
9591 }
9592 if (obj4) {
9593 arg5 = (long)SWIG_As_long(obj4);
9594 if (PyErr_Occurred()) SWIG_fail;
9595 }
9596 if (obj5) {
9597 {
9598 arg6 = wxString_in_helper(obj5);
9599 if (arg6 == NULL) SWIG_fail;
9600 temp6 = true;
9601 }
9602 }
9603 {
9604 if (!wxPyCheckForApp()) SWIG_fail;
9605 PyThreadState* __tstate = wxPyBeginAllowThreads();
9606 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9607
9608 wxPyEndAllowThreads(__tstate);
9609 if (PyErr_Occurred()) SWIG_fail;
9610 }
9611 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
9612 {
9613 if (temp6)
9614 delete arg6;
9615 }
9616 return resultobj;
9617 fail:
9618 {
9619 if (temp6)
9620 delete arg6;
9621 }
9622 return NULL;
9623 }
9624
9625
9626 static PyObject *_wrap_new_PreVScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
9627 PyObject *resultobj;
9628 wxPyVScrolledWindow *result;
9629 char *kwnames[] = {
9630 NULL
9631 };
9632
9633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail;
9634 {
9635 if (!wxPyCheckForApp()) SWIG_fail;
9636 PyThreadState* __tstate = wxPyBeginAllowThreads();
9637 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
9638
9639 wxPyEndAllowThreads(__tstate);
9640 if (PyErr_Occurred()) SWIG_fail;
9641 }
9642 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
9643 return resultobj;
9644 fail:
9645 return NULL;
9646 }
9647
9648
9649 static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
9650 PyObject *resultobj;
9651 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9652 PyObject *arg2 = (PyObject *) 0 ;
9653 PyObject *arg3 = (PyObject *) 0 ;
9654 PyObject * obj0 = 0 ;
9655 PyObject * obj1 = 0 ;
9656 PyObject * obj2 = 0 ;
9657 char *kwnames[] = {
9658 (char *) "self",(char *) "self",(char *) "_class", NULL
9659 };
9660
9661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
9662 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9663 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9664 arg2 = obj1;
9665 arg3 = obj2;
9666 {
9667 PyThreadState* __tstate = wxPyBeginAllowThreads();
9668 (arg1)->_setCallbackInfo(arg2,arg3);
9669
9670 wxPyEndAllowThreads(__tstate);
9671 if (PyErr_Occurred()) SWIG_fail;
9672 }
9673 Py_INCREF(Py_None); resultobj = Py_None;
9674 return resultobj;
9675 fail:
9676 return NULL;
9677 }
9678
9679
9680 static PyObject *_wrap_VScrolledWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
9681 PyObject *resultobj;
9682 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9683 wxWindow *arg2 = (wxWindow *) 0 ;
9684 int arg3 = (int) wxID_ANY ;
9685 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9686 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9687 wxSize const &arg5_defvalue = wxDefaultSize ;
9688 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9689 long arg6 = (long) 0 ;
9690 wxString const &arg7_defvalue = wxPyPanelNameStr ;
9691 wxString *arg7 = (wxString *) &arg7_defvalue ;
9692 bool result;
9693 wxPoint temp4 ;
9694 wxSize temp5 ;
9695 bool temp7 = false ;
9696 PyObject * obj0 = 0 ;
9697 PyObject * obj1 = 0 ;
9698 PyObject * obj2 = 0 ;
9699 PyObject * obj3 = 0 ;
9700 PyObject * obj4 = 0 ;
9701 PyObject * obj5 = 0 ;
9702 PyObject * obj6 = 0 ;
9703 char *kwnames[] = {
9704 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9705 };
9706
9707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
9708 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9709 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9710 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
9711 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9712 if (obj2) {
9713 arg3 = (int)SWIG_As_int(obj2);
9714 if (PyErr_Occurred()) SWIG_fail;
9715 }
9716 if (obj3) {
9717 {
9718 arg4 = &temp4;
9719 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9720 }
9721 }
9722 if (obj4) {
9723 {
9724 arg5 = &temp5;
9725 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9726 }
9727 }
9728 if (obj5) {
9729 arg6 = (long)SWIG_As_long(obj5);
9730 if (PyErr_Occurred()) SWIG_fail;
9731 }
9732 if (obj6) {
9733 {
9734 arg7 = wxString_in_helper(obj6);
9735 if (arg7 == NULL) SWIG_fail;
9736 temp7 = true;
9737 }
9738 }
9739 {
9740 PyThreadState* __tstate = wxPyBeginAllowThreads();
9741 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9742
9743 wxPyEndAllowThreads(__tstate);
9744 if (PyErr_Occurred()) SWIG_fail;
9745 }
9746 {
9747 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9748 }
9749 {
9750 if (temp7)
9751 delete arg7;
9752 }
9753 return resultobj;
9754 fail:
9755 {
9756 if (temp7)
9757 delete arg7;
9758 }
9759 return NULL;
9760 }
9761
9762
9763 static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *, PyObject *args, PyObject *kwargs) {
9764 PyObject *resultobj;
9765 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9766 size_t arg2 ;
9767 PyObject * obj0 = 0 ;
9768 PyObject * obj1 = 0 ;
9769 char *kwnames[] = {
9770 (char *) "self",(char *) "count", NULL
9771 };
9772
9773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) goto fail;
9774 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9775 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9776 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
9777 if (PyErr_Occurred()) SWIG_fail;
9778 {
9779 PyThreadState* __tstate = wxPyBeginAllowThreads();
9780 (arg1)->SetLineCount(arg2);
9781
9782 wxPyEndAllowThreads(__tstate);
9783 if (PyErr_Occurred()) SWIG_fail;
9784 }
9785 Py_INCREF(Py_None); resultobj = Py_None;
9786 return resultobj;
9787 fail:
9788 return NULL;
9789 }
9790
9791
9792 static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *, PyObject *args, PyObject *kwargs) {
9793 PyObject *resultobj;
9794 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9795 size_t arg2 ;
9796 bool result;
9797 PyObject * obj0 = 0 ;
9798 PyObject * obj1 = 0 ;
9799 char *kwnames[] = {
9800 (char *) "self",(char *) "line", NULL
9801 };
9802
9803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail;
9804 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9805 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9806 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
9807 if (PyErr_Occurred()) SWIG_fail;
9808 {
9809 PyThreadState* __tstate = wxPyBeginAllowThreads();
9810 result = (bool)(arg1)->ScrollToLine(arg2);
9811
9812 wxPyEndAllowThreads(__tstate);
9813 if (PyErr_Occurred()) SWIG_fail;
9814 }
9815 {
9816 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9817 }
9818 return resultobj;
9819 fail:
9820 return NULL;
9821 }
9822
9823
9824 static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *, PyObject *args, PyObject *kwargs) {
9825 PyObject *resultobj;
9826 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9827 int arg2 ;
9828 bool result;
9829 PyObject * obj0 = 0 ;
9830 PyObject * obj1 = 0 ;
9831 char *kwnames[] = {
9832 (char *) "self",(char *) "lines", NULL
9833 };
9834
9835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollLines",kwnames,&obj0,&obj1)) goto fail;
9836 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9837 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9838 arg2 = (int)SWIG_As_int(obj1);
9839 if (PyErr_Occurred()) SWIG_fail;
9840 {
9841 PyThreadState* __tstate = wxPyBeginAllowThreads();
9842 result = (bool)(arg1)->ScrollLines(arg2);
9843
9844 wxPyEndAllowThreads(__tstate);
9845 if (PyErr_Occurred()) SWIG_fail;
9846 }
9847 {
9848 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9849 }
9850 return resultobj;
9851 fail:
9852 return NULL;
9853 }
9854
9855
9856 static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *, PyObject *args, PyObject *kwargs) {
9857 PyObject *resultobj;
9858 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9859 int arg2 ;
9860 bool result;
9861 PyObject * obj0 = 0 ;
9862 PyObject * obj1 = 0 ;
9863 char *kwnames[] = {
9864 (char *) "self",(char *) "pages", NULL
9865 };
9866
9867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollPages",kwnames,&obj0,&obj1)) goto fail;
9868 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9869 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9870 arg2 = (int)SWIG_As_int(obj1);
9871 if (PyErr_Occurred()) SWIG_fail;
9872 {
9873 PyThreadState* __tstate = wxPyBeginAllowThreads();
9874 result = (bool)(arg1)->ScrollPages(arg2);
9875
9876 wxPyEndAllowThreads(__tstate);
9877 if (PyErr_Occurred()) SWIG_fail;
9878 }
9879 {
9880 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9881 }
9882 return resultobj;
9883 fail:
9884 return NULL;
9885 }
9886
9887
9888 static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *, PyObject *args, PyObject *kwargs) {
9889 PyObject *resultobj;
9890 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9891 size_t arg2 ;
9892 PyObject * obj0 = 0 ;
9893 PyObject * obj1 = 0 ;
9894 char *kwnames[] = {
9895 (char *) "self",(char *) "line", NULL
9896 };
9897
9898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail;
9899 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9900 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9901 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
9902 if (PyErr_Occurred()) SWIG_fail;
9903 {
9904 PyThreadState* __tstate = wxPyBeginAllowThreads();
9905 (arg1)->RefreshLine(arg2);
9906
9907 wxPyEndAllowThreads(__tstate);
9908 if (PyErr_Occurred()) SWIG_fail;
9909 }
9910 Py_INCREF(Py_None); resultobj = Py_None;
9911 return resultobj;
9912 fail:
9913 return NULL;
9914 }
9915
9916
9917 static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *, PyObject *args, PyObject *kwargs) {
9918 PyObject *resultobj;
9919 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9920 size_t arg2 ;
9921 size_t arg3 ;
9922 PyObject * obj0 = 0 ;
9923 PyObject * obj1 = 0 ;
9924 PyObject * obj2 = 0 ;
9925 char *kwnames[] = {
9926 (char *) "self",(char *) "from",(char *) "to", NULL
9927 };
9928
9929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
9930 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9931 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9932 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
9933 if (PyErr_Occurred()) SWIG_fail;
9934 arg3 = (size_t)SWIG_As_unsigned_SS_long(obj2);
9935 if (PyErr_Occurred()) SWIG_fail;
9936 {
9937 PyThreadState* __tstate = wxPyBeginAllowThreads();
9938 (arg1)->RefreshLines(arg2,arg3);
9939
9940 wxPyEndAllowThreads(__tstate);
9941 if (PyErr_Occurred()) SWIG_fail;
9942 }
9943 Py_INCREF(Py_None); resultobj = Py_None;
9944 return resultobj;
9945 fail:
9946 return NULL;
9947 }
9948
9949
9950 static PyObject *_wrap_VScrolledWindow_HitTestXY(PyObject *, PyObject *args, PyObject *kwargs) {
9951 PyObject *resultobj;
9952 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9953 int arg2 ;
9954 int arg3 ;
9955 int result;
9956 PyObject * obj0 = 0 ;
9957 PyObject * obj1 = 0 ;
9958 PyObject * obj2 = 0 ;
9959 char *kwnames[] = {
9960 (char *) "self",(char *) "x",(char *) "y", NULL
9961 };
9962
9963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
9964 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9965 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9966 arg2 = (int)SWIG_As_int(obj1);
9967 if (PyErr_Occurred()) SWIG_fail;
9968 arg3 = (int)SWIG_As_int(obj2);
9969 if (PyErr_Occurred()) SWIG_fail;
9970 {
9971 PyThreadState* __tstate = wxPyBeginAllowThreads();
9972 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
9973
9974 wxPyEndAllowThreads(__tstate);
9975 if (PyErr_Occurred()) SWIG_fail;
9976 }
9977 resultobj = SWIG_From_int((int)result);
9978 return resultobj;
9979 fail:
9980 return NULL;
9981 }
9982
9983
9984 static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
9985 PyObject *resultobj;
9986 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9987 wxPoint *arg2 = 0 ;
9988 int result;
9989 wxPoint temp2 ;
9990 PyObject * obj0 = 0 ;
9991 PyObject * obj1 = 0 ;
9992 char *kwnames[] = {
9993 (char *) "self",(char *) "pt", NULL
9994 };
9995
9996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail;
9997 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9998 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9999 {
10000 arg2 = &temp2;
10001 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10002 }
10003 {
10004 PyThreadState* __tstate = wxPyBeginAllowThreads();
10005 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
10006
10007 wxPyEndAllowThreads(__tstate);
10008 if (PyErr_Occurred()) SWIG_fail;
10009 }
10010 resultobj = SWIG_From_int((int)result);
10011 return resultobj;
10012 fail:
10013 return NULL;
10014 }
10015
10016
10017 static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *, PyObject *args, PyObject *kwargs) {
10018 PyObject *resultobj;
10019 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
10020 PyObject * obj0 = 0 ;
10021 char *kwnames[] = {
10022 (char *) "self", NULL
10023 };
10024
10025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail;
10026 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
10027 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10028 {
10029 PyThreadState* __tstate = wxPyBeginAllowThreads();
10030 (arg1)->RefreshAll();
10031
10032 wxPyEndAllowThreads(__tstate);
10033 if (PyErr_Occurred()) SWIG_fail;
10034 }
10035 Py_INCREF(Py_None); resultobj = Py_None;
10036 return resultobj;
10037 fail:
10038 return NULL;
10039 }
10040
10041
10042 static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *, PyObject *args, PyObject *kwargs) {
10043 PyObject *resultobj;
10044 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
10045 size_t result;
10046 PyObject * obj0 = 0 ;
10047 char *kwnames[] = {
10048 (char *) "self", NULL
10049 };
10050
10051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail;
10052 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
10053 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10054 {
10055 PyThreadState* __tstate = wxPyBeginAllowThreads();
10056 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
10057
10058 wxPyEndAllowThreads(__tstate);
10059 if (PyErr_Occurred()) SWIG_fail;
10060 }
10061 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
10062 return resultobj;
10063 fail:
10064 return NULL;
10065 }
10066
10067
10068 static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) {
10069 PyObject *resultobj;
10070 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
10071 size_t result;
10072 PyObject * obj0 = 0 ;
10073 char *kwnames[] = {
10074 (char *) "self", NULL
10075 };
10076
10077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
10078 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
10079 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10080 {
10081 PyThreadState* __tstate = wxPyBeginAllowThreads();
10082 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
10083
10084 wxPyEndAllowThreads(__tstate);
10085 if (PyErr_Occurred()) SWIG_fail;
10086 }
10087 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
10088 return resultobj;
10089 fail:
10090 return NULL;
10091 }
10092
10093
10094 static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) {
10095 PyObject *resultobj;
10096 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
10097 size_t result;
10098 PyObject * obj0 = 0 ;
10099 char *kwnames[] = {
10100 (char *) "self", NULL
10101 };
10102
10103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail;
10104 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
10105 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10106 {
10107 PyThreadState* __tstate = wxPyBeginAllowThreads();
10108 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
10109
10110 wxPyEndAllowThreads(__tstate);
10111 if (PyErr_Occurred()) SWIG_fail;
10112 }
10113 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
10114 return resultobj;
10115 fail:
10116 return NULL;
10117 }
10118
10119
10120 static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) {
10121 PyObject *resultobj;
10122 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
10123 size_t arg2 ;
10124 bool result;
10125 PyObject * obj0 = 0 ;
10126 PyObject * obj1 = 0 ;
10127 char *kwnames[] = {
10128 (char *) "self",(char *) "line", NULL
10129 };
10130
10131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail;
10132 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
10133 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10134 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
10135 if (PyErr_Occurred()) SWIG_fail;
10136 {
10137 PyThreadState* __tstate = wxPyBeginAllowThreads();
10138 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
10139
10140 wxPyEndAllowThreads(__tstate);
10141 if (PyErr_Occurred()) SWIG_fail;
10142 }
10143 {
10144 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10145 }
10146 return resultobj;
10147 fail:
10148 return NULL;
10149 }
10150
10151
10152 static PyObject * VScrolledWindow_swigregister(PyObject *, PyObject *args) {
10153 PyObject *obj;
10154 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10155 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj);
10156 Py_INCREF(obj);
10157 return Py_BuildValue((char *)"");
10158 }
10159 static int _wrap_VListBoxNameStr_set(PyObject *) {
10160 PyErr_SetString(PyExc_TypeError,"Variable VListBoxNameStr is read-only.");
10161 return 1;
10162 }
10163
10164
10165 static PyObject *_wrap_VListBoxNameStr_get() {
10166 PyObject *pyobj;
10167
10168 {
10169 #if wxUSE_UNICODE
10170 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
10171 #else
10172 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
10173 #endif
10174 }
10175 return pyobj;
10176 }
10177
10178
10179 static PyObject *_wrap_new_VListBox(PyObject *, PyObject *args, PyObject *kwargs) {
10180 PyObject *resultobj;
10181 wxWindow *arg1 = (wxWindow *) 0 ;
10182 int arg2 = (int) wxID_ANY ;
10183 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10184 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10185 wxSize const &arg4_defvalue = wxDefaultSize ;
10186 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10187 long arg5 = (long) 0 ;
10188 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
10189 wxString *arg6 = (wxString *) &arg6_defvalue ;
10190 wxPyVListBox *result;
10191 wxPoint temp3 ;
10192 wxSize temp4 ;
10193 bool temp6 = false ;
10194 PyObject * obj0 = 0 ;
10195 PyObject * obj1 = 0 ;
10196 PyObject * obj2 = 0 ;
10197 PyObject * obj3 = 0 ;
10198 PyObject * obj4 = 0 ;
10199 PyObject * obj5 = 0 ;
10200 char *kwnames[] = {
10201 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10202 };
10203
10204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
10205 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10206 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10207 if (obj1) {
10208 arg2 = (int)SWIG_As_int(obj1);
10209 if (PyErr_Occurred()) SWIG_fail;
10210 }
10211 if (obj2) {
10212 {
10213 arg3 = &temp3;
10214 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10215 }
10216 }
10217 if (obj3) {
10218 {
10219 arg4 = &temp4;
10220 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10221 }
10222 }
10223 if (obj4) {
10224 arg5 = (long)SWIG_As_long(obj4);
10225 if (PyErr_Occurred()) SWIG_fail;
10226 }
10227 if (obj5) {
10228 {
10229 arg6 = wxString_in_helper(obj5);
10230 if (arg6 == NULL) SWIG_fail;
10231 temp6 = true;
10232 }
10233 }
10234 {
10235 if (!wxPyCheckForApp()) SWIG_fail;
10236 PyThreadState* __tstate = wxPyBeginAllowThreads();
10237 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10238
10239 wxPyEndAllowThreads(__tstate);
10240 if (PyErr_Occurred()) SWIG_fail;
10241 }
10242 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
10243 {
10244 if (temp6)
10245 delete arg6;
10246 }
10247 return resultobj;
10248 fail:
10249 {
10250 if (temp6)
10251 delete arg6;
10252 }
10253 return NULL;
10254 }
10255
10256
10257 static PyObject *_wrap_new_PreVListBox(PyObject *, PyObject *args, PyObject *kwargs) {
10258 PyObject *resultobj;
10259 wxPyVListBox *result;
10260 char *kwnames[] = {
10261 NULL
10262 };
10263
10264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail;
10265 {
10266 if (!wxPyCheckForApp()) SWIG_fail;
10267 PyThreadState* __tstate = wxPyBeginAllowThreads();
10268 result = (wxPyVListBox *)new wxPyVListBox();
10269
10270 wxPyEndAllowThreads(__tstate);
10271 if (PyErr_Occurred()) SWIG_fail;
10272 }
10273 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
10274 return resultobj;
10275 fail:
10276 return NULL;
10277 }
10278
10279
10280 static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
10281 PyObject *resultobj;
10282 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10283 PyObject *arg2 = (PyObject *) 0 ;
10284 PyObject *arg3 = (PyObject *) 0 ;
10285 PyObject * obj0 = 0 ;
10286 PyObject * obj1 = 0 ;
10287 PyObject * obj2 = 0 ;
10288 char *kwnames[] = {
10289 (char *) "self",(char *) "self",(char *) "_class", NULL
10290 };
10291
10292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
10293 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10294 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10295 arg2 = obj1;
10296 arg3 = obj2;
10297 {
10298 PyThreadState* __tstate = wxPyBeginAllowThreads();
10299 (arg1)->_setCallbackInfo(arg2,arg3);
10300
10301 wxPyEndAllowThreads(__tstate);
10302 if (PyErr_Occurred()) SWIG_fail;
10303 }
10304 Py_INCREF(Py_None); resultobj = Py_None;
10305 return resultobj;
10306 fail:
10307 return NULL;
10308 }
10309
10310
10311 static PyObject *_wrap_VListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
10312 PyObject *resultobj;
10313 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10314 wxWindow *arg2 = (wxWindow *) 0 ;
10315 int arg3 = (int) wxID_ANY ;
10316 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10317 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10318 wxSize const &arg5_defvalue = wxDefaultSize ;
10319 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10320 long arg6 = (long) 0 ;
10321 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
10322 wxString *arg7 = (wxString *) &arg7_defvalue ;
10323 bool result;
10324 wxPoint temp4 ;
10325 wxSize temp5 ;
10326 bool temp7 = false ;
10327 PyObject * obj0 = 0 ;
10328 PyObject * obj1 = 0 ;
10329 PyObject * obj2 = 0 ;
10330 PyObject * obj3 = 0 ;
10331 PyObject * obj4 = 0 ;
10332 PyObject * obj5 = 0 ;
10333 PyObject * obj6 = 0 ;
10334 char *kwnames[] = {
10335 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10336 };
10337
10338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
10339 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10340 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10341 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10342 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10343 if (obj2) {
10344 arg3 = (int)SWIG_As_int(obj2);
10345 if (PyErr_Occurred()) SWIG_fail;
10346 }
10347 if (obj3) {
10348 {
10349 arg4 = &temp4;
10350 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10351 }
10352 }
10353 if (obj4) {
10354 {
10355 arg5 = &temp5;
10356 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10357 }
10358 }
10359 if (obj5) {
10360 arg6 = (long)SWIG_As_long(obj5);
10361 if (PyErr_Occurred()) SWIG_fail;
10362 }
10363 if (obj6) {
10364 {
10365 arg7 = wxString_in_helper(obj6);
10366 if (arg7 == NULL) SWIG_fail;
10367 temp7 = true;
10368 }
10369 }
10370 {
10371 PyThreadState* __tstate = wxPyBeginAllowThreads();
10372 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10373
10374 wxPyEndAllowThreads(__tstate);
10375 if (PyErr_Occurred()) SWIG_fail;
10376 }
10377 {
10378 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10379 }
10380 {
10381 if (temp7)
10382 delete arg7;
10383 }
10384 return resultobj;
10385 fail:
10386 {
10387 if (temp7)
10388 delete arg7;
10389 }
10390 return NULL;
10391 }
10392
10393
10394 static PyObject *_wrap_VListBox_GetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
10395 PyObject *resultobj;
10396 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10397 size_t result;
10398 PyObject * obj0 = 0 ;
10399 char *kwnames[] = {
10400 (char *) "self", NULL
10401 };
10402
10403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail;
10404 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10405 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10406 {
10407 PyThreadState* __tstate = wxPyBeginAllowThreads();
10408 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
10409
10410 wxPyEndAllowThreads(__tstate);
10411 if (PyErr_Occurred()) SWIG_fail;
10412 }
10413 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
10414 return resultobj;
10415 fail:
10416 return NULL;
10417 }
10418
10419
10420 static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *, PyObject *args, PyObject *kwargs) {
10421 PyObject *resultobj;
10422 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10423 bool result;
10424 PyObject * obj0 = 0 ;
10425 char *kwnames[] = {
10426 (char *) "self", NULL
10427 };
10428
10429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail;
10430 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10431 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10432 {
10433 PyThreadState* __tstate = wxPyBeginAllowThreads();
10434 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
10435
10436 wxPyEndAllowThreads(__tstate);
10437 if (PyErr_Occurred()) SWIG_fail;
10438 }
10439 {
10440 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10441 }
10442 return resultobj;
10443 fail:
10444 return NULL;
10445 }
10446
10447
10448 static PyObject *_wrap_VListBox_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
10449 PyObject *resultobj;
10450 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10451 int result;
10452 PyObject * obj0 = 0 ;
10453 char *kwnames[] = {
10454 (char *) "self", NULL
10455 };
10456
10457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",kwnames,&obj0)) goto fail;
10458 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10459 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10460 {
10461 PyThreadState* __tstate = wxPyBeginAllowThreads();
10462 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
10463
10464 wxPyEndAllowThreads(__tstate);
10465 if (PyErr_Occurred()) SWIG_fail;
10466 }
10467 resultobj = SWIG_From_int((int)result);
10468 return resultobj;
10469 fail:
10470 return NULL;
10471 }
10472
10473
10474 static PyObject *_wrap_VListBox_IsCurrent(PyObject *, PyObject *args, PyObject *kwargs) {
10475 PyObject *resultobj;
10476 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10477 size_t arg2 ;
10478 bool result;
10479 PyObject * obj0 = 0 ;
10480 PyObject * obj1 = 0 ;
10481 char *kwnames[] = {
10482 (char *) "self",(char *) "item", NULL
10483 };
10484
10485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail;
10486 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10487 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10488 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
10489 if (PyErr_Occurred()) SWIG_fail;
10490 {
10491 PyThreadState* __tstate = wxPyBeginAllowThreads();
10492 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
10493
10494 wxPyEndAllowThreads(__tstate);
10495 if (PyErr_Occurred()) SWIG_fail;
10496 }
10497 {
10498 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10499 }
10500 return resultobj;
10501 fail:
10502 return NULL;
10503 }
10504
10505
10506 static PyObject *_wrap_VListBox_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
10507 PyObject *resultobj;
10508 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10509 size_t arg2 ;
10510 bool result;
10511 PyObject * obj0 = 0 ;
10512 PyObject * obj1 = 0 ;
10513 char *kwnames[] = {
10514 (char *) "self",(char *) "item", NULL
10515 };
10516
10517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
10518 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10519 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10520 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
10521 if (PyErr_Occurred()) SWIG_fail;
10522 {
10523 PyThreadState* __tstate = wxPyBeginAllowThreads();
10524 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
10525
10526 wxPyEndAllowThreads(__tstate);
10527 if (PyErr_Occurred()) SWIG_fail;
10528 }
10529 {
10530 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10531 }
10532 return resultobj;
10533 fail:
10534 return NULL;
10535 }
10536
10537
10538 static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *, PyObject *args, PyObject *kwargs) {
10539 PyObject *resultobj;
10540 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10541 size_t result;
10542 PyObject * obj0 = 0 ;
10543 char *kwnames[] = {
10544 (char *) "self", NULL
10545 };
10546
10547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail;
10548 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10549 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10550 {
10551 PyThreadState* __tstate = wxPyBeginAllowThreads();
10552 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
10553
10554 wxPyEndAllowThreads(__tstate);
10555 if (PyErr_Occurred()) SWIG_fail;
10556 }
10557 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
10558 return resultobj;
10559 fail:
10560 return NULL;
10561 }
10562
10563
10564 static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *, PyObject *args, PyObject *kwargs) {
10565 PyObject *resultobj;
10566 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10567 PyObject *result;
10568 PyObject * obj0 = 0 ;
10569 char *kwnames[] = {
10570 (char *) "self", NULL
10571 };
10572
10573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetFirstSelected",kwnames,&obj0)) goto fail;
10574 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10575 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10576 {
10577 PyThreadState* __tstate = wxPyBeginAllowThreads();
10578 result = (PyObject *)wxPyVListBox_GetFirstSelected(arg1);
10579
10580 wxPyEndAllowThreads(__tstate);
10581 if (PyErr_Occurred()) SWIG_fail;
10582 }
10583 resultobj = result;
10584 return resultobj;
10585 fail:
10586 return NULL;
10587 }
10588
10589
10590 static PyObject *_wrap_VListBox_GetNextSelected(PyObject *, PyObject *args, PyObject *kwargs) {
10591 PyObject *resultobj;
10592 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10593 unsigned long arg2 ;
10594 PyObject *result;
10595 PyObject * obj0 = 0 ;
10596 PyObject * obj1 = 0 ;
10597 char *kwnames[] = {
10598 (char *) "self",(char *) "cookie", NULL
10599 };
10600
10601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
10602 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10603 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10604 arg2 = (unsigned long)SWIG_As_unsigned_SS_long(obj1);
10605 if (PyErr_Occurred()) SWIG_fail;
10606 {
10607 PyThreadState* __tstate = wxPyBeginAllowThreads();
10608 result = (PyObject *)wxPyVListBox_GetNextSelected(arg1,arg2);
10609
10610 wxPyEndAllowThreads(__tstate);
10611 if (PyErr_Occurred()) SWIG_fail;
10612 }
10613 resultobj = result;
10614 return resultobj;
10615 fail:
10616 return NULL;
10617 }
10618
10619
10620 static PyObject *_wrap_VListBox_GetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
10621 PyObject *resultobj;
10622 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10623 wxPoint result;
10624 PyObject * obj0 = 0 ;
10625 char *kwnames[] = {
10626 (char *) "self", NULL
10627 };
10628
10629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail;
10630 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10631 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10632 {
10633 PyThreadState* __tstate = wxPyBeginAllowThreads();
10634 result = ((wxPyVListBox const *)arg1)->GetMargins();
10635
10636 wxPyEndAllowThreads(__tstate);
10637 if (PyErr_Occurred()) SWIG_fail;
10638 }
10639 {
10640 wxPoint * resultptr;
10641 resultptr = new wxPoint((wxPoint &) result);
10642 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
10643 }
10644 return resultobj;
10645 fail:
10646 return NULL;
10647 }
10648
10649
10650 static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) {
10651 PyObject *resultobj;
10652 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10653 wxColour *result;
10654 PyObject * obj0 = 0 ;
10655 char *kwnames[] = {
10656 (char *) "self", NULL
10657 };
10658
10659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail;
10660 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10661 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10662 {
10663 PyThreadState* __tstate = wxPyBeginAllowThreads();
10664 {
10665 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
10666 result = (wxColour *) &_result_ref;
10667 }
10668
10669 wxPyEndAllowThreads(__tstate);
10670 if (PyErr_Occurred()) SWIG_fail;
10671 }
10672 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
10673 return resultobj;
10674 fail:
10675 return NULL;
10676 }
10677
10678
10679 static PyObject *_wrap_VListBox_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
10680 PyObject *resultobj;
10681 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10682 size_t arg2 ;
10683 PyObject * obj0 = 0 ;
10684 PyObject * obj1 = 0 ;
10685 char *kwnames[] = {
10686 (char *) "self",(char *) "count", NULL
10687 };
10688
10689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
10690 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10691 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10692 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
10693 if (PyErr_Occurred()) SWIG_fail;
10694 {
10695 PyThreadState* __tstate = wxPyBeginAllowThreads();
10696 (arg1)->SetItemCount(arg2);
10697
10698 wxPyEndAllowThreads(__tstate);
10699 if (PyErr_Occurred()) SWIG_fail;
10700 }
10701 Py_INCREF(Py_None); resultobj = Py_None;
10702 return resultobj;
10703 fail:
10704 return NULL;
10705 }
10706
10707
10708 static PyObject *_wrap_VListBox_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
10709 PyObject *resultobj;
10710 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10711 PyObject * obj0 = 0 ;
10712 char *kwnames[] = {
10713 (char *) "self", NULL
10714 };
10715
10716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail;
10717 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10718 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10719 {
10720 PyThreadState* __tstate = wxPyBeginAllowThreads();
10721 (arg1)->Clear();
10722
10723 wxPyEndAllowThreads(__tstate);
10724 if (PyErr_Occurred()) SWIG_fail;
10725 }
10726 Py_INCREF(Py_None); resultobj = Py_None;
10727 return resultobj;
10728 fail:
10729 return NULL;
10730 }
10731
10732
10733 static PyObject *_wrap_VListBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
10734 PyObject *resultobj;
10735 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10736 int arg2 ;
10737 PyObject * obj0 = 0 ;
10738 PyObject * obj1 = 0 ;
10739 char *kwnames[] = {
10740 (char *) "self",(char *) "selection", NULL
10741 };
10742
10743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
10744 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10745 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10746 arg2 = (int)SWIG_As_int(obj1);
10747 if (PyErr_Occurred()) SWIG_fail;
10748 {
10749 PyThreadState* __tstate = wxPyBeginAllowThreads();
10750 (arg1)->SetSelection(arg2);
10751
10752 wxPyEndAllowThreads(__tstate);
10753 if (PyErr_Occurred()) SWIG_fail;
10754 }
10755 Py_INCREF(Py_None); resultobj = Py_None;
10756 return resultobj;
10757 fail:
10758 return NULL;
10759 }
10760
10761
10762 static PyObject *_wrap_VListBox_Select(PyObject *, PyObject *args, PyObject *kwargs) {
10763 PyObject *resultobj;
10764 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10765 size_t arg2 ;
10766 bool arg3 = (bool) true ;
10767 bool result;
10768 PyObject * obj0 = 0 ;
10769 PyObject * obj1 = 0 ;
10770 PyObject * obj2 = 0 ;
10771 char *kwnames[] = {
10772 (char *) "self",(char *) "item",(char *) "select", NULL
10773 };
10774
10775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
10776 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10777 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10778 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
10779 if (PyErr_Occurred()) SWIG_fail;
10780 if (obj2) {
10781 arg3 = (bool)SWIG_As_bool(obj2);
10782 if (PyErr_Occurred()) SWIG_fail;
10783 }
10784 {
10785 PyThreadState* __tstate = wxPyBeginAllowThreads();
10786 result = (bool)(arg1)->Select(arg2,arg3);
10787
10788 wxPyEndAllowThreads(__tstate);
10789 if (PyErr_Occurred()) SWIG_fail;
10790 }
10791 {
10792 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10793 }
10794 return resultobj;
10795 fail:
10796 return NULL;
10797 }
10798
10799
10800 static PyObject *_wrap_VListBox_SelectRange(PyObject *, PyObject *args, PyObject *kwargs) {
10801 PyObject *resultobj;
10802 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10803 size_t arg2 ;
10804 size_t arg3 ;
10805 bool result;
10806 PyObject * obj0 = 0 ;
10807 PyObject * obj1 = 0 ;
10808 PyObject * obj2 = 0 ;
10809 char *kwnames[] = {
10810 (char *) "self",(char *) "from",(char *) "to", NULL
10811 };
10812
10813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
10814 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10816 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
10817 if (PyErr_Occurred()) SWIG_fail;
10818 arg3 = (size_t)SWIG_As_unsigned_SS_long(obj2);
10819 if (PyErr_Occurred()) SWIG_fail;
10820 {
10821 PyThreadState* __tstate = wxPyBeginAllowThreads();
10822 result = (bool)(arg1)->SelectRange(arg2,arg3);
10823
10824 wxPyEndAllowThreads(__tstate);
10825 if (PyErr_Occurred()) SWIG_fail;
10826 }
10827 {
10828 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10829 }
10830 return resultobj;
10831 fail:
10832 return NULL;
10833 }
10834
10835
10836 static PyObject *_wrap_VListBox_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
10837 PyObject *resultobj;
10838 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10839 size_t arg2 ;
10840 PyObject * obj0 = 0 ;
10841 PyObject * obj1 = 0 ;
10842 char *kwnames[] = {
10843 (char *) "self",(char *) "item", NULL
10844 };
10845
10846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail;
10847 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10848 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10849 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
10850 if (PyErr_Occurred()) SWIG_fail;
10851 {
10852 PyThreadState* __tstate = wxPyBeginAllowThreads();
10853 (arg1)->Toggle(arg2);
10854
10855 wxPyEndAllowThreads(__tstate);
10856 if (PyErr_Occurred()) SWIG_fail;
10857 }
10858 Py_INCREF(Py_None); resultobj = Py_None;
10859 return resultobj;
10860 fail:
10861 return NULL;
10862 }
10863
10864
10865 static PyObject *_wrap_VListBox_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
10866 PyObject *resultobj;
10867 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10868 bool result;
10869 PyObject * obj0 = 0 ;
10870 char *kwnames[] = {
10871 (char *) "self", NULL
10872 };
10873
10874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail;
10875 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10876 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10877 {
10878 PyThreadState* __tstate = wxPyBeginAllowThreads();
10879 result = (bool)(arg1)->SelectAll();
10880
10881 wxPyEndAllowThreads(__tstate);
10882 if (PyErr_Occurred()) SWIG_fail;
10883 }
10884 {
10885 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10886 }
10887 return resultobj;
10888 fail:
10889 return NULL;
10890 }
10891
10892
10893 static PyObject *_wrap_VListBox_DeselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
10894 PyObject *resultobj;
10895 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10896 bool result;
10897 PyObject * obj0 = 0 ;
10898 char *kwnames[] = {
10899 (char *) "self", NULL
10900 };
10901
10902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail;
10903 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10904 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10905 {
10906 PyThreadState* __tstate = wxPyBeginAllowThreads();
10907 result = (bool)(arg1)->DeselectAll();
10908
10909 wxPyEndAllowThreads(__tstate);
10910 if (PyErr_Occurred()) SWIG_fail;
10911 }
10912 {
10913 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10914 }
10915 return resultobj;
10916 fail:
10917 return NULL;
10918 }
10919
10920
10921 static PyObject *_wrap_VListBox_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
10922 PyObject *resultobj;
10923 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10924 wxPoint *arg2 = 0 ;
10925 wxPoint temp2 ;
10926 PyObject * obj0 = 0 ;
10927 PyObject * obj1 = 0 ;
10928 char *kwnames[] = {
10929 (char *) "self",(char *) "pt", NULL
10930 };
10931
10932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail;
10933 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10934 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10935 {
10936 arg2 = &temp2;
10937 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10938 }
10939 {
10940 PyThreadState* __tstate = wxPyBeginAllowThreads();
10941 (arg1)->SetMargins((wxPoint const &)*arg2);
10942
10943 wxPyEndAllowThreads(__tstate);
10944 if (PyErr_Occurred()) SWIG_fail;
10945 }
10946 Py_INCREF(Py_None); resultobj = Py_None;
10947 return resultobj;
10948 fail:
10949 return NULL;
10950 }
10951
10952
10953 static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *, PyObject *args, PyObject *kwargs) {
10954 PyObject *resultobj;
10955 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10956 int arg2 ;
10957 int arg3 ;
10958 PyObject * obj0 = 0 ;
10959 PyObject * obj1 = 0 ;
10960 PyObject * obj2 = 0 ;
10961 char *kwnames[] = {
10962 (char *) "self",(char *) "x",(char *) "y", NULL
10963 };
10964
10965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
10966 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10967 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10968 arg2 = (int)SWIG_As_int(obj1);
10969 if (PyErr_Occurred()) SWIG_fail;
10970 arg3 = (int)SWIG_As_int(obj2);
10971 if (PyErr_Occurred()) SWIG_fail;
10972 {
10973 PyThreadState* __tstate = wxPyBeginAllowThreads();
10974 (arg1)->SetMargins(arg2,arg3);
10975
10976 wxPyEndAllowThreads(__tstate);
10977 if (PyErr_Occurred()) SWIG_fail;
10978 }
10979 Py_INCREF(Py_None); resultobj = Py_None;
10980 return resultobj;
10981 fail:
10982 return NULL;
10983 }
10984
10985
10986 static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) {
10987 PyObject *resultobj;
10988 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10989 wxColour *arg2 = 0 ;
10990 wxColour temp2 ;
10991 PyObject * obj0 = 0 ;
10992 PyObject * obj1 = 0 ;
10993 char *kwnames[] = {
10994 (char *) "self",(char *) "col", NULL
10995 };
10996
10997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail;
10998 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10999 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11000 {
11001 arg2 = &temp2;
11002 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
11003 }
11004 {
11005 PyThreadState* __tstate = wxPyBeginAllowThreads();
11006 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
11007
11008 wxPyEndAllowThreads(__tstate);
11009 if (PyErr_Occurred()) SWIG_fail;
11010 }
11011 Py_INCREF(Py_None); resultobj = Py_None;
11012 return resultobj;
11013 fail:
11014 return NULL;
11015 }
11016
11017
11018 static PyObject * VListBox_swigregister(PyObject *, PyObject *args) {
11019 PyObject *obj;
11020 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11021 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj);
11022 Py_INCREF(obj);
11023 return Py_BuildValue((char *)"");
11024 }
11025 static PyObject *_wrap_new_HtmlListBox(PyObject *, PyObject *args, PyObject *kwargs) {
11026 PyObject *resultobj;
11027 wxWindow *arg1 = (wxWindow *) 0 ;
11028 int arg2 = (int) wxID_ANY ;
11029 wxPoint const &arg3_defvalue = wxDefaultPosition ;
11030 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
11031 wxSize const &arg4_defvalue = wxDefaultSize ;
11032 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
11033 long arg5 = (long) 0 ;
11034 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
11035 wxString *arg6 = (wxString *) &arg6_defvalue ;
11036 wxPyHtmlListBox *result;
11037 wxPoint temp3 ;
11038 wxSize temp4 ;
11039 bool temp6 = false ;
11040 PyObject * obj0 = 0 ;
11041 PyObject * obj1 = 0 ;
11042 PyObject * obj2 = 0 ;
11043 PyObject * obj3 = 0 ;
11044 PyObject * obj4 = 0 ;
11045 PyObject * obj5 = 0 ;
11046 char *kwnames[] = {
11047 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11048 };
11049
11050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
11051 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11052 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11053 if (obj1) {
11054 arg2 = (int)SWIG_As_int(obj1);
11055 if (PyErr_Occurred()) SWIG_fail;
11056 }
11057 if (obj2) {
11058 {
11059 arg3 = &temp3;
11060 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
11061 }
11062 }
11063 if (obj3) {
11064 {
11065 arg4 = &temp4;
11066 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
11067 }
11068 }
11069 if (obj4) {
11070 arg5 = (long)SWIG_As_long(obj4);
11071 if (PyErr_Occurred()) SWIG_fail;
11072 }
11073 if (obj5) {
11074 {
11075 arg6 = wxString_in_helper(obj5);
11076 if (arg6 == NULL) SWIG_fail;
11077 temp6 = true;
11078 }
11079 }
11080 {
11081 if (!wxPyCheckForApp()) SWIG_fail;
11082 PyThreadState* __tstate = wxPyBeginAllowThreads();
11083 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
11084
11085 wxPyEndAllowThreads(__tstate);
11086 if (PyErr_Occurred()) SWIG_fail;
11087 }
11088 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
11089 {
11090 if (temp6)
11091 delete arg6;
11092 }
11093 return resultobj;
11094 fail:
11095 {
11096 if (temp6)
11097 delete arg6;
11098 }
11099 return NULL;
11100 }
11101
11102
11103 static PyObject *_wrap_new_PreHtmlListBox(PyObject *, PyObject *args, PyObject *kwargs) {
11104 PyObject *resultobj;
11105 wxPyHtmlListBox *result;
11106 char *kwnames[] = {
11107 NULL
11108 };
11109
11110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail;
11111 {
11112 if (!wxPyCheckForApp()) SWIG_fail;
11113 PyThreadState* __tstate = wxPyBeginAllowThreads();
11114 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
11115
11116 wxPyEndAllowThreads(__tstate);
11117 if (PyErr_Occurred()) SWIG_fail;
11118 }
11119 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
11120 return resultobj;
11121 fail:
11122 return NULL;
11123 }
11124
11125
11126 static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
11127 PyObject *resultobj;
11128 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
11129 PyObject *arg2 = (PyObject *) 0 ;
11130 PyObject *arg3 = (PyObject *) 0 ;
11131 PyObject * obj0 = 0 ;
11132 PyObject * obj1 = 0 ;
11133 PyObject * obj2 = 0 ;
11134 char *kwnames[] = {
11135 (char *) "self",(char *) "self",(char *) "_class", NULL
11136 };
11137
11138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
11139 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
11140 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11141 arg2 = obj1;
11142 arg3 = obj2;
11143 {
11144 PyThreadState* __tstate = wxPyBeginAllowThreads();
11145 (arg1)->_setCallbackInfo(arg2,arg3);
11146
11147 wxPyEndAllowThreads(__tstate);
11148 if (PyErr_Occurred()) SWIG_fail;
11149 }
11150 Py_INCREF(Py_None); resultobj = Py_None;
11151 return resultobj;
11152 fail:
11153 return NULL;
11154 }
11155
11156
11157 static PyObject *_wrap_HtmlListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
11158 PyObject *resultobj;
11159 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
11160 wxWindow *arg2 = (wxWindow *) 0 ;
11161 int arg3 = (int) wxID_ANY ;
11162 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11163 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11164 wxSize const &arg5_defvalue = wxDefaultSize ;
11165 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11166 long arg6 = (long) 0 ;
11167 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
11168 wxString *arg7 = (wxString *) &arg7_defvalue ;
11169 bool result;
11170 wxPoint temp4 ;
11171 wxSize temp5 ;
11172 bool temp7 = false ;
11173 PyObject * obj0 = 0 ;
11174 PyObject * obj1 = 0 ;
11175 PyObject * obj2 = 0 ;
11176 PyObject * obj3 = 0 ;
11177 PyObject * obj4 = 0 ;
11178 PyObject * obj5 = 0 ;
11179 PyObject * obj6 = 0 ;
11180 char *kwnames[] = {
11181 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11182 };
11183
11184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11185 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
11186 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11187 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
11188 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11189 if (obj2) {
11190 arg3 = (int)SWIG_As_int(obj2);
11191 if (PyErr_Occurred()) SWIG_fail;
11192 }
11193 if (obj3) {
11194 {
11195 arg4 = &temp4;
11196 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11197 }
11198 }
11199 if (obj4) {
11200 {
11201 arg5 = &temp5;
11202 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11203 }
11204 }
11205 if (obj5) {
11206 arg6 = (long)SWIG_As_long(obj5);
11207 if (PyErr_Occurred()) SWIG_fail;
11208 }
11209 if (obj6) {
11210 {
11211 arg7 = wxString_in_helper(obj6);
11212 if (arg7 == NULL) SWIG_fail;
11213 temp7 = true;
11214 }
11215 }
11216 {
11217 PyThreadState* __tstate = wxPyBeginAllowThreads();
11218 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
11219
11220 wxPyEndAllowThreads(__tstate);
11221 if (PyErr_Occurred()) SWIG_fail;
11222 }
11223 {
11224 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11225 }
11226 {
11227 if (temp7)
11228 delete arg7;
11229 }
11230 return resultobj;
11231 fail:
11232 {
11233 if (temp7)
11234 delete arg7;
11235 }
11236 return NULL;
11237 }
11238
11239
11240 static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *, PyObject *args, PyObject *kwargs) {
11241 PyObject *resultobj;
11242 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
11243 PyObject * obj0 = 0 ;
11244 char *kwnames[] = {
11245 (char *) "self", NULL
11246 };
11247
11248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail;
11249 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
11250 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11251 {
11252 PyThreadState* __tstate = wxPyBeginAllowThreads();
11253 (arg1)->RefreshAll();
11254
11255 wxPyEndAllowThreads(__tstate);
11256 if (PyErr_Occurred()) SWIG_fail;
11257 }
11258 Py_INCREF(Py_None); resultobj = Py_None;
11259 return resultobj;
11260 fail:
11261 return NULL;
11262 }
11263
11264
11265 static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
11266 PyObject *resultobj;
11267 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
11268 size_t arg2 ;
11269 PyObject * obj0 = 0 ;
11270 PyObject * obj1 = 0 ;
11271 char *kwnames[] = {
11272 (char *) "self",(char *) "count", NULL
11273 };
11274
11275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
11276 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
11277 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11278 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
11279 if (PyErr_Occurred()) SWIG_fail;
11280 {
11281 PyThreadState* __tstate = wxPyBeginAllowThreads();
11282 (arg1)->SetItemCount(arg2);
11283
11284 wxPyEndAllowThreads(__tstate);
11285 if (PyErr_Occurred()) SWIG_fail;
11286 }
11287 Py_INCREF(Py_None); resultobj = Py_None;
11288 return resultobj;
11289 fail:
11290 return NULL;
11291 }
11292
11293
11294 static PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *, PyObject *args, PyObject *kwargs) {
11295 PyObject *resultobj;
11296 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
11297 wxFileSystem *result;
11298 PyObject * obj0 = 0 ;
11299 char *kwnames[] = {
11300 (char *) "self", NULL
11301 };
11302
11303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_GetFileSystem",kwnames,&obj0)) goto fail;
11304 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
11305 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11306 {
11307 PyThreadState* __tstate = wxPyBeginAllowThreads();
11308 {
11309 wxFileSystem &_result_ref = (arg1)->GetFileSystem();
11310 result = (wxFileSystem *) &_result_ref;
11311 }
11312
11313 wxPyEndAllowThreads(__tstate);
11314 if (PyErr_Occurred()) SWIG_fail;
11315 }
11316 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileSystem, 0);
11317 return resultobj;
11318 fail:
11319 return NULL;
11320 }
11321
11322
11323 static PyObject * HtmlListBox_swigregister(PyObject *, PyObject *args) {
11324 PyObject *obj;
11325 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11326 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj);
11327 Py_INCREF(obj);
11328 return Py_BuildValue((char *)"");
11329 }
11330 static PyObject *_wrap_new_TaskBarIcon(PyObject *, PyObject *args, PyObject *kwargs) {
11331 PyObject *resultobj;
11332 wxPyTaskBarIcon *result;
11333 char *kwnames[] = {
11334 NULL
11335 };
11336
11337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail;
11338 {
11339 if (!wxPyCheckForApp()) SWIG_fail;
11340 PyThreadState* __tstate = wxPyBeginAllowThreads();
11341 result = (wxPyTaskBarIcon *)new wxPyTaskBarIcon();
11342
11343 wxPyEndAllowThreads(__tstate);
11344 if (PyErr_Occurred()) SWIG_fail;
11345 }
11346 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTaskBarIcon, 1);
11347 return resultobj;
11348 fail:
11349 return NULL;
11350 }
11351
11352
11353 static PyObject *_wrap_TaskBarIcon__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
11354 PyObject *resultobj;
11355 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
11356 PyObject *arg2 = (PyObject *) 0 ;
11357 PyObject *arg3 = (PyObject *) 0 ;
11358 int arg4 ;
11359 PyObject * obj0 = 0 ;
11360 PyObject * obj1 = 0 ;
11361 PyObject * obj2 = 0 ;
11362 PyObject * obj3 = 0 ;
11363 char *kwnames[] = {
11364 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
11365 };
11366
11367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
11368 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTaskBarIcon,
11369 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11370 arg2 = obj1;
11371 arg3 = obj2;
11372 arg4 = (int)SWIG_As_int(obj3);
11373 if (PyErr_Occurred()) SWIG_fail;
11374 {
11375 PyThreadState* __tstate = wxPyBeginAllowThreads();
11376 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
11377
11378 wxPyEndAllowThreads(__tstate);
11379 if (PyErr_Occurred()) SWIG_fail;
11380 }
11381 Py_INCREF(Py_None); resultobj = Py_None;
11382 return resultobj;
11383 fail:
11384 return NULL;
11385 }
11386
11387
11388 static PyObject *_wrap_TaskBarIcon_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
11389 PyObject *resultobj;
11390 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
11391 PyObject * obj0 = 0 ;
11392 char *kwnames[] = {
11393 (char *) "self", NULL
11394 };
11395
11396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_Destroy",kwnames,&obj0)) goto fail;
11397 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTaskBarIcon,
11398 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11399 {
11400 PyThreadState* __tstate = wxPyBeginAllowThreads();
11401 wxPyTaskBarIcon_Destroy(arg1);
11402
11403 wxPyEndAllowThreads(__tstate);
11404 if (PyErr_Occurred()) SWIG_fail;
11405 }
11406 Py_INCREF(Py_None); resultobj = Py_None;
11407 return resultobj;
11408 fail:
11409 return NULL;
11410 }
11411
11412
11413 static PyObject *_wrap_TaskBarIcon_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
11414 PyObject *resultobj;
11415 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
11416 bool result;
11417 PyObject * obj0 = 0 ;
11418 char *kwnames[] = {
11419 (char *) "self", NULL
11420 };
11421
11422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsOk",kwnames,&obj0)) goto fail;
11423 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTaskBarIcon,
11424 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11425 {
11426 PyThreadState* __tstate = wxPyBeginAllowThreads();
11427 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsOk();
11428
11429 wxPyEndAllowThreads(__tstate);
11430 if (PyErr_Occurred()) SWIG_fail;
11431 }
11432 {
11433 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11434 }
11435 return resultobj;
11436 fail:
11437 return NULL;
11438 }
11439
11440
11441 static PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *, PyObject *args, PyObject *kwargs) {
11442 PyObject *resultobj;
11443 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
11444 bool result;
11445 PyObject * obj0 = 0 ;
11446 char *kwnames[] = {
11447 (char *) "self", NULL
11448 };
11449
11450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames,&obj0)) goto fail;
11451 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTaskBarIcon,
11452 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11453 {
11454 PyThreadState* __tstate = wxPyBeginAllowThreads();
11455 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsIconInstalled();
11456
11457 wxPyEndAllowThreads(__tstate);
11458 if (PyErr_Occurred()) SWIG_fail;
11459 }
11460 {
11461 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11462 }
11463 return resultobj;
11464 fail:
11465 return NULL;
11466 }
11467
11468
11469 static PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
11470 PyObject *resultobj;
11471 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
11472 wxIcon *arg2 = 0 ;
11473 wxString const &arg3_defvalue = wxPyEmptyString ;
11474 wxString *arg3 = (wxString *) &arg3_defvalue ;
11475 bool result;
11476 bool temp3 = false ;
11477 PyObject * obj0 = 0 ;
11478 PyObject * obj1 = 0 ;
11479 PyObject * obj2 = 0 ;
11480 char *kwnames[] = {
11481 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
11482 };
11483
11484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
11485 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTaskBarIcon,
11486 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11487 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
11488 SWIG_POINTER_EXCEPTION | 0)) == -1)
11489 SWIG_fail;
11490 if (arg2 == NULL) {
11491 PyErr_SetString(PyExc_TypeError,"null reference");
11492 SWIG_fail;
11493 }
11494 if (obj2) {
11495 {
11496 arg3 = wxString_in_helper(obj2);
11497 if (arg3 == NULL) SWIG_fail;
11498 temp3 = true;
11499 }
11500 }
11501 {
11502 PyThreadState* __tstate = wxPyBeginAllowThreads();
11503 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
11504
11505 wxPyEndAllowThreads(__tstate);
11506 if (PyErr_Occurred()) SWIG_fail;
11507 }
11508 {
11509 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11510 }
11511 {
11512 if (temp3)
11513 delete arg3;
11514 }
11515 return resultobj;
11516 fail:
11517 {
11518 if (temp3)
11519 delete arg3;
11520 }
11521 return NULL;
11522 }
11523
11524
11525 static PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *, PyObject *args, PyObject *kwargs) {
11526 PyObject *resultobj;
11527 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
11528 bool result;
11529 PyObject * obj0 = 0 ;
11530 char *kwnames[] = {
11531 (char *) "self", NULL
11532 };
11533
11534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_RemoveIcon",kwnames,&obj0)) goto fail;
11535 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTaskBarIcon,
11536 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11537 {
11538 PyThreadState* __tstate = wxPyBeginAllowThreads();
11539 result = (bool)(arg1)->RemoveIcon();
11540
11541 wxPyEndAllowThreads(__tstate);
11542 if (PyErr_Occurred()) SWIG_fail;
11543 }
11544 {
11545 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11546 }
11547 return resultobj;
11548 fail:
11549 return NULL;
11550 }
11551
11552
11553 static PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *, PyObject *args, PyObject *kwargs) {
11554 PyObject *resultobj;
11555 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
11556 wxMenu *arg2 = (wxMenu *) 0 ;
11557 bool result;
11558 PyObject * obj0 = 0 ;
11559 PyObject * obj1 = 0 ;
11560 char *kwnames[] = {
11561 (char *) "self",(char *) "menu", NULL
11562 };
11563
11564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) goto fail;
11565 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTaskBarIcon,
11566 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11567 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
11568 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11569 {
11570 PyThreadState* __tstate = wxPyBeginAllowThreads();
11571 result = (bool)(arg1)->PopupMenu(arg2);
11572
11573 wxPyEndAllowThreads(__tstate);
11574 if (PyErr_Occurred()) SWIG_fail;
11575 }
11576 {
11577 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11578 }
11579 return resultobj;
11580 fail:
11581 return NULL;
11582 }
11583
11584
11585 static PyObject * TaskBarIcon_swigregister(PyObject *, PyObject *args) {
11586 PyObject *obj;
11587 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11588 SWIG_TypeClientData(SWIGTYPE_p_wxPyTaskBarIcon, obj);
11589 Py_INCREF(obj);
11590 return Py_BuildValue((char *)"");
11591 }
11592 static PyObject *_wrap_new_TaskBarIconEvent(PyObject *, PyObject *args, PyObject *kwargs) {
11593 PyObject *resultobj;
11594 wxEventType arg1 ;
11595 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
11596 wxTaskBarIconEvent *result;
11597 PyObject * obj0 = 0 ;
11598 PyObject * obj1 = 0 ;
11599 char *kwnames[] = {
11600 (char *) "evtType",(char *) "tbIcon", NULL
11601 };
11602
11603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) goto fail;
11604 arg1 = (wxEventType)SWIG_As_int(obj0);
11605 if (PyErr_Occurred()) SWIG_fail;
11606 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTaskBarIcon,
11607 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11608 {
11609 PyThreadState* __tstate = wxPyBeginAllowThreads();
11610 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
11611
11612 wxPyEndAllowThreads(__tstate);
11613 if (PyErr_Occurred()) SWIG_fail;
11614 }
11615 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIconEvent, 1);
11616 return resultobj;
11617 fail:
11618 return NULL;
11619 }
11620
11621
11622 static PyObject * TaskBarIconEvent_swigregister(PyObject *, PyObject *args) {
11623 PyObject *obj;
11624 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11625 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj);
11626 Py_INCREF(obj);
11627 return Py_BuildValue((char *)"");
11628 }
11629 static int _wrap_FileSelectorPromptStr_set(PyObject *) {
11630 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
11631 return 1;
11632 }
11633
11634
11635 static PyObject *_wrap_FileSelectorPromptStr_get() {
11636 PyObject *pyobj;
11637
11638 {
11639 #if wxUSE_UNICODE
11640 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
11641 #else
11642 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
11643 #endif
11644 }
11645 return pyobj;
11646 }
11647
11648
11649 static int _wrap_DirSelectorPromptStr_set(PyObject *) {
11650 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
11651 return 1;
11652 }
11653
11654
11655 static PyObject *_wrap_DirSelectorPromptStr_get() {
11656 PyObject *pyobj;
11657
11658 {
11659 #if wxUSE_UNICODE
11660 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
11661 #else
11662 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
11663 #endif
11664 }
11665 return pyobj;
11666 }
11667
11668
11669 static int _wrap_DirDialogNameStr_set(PyObject *) {
11670 PyErr_SetString(PyExc_TypeError,"Variable DirDialogNameStr is read-only.");
11671 return 1;
11672 }
11673
11674
11675 static PyObject *_wrap_DirDialogNameStr_get() {
11676 PyObject *pyobj;
11677
11678 {
11679 #if wxUSE_UNICODE
11680 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
11681 #else
11682 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
11683 #endif
11684 }
11685 return pyobj;
11686 }
11687
11688
11689 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *) {
11690 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
11691 return 1;
11692 }
11693
11694
11695 static PyObject *_wrap_FileSelectorDefaultWildcardStr_get() {
11696 PyObject *pyobj;
11697
11698 {
11699 #if wxUSE_UNICODE
11700 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
11701 #else
11702 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
11703 #endif
11704 }
11705 return pyobj;
11706 }
11707
11708
11709 static int _wrap_GetTextFromUserPromptStr_set(PyObject *) {
11710 PyErr_SetString(PyExc_TypeError,"Variable GetTextFromUserPromptStr is read-only.");
11711 return 1;
11712 }
11713
11714
11715 static PyObject *_wrap_GetTextFromUserPromptStr_get() {
11716 PyObject *pyobj;
11717
11718 {
11719 #if wxUSE_UNICODE
11720 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
11721 #else
11722 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
11723 #endif
11724 }
11725 return pyobj;
11726 }
11727
11728
11729 static int _wrap_MessageBoxCaptionStr_set(PyObject *) {
11730 PyErr_SetString(PyExc_TypeError,"Variable MessageBoxCaptionStr is read-only.");
11731 return 1;
11732 }
11733
11734
11735 static PyObject *_wrap_MessageBoxCaptionStr_get() {
11736 PyObject *pyobj;
11737
11738 {
11739 #if wxUSE_UNICODE
11740 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
11741 #else
11742 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
11743 #endif
11744 }
11745 return pyobj;
11746 }
11747
11748
11749 static PyObject *_wrap_new_ColourData(PyObject *, PyObject *args, PyObject *kwargs) {
11750 PyObject *resultobj;
11751 wxColourData *result;
11752 char *kwnames[] = {
11753 NULL
11754 };
11755
11756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail;
11757 {
11758 PyThreadState* __tstate = wxPyBeginAllowThreads();
11759 result = (wxColourData *)new wxColourData();
11760
11761 wxPyEndAllowThreads(__tstate);
11762 if (PyErr_Occurred()) SWIG_fail;
11763 }
11764 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 1);
11765 return resultobj;
11766 fail:
11767 return NULL;
11768 }
11769
11770
11771 static PyObject *_wrap_delete_ColourData(PyObject *, PyObject *args, PyObject *kwargs) {
11772 PyObject *resultobj;
11773 wxColourData *arg1 = (wxColourData *) 0 ;
11774 PyObject * obj0 = 0 ;
11775 char *kwnames[] = {
11776 (char *) "self", NULL
11777 };
11778
11779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail;
11780 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11781 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11782 {
11783 PyThreadState* __tstate = wxPyBeginAllowThreads();
11784 delete arg1;
11785
11786 wxPyEndAllowThreads(__tstate);
11787 if (PyErr_Occurred()) SWIG_fail;
11788 }
11789 Py_INCREF(Py_None); resultobj = Py_None;
11790 return resultobj;
11791 fail:
11792 return NULL;
11793 }
11794
11795
11796 static PyObject *_wrap_ColourData_GetChooseFull(PyObject *, PyObject *args, PyObject *kwargs) {
11797 PyObject *resultobj;
11798 wxColourData *arg1 = (wxColourData *) 0 ;
11799 bool result;
11800 PyObject * obj0 = 0 ;
11801 char *kwnames[] = {
11802 (char *) "self", NULL
11803 };
11804
11805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail;
11806 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11807 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11808 {
11809 PyThreadState* __tstate = wxPyBeginAllowThreads();
11810 result = (bool)(arg1)->GetChooseFull();
11811
11812 wxPyEndAllowThreads(__tstate);
11813 if (PyErr_Occurred()) SWIG_fail;
11814 }
11815 {
11816 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11817 }
11818 return resultobj;
11819 fail:
11820 return NULL;
11821 }
11822
11823
11824 static PyObject *_wrap_ColourData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
11825 PyObject *resultobj;
11826 wxColourData *arg1 = (wxColourData *) 0 ;
11827 wxColour result;
11828 PyObject * obj0 = 0 ;
11829 char *kwnames[] = {
11830 (char *) "self", NULL
11831 };
11832
11833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail;
11834 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11835 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11836 {
11837 PyThreadState* __tstate = wxPyBeginAllowThreads();
11838 result = (arg1)->GetColour();
11839
11840 wxPyEndAllowThreads(__tstate);
11841 if (PyErr_Occurred()) SWIG_fail;
11842 }
11843 {
11844 wxColour * resultptr;
11845 resultptr = new wxColour((wxColour &) result);
11846 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
11847 }
11848 return resultobj;
11849 fail:
11850 return NULL;
11851 }
11852
11853
11854 static PyObject *_wrap_ColourData_GetCustomColour(PyObject *, PyObject *args, PyObject *kwargs) {
11855 PyObject *resultobj;
11856 wxColourData *arg1 = (wxColourData *) 0 ;
11857 int arg2 ;
11858 wxColour result;
11859 PyObject * obj0 = 0 ;
11860 PyObject * obj1 = 0 ;
11861 char *kwnames[] = {
11862 (char *) "self",(char *) "i", NULL
11863 };
11864
11865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) goto fail;
11866 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11867 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11868 arg2 = (int)SWIG_As_int(obj1);
11869 if (PyErr_Occurred()) SWIG_fail;
11870 {
11871 PyThreadState* __tstate = wxPyBeginAllowThreads();
11872 result = (arg1)->GetCustomColour(arg2);
11873
11874 wxPyEndAllowThreads(__tstate);
11875 if (PyErr_Occurred()) SWIG_fail;
11876 }
11877 {
11878 wxColour * resultptr;
11879 resultptr = new wxColour((wxColour &) result);
11880 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
11881 }
11882 return resultobj;
11883 fail:
11884 return NULL;
11885 }
11886
11887
11888 static PyObject *_wrap_ColourData_SetChooseFull(PyObject *, PyObject *args, PyObject *kwargs) {
11889 PyObject *resultobj;
11890 wxColourData *arg1 = (wxColourData *) 0 ;
11891 int arg2 ;
11892 PyObject * obj0 = 0 ;
11893 PyObject * obj1 = 0 ;
11894 char *kwnames[] = {
11895 (char *) "self",(char *) "flag", NULL
11896 };
11897
11898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) goto fail;
11899 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11900 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11901 arg2 = (int)SWIG_As_int(obj1);
11902 if (PyErr_Occurred()) SWIG_fail;
11903 {
11904 PyThreadState* __tstate = wxPyBeginAllowThreads();
11905 (arg1)->SetChooseFull(arg2);
11906
11907 wxPyEndAllowThreads(__tstate);
11908 if (PyErr_Occurred()) SWIG_fail;
11909 }
11910 Py_INCREF(Py_None); resultobj = Py_None;
11911 return resultobj;
11912 fail:
11913 return NULL;
11914 }
11915
11916
11917 static PyObject *_wrap_ColourData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
11918 PyObject *resultobj;
11919 wxColourData *arg1 = (wxColourData *) 0 ;
11920 wxColour *arg2 = 0 ;
11921 wxColour temp2 ;
11922 PyObject * obj0 = 0 ;
11923 PyObject * obj1 = 0 ;
11924 char *kwnames[] = {
11925 (char *) "self",(char *) "colour", NULL
11926 };
11927
11928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail;
11929 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11930 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11931 {
11932 arg2 = &temp2;
11933 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
11934 }
11935 {
11936 PyThreadState* __tstate = wxPyBeginAllowThreads();
11937 (arg1)->SetColour((wxColour const &)*arg2);
11938
11939 wxPyEndAllowThreads(__tstate);
11940 if (PyErr_Occurred()) SWIG_fail;
11941 }
11942 Py_INCREF(Py_None); resultobj = Py_None;
11943 return resultobj;
11944 fail:
11945 return NULL;
11946 }
11947
11948
11949 static PyObject *_wrap_ColourData_SetCustomColour(PyObject *, PyObject *args, PyObject *kwargs) {
11950 PyObject *resultobj;
11951 wxColourData *arg1 = (wxColourData *) 0 ;
11952 int arg2 ;
11953 wxColour *arg3 = 0 ;
11954 wxColour temp3 ;
11955 PyObject * obj0 = 0 ;
11956 PyObject * obj1 = 0 ;
11957 PyObject * obj2 = 0 ;
11958 char *kwnames[] = {
11959 (char *) "self",(char *) "i",(char *) "colour", NULL
11960 };
11961
11962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
11963 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11964 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11965 arg2 = (int)SWIG_As_int(obj1);
11966 if (PyErr_Occurred()) SWIG_fail;
11967 {
11968 arg3 = &temp3;
11969 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
11970 }
11971 {
11972 PyThreadState* __tstate = wxPyBeginAllowThreads();
11973 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
11974
11975 wxPyEndAllowThreads(__tstate);
11976 if (PyErr_Occurred()) SWIG_fail;
11977 }
11978 Py_INCREF(Py_None); resultobj = Py_None;
11979 return resultobj;
11980 fail:
11981 return NULL;
11982 }
11983
11984
11985 static PyObject * ColourData_swigregister(PyObject *, PyObject *args) {
11986 PyObject *obj;
11987 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11988 SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj);
11989 Py_INCREF(obj);
11990 return Py_BuildValue((char *)"");
11991 }
11992 static PyObject *_wrap_new_ColourDialog(PyObject *, PyObject *args, PyObject *kwargs) {
11993 PyObject *resultobj;
11994 wxWindow *arg1 = (wxWindow *) 0 ;
11995 wxColourData *arg2 = (wxColourData *) NULL ;
11996 wxColourDialog *result;
11997 PyObject * obj0 = 0 ;
11998 PyObject * obj1 = 0 ;
11999 char *kwnames[] = {
12000 (char *) "parent",(char *) "data", NULL
12001 };
12002
12003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail;
12004 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12005 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12006 if (obj1) {
12007 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxColourData,
12008 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12009 }
12010 {
12011 if (!wxPyCheckForApp()) SWIG_fail;
12012 PyThreadState* __tstate = wxPyBeginAllowThreads();
12013 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
12014
12015 wxPyEndAllowThreads(__tstate);
12016 if (PyErr_Occurred()) SWIG_fail;
12017 }
12018 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourDialog, 1);
12019 return resultobj;
12020 fail:
12021 return NULL;
12022 }
12023
12024
12025 static PyObject *_wrap_ColourDialog_GetColourData(PyObject *, PyObject *args, PyObject *kwargs) {
12026 PyObject *resultobj;
12027 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
12028 wxColourData *result;
12029 PyObject * obj0 = 0 ;
12030 char *kwnames[] = {
12031 (char *) "self", NULL
12032 };
12033
12034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail;
12035 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourDialog,
12036 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12037 {
12038 PyThreadState* __tstate = wxPyBeginAllowThreads();
12039 {
12040 wxColourData &_result_ref = (arg1)->GetColourData();
12041 result = (wxColourData *) &_result_ref;
12042 }
12043
12044 wxPyEndAllowThreads(__tstate);
12045 if (PyErr_Occurred()) SWIG_fail;
12046 }
12047 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 0);
12048 return resultobj;
12049 fail:
12050 return NULL;
12051 }
12052
12053
12054 static PyObject * ColourDialog_swigregister(PyObject *, PyObject *args) {
12055 PyObject *obj;
12056 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12057 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj);
12058 Py_INCREF(obj);
12059 return Py_BuildValue((char *)"");
12060 }
12061 static PyObject *_wrap_new_DirDialog(PyObject *, PyObject *args, PyObject *kwargs) {
12062 PyObject *resultobj;
12063 wxWindow *arg1 = (wxWindow *) 0 ;
12064 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
12065 wxString *arg2 = (wxString *) &arg2_defvalue ;
12066 wxString const &arg3_defvalue = wxPyEmptyString ;
12067 wxString *arg3 = (wxString *) &arg3_defvalue ;
12068 long arg4 = (long) 0 ;
12069 wxPoint const &arg5_defvalue = wxDefaultPosition ;
12070 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
12071 wxSize const &arg6_defvalue = wxDefaultSize ;
12072 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
12073 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
12074 wxString *arg7 = (wxString *) &arg7_defvalue ;
12075 wxDirDialog *result;
12076 bool temp2 = false ;
12077 bool temp3 = false ;
12078 wxPoint temp5 ;
12079 wxSize temp6 ;
12080 bool temp7 = false ;
12081 PyObject * obj0 = 0 ;
12082 PyObject * obj1 = 0 ;
12083 PyObject * obj2 = 0 ;
12084 PyObject * obj3 = 0 ;
12085 PyObject * obj4 = 0 ;
12086 PyObject * obj5 = 0 ;
12087 PyObject * obj6 = 0 ;
12088 char *kwnames[] = {
12089 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
12090 };
12091
12092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
12093 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12094 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12095 if (obj1) {
12096 {
12097 arg2 = wxString_in_helper(obj1);
12098 if (arg2 == NULL) SWIG_fail;
12099 temp2 = true;
12100 }
12101 }
12102 if (obj2) {
12103 {
12104 arg3 = wxString_in_helper(obj2);
12105 if (arg3 == NULL) SWIG_fail;
12106 temp3 = true;
12107 }
12108 }
12109 if (obj3) {
12110 arg4 = (long)SWIG_As_long(obj3);
12111 if (PyErr_Occurred()) SWIG_fail;
12112 }
12113 if (obj4) {
12114 {
12115 arg5 = &temp5;
12116 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
12117 }
12118 }
12119 if (obj5) {
12120 {
12121 arg6 = &temp6;
12122 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
12123 }
12124 }
12125 if (obj6) {
12126 {
12127 arg7 = wxString_in_helper(obj6);
12128 if (arg7 == NULL) SWIG_fail;
12129 temp7 = true;
12130 }
12131 }
12132 {
12133 if (!wxPyCheckForApp()) SWIG_fail;
12134 PyThreadState* __tstate = wxPyBeginAllowThreads();
12135 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
12136
12137 wxPyEndAllowThreads(__tstate);
12138 if (PyErr_Occurred()) SWIG_fail;
12139 }
12140 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirDialog, 1);
12141 {
12142 if (temp2)
12143 delete arg2;
12144 }
12145 {
12146 if (temp3)
12147 delete arg3;
12148 }
12149 {
12150 if (temp7)
12151 delete arg7;
12152 }
12153 return resultobj;
12154 fail:
12155 {
12156 if (temp2)
12157 delete arg2;
12158 }
12159 {
12160 if (temp3)
12161 delete arg3;
12162 }
12163 {
12164 if (temp7)
12165 delete arg7;
12166 }
12167 return NULL;
12168 }
12169
12170
12171 static PyObject *_wrap_DirDialog_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
12172 PyObject *resultobj;
12173 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
12174 wxString result;
12175 PyObject * obj0 = 0 ;
12176 char *kwnames[] = {
12177 (char *) "self", NULL
12178 };
12179
12180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail;
12181 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
12182 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12183 {
12184 PyThreadState* __tstate = wxPyBeginAllowThreads();
12185 result = (arg1)->GetPath();
12186
12187 wxPyEndAllowThreads(__tstate);
12188 if (PyErr_Occurred()) SWIG_fail;
12189 }
12190 {
12191 #if wxUSE_UNICODE
12192 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12193 #else
12194 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12195 #endif
12196 }
12197 return resultobj;
12198 fail:
12199 return NULL;
12200 }
12201
12202
12203 static PyObject *_wrap_DirDialog_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
12204 PyObject *resultobj;
12205 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
12206 wxString result;
12207 PyObject * obj0 = 0 ;
12208 char *kwnames[] = {
12209 (char *) "self", NULL
12210 };
12211
12212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail;
12213 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
12214 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12215 {
12216 PyThreadState* __tstate = wxPyBeginAllowThreads();
12217 result = (arg1)->GetMessage();
12218
12219 wxPyEndAllowThreads(__tstate);
12220 if (PyErr_Occurred()) SWIG_fail;
12221 }
12222 {
12223 #if wxUSE_UNICODE
12224 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12225 #else
12226 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12227 #endif
12228 }
12229 return resultobj;
12230 fail:
12231 return NULL;
12232 }
12233
12234
12235 static PyObject *_wrap_DirDialog_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
12236 PyObject *resultobj;
12237 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
12238 long result;
12239 PyObject * obj0 = 0 ;
12240 char *kwnames[] = {
12241 (char *) "self", NULL
12242 };
12243
12244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail;
12245 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
12246 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12247 {
12248 PyThreadState* __tstate = wxPyBeginAllowThreads();
12249 result = (long)(arg1)->GetStyle();
12250
12251 wxPyEndAllowThreads(__tstate);
12252 if (PyErr_Occurred()) SWIG_fail;
12253 }
12254 resultobj = SWIG_From_long((long)result);
12255 return resultobj;
12256 fail:
12257 return NULL;
12258 }
12259
12260
12261 static PyObject *_wrap_DirDialog_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
12262 PyObject *resultobj;
12263 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
12264 wxString *arg2 = 0 ;
12265 bool temp2 = false ;
12266 PyObject * obj0 = 0 ;
12267 PyObject * obj1 = 0 ;
12268 char *kwnames[] = {
12269 (char *) "self",(char *) "message", NULL
12270 };
12271
12272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
12273 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
12274 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12275 {
12276 arg2 = wxString_in_helper(obj1);
12277 if (arg2 == NULL) SWIG_fail;
12278 temp2 = true;
12279 }
12280 {
12281 PyThreadState* __tstate = wxPyBeginAllowThreads();
12282 (arg1)->SetMessage((wxString const &)*arg2);
12283
12284 wxPyEndAllowThreads(__tstate);
12285 if (PyErr_Occurred()) SWIG_fail;
12286 }
12287 Py_INCREF(Py_None); resultobj = Py_None;
12288 {
12289 if (temp2)
12290 delete arg2;
12291 }
12292 return resultobj;
12293 fail:
12294 {
12295 if (temp2)
12296 delete arg2;
12297 }
12298 return NULL;
12299 }
12300
12301
12302 static PyObject *_wrap_DirDialog_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
12303 PyObject *resultobj;
12304 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
12305 wxString *arg2 = 0 ;
12306 bool temp2 = false ;
12307 PyObject * obj0 = 0 ;
12308 PyObject * obj1 = 0 ;
12309 char *kwnames[] = {
12310 (char *) "self",(char *) "path", NULL
12311 };
12312
12313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
12314 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
12315 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12316 {
12317 arg2 = wxString_in_helper(obj1);
12318 if (arg2 == NULL) SWIG_fail;
12319 temp2 = true;
12320 }
12321 {
12322 PyThreadState* __tstate = wxPyBeginAllowThreads();
12323 (arg1)->SetPath((wxString const &)*arg2);
12324
12325 wxPyEndAllowThreads(__tstate);
12326 if (PyErr_Occurred()) SWIG_fail;
12327 }
12328 Py_INCREF(Py_None); resultobj = Py_None;
12329 {
12330 if (temp2)
12331 delete arg2;
12332 }
12333 return resultobj;
12334 fail:
12335 {
12336 if (temp2)
12337 delete arg2;
12338 }
12339 return NULL;
12340 }
12341
12342
12343 static PyObject * DirDialog_swigregister(PyObject *, PyObject *args) {
12344 PyObject *obj;
12345 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12346 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj);
12347 Py_INCREF(obj);
12348 return Py_BuildValue((char *)"");
12349 }
12350 static PyObject *_wrap_new_FileDialog(PyObject *, PyObject *args, PyObject *kwargs) {
12351 PyObject *resultobj;
12352 wxWindow *arg1 = (wxWindow *) 0 ;
12353 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
12354 wxString *arg2 = (wxString *) &arg2_defvalue ;
12355 wxString const &arg3_defvalue = wxPyEmptyString ;
12356 wxString *arg3 = (wxString *) &arg3_defvalue ;
12357 wxString const &arg4_defvalue = wxPyEmptyString ;
12358 wxString *arg4 = (wxString *) &arg4_defvalue ;
12359 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
12360 wxString *arg5 = (wxString *) &arg5_defvalue ;
12361 long arg6 = (long) 0 ;
12362 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12363 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12364 wxFileDialog *result;
12365 bool temp2 = false ;
12366 bool temp3 = false ;
12367 bool temp4 = false ;
12368 bool temp5 = false ;
12369 wxPoint temp7 ;
12370 PyObject * obj0 = 0 ;
12371 PyObject * obj1 = 0 ;
12372 PyObject * obj2 = 0 ;
12373 PyObject * obj3 = 0 ;
12374 PyObject * obj4 = 0 ;
12375 PyObject * obj5 = 0 ;
12376 PyObject * obj6 = 0 ;
12377 char *kwnames[] = {
12378 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
12379 };
12380
12381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
12382 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12383 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12384 if (obj1) {
12385 {
12386 arg2 = wxString_in_helper(obj1);
12387 if (arg2 == NULL) SWIG_fail;
12388 temp2 = true;
12389 }
12390 }
12391 if (obj2) {
12392 {
12393 arg3 = wxString_in_helper(obj2);
12394 if (arg3 == NULL) SWIG_fail;
12395 temp3 = true;
12396 }
12397 }
12398 if (obj3) {
12399 {
12400 arg4 = wxString_in_helper(obj3);
12401 if (arg4 == NULL) SWIG_fail;
12402 temp4 = true;
12403 }
12404 }
12405 if (obj4) {
12406 {
12407 arg5 = wxString_in_helper(obj4);
12408 if (arg5 == NULL) SWIG_fail;
12409 temp5 = true;
12410 }
12411 }
12412 if (obj5) {
12413 arg6 = (long)SWIG_As_long(obj5);
12414 if (PyErr_Occurred()) SWIG_fail;
12415 }
12416 if (obj6) {
12417 {
12418 arg7 = &temp7;
12419 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
12420 }
12421 }
12422 {
12423 if (!wxPyCheckForApp()) SWIG_fail;
12424 PyThreadState* __tstate = wxPyBeginAllowThreads();
12425 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
12426
12427 wxPyEndAllowThreads(__tstate);
12428 if (PyErr_Occurred()) SWIG_fail;
12429 }
12430 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileDialog, 1);
12431 {
12432 if (temp2)
12433 delete arg2;
12434 }
12435 {
12436 if (temp3)
12437 delete arg3;
12438 }
12439 {
12440 if (temp4)
12441 delete arg4;
12442 }
12443 {
12444 if (temp5)
12445 delete arg5;
12446 }
12447 return resultobj;
12448 fail:
12449 {
12450 if (temp2)
12451 delete arg2;
12452 }
12453 {
12454 if (temp3)
12455 delete arg3;
12456 }
12457 {
12458 if (temp4)
12459 delete arg4;
12460 }
12461 {
12462 if (temp5)
12463 delete arg5;
12464 }
12465 return NULL;
12466 }
12467
12468
12469 static PyObject *_wrap_FileDialog_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
12470 PyObject *resultobj;
12471 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12472 wxString *arg2 = 0 ;
12473 bool temp2 = false ;
12474 PyObject * obj0 = 0 ;
12475 PyObject * obj1 = 0 ;
12476 char *kwnames[] = {
12477 (char *) "self",(char *) "message", NULL
12478 };
12479
12480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
12481 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12482 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12483 {
12484 arg2 = wxString_in_helper(obj1);
12485 if (arg2 == NULL) SWIG_fail;
12486 temp2 = true;
12487 }
12488 {
12489 PyThreadState* __tstate = wxPyBeginAllowThreads();
12490 (arg1)->SetMessage((wxString const &)*arg2);
12491
12492 wxPyEndAllowThreads(__tstate);
12493 if (PyErr_Occurred()) SWIG_fail;
12494 }
12495 Py_INCREF(Py_None); resultobj = Py_None;
12496 {
12497 if (temp2)
12498 delete arg2;
12499 }
12500 return resultobj;
12501 fail:
12502 {
12503 if (temp2)
12504 delete arg2;
12505 }
12506 return NULL;
12507 }
12508
12509
12510 static PyObject *_wrap_FileDialog_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
12511 PyObject *resultobj;
12512 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12513 wxString *arg2 = 0 ;
12514 bool temp2 = false ;
12515 PyObject * obj0 = 0 ;
12516 PyObject * obj1 = 0 ;
12517 char *kwnames[] = {
12518 (char *) "self",(char *) "path", NULL
12519 };
12520
12521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
12522 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12523 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12524 {
12525 arg2 = wxString_in_helper(obj1);
12526 if (arg2 == NULL) SWIG_fail;
12527 temp2 = true;
12528 }
12529 {
12530 PyThreadState* __tstate = wxPyBeginAllowThreads();
12531 (arg1)->SetPath((wxString const &)*arg2);
12532
12533 wxPyEndAllowThreads(__tstate);
12534 if (PyErr_Occurred()) SWIG_fail;
12535 }
12536 Py_INCREF(Py_None); resultobj = Py_None;
12537 {
12538 if (temp2)
12539 delete arg2;
12540 }
12541 return resultobj;
12542 fail:
12543 {
12544 if (temp2)
12545 delete arg2;
12546 }
12547 return NULL;
12548 }
12549
12550
12551 static PyObject *_wrap_FileDialog_SetDirectory(PyObject *, PyObject *args, PyObject *kwargs) {
12552 PyObject *resultobj;
12553 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12554 wxString *arg2 = 0 ;
12555 bool temp2 = false ;
12556 PyObject * obj0 = 0 ;
12557 PyObject * obj1 = 0 ;
12558 char *kwnames[] = {
12559 (char *) "self",(char *) "dir", NULL
12560 };
12561
12562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail;
12563 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12564 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12565 {
12566 arg2 = wxString_in_helper(obj1);
12567 if (arg2 == NULL) SWIG_fail;
12568 temp2 = true;
12569 }
12570 {
12571 PyThreadState* __tstate = wxPyBeginAllowThreads();
12572 (arg1)->SetDirectory((wxString const &)*arg2);
12573
12574 wxPyEndAllowThreads(__tstate);
12575 if (PyErr_Occurred()) SWIG_fail;
12576 }
12577 Py_INCREF(Py_None); resultobj = Py_None;
12578 {
12579 if (temp2)
12580 delete arg2;
12581 }
12582 return resultobj;
12583 fail:
12584 {
12585 if (temp2)
12586 delete arg2;
12587 }
12588 return NULL;
12589 }
12590
12591
12592 static PyObject *_wrap_FileDialog_SetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
12593 PyObject *resultobj;
12594 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12595 wxString *arg2 = 0 ;
12596 bool temp2 = false ;
12597 PyObject * obj0 = 0 ;
12598 PyObject * obj1 = 0 ;
12599 char *kwnames[] = {
12600 (char *) "self",(char *) "name", NULL
12601 };
12602
12603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail;
12604 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12605 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12606 {
12607 arg2 = wxString_in_helper(obj1);
12608 if (arg2 == NULL) SWIG_fail;
12609 temp2 = true;
12610 }
12611 {
12612 PyThreadState* __tstate = wxPyBeginAllowThreads();
12613 (arg1)->SetFilename((wxString const &)*arg2);
12614
12615 wxPyEndAllowThreads(__tstate);
12616 if (PyErr_Occurred()) SWIG_fail;
12617 }
12618 Py_INCREF(Py_None); resultobj = Py_None;
12619 {
12620 if (temp2)
12621 delete arg2;
12622 }
12623 return resultobj;
12624 fail:
12625 {
12626 if (temp2)
12627 delete arg2;
12628 }
12629 return NULL;
12630 }
12631
12632
12633 static PyObject *_wrap_FileDialog_SetWildcard(PyObject *, PyObject *args, PyObject *kwargs) {
12634 PyObject *resultobj;
12635 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12636 wxString *arg2 = 0 ;
12637 bool temp2 = false ;
12638 PyObject * obj0 = 0 ;
12639 PyObject * obj1 = 0 ;
12640 char *kwnames[] = {
12641 (char *) "self",(char *) "wildCard", NULL
12642 };
12643
12644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail;
12645 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12646 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12647 {
12648 arg2 = wxString_in_helper(obj1);
12649 if (arg2 == NULL) SWIG_fail;
12650 temp2 = true;
12651 }
12652 {
12653 PyThreadState* __tstate = wxPyBeginAllowThreads();
12654 (arg1)->SetWildcard((wxString const &)*arg2);
12655
12656 wxPyEndAllowThreads(__tstate);
12657 if (PyErr_Occurred()) SWIG_fail;
12658 }
12659 Py_INCREF(Py_None); resultobj = Py_None;
12660 {
12661 if (temp2)
12662 delete arg2;
12663 }
12664 return resultobj;
12665 fail:
12666 {
12667 if (temp2)
12668 delete arg2;
12669 }
12670 return NULL;
12671 }
12672
12673
12674 static PyObject *_wrap_FileDialog_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
12675 PyObject *resultobj;
12676 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12677 long arg2 ;
12678 PyObject * obj0 = 0 ;
12679 PyObject * obj1 = 0 ;
12680 char *kwnames[] = {
12681 (char *) "self",(char *) "style", NULL
12682 };
12683
12684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetStyle",kwnames,&obj0,&obj1)) goto fail;
12685 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12686 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12687 arg2 = (long)SWIG_As_long(obj1);
12688 if (PyErr_Occurred()) SWIG_fail;
12689 {
12690 PyThreadState* __tstate = wxPyBeginAllowThreads();
12691 (arg1)->SetStyle(arg2);
12692
12693 wxPyEndAllowThreads(__tstate);
12694 if (PyErr_Occurred()) SWIG_fail;
12695 }
12696 Py_INCREF(Py_None); resultobj = Py_None;
12697 return resultobj;
12698 fail:
12699 return NULL;
12700 }
12701
12702
12703 static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
12704 PyObject *resultobj;
12705 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12706 int arg2 ;
12707 PyObject * obj0 = 0 ;
12708 PyObject * obj1 = 0 ;
12709 char *kwnames[] = {
12710 (char *) "self",(char *) "filterIndex", NULL
12711 };
12712
12713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
12714 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12715 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12716 arg2 = (int)SWIG_As_int(obj1);
12717 if (PyErr_Occurred()) SWIG_fail;
12718 {
12719 PyThreadState* __tstate = wxPyBeginAllowThreads();
12720 (arg1)->SetFilterIndex(arg2);
12721
12722 wxPyEndAllowThreads(__tstate);
12723 if (PyErr_Occurred()) SWIG_fail;
12724 }
12725 Py_INCREF(Py_None); resultobj = Py_None;
12726 return resultobj;
12727 fail:
12728 return NULL;
12729 }
12730
12731
12732 static PyObject *_wrap_FileDialog_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
12733 PyObject *resultobj;
12734 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12735 wxString result;
12736 PyObject * obj0 = 0 ;
12737 char *kwnames[] = {
12738 (char *) "self", NULL
12739 };
12740
12741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail;
12742 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12743 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12744 {
12745 PyThreadState* __tstate = wxPyBeginAllowThreads();
12746 result = ((wxFileDialog const *)arg1)->GetMessage();
12747
12748 wxPyEndAllowThreads(__tstate);
12749 if (PyErr_Occurred()) SWIG_fail;
12750 }
12751 {
12752 #if wxUSE_UNICODE
12753 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12754 #else
12755 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12756 #endif
12757 }
12758 return resultobj;
12759 fail:
12760 return NULL;
12761 }
12762
12763
12764 static PyObject *_wrap_FileDialog_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
12765 PyObject *resultobj;
12766 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12767 wxString result;
12768 PyObject * obj0 = 0 ;
12769 char *kwnames[] = {
12770 (char *) "self", NULL
12771 };
12772
12773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail;
12774 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12775 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12776 {
12777 PyThreadState* __tstate = wxPyBeginAllowThreads();
12778 result = ((wxFileDialog const *)arg1)->GetPath();
12779
12780 wxPyEndAllowThreads(__tstate);
12781 if (PyErr_Occurred()) SWIG_fail;
12782 }
12783 {
12784 #if wxUSE_UNICODE
12785 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12786 #else
12787 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12788 #endif
12789 }
12790 return resultobj;
12791 fail:
12792 return NULL;
12793 }
12794
12795
12796 static PyObject *_wrap_FileDialog_GetDirectory(PyObject *, PyObject *args, PyObject *kwargs) {
12797 PyObject *resultobj;
12798 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12799 wxString result;
12800 PyObject * obj0 = 0 ;
12801 char *kwnames[] = {
12802 (char *) "self", NULL
12803 };
12804
12805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail;
12806 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12807 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12808 {
12809 PyThreadState* __tstate = wxPyBeginAllowThreads();
12810 result = ((wxFileDialog const *)arg1)->GetDirectory();
12811
12812 wxPyEndAllowThreads(__tstate);
12813 if (PyErr_Occurred()) SWIG_fail;
12814 }
12815 {
12816 #if wxUSE_UNICODE
12817 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12818 #else
12819 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12820 #endif
12821 }
12822 return resultobj;
12823 fail:
12824 return NULL;
12825 }
12826
12827
12828 static PyObject *_wrap_FileDialog_GetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
12829 PyObject *resultobj;
12830 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12831 wxString result;
12832 PyObject * obj0 = 0 ;
12833 char *kwnames[] = {
12834 (char *) "self", NULL
12835 };
12836
12837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail;
12838 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12839 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12840 {
12841 PyThreadState* __tstate = wxPyBeginAllowThreads();
12842 result = ((wxFileDialog const *)arg1)->GetFilename();
12843
12844 wxPyEndAllowThreads(__tstate);
12845 if (PyErr_Occurred()) SWIG_fail;
12846 }
12847 {
12848 #if wxUSE_UNICODE
12849 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12850 #else
12851 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12852 #endif
12853 }
12854 return resultobj;
12855 fail:
12856 return NULL;
12857 }
12858
12859
12860 static PyObject *_wrap_FileDialog_GetWildcard(PyObject *, PyObject *args, PyObject *kwargs) {
12861 PyObject *resultobj;
12862 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12863 wxString result;
12864 PyObject * obj0 = 0 ;
12865 char *kwnames[] = {
12866 (char *) "self", NULL
12867 };
12868
12869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail;
12870 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12871 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12872 {
12873 PyThreadState* __tstate = wxPyBeginAllowThreads();
12874 result = ((wxFileDialog const *)arg1)->GetWildcard();
12875
12876 wxPyEndAllowThreads(__tstate);
12877 if (PyErr_Occurred()) SWIG_fail;
12878 }
12879 {
12880 #if wxUSE_UNICODE
12881 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12882 #else
12883 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12884 #endif
12885 }
12886 return resultobj;
12887 fail:
12888 return NULL;
12889 }
12890
12891
12892 static PyObject *_wrap_FileDialog_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
12893 PyObject *resultobj;
12894 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12895 long result;
12896 PyObject * obj0 = 0 ;
12897 char *kwnames[] = {
12898 (char *) "self", NULL
12899 };
12900
12901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail;
12902 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12903 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12904 {
12905 PyThreadState* __tstate = wxPyBeginAllowThreads();
12906 result = (long)((wxFileDialog const *)arg1)->GetStyle();
12907
12908 wxPyEndAllowThreads(__tstate);
12909 if (PyErr_Occurred()) SWIG_fail;
12910 }
12911 resultobj = SWIG_From_long((long)result);
12912 return resultobj;
12913 fail:
12914 return NULL;
12915 }
12916
12917
12918 static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
12919 PyObject *resultobj;
12920 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12921 int result;
12922 PyObject * obj0 = 0 ;
12923 char *kwnames[] = {
12924 (char *) "self", NULL
12925 };
12926
12927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail;
12928 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12929 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12930 {
12931 PyThreadState* __tstate = wxPyBeginAllowThreads();
12932 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
12933
12934 wxPyEndAllowThreads(__tstate);
12935 if (PyErr_Occurred()) SWIG_fail;
12936 }
12937 resultobj = SWIG_From_int((int)result);
12938 return resultobj;
12939 fail:
12940 return NULL;
12941 }
12942
12943
12944 static PyObject *_wrap_FileDialog_GetFilenames(PyObject *, PyObject *args, PyObject *kwargs) {
12945 PyObject *resultobj;
12946 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12947 PyObject *result;
12948 PyObject * obj0 = 0 ;
12949 char *kwnames[] = {
12950 (char *) "self", NULL
12951 };
12952
12953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail;
12954 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12955 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12956 {
12957 PyThreadState* __tstate = wxPyBeginAllowThreads();
12958 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
12959
12960 wxPyEndAllowThreads(__tstate);
12961 if (PyErr_Occurred()) SWIG_fail;
12962 }
12963 resultobj = result;
12964 return resultobj;
12965 fail:
12966 return NULL;
12967 }
12968
12969
12970 static PyObject *_wrap_FileDialog_GetPaths(PyObject *, PyObject *args, PyObject *kwargs) {
12971 PyObject *resultobj;
12972 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12973 PyObject *result;
12974 PyObject * obj0 = 0 ;
12975 char *kwnames[] = {
12976 (char *) "self", NULL
12977 };
12978
12979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail;
12980 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12981 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12982 {
12983 PyThreadState* __tstate = wxPyBeginAllowThreads();
12984 result = (PyObject *)wxFileDialog_GetPaths(arg1);
12985
12986 wxPyEndAllowThreads(__tstate);
12987 if (PyErr_Occurred()) SWIG_fail;
12988 }
12989 resultobj = result;
12990 return resultobj;
12991 fail:
12992 return NULL;
12993 }
12994
12995
12996 static PyObject * FileDialog_swigregister(PyObject *, PyObject *args) {
12997 PyObject *obj;
12998 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12999 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj);
13000 Py_INCREF(obj);
13001 return Py_BuildValue((char *)"");
13002 }
13003 static PyObject *_wrap_new_MultiChoiceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
13004 PyObject *resultobj;
13005 wxWindow *arg1 = (wxWindow *) 0 ;
13006 wxString *arg2 = 0 ;
13007 wxString *arg3 = 0 ;
13008 int arg4 = (int) 0 ;
13009 wxString *arg5 = (wxString *) NULL ;
13010 long arg6 = (long) wxCHOICEDLG_STYLE ;
13011 wxPoint const &arg7_defvalue = wxDefaultPosition ;
13012 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
13013 wxMultiChoiceDialog *result;
13014 bool temp2 = false ;
13015 bool temp3 = false ;
13016 wxPoint temp6 ;
13017 PyObject * obj0 = 0 ;
13018 PyObject * obj1 = 0 ;
13019 PyObject * obj2 = 0 ;
13020 PyObject * obj3 = 0 ;
13021 PyObject * obj4 = 0 ;
13022 PyObject * obj5 = 0 ;
13023 char *kwnames[] = {
13024 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
13025 };
13026
13027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
13028 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13029 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13030 {
13031 arg2 = wxString_in_helper(obj1);
13032 if (arg2 == NULL) SWIG_fail;
13033 temp2 = true;
13034 }
13035 {
13036 arg3 = wxString_in_helper(obj2);
13037 if (arg3 == NULL) SWIG_fail;
13038 temp3 = true;
13039 }
13040 if (obj3) {
13041 {
13042 arg4 = PyList_Size(obj3);
13043 arg5 = wxString_LIST_helper(obj3);
13044 if (arg5 == NULL) SWIG_fail;
13045 }
13046 }
13047 if (obj4) {
13048 arg6 = (long)SWIG_As_long(obj4);
13049 if (PyErr_Occurred()) SWIG_fail;
13050 }
13051 if (obj5) {
13052 {
13053 arg7 = &temp6;
13054 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
13055 }
13056 }
13057 {
13058 if (!wxPyCheckForApp()) SWIG_fail;
13059 PyThreadState* __tstate = wxPyBeginAllowThreads();
13060 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
13061
13062 wxPyEndAllowThreads(__tstate);
13063 if (PyErr_Occurred()) SWIG_fail;
13064 }
13065 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMultiChoiceDialog, 1);
13066 {
13067 if (temp2)
13068 delete arg2;
13069 }
13070 {
13071 if (temp3)
13072 delete arg3;
13073 }
13074 {
13075 if (arg5) delete [] arg5;
13076 }
13077 return resultobj;
13078 fail:
13079 {
13080 if (temp2)
13081 delete arg2;
13082 }
13083 {
13084 if (temp3)
13085 delete arg3;
13086 }
13087 {
13088 if (arg5) delete [] arg5;
13089 }
13090 return NULL;
13091 }
13092
13093
13094 static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
13095 PyObject *resultobj;
13096 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
13097 wxArrayInt *arg2 = 0 ;
13098 bool temp2 = false ;
13099 PyObject * obj0 = 0 ;
13100 PyObject * obj1 = 0 ;
13101 char *kwnames[] = {
13102 (char *) "self",(char *) "selections", NULL
13103 };
13104
13105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail;
13106 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog,
13107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13108 {
13109 if (! PySequence_Check(obj1)) {
13110 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
13111 SWIG_fail;
13112 }
13113 arg2 = new wxArrayInt;
13114 temp2 = true;
13115 int i, len=PySequence_Length(obj1);
13116 for (i=0; i<len; i++) {
13117 PyObject* item = PySequence_GetItem(obj1, i);
13118 PyObject* number = PyNumber_Int(item);
13119 arg2->Add(PyInt_AS_LONG(number));
13120 Py_DECREF(item);
13121 Py_DECREF(number);
13122 }
13123 }
13124 {
13125 PyThreadState* __tstate = wxPyBeginAllowThreads();
13126 (arg1)->SetSelections((wxArrayInt const &)*arg2);
13127
13128 wxPyEndAllowThreads(__tstate);
13129 if (PyErr_Occurred()) SWIG_fail;
13130 }
13131 Py_INCREF(Py_None); resultobj = Py_None;
13132 {
13133 if (temp2) delete arg2;
13134 }
13135 return resultobj;
13136 fail:
13137 {
13138 if (temp2) delete arg2;
13139 }
13140 return NULL;
13141 }
13142
13143
13144 static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
13145 PyObject *resultobj;
13146 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
13147 PyObject *result;
13148 PyObject * obj0 = 0 ;
13149 char *kwnames[] = {
13150 (char *) "self", NULL
13151 };
13152
13153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail;
13154 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog,
13155 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13156 {
13157 PyThreadState* __tstate = wxPyBeginAllowThreads();
13158 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
13159
13160 wxPyEndAllowThreads(__tstate);
13161 if (PyErr_Occurred()) SWIG_fail;
13162 }
13163 resultobj = result;
13164 return resultobj;
13165 fail:
13166 return NULL;
13167 }
13168
13169
13170 static PyObject * MultiChoiceDialog_swigregister(PyObject *, PyObject *args) {
13171 PyObject *obj;
13172 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13173 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj);
13174 Py_INCREF(obj);
13175 return Py_BuildValue((char *)"");
13176 }
13177 static PyObject *_wrap_new_SingleChoiceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
13178 PyObject *resultobj;
13179 wxWindow *arg1 = (wxWindow *) 0 ;
13180 wxString *arg2 = 0 ;
13181 wxString *arg3 = 0 ;
13182 int arg4 ;
13183 wxString *arg5 = (wxString *) 0 ;
13184 long arg6 = (long) wxCHOICEDLG_STYLE ;
13185 wxPoint const &arg7_defvalue = wxDefaultPosition ;
13186 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
13187 wxSingleChoiceDialog *result;
13188 bool temp2 = false ;
13189 bool temp3 = false ;
13190 wxPoint temp6 ;
13191 PyObject * obj0 = 0 ;
13192 PyObject * obj1 = 0 ;
13193 PyObject * obj2 = 0 ;
13194 PyObject * obj3 = 0 ;
13195 PyObject * obj4 = 0 ;
13196 PyObject * obj5 = 0 ;
13197 char *kwnames[] = {
13198 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
13199 };
13200
13201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
13202 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13203 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13204 {
13205 arg2 = wxString_in_helper(obj1);
13206 if (arg2 == NULL) SWIG_fail;
13207 temp2 = true;
13208 }
13209 {
13210 arg3 = wxString_in_helper(obj2);
13211 if (arg3 == NULL) SWIG_fail;
13212 temp3 = true;
13213 }
13214 {
13215 arg4 = PyList_Size(obj3);
13216 arg5 = wxString_LIST_helper(obj3);
13217 if (arg5 == NULL) SWIG_fail;
13218 }
13219 if (obj4) {
13220 arg6 = (long)SWIG_As_long(obj4);
13221 if (PyErr_Occurred()) SWIG_fail;
13222 }
13223 if (obj5) {
13224 {
13225 arg7 = &temp6;
13226 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
13227 }
13228 }
13229 {
13230 if (!wxPyCheckForApp()) SWIG_fail;
13231 PyThreadState* __tstate = wxPyBeginAllowThreads();
13232 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
13233
13234 wxPyEndAllowThreads(__tstate);
13235 if (PyErr_Occurred()) SWIG_fail;
13236 }
13237 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleChoiceDialog, 1);
13238 {
13239 if (temp2)
13240 delete arg2;
13241 }
13242 {
13243 if (temp3)
13244 delete arg3;
13245 }
13246 {
13247 if (arg5) delete [] arg5;
13248 }
13249 return resultobj;
13250 fail:
13251 {
13252 if (temp2)
13253 delete arg2;
13254 }
13255 {
13256 if (temp3)
13257 delete arg3;
13258 }
13259 {
13260 if (arg5) delete [] arg5;
13261 }
13262 return NULL;
13263 }
13264
13265
13266 static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13267 PyObject *resultobj;
13268 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
13269 int result;
13270 PyObject * obj0 = 0 ;
13271 char *kwnames[] = {
13272 (char *) "self", NULL
13273 };
13274
13275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail;
13276 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
13277 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13278 {
13279 PyThreadState* __tstate = wxPyBeginAllowThreads();
13280 result = (int)(arg1)->GetSelection();
13281
13282 wxPyEndAllowThreads(__tstate);
13283 if (PyErr_Occurred()) SWIG_fail;
13284 }
13285 resultobj = SWIG_From_int((int)result);
13286 return resultobj;
13287 fail:
13288 return NULL;
13289 }
13290
13291
13292 static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13293 PyObject *resultobj;
13294 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
13295 wxString result;
13296 PyObject * obj0 = 0 ;
13297 char *kwnames[] = {
13298 (char *) "self", NULL
13299 };
13300
13301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail;
13302 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
13303 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13304 {
13305 PyThreadState* __tstate = wxPyBeginAllowThreads();
13306 result = (arg1)->GetStringSelection();
13307
13308 wxPyEndAllowThreads(__tstate);
13309 if (PyErr_Occurred()) SWIG_fail;
13310 }
13311 {
13312 #if wxUSE_UNICODE
13313 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13314 #else
13315 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13316 #endif
13317 }
13318 return resultobj;
13319 fail:
13320 return NULL;
13321 }
13322
13323
13324 static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13325 PyObject *resultobj;
13326 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
13327 int arg2 ;
13328 PyObject * obj0 = 0 ;
13329 PyObject * obj1 = 0 ;
13330 char *kwnames[] = {
13331 (char *) "self",(char *) "sel", NULL
13332 };
13333
13334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) goto fail;
13335 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
13336 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13337 arg2 = (int)SWIG_As_int(obj1);
13338 if (PyErr_Occurred()) SWIG_fail;
13339 {
13340 PyThreadState* __tstate = wxPyBeginAllowThreads();
13341 (arg1)->SetSelection(arg2);
13342
13343 wxPyEndAllowThreads(__tstate);
13344 if (PyErr_Occurred()) SWIG_fail;
13345 }
13346 Py_INCREF(Py_None); resultobj = Py_None;
13347 return resultobj;
13348 fail:
13349 return NULL;
13350 }
13351
13352
13353 static PyObject * SingleChoiceDialog_swigregister(PyObject *, PyObject *args) {
13354 PyObject *obj;
13355 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13356 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj);
13357 Py_INCREF(obj);
13358 return Py_BuildValue((char *)"");
13359 }
13360 static PyObject *_wrap_new_TextEntryDialog(PyObject *, PyObject *args, PyObject *kwargs) {
13361 PyObject *resultobj;
13362 wxWindow *arg1 = (wxWindow *) 0 ;
13363 wxString *arg2 = 0 ;
13364 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
13365 wxString *arg3 = (wxString *) &arg3_defvalue ;
13366 wxString const &arg4_defvalue = wxPyEmptyString ;
13367 wxString *arg4 = (wxString *) &arg4_defvalue ;
13368 long arg5 = (long) wxTextEntryDialogStyle ;
13369 wxPoint const &arg6_defvalue = wxDefaultPosition ;
13370 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
13371 wxTextEntryDialog *result;
13372 bool temp2 = false ;
13373 bool temp3 = false ;
13374 bool temp4 = false ;
13375 wxPoint temp6 ;
13376 PyObject * obj0 = 0 ;
13377 PyObject * obj1 = 0 ;
13378 PyObject * obj2 = 0 ;
13379 PyObject * obj3 = 0 ;
13380 PyObject * obj4 = 0 ;
13381 PyObject * obj5 = 0 ;
13382 char *kwnames[] = {
13383 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
13384 };
13385
13386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
13387 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13388 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13389 {
13390 arg2 = wxString_in_helper(obj1);
13391 if (arg2 == NULL) SWIG_fail;
13392 temp2 = true;
13393 }
13394 if (obj2) {
13395 {
13396 arg3 = wxString_in_helper(obj2);
13397 if (arg3 == NULL) SWIG_fail;
13398 temp3 = true;
13399 }
13400 }
13401 if (obj3) {
13402 {
13403 arg4 = wxString_in_helper(obj3);
13404 if (arg4 == NULL) SWIG_fail;
13405 temp4 = true;
13406 }
13407 }
13408 if (obj4) {
13409 arg5 = (long)SWIG_As_long(obj4);
13410 if (PyErr_Occurred()) SWIG_fail;
13411 }
13412 if (obj5) {
13413 {
13414 arg6 = &temp6;
13415 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
13416 }
13417 }
13418 {
13419 if (!wxPyCheckForApp()) SWIG_fail;
13420 PyThreadState* __tstate = wxPyBeginAllowThreads();
13421 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
13422
13423 wxPyEndAllowThreads(__tstate);
13424 if (PyErr_Occurred()) SWIG_fail;
13425 }
13426 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextEntryDialog, 1);
13427 {
13428 if (temp2)
13429 delete arg2;
13430 }
13431 {
13432 if (temp3)
13433 delete arg3;
13434 }
13435 {
13436 if (temp4)
13437 delete arg4;
13438 }
13439 return resultobj;
13440 fail:
13441 {
13442 if (temp2)
13443 delete arg2;
13444 }
13445 {
13446 if (temp3)
13447 delete arg3;
13448 }
13449 {
13450 if (temp4)
13451 delete arg4;
13452 }
13453 return NULL;
13454 }
13455
13456
13457 static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
13458 PyObject *resultobj;
13459 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
13460 wxString result;
13461 PyObject * obj0 = 0 ;
13462 char *kwnames[] = {
13463 (char *) "self", NULL
13464 };
13465
13466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail;
13467 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog,
13468 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13469 {
13470 PyThreadState* __tstate = wxPyBeginAllowThreads();
13471 result = (arg1)->GetValue();
13472
13473 wxPyEndAllowThreads(__tstate);
13474 if (PyErr_Occurred()) SWIG_fail;
13475 }
13476 {
13477 #if wxUSE_UNICODE
13478 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13479 #else
13480 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13481 #endif
13482 }
13483 return resultobj;
13484 fail:
13485 return NULL;
13486 }
13487
13488
13489 static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
13490 PyObject *resultobj;
13491 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
13492 wxString *arg2 = 0 ;
13493 bool temp2 = false ;
13494 PyObject * obj0 = 0 ;
13495 PyObject * obj1 = 0 ;
13496 char *kwnames[] = {
13497 (char *) "self",(char *) "value", NULL
13498 };
13499
13500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail;
13501 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog,
13502 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13503 {
13504 arg2 = wxString_in_helper(obj1);
13505 if (arg2 == NULL) SWIG_fail;
13506 temp2 = true;
13507 }
13508 {
13509 PyThreadState* __tstate = wxPyBeginAllowThreads();
13510 (arg1)->SetValue((wxString const &)*arg2);
13511
13512 wxPyEndAllowThreads(__tstate);
13513 if (PyErr_Occurred()) SWIG_fail;
13514 }
13515 Py_INCREF(Py_None); resultobj = Py_None;
13516 {
13517 if (temp2)
13518 delete arg2;
13519 }
13520 return resultobj;
13521 fail:
13522 {
13523 if (temp2)
13524 delete arg2;
13525 }
13526 return NULL;
13527 }
13528
13529
13530 static PyObject * TextEntryDialog_swigregister(PyObject *, PyObject *args) {
13531 PyObject *obj;
13532 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13533 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj);
13534 Py_INCREF(obj);
13535 return Py_BuildValue((char *)"");
13536 }
13537 static int _wrap_GetPasswordFromUserPromptStr_set(PyObject *) {
13538 PyErr_SetString(PyExc_TypeError,"Variable GetPasswordFromUserPromptStr is read-only.");
13539 return 1;
13540 }
13541
13542
13543 static PyObject *_wrap_GetPasswordFromUserPromptStr_get() {
13544 PyObject *pyobj;
13545
13546 {
13547 #if wxUSE_UNICODE
13548 pyobj = PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
13549 #else
13550 pyobj = PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
13551 #endif
13552 }
13553 return pyobj;
13554 }
13555
13556
13557 static PyObject *_wrap_new_PasswordEntryDialog(PyObject *, PyObject *args, PyObject *kwargs) {
13558 PyObject *resultobj;
13559 wxWindow *arg1 = (wxWindow *) 0 ;
13560 wxString *arg2 = 0 ;
13561 wxString const &arg3_defvalue = wxPyGetPasswordFromUserPromptStr ;
13562 wxString *arg3 = (wxString *) &arg3_defvalue ;
13563 wxString const &arg4_defvalue = wxPyEmptyString ;
13564 wxString *arg4 = (wxString *) &arg4_defvalue ;
13565 long arg5 = (long) wxTextEntryDialogStyle ;
13566 wxPoint const &arg6_defvalue = wxDefaultPosition ;
13567 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
13568 wxPasswordEntryDialog *result;
13569 bool temp2 = false ;
13570 bool temp3 = false ;
13571 bool temp4 = false ;
13572 wxPoint temp6 ;
13573 PyObject * obj0 = 0 ;
13574 PyObject * obj1 = 0 ;
13575 PyObject * obj2 = 0 ;
13576 PyObject * obj3 = 0 ;
13577 PyObject * obj4 = 0 ;
13578 PyObject * obj5 = 0 ;
13579 char *kwnames[] = {
13580 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
13581 };
13582
13583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
13584 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13585 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13586 {
13587 arg2 = wxString_in_helper(obj1);
13588 if (arg2 == NULL) SWIG_fail;
13589 temp2 = true;
13590 }
13591 if (obj2) {
13592 {
13593 arg3 = wxString_in_helper(obj2);
13594 if (arg3 == NULL) SWIG_fail;
13595 temp3 = true;
13596 }
13597 }
13598 if (obj3) {
13599 {
13600 arg4 = wxString_in_helper(obj3);
13601 if (arg4 == NULL) SWIG_fail;
13602 temp4 = true;
13603 }
13604 }
13605 if (obj4) {
13606 arg5 = (long)SWIG_As_long(obj4);
13607 if (PyErr_Occurred()) SWIG_fail;
13608 }
13609 if (obj5) {
13610 {
13611 arg6 = &temp6;
13612 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
13613 }
13614 }
13615 {
13616 PyThreadState* __tstate = wxPyBeginAllowThreads();
13617 result = (wxPasswordEntryDialog *)new wxPasswordEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
13618
13619 wxPyEndAllowThreads(__tstate);
13620 if (PyErr_Occurred()) SWIG_fail;
13621 }
13622 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPasswordEntryDialog, 1);
13623 {
13624 if (temp2)
13625 delete arg2;
13626 }
13627 {
13628 if (temp3)
13629 delete arg3;
13630 }
13631 {
13632 if (temp4)
13633 delete arg4;
13634 }
13635 return resultobj;
13636 fail:
13637 {
13638 if (temp2)
13639 delete arg2;
13640 }
13641 {
13642 if (temp3)
13643 delete arg3;
13644 }
13645 {
13646 if (temp4)
13647 delete arg4;
13648 }
13649 return NULL;
13650 }
13651
13652
13653 static PyObject * PasswordEntryDialog_swigregister(PyObject *, PyObject *args) {
13654 PyObject *obj;
13655 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13656 SWIG_TypeClientData(SWIGTYPE_p_wxPasswordEntryDialog, obj);
13657 Py_INCREF(obj);
13658 return Py_BuildValue((char *)"");
13659 }
13660 static PyObject *_wrap_new_FontData(PyObject *, PyObject *args, PyObject *kwargs) {
13661 PyObject *resultobj;
13662 wxFontData *result;
13663 char *kwnames[] = {
13664 NULL
13665 };
13666
13667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail;
13668 {
13669 PyThreadState* __tstate = wxPyBeginAllowThreads();
13670 result = (wxFontData *)new wxFontData();
13671
13672 wxPyEndAllowThreads(__tstate);
13673 if (PyErr_Occurred()) SWIG_fail;
13674 }
13675 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 1);
13676 return resultobj;
13677 fail:
13678 return NULL;
13679 }
13680
13681
13682 static PyObject *_wrap_delete_FontData(PyObject *, PyObject *args, PyObject *kwargs) {
13683 PyObject *resultobj;
13684 wxFontData *arg1 = (wxFontData *) 0 ;
13685 PyObject * obj0 = 0 ;
13686 char *kwnames[] = {
13687 (char *) "self", NULL
13688 };
13689
13690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail;
13691 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13692 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13693 {
13694 PyThreadState* __tstate = wxPyBeginAllowThreads();
13695 delete arg1;
13696
13697 wxPyEndAllowThreads(__tstate);
13698 if (PyErr_Occurred()) SWIG_fail;
13699 }
13700 Py_INCREF(Py_None); resultobj = Py_None;
13701 return resultobj;
13702 fail:
13703 return NULL;
13704 }
13705
13706
13707 static PyObject *_wrap_FontData_EnableEffects(PyObject *, PyObject *args, PyObject *kwargs) {
13708 PyObject *resultobj;
13709 wxFontData *arg1 = (wxFontData *) 0 ;
13710 bool arg2 ;
13711 PyObject * obj0 = 0 ;
13712 PyObject * obj1 = 0 ;
13713 char *kwnames[] = {
13714 (char *) "self",(char *) "enable", NULL
13715 };
13716
13717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail;
13718 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13719 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13720 arg2 = (bool)SWIG_As_bool(obj1);
13721 if (PyErr_Occurred()) SWIG_fail;
13722 {
13723 PyThreadState* __tstate = wxPyBeginAllowThreads();
13724 (arg1)->EnableEffects(arg2);
13725
13726 wxPyEndAllowThreads(__tstate);
13727 if (PyErr_Occurred()) SWIG_fail;
13728 }
13729 Py_INCREF(Py_None); resultobj = Py_None;
13730 return resultobj;
13731 fail:
13732 return NULL;
13733 }
13734
13735
13736 static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *, PyObject *args, PyObject *kwargs) {
13737 PyObject *resultobj;
13738 wxFontData *arg1 = (wxFontData *) 0 ;
13739 bool result;
13740 PyObject * obj0 = 0 ;
13741 char *kwnames[] = {
13742 (char *) "self", NULL
13743 };
13744
13745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail;
13746 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13747 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13748 {
13749 PyThreadState* __tstate = wxPyBeginAllowThreads();
13750 result = (bool)(arg1)->GetAllowSymbols();
13751
13752 wxPyEndAllowThreads(__tstate);
13753 if (PyErr_Occurred()) SWIG_fail;
13754 }
13755 {
13756 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13757 }
13758 return resultobj;
13759 fail:
13760 return NULL;
13761 }
13762
13763
13764 static PyObject *_wrap_FontData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
13765 PyObject *resultobj;
13766 wxFontData *arg1 = (wxFontData *) 0 ;
13767 wxColour result;
13768 PyObject * obj0 = 0 ;
13769 char *kwnames[] = {
13770 (char *) "self", NULL
13771 };
13772
13773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail;
13774 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13775 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13776 {
13777 PyThreadState* __tstate = wxPyBeginAllowThreads();
13778 result = (arg1)->GetColour();
13779
13780 wxPyEndAllowThreads(__tstate);
13781 if (PyErr_Occurred()) SWIG_fail;
13782 }
13783 {
13784 wxColour * resultptr;
13785 resultptr = new wxColour((wxColour &) result);
13786 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
13787 }
13788 return resultobj;
13789 fail:
13790 return NULL;
13791 }
13792
13793
13794 static PyObject *_wrap_FontData_GetChosenFont(PyObject *, PyObject *args, PyObject *kwargs) {
13795 PyObject *resultobj;
13796 wxFontData *arg1 = (wxFontData *) 0 ;
13797 wxFont result;
13798 PyObject * obj0 = 0 ;
13799 char *kwnames[] = {
13800 (char *) "self", NULL
13801 };
13802
13803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail;
13804 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13805 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13806 {
13807 PyThreadState* __tstate = wxPyBeginAllowThreads();
13808 result = (arg1)->GetChosenFont();
13809
13810 wxPyEndAllowThreads(__tstate);
13811 if (PyErr_Occurred()) SWIG_fail;
13812 }
13813 {
13814 wxFont * resultptr;
13815 resultptr = new wxFont((wxFont &) result);
13816 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
13817 }
13818 return resultobj;
13819 fail:
13820 return NULL;
13821 }
13822
13823
13824 static PyObject *_wrap_FontData_GetEnableEffects(PyObject *, PyObject *args, PyObject *kwargs) {
13825 PyObject *resultobj;
13826 wxFontData *arg1 = (wxFontData *) 0 ;
13827 bool result;
13828 PyObject * obj0 = 0 ;
13829 char *kwnames[] = {
13830 (char *) "self", NULL
13831 };
13832
13833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail;
13834 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13835 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13836 {
13837 PyThreadState* __tstate = wxPyBeginAllowThreads();
13838 result = (bool)(arg1)->GetEnableEffects();
13839
13840 wxPyEndAllowThreads(__tstate);
13841 if (PyErr_Occurred()) SWIG_fail;
13842 }
13843 {
13844 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13845 }
13846 return resultobj;
13847 fail:
13848 return NULL;
13849 }
13850
13851
13852 static PyObject *_wrap_FontData_GetInitialFont(PyObject *, PyObject *args, PyObject *kwargs) {
13853 PyObject *resultobj;
13854 wxFontData *arg1 = (wxFontData *) 0 ;
13855 wxFont result;
13856 PyObject * obj0 = 0 ;
13857 char *kwnames[] = {
13858 (char *) "self", NULL
13859 };
13860
13861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail;
13862 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13863 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13864 {
13865 PyThreadState* __tstate = wxPyBeginAllowThreads();
13866 result = (arg1)->GetInitialFont();
13867
13868 wxPyEndAllowThreads(__tstate);
13869 if (PyErr_Occurred()) SWIG_fail;
13870 }
13871 {
13872 wxFont * resultptr;
13873 resultptr = new wxFont((wxFont &) result);
13874 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
13875 }
13876 return resultobj;
13877 fail:
13878 return NULL;
13879 }
13880
13881
13882 static PyObject *_wrap_FontData_GetShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
13883 PyObject *resultobj;
13884 wxFontData *arg1 = (wxFontData *) 0 ;
13885 bool result;
13886 PyObject * obj0 = 0 ;
13887 char *kwnames[] = {
13888 (char *) "self", NULL
13889 };
13890
13891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail;
13892 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13893 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13894 {
13895 PyThreadState* __tstate = wxPyBeginAllowThreads();
13896 result = (bool)(arg1)->GetShowHelp();
13897
13898 wxPyEndAllowThreads(__tstate);
13899 if (PyErr_Occurred()) SWIG_fail;
13900 }
13901 {
13902 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13903 }
13904 return resultobj;
13905 fail:
13906 return NULL;
13907 }
13908
13909
13910 static PyObject *_wrap_FontData_SetAllowSymbols(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 *) "allowSymbols", NULL
13918 };
13919
13920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",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)->SetAllowSymbols(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 *_wrap_FontData_SetChosenFont(PyObject *, PyObject *args, PyObject *kwargs) {
13940 PyObject *resultobj;
13941 wxFontData *arg1 = (wxFontData *) 0 ;
13942 wxFont *arg2 = 0 ;
13943 PyObject * obj0 = 0 ;
13944 PyObject * obj1 = 0 ;
13945 char *kwnames[] = {
13946 (char *) "self",(char *) "font", NULL
13947 };
13948
13949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail;
13950 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13951 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13952 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
13953 SWIG_POINTER_EXCEPTION | 0)) == -1)
13954 SWIG_fail;
13955 if (arg2 == NULL) {
13956 PyErr_SetString(PyExc_TypeError,"null reference");
13957 SWIG_fail;
13958 }
13959 {
13960 PyThreadState* __tstate = wxPyBeginAllowThreads();
13961 (arg1)->SetChosenFont((wxFont const &)*arg2);
13962
13963 wxPyEndAllowThreads(__tstate);
13964 if (PyErr_Occurred()) SWIG_fail;
13965 }
13966 Py_INCREF(Py_None); resultobj = Py_None;
13967 return resultobj;
13968 fail:
13969 return NULL;
13970 }
13971
13972
13973 static PyObject *_wrap_FontData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
13974 PyObject *resultobj;
13975 wxFontData *arg1 = (wxFontData *) 0 ;
13976 wxColour *arg2 = 0 ;
13977 wxColour temp2 ;
13978 PyObject * obj0 = 0 ;
13979 PyObject * obj1 = 0 ;
13980 char *kwnames[] = {
13981 (char *) "self",(char *) "colour", NULL
13982 };
13983
13984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail;
13985 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13986 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13987 {
13988 arg2 = &temp2;
13989 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
13990 }
13991 {
13992 PyThreadState* __tstate = wxPyBeginAllowThreads();
13993 (arg1)->SetColour((wxColour const &)*arg2);
13994
13995 wxPyEndAllowThreads(__tstate);
13996 if (PyErr_Occurred()) SWIG_fail;
13997 }
13998 Py_INCREF(Py_None); resultobj = Py_None;
13999 return resultobj;
14000 fail:
14001 return NULL;
14002 }
14003
14004
14005 static PyObject *_wrap_FontData_SetInitialFont(PyObject *, PyObject *args, PyObject *kwargs) {
14006 PyObject *resultobj;
14007 wxFontData *arg1 = (wxFontData *) 0 ;
14008 wxFont *arg2 = 0 ;
14009 PyObject * obj0 = 0 ;
14010 PyObject * obj1 = 0 ;
14011 char *kwnames[] = {
14012 (char *) "self",(char *) "font", NULL
14013 };
14014
14015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail;
14016 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
14017 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14018 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
14019 SWIG_POINTER_EXCEPTION | 0)) == -1)
14020 SWIG_fail;
14021 if (arg2 == NULL) {
14022 PyErr_SetString(PyExc_TypeError,"null reference");
14023 SWIG_fail;
14024 }
14025 {
14026 PyThreadState* __tstate = wxPyBeginAllowThreads();
14027 (arg1)->SetInitialFont((wxFont const &)*arg2);
14028
14029 wxPyEndAllowThreads(__tstate);
14030 if (PyErr_Occurred()) SWIG_fail;
14031 }
14032 Py_INCREF(Py_None); resultobj = Py_None;
14033 return resultobj;
14034 fail:
14035 return NULL;
14036 }
14037
14038
14039 static PyObject *_wrap_FontData_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
14040 PyObject *resultobj;
14041 wxFontData *arg1 = (wxFontData *) 0 ;
14042 int arg2 ;
14043 int arg3 ;
14044 PyObject * obj0 = 0 ;
14045 PyObject * obj1 = 0 ;
14046 PyObject * obj2 = 0 ;
14047 char *kwnames[] = {
14048 (char *) "self",(char *) "min",(char *) "max", NULL
14049 };
14050
14051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
14052 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
14053 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14054 arg2 = (int)SWIG_As_int(obj1);
14055 if (PyErr_Occurred()) SWIG_fail;
14056 arg3 = (int)SWIG_As_int(obj2);
14057 if (PyErr_Occurred()) SWIG_fail;
14058 {
14059 PyThreadState* __tstate = wxPyBeginAllowThreads();
14060 (arg1)->SetRange(arg2,arg3);
14061
14062 wxPyEndAllowThreads(__tstate);
14063 if (PyErr_Occurred()) SWIG_fail;
14064 }
14065 Py_INCREF(Py_None); resultobj = Py_None;
14066 return resultobj;
14067 fail:
14068 return NULL;
14069 }
14070
14071
14072 static PyObject *_wrap_FontData_SetShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
14073 PyObject *resultobj;
14074 wxFontData *arg1 = (wxFontData *) 0 ;
14075 bool arg2 ;
14076 PyObject * obj0 = 0 ;
14077 PyObject * obj1 = 0 ;
14078 char *kwnames[] = {
14079 (char *) "self",(char *) "showHelp", NULL
14080 };
14081
14082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail;
14083 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
14084 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14085 arg2 = (bool)SWIG_As_bool(obj1);
14086 if (PyErr_Occurred()) SWIG_fail;
14087 {
14088 PyThreadState* __tstate = wxPyBeginAllowThreads();
14089 (arg1)->SetShowHelp(arg2);
14090
14091 wxPyEndAllowThreads(__tstate);
14092 if (PyErr_Occurred()) SWIG_fail;
14093 }
14094 Py_INCREF(Py_None); resultobj = Py_None;
14095 return resultobj;
14096 fail:
14097 return NULL;
14098 }
14099
14100
14101 static PyObject * FontData_swigregister(PyObject *, PyObject *args) {
14102 PyObject *obj;
14103 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14104 SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj);
14105 Py_INCREF(obj);
14106 return Py_BuildValue((char *)"");
14107 }
14108 static PyObject *_wrap_new_FontDialog(PyObject *, PyObject *args, PyObject *kwargs) {
14109 PyObject *resultobj;
14110 wxWindow *arg1 = (wxWindow *) 0 ;
14111 wxFontData *arg2 = 0 ;
14112 wxFontDialog *result;
14113 PyObject * obj0 = 0 ;
14114 PyObject * obj1 = 0 ;
14115 char *kwnames[] = {
14116 (char *) "parent",(char *) "data", NULL
14117 };
14118
14119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail;
14120 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14121 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14122 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFontData,
14123 SWIG_POINTER_EXCEPTION | 0)) == -1)
14124 SWIG_fail;
14125 if (arg2 == NULL) {
14126 PyErr_SetString(PyExc_TypeError,"null reference");
14127 SWIG_fail;
14128 }
14129 {
14130 if (!wxPyCheckForApp()) SWIG_fail;
14131 PyThreadState* __tstate = wxPyBeginAllowThreads();
14132 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
14133
14134 wxPyEndAllowThreads(__tstate);
14135 if (PyErr_Occurred()) SWIG_fail;
14136 }
14137 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontDialog, 1);
14138 return resultobj;
14139 fail:
14140 return NULL;
14141 }
14142
14143
14144 static PyObject *_wrap_FontDialog_GetFontData(PyObject *, PyObject *args, PyObject *kwargs) {
14145 PyObject *resultobj;
14146 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
14147 wxFontData *result;
14148 PyObject * obj0 = 0 ;
14149 char *kwnames[] = {
14150 (char *) "self", NULL
14151 };
14152
14153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail;
14154 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontDialog,
14155 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14156 {
14157 PyThreadState* __tstate = wxPyBeginAllowThreads();
14158 {
14159 wxFontData &_result_ref = (arg1)->GetFontData();
14160 result = (wxFontData *) &_result_ref;
14161 }
14162
14163 wxPyEndAllowThreads(__tstate);
14164 if (PyErr_Occurred()) SWIG_fail;
14165 }
14166 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 0);
14167 return resultobj;
14168 fail:
14169 return NULL;
14170 }
14171
14172
14173 static PyObject * FontDialog_swigregister(PyObject *, PyObject *args) {
14174 PyObject *obj;
14175 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14176 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj);
14177 Py_INCREF(obj);
14178 return Py_BuildValue((char *)"");
14179 }
14180 static PyObject *_wrap_new_MessageDialog(PyObject *, PyObject *args, PyObject *kwargs) {
14181 PyObject *resultobj;
14182 wxWindow *arg1 = (wxWindow *) 0 ;
14183 wxString *arg2 = 0 ;
14184 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
14185 wxString *arg3 = (wxString *) &arg3_defvalue ;
14186 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
14187 wxPoint const &arg5_defvalue = wxDefaultPosition ;
14188 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
14189 wxMessageDialog *result;
14190 bool temp2 = false ;
14191 bool temp3 = false ;
14192 wxPoint temp5 ;
14193 PyObject * obj0 = 0 ;
14194 PyObject * obj1 = 0 ;
14195 PyObject * obj2 = 0 ;
14196 PyObject * obj3 = 0 ;
14197 PyObject * obj4 = 0 ;
14198 char *kwnames[] = {
14199 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
14200 };
14201
14202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
14203 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14205 {
14206 arg2 = wxString_in_helper(obj1);
14207 if (arg2 == NULL) SWIG_fail;
14208 temp2 = true;
14209 }
14210 if (obj2) {
14211 {
14212 arg3 = wxString_in_helper(obj2);
14213 if (arg3 == NULL) SWIG_fail;
14214 temp3 = true;
14215 }
14216 }
14217 if (obj3) {
14218 arg4 = (long)SWIG_As_long(obj3);
14219 if (PyErr_Occurred()) SWIG_fail;
14220 }
14221 if (obj4) {
14222 {
14223 arg5 = &temp5;
14224 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14225 }
14226 }
14227 {
14228 if (!wxPyCheckForApp()) SWIG_fail;
14229 PyThreadState* __tstate = wxPyBeginAllowThreads();
14230 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
14231
14232 wxPyEndAllowThreads(__tstate);
14233 if (PyErr_Occurred()) SWIG_fail;
14234 }
14235 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMessageDialog, 1);
14236 {
14237 if (temp2)
14238 delete arg2;
14239 }
14240 {
14241 if (temp3)
14242 delete arg3;
14243 }
14244 return resultobj;
14245 fail:
14246 {
14247 if (temp2)
14248 delete arg2;
14249 }
14250 {
14251 if (temp3)
14252 delete arg3;
14253 }
14254 return NULL;
14255 }
14256
14257
14258 static PyObject * MessageDialog_swigregister(PyObject *, PyObject *args) {
14259 PyObject *obj;
14260 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14261 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj);
14262 Py_INCREF(obj);
14263 return Py_BuildValue((char *)"");
14264 }
14265 static PyObject *_wrap_new_ProgressDialog(PyObject *, PyObject *args, PyObject *kwargs) {
14266 PyObject *resultobj;
14267 wxString *arg1 = 0 ;
14268 wxString *arg2 = 0 ;
14269 int arg3 = (int) 100 ;
14270 wxWindow *arg4 = (wxWindow *) NULL ;
14271 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
14272 wxProgressDialog *result;
14273 bool temp1 = false ;
14274 bool temp2 = false ;
14275 PyObject * obj0 = 0 ;
14276 PyObject * obj1 = 0 ;
14277 PyObject * obj2 = 0 ;
14278 PyObject * obj3 = 0 ;
14279 PyObject * obj4 = 0 ;
14280 char *kwnames[] = {
14281 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
14282 };
14283
14284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
14285 {
14286 arg1 = wxString_in_helper(obj0);
14287 if (arg1 == NULL) SWIG_fail;
14288 temp1 = true;
14289 }
14290 {
14291 arg2 = wxString_in_helper(obj1);
14292 if (arg2 == NULL) SWIG_fail;
14293 temp2 = true;
14294 }
14295 if (obj2) {
14296 arg3 = (int)SWIG_As_int(obj2);
14297 if (PyErr_Occurred()) SWIG_fail;
14298 }
14299 if (obj3) {
14300 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
14301 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14302 }
14303 if (obj4) {
14304 arg5 = (int)SWIG_As_int(obj4);
14305 if (PyErr_Occurred()) SWIG_fail;
14306 }
14307 {
14308 if (!wxPyCheckForApp()) SWIG_fail;
14309 PyThreadState* __tstate = wxPyBeginAllowThreads();
14310 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
14311
14312 wxPyEndAllowThreads(__tstate);
14313 if (PyErr_Occurred()) SWIG_fail;
14314 }
14315 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxProgressDialog, 1);
14316 {
14317 if (temp1)
14318 delete arg1;
14319 }
14320 {
14321 if (temp2)
14322 delete arg2;
14323 }
14324 return resultobj;
14325 fail:
14326 {
14327 if (temp1)
14328 delete arg1;
14329 }
14330 {
14331 if (temp2)
14332 delete arg2;
14333 }
14334 return NULL;
14335 }
14336
14337
14338 static PyObject *_wrap_ProgressDialog_Update(PyObject *, PyObject *args, PyObject *kwargs) {
14339 PyObject *resultobj;
14340 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
14341 int arg2 ;
14342 wxString const &arg3_defvalue = wxPyEmptyString ;
14343 wxString *arg3 = (wxString *) &arg3_defvalue ;
14344 bool result;
14345 bool temp3 = false ;
14346 PyObject * obj0 = 0 ;
14347 PyObject * obj1 = 0 ;
14348 PyObject * obj2 = 0 ;
14349 char *kwnames[] = {
14350 (char *) "self",(char *) "value",(char *) "newmsg", NULL
14351 };
14352
14353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) goto fail;
14354 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog,
14355 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14356 arg2 = (int)SWIG_As_int(obj1);
14357 if (PyErr_Occurred()) SWIG_fail;
14358 if (obj2) {
14359 {
14360 arg3 = wxString_in_helper(obj2);
14361 if (arg3 == NULL) SWIG_fail;
14362 temp3 = true;
14363 }
14364 }
14365 {
14366 PyThreadState* __tstate = wxPyBeginAllowThreads();
14367 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3);
14368
14369 wxPyEndAllowThreads(__tstate);
14370 if (PyErr_Occurred()) SWIG_fail;
14371 }
14372 {
14373 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14374 }
14375 {
14376 if (temp3)
14377 delete arg3;
14378 }
14379 return resultobj;
14380 fail:
14381 {
14382 if (temp3)
14383 delete arg3;
14384 }
14385 return NULL;
14386 }
14387
14388
14389 static PyObject *_wrap_ProgressDialog_Resume(PyObject *, PyObject *args, PyObject *kwargs) {
14390 PyObject *resultobj;
14391 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
14392 PyObject * obj0 = 0 ;
14393 char *kwnames[] = {
14394 (char *) "self", NULL
14395 };
14396
14397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail;
14398 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog,
14399 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14400 {
14401 PyThreadState* __tstate = wxPyBeginAllowThreads();
14402 (arg1)->Resume();
14403
14404 wxPyEndAllowThreads(__tstate);
14405 if (PyErr_Occurred()) SWIG_fail;
14406 }
14407 Py_INCREF(Py_None); resultobj = Py_None;
14408 return resultobj;
14409 fail:
14410 return NULL;
14411 }
14412
14413
14414 static PyObject * ProgressDialog_swigregister(PyObject *, PyObject *args) {
14415 PyObject *obj;
14416 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14417 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj);
14418 Py_INCREF(obj);
14419 return Py_BuildValue((char *)"");
14420 }
14421 static PyObject *_wrap_new_FindDialogEvent(PyObject *, PyObject *args, PyObject *kwargs) {
14422 PyObject *resultobj;
14423 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
14424 int arg2 = (int) 0 ;
14425 wxFindDialogEvent *result;
14426 PyObject * obj0 = 0 ;
14427 PyObject * obj1 = 0 ;
14428 char *kwnames[] = {
14429 (char *) "commandType",(char *) "id", NULL
14430 };
14431
14432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) goto fail;
14433 if (obj0) {
14434 arg1 = (wxEventType)SWIG_As_int(obj0);
14435 if (PyErr_Occurred()) SWIG_fail;
14436 }
14437 if (obj1) {
14438 arg2 = (int)SWIG_As_int(obj1);
14439 if (PyErr_Occurred()) SWIG_fail;
14440 }
14441 {
14442 PyThreadState* __tstate = wxPyBeginAllowThreads();
14443 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
14444
14445 wxPyEndAllowThreads(__tstate);
14446 if (PyErr_Occurred()) SWIG_fail;
14447 }
14448 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindDialogEvent, 1);
14449 return resultobj;
14450 fail:
14451 return NULL;
14452 }
14453
14454
14455 static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
14456 PyObject *resultobj;
14457 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
14458 int result;
14459 PyObject * obj0 = 0 ;
14460 char *kwnames[] = {
14461 (char *) "self", NULL
14462 };
14463
14464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail;
14465 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14466 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14467 {
14468 PyThreadState* __tstate = wxPyBeginAllowThreads();
14469 result = (int)(arg1)->GetFlags();
14470
14471 wxPyEndAllowThreads(__tstate);
14472 if (PyErr_Occurred()) SWIG_fail;
14473 }
14474 resultobj = SWIG_From_int((int)result);
14475 return resultobj;
14476 fail:
14477 return NULL;
14478 }
14479
14480
14481 static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
14482 PyObject *resultobj;
14483 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
14484 wxString *result;
14485 PyObject * obj0 = 0 ;
14486 char *kwnames[] = {
14487 (char *) "self", NULL
14488 };
14489
14490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail;
14491 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14492 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14493 {
14494 PyThreadState* __tstate = wxPyBeginAllowThreads();
14495 {
14496 wxString const &_result_ref = (arg1)->GetFindString();
14497 result = (wxString *) &_result_ref;
14498 }
14499
14500 wxPyEndAllowThreads(__tstate);
14501 if (PyErr_Occurred()) SWIG_fail;
14502 }
14503 {
14504 #if wxUSE_UNICODE
14505 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14506 #else
14507 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14508 #endif
14509 }
14510 return resultobj;
14511 fail:
14512 return NULL;
14513 }
14514
14515
14516 static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
14517 PyObject *resultobj;
14518 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
14519 wxString *result;
14520 PyObject * obj0 = 0 ;
14521 char *kwnames[] = {
14522 (char *) "self", NULL
14523 };
14524
14525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail;
14526 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14527 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14528 {
14529 PyThreadState* __tstate = wxPyBeginAllowThreads();
14530 {
14531 wxString const &_result_ref = (arg1)->GetReplaceString();
14532 result = (wxString *) &_result_ref;
14533 }
14534
14535 wxPyEndAllowThreads(__tstate);
14536 if (PyErr_Occurred()) SWIG_fail;
14537 }
14538 {
14539 #if wxUSE_UNICODE
14540 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14541 #else
14542 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14543 #endif
14544 }
14545 return resultobj;
14546 fail:
14547 return NULL;
14548 }
14549
14550
14551 static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *, PyObject *args, PyObject *kwargs) {
14552 PyObject *resultobj;
14553 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
14554 wxFindReplaceDialog *result;
14555 PyObject * obj0 = 0 ;
14556 char *kwnames[] = {
14557 (char *) "self", NULL
14558 };
14559
14560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail;
14561 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14562 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14563 {
14564 PyThreadState* __tstate = wxPyBeginAllowThreads();
14565 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
14566
14567 wxPyEndAllowThreads(__tstate);
14568 if (PyErr_Occurred()) SWIG_fail;
14569 }
14570 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 0);
14571 return resultobj;
14572 fail:
14573 return NULL;
14574 }
14575
14576
14577 static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
14578 PyObject *resultobj;
14579 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
14580 int arg2 ;
14581 PyObject * obj0 = 0 ;
14582 PyObject * obj1 = 0 ;
14583 char *kwnames[] = {
14584 (char *) "self",(char *) "flags", NULL
14585 };
14586
14587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
14588 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14589 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14590 arg2 = (int)SWIG_As_int(obj1);
14591 if (PyErr_Occurred()) SWIG_fail;
14592 {
14593 PyThreadState* __tstate = wxPyBeginAllowThreads();
14594 (arg1)->SetFlags(arg2);
14595
14596 wxPyEndAllowThreads(__tstate);
14597 if (PyErr_Occurred()) SWIG_fail;
14598 }
14599 Py_INCREF(Py_None); resultobj = Py_None;
14600 return resultobj;
14601 fail:
14602 return NULL;
14603 }
14604
14605
14606 static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
14607 PyObject *resultobj;
14608 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
14609 wxString *arg2 = 0 ;
14610 bool temp2 = false ;
14611 PyObject * obj0 = 0 ;
14612 PyObject * obj1 = 0 ;
14613 char *kwnames[] = {
14614 (char *) "self",(char *) "str", NULL
14615 };
14616
14617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail;
14618 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14619 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14620 {
14621 arg2 = wxString_in_helper(obj1);
14622 if (arg2 == NULL) SWIG_fail;
14623 temp2 = true;
14624 }
14625 {
14626 PyThreadState* __tstate = wxPyBeginAllowThreads();
14627 (arg1)->SetFindString((wxString const &)*arg2);
14628
14629 wxPyEndAllowThreads(__tstate);
14630 if (PyErr_Occurred()) SWIG_fail;
14631 }
14632 Py_INCREF(Py_None); resultobj = Py_None;
14633 {
14634 if (temp2)
14635 delete arg2;
14636 }
14637 return resultobj;
14638 fail:
14639 {
14640 if (temp2)
14641 delete arg2;
14642 }
14643 return NULL;
14644 }
14645
14646
14647 static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
14648 PyObject *resultobj;
14649 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
14650 wxString *arg2 = 0 ;
14651 bool temp2 = false ;
14652 PyObject * obj0 = 0 ;
14653 PyObject * obj1 = 0 ;
14654 char *kwnames[] = {
14655 (char *) "self",(char *) "str", NULL
14656 };
14657
14658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
14659 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14660 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14661 {
14662 arg2 = wxString_in_helper(obj1);
14663 if (arg2 == NULL) SWIG_fail;
14664 temp2 = true;
14665 }
14666 {
14667 PyThreadState* __tstate = wxPyBeginAllowThreads();
14668 (arg1)->SetReplaceString((wxString const &)*arg2);
14669
14670 wxPyEndAllowThreads(__tstate);
14671 if (PyErr_Occurred()) SWIG_fail;
14672 }
14673 Py_INCREF(Py_None); resultobj = Py_None;
14674 {
14675 if (temp2)
14676 delete arg2;
14677 }
14678 return resultobj;
14679 fail:
14680 {
14681 if (temp2)
14682 delete arg2;
14683 }
14684 return NULL;
14685 }
14686
14687
14688 static PyObject * FindDialogEvent_swigregister(PyObject *, PyObject *args) {
14689 PyObject *obj;
14690 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14691 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj);
14692 Py_INCREF(obj);
14693 return Py_BuildValue((char *)"");
14694 }
14695 static PyObject *_wrap_new_FindReplaceData(PyObject *, PyObject *args, PyObject *kwargs) {
14696 PyObject *resultobj;
14697 int arg1 = (int) 0 ;
14698 wxFindReplaceData *result;
14699 PyObject * obj0 = 0 ;
14700 char *kwnames[] = {
14701 (char *) "flags", NULL
14702 };
14703
14704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) goto fail;
14705 if (obj0) {
14706 arg1 = (int)SWIG_As_int(obj0);
14707 if (PyErr_Occurred()) SWIG_fail;
14708 }
14709 {
14710 PyThreadState* __tstate = wxPyBeginAllowThreads();
14711 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
14712
14713 wxPyEndAllowThreads(__tstate);
14714 if (PyErr_Occurred()) SWIG_fail;
14715 }
14716 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 1);
14717 return resultobj;
14718 fail:
14719 return NULL;
14720 }
14721
14722
14723 static PyObject *_wrap_delete_FindReplaceData(PyObject *, PyObject *args, PyObject *kwargs) {
14724 PyObject *resultobj;
14725 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14726 PyObject * obj0 = 0 ;
14727 char *kwnames[] = {
14728 (char *) "self", NULL
14729 };
14730
14731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail;
14732 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14733 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14734 {
14735 PyThreadState* __tstate = wxPyBeginAllowThreads();
14736 delete arg1;
14737
14738 wxPyEndAllowThreads(__tstate);
14739 if (PyErr_Occurred()) SWIG_fail;
14740 }
14741 Py_INCREF(Py_None); resultobj = Py_None;
14742 return resultobj;
14743 fail:
14744 return NULL;
14745 }
14746
14747
14748 static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
14749 PyObject *resultobj;
14750 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14751 wxString *result;
14752 PyObject * obj0 = 0 ;
14753 char *kwnames[] = {
14754 (char *) "self", NULL
14755 };
14756
14757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail;
14758 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14759 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14760 {
14761 PyThreadState* __tstate = wxPyBeginAllowThreads();
14762 {
14763 wxString const &_result_ref = (arg1)->GetFindString();
14764 result = (wxString *) &_result_ref;
14765 }
14766
14767 wxPyEndAllowThreads(__tstate);
14768 if (PyErr_Occurred()) SWIG_fail;
14769 }
14770 {
14771 #if wxUSE_UNICODE
14772 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14773 #else
14774 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14775 #endif
14776 }
14777 return resultobj;
14778 fail:
14779 return NULL;
14780 }
14781
14782
14783 static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
14784 PyObject *resultobj;
14785 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14786 wxString *result;
14787 PyObject * obj0 = 0 ;
14788 char *kwnames[] = {
14789 (char *) "self", NULL
14790 };
14791
14792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail;
14793 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14794 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14795 {
14796 PyThreadState* __tstate = wxPyBeginAllowThreads();
14797 {
14798 wxString const &_result_ref = (arg1)->GetReplaceString();
14799 result = (wxString *) &_result_ref;
14800 }
14801
14802 wxPyEndAllowThreads(__tstate);
14803 if (PyErr_Occurred()) SWIG_fail;
14804 }
14805 {
14806 #if wxUSE_UNICODE
14807 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14808 #else
14809 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14810 #endif
14811 }
14812 return resultobj;
14813 fail:
14814 return NULL;
14815 }
14816
14817
14818 static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
14819 PyObject *resultobj;
14820 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14821 int result;
14822 PyObject * obj0 = 0 ;
14823 char *kwnames[] = {
14824 (char *) "self", NULL
14825 };
14826
14827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail;
14828 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14829 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14830 {
14831 PyThreadState* __tstate = wxPyBeginAllowThreads();
14832 result = (int)(arg1)->GetFlags();
14833
14834 wxPyEndAllowThreads(__tstate);
14835 if (PyErr_Occurred()) SWIG_fail;
14836 }
14837 resultobj = SWIG_From_int((int)result);
14838 return resultobj;
14839 fail:
14840 return NULL;
14841 }
14842
14843
14844 static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
14845 PyObject *resultobj;
14846 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14847 int arg2 ;
14848 PyObject * obj0 = 0 ;
14849 PyObject * obj1 = 0 ;
14850 char *kwnames[] = {
14851 (char *) "self",(char *) "flags", NULL
14852 };
14853
14854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) goto fail;
14855 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14856 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14857 arg2 = (int)SWIG_As_int(obj1);
14858 if (PyErr_Occurred()) SWIG_fail;
14859 {
14860 PyThreadState* __tstate = wxPyBeginAllowThreads();
14861 (arg1)->SetFlags(arg2);
14862
14863 wxPyEndAllowThreads(__tstate);
14864 if (PyErr_Occurred()) SWIG_fail;
14865 }
14866 Py_INCREF(Py_None); resultobj = Py_None;
14867 return resultobj;
14868 fail:
14869 return NULL;
14870 }
14871
14872
14873 static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
14874 PyObject *resultobj;
14875 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14876 wxString *arg2 = 0 ;
14877 bool temp2 = false ;
14878 PyObject * obj0 = 0 ;
14879 PyObject * obj1 = 0 ;
14880 char *kwnames[] = {
14881 (char *) "self",(char *) "str", NULL
14882 };
14883
14884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail;
14885 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14886 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14887 {
14888 arg2 = wxString_in_helper(obj1);
14889 if (arg2 == NULL) SWIG_fail;
14890 temp2 = true;
14891 }
14892 {
14893 PyThreadState* __tstate = wxPyBeginAllowThreads();
14894 (arg1)->SetFindString((wxString const &)*arg2);
14895
14896 wxPyEndAllowThreads(__tstate);
14897 if (PyErr_Occurred()) SWIG_fail;
14898 }
14899 Py_INCREF(Py_None); resultobj = Py_None;
14900 {
14901 if (temp2)
14902 delete arg2;
14903 }
14904 return resultobj;
14905 fail:
14906 {
14907 if (temp2)
14908 delete arg2;
14909 }
14910 return NULL;
14911 }
14912
14913
14914 static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
14915 PyObject *resultobj;
14916 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14917 wxString *arg2 = 0 ;
14918 bool temp2 = false ;
14919 PyObject * obj0 = 0 ;
14920 PyObject * obj1 = 0 ;
14921 char *kwnames[] = {
14922 (char *) "self",(char *) "str", NULL
14923 };
14924
14925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
14926 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14927 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14928 {
14929 arg2 = wxString_in_helper(obj1);
14930 if (arg2 == NULL) SWIG_fail;
14931 temp2 = true;
14932 }
14933 {
14934 PyThreadState* __tstate = wxPyBeginAllowThreads();
14935 (arg1)->SetReplaceString((wxString const &)*arg2);
14936
14937 wxPyEndAllowThreads(__tstate);
14938 if (PyErr_Occurred()) SWIG_fail;
14939 }
14940 Py_INCREF(Py_None); resultobj = Py_None;
14941 {
14942 if (temp2)
14943 delete arg2;
14944 }
14945 return resultobj;
14946 fail:
14947 {
14948 if (temp2)
14949 delete arg2;
14950 }
14951 return NULL;
14952 }
14953
14954
14955 static PyObject * FindReplaceData_swigregister(PyObject *, PyObject *args) {
14956 PyObject *obj;
14957 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14958 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj);
14959 Py_INCREF(obj);
14960 return Py_BuildValue((char *)"");
14961 }
14962 static PyObject *_wrap_new_FindReplaceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
14963 PyObject *resultobj;
14964 wxWindow *arg1 = (wxWindow *) 0 ;
14965 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
14966 wxString *arg3 = 0 ;
14967 int arg4 = (int) 0 ;
14968 wxFindReplaceDialog *result;
14969 bool temp3 = false ;
14970 PyObject * obj0 = 0 ;
14971 PyObject * obj1 = 0 ;
14972 PyObject * obj2 = 0 ;
14973 PyObject * obj3 = 0 ;
14974 char *kwnames[] = {
14975 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14976 };
14977
14978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14979 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14980 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14981 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData,
14982 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14983 {
14984 arg3 = wxString_in_helper(obj2);
14985 if (arg3 == NULL) SWIG_fail;
14986 temp3 = true;
14987 }
14988 if (obj3) {
14989 arg4 = (int)SWIG_As_int(obj3);
14990 if (PyErr_Occurred()) SWIG_fail;
14991 }
14992 {
14993 if (!wxPyCheckForApp()) SWIG_fail;
14994 PyThreadState* __tstate = wxPyBeginAllowThreads();
14995 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
14996
14997 wxPyEndAllowThreads(__tstate);
14998 if (PyErr_Occurred()) SWIG_fail;
14999 }
15000 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
15001 {
15002 if (temp3)
15003 delete arg3;
15004 }
15005 return resultobj;
15006 fail:
15007 {
15008 if (temp3)
15009 delete arg3;
15010 }
15011 return NULL;
15012 }
15013
15014
15015 static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
15016 PyObject *resultobj;
15017 wxFindReplaceDialog *result;
15018 char *kwnames[] = {
15019 NULL
15020 };
15021
15022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail;
15023 {
15024 if (!wxPyCheckForApp()) SWIG_fail;
15025 PyThreadState* __tstate = wxPyBeginAllowThreads();
15026 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
15027
15028 wxPyEndAllowThreads(__tstate);
15029 if (PyErr_Occurred()) SWIG_fail;
15030 }
15031 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
15032 return resultobj;
15033 fail:
15034 return NULL;
15035 }
15036
15037
15038 static PyObject *_wrap_FindReplaceDialog_Create(PyObject *, PyObject *args, PyObject *kwargs) {
15039 PyObject *resultobj;
15040 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
15041 wxWindow *arg2 = (wxWindow *) 0 ;
15042 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
15043 wxString *arg4 = 0 ;
15044 int arg5 = (int) 0 ;
15045 bool result;
15046 bool temp4 = false ;
15047 PyObject * obj0 = 0 ;
15048 PyObject * obj1 = 0 ;
15049 PyObject * obj2 = 0 ;
15050 PyObject * obj3 = 0 ;
15051 PyObject * obj4 = 0 ;
15052 char *kwnames[] = {
15053 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
15054 };
15055
15056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15057 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
15058 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15059 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
15060 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15061 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFindReplaceData,
15062 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15063 {
15064 arg4 = wxString_in_helper(obj3);
15065 if (arg4 == NULL) SWIG_fail;
15066 temp4 = true;
15067 }
15068 if (obj4) {
15069 arg5 = (int)SWIG_As_int(obj4);
15070 if (PyErr_Occurred()) SWIG_fail;
15071 }
15072 {
15073 PyThreadState* __tstate = wxPyBeginAllowThreads();
15074 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
15075
15076 wxPyEndAllowThreads(__tstate);
15077 if (PyErr_Occurred()) SWIG_fail;
15078 }
15079 {
15080 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15081 }
15082 {
15083 if (temp4)
15084 delete arg4;
15085 }
15086 return resultobj;
15087 fail:
15088 {
15089 if (temp4)
15090 delete arg4;
15091 }
15092 return NULL;
15093 }
15094
15095
15096 static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
15097 PyObject *resultobj;
15098 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
15099 wxFindReplaceData *result;
15100 PyObject * obj0 = 0 ;
15101 char *kwnames[] = {
15102 (char *) "self", NULL
15103 };
15104
15105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail;
15106 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
15107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15108 {
15109 PyThreadState* __tstate = wxPyBeginAllowThreads();
15110 result = (wxFindReplaceData *)(arg1)->GetData();
15111
15112 wxPyEndAllowThreads(__tstate);
15113 if (PyErr_Occurred()) SWIG_fail;
15114 }
15115 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 0);
15116 return resultobj;
15117 fail:
15118 return NULL;
15119 }
15120
15121
15122 static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
15123 PyObject *resultobj;
15124 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
15125 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
15126 PyObject * obj0 = 0 ;
15127 PyObject * obj1 = 0 ;
15128 char *kwnames[] = {
15129 (char *) "self",(char *) "data", NULL
15130 };
15131
15132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail;
15133 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
15134 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15135 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData,
15136 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15137 {
15138 PyThreadState* __tstate = wxPyBeginAllowThreads();
15139 (arg1)->SetData(arg2);
15140
15141 wxPyEndAllowThreads(__tstate);
15142 if (PyErr_Occurred()) SWIG_fail;
15143 }
15144 Py_INCREF(Py_None); resultobj = Py_None;
15145 return resultobj;
15146 fail:
15147 return NULL;
15148 }
15149
15150
15151 static PyObject * FindReplaceDialog_swigregister(PyObject *, PyObject *args) {
15152 PyObject *obj;
15153 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15154 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj);
15155 Py_INCREF(obj);
15156 return Py_BuildValue((char *)"");
15157 }
15158 static PyObject *_wrap_new_MDIParentFrame(PyObject *, PyObject *args, PyObject *kwargs) {
15159 PyObject *resultobj;
15160 wxWindow *arg1 = (wxWindow *) 0 ;
15161 int arg2 = (int) (int)-1 ;
15162 wxString const &arg3_defvalue = wxPyEmptyString ;
15163 wxString *arg3 = (wxString *) &arg3_defvalue ;
15164 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15165 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15166 wxSize const &arg5_defvalue = wxDefaultSize ;
15167 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15168 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
15169 wxString const &arg7_defvalue = wxPyFrameNameStr ;
15170 wxString *arg7 = (wxString *) &arg7_defvalue ;
15171 wxMDIParentFrame *result;
15172 bool temp3 = false ;
15173 wxPoint temp4 ;
15174 wxSize temp5 ;
15175 bool temp7 = false ;
15176 PyObject * obj0 = 0 ;
15177 PyObject * obj1 = 0 ;
15178 PyObject * obj2 = 0 ;
15179 PyObject * obj3 = 0 ;
15180 PyObject * obj4 = 0 ;
15181 PyObject * obj5 = 0 ;
15182 PyObject * obj6 = 0 ;
15183 char *kwnames[] = {
15184 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15185 };
15186
15187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15188 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
15189 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15190 if (obj1) {
15191 arg2 = (int)SWIG_As_int(obj1);
15192 if (PyErr_Occurred()) SWIG_fail;
15193 }
15194 if (obj2) {
15195 {
15196 arg3 = wxString_in_helper(obj2);
15197 if (arg3 == NULL) SWIG_fail;
15198 temp3 = true;
15199 }
15200 }
15201 if (obj3) {
15202 {
15203 arg4 = &temp4;
15204 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15205 }
15206 }
15207 if (obj4) {
15208 {
15209 arg5 = &temp5;
15210 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15211 }
15212 }
15213 if (obj5) {
15214 arg6 = (long)SWIG_As_long(obj5);
15215 if (PyErr_Occurred()) SWIG_fail;
15216 }
15217 if (obj6) {
15218 {
15219 arg7 = wxString_in_helper(obj6);
15220 if (arg7 == NULL) SWIG_fail;
15221 temp7 = true;
15222 }
15223 }
15224 {
15225 if (!wxPyCheckForApp()) SWIG_fail;
15226 PyThreadState* __tstate = wxPyBeginAllowThreads();
15227 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15228
15229 wxPyEndAllowThreads(__tstate);
15230 if (PyErr_Occurred()) SWIG_fail;
15231 }
15232 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
15233 {
15234 if (temp3)
15235 delete arg3;
15236 }
15237 {
15238 if (temp7)
15239 delete arg7;
15240 }
15241 return resultobj;
15242 fail:
15243 {
15244 if (temp3)
15245 delete arg3;
15246 }
15247 {
15248 if (temp7)
15249 delete arg7;
15250 }
15251 return NULL;
15252 }
15253
15254
15255 static PyObject *_wrap_new_PreMDIParentFrame(PyObject *, PyObject *args, PyObject *kwargs) {
15256 PyObject *resultobj;
15257 wxMDIParentFrame *result;
15258 char *kwnames[] = {
15259 NULL
15260 };
15261
15262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail;
15263 {
15264 if (!wxPyCheckForApp()) SWIG_fail;
15265 PyThreadState* __tstate = wxPyBeginAllowThreads();
15266 result = (wxMDIParentFrame *)new wxMDIParentFrame();
15267
15268 wxPyEndAllowThreads(__tstate);
15269 if (PyErr_Occurred()) SWIG_fail;
15270 }
15271 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
15272 return resultobj;
15273 fail:
15274 return NULL;
15275 }
15276
15277
15278 static PyObject *_wrap_MDIParentFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
15279 PyObject *resultobj;
15280 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15281 wxWindow *arg2 = (wxWindow *) 0 ;
15282 int arg3 = (int) (int)-1 ;
15283 wxString const &arg4_defvalue = wxPyEmptyString ;
15284 wxString *arg4 = (wxString *) &arg4_defvalue ;
15285 wxPoint const &arg5_defvalue = wxDefaultPosition ;
15286 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
15287 wxSize const &arg6_defvalue = wxDefaultSize ;
15288 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
15289 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
15290 wxString const &arg8_defvalue = wxPyFrameNameStr ;
15291 wxString *arg8 = (wxString *) &arg8_defvalue ;
15292 bool result;
15293 bool temp4 = false ;
15294 wxPoint temp5 ;
15295 wxSize temp6 ;
15296 bool temp8 = false ;
15297 PyObject * obj0 = 0 ;
15298 PyObject * obj1 = 0 ;
15299 PyObject * obj2 = 0 ;
15300 PyObject * obj3 = 0 ;
15301 PyObject * obj4 = 0 ;
15302 PyObject * obj5 = 0 ;
15303 PyObject * obj6 = 0 ;
15304 PyObject * obj7 = 0 ;
15305 char *kwnames[] = {
15306 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15307 };
15308
15309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15310 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15311 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15312 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
15313 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15314 if (obj2) {
15315 arg3 = (int)SWIG_As_int(obj2);
15316 if (PyErr_Occurred()) SWIG_fail;
15317 }
15318 if (obj3) {
15319 {
15320 arg4 = wxString_in_helper(obj3);
15321 if (arg4 == NULL) SWIG_fail;
15322 temp4 = true;
15323 }
15324 }
15325 if (obj4) {
15326 {
15327 arg5 = &temp5;
15328 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
15329 }
15330 }
15331 if (obj5) {
15332 {
15333 arg6 = &temp6;
15334 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
15335 }
15336 }
15337 if (obj6) {
15338 arg7 = (long)SWIG_As_long(obj6);
15339 if (PyErr_Occurred()) SWIG_fail;
15340 }
15341 if (obj7) {
15342 {
15343 arg8 = wxString_in_helper(obj7);
15344 if (arg8 == NULL) SWIG_fail;
15345 temp8 = true;
15346 }
15347 }
15348 {
15349 PyThreadState* __tstate = wxPyBeginAllowThreads();
15350 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
15351
15352 wxPyEndAllowThreads(__tstate);
15353 if (PyErr_Occurred()) SWIG_fail;
15354 }
15355 {
15356 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15357 }
15358 {
15359 if (temp4)
15360 delete arg4;
15361 }
15362 {
15363 if (temp8)
15364 delete arg8;
15365 }
15366 return resultobj;
15367 fail:
15368 {
15369 if (temp4)
15370 delete arg4;
15371 }
15372 {
15373 if (temp8)
15374 delete arg8;
15375 }
15376 return NULL;
15377 }
15378
15379
15380 static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *, PyObject *args, PyObject *kwargs) {
15381 PyObject *resultobj;
15382 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15383 PyObject * obj0 = 0 ;
15384 char *kwnames[] = {
15385 (char *) "self", NULL
15386 };
15387
15388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail;
15389 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15390 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15391 {
15392 PyThreadState* __tstate = wxPyBeginAllowThreads();
15393 (arg1)->ActivateNext();
15394
15395 wxPyEndAllowThreads(__tstate);
15396 if (PyErr_Occurred()) SWIG_fail;
15397 }
15398 Py_INCREF(Py_None); resultobj = Py_None;
15399 return resultobj;
15400 fail:
15401 return NULL;
15402 }
15403
15404
15405 static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *, PyObject *args, PyObject *kwargs) {
15406 PyObject *resultobj;
15407 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15408 PyObject * obj0 = 0 ;
15409 char *kwnames[] = {
15410 (char *) "self", NULL
15411 };
15412
15413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail;
15414 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15415 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15416 {
15417 PyThreadState* __tstate = wxPyBeginAllowThreads();
15418 (arg1)->ActivatePrevious();
15419
15420 wxPyEndAllowThreads(__tstate);
15421 if (PyErr_Occurred()) SWIG_fail;
15422 }
15423 Py_INCREF(Py_None); resultobj = Py_None;
15424 return resultobj;
15425 fail:
15426 return NULL;
15427 }
15428
15429
15430 static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *, PyObject *args, PyObject *kwargs) {
15431 PyObject *resultobj;
15432 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15433 PyObject * obj0 = 0 ;
15434 char *kwnames[] = {
15435 (char *) "self", NULL
15436 };
15437
15438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail;
15439 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15440 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15441 {
15442 PyThreadState* __tstate = wxPyBeginAllowThreads();
15443 (arg1)->ArrangeIcons();
15444
15445 wxPyEndAllowThreads(__tstate);
15446 if (PyErr_Occurred()) SWIG_fail;
15447 }
15448 Py_INCREF(Py_None); resultobj = Py_None;
15449 return resultobj;
15450 fail:
15451 return NULL;
15452 }
15453
15454
15455 static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *, PyObject *args, PyObject *kwargs) {
15456 PyObject *resultobj;
15457 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15458 PyObject * obj0 = 0 ;
15459 char *kwnames[] = {
15460 (char *) "self", NULL
15461 };
15462
15463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail;
15464 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15465 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15466 {
15467 PyThreadState* __tstate = wxPyBeginAllowThreads();
15468 (arg1)->Cascade();
15469
15470 wxPyEndAllowThreads(__tstate);
15471 if (PyErr_Occurred()) SWIG_fail;
15472 }
15473 Py_INCREF(Py_None); resultobj = Py_None;
15474 return resultobj;
15475 fail:
15476 return NULL;
15477 }
15478
15479
15480 static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *, PyObject *args, PyObject *kwargs) {
15481 PyObject *resultobj;
15482 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15483 wxMDIChildFrame *result;
15484 PyObject * obj0 = 0 ;
15485 char *kwnames[] = {
15486 (char *) "self", NULL
15487 };
15488
15489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail;
15490 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15491 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15492 {
15493 PyThreadState* __tstate = wxPyBeginAllowThreads();
15494 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
15495
15496 wxPyEndAllowThreads(__tstate);
15497 if (PyErr_Occurred()) SWIG_fail;
15498 }
15499 {
15500 resultobj = wxPyMake_wxObject(result, 0);
15501 }
15502 return resultobj;
15503 fail:
15504 return NULL;
15505 }
15506
15507
15508 static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
15509 PyObject *resultobj;
15510 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15511 wxMDIClientWindow *result;
15512 PyObject * obj0 = 0 ;
15513 char *kwnames[] = {
15514 (char *) "self", NULL
15515 };
15516
15517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail;
15518 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15519 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15520 {
15521 PyThreadState* __tstate = wxPyBeginAllowThreads();
15522 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
15523
15524 wxPyEndAllowThreads(__tstate);
15525 if (PyErr_Occurred()) SWIG_fail;
15526 }
15527 {
15528 resultobj = wxPyMake_wxObject(result, 0);
15529 }
15530 return resultobj;
15531 fail:
15532 return NULL;
15533 }
15534
15535
15536 static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
15537 PyObject *resultobj;
15538 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15539 wxWindow *result;
15540 PyObject * obj0 = 0 ;
15541 char *kwnames[] = {
15542 (char *) "self", NULL
15543 };
15544
15545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail;
15546 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15547 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15548 {
15549 PyThreadState* __tstate = wxPyBeginAllowThreads();
15550 result = (wxWindow *)(arg1)->GetToolBar();
15551
15552 wxPyEndAllowThreads(__tstate);
15553 if (PyErr_Occurred()) SWIG_fail;
15554 }
15555 {
15556 resultobj = wxPyMake_wxObject(result, 0);
15557 }
15558 return resultobj;
15559 fail:
15560 return NULL;
15561 }
15562
15563
15564 static PyObject *_wrap_MDIParentFrame_GetWindowMenu(PyObject *, PyObject *args, PyObject *kwargs) {
15565 PyObject *resultobj;
15566 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15567 wxMenu *result;
15568 PyObject * obj0 = 0 ;
15569 char *kwnames[] = {
15570 (char *) "self", NULL
15571 };
15572
15573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetWindowMenu",kwnames,&obj0)) goto fail;
15574 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15575 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15576 {
15577 PyThreadState* __tstate = wxPyBeginAllowThreads();
15578 result = (wxMenu *)(arg1)->GetWindowMenu();
15579
15580 wxPyEndAllowThreads(__tstate);
15581 if (PyErr_Occurred()) SWIG_fail;
15582 }
15583 {
15584 resultobj = wxPyMake_wxObject(result, 0);
15585 }
15586 return resultobj;
15587 fail:
15588 return NULL;
15589 }
15590
15591
15592 static PyObject *_wrap_MDIParentFrame_SetWindowMenu(PyObject *, PyObject *args, PyObject *kwargs) {
15593 PyObject *resultobj;
15594 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15595 wxMenu *arg2 = (wxMenu *) 0 ;
15596 PyObject * obj0 = 0 ;
15597 PyObject * obj1 = 0 ;
15598 char *kwnames[] = {
15599 (char *) "self",(char *) "menu", NULL
15600 };
15601
15602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIParentFrame_SetWindowMenu",kwnames,&obj0,&obj1)) goto fail;
15603 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15604 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15605 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
15606 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15607 {
15608 PyThreadState* __tstate = wxPyBeginAllowThreads();
15609 (arg1)->SetWindowMenu(arg2);
15610
15611 wxPyEndAllowThreads(__tstate);
15612 if (PyErr_Occurred()) SWIG_fail;
15613 }
15614 Py_INCREF(Py_None); resultobj = Py_None;
15615 return resultobj;
15616 fail:
15617 return NULL;
15618 }
15619
15620
15621 static PyObject *_wrap_MDIParentFrame_SetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
15622 PyObject *resultobj;
15623 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15624 wxToolBar *arg2 = (wxToolBar *) 0 ;
15625 PyObject * obj0 = 0 ;
15626 PyObject * obj1 = 0 ;
15627 char *kwnames[] = {
15628 (char *) "self",(char *) "toolbar", NULL
15629 };
15630
15631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIParentFrame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
15632 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15633 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15634 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBar,
15635 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15636 {
15637 PyThreadState* __tstate = wxPyBeginAllowThreads();
15638 (arg1)->SetToolBar(arg2);
15639
15640 wxPyEndAllowThreads(__tstate);
15641 if (PyErr_Occurred()) SWIG_fail;
15642 }
15643 Py_INCREF(Py_None); resultobj = Py_None;
15644 return resultobj;
15645 fail:
15646 return NULL;
15647 }
15648
15649
15650 static PyObject *_wrap_MDIParentFrame_Tile(PyObject *, PyObject *args, PyObject *kwargs) {
15651 PyObject *resultobj;
15652 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15653 PyObject * obj0 = 0 ;
15654 char *kwnames[] = {
15655 (char *) "self", NULL
15656 };
15657
15658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Tile",kwnames,&obj0)) goto fail;
15659 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15660 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15661 {
15662 PyThreadState* __tstate = wxPyBeginAllowThreads();
15663 (arg1)->Tile();
15664
15665 wxPyEndAllowThreads(__tstate);
15666 if (PyErr_Occurred()) SWIG_fail;
15667 }
15668 Py_INCREF(Py_None); resultobj = Py_None;
15669 return resultobj;
15670 fail:
15671 return NULL;
15672 }
15673
15674
15675 static PyObject * MDIParentFrame_swigregister(PyObject *, PyObject *args) {
15676 PyObject *obj;
15677 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15678 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj);
15679 Py_INCREF(obj);
15680 return Py_BuildValue((char *)"");
15681 }
15682 static PyObject *_wrap_new_MDIChildFrame(PyObject *, PyObject *args, PyObject *kwargs) {
15683 PyObject *resultobj;
15684 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15685 int arg2 = (int) (int)-1 ;
15686 wxString const &arg3_defvalue = wxPyEmptyString ;
15687 wxString *arg3 = (wxString *) &arg3_defvalue ;
15688 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15689 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15690 wxSize const &arg5_defvalue = wxDefaultSize ;
15691 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15692 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
15693 wxString const &arg7_defvalue = wxPyFrameNameStr ;
15694 wxString *arg7 = (wxString *) &arg7_defvalue ;
15695 wxMDIChildFrame *result;
15696 bool temp3 = false ;
15697 wxPoint temp4 ;
15698 wxSize temp5 ;
15699 bool temp7 = false ;
15700 PyObject * obj0 = 0 ;
15701 PyObject * obj1 = 0 ;
15702 PyObject * obj2 = 0 ;
15703 PyObject * obj3 = 0 ;
15704 PyObject * obj4 = 0 ;
15705 PyObject * obj5 = 0 ;
15706 PyObject * obj6 = 0 ;
15707 char *kwnames[] = {
15708 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15709 };
15710
15711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15712 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15713 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15714 if (obj1) {
15715 arg2 = (int)SWIG_As_int(obj1);
15716 if (PyErr_Occurred()) SWIG_fail;
15717 }
15718 if (obj2) {
15719 {
15720 arg3 = wxString_in_helper(obj2);
15721 if (arg3 == NULL) SWIG_fail;
15722 temp3 = true;
15723 }
15724 }
15725 if (obj3) {
15726 {
15727 arg4 = &temp4;
15728 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15729 }
15730 }
15731 if (obj4) {
15732 {
15733 arg5 = &temp5;
15734 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15735 }
15736 }
15737 if (obj5) {
15738 arg6 = (long)SWIG_As_long(obj5);
15739 if (PyErr_Occurred()) SWIG_fail;
15740 }
15741 if (obj6) {
15742 {
15743 arg7 = wxString_in_helper(obj6);
15744 if (arg7 == NULL) SWIG_fail;
15745 temp7 = true;
15746 }
15747 }
15748 {
15749 if (!wxPyCheckForApp()) SWIG_fail;
15750 PyThreadState* __tstate = wxPyBeginAllowThreads();
15751 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15752
15753 wxPyEndAllowThreads(__tstate);
15754 if (PyErr_Occurred()) SWIG_fail;
15755 }
15756 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIChildFrame, 1);
15757 {
15758 if (temp3)
15759 delete arg3;
15760 }
15761 {
15762 if (temp7)
15763 delete arg7;
15764 }
15765 return resultobj;
15766 fail:
15767 {
15768 if (temp3)
15769 delete arg3;
15770 }
15771 {
15772 if (temp7)
15773 delete arg7;
15774 }
15775 return NULL;
15776 }
15777
15778
15779 static PyObject *_wrap_new_PreMDIChildFrame(PyObject *, PyObject *args, PyObject *kwargs) {
15780 PyObject *resultobj;
15781 wxMDIChildFrame *result;
15782 char *kwnames[] = {
15783 NULL
15784 };
15785
15786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail;
15787 {
15788 if (!wxPyCheckForApp()) SWIG_fail;
15789 PyThreadState* __tstate = wxPyBeginAllowThreads();
15790 result = (wxMDIChildFrame *)new wxMDIChildFrame();
15791
15792 wxPyEndAllowThreads(__tstate);
15793 if (PyErr_Occurred()) SWIG_fail;
15794 }
15795 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIChildFrame, 1);
15796 return resultobj;
15797 fail:
15798 return NULL;
15799 }
15800
15801
15802 static PyObject *_wrap_MDIChildFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
15803 PyObject *resultobj;
15804 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15805 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
15806 int arg3 = (int) (int)-1 ;
15807 wxString const &arg4_defvalue = wxPyEmptyString ;
15808 wxString *arg4 = (wxString *) &arg4_defvalue ;
15809 wxPoint const &arg5_defvalue = wxDefaultPosition ;
15810 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
15811 wxSize const &arg6_defvalue = wxDefaultSize ;
15812 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
15813 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
15814 wxString const &arg8_defvalue = wxPyFrameNameStr ;
15815 wxString *arg8 = (wxString *) &arg8_defvalue ;
15816 bool result;
15817 bool temp4 = false ;
15818 wxPoint temp5 ;
15819 wxSize temp6 ;
15820 bool temp8 = false ;
15821 PyObject * obj0 = 0 ;
15822 PyObject * obj1 = 0 ;
15823 PyObject * obj2 = 0 ;
15824 PyObject * obj3 = 0 ;
15825 PyObject * obj4 = 0 ;
15826 PyObject * obj5 = 0 ;
15827 PyObject * obj6 = 0 ;
15828 PyObject * obj7 = 0 ;
15829 char *kwnames[] = {
15830 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15831 };
15832
15833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15834 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15835 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15836 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
15837 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15838 if (obj2) {
15839 arg3 = (int)SWIG_As_int(obj2);
15840 if (PyErr_Occurred()) SWIG_fail;
15841 }
15842 if (obj3) {
15843 {
15844 arg4 = wxString_in_helper(obj3);
15845 if (arg4 == NULL) SWIG_fail;
15846 temp4 = true;
15847 }
15848 }
15849 if (obj4) {
15850 {
15851 arg5 = &temp5;
15852 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
15853 }
15854 }
15855 if (obj5) {
15856 {
15857 arg6 = &temp6;
15858 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
15859 }
15860 }
15861 if (obj6) {
15862 arg7 = (long)SWIG_As_long(obj6);
15863 if (PyErr_Occurred()) SWIG_fail;
15864 }
15865 if (obj7) {
15866 {
15867 arg8 = wxString_in_helper(obj7);
15868 if (arg8 == NULL) SWIG_fail;
15869 temp8 = true;
15870 }
15871 }
15872 {
15873 PyThreadState* __tstate = wxPyBeginAllowThreads();
15874 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
15875
15876 wxPyEndAllowThreads(__tstate);
15877 if (PyErr_Occurred()) SWIG_fail;
15878 }
15879 {
15880 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15881 }
15882 {
15883 if (temp4)
15884 delete arg4;
15885 }
15886 {
15887 if (temp8)
15888 delete arg8;
15889 }
15890 return resultobj;
15891 fail:
15892 {
15893 if (temp4)
15894 delete arg4;
15895 }
15896 {
15897 if (temp8)
15898 delete arg8;
15899 }
15900 return NULL;
15901 }
15902
15903
15904 static PyObject *_wrap_MDIChildFrame_Activate(PyObject *, PyObject *args, PyObject *kwargs) {
15905 PyObject *resultobj;
15906 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15907 PyObject * obj0 = 0 ;
15908 char *kwnames[] = {
15909 (char *) "self", NULL
15910 };
15911
15912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail;
15913 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15914 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15915 {
15916 PyThreadState* __tstate = wxPyBeginAllowThreads();
15917 (arg1)->Activate();
15918
15919 wxPyEndAllowThreads(__tstate);
15920 if (PyErr_Occurred()) SWIG_fail;
15921 }
15922 Py_INCREF(Py_None); resultobj = Py_None;
15923 return resultobj;
15924 fail:
15925 return NULL;
15926 }
15927
15928
15929 static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *, PyObject *args, PyObject *kwargs) {
15930 PyObject *resultobj;
15931 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15932 bool arg2 = (bool) true ;
15933 PyObject * obj0 = 0 ;
15934 PyObject * obj1 = 0 ;
15935 char *kwnames[] = {
15936 (char *) "self",(char *) "maximize", NULL
15937 };
15938
15939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail;
15940 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15941 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15942 if (obj1) {
15943 arg2 = (bool)SWIG_As_bool(obj1);
15944 if (PyErr_Occurred()) SWIG_fail;
15945 }
15946 {
15947 PyThreadState* __tstate = wxPyBeginAllowThreads();
15948 (arg1)->Maximize(arg2);
15949
15950 wxPyEndAllowThreads(__tstate);
15951 if (PyErr_Occurred()) SWIG_fail;
15952 }
15953 Py_INCREF(Py_None); resultobj = Py_None;
15954 return resultobj;
15955 fail:
15956 return NULL;
15957 }
15958
15959
15960 static PyObject *_wrap_MDIChildFrame_Restore(PyObject *, PyObject *args, PyObject *kwargs) {
15961 PyObject *resultobj;
15962 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15963 PyObject * obj0 = 0 ;
15964 char *kwnames[] = {
15965 (char *) "self", NULL
15966 };
15967
15968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail;
15969 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15970 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15971 {
15972 PyThreadState* __tstate = wxPyBeginAllowThreads();
15973 (arg1)->Restore();
15974
15975 wxPyEndAllowThreads(__tstate);
15976 if (PyErr_Occurred()) SWIG_fail;
15977 }
15978 Py_INCREF(Py_None); resultobj = Py_None;
15979 return resultobj;
15980 fail:
15981 return NULL;
15982 }
15983
15984
15985 static PyObject * MDIChildFrame_swigregister(PyObject *, PyObject *args) {
15986 PyObject *obj;
15987 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15988 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj);
15989 Py_INCREF(obj);
15990 return Py_BuildValue((char *)"");
15991 }
15992 static PyObject *_wrap_new_MDIClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
15993 PyObject *resultobj;
15994 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15995 long arg2 = (long) 0 ;
15996 wxMDIClientWindow *result;
15997 PyObject * obj0 = 0 ;
15998 PyObject * obj1 = 0 ;
15999 char *kwnames[] = {
16000 (char *) "parent",(char *) "style", NULL
16001 };
16002
16003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) goto fail;
16004 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
16005 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16006 if (obj1) {
16007 arg2 = (long)SWIG_As_long(obj1);
16008 if (PyErr_Occurred()) SWIG_fail;
16009 }
16010 {
16011 if (!wxPyCheckForApp()) SWIG_fail;
16012 PyThreadState* __tstate = wxPyBeginAllowThreads();
16013 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
16014
16015 wxPyEndAllowThreads(__tstate);
16016 if (PyErr_Occurred()) SWIG_fail;
16017 }
16018 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIClientWindow, 1);
16019 return resultobj;
16020 fail:
16021 return NULL;
16022 }
16023
16024
16025 static PyObject *_wrap_new_PreMDIClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
16026 PyObject *resultobj;
16027 wxMDIClientWindow *result;
16028 char *kwnames[] = {
16029 NULL
16030 };
16031
16032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail;
16033 {
16034 if (!wxPyCheckForApp()) SWIG_fail;
16035 PyThreadState* __tstate = wxPyBeginAllowThreads();
16036 result = (wxMDIClientWindow *)new wxMDIClientWindow();
16037
16038 wxPyEndAllowThreads(__tstate);
16039 if (PyErr_Occurred()) SWIG_fail;
16040 }
16041 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIClientWindow, 1);
16042 return resultobj;
16043 fail:
16044 return NULL;
16045 }
16046
16047
16048 static PyObject *_wrap_MDIClientWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
16049 PyObject *resultobj;
16050 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
16051 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
16052 long arg3 = (long) 0 ;
16053 bool result;
16054 PyObject * obj0 = 0 ;
16055 PyObject * obj1 = 0 ;
16056 PyObject * obj2 = 0 ;
16057 char *kwnames[] = {
16058 (char *) "self",(char *) "parent",(char *) "style", NULL
16059 };
16060
16061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
16062 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIClientWindow,
16063 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16064 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
16065 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16066 if (obj2) {
16067 arg3 = (long)SWIG_As_long(obj2);
16068 if (PyErr_Occurred()) SWIG_fail;
16069 }
16070 {
16071 PyThreadState* __tstate = wxPyBeginAllowThreads();
16072 result = (bool)(arg1)->Create(arg2,arg3);
16073
16074 wxPyEndAllowThreads(__tstate);
16075 if (PyErr_Occurred()) SWIG_fail;
16076 }
16077 {
16078 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16079 }
16080 return resultobj;
16081 fail:
16082 return NULL;
16083 }
16084
16085
16086 static PyObject * MDIClientWindow_swigregister(PyObject *, PyObject *args) {
16087 PyObject *obj;
16088 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16089 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj);
16090 Py_INCREF(obj);
16091 return Py_BuildValue((char *)"");
16092 }
16093 static PyObject *_wrap_new_PyWindow(PyObject *, PyObject *args, PyObject *kwargs) {
16094 PyObject *resultobj;
16095 wxWindow *arg1 = (wxWindow *) 0 ;
16096 int arg2 = (int) (int)-1 ;
16097 wxPoint const &arg3_defvalue = wxDefaultPosition ;
16098 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
16099 wxSize const &arg4_defvalue = wxDefaultSize ;
16100 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
16101 long arg5 = (long) 0 ;
16102 wxString const &arg6_defvalue = wxPyPanelNameStr ;
16103 wxString *arg6 = (wxString *) &arg6_defvalue ;
16104 wxPyWindow *result;
16105 wxPoint temp3 ;
16106 wxSize temp4 ;
16107 bool temp6 = false ;
16108 PyObject * obj0 = 0 ;
16109 PyObject * obj1 = 0 ;
16110 PyObject * obj2 = 0 ;
16111 PyObject * obj3 = 0 ;
16112 PyObject * obj4 = 0 ;
16113 PyObject * obj5 = 0 ;
16114 char *kwnames[] = {
16115 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16116 };
16117
16118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16119 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
16120 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16121 if (obj1) {
16122 arg2 = (int)SWIG_As_int(obj1);
16123 if (PyErr_Occurred()) SWIG_fail;
16124 }
16125 if (obj2) {
16126 {
16127 arg3 = &temp3;
16128 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
16129 }
16130 }
16131 if (obj3) {
16132 {
16133 arg4 = &temp4;
16134 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
16135 }
16136 }
16137 if (obj4) {
16138 arg5 = (long)SWIG_As_long(obj4);
16139 if (PyErr_Occurred()) SWIG_fail;
16140 }
16141 if (obj5) {
16142 {
16143 arg6 = wxString_in_helper(obj5);
16144 if (arg6 == NULL) SWIG_fail;
16145 temp6 = true;
16146 }
16147 }
16148 {
16149 if (!wxPyCheckForApp()) SWIG_fail;
16150 PyThreadState* __tstate = wxPyBeginAllowThreads();
16151 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
16152
16153 wxPyEndAllowThreads(__tstate);
16154 if (PyErr_Occurred()) SWIG_fail;
16155 }
16156 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
16157 {
16158 if (temp6)
16159 delete arg6;
16160 }
16161 return resultobj;
16162 fail:
16163 {
16164 if (temp6)
16165 delete arg6;
16166 }
16167 return NULL;
16168 }
16169
16170
16171 static PyObject *_wrap_new_PrePyWindow(PyObject *, PyObject *args, PyObject *kwargs) {
16172 PyObject *resultobj;
16173 wxPyWindow *result;
16174 char *kwnames[] = {
16175 NULL
16176 };
16177
16178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyWindow",kwnames)) goto fail;
16179 {
16180 if (!wxPyCheckForApp()) SWIG_fail;
16181 PyThreadState* __tstate = wxPyBeginAllowThreads();
16182 result = (wxPyWindow *)new wxPyWindow();
16183
16184 wxPyEndAllowThreads(__tstate);
16185 if (PyErr_Occurred()) SWIG_fail;
16186 }
16187 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
16188 return resultobj;
16189 fail:
16190 return NULL;
16191 }
16192
16193
16194 static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
16195 PyObject *resultobj;
16196 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16197 PyObject *arg2 = (PyObject *) 0 ;
16198 PyObject *arg3 = (PyObject *) 0 ;
16199 PyObject * obj0 = 0 ;
16200 PyObject * obj1 = 0 ;
16201 PyObject * obj2 = 0 ;
16202 char *kwnames[] = {
16203 (char *) "self",(char *) "self",(char *) "_class", NULL
16204 };
16205
16206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
16207 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16208 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16209 arg2 = obj1;
16210 arg3 = obj2;
16211 {
16212 PyThreadState* __tstate = wxPyBeginAllowThreads();
16213 (arg1)->_setCallbackInfo(arg2,arg3);
16214
16215 wxPyEndAllowThreads(__tstate);
16216 if (PyErr_Occurred()) SWIG_fail;
16217 }
16218 Py_INCREF(Py_None); resultobj = Py_None;
16219 return resultobj;
16220 fail:
16221 return NULL;
16222 }
16223
16224
16225 static PyObject *_wrap_PyWindow_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
16226 PyObject *resultobj;
16227 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16228 wxSize *arg2 = 0 ;
16229 wxSize temp2 ;
16230 PyObject * obj0 = 0 ;
16231 PyObject * obj1 = 0 ;
16232 char *kwnames[] = {
16233 (char *) "self",(char *) "size", NULL
16234 };
16235
16236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
16237 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16238 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16239 {
16240 arg2 = &temp2;
16241 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16242 }
16243 {
16244 PyThreadState* __tstate = wxPyBeginAllowThreads();
16245 (arg1)->SetBestSize((wxSize const &)*arg2);
16246
16247 wxPyEndAllowThreads(__tstate);
16248 if (PyErr_Occurred()) SWIG_fail;
16249 }
16250 Py_INCREF(Py_None); resultobj = Py_None;
16251 return resultobj;
16252 fail:
16253 return NULL;
16254 }
16255
16256
16257 static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
16258 PyObject *resultobj;
16259 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16260 int arg2 ;
16261 int arg3 ;
16262 int arg4 ;
16263 int arg5 ;
16264 PyObject * obj0 = 0 ;
16265 PyObject * obj1 = 0 ;
16266 PyObject * obj2 = 0 ;
16267 PyObject * obj3 = 0 ;
16268 PyObject * obj4 = 0 ;
16269 char *kwnames[] = {
16270 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16271 };
16272
16273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16274 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16275 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16276 arg2 = (int)SWIG_As_int(obj1);
16277 if (PyErr_Occurred()) SWIG_fail;
16278 arg3 = (int)SWIG_As_int(obj2);
16279 if (PyErr_Occurred()) SWIG_fail;
16280 arg4 = (int)SWIG_As_int(obj3);
16281 if (PyErr_Occurred()) SWIG_fail;
16282 arg5 = (int)SWIG_As_int(obj4);
16283 if (PyErr_Occurred()) SWIG_fail;
16284 {
16285 PyThreadState* __tstate = wxPyBeginAllowThreads();
16286 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
16287
16288 wxPyEndAllowThreads(__tstate);
16289 if (PyErr_Occurred()) SWIG_fail;
16290 }
16291 Py_INCREF(Py_None); resultobj = Py_None;
16292 return resultobj;
16293 fail:
16294 return NULL;
16295 }
16296
16297
16298 static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
16299 PyObject *resultobj;
16300 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16301 int arg2 ;
16302 int arg3 ;
16303 int arg4 ;
16304 int arg5 ;
16305 int arg6 = (int) wxSIZE_AUTO ;
16306 PyObject * obj0 = 0 ;
16307 PyObject * obj1 = 0 ;
16308 PyObject * obj2 = 0 ;
16309 PyObject * obj3 = 0 ;
16310 PyObject * obj4 = 0 ;
16311 PyObject * obj5 = 0 ;
16312 char *kwnames[] = {
16313 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
16314 };
16315
16316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16317 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16318 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16319 arg2 = (int)SWIG_As_int(obj1);
16320 if (PyErr_Occurred()) SWIG_fail;
16321 arg3 = (int)SWIG_As_int(obj2);
16322 if (PyErr_Occurred()) SWIG_fail;
16323 arg4 = (int)SWIG_As_int(obj3);
16324 if (PyErr_Occurred()) SWIG_fail;
16325 arg5 = (int)SWIG_As_int(obj4);
16326 if (PyErr_Occurred()) SWIG_fail;
16327 if (obj5) {
16328 arg6 = (int)SWIG_As_int(obj5);
16329 if (PyErr_Occurred()) SWIG_fail;
16330 }
16331 {
16332 PyThreadState* __tstate = wxPyBeginAllowThreads();
16333 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
16334
16335 wxPyEndAllowThreads(__tstate);
16336 if (PyErr_Occurred()) SWIG_fail;
16337 }
16338 Py_INCREF(Py_None); resultobj = Py_None;
16339 return resultobj;
16340 fail:
16341 return NULL;
16342 }
16343
16344
16345 static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
16346 PyObject *resultobj;
16347 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16348 int arg2 ;
16349 int arg3 ;
16350 PyObject * obj0 = 0 ;
16351 PyObject * obj1 = 0 ;
16352 PyObject * obj2 = 0 ;
16353 char *kwnames[] = {
16354 (char *) "self",(char *) "width",(char *) "height", NULL
16355 };
16356
16357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16358 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16359 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16360 arg2 = (int)SWIG_As_int(obj1);
16361 if (PyErr_Occurred()) SWIG_fail;
16362 arg3 = (int)SWIG_As_int(obj2);
16363 if (PyErr_Occurred()) SWIG_fail;
16364 {
16365 PyThreadState* __tstate = wxPyBeginAllowThreads();
16366 (arg1)->base_DoSetClientSize(arg2,arg3);
16367
16368 wxPyEndAllowThreads(__tstate);
16369 if (PyErr_Occurred()) SWIG_fail;
16370 }
16371 Py_INCREF(Py_None); resultobj = Py_None;
16372 return resultobj;
16373 fail:
16374 return NULL;
16375 }
16376
16377
16378 static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
16379 PyObject *resultobj;
16380 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16381 int arg2 ;
16382 int arg3 ;
16383 PyObject * obj0 = 0 ;
16384 PyObject * obj1 = 0 ;
16385 PyObject * obj2 = 0 ;
16386 char *kwnames[] = {
16387 (char *) "self",(char *) "x",(char *) "y", NULL
16388 };
16389
16390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16391 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16392 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16393 arg2 = (int)SWIG_As_int(obj1);
16394 if (PyErr_Occurred()) SWIG_fail;
16395 arg3 = (int)SWIG_As_int(obj2);
16396 if (PyErr_Occurred()) SWIG_fail;
16397 {
16398 PyThreadState* __tstate = wxPyBeginAllowThreads();
16399 (arg1)->base_DoSetVirtualSize(arg2,arg3);
16400
16401 wxPyEndAllowThreads(__tstate);
16402 if (PyErr_Occurred()) SWIG_fail;
16403 }
16404 Py_INCREF(Py_None); resultobj = Py_None;
16405 return resultobj;
16406 fail:
16407 return NULL;
16408 }
16409
16410
16411 static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
16412 PyObject *resultobj;
16413 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16414 int *arg2 = (int *) 0 ;
16415 int *arg3 = (int *) 0 ;
16416 int temp2 ;
16417 int res2 = 0 ;
16418 int temp3 ;
16419 int res3 = 0 ;
16420 PyObject * obj0 = 0 ;
16421 char *kwnames[] = {
16422 (char *) "self", NULL
16423 };
16424
16425 arg2 = &temp2; res2 = SWIG_NEWOBJ;
16426 arg3 = &temp3; res3 = SWIG_NEWOBJ;
16427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
16428 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16429 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16430 {
16431 PyThreadState* __tstate = wxPyBeginAllowThreads();
16432 ((wxPyWindow const *)arg1)->base_DoGetSize(arg2,arg3);
16433
16434 wxPyEndAllowThreads(__tstate);
16435 if (PyErr_Occurred()) SWIG_fail;
16436 }
16437 Py_INCREF(Py_None); resultobj = Py_None;
16438 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
16439 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
16440 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
16441 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
16442 return resultobj;
16443 fail:
16444 return NULL;
16445 }
16446
16447
16448 static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
16449 PyObject *resultobj;
16450 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16451 int *arg2 = (int *) 0 ;
16452 int *arg3 = (int *) 0 ;
16453 int temp2 ;
16454 int res2 = 0 ;
16455 int temp3 ;
16456 int res3 = 0 ;
16457 PyObject * obj0 = 0 ;
16458 char *kwnames[] = {
16459 (char *) "self", NULL
16460 };
16461
16462 arg2 = &temp2; res2 = SWIG_NEWOBJ;
16463 arg3 = &temp3; res3 = SWIG_NEWOBJ;
16464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
16465 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16466 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16467 {
16468 PyThreadState* __tstate = wxPyBeginAllowThreads();
16469 ((wxPyWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
16470
16471 wxPyEndAllowThreads(__tstate);
16472 if (PyErr_Occurred()) SWIG_fail;
16473 }
16474 Py_INCREF(Py_None); resultobj = Py_None;
16475 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
16476 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
16477 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
16478 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
16479 return resultobj;
16480 fail:
16481 return NULL;
16482 }
16483
16484
16485 static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
16486 PyObject *resultobj;
16487 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16488 int *arg2 = (int *) 0 ;
16489 int *arg3 = (int *) 0 ;
16490 int temp2 ;
16491 int res2 = 0 ;
16492 int temp3 ;
16493 int res3 = 0 ;
16494 PyObject * obj0 = 0 ;
16495 char *kwnames[] = {
16496 (char *) "self", NULL
16497 };
16498
16499 arg2 = &temp2; res2 = SWIG_NEWOBJ;
16500 arg3 = &temp3; res3 = SWIG_NEWOBJ;
16501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
16502 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16503 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16504 {
16505 PyThreadState* __tstate = wxPyBeginAllowThreads();
16506 ((wxPyWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
16507
16508 wxPyEndAllowThreads(__tstate);
16509 if (PyErr_Occurred()) SWIG_fail;
16510 }
16511 Py_INCREF(Py_None); resultobj = Py_None;
16512 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
16513 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
16514 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
16515 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
16516 return resultobj;
16517 fail:
16518 return NULL;
16519 }
16520
16521
16522 static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
16523 PyObject *resultobj;
16524 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16525 wxSize result;
16526 PyObject * obj0 = 0 ;
16527 char *kwnames[] = {
16528 (char *) "self", NULL
16529 };
16530
16531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
16532 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16533 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16534 {
16535 PyThreadState* __tstate = wxPyBeginAllowThreads();
16536 result = ((wxPyWindow const *)arg1)->base_DoGetVirtualSize();
16537
16538 wxPyEndAllowThreads(__tstate);
16539 if (PyErr_Occurred()) SWIG_fail;
16540 }
16541 {
16542 wxSize * resultptr;
16543 resultptr = new wxSize((wxSize &) result);
16544 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16545 }
16546 return resultobj;
16547 fail:
16548 return NULL;
16549 }
16550
16551
16552 static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
16553 PyObject *resultobj;
16554 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16555 wxSize result;
16556 PyObject * obj0 = 0 ;
16557 char *kwnames[] = {
16558 (char *) "self", NULL
16559 };
16560
16561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
16562 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16563 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16564 {
16565 PyThreadState* __tstate = wxPyBeginAllowThreads();
16566 result = ((wxPyWindow const *)arg1)->base_DoGetBestSize();
16567
16568 wxPyEndAllowThreads(__tstate);
16569 if (PyErr_Occurred()) SWIG_fail;
16570 }
16571 {
16572 wxSize * resultptr;
16573 resultptr = new wxSize((wxSize &) result);
16574 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16575 }
16576 return resultobj;
16577 fail:
16578 return NULL;
16579 }
16580
16581
16582 static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
16583 PyObject *resultobj;
16584 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16585 PyObject * obj0 = 0 ;
16586 char *kwnames[] = {
16587 (char *) "self", NULL
16588 };
16589
16590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_InitDialog",kwnames,&obj0)) goto fail;
16591 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16592 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16593 {
16594 PyThreadState* __tstate = wxPyBeginAllowThreads();
16595 (arg1)->base_InitDialog();
16596
16597 wxPyEndAllowThreads(__tstate);
16598 if (PyErr_Occurred()) SWIG_fail;
16599 }
16600 Py_INCREF(Py_None); resultobj = Py_None;
16601 return resultobj;
16602 fail:
16603 return NULL;
16604 }
16605
16606
16607 static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
16608 PyObject *resultobj;
16609 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16610 bool result;
16611 PyObject * obj0 = 0 ;
16612 char *kwnames[] = {
16613 (char *) "self", NULL
16614 };
16615
16616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
16617 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16618 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16619 {
16620 PyThreadState* __tstate = wxPyBeginAllowThreads();
16621 result = (bool)(arg1)->base_TransferDataToWindow();
16622
16623 wxPyEndAllowThreads(__tstate);
16624 if (PyErr_Occurred()) SWIG_fail;
16625 }
16626 {
16627 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16628 }
16629 return resultobj;
16630 fail:
16631 return NULL;
16632 }
16633
16634
16635 static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
16636 PyObject *resultobj;
16637 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16638 bool result;
16639 PyObject * obj0 = 0 ;
16640 char *kwnames[] = {
16641 (char *) "self", NULL
16642 };
16643
16644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
16645 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16646 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16647 {
16648 PyThreadState* __tstate = wxPyBeginAllowThreads();
16649 result = (bool)(arg1)->base_TransferDataFromWindow();
16650
16651 wxPyEndAllowThreads(__tstate);
16652 if (PyErr_Occurred()) SWIG_fail;
16653 }
16654 {
16655 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16656 }
16657 return resultobj;
16658 fail:
16659 return NULL;
16660 }
16661
16662
16663 static PyObject *_wrap_PyWindow_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
16664 PyObject *resultobj;
16665 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16666 bool result;
16667 PyObject * obj0 = 0 ;
16668 char *kwnames[] = {
16669 (char *) "self", NULL
16670 };
16671
16672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_Validate",kwnames,&obj0)) goto fail;
16673 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16674 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16675 {
16676 PyThreadState* __tstate = wxPyBeginAllowThreads();
16677 result = (bool)(arg1)->base_Validate();
16678
16679 wxPyEndAllowThreads(__tstate);
16680 if (PyErr_Occurred()) SWIG_fail;
16681 }
16682 {
16683 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16684 }
16685 return resultobj;
16686 fail:
16687 return NULL;
16688 }
16689
16690
16691 static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
16692 PyObject *resultobj;
16693 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16694 bool result;
16695 PyObject * obj0 = 0 ;
16696 char *kwnames[] = {
16697 (char *) "self", NULL
16698 };
16699
16700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
16701 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16702 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16703 {
16704 PyThreadState* __tstate = wxPyBeginAllowThreads();
16705 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocus();
16706
16707 wxPyEndAllowThreads(__tstate);
16708 if (PyErr_Occurred()) SWIG_fail;
16709 }
16710 {
16711 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16712 }
16713 return resultobj;
16714 fail:
16715 return NULL;
16716 }
16717
16718
16719 static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
16720 PyObject *resultobj;
16721 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16722 bool result;
16723 PyObject * obj0 = 0 ;
16724 char *kwnames[] = {
16725 (char *) "self", NULL
16726 };
16727
16728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
16729 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16730 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16731 {
16732 PyThreadState* __tstate = wxPyBeginAllowThreads();
16733 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
16734
16735 wxPyEndAllowThreads(__tstate);
16736 if (PyErr_Occurred()) SWIG_fail;
16737 }
16738 {
16739 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16740 }
16741 return resultobj;
16742 fail:
16743 return NULL;
16744 }
16745
16746
16747 static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
16748 PyObject *resultobj;
16749 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16750 wxSize result;
16751 PyObject * obj0 = 0 ;
16752 char *kwnames[] = {
16753 (char *) "self", NULL
16754 };
16755
16756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
16757 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16758 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16759 {
16760 PyThreadState* __tstate = wxPyBeginAllowThreads();
16761 result = ((wxPyWindow const *)arg1)->base_GetMaxSize();
16762
16763 wxPyEndAllowThreads(__tstate);
16764 if (PyErr_Occurred()) SWIG_fail;
16765 }
16766 {
16767 wxSize * resultptr;
16768 resultptr = new wxSize((wxSize &) result);
16769 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16770 }
16771 return resultobj;
16772 fail:
16773 return NULL;
16774 }
16775
16776
16777 static PyObject *_wrap_PyWindow_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
16778 PyObject *resultobj;
16779 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16780 wxWindow *arg2 = (wxWindow *) 0 ;
16781 PyObject * obj0 = 0 ;
16782 PyObject * obj1 = 0 ;
16783 char *kwnames[] = {
16784 (char *) "self",(char *) "child", NULL
16785 };
16786
16787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
16788 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16789 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16790 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16791 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16792 {
16793 PyThreadState* __tstate = wxPyBeginAllowThreads();
16794 (arg1)->base_AddChild(arg2);
16795
16796 wxPyEndAllowThreads(__tstate);
16797 if (PyErr_Occurred()) SWIG_fail;
16798 }
16799 Py_INCREF(Py_None); resultobj = Py_None;
16800 return resultobj;
16801 fail:
16802 return NULL;
16803 }
16804
16805
16806 static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
16807 PyObject *resultobj;
16808 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16809 wxWindow *arg2 = (wxWindow *) 0 ;
16810 PyObject * obj0 = 0 ;
16811 PyObject * obj1 = 0 ;
16812 char *kwnames[] = {
16813 (char *) "self",(char *) "child", NULL
16814 };
16815
16816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
16817 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16818 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16819 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16820 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16821 {
16822 PyThreadState* __tstate = wxPyBeginAllowThreads();
16823 (arg1)->base_RemoveChild(arg2);
16824
16825 wxPyEndAllowThreads(__tstate);
16826 if (PyErr_Occurred()) SWIG_fail;
16827 }
16828 Py_INCREF(Py_None); resultobj = Py_None;
16829 return resultobj;
16830 fail:
16831 return NULL;
16832 }
16833
16834
16835 static PyObject *_wrap_PyWindow_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
16836 PyObject *resultobj;
16837 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16838 bool result;
16839 PyObject * obj0 = 0 ;
16840 char *kwnames[] = {
16841 (char *) "self", NULL
16842 };
16843
16844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
16845 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16846 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16847 {
16848 PyThreadState* __tstate = wxPyBeginAllowThreads();
16849 result = (bool)((wxPyWindow const *)arg1)->base_ShouldInheritColours();
16850
16851 wxPyEndAllowThreads(__tstate);
16852 if (PyErr_Occurred()) SWIG_fail;
16853 }
16854 {
16855 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16856 }
16857 return resultobj;
16858 fail:
16859 return NULL;
16860 }
16861
16862
16863 static PyObject *_wrap_PyWindow_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) {
16864 PyObject *resultobj;
16865 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16866 wxColour *arg2 = 0 ;
16867 wxColour temp2 ;
16868 PyObject * obj0 = 0 ;
16869 PyObject * obj1 = 0 ;
16870 char *kwnames[] = {
16871 (char *) "self",(char *) "c", NULL
16872 };
16873
16874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
16875 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16876 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16877 {
16878 arg2 = &temp2;
16879 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16880 }
16881 {
16882 PyThreadState* __tstate = wxPyBeginAllowThreads();
16883 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
16884
16885 wxPyEndAllowThreads(__tstate);
16886 if (PyErr_Occurred()) SWIG_fail;
16887 }
16888 Py_INCREF(Py_None); resultobj = Py_None;
16889 return resultobj;
16890 fail:
16891 return NULL;
16892 }
16893
16894
16895 static PyObject *_wrap_PyWindow_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
16896 PyObject *resultobj;
16897 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16898 wxVisualAttributes result;
16899 PyObject * obj0 = 0 ;
16900 char *kwnames[] = {
16901 (char *) "self", NULL
16902 };
16903
16904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
16905 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16906 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16907 {
16908 PyThreadState* __tstate = wxPyBeginAllowThreads();
16909 result = (arg1)->base_GetDefaultAttributes();
16910
16911 wxPyEndAllowThreads(__tstate);
16912 if (PyErr_Occurred()) SWIG_fail;
16913 }
16914 {
16915 wxVisualAttributes * resultptr;
16916 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
16917 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
16918 }
16919 return resultobj;
16920 fail:
16921 return NULL;
16922 }
16923
16924
16925 static PyObject * PyWindow_swigregister(PyObject *, PyObject *args) {
16926 PyObject *obj;
16927 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16928 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj);
16929 Py_INCREF(obj);
16930 return Py_BuildValue((char *)"");
16931 }
16932 static PyObject *_wrap_new_PyPanel(PyObject *, PyObject *args, PyObject *kwargs) {
16933 PyObject *resultobj;
16934 wxWindow *arg1 = (wxWindow *) 0 ;
16935 int arg2 = (int) (int)-1 ;
16936 wxPoint const &arg3_defvalue = wxDefaultPosition ;
16937 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
16938 wxSize const &arg4_defvalue = wxDefaultSize ;
16939 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
16940 long arg5 = (long) 0 ;
16941 wxString const &arg6_defvalue = wxPyPanelNameStr ;
16942 wxString *arg6 = (wxString *) &arg6_defvalue ;
16943 wxPyPanel *result;
16944 wxPoint temp3 ;
16945 wxSize temp4 ;
16946 bool temp6 = false ;
16947 PyObject * obj0 = 0 ;
16948 PyObject * obj1 = 0 ;
16949 PyObject * obj2 = 0 ;
16950 PyObject * obj3 = 0 ;
16951 PyObject * obj4 = 0 ;
16952 PyObject * obj5 = 0 ;
16953 char *kwnames[] = {
16954 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16955 };
16956
16957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16958 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
16959 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16960 if (obj1) {
16961 arg2 = (int)SWIG_As_int(obj1);
16962 if (PyErr_Occurred()) SWIG_fail;
16963 }
16964 if (obj2) {
16965 {
16966 arg3 = &temp3;
16967 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
16968 }
16969 }
16970 if (obj3) {
16971 {
16972 arg4 = &temp4;
16973 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
16974 }
16975 }
16976 if (obj4) {
16977 arg5 = (long)SWIG_As_long(obj4);
16978 if (PyErr_Occurred()) SWIG_fail;
16979 }
16980 if (obj5) {
16981 {
16982 arg6 = wxString_in_helper(obj5);
16983 if (arg6 == NULL) SWIG_fail;
16984 temp6 = true;
16985 }
16986 }
16987 {
16988 if (!wxPyCheckForApp()) SWIG_fail;
16989 PyThreadState* __tstate = wxPyBeginAllowThreads();
16990 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
16991
16992 wxPyEndAllowThreads(__tstate);
16993 if (PyErr_Occurred()) SWIG_fail;
16994 }
16995 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
16996 {
16997 if (temp6)
16998 delete arg6;
16999 }
17000 return resultobj;
17001 fail:
17002 {
17003 if (temp6)
17004 delete arg6;
17005 }
17006 return NULL;
17007 }
17008
17009
17010 static PyObject *_wrap_new_PrePyPanel(PyObject *, PyObject *args, PyObject *kwargs) {
17011 PyObject *resultobj;
17012 wxPyPanel *result;
17013 char *kwnames[] = {
17014 NULL
17015 };
17016
17017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyPanel",kwnames)) goto fail;
17018 {
17019 if (!wxPyCheckForApp()) SWIG_fail;
17020 PyThreadState* __tstate = wxPyBeginAllowThreads();
17021 result = (wxPyPanel *)new wxPyPanel();
17022
17023 wxPyEndAllowThreads(__tstate);
17024 if (PyErr_Occurred()) SWIG_fail;
17025 }
17026 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
17027 return resultobj;
17028 fail:
17029 return NULL;
17030 }
17031
17032
17033 static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
17034 PyObject *resultobj;
17035 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17036 PyObject *arg2 = (PyObject *) 0 ;
17037 PyObject *arg3 = (PyObject *) 0 ;
17038 PyObject * obj0 = 0 ;
17039 PyObject * obj1 = 0 ;
17040 PyObject * obj2 = 0 ;
17041 char *kwnames[] = {
17042 (char *) "self",(char *) "self",(char *) "_class", NULL
17043 };
17044
17045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
17046 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17047 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17048 arg2 = obj1;
17049 arg3 = obj2;
17050 {
17051 PyThreadState* __tstate = wxPyBeginAllowThreads();
17052 (arg1)->_setCallbackInfo(arg2,arg3);
17053
17054 wxPyEndAllowThreads(__tstate);
17055 if (PyErr_Occurred()) SWIG_fail;
17056 }
17057 Py_INCREF(Py_None); resultobj = Py_None;
17058 return resultobj;
17059 fail:
17060 return NULL;
17061 }
17062
17063
17064 static PyObject *_wrap_PyPanel_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
17065 PyObject *resultobj;
17066 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17067 wxSize *arg2 = 0 ;
17068 wxSize temp2 ;
17069 PyObject * obj0 = 0 ;
17070 PyObject * obj1 = 0 ;
17071 char *kwnames[] = {
17072 (char *) "self",(char *) "size", NULL
17073 };
17074
17075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
17076 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17077 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17078 {
17079 arg2 = &temp2;
17080 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17081 }
17082 {
17083 PyThreadState* __tstate = wxPyBeginAllowThreads();
17084 (arg1)->SetBestSize((wxSize const &)*arg2);
17085
17086 wxPyEndAllowThreads(__tstate);
17087 if (PyErr_Occurred()) SWIG_fail;
17088 }
17089 Py_INCREF(Py_None); resultobj = Py_None;
17090 return resultobj;
17091 fail:
17092 return NULL;
17093 }
17094
17095
17096 static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17097 PyObject *resultobj;
17098 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17099 int arg2 ;
17100 int arg3 ;
17101 int arg4 ;
17102 int arg5 ;
17103 PyObject * obj0 = 0 ;
17104 PyObject * obj1 = 0 ;
17105 PyObject * obj2 = 0 ;
17106 PyObject * obj3 = 0 ;
17107 PyObject * obj4 = 0 ;
17108 char *kwnames[] = {
17109 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
17110 };
17111
17112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
17113 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17114 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17115 arg2 = (int)SWIG_As_int(obj1);
17116 if (PyErr_Occurred()) SWIG_fail;
17117 arg3 = (int)SWIG_As_int(obj2);
17118 if (PyErr_Occurred()) SWIG_fail;
17119 arg4 = (int)SWIG_As_int(obj3);
17120 if (PyErr_Occurred()) SWIG_fail;
17121 arg5 = (int)SWIG_As_int(obj4);
17122 if (PyErr_Occurred()) SWIG_fail;
17123 {
17124 PyThreadState* __tstate = wxPyBeginAllowThreads();
17125 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
17126
17127 wxPyEndAllowThreads(__tstate);
17128 if (PyErr_Occurred()) SWIG_fail;
17129 }
17130 Py_INCREF(Py_None); resultobj = Py_None;
17131 return resultobj;
17132 fail:
17133 return NULL;
17134 }
17135
17136
17137 static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
17138 PyObject *resultobj;
17139 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17140 int arg2 ;
17141 int arg3 ;
17142 int arg4 ;
17143 int arg5 ;
17144 int arg6 = (int) wxSIZE_AUTO ;
17145 PyObject * obj0 = 0 ;
17146 PyObject * obj1 = 0 ;
17147 PyObject * obj2 = 0 ;
17148 PyObject * obj3 = 0 ;
17149 PyObject * obj4 = 0 ;
17150 PyObject * obj5 = 0 ;
17151 char *kwnames[] = {
17152 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
17153 };
17154
17155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17156 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17157 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17158 arg2 = (int)SWIG_As_int(obj1);
17159 if (PyErr_Occurred()) SWIG_fail;
17160 arg3 = (int)SWIG_As_int(obj2);
17161 if (PyErr_Occurred()) SWIG_fail;
17162 arg4 = (int)SWIG_As_int(obj3);
17163 if (PyErr_Occurred()) SWIG_fail;
17164 arg5 = (int)SWIG_As_int(obj4);
17165 if (PyErr_Occurred()) SWIG_fail;
17166 if (obj5) {
17167 arg6 = (int)SWIG_As_int(obj5);
17168 if (PyErr_Occurred()) SWIG_fail;
17169 }
17170 {
17171 PyThreadState* __tstate = wxPyBeginAllowThreads();
17172 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
17173
17174 wxPyEndAllowThreads(__tstate);
17175 if (PyErr_Occurred()) SWIG_fail;
17176 }
17177 Py_INCREF(Py_None); resultobj = Py_None;
17178 return resultobj;
17179 fail:
17180 return NULL;
17181 }
17182
17183
17184 static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
17185 PyObject *resultobj;
17186 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17187 int arg2 ;
17188 int arg3 ;
17189 PyObject * obj0 = 0 ;
17190 PyObject * obj1 = 0 ;
17191 PyObject * obj2 = 0 ;
17192 char *kwnames[] = {
17193 (char *) "self",(char *) "width",(char *) "height", NULL
17194 };
17195
17196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
17197 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17198 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17199 arg2 = (int)SWIG_As_int(obj1);
17200 if (PyErr_Occurred()) SWIG_fail;
17201 arg3 = (int)SWIG_As_int(obj2);
17202 if (PyErr_Occurred()) SWIG_fail;
17203 {
17204 PyThreadState* __tstate = wxPyBeginAllowThreads();
17205 (arg1)->base_DoSetClientSize(arg2,arg3);
17206
17207 wxPyEndAllowThreads(__tstate);
17208 if (PyErr_Occurred()) SWIG_fail;
17209 }
17210 Py_INCREF(Py_None); resultobj = Py_None;
17211 return resultobj;
17212 fail:
17213 return NULL;
17214 }
17215
17216
17217 static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
17218 PyObject *resultobj;
17219 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17220 int arg2 ;
17221 int arg3 ;
17222 PyObject * obj0 = 0 ;
17223 PyObject * obj1 = 0 ;
17224 PyObject * obj2 = 0 ;
17225 char *kwnames[] = {
17226 (char *) "self",(char *) "x",(char *) "y", NULL
17227 };
17228
17229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
17230 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17231 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17232 arg2 = (int)SWIG_As_int(obj1);
17233 if (PyErr_Occurred()) SWIG_fail;
17234 arg3 = (int)SWIG_As_int(obj2);
17235 if (PyErr_Occurred()) SWIG_fail;
17236 {
17237 PyThreadState* __tstate = wxPyBeginAllowThreads();
17238 (arg1)->base_DoSetVirtualSize(arg2,arg3);
17239
17240 wxPyEndAllowThreads(__tstate);
17241 if (PyErr_Occurred()) SWIG_fail;
17242 }
17243 Py_INCREF(Py_None); resultobj = Py_None;
17244 return resultobj;
17245 fail:
17246 return NULL;
17247 }
17248
17249
17250 static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
17251 PyObject *resultobj;
17252 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17253 int *arg2 = (int *) 0 ;
17254 int *arg3 = (int *) 0 ;
17255 int temp2 ;
17256 int res2 = 0 ;
17257 int temp3 ;
17258 int res3 = 0 ;
17259 PyObject * obj0 = 0 ;
17260 char *kwnames[] = {
17261 (char *) "self", NULL
17262 };
17263
17264 arg2 = &temp2; res2 = SWIG_NEWOBJ;
17265 arg3 = &temp3; res3 = SWIG_NEWOBJ;
17266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetSize",kwnames,&obj0)) goto fail;
17267 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17268 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17269 {
17270 PyThreadState* __tstate = wxPyBeginAllowThreads();
17271 ((wxPyPanel const *)arg1)->base_DoGetSize(arg2,arg3);
17272
17273 wxPyEndAllowThreads(__tstate);
17274 if (PyErr_Occurred()) SWIG_fail;
17275 }
17276 Py_INCREF(Py_None); resultobj = Py_None;
17277 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
17278 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
17279 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
17280 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
17281 return resultobj;
17282 fail:
17283 return NULL;
17284 }
17285
17286
17287 static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
17288 PyObject *resultobj;
17289 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17290 int *arg2 = (int *) 0 ;
17291 int *arg3 = (int *) 0 ;
17292 int temp2 ;
17293 int res2 = 0 ;
17294 int temp3 ;
17295 int res3 = 0 ;
17296 PyObject * obj0 = 0 ;
17297 char *kwnames[] = {
17298 (char *) "self", NULL
17299 };
17300
17301 arg2 = &temp2; res2 = SWIG_NEWOBJ;
17302 arg3 = &temp3; res3 = SWIG_NEWOBJ;
17303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetClientSize",kwnames,&obj0)) goto fail;
17304 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17305 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17306 {
17307 PyThreadState* __tstate = wxPyBeginAllowThreads();
17308 ((wxPyPanel const *)arg1)->base_DoGetClientSize(arg2,arg3);
17309
17310 wxPyEndAllowThreads(__tstate);
17311 if (PyErr_Occurred()) SWIG_fail;
17312 }
17313 Py_INCREF(Py_None); resultobj = Py_None;
17314 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
17315 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
17316 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
17317 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
17318 return resultobj;
17319 fail:
17320 return NULL;
17321 }
17322
17323
17324 static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
17325 PyObject *resultobj;
17326 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17327 int *arg2 = (int *) 0 ;
17328 int *arg3 = (int *) 0 ;
17329 int temp2 ;
17330 int res2 = 0 ;
17331 int temp3 ;
17332 int res3 = 0 ;
17333 PyObject * obj0 = 0 ;
17334 char *kwnames[] = {
17335 (char *) "self", NULL
17336 };
17337
17338 arg2 = &temp2; res2 = SWIG_NEWOBJ;
17339 arg3 = &temp3; res3 = SWIG_NEWOBJ;
17340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetPosition",kwnames,&obj0)) goto fail;
17341 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17342 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17343 {
17344 PyThreadState* __tstate = wxPyBeginAllowThreads();
17345 ((wxPyPanel const *)arg1)->base_DoGetPosition(arg2,arg3);
17346
17347 wxPyEndAllowThreads(__tstate);
17348 if (PyErr_Occurred()) SWIG_fail;
17349 }
17350 Py_INCREF(Py_None); resultobj = Py_None;
17351 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
17352 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
17353 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
17354 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
17355 return resultobj;
17356 fail:
17357 return NULL;
17358 }
17359
17360
17361 static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
17362 PyObject *resultobj;
17363 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17364 wxSize result;
17365 PyObject * obj0 = 0 ;
17366 char *kwnames[] = {
17367 (char *) "self", NULL
17368 };
17369
17370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
17371 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17372 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17373 {
17374 PyThreadState* __tstate = wxPyBeginAllowThreads();
17375 result = ((wxPyPanel const *)arg1)->base_DoGetVirtualSize();
17376
17377 wxPyEndAllowThreads(__tstate);
17378 if (PyErr_Occurred()) SWIG_fail;
17379 }
17380 {
17381 wxSize * resultptr;
17382 resultptr = new wxSize((wxSize &) result);
17383 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17384 }
17385 return resultobj;
17386 fail:
17387 return NULL;
17388 }
17389
17390
17391 static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
17392 PyObject *resultobj;
17393 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17394 wxSize result;
17395 PyObject * obj0 = 0 ;
17396 char *kwnames[] = {
17397 (char *) "self", NULL
17398 };
17399
17400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetBestSize",kwnames,&obj0)) goto fail;
17401 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17402 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17403 {
17404 PyThreadState* __tstate = wxPyBeginAllowThreads();
17405 result = ((wxPyPanel const *)arg1)->base_DoGetBestSize();
17406
17407 wxPyEndAllowThreads(__tstate);
17408 if (PyErr_Occurred()) SWIG_fail;
17409 }
17410 {
17411 wxSize * resultptr;
17412 resultptr = new wxSize((wxSize &) result);
17413 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17414 }
17415 return resultobj;
17416 fail:
17417 return NULL;
17418 }
17419
17420
17421 static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
17422 PyObject *resultobj;
17423 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17424 PyObject * obj0 = 0 ;
17425 char *kwnames[] = {
17426 (char *) "self", NULL
17427 };
17428
17429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_InitDialog",kwnames,&obj0)) goto fail;
17430 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17431 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17432 {
17433 PyThreadState* __tstate = wxPyBeginAllowThreads();
17434 (arg1)->base_InitDialog();
17435
17436 wxPyEndAllowThreads(__tstate);
17437 if (PyErr_Occurred()) SWIG_fail;
17438 }
17439 Py_INCREF(Py_None); resultobj = Py_None;
17440 return resultobj;
17441 fail:
17442 return NULL;
17443 }
17444
17445
17446 static PyObject *_wrap_PyPanel_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17447 PyObject *resultobj;
17448 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17449 bool result;
17450 PyObject * obj0 = 0 ;
17451 char *kwnames[] = {
17452 (char *) "self", NULL
17453 };
17454
17455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
17456 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17457 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17458 {
17459 PyThreadState* __tstate = wxPyBeginAllowThreads();
17460 result = (bool)(arg1)->base_TransferDataToWindow();
17461
17462 wxPyEndAllowThreads(__tstate);
17463 if (PyErr_Occurred()) SWIG_fail;
17464 }
17465 {
17466 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17467 }
17468 return resultobj;
17469 fail:
17470 return NULL;
17471 }
17472
17473
17474 static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17475 PyObject *resultobj;
17476 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17477 bool result;
17478 PyObject * obj0 = 0 ;
17479 char *kwnames[] = {
17480 (char *) "self", NULL
17481 };
17482
17483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
17484 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17485 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17486 {
17487 PyThreadState* __tstate = wxPyBeginAllowThreads();
17488 result = (bool)(arg1)->base_TransferDataFromWindow();
17489
17490 wxPyEndAllowThreads(__tstate);
17491 if (PyErr_Occurred()) SWIG_fail;
17492 }
17493 {
17494 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17495 }
17496 return resultobj;
17497 fail:
17498 return NULL;
17499 }
17500
17501
17502 static PyObject *_wrap_PyPanel_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
17503 PyObject *resultobj;
17504 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17505 bool result;
17506 PyObject * obj0 = 0 ;
17507 char *kwnames[] = {
17508 (char *) "self", NULL
17509 };
17510
17511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_Validate",kwnames,&obj0)) goto fail;
17512 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17513 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17514 {
17515 PyThreadState* __tstate = wxPyBeginAllowThreads();
17516 result = (bool)(arg1)->base_Validate();
17517
17518 wxPyEndAllowThreads(__tstate);
17519 if (PyErr_Occurred()) SWIG_fail;
17520 }
17521 {
17522 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17523 }
17524 return resultobj;
17525 fail:
17526 return NULL;
17527 }
17528
17529
17530 static PyObject *_wrap_PyPanel_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
17531 PyObject *resultobj;
17532 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17533 bool result;
17534 PyObject * obj0 = 0 ;
17535 char *kwnames[] = {
17536 (char *) "self", NULL
17537 };
17538
17539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocus",kwnames,&obj0)) goto fail;
17540 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17541 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17542 {
17543 PyThreadState* __tstate = wxPyBeginAllowThreads();
17544 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocus();
17545
17546 wxPyEndAllowThreads(__tstate);
17547 if (PyErr_Occurred()) SWIG_fail;
17548 }
17549 {
17550 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17551 }
17552 return resultobj;
17553 fail:
17554 return NULL;
17555 }
17556
17557
17558 static PyObject *_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
17559 PyObject *resultobj;
17560 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17561 bool result;
17562 PyObject * obj0 = 0 ;
17563 char *kwnames[] = {
17564 (char *) "self", NULL
17565 };
17566
17567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
17568 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17569 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17570 {
17571 PyThreadState* __tstate = wxPyBeginAllowThreads();
17572 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocusFromKeyboard();
17573
17574 wxPyEndAllowThreads(__tstate);
17575 if (PyErr_Occurred()) SWIG_fail;
17576 }
17577 {
17578 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17579 }
17580 return resultobj;
17581 fail:
17582 return NULL;
17583 }
17584
17585
17586 static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
17587 PyObject *resultobj;
17588 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17589 wxSize result;
17590 PyObject * obj0 = 0 ;
17591 char *kwnames[] = {
17592 (char *) "self", NULL
17593 };
17594
17595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetMaxSize",kwnames,&obj0)) goto fail;
17596 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17597 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17598 {
17599 PyThreadState* __tstate = wxPyBeginAllowThreads();
17600 result = ((wxPyPanel const *)arg1)->base_GetMaxSize();
17601
17602 wxPyEndAllowThreads(__tstate);
17603 if (PyErr_Occurred()) SWIG_fail;
17604 }
17605 {
17606 wxSize * resultptr;
17607 resultptr = new wxSize((wxSize &) result);
17608 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17609 }
17610 return resultobj;
17611 fail:
17612 return NULL;
17613 }
17614
17615
17616 static PyObject *_wrap_PyPanel_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
17617 PyObject *resultobj;
17618 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17619 wxWindow *arg2 = (wxWindow *) 0 ;
17620 PyObject * obj0 = 0 ;
17621 PyObject * obj1 = 0 ;
17622 char *kwnames[] = {
17623 (char *) "self",(char *) "child", NULL
17624 };
17625
17626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
17627 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17628 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17629 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17630 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17631 {
17632 PyThreadState* __tstate = wxPyBeginAllowThreads();
17633 (arg1)->base_AddChild(arg2);
17634
17635 wxPyEndAllowThreads(__tstate);
17636 if (PyErr_Occurred()) SWIG_fail;
17637 }
17638 Py_INCREF(Py_None); resultobj = Py_None;
17639 return resultobj;
17640 fail:
17641 return NULL;
17642 }
17643
17644
17645 static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
17646 PyObject *resultobj;
17647 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17648 wxWindow *arg2 = (wxWindow *) 0 ;
17649 PyObject * obj0 = 0 ;
17650 PyObject * obj1 = 0 ;
17651 char *kwnames[] = {
17652 (char *) "self",(char *) "child", NULL
17653 };
17654
17655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
17656 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17657 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17658 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17659 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17660 {
17661 PyThreadState* __tstate = wxPyBeginAllowThreads();
17662 (arg1)->base_RemoveChild(arg2);
17663
17664 wxPyEndAllowThreads(__tstate);
17665 if (PyErr_Occurred()) SWIG_fail;
17666 }
17667 Py_INCREF(Py_None); resultobj = Py_None;
17668 return resultobj;
17669 fail:
17670 return NULL;
17671 }
17672
17673
17674 static PyObject *_wrap_PyPanel_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
17675 PyObject *resultobj;
17676 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17677 bool result;
17678 PyObject * obj0 = 0 ;
17679 char *kwnames[] = {
17680 (char *) "self", NULL
17681 };
17682
17683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
17684 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17685 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17686 {
17687 PyThreadState* __tstate = wxPyBeginAllowThreads();
17688 result = (bool)((wxPyPanel const *)arg1)->base_ShouldInheritColours();
17689
17690 wxPyEndAllowThreads(__tstate);
17691 if (PyErr_Occurred()) SWIG_fail;
17692 }
17693 {
17694 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17695 }
17696 return resultobj;
17697 fail:
17698 return NULL;
17699 }
17700
17701
17702 static PyObject *_wrap_PyPanel_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) {
17703 PyObject *resultobj;
17704 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17705 wxColour *arg2 = 0 ;
17706 wxColour temp2 ;
17707 PyObject * obj0 = 0 ;
17708 PyObject * obj1 = 0 ;
17709 char *kwnames[] = {
17710 (char *) "self",(char *) "c", NULL
17711 };
17712
17713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
17714 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17715 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17716 {
17717 arg2 = &temp2;
17718 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17719 }
17720 {
17721 PyThreadState* __tstate = wxPyBeginAllowThreads();
17722 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
17723
17724 wxPyEndAllowThreads(__tstate);
17725 if (PyErr_Occurred()) SWIG_fail;
17726 }
17727 Py_INCREF(Py_None); resultobj = Py_None;
17728 return resultobj;
17729 fail:
17730 return NULL;
17731 }
17732
17733
17734 static PyObject *_wrap_PyPanel_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
17735 PyObject *resultobj;
17736 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17737 wxVisualAttributes result;
17738 PyObject * obj0 = 0 ;
17739 char *kwnames[] = {
17740 (char *) "self", NULL
17741 };
17742
17743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
17744 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17745 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17746 {
17747 PyThreadState* __tstate = wxPyBeginAllowThreads();
17748 result = (arg1)->base_GetDefaultAttributes();
17749
17750 wxPyEndAllowThreads(__tstate);
17751 if (PyErr_Occurred()) SWIG_fail;
17752 }
17753 {
17754 wxVisualAttributes * resultptr;
17755 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
17756 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
17757 }
17758 return resultobj;
17759 fail:
17760 return NULL;
17761 }
17762
17763
17764 static PyObject * PyPanel_swigregister(PyObject *, PyObject *args) {
17765 PyObject *obj;
17766 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17767 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj);
17768 Py_INCREF(obj);
17769 return Py_BuildValue((char *)"");
17770 }
17771 static PyObject *_wrap_new_PyScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17772 PyObject *resultobj;
17773 wxWindow *arg1 = (wxWindow *) 0 ;
17774 int arg2 = (int) (int)-1 ;
17775 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17776 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17777 wxSize const &arg4_defvalue = wxDefaultSize ;
17778 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17779 long arg5 = (long) 0 ;
17780 wxString const &arg6_defvalue = wxPyPanelNameStr ;
17781 wxString *arg6 = (wxString *) &arg6_defvalue ;
17782 wxPyScrolledWindow *result;
17783 wxPoint temp3 ;
17784 wxSize temp4 ;
17785 bool temp6 = false ;
17786 PyObject * obj0 = 0 ;
17787 PyObject * obj1 = 0 ;
17788 PyObject * obj2 = 0 ;
17789 PyObject * obj3 = 0 ;
17790 PyObject * obj4 = 0 ;
17791 PyObject * obj5 = 0 ;
17792 char *kwnames[] = {
17793 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17794 };
17795
17796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17797 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
17798 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17799 if (obj1) {
17800 arg2 = (int)SWIG_As_int(obj1);
17801 if (PyErr_Occurred()) SWIG_fail;
17802 }
17803 if (obj2) {
17804 {
17805 arg3 = &temp3;
17806 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17807 }
17808 }
17809 if (obj3) {
17810 {
17811 arg4 = &temp4;
17812 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17813 }
17814 }
17815 if (obj4) {
17816 arg5 = (long)SWIG_As_long(obj4);
17817 if (PyErr_Occurred()) SWIG_fail;
17818 }
17819 if (obj5) {
17820 {
17821 arg6 = wxString_in_helper(obj5);
17822 if (arg6 == NULL) SWIG_fail;
17823 temp6 = true;
17824 }
17825 }
17826 {
17827 if (!wxPyCheckForApp()) SWIG_fail;
17828 PyThreadState* __tstate = wxPyBeginAllowThreads();
17829 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17830
17831 wxPyEndAllowThreads(__tstate);
17832 if (PyErr_Occurred()) SWIG_fail;
17833 }
17834 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
17835 {
17836 if (temp6)
17837 delete arg6;
17838 }
17839 return resultobj;
17840 fail:
17841 {
17842 if (temp6)
17843 delete arg6;
17844 }
17845 return NULL;
17846 }
17847
17848
17849 static PyObject *_wrap_new_PrePyScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17850 PyObject *resultobj;
17851 wxPyScrolledWindow *result;
17852 char *kwnames[] = {
17853 NULL
17854 };
17855
17856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyScrolledWindow",kwnames)) goto fail;
17857 {
17858 if (!wxPyCheckForApp()) SWIG_fail;
17859 PyThreadState* __tstate = wxPyBeginAllowThreads();
17860 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
17861
17862 wxPyEndAllowThreads(__tstate);
17863 if (PyErr_Occurred()) SWIG_fail;
17864 }
17865 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
17866 return resultobj;
17867 fail:
17868 return NULL;
17869 }
17870
17871
17872 static PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
17873 PyObject *resultobj;
17874 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17875 PyObject *arg2 = (PyObject *) 0 ;
17876 PyObject *arg3 = (PyObject *) 0 ;
17877 PyObject * obj0 = 0 ;
17878 PyObject * obj1 = 0 ;
17879 PyObject * obj2 = 0 ;
17880 char *kwnames[] = {
17881 (char *) "self",(char *) "self",(char *) "_class", NULL
17882 };
17883
17884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
17885 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17886 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17887 arg2 = obj1;
17888 arg3 = obj2;
17889 {
17890 PyThreadState* __tstate = wxPyBeginAllowThreads();
17891 (arg1)->_setCallbackInfo(arg2,arg3);
17892
17893 wxPyEndAllowThreads(__tstate);
17894 if (PyErr_Occurred()) SWIG_fail;
17895 }
17896 Py_INCREF(Py_None); resultobj = Py_None;
17897 return resultobj;
17898 fail:
17899 return NULL;
17900 }
17901
17902
17903 static PyObject *_wrap_PyScrolledWindow_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
17904 PyObject *resultobj;
17905 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17906 wxSize *arg2 = 0 ;
17907 wxSize temp2 ;
17908 PyObject * obj0 = 0 ;
17909 PyObject * obj1 = 0 ;
17910 char *kwnames[] = {
17911 (char *) "self",(char *) "size", NULL
17912 };
17913
17914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
17915 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17916 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17917 {
17918 arg2 = &temp2;
17919 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17920 }
17921 {
17922 PyThreadState* __tstate = wxPyBeginAllowThreads();
17923 (arg1)->SetBestSize((wxSize const &)*arg2);
17924
17925 wxPyEndAllowThreads(__tstate);
17926 if (PyErr_Occurred()) SWIG_fail;
17927 }
17928 Py_INCREF(Py_None); resultobj = Py_None;
17929 return resultobj;
17930 fail:
17931 return NULL;
17932 }
17933
17934
17935 static PyObject *_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17936 PyObject *resultobj;
17937 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17938 int arg2 ;
17939 int arg3 ;
17940 int arg4 ;
17941 int arg5 ;
17942 PyObject * obj0 = 0 ;
17943 PyObject * obj1 = 0 ;
17944 PyObject * obj2 = 0 ;
17945 PyObject * obj3 = 0 ;
17946 PyObject * obj4 = 0 ;
17947 char *kwnames[] = {
17948 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
17949 };
17950
17951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
17952 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17953 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17954 arg2 = (int)SWIG_As_int(obj1);
17955 if (PyErr_Occurred()) SWIG_fail;
17956 arg3 = (int)SWIG_As_int(obj2);
17957 if (PyErr_Occurred()) SWIG_fail;
17958 arg4 = (int)SWIG_As_int(obj3);
17959 if (PyErr_Occurred()) SWIG_fail;
17960 arg5 = (int)SWIG_As_int(obj4);
17961 if (PyErr_Occurred()) SWIG_fail;
17962 {
17963 PyThreadState* __tstate = wxPyBeginAllowThreads();
17964 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
17965
17966 wxPyEndAllowThreads(__tstate);
17967 if (PyErr_Occurred()) SWIG_fail;
17968 }
17969 Py_INCREF(Py_None); resultobj = Py_None;
17970 return resultobj;
17971 fail:
17972 return NULL;
17973 }
17974
17975
17976 static PyObject *_wrap_PyScrolledWindow_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
17977 PyObject *resultobj;
17978 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17979 int arg2 ;
17980 int arg3 ;
17981 int arg4 ;
17982 int arg5 ;
17983 int arg6 = (int) wxSIZE_AUTO ;
17984 PyObject * obj0 = 0 ;
17985 PyObject * obj1 = 0 ;
17986 PyObject * obj2 = 0 ;
17987 PyObject * obj3 = 0 ;
17988 PyObject * obj4 = 0 ;
17989 PyObject * obj5 = 0 ;
17990 char *kwnames[] = {
17991 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
17992 };
17993
17994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17995 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17996 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17997 arg2 = (int)SWIG_As_int(obj1);
17998 if (PyErr_Occurred()) SWIG_fail;
17999 arg3 = (int)SWIG_As_int(obj2);
18000 if (PyErr_Occurred()) SWIG_fail;
18001 arg4 = (int)SWIG_As_int(obj3);
18002 if (PyErr_Occurred()) SWIG_fail;
18003 arg5 = (int)SWIG_As_int(obj4);
18004 if (PyErr_Occurred()) SWIG_fail;
18005 if (obj5) {
18006 arg6 = (int)SWIG_As_int(obj5);
18007 if (PyErr_Occurred()) SWIG_fail;
18008 }
18009 {
18010 PyThreadState* __tstate = wxPyBeginAllowThreads();
18011 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
18012
18013 wxPyEndAllowThreads(__tstate);
18014 if (PyErr_Occurred()) SWIG_fail;
18015 }
18016 Py_INCREF(Py_None); resultobj = Py_None;
18017 return resultobj;
18018 fail:
18019 return NULL;
18020 }
18021
18022
18023 static PyObject *_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
18024 PyObject *resultobj;
18025 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18026 int arg2 ;
18027 int arg3 ;
18028 PyObject * obj0 = 0 ;
18029 PyObject * obj1 = 0 ;
18030 PyObject * obj2 = 0 ;
18031 char *kwnames[] = {
18032 (char *) "self",(char *) "width",(char *) "height", NULL
18033 };
18034
18035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
18036 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18037 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18038 arg2 = (int)SWIG_As_int(obj1);
18039 if (PyErr_Occurred()) SWIG_fail;
18040 arg3 = (int)SWIG_As_int(obj2);
18041 if (PyErr_Occurred()) SWIG_fail;
18042 {
18043 PyThreadState* __tstate = wxPyBeginAllowThreads();
18044 (arg1)->base_DoSetClientSize(arg2,arg3);
18045
18046 wxPyEndAllowThreads(__tstate);
18047 if (PyErr_Occurred()) SWIG_fail;
18048 }
18049 Py_INCREF(Py_None); resultobj = Py_None;
18050 return resultobj;
18051 fail:
18052 return NULL;
18053 }
18054
18055
18056 static PyObject *_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
18057 PyObject *resultobj;
18058 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18059 int arg2 ;
18060 int arg3 ;
18061 PyObject * obj0 = 0 ;
18062 PyObject * obj1 = 0 ;
18063 PyObject * obj2 = 0 ;
18064 char *kwnames[] = {
18065 (char *) "self",(char *) "x",(char *) "y", NULL
18066 };
18067
18068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
18069 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18070 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18071 arg2 = (int)SWIG_As_int(obj1);
18072 if (PyErr_Occurred()) SWIG_fail;
18073 arg3 = (int)SWIG_As_int(obj2);
18074 if (PyErr_Occurred()) SWIG_fail;
18075 {
18076 PyThreadState* __tstate = wxPyBeginAllowThreads();
18077 (arg1)->base_DoSetVirtualSize(arg2,arg3);
18078
18079 wxPyEndAllowThreads(__tstate);
18080 if (PyErr_Occurred()) SWIG_fail;
18081 }
18082 Py_INCREF(Py_None); resultobj = Py_None;
18083 return resultobj;
18084 fail:
18085 return NULL;
18086 }
18087
18088
18089 static PyObject *_wrap_PyScrolledWindow_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
18090 PyObject *resultobj;
18091 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18092 int *arg2 = (int *) 0 ;
18093 int *arg3 = (int *) 0 ;
18094 int temp2 ;
18095 int res2 = 0 ;
18096 int temp3 ;
18097 int res3 = 0 ;
18098 PyObject * obj0 = 0 ;
18099 char *kwnames[] = {
18100 (char *) "self", NULL
18101 };
18102
18103 arg2 = &temp2; res2 = SWIG_NEWOBJ;
18104 arg3 = &temp3; res3 = SWIG_NEWOBJ;
18105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
18106 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18108 {
18109 PyThreadState* __tstate = wxPyBeginAllowThreads();
18110 ((wxPyScrolledWindow const *)arg1)->base_DoGetSize(arg2,arg3);
18111
18112 wxPyEndAllowThreads(__tstate);
18113 if (PyErr_Occurred()) SWIG_fail;
18114 }
18115 Py_INCREF(Py_None); resultobj = Py_None;
18116 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
18117 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
18118 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
18119 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
18120 return resultobj;
18121 fail:
18122 return NULL;
18123 }
18124
18125
18126 static PyObject *_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
18127 PyObject *resultobj;
18128 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18129 int *arg2 = (int *) 0 ;
18130 int *arg3 = (int *) 0 ;
18131 int temp2 ;
18132 int res2 = 0 ;
18133 int temp3 ;
18134 int res3 = 0 ;
18135 PyObject * obj0 = 0 ;
18136 char *kwnames[] = {
18137 (char *) "self", NULL
18138 };
18139
18140 arg2 = &temp2; res2 = SWIG_NEWOBJ;
18141 arg3 = &temp3; res3 = SWIG_NEWOBJ;
18142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
18143 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18144 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18145 {
18146 PyThreadState* __tstate = wxPyBeginAllowThreads();
18147 ((wxPyScrolledWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
18148
18149 wxPyEndAllowThreads(__tstate);
18150 if (PyErr_Occurred()) SWIG_fail;
18151 }
18152 Py_INCREF(Py_None); resultobj = Py_None;
18153 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
18154 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
18155 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
18156 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
18157 return resultobj;
18158 fail:
18159 return NULL;
18160 }
18161
18162
18163 static PyObject *_wrap_PyScrolledWindow_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
18164 PyObject *resultobj;
18165 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18166 int *arg2 = (int *) 0 ;
18167 int *arg3 = (int *) 0 ;
18168 int temp2 ;
18169 int res2 = 0 ;
18170 int temp3 ;
18171 int res3 = 0 ;
18172 PyObject * obj0 = 0 ;
18173 char *kwnames[] = {
18174 (char *) "self", NULL
18175 };
18176
18177 arg2 = &temp2; res2 = SWIG_NEWOBJ;
18178 arg3 = &temp3; res3 = SWIG_NEWOBJ;
18179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
18180 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18181 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18182 {
18183 PyThreadState* __tstate = wxPyBeginAllowThreads();
18184 ((wxPyScrolledWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
18185
18186 wxPyEndAllowThreads(__tstate);
18187 if (PyErr_Occurred()) SWIG_fail;
18188 }
18189 Py_INCREF(Py_None); resultobj = Py_None;
18190 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
18191 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
18192 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
18193 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
18194 return resultobj;
18195 fail:
18196 return NULL;
18197 }
18198
18199
18200 static PyObject *_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
18201 PyObject *resultobj;
18202 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18203 wxSize result;
18204 PyObject * obj0 = 0 ;
18205 char *kwnames[] = {
18206 (char *) "self", NULL
18207 };
18208
18209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
18210 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18211 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18212 {
18213 PyThreadState* __tstate = wxPyBeginAllowThreads();
18214 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetVirtualSize();
18215
18216 wxPyEndAllowThreads(__tstate);
18217 if (PyErr_Occurred()) SWIG_fail;
18218 }
18219 {
18220 wxSize * resultptr;
18221 resultptr = new wxSize((wxSize &) result);
18222 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18223 }
18224 return resultobj;
18225 fail:
18226 return NULL;
18227 }
18228
18229
18230 static PyObject *_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
18231 PyObject *resultobj;
18232 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18233 wxSize result;
18234 PyObject * obj0 = 0 ;
18235 char *kwnames[] = {
18236 (char *) "self", NULL
18237 };
18238
18239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
18240 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18241 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18242 {
18243 PyThreadState* __tstate = wxPyBeginAllowThreads();
18244 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetBestSize();
18245
18246 wxPyEndAllowThreads(__tstate);
18247 if (PyErr_Occurred()) SWIG_fail;
18248 }
18249 {
18250 wxSize * resultptr;
18251 resultptr = new wxSize((wxSize &) result);
18252 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18253 }
18254 return resultobj;
18255 fail:
18256 return NULL;
18257 }
18258
18259
18260 static PyObject *_wrap_PyScrolledWindow_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
18261 PyObject *resultobj;
18262 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18263 PyObject * obj0 = 0 ;
18264 char *kwnames[] = {
18265 (char *) "self", NULL
18266 };
18267
18268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames,&obj0)) goto fail;
18269 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18270 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18271 {
18272 PyThreadState* __tstate = wxPyBeginAllowThreads();
18273 (arg1)->base_InitDialog();
18274
18275 wxPyEndAllowThreads(__tstate);
18276 if (PyErr_Occurred()) SWIG_fail;
18277 }
18278 Py_INCREF(Py_None); resultobj = Py_None;
18279 return resultobj;
18280 fail:
18281 return NULL;
18282 }
18283
18284
18285 static PyObject *_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
18286 PyObject *resultobj;
18287 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18288 bool result;
18289 PyObject * obj0 = 0 ;
18290 char *kwnames[] = {
18291 (char *) "self", NULL
18292 };
18293
18294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
18295 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18296 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18297 {
18298 PyThreadState* __tstate = wxPyBeginAllowThreads();
18299 result = (bool)(arg1)->base_TransferDataToWindow();
18300
18301 wxPyEndAllowThreads(__tstate);
18302 if (PyErr_Occurred()) SWIG_fail;
18303 }
18304 {
18305 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18306 }
18307 return resultobj;
18308 fail:
18309 return NULL;
18310 }
18311
18312
18313 static PyObject *_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
18314 PyObject *resultobj;
18315 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18316 bool result;
18317 PyObject * obj0 = 0 ;
18318 char *kwnames[] = {
18319 (char *) "self", NULL
18320 };
18321
18322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
18323 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18324 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18325 {
18326 PyThreadState* __tstate = wxPyBeginAllowThreads();
18327 result = (bool)(arg1)->base_TransferDataFromWindow();
18328
18329 wxPyEndAllowThreads(__tstate);
18330 if (PyErr_Occurred()) SWIG_fail;
18331 }
18332 {
18333 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18334 }
18335 return resultobj;
18336 fail:
18337 return NULL;
18338 }
18339
18340
18341 static PyObject *_wrap_PyScrolledWindow_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
18342 PyObject *resultobj;
18343 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18344 bool result;
18345 PyObject * obj0 = 0 ;
18346 char *kwnames[] = {
18347 (char *) "self", NULL
18348 };
18349
18350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_Validate",kwnames,&obj0)) goto fail;
18351 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18352 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18353 {
18354 PyThreadState* __tstate = wxPyBeginAllowThreads();
18355 result = (bool)(arg1)->base_Validate();
18356
18357 wxPyEndAllowThreads(__tstate);
18358 if (PyErr_Occurred()) SWIG_fail;
18359 }
18360 {
18361 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18362 }
18363 return resultobj;
18364 fail:
18365 return NULL;
18366 }
18367
18368
18369 static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
18370 PyObject *resultobj;
18371 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18372 bool result;
18373 PyObject * obj0 = 0 ;
18374 char *kwnames[] = {
18375 (char *) "self", NULL
18376 };
18377
18378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
18379 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18380 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18381 {
18382 PyThreadState* __tstate = wxPyBeginAllowThreads();
18383 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocus();
18384
18385 wxPyEndAllowThreads(__tstate);
18386 if (PyErr_Occurred()) SWIG_fail;
18387 }
18388 {
18389 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18390 }
18391 return resultobj;
18392 fail:
18393 return NULL;
18394 }
18395
18396
18397 static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
18398 PyObject *resultobj;
18399 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18400 bool result;
18401 PyObject * obj0 = 0 ;
18402 char *kwnames[] = {
18403 (char *) "self", NULL
18404 };
18405
18406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
18407 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18408 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18409 {
18410 PyThreadState* __tstate = wxPyBeginAllowThreads();
18411 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
18412
18413 wxPyEndAllowThreads(__tstate);
18414 if (PyErr_Occurred()) SWIG_fail;
18415 }
18416 {
18417 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18418 }
18419 return resultobj;
18420 fail:
18421 return NULL;
18422 }
18423
18424
18425 static PyObject *_wrap_PyScrolledWindow_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
18426 PyObject *resultobj;
18427 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18428 wxSize result;
18429 PyObject * obj0 = 0 ;
18430 char *kwnames[] = {
18431 (char *) "self", NULL
18432 };
18433
18434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
18435 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18436 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18437 {
18438 PyThreadState* __tstate = wxPyBeginAllowThreads();
18439 result = ((wxPyScrolledWindow const *)arg1)->base_GetMaxSize();
18440
18441 wxPyEndAllowThreads(__tstate);
18442 if (PyErr_Occurred()) SWIG_fail;
18443 }
18444 {
18445 wxSize * resultptr;
18446 resultptr = new wxSize((wxSize &) result);
18447 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18448 }
18449 return resultobj;
18450 fail:
18451 return NULL;
18452 }
18453
18454
18455 static PyObject *_wrap_PyScrolledWindow_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
18456 PyObject *resultobj;
18457 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18458 wxWindow *arg2 = (wxWindow *) 0 ;
18459 PyObject * obj0 = 0 ;
18460 PyObject * obj1 = 0 ;
18461 char *kwnames[] = {
18462 (char *) "self",(char *) "child", NULL
18463 };
18464
18465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
18466 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18468 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
18469 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18470 {
18471 PyThreadState* __tstate = wxPyBeginAllowThreads();
18472 (arg1)->base_AddChild(arg2);
18473
18474 wxPyEndAllowThreads(__tstate);
18475 if (PyErr_Occurred()) SWIG_fail;
18476 }
18477 Py_INCREF(Py_None); resultobj = Py_None;
18478 return resultobj;
18479 fail:
18480 return NULL;
18481 }
18482
18483
18484 static PyObject *_wrap_PyScrolledWindow_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
18485 PyObject *resultobj;
18486 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18487 wxWindow *arg2 = (wxWindow *) 0 ;
18488 PyObject * obj0 = 0 ;
18489 PyObject * obj1 = 0 ;
18490 char *kwnames[] = {
18491 (char *) "self",(char *) "child", NULL
18492 };
18493
18494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
18495 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18496 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18497 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
18498 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18499 {
18500 PyThreadState* __tstate = wxPyBeginAllowThreads();
18501 (arg1)->base_RemoveChild(arg2);
18502
18503 wxPyEndAllowThreads(__tstate);
18504 if (PyErr_Occurred()) SWIG_fail;
18505 }
18506 Py_INCREF(Py_None); resultobj = Py_None;
18507 return resultobj;
18508 fail:
18509 return NULL;
18510 }
18511
18512
18513 static PyObject *_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
18514 PyObject *resultobj;
18515 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18516 bool result;
18517 PyObject * obj0 = 0 ;
18518 char *kwnames[] = {
18519 (char *) "self", NULL
18520 };
18521
18522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
18523 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18524 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18525 {
18526 PyThreadState* __tstate = wxPyBeginAllowThreads();
18527 result = (bool)((wxPyScrolledWindow const *)arg1)->base_ShouldInheritColours();
18528
18529 wxPyEndAllowThreads(__tstate);
18530 if (PyErr_Occurred()) SWIG_fail;
18531 }
18532 {
18533 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18534 }
18535 return resultobj;
18536 fail:
18537 return NULL;
18538 }
18539
18540
18541 static PyObject *_wrap_PyScrolledWindow_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) {
18542 PyObject *resultobj;
18543 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18544 wxColour *arg2 = 0 ;
18545 wxColour temp2 ;
18546 PyObject * obj0 = 0 ;
18547 PyObject * obj1 = 0 ;
18548 char *kwnames[] = {
18549 (char *) "self",(char *) "c", NULL
18550 };
18551
18552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
18553 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18554 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18555 {
18556 arg2 = &temp2;
18557 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18558 }
18559 {
18560 PyThreadState* __tstate = wxPyBeginAllowThreads();
18561 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
18562
18563 wxPyEndAllowThreads(__tstate);
18564 if (PyErr_Occurred()) SWIG_fail;
18565 }
18566 Py_INCREF(Py_None); resultobj = Py_None;
18567 return resultobj;
18568 fail:
18569 return NULL;
18570 }
18571
18572
18573 static PyObject *_wrap_PyScrolledWindow_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
18574 PyObject *resultobj;
18575 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18576 wxVisualAttributes result;
18577 PyObject * obj0 = 0 ;
18578 char *kwnames[] = {
18579 (char *) "self", NULL
18580 };
18581
18582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
18583 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18584 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18585 {
18586 PyThreadState* __tstate = wxPyBeginAllowThreads();
18587 result = (arg1)->base_GetDefaultAttributes();
18588
18589 wxPyEndAllowThreads(__tstate);
18590 if (PyErr_Occurred()) SWIG_fail;
18591 }
18592 {
18593 wxVisualAttributes * resultptr;
18594 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
18595 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
18596 }
18597 return resultobj;
18598 fail:
18599 return NULL;
18600 }
18601
18602
18603 static PyObject * PyScrolledWindow_swigregister(PyObject *, PyObject *args) {
18604 PyObject *obj;
18605 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18606 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow, obj);
18607 Py_INCREF(obj);
18608 return Py_BuildValue((char *)"");
18609 }
18610 static int _wrap_PrintoutTitleStr_set(PyObject *) {
18611 PyErr_SetString(PyExc_TypeError,"Variable PrintoutTitleStr is read-only.");
18612 return 1;
18613 }
18614
18615
18616 static PyObject *_wrap_PrintoutTitleStr_get() {
18617 PyObject *pyobj;
18618
18619 {
18620 #if wxUSE_UNICODE
18621 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
18622 #else
18623 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
18624 #endif
18625 }
18626 return pyobj;
18627 }
18628
18629
18630 static int _wrap_PreviewCanvasNameStr_set(PyObject *) {
18631 PyErr_SetString(PyExc_TypeError,"Variable PreviewCanvasNameStr is read-only.");
18632 return 1;
18633 }
18634
18635
18636 static PyObject *_wrap_PreviewCanvasNameStr_get() {
18637 PyObject *pyobj;
18638
18639 {
18640 #if wxUSE_UNICODE
18641 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
18642 #else
18643 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
18644 #endif
18645 }
18646 return pyobj;
18647 }
18648
18649
18650 static PyObject *_wrap_new_PrintData__SWIG_0(PyObject *, PyObject *args) {
18651 PyObject *resultobj;
18652 wxPrintData *result;
18653
18654 if(!PyArg_ParseTuple(args,(char *)":new_PrintData")) goto fail;
18655 {
18656 PyThreadState* __tstate = wxPyBeginAllowThreads();
18657 result = (wxPrintData *)new wxPrintData();
18658
18659 wxPyEndAllowThreads(__tstate);
18660 if (PyErr_Occurred()) SWIG_fail;
18661 }
18662 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
18663 return resultobj;
18664 fail:
18665 return NULL;
18666 }
18667
18668
18669 static PyObject *_wrap_new_PrintData__SWIG_1(PyObject *, PyObject *args) {
18670 PyObject *resultobj;
18671 wxPrintData *arg1 = 0 ;
18672 wxPrintData *result;
18673 PyObject * obj0 = 0 ;
18674
18675 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintData",&obj0)) goto fail;
18676 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18677 SWIG_POINTER_EXCEPTION | 0)) == -1)
18678 SWIG_fail;
18679 if (arg1 == NULL) {
18680 PyErr_SetString(PyExc_TypeError,"null reference");
18681 SWIG_fail;
18682 }
18683 {
18684 PyThreadState* __tstate = wxPyBeginAllowThreads();
18685 result = (wxPrintData *)new wxPrintData((wxPrintData const &)*arg1);
18686
18687 wxPyEndAllowThreads(__tstate);
18688 if (PyErr_Occurred()) SWIG_fail;
18689 }
18690 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
18691 return resultobj;
18692 fail:
18693 return NULL;
18694 }
18695
18696
18697 static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args) {
18698 int argc;
18699 PyObject *argv[2];
18700 int ii;
18701
18702 argc = PyObject_Length(args);
18703 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
18704 argv[ii] = PyTuple_GetItem(args,ii);
18705 }
18706 if (argc == 0) {
18707 return _wrap_new_PrintData__SWIG_0(self,args);
18708 }
18709 if (argc == 1) {
18710 int _v;
18711 {
18712 void *ptr;
18713 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
18714 _v = 0;
18715 PyErr_Clear();
18716 } else {
18717 _v = 1;
18718 }
18719 }
18720 if (_v) {
18721 return _wrap_new_PrintData__SWIG_1(self,args);
18722 }
18723 }
18724
18725 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintData'");
18726 return NULL;
18727 }
18728
18729
18730 static PyObject *_wrap_delete_PrintData(PyObject *, PyObject *args, PyObject *kwargs) {
18731 PyObject *resultobj;
18732 wxPrintData *arg1 = (wxPrintData *) 0 ;
18733 PyObject * obj0 = 0 ;
18734 char *kwnames[] = {
18735 (char *) "self", NULL
18736 };
18737
18738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail;
18739 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18740 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18741 {
18742 PyThreadState* __tstate = wxPyBeginAllowThreads();
18743 delete arg1;
18744
18745 wxPyEndAllowThreads(__tstate);
18746 if (PyErr_Occurred()) SWIG_fail;
18747 }
18748 Py_INCREF(Py_None); resultobj = Py_None;
18749 return resultobj;
18750 fail:
18751 return NULL;
18752 }
18753
18754
18755 static PyObject *_wrap_PrintData_GetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
18756 PyObject *resultobj;
18757 wxPrintData *arg1 = (wxPrintData *) 0 ;
18758 int result;
18759 PyObject * obj0 = 0 ;
18760 char *kwnames[] = {
18761 (char *) "self", NULL
18762 };
18763
18764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail;
18765 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18766 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18767 {
18768 PyThreadState* __tstate = wxPyBeginAllowThreads();
18769 result = (int)(arg1)->GetNoCopies();
18770
18771 wxPyEndAllowThreads(__tstate);
18772 if (PyErr_Occurred()) SWIG_fail;
18773 }
18774 resultobj = SWIG_From_int((int)result);
18775 return resultobj;
18776 fail:
18777 return NULL;
18778 }
18779
18780
18781 static PyObject *_wrap_PrintData_GetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
18782 PyObject *resultobj;
18783 wxPrintData *arg1 = (wxPrintData *) 0 ;
18784 bool result;
18785 PyObject * obj0 = 0 ;
18786 char *kwnames[] = {
18787 (char *) "self", NULL
18788 };
18789
18790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail;
18791 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18792 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18793 {
18794 PyThreadState* __tstate = wxPyBeginAllowThreads();
18795 result = (bool)(arg1)->GetCollate();
18796
18797 wxPyEndAllowThreads(__tstate);
18798 if (PyErr_Occurred()) SWIG_fail;
18799 }
18800 {
18801 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18802 }
18803 return resultobj;
18804 fail:
18805 return NULL;
18806 }
18807
18808
18809 static PyObject *_wrap_PrintData_GetOrientation(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_GetOrientation",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)(arg1)->GetOrientation();
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_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
18836 PyObject *resultobj;
18837 wxPrintData *arg1 = (wxPrintData *) 0 ;
18838 bool result;
18839 PyObject * obj0 = 0 ;
18840 char *kwnames[] = {
18841 (char *) "self", NULL
18842 };
18843
18844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail;
18845 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18846 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18847 {
18848 PyThreadState* __tstate = wxPyBeginAllowThreads();
18849 result = (bool)(arg1)->Ok();
18850
18851 wxPyEndAllowThreads(__tstate);
18852 if (PyErr_Occurred()) SWIG_fail;
18853 }
18854 {
18855 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18856 }
18857 return resultobj;
18858 fail:
18859 return NULL;
18860 }
18861
18862
18863 static PyObject *_wrap_PrintData_GetPrinterName(PyObject *, PyObject *args, PyObject *kwargs) {
18864 PyObject *resultobj;
18865 wxPrintData *arg1 = (wxPrintData *) 0 ;
18866 wxString *result;
18867 PyObject * obj0 = 0 ;
18868 char *kwnames[] = {
18869 (char *) "self", NULL
18870 };
18871
18872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",kwnames,&obj0)) goto fail;
18873 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18874 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18875 {
18876 PyThreadState* __tstate = wxPyBeginAllowThreads();
18877 {
18878 wxString const &_result_ref = (arg1)->GetPrinterName();
18879 result = (wxString *) &_result_ref;
18880 }
18881
18882 wxPyEndAllowThreads(__tstate);
18883 if (PyErr_Occurred()) SWIG_fail;
18884 }
18885 {
18886 #if wxUSE_UNICODE
18887 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18888 #else
18889 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18890 #endif
18891 }
18892 return resultobj;
18893 fail:
18894 return NULL;
18895 }
18896
18897
18898 static PyObject *_wrap_PrintData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
18899 PyObject *resultobj;
18900 wxPrintData *arg1 = (wxPrintData *) 0 ;
18901 bool result;
18902 PyObject * obj0 = 0 ;
18903 char *kwnames[] = {
18904 (char *) "self", NULL
18905 };
18906
18907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail;
18908 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18909 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18910 {
18911 PyThreadState* __tstate = wxPyBeginAllowThreads();
18912 result = (bool)(arg1)->GetColour();
18913
18914 wxPyEndAllowThreads(__tstate);
18915 if (PyErr_Occurred()) SWIG_fail;
18916 }
18917 {
18918 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18919 }
18920 return resultobj;
18921 fail:
18922 return NULL;
18923 }
18924
18925
18926 static PyObject *_wrap_PrintData_GetDuplex(PyObject *, PyObject *args, PyObject *kwargs) {
18927 PyObject *resultobj;
18928 wxPrintData *arg1 = (wxPrintData *) 0 ;
18929 int result;
18930 PyObject * obj0 = 0 ;
18931 char *kwnames[] = {
18932 (char *) "self", NULL
18933 };
18934
18935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail;
18936 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18937 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18938 {
18939 PyThreadState* __tstate = wxPyBeginAllowThreads();
18940 result = (int)(arg1)->GetDuplex();
18941
18942 wxPyEndAllowThreads(__tstate);
18943 if (PyErr_Occurred()) SWIG_fail;
18944 }
18945 resultobj = SWIG_From_int((int)result);
18946 return resultobj;
18947 fail:
18948 return NULL;
18949 }
18950
18951
18952 static PyObject *_wrap_PrintData_GetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
18953 PyObject *resultobj;
18954 wxPrintData *arg1 = (wxPrintData *) 0 ;
18955 int result;
18956 PyObject * obj0 = 0 ;
18957 char *kwnames[] = {
18958 (char *) "self", NULL
18959 };
18960
18961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail;
18962 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18963 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18964 {
18965 PyThreadState* __tstate = wxPyBeginAllowThreads();
18966 result = (int)(arg1)->GetPaperId();
18967
18968 wxPyEndAllowThreads(__tstate);
18969 if (PyErr_Occurred()) SWIG_fail;
18970 }
18971 resultobj = SWIG_From_int((int)result);
18972 return resultobj;
18973 fail:
18974 return NULL;
18975 }
18976
18977
18978 static PyObject *_wrap_PrintData_GetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
18979 PyObject *resultobj;
18980 wxPrintData *arg1 = (wxPrintData *) 0 ;
18981 wxSize *result;
18982 PyObject * obj0 = 0 ;
18983 char *kwnames[] = {
18984 (char *) "self", NULL
18985 };
18986
18987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail;
18988 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18989 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18990 {
18991 PyThreadState* __tstate = wxPyBeginAllowThreads();
18992 {
18993 wxSize const &_result_ref = (arg1)->GetPaperSize();
18994 result = (wxSize *) &_result_ref;
18995 }
18996
18997 wxPyEndAllowThreads(__tstate);
18998 if (PyErr_Occurred()) SWIG_fail;
18999 }
19000 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0);
19001 return resultobj;
19002 fail:
19003 return NULL;
19004 }
19005
19006
19007 static PyObject *_wrap_PrintData_GetQuality(PyObject *, PyObject *args, PyObject *kwargs) {
19008 PyObject *resultobj;
19009 wxPrintData *arg1 = (wxPrintData *) 0 ;
19010 int result;
19011 PyObject * obj0 = 0 ;
19012 char *kwnames[] = {
19013 (char *) "self", NULL
19014 };
19015
19016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail;
19017 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19018 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19019 {
19020 PyThreadState* __tstate = wxPyBeginAllowThreads();
19021 result = (int)(arg1)->GetQuality();
19022
19023 wxPyEndAllowThreads(__tstate);
19024 if (PyErr_Occurred()) SWIG_fail;
19025 }
19026 resultobj = SWIG_From_int((int)result);
19027 return resultobj;
19028 fail:
19029 return NULL;
19030 }
19031
19032
19033 static PyObject *_wrap_PrintData_GetBin(PyObject *, PyObject *args, PyObject *kwargs) {
19034 PyObject *resultobj;
19035 wxPrintData *arg1 = (wxPrintData *) 0 ;
19036 int result;
19037 PyObject * obj0 = 0 ;
19038 char *kwnames[] = {
19039 (char *) "self", NULL
19040 };
19041
19042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetBin",kwnames,&obj0)) goto fail;
19043 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19044 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19045 {
19046 PyThreadState* __tstate = wxPyBeginAllowThreads();
19047 result = (int)(arg1)->GetBin();
19048
19049 wxPyEndAllowThreads(__tstate);
19050 if (PyErr_Occurred()) SWIG_fail;
19051 }
19052 resultobj = SWIG_From_int((int)result);
19053 return resultobj;
19054 fail:
19055 return NULL;
19056 }
19057
19058
19059 static PyObject *_wrap_PrintData_GetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) {
19060 PyObject *resultobj;
19061 wxPrintData *arg1 = (wxPrintData *) 0 ;
19062 int result;
19063 PyObject * obj0 = 0 ;
19064 char *kwnames[] = {
19065 (char *) "self", NULL
19066 };
19067
19068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail;
19069 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19070 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19071 {
19072 PyThreadState* __tstate = wxPyBeginAllowThreads();
19073 result = (int)((wxPrintData const *)arg1)->GetPrintMode();
19074
19075 wxPyEndAllowThreads(__tstate);
19076 if (PyErr_Occurred()) SWIG_fail;
19077 }
19078 resultobj = SWIG_From_int((int)result);
19079 return resultobj;
19080 fail:
19081 return NULL;
19082 }
19083
19084
19085 static PyObject *_wrap_PrintData_SetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
19086 PyObject *resultobj;
19087 wxPrintData *arg1 = (wxPrintData *) 0 ;
19088 int arg2 ;
19089 PyObject * obj0 = 0 ;
19090 PyObject * obj1 = 0 ;
19091 char *kwnames[] = {
19092 (char *) "self",(char *) "v", NULL
19093 };
19094
19095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
19096 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19097 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19098 arg2 = (int)SWIG_As_int(obj1);
19099 if (PyErr_Occurred()) SWIG_fail;
19100 {
19101 PyThreadState* __tstate = wxPyBeginAllowThreads();
19102 (arg1)->SetNoCopies(arg2);
19103
19104 wxPyEndAllowThreads(__tstate);
19105 if (PyErr_Occurred()) SWIG_fail;
19106 }
19107 Py_INCREF(Py_None); resultobj = Py_None;
19108 return resultobj;
19109 fail:
19110 return NULL;
19111 }
19112
19113
19114 static PyObject *_wrap_PrintData_SetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
19115 PyObject *resultobj;
19116 wxPrintData *arg1 = (wxPrintData *) 0 ;
19117 bool arg2 ;
19118 PyObject * obj0 = 0 ;
19119 PyObject * obj1 = 0 ;
19120 char *kwnames[] = {
19121 (char *) "self",(char *) "flag", NULL
19122 };
19123
19124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
19125 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19126 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19127 arg2 = (bool)SWIG_As_bool(obj1);
19128 if (PyErr_Occurred()) SWIG_fail;
19129 {
19130 PyThreadState* __tstate = wxPyBeginAllowThreads();
19131 (arg1)->SetCollate(arg2);
19132
19133 wxPyEndAllowThreads(__tstate);
19134 if (PyErr_Occurred()) SWIG_fail;
19135 }
19136 Py_INCREF(Py_None); resultobj = Py_None;
19137 return resultobj;
19138 fail:
19139 return NULL;
19140 }
19141
19142
19143 static PyObject *_wrap_PrintData_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
19144 PyObject *resultobj;
19145 wxPrintData *arg1 = (wxPrintData *) 0 ;
19146 int arg2 ;
19147 PyObject * obj0 = 0 ;
19148 PyObject * obj1 = 0 ;
19149 char *kwnames[] = {
19150 (char *) "self",(char *) "orient", NULL
19151 };
19152
19153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
19154 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19155 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19156 arg2 = (int)SWIG_As_int(obj1);
19157 if (PyErr_Occurred()) SWIG_fail;
19158 {
19159 PyThreadState* __tstate = wxPyBeginAllowThreads();
19160 (arg1)->SetOrientation(arg2);
19161
19162 wxPyEndAllowThreads(__tstate);
19163 if (PyErr_Occurred()) SWIG_fail;
19164 }
19165 Py_INCREF(Py_None); resultobj = Py_None;
19166 return resultobj;
19167 fail:
19168 return NULL;
19169 }
19170
19171
19172 static PyObject *_wrap_PrintData_SetPrinterName(PyObject *, PyObject *args, PyObject *kwargs) {
19173 PyObject *resultobj;
19174 wxPrintData *arg1 = (wxPrintData *) 0 ;
19175 wxString *arg2 = 0 ;
19176 bool temp2 = false ;
19177 PyObject * obj0 = 0 ;
19178 PyObject * obj1 = 0 ;
19179 char *kwnames[] = {
19180 (char *) "self",(char *) "name", NULL
19181 };
19182
19183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail;
19184 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19185 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19186 {
19187 arg2 = wxString_in_helper(obj1);
19188 if (arg2 == NULL) SWIG_fail;
19189 temp2 = true;
19190 }
19191 {
19192 PyThreadState* __tstate = wxPyBeginAllowThreads();
19193 (arg1)->SetPrinterName((wxString const &)*arg2);
19194
19195 wxPyEndAllowThreads(__tstate);
19196 if (PyErr_Occurred()) SWIG_fail;
19197 }
19198 Py_INCREF(Py_None); resultobj = Py_None;
19199 {
19200 if (temp2)
19201 delete arg2;
19202 }
19203 return resultobj;
19204 fail:
19205 {
19206 if (temp2)
19207 delete arg2;
19208 }
19209 return NULL;
19210 }
19211
19212
19213 static PyObject *_wrap_PrintData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
19214 PyObject *resultobj;
19215 wxPrintData *arg1 = (wxPrintData *) 0 ;
19216 bool arg2 ;
19217 PyObject * obj0 = 0 ;
19218 PyObject * obj1 = 0 ;
19219 char *kwnames[] = {
19220 (char *) "self",(char *) "colour", NULL
19221 };
19222
19223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail;
19224 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19225 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19226 arg2 = (bool)SWIG_As_bool(obj1);
19227 if (PyErr_Occurred()) SWIG_fail;
19228 {
19229 PyThreadState* __tstate = wxPyBeginAllowThreads();
19230 (arg1)->SetColour(arg2);
19231
19232 wxPyEndAllowThreads(__tstate);
19233 if (PyErr_Occurred()) SWIG_fail;
19234 }
19235 Py_INCREF(Py_None); resultobj = Py_None;
19236 return resultobj;
19237 fail:
19238 return NULL;
19239 }
19240
19241
19242 static PyObject *_wrap_PrintData_SetDuplex(PyObject *, PyObject *args, PyObject *kwargs) {
19243 PyObject *resultobj;
19244 wxPrintData *arg1 = (wxPrintData *) 0 ;
19245 int arg2 ;
19246 PyObject * obj0 = 0 ;
19247 PyObject * obj1 = 0 ;
19248 char *kwnames[] = {
19249 (char *) "self",(char *) "duplex", NULL
19250 };
19251
19252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) goto fail;
19253 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19254 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19255 arg2 = (int)SWIG_As_int(obj1);
19256 if (PyErr_Occurred()) SWIG_fail;
19257 {
19258 PyThreadState* __tstate = wxPyBeginAllowThreads();
19259 (arg1)->SetDuplex((wxDuplexMode )arg2);
19260
19261 wxPyEndAllowThreads(__tstate);
19262 if (PyErr_Occurred()) SWIG_fail;
19263 }
19264 Py_INCREF(Py_None); resultobj = Py_None;
19265 return resultobj;
19266 fail:
19267 return NULL;
19268 }
19269
19270
19271 static PyObject *_wrap_PrintData_SetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
19272 PyObject *resultobj;
19273 wxPrintData *arg1 = (wxPrintData *) 0 ;
19274 int arg2 ;
19275 PyObject * obj0 = 0 ;
19276 PyObject * obj1 = 0 ;
19277 char *kwnames[] = {
19278 (char *) "self",(char *) "sizeId", NULL
19279 };
19280
19281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
19282 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19283 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19284 arg2 = (int)SWIG_As_int(obj1);
19285 if (PyErr_Occurred()) SWIG_fail;
19286 {
19287 PyThreadState* __tstate = wxPyBeginAllowThreads();
19288 (arg1)->SetPaperId((wxPaperSize )arg2);
19289
19290 wxPyEndAllowThreads(__tstate);
19291 if (PyErr_Occurred()) SWIG_fail;
19292 }
19293 Py_INCREF(Py_None); resultobj = Py_None;
19294 return resultobj;
19295 fail:
19296 return NULL;
19297 }
19298
19299
19300 static PyObject *_wrap_PrintData_SetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
19301 PyObject *resultobj;
19302 wxPrintData *arg1 = (wxPrintData *) 0 ;
19303 wxSize *arg2 = 0 ;
19304 wxSize temp2 ;
19305 PyObject * obj0 = 0 ;
19306 PyObject * obj1 = 0 ;
19307 char *kwnames[] = {
19308 (char *) "self",(char *) "sz", NULL
19309 };
19310
19311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
19312 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19313 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19314 {
19315 arg2 = &temp2;
19316 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
19317 }
19318 {
19319 PyThreadState* __tstate = wxPyBeginAllowThreads();
19320 (arg1)->SetPaperSize((wxSize const &)*arg2);
19321
19322 wxPyEndAllowThreads(__tstate);
19323 if (PyErr_Occurred()) SWIG_fail;
19324 }
19325 Py_INCREF(Py_None); resultobj = Py_None;
19326 return resultobj;
19327 fail:
19328 return NULL;
19329 }
19330
19331
19332 static PyObject *_wrap_PrintData_SetQuality(PyObject *, PyObject *args, PyObject *kwargs) {
19333 PyObject *resultobj;
19334 wxPrintData *arg1 = (wxPrintData *) 0 ;
19335 int arg2 ;
19336 PyObject * obj0 = 0 ;
19337 PyObject * obj1 = 0 ;
19338 char *kwnames[] = {
19339 (char *) "self",(char *) "quality", NULL
19340 };
19341
19342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) goto fail;
19343 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19344 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19345 arg2 = (int)SWIG_As_int(obj1);
19346 if (PyErr_Occurred()) SWIG_fail;
19347 {
19348 PyThreadState* __tstate = wxPyBeginAllowThreads();
19349 (arg1)->SetQuality(arg2);
19350
19351 wxPyEndAllowThreads(__tstate);
19352 if (PyErr_Occurred()) SWIG_fail;
19353 }
19354 Py_INCREF(Py_None); resultobj = Py_None;
19355 return resultobj;
19356 fail:
19357 return NULL;
19358 }
19359
19360
19361 static PyObject *_wrap_PrintData_SetBin(PyObject *, PyObject *args, PyObject *kwargs) {
19362 PyObject *resultobj;
19363 wxPrintData *arg1 = (wxPrintData *) 0 ;
19364 int arg2 ;
19365 PyObject * obj0 = 0 ;
19366 PyObject * obj1 = 0 ;
19367 char *kwnames[] = {
19368 (char *) "self",(char *) "bin", NULL
19369 };
19370
19371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetBin",kwnames,&obj0,&obj1)) goto fail;
19372 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19373 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19374 arg2 = (int)SWIG_As_int(obj1);
19375 if (PyErr_Occurred()) SWIG_fail;
19376 {
19377 PyThreadState* __tstate = wxPyBeginAllowThreads();
19378 (arg1)->SetBin((wxPrintBin )arg2);
19379
19380 wxPyEndAllowThreads(__tstate);
19381 if (PyErr_Occurred()) SWIG_fail;
19382 }
19383 Py_INCREF(Py_None); resultobj = Py_None;
19384 return resultobj;
19385 fail:
19386 return NULL;
19387 }
19388
19389
19390 static PyObject *_wrap_PrintData_SetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) {
19391 PyObject *resultobj;
19392 wxPrintData *arg1 = (wxPrintData *) 0 ;
19393 int arg2 ;
19394 PyObject * obj0 = 0 ;
19395 PyObject * obj1 = 0 ;
19396 char *kwnames[] = {
19397 (char *) "self",(char *) "printMode", NULL
19398 };
19399
19400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) goto fail;
19401 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19402 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19403 arg2 = (int)SWIG_As_int(obj1);
19404 if (PyErr_Occurred()) SWIG_fail;
19405 {
19406 PyThreadState* __tstate = wxPyBeginAllowThreads();
19407 (arg1)->SetPrintMode((wxPrintMode )arg2);
19408
19409 wxPyEndAllowThreads(__tstate);
19410 if (PyErr_Occurred()) SWIG_fail;
19411 }
19412 Py_INCREF(Py_None); resultobj = Py_None;
19413 return resultobj;
19414 fail:
19415 return NULL;
19416 }
19417
19418
19419 static PyObject *_wrap_PrintData_GetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
19420 PyObject *resultobj;
19421 wxPrintData *arg1 = (wxPrintData *) 0 ;
19422 wxString result;
19423 PyObject * obj0 = 0 ;
19424 char *kwnames[] = {
19425 (char *) "self", NULL
19426 };
19427
19428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail;
19429 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19430 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19431 {
19432 PyThreadState* __tstate = wxPyBeginAllowThreads();
19433 result = ((wxPrintData const *)arg1)->GetFilename();
19434
19435 wxPyEndAllowThreads(__tstate);
19436 if (PyErr_Occurred()) SWIG_fail;
19437 }
19438 {
19439 #if wxUSE_UNICODE
19440 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19441 #else
19442 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19443 #endif
19444 }
19445 return resultobj;
19446 fail:
19447 return NULL;
19448 }
19449
19450
19451 static PyObject *_wrap_PrintData_SetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
19452 PyObject *resultobj;
19453 wxPrintData *arg1 = (wxPrintData *) 0 ;
19454 wxString *arg2 = 0 ;
19455 bool temp2 = false ;
19456 PyObject * obj0 = 0 ;
19457 PyObject * obj1 = 0 ;
19458 char *kwnames[] = {
19459 (char *) "self",(char *) "filename", NULL
19460 };
19461
19462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail;
19463 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19464 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19465 {
19466 arg2 = wxString_in_helper(obj1);
19467 if (arg2 == NULL) SWIG_fail;
19468 temp2 = true;
19469 }
19470 {
19471 PyThreadState* __tstate = wxPyBeginAllowThreads();
19472 (arg1)->SetFilename((wxString const &)*arg2);
19473
19474 wxPyEndAllowThreads(__tstate);
19475 if (PyErr_Occurred()) SWIG_fail;
19476 }
19477 Py_INCREF(Py_None); resultobj = Py_None;
19478 {
19479 if (temp2)
19480 delete arg2;
19481 }
19482 return resultobj;
19483 fail:
19484 {
19485 if (temp2)
19486 delete arg2;
19487 }
19488 return NULL;
19489 }
19490
19491
19492 static PyObject *_wrap_PrintData_GetPrinterCommand(PyObject *, PyObject *args, PyObject *kwargs) {
19493 PyObject *resultobj;
19494 wxPrintData *arg1 = (wxPrintData *) 0 ;
19495 wxString *result;
19496 PyObject * obj0 = 0 ;
19497 char *kwnames[] = {
19498 (char *) "self", NULL
19499 };
19500
19501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterCommand",kwnames,&obj0)) goto fail;
19502 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19503 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19504 {
19505 PyThreadState* __tstate = wxPyBeginAllowThreads();
19506 {
19507 wxString const &_result_ref = (arg1)->GetPrinterCommand();
19508 result = (wxString *) &_result_ref;
19509 }
19510
19511 wxPyEndAllowThreads(__tstate);
19512 if (PyErr_Occurred()) SWIG_fail;
19513 }
19514 {
19515 #if wxUSE_UNICODE
19516 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19517 #else
19518 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19519 #endif
19520 }
19521 return resultobj;
19522 fail:
19523 return NULL;
19524 }
19525
19526
19527 static PyObject *_wrap_PrintData_GetPrinterOptions(PyObject *, PyObject *args, PyObject *kwargs) {
19528 PyObject *resultobj;
19529 wxPrintData *arg1 = (wxPrintData *) 0 ;
19530 wxString *result;
19531 PyObject * obj0 = 0 ;
19532 char *kwnames[] = {
19533 (char *) "self", NULL
19534 };
19535
19536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterOptions",kwnames,&obj0)) goto fail;
19537 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19538 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19539 {
19540 PyThreadState* __tstate = wxPyBeginAllowThreads();
19541 {
19542 wxString const &_result_ref = (arg1)->GetPrinterOptions();
19543 result = (wxString *) &_result_ref;
19544 }
19545
19546 wxPyEndAllowThreads(__tstate);
19547 if (PyErr_Occurred()) SWIG_fail;
19548 }
19549 {
19550 #if wxUSE_UNICODE
19551 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19552 #else
19553 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19554 #endif
19555 }
19556 return resultobj;
19557 fail:
19558 return NULL;
19559 }
19560
19561
19562 static PyObject *_wrap_PrintData_GetPreviewCommand(PyObject *, PyObject *args, PyObject *kwargs) {
19563 PyObject *resultobj;
19564 wxPrintData *arg1 = (wxPrintData *) 0 ;
19565 wxString *result;
19566 PyObject * obj0 = 0 ;
19567 char *kwnames[] = {
19568 (char *) "self", NULL
19569 };
19570
19571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPreviewCommand",kwnames,&obj0)) goto fail;
19572 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19573 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19574 {
19575 PyThreadState* __tstate = wxPyBeginAllowThreads();
19576 {
19577 wxString const &_result_ref = (arg1)->GetPreviewCommand();
19578 result = (wxString *) &_result_ref;
19579 }
19580
19581 wxPyEndAllowThreads(__tstate);
19582 if (PyErr_Occurred()) SWIG_fail;
19583 }
19584 {
19585 #if wxUSE_UNICODE
19586 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19587 #else
19588 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19589 #endif
19590 }
19591 return resultobj;
19592 fail:
19593 return NULL;
19594 }
19595
19596
19597 static PyObject *_wrap_PrintData_GetFontMetricPath(PyObject *, PyObject *args, PyObject *kwargs) {
19598 PyObject *resultobj;
19599 wxPrintData *arg1 = (wxPrintData *) 0 ;
19600 wxString *result;
19601 PyObject * obj0 = 0 ;
19602 char *kwnames[] = {
19603 (char *) "self", NULL
19604 };
19605
19606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFontMetricPath",kwnames,&obj0)) goto fail;
19607 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19608 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19609 {
19610 PyThreadState* __tstate = wxPyBeginAllowThreads();
19611 {
19612 wxString const &_result_ref = (arg1)->GetFontMetricPath();
19613 result = (wxString *) &_result_ref;
19614 }
19615
19616 wxPyEndAllowThreads(__tstate);
19617 if (PyErr_Occurred()) SWIG_fail;
19618 }
19619 {
19620 #if wxUSE_UNICODE
19621 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19622 #else
19623 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19624 #endif
19625 }
19626 return resultobj;
19627 fail:
19628 return NULL;
19629 }
19630
19631
19632 static PyObject *_wrap_PrintData_GetPrinterScaleX(PyObject *, PyObject *args, PyObject *kwargs) {
19633 PyObject *resultobj;
19634 wxPrintData *arg1 = (wxPrintData *) 0 ;
19635 double result;
19636 PyObject * obj0 = 0 ;
19637 char *kwnames[] = {
19638 (char *) "self", NULL
19639 };
19640
19641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleX",kwnames,&obj0)) goto fail;
19642 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19643 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19644 {
19645 PyThreadState* __tstate = wxPyBeginAllowThreads();
19646 result = (double)(arg1)->GetPrinterScaleX();
19647
19648 wxPyEndAllowThreads(__tstate);
19649 if (PyErr_Occurred()) SWIG_fail;
19650 }
19651 resultobj = SWIG_From_double((double)result);
19652 return resultobj;
19653 fail:
19654 return NULL;
19655 }
19656
19657
19658 static PyObject *_wrap_PrintData_GetPrinterScaleY(PyObject *, PyObject *args, PyObject *kwargs) {
19659 PyObject *resultobj;
19660 wxPrintData *arg1 = (wxPrintData *) 0 ;
19661 double result;
19662 PyObject * obj0 = 0 ;
19663 char *kwnames[] = {
19664 (char *) "self", NULL
19665 };
19666
19667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleY",kwnames,&obj0)) goto fail;
19668 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19669 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19670 {
19671 PyThreadState* __tstate = wxPyBeginAllowThreads();
19672 result = (double)(arg1)->GetPrinterScaleY();
19673
19674 wxPyEndAllowThreads(__tstate);
19675 if (PyErr_Occurred()) SWIG_fail;
19676 }
19677 resultobj = SWIG_From_double((double)result);
19678 return resultobj;
19679 fail:
19680 return NULL;
19681 }
19682
19683
19684 static PyObject *_wrap_PrintData_GetPrinterTranslateX(PyObject *, PyObject *args, PyObject *kwargs) {
19685 PyObject *resultobj;
19686 wxPrintData *arg1 = (wxPrintData *) 0 ;
19687 long result;
19688 PyObject * obj0 = 0 ;
19689 char *kwnames[] = {
19690 (char *) "self", NULL
19691 };
19692
19693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateX",kwnames,&obj0)) goto fail;
19694 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19695 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19696 {
19697 PyThreadState* __tstate = wxPyBeginAllowThreads();
19698 result = (long)(arg1)->GetPrinterTranslateX();
19699
19700 wxPyEndAllowThreads(__tstate);
19701 if (PyErr_Occurred()) SWIG_fail;
19702 }
19703 resultobj = SWIG_From_long((long)result);
19704 return resultobj;
19705 fail:
19706 return NULL;
19707 }
19708
19709
19710 static PyObject *_wrap_PrintData_GetPrinterTranslateY(PyObject *, PyObject *args, PyObject *kwargs) {
19711 PyObject *resultobj;
19712 wxPrintData *arg1 = (wxPrintData *) 0 ;
19713 long result;
19714 PyObject * obj0 = 0 ;
19715 char *kwnames[] = {
19716 (char *) "self", NULL
19717 };
19718
19719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateY",kwnames,&obj0)) goto fail;
19720 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19721 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19722 {
19723 PyThreadState* __tstate = wxPyBeginAllowThreads();
19724 result = (long)(arg1)->GetPrinterTranslateY();
19725
19726 wxPyEndAllowThreads(__tstate);
19727 if (PyErr_Occurred()) SWIG_fail;
19728 }
19729 resultobj = SWIG_From_long((long)result);
19730 return resultobj;
19731 fail:
19732 return NULL;
19733 }
19734
19735
19736 static PyObject *_wrap_PrintData_SetPrinterCommand(PyObject *, PyObject *args, PyObject *kwargs) {
19737 PyObject *resultobj;
19738 wxPrintData *arg1 = (wxPrintData *) 0 ;
19739 wxString *arg2 = 0 ;
19740 bool temp2 = false ;
19741 PyObject * obj0 = 0 ;
19742 PyObject * obj1 = 0 ;
19743 char *kwnames[] = {
19744 (char *) "self",(char *) "command", NULL
19745 };
19746
19747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterCommand",kwnames,&obj0,&obj1)) goto fail;
19748 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19749 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19750 {
19751 arg2 = wxString_in_helper(obj1);
19752 if (arg2 == NULL) SWIG_fail;
19753 temp2 = true;
19754 }
19755 {
19756 PyThreadState* __tstate = wxPyBeginAllowThreads();
19757 (arg1)->SetPrinterCommand((wxString const &)*arg2);
19758
19759 wxPyEndAllowThreads(__tstate);
19760 if (PyErr_Occurred()) SWIG_fail;
19761 }
19762 Py_INCREF(Py_None); resultobj = Py_None;
19763 {
19764 if (temp2)
19765 delete arg2;
19766 }
19767 return resultobj;
19768 fail:
19769 {
19770 if (temp2)
19771 delete arg2;
19772 }
19773 return NULL;
19774 }
19775
19776
19777 static PyObject *_wrap_PrintData_SetPrinterOptions(PyObject *, PyObject *args, PyObject *kwargs) {
19778 PyObject *resultobj;
19779 wxPrintData *arg1 = (wxPrintData *) 0 ;
19780 wxString *arg2 = 0 ;
19781 bool temp2 = false ;
19782 PyObject * obj0 = 0 ;
19783 PyObject * obj1 = 0 ;
19784 char *kwnames[] = {
19785 (char *) "self",(char *) "options", NULL
19786 };
19787
19788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterOptions",kwnames,&obj0,&obj1)) goto fail;
19789 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19790 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19791 {
19792 arg2 = wxString_in_helper(obj1);
19793 if (arg2 == NULL) SWIG_fail;
19794 temp2 = true;
19795 }
19796 {
19797 PyThreadState* __tstate = wxPyBeginAllowThreads();
19798 (arg1)->SetPrinterOptions((wxString const &)*arg2);
19799
19800 wxPyEndAllowThreads(__tstate);
19801 if (PyErr_Occurred()) SWIG_fail;
19802 }
19803 Py_INCREF(Py_None); resultobj = Py_None;
19804 {
19805 if (temp2)
19806 delete arg2;
19807 }
19808 return resultobj;
19809 fail:
19810 {
19811 if (temp2)
19812 delete arg2;
19813 }
19814 return NULL;
19815 }
19816
19817
19818 static PyObject *_wrap_PrintData_SetPreviewCommand(PyObject *, PyObject *args, PyObject *kwargs) {
19819 PyObject *resultobj;
19820 wxPrintData *arg1 = (wxPrintData *) 0 ;
19821 wxString *arg2 = 0 ;
19822 bool temp2 = false ;
19823 PyObject * obj0 = 0 ;
19824 PyObject * obj1 = 0 ;
19825 char *kwnames[] = {
19826 (char *) "self",(char *) "command", NULL
19827 };
19828
19829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPreviewCommand",kwnames,&obj0,&obj1)) goto fail;
19830 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19831 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19832 {
19833 arg2 = wxString_in_helper(obj1);
19834 if (arg2 == NULL) SWIG_fail;
19835 temp2 = true;
19836 }
19837 {
19838 PyThreadState* __tstate = wxPyBeginAllowThreads();
19839 (arg1)->SetPreviewCommand((wxString const &)*arg2);
19840
19841 wxPyEndAllowThreads(__tstate);
19842 if (PyErr_Occurred()) SWIG_fail;
19843 }
19844 Py_INCREF(Py_None); resultobj = Py_None;
19845 {
19846 if (temp2)
19847 delete arg2;
19848 }
19849 return resultobj;
19850 fail:
19851 {
19852 if (temp2)
19853 delete arg2;
19854 }
19855 return NULL;
19856 }
19857
19858
19859 static PyObject *_wrap_PrintData_SetFontMetricPath(PyObject *, PyObject *args, PyObject *kwargs) {
19860 PyObject *resultobj;
19861 wxPrintData *arg1 = (wxPrintData *) 0 ;
19862 wxString *arg2 = 0 ;
19863 bool temp2 = false ;
19864 PyObject * obj0 = 0 ;
19865 PyObject * obj1 = 0 ;
19866 char *kwnames[] = {
19867 (char *) "self",(char *) "path", NULL
19868 };
19869
19870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFontMetricPath",kwnames,&obj0,&obj1)) goto fail;
19871 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19872 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19873 {
19874 arg2 = wxString_in_helper(obj1);
19875 if (arg2 == NULL) SWIG_fail;
19876 temp2 = true;
19877 }
19878 {
19879 PyThreadState* __tstate = wxPyBeginAllowThreads();
19880 (arg1)->SetFontMetricPath((wxString const &)*arg2);
19881
19882 wxPyEndAllowThreads(__tstate);
19883 if (PyErr_Occurred()) SWIG_fail;
19884 }
19885 Py_INCREF(Py_None); resultobj = Py_None;
19886 {
19887 if (temp2)
19888 delete arg2;
19889 }
19890 return resultobj;
19891 fail:
19892 {
19893 if (temp2)
19894 delete arg2;
19895 }
19896 return NULL;
19897 }
19898
19899
19900 static PyObject *_wrap_PrintData_SetPrinterScaleX(PyObject *, PyObject *args, PyObject *kwargs) {
19901 PyObject *resultobj;
19902 wxPrintData *arg1 = (wxPrintData *) 0 ;
19903 double arg2 ;
19904 PyObject * obj0 = 0 ;
19905 PyObject * obj1 = 0 ;
19906 char *kwnames[] = {
19907 (char *) "self",(char *) "x", NULL
19908 };
19909
19910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleX",kwnames,&obj0,&obj1)) goto fail;
19911 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19912 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19913 arg2 = (double)SWIG_As_double(obj1);
19914 if (PyErr_Occurred()) SWIG_fail;
19915 {
19916 PyThreadState* __tstate = wxPyBeginAllowThreads();
19917 (arg1)->SetPrinterScaleX(arg2);
19918
19919 wxPyEndAllowThreads(__tstate);
19920 if (PyErr_Occurred()) SWIG_fail;
19921 }
19922 Py_INCREF(Py_None); resultobj = Py_None;
19923 return resultobj;
19924 fail:
19925 return NULL;
19926 }
19927
19928
19929 static PyObject *_wrap_PrintData_SetPrinterScaleY(PyObject *, PyObject *args, PyObject *kwargs) {
19930 PyObject *resultobj;
19931 wxPrintData *arg1 = (wxPrintData *) 0 ;
19932 double arg2 ;
19933 PyObject * obj0 = 0 ;
19934 PyObject * obj1 = 0 ;
19935 char *kwnames[] = {
19936 (char *) "self",(char *) "y", NULL
19937 };
19938
19939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleY",kwnames,&obj0,&obj1)) goto fail;
19940 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19941 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19942 arg2 = (double)SWIG_As_double(obj1);
19943 if (PyErr_Occurred()) SWIG_fail;
19944 {
19945 PyThreadState* __tstate = wxPyBeginAllowThreads();
19946 (arg1)->SetPrinterScaleY(arg2);
19947
19948 wxPyEndAllowThreads(__tstate);
19949 if (PyErr_Occurred()) SWIG_fail;
19950 }
19951 Py_INCREF(Py_None); resultobj = Py_None;
19952 return resultobj;
19953 fail:
19954 return NULL;
19955 }
19956
19957
19958 static PyObject *_wrap_PrintData_SetPrinterScaling(PyObject *, PyObject *args, PyObject *kwargs) {
19959 PyObject *resultobj;
19960 wxPrintData *arg1 = (wxPrintData *) 0 ;
19961 double arg2 ;
19962 double arg3 ;
19963 PyObject * obj0 = 0 ;
19964 PyObject * obj1 = 0 ;
19965 PyObject * obj2 = 0 ;
19966 char *kwnames[] = {
19967 (char *) "self",(char *) "x",(char *) "y", NULL
19968 };
19969
19970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterScaling",kwnames,&obj0,&obj1,&obj2)) goto fail;
19971 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19972 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19973 arg2 = (double)SWIG_As_double(obj1);
19974 if (PyErr_Occurred()) SWIG_fail;
19975 arg3 = (double)SWIG_As_double(obj2);
19976 if (PyErr_Occurred()) SWIG_fail;
19977 {
19978 PyThreadState* __tstate = wxPyBeginAllowThreads();
19979 (arg1)->SetPrinterScaling(arg2,arg3);
19980
19981 wxPyEndAllowThreads(__tstate);
19982 if (PyErr_Occurred()) SWIG_fail;
19983 }
19984 Py_INCREF(Py_None); resultobj = Py_None;
19985 return resultobj;
19986 fail:
19987 return NULL;
19988 }
19989
19990
19991 static PyObject *_wrap_PrintData_SetPrinterTranslateX(PyObject *, PyObject *args, PyObject *kwargs) {
19992 PyObject *resultobj;
19993 wxPrintData *arg1 = (wxPrintData *) 0 ;
19994 long arg2 ;
19995 PyObject * obj0 = 0 ;
19996 PyObject * obj1 = 0 ;
19997 char *kwnames[] = {
19998 (char *) "self",(char *) "x", NULL
19999 };
20000
20001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames,&obj0,&obj1)) goto fail;
20002 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
20003 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20004 arg2 = (long)SWIG_As_long(obj1);
20005 if (PyErr_Occurred()) SWIG_fail;
20006 {
20007 PyThreadState* __tstate = wxPyBeginAllowThreads();
20008 (arg1)->SetPrinterTranslateX(arg2);
20009
20010 wxPyEndAllowThreads(__tstate);
20011 if (PyErr_Occurred()) SWIG_fail;
20012 }
20013 Py_INCREF(Py_None); resultobj = Py_None;
20014 return resultobj;
20015 fail:
20016 return NULL;
20017 }
20018
20019
20020 static PyObject *_wrap_PrintData_SetPrinterTranslateY(PyObject *, PyObject *args, PyObject *kwargs) {
20021 PyObject *resultobj;
20022 wxPrintData *arg1 = (wxPrintData *) 0 ;
20023 long arg2 ;
20024 PyObject * obj0 = 0 ;
20025 PyObject * obj1 = 0 ;
20026 char *kwnames[] = {
20027 (char *) "self",(char *) "y", NULL
20028 };
20029
20030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames,&obj0,&obj1)) goto fail;
20031 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
20032 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20033 arg2 = (long)SWIG_As_long(obj1);
20034 if (PyErr_Occurred()) SWIG_fail;
20035 {
20036 PyThreadState* __tstate = wxPyBeginAllowThreads();
20037 (arg1)->SetPrinterTranslateY(arg2);
20038
20039 wxPyEndAllowThreads(__tstate);
20040 if (PyErr_Occurred()) SWIG_fail;
20041 }
20042 Py_INCREF(Py_None); resultobj = Py_None;
20043 return resultobj;
20044 fail:
20045 return NULL;
20046 }
20047
20048
20049 static PyObject *_wrap_PrintData_SetPrinterTranslation(PyObject *, PyObject *args, PyObject *kwargs) {
20050 PyObject *resultobj;
20051 wxPrintData *arg1 = (wxPrintData *) 0 ;
20052 long arg2 ;
20053 long arg3 ;
20054 PyObject * obj0 = 0 ;
20055 PyObject * obj1 = 0 ;
20056 PyObject * obj2 = 0 ;
20057 char *kwnames[] = {
20058 (char *) "self",(char *) "x",(char *) "y", NULL
20059 };
20060
20061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames,&obj0,&obj1,&obj2)) goto fail;
20062 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
20063 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20064 arg2 = (long)SWIG_As_long(obj1);
20065 if (PyErr_Occurred()) SWIG_fail;
20066 arg3 = (long)SWIG_As_long(obj2);
20067 if (PyErr_Occurred()) SWIG_fail;
20068 {
20069 PyThreadState* __tstate = wxPyBeginAllowThreads();
20070 (arg1)->SetPrinterTranslation(arg2,arg3);
20071
20072 wxPyEndAllowThreads(__tstate);
20073 if (PyErr_Occurred()) SWIG_fail;
20074 }
20075 Py_INCREF(Py_None); resultobj = Py_None;
20076 return resultobj;
20077 fail:
20078 return NULL;
20079 }
20080
20081
20082 static PyObject * PrintData_swigregister(PyObject *, PyObject *args) {
20083 PyObject *obj;
20084 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20085 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj);
20086 Py_INCREF(obj);
20087 return Py_BuildValue((char *)"");
20088 }
20089 static PyObject *_wrap_new_PageSetupDialogData__SWIG_0(PyObject *, PyObject *args) {
20090 PyObject *resultobj;
20091 wxPageSetupDialogData *result;
20092
20093 if(!PyArg_ParseTuple(args,(char *)":new_PageSetupDialogData")) goto fail;
20094 {
20095 PyThreadState* __tstate = wxPyBeginAllowThreads();
20096 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
20097
20098 wxPyEndAllowThreads(__tstate);
20099 if (PyErr_Occurred()) SWIG_fail;
20100 }
20101 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
20102 return resultobj;
20103 fail:
20104 return NULL;
20105 }
20106
20107
20108 static PyObject *_wrap_new_PageSetupDialogData__SWIG_1(PyObject *, PyObject *args) {
20109 PyObject *resultobj;
20110 wxPageSetupDialogData *arg1 = 0 ;
20111 wxPageSetupDialogData *result;
20112 PyObject * obj0 = 0 ;
20113
20114 if(!PyArg_ParseTuple(args,(char *)"O:new_PageSetupDialogData",&obj0)) goto fail;
20115 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20116 SWIG_POINTER_EXCEPTION | 0)) == -1)
20117 SWIG_fail;
20118 if (arg1 == NULL) {
20119 PyErr_SetString(PyExc_TypeError,"null reference");
20120 SWIG_fail;
20121 }
20122 {
20123 PyThreadState* __tstate = wxPyBeginAllowThreads();
20124 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPageSetupDialogData const &)*arg1);
20125
20126 wxPyEndAllowThreads(__tstate);
20127 if (PyErr_Occurred()) SWIG_fail;
20128 }
20129 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
20130 return resultobj;
20131 fail:
20132 return NULL;
20133 }
20134
20135
20136 static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args) {
20137 int argc;
20138 PyObject *argv[2];
20139 int ii;
20140
20141 argc = PyObject_Length(args);
20142 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
20143 argv[ii] = PyTuple_GetItem(args,ii);
20144 }
20145 if (argc == 0) {
20146 return _wrap_new_PageSetupDialogData__SWIG_0(self,args);
20147 }
20148 if (argc == 1) {
20149 int _v;
20150 {
20151 void *ptr;
20152 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPageSetupDialogData, 0) == -1) {
20153 _v = 0;
20154 PyErr_Clear();
20155 } else {
20156 _v = 1;
20157 }
20158 }
20159 if (_v) {
20160 return _wrap_new_PageSetupDialogData__SWIG_1(self,args);
20161 }
20162 }
20163
20164 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PageSetupDialogData'");
20165 return NULL;
20166 }
20167
20168
20169 static PyObject *_wrap_delete_PageSetupDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
20170 PyObject *resultobj;
20171 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20172 PyObject * obj0 = 0 ;
20173 char *kwnames[] = {
20174 (char *) "self", NULL
20175 };
20176
20177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail;
20178 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20179 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20180 {
20181 PyThreadState* __tstate = wxPyBeginAllowThreads();
20182 delete arg1;
20183
20184 wxPyEndAllowThreads(__tstate);
20185 if (PyErr_Occurred()) SWIG_fail;
20186 }
20187 Py_INCREF(Py_None); resultobj = Py_None;
20188 return resultobj;
20189 fail:
20190 return NULL;
20191 }
20192
20193
20194 static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
20195 PyObject *resultobj;
20196 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20197 bool arg2 ;
20198 PyObject * obj0 = 0 ;
20199 PyObject * obj1 = 0 ;
20200 char *kwnames[] = {
20201 (char *) "self",(char *) "flag", NULL
20202 };
20203
20204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
20205 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20206 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20207 arg2 = (bool)SWIG_As_bool(obj1);
20208 if (PyErr_Occurred()) SWIG_fail;
20209 {
20210 PyThreadState* __tstate = wxPyBeginAllowThreads();
20211 (arg1)->EnableHelp(arg2);
20212
20213 wxPyEndAllowThreads(__tstate);
20214 if (PyErr_Occurred()) SWIG_fail;
20215 }
20216 Py_INCREF(Py_None); resultobj = Py_None;
20217 return resultobj;
20218 fail:
20219 return NULL;
20220 }
20221
20222
20223 static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *, PyObject *args, PyObject *kwargs) {
20224 PyObject *resultobj;
20225 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20226 bool arg2 ;
20227 PyObject * obj0 = 0 ;
20228 PyObject * obj1 = 0 ;
20229 char *kwnames[] = {
20230 (char *) "self",(char *) "flag", NULL
20231 };
20232
20233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail;
20234 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20235 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20236 arg2 = (bool)SWIG_As_bool(obj1);
20237 if (PyErr_Occurred()) SWIG_fail;
20238 {
20239 PyThreadState* __tstate = wxPyBeginAllowThreads();
20240 (arg1)->EnableMargins(arg2);
20241
20242 wxPyEndAllowThreads(__tstate);
20243 if (PyErr_Occurred()) SWIG_fail;
20244 }
20245 Py_INCREF(Py_None); resultobj = Py_None;
20246 return resultobj;
20247 fail:
20248 return NULL;
20249 }
20250
20251
20252 static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
20253 PyObject *resultobj;
20254 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20255 bool arg2 ;
20256 PyObject * obj0 = 0 ;
20257 PyObject * obj1 = 0 ;
20258 char *kwnames[] = {
20259 (char *) "self",(char *) "flag", NULL
20260 };
20261
20262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail;
20263 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20264 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20265 arg2 = (bool)SWIG_As_bool(obj1);
20266 if (PyErr_Occurred()) SWIG_fail;
20267 {
20268 PyThreadState* __tstate = wxPyBeginAllowThreads();
20269 (arg1)->EnableOrientation(arg2);
20270
20271 wxPyEndAllowThreads(__tstate);
20272 if (PyErr_Occurred()) SWIG_fail;
20273 }
20274 Py_INCREF(Py_None); resultobj = Py_None;
20275 return resultobj;
20276 fail:
20277 return NULL;
20278 }
20279
20280
20281 static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *, PyObject *args, PyObject *kwargs) {
20282 PyObject *resultobj;
20283 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20284 bool arg2 ;
20285 PyObject * obj0 = 0 ;
20286 PyObject * obj1 = 0 ;
20287 char *kwnames[] = {
20288 (char *) "self",(char *) "flag", NULL
20289 };
20290
20291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail;
20292 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20293 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20294 arg2 = (bool)SWIG_As_bool(obj1);
20295 if (PyErr_Occurred()) SWIG_fail;
20296 {
20297 PyThreadState* __tstate = wxPyBeginAllowThreads();
20298 (arg1)->EnablePaper(arg2);
20299
20300 wxPyEndAllowThreads(__tstate);
20301 if (PyErr_Occurred()) SWIG_fail;
20302 }
20303 Py_INCREF(Py_None); resultobj = Py_None;
20304 return resultobj;
20305 fail:
20306 return NULL;
20307 }
20308
20309
20310 static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *, PyObject *args, PyObject *kwargs) {
20311 PyObject *resultobj;
20312 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20313 bool arg2 ;
20314 PyObject * obj0 = 0 ;
20315 PyObject * obj1 = 0 ;
20316 char *kwnames[] = {
20317 (char *) "self",(char *) "flag", NULL
20318 };
20319
20320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail;
20321 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20322 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20323 arg2 = (bool)SWIG_As_bool(obj1);
20324 if (PyErr_Occurred()) SWIG_fail;
20325 {
20326 PyThreadState* __tstate = wxPyBeginAllowThreads();
20327 (arg1)->EnablePrinter(arg2);
20328
20329 wxPyEndAllowThreads(__tstate);
20330 if (PyErr_Occurred()) SWIG_fail;
20331 }
20332 Py_INCREF(Py_None); resultobj = Py_None;
20333 return resultobj;
20334 fail:
20335 return NULL;
20336 }
20337
20338
20339 static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *, PyObject *args, PyObject *kwargs) {
20340 PyObject *resultobj;
20341 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20342 bool result;
20343 PyObject * obj0 = 0 ;
20344 char *kwnames[] = {
20345 (char *) "self", NULL
20346 };
20347
20348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames,&obj0)) goto fail;
20349 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20350 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20351 {
20352 PyThreadState* __tstate = wxPyBeginAllowThreads();
20353 result = (bool)(arg1)->GetDefaultMinMargins();
20354
20355 wxPyEndAllowThreads(__tstate);
20356 if (PyErr_Occurred()) SWIG_fail;
20357 }
20358 {
20359 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20360 }
20361 return resultobj;
20362 fail:
20363 return NULL;
20364 }
20365
20366
20367 static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *, PyObject *args, PyObject *kwargs) {
20368 PyObject *resultobj;
20369 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20370 bool result;
20371 PyObject * obj0 = 0 ;
20372 char *kwnames[] = {
20373 (char *) "self", NULL
20374 };
20375
20376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail;
20377 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20378 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20379 {
20380 PyThreadState* __tstate = wxPyBeginAllowThreads();
20381 result = (bool)(arg1)->GetEnableMargins();
20382
20383 wxPyEndAllowThreads(__tstate);
20384 if (PyErr_Occurred()) SWIG_fail;
20385 }
20386 {
20387 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20388 }
20389 return resultobj;
20390 fail:
20391 return NULL;
20392 }
20393
20394
20395 static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
20396 PyObject *resultobj;
20397 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20398 bool result;
20399 PyObject * obj0 = 0 ;
20400 char *kwnames[] = {
20401 (char *) "self", NULL
20402 };
20403
20404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail;
20405 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20406 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20407 {
20408 PyThreadState* __tstate = wxPyBeginAllowThreads();
20409 result = (bool)(arg1)->GetEnableOrientation();
20410
20411 wxPyEndAllowThreads(__tstate);
20412 if (PyErr_Occurred()) SWIG_fail;
20413 }
20414 {
20415 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20416 }
20417 return resultobj;
20418 fail:
20419 return NULL;
20420 }
20421
20422
20423 static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *, PyObject *args, PyObject *kwargs) {
20424 PyObject *resultobj;
20425 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20426 bool result;
20427 PyObject * obj0 = 0 ;
20428 char *kwnames[] = {
20429 (char *) "self", NULL
20430 };
20431
20432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail;
20433 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20434 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20435 {
20436 PyThreadState* __tstate = wxPyBeginAllowThreads();
20437 result = (bool)(arg1)->GetEnablePaper();
20438
20439 wxPyEndAllowThreads(__tstate);
20440 if (PyErr_Occurred()) SWIG_fail;
20441 }
20442 {
20443 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20444 }
20445 return resultobj;
20446 fail:
20447 return NULL;
20448 }
20449
20450
20451 static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *, PyObject *args, PyObject *kwargs) {
20452 PyObject *resultobj;
20453 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20454 bool result;
20455 PyObject * obj0 = 0 ;
20456 char *kwnames[] = {
20457 (char *) "self", NULL
20458 };
20459
20460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail;
20461 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20462 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20463 {
20464 PyThreadState* __tstate = wxPyBeginAllowThreads();
20465 result = (bool)(arg1)->GetEnablePrinter();
20466
20467 wxPyEndAllowThreads(__tstate);
20468 if (PyErr_Occurred()) SWIG_fail;
20469 }
20470 {
20471 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20472 }
20473 return resultobj;
20474 fail:
20475 return NULL;
20476 }
20477
20478
20479 static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
20480 PyObject *resultobj;
20481 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20482 bool result;
20483 PyObject * obj0 = 0 ;
20484 char *kwnames[] = {
20485 (char *) "self", NULL
20486 };
20487
20488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
20489 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20490 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20491 {
20492 PyThreadState* __tstate = wxPyBeginAllowThreads();
20493 result = (bool)(arg1)->GetEnableHelp();
20494
20495 wxPyEndAllowThreads(__tstate);
20496 if (PyErr_Occurred()) SWIG_fail;
20497 }
20498 {
20499 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20500 }
20501 return resultobj;
20502 fail:
20503 return NULL;
20504 }
20505
20506
20507 static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *, PyObject *args, PyObject *kwargs) {
20508 PyObject *resultobj;
20509 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20510 bool result;
20511 PyObject * obj0 = 0 ;
20512 char *kwnames[] = {
20513 (char *) "self", NULL
20514 };
20515
20516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames,&obj0)) goto fail;
20517 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20518 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20519 {
20520 PyThreadState* __tstate = wxPyBeginAllowThreads();
20521 result = (bool)(arg1)->GetDefaultInfo();
20522
20523 wxPyEndAllowThreads(__tstate);
20524 if (PyErr_Occurred()) SWIG_fail;
20525 }
20526 {
20527 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20528 }
20529 return resultobj;
20530 fail:
20531 return NULL;
20532 }
20533
20534
20535 static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
20536 PyObject *resultobj;
20537 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20538 wxPoint result;
20539 PyObject * obj0 = 0 ;
20540 char *kwnames[] = {
20541 (char *) "self", NULL
20542 };
20543
20544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail;
20545 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20546 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20547 {
20548 PyThreadState* __tstate = wxPyBeginAllowThreads();
20549 result = (arg1)->GetMarginTopLeft();
20550
20551 wxPyEndAllowThreads(__tstate);
20552 if (PyErr_Occurred()) SWIG_fail;
20553 }
20554 {
20555 wxPoint * resultptr;
20556 resultptr = new wxPoint((wxPoint &) result);
20557 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
20558 }
20559 return resultobj;
20560 fail:
20561 return NULL;
20562 }
20563
20564
20565 static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
20566 PyObject *resultobj;
20567 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20568 wxPoint result;
20569 PyObject * obj0 = 0 ;
20570 char *kwnames[] = {
20571 (char *) "self", NULL
20572 };
20573
20574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail;
20575 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20576 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20577 {
20578 PyThreadState* __tstate = wxPyBeginAllowThreads();
20579 result = (arg1)->GetMarginBottomRight();
20580
20581 wxPyEndAllowThreads(__tstate);
20582 if (PyErr_Occurred()) SWIG_fail;
20583 }
20584 {
20585 wxPoint * resultptr;
20586 resultptr = new wxPoint((wxPoint &) result);
20587 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
20588 }
20589 return resultobj;
20590 fail:
20591 return NULL;
20592 }
20593
20594
20595 static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
20596 PyObject *resultobj;
20597 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20598 wxPoint result;
20599 PyObject * obj0 = 0 ;
20600 char *kwnames[] = {
20601 (char *) "self", NULL
20602 };
20603
20604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail;
20605 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20606 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20607 {
20608 PyThreadState* __tstate = wxPyBeginAllowThreads();
20609 result = (arg1)->GetMinMarginTopLeft();
20610
20611 wxPyEndAllowThreads(__tstate);
20612 if (PyErr_Occurred()) SWIG_fail;
20613 }
20614 {
20615 wxPoint * resultptr;
20616 resultptr = new wxPoint((wxPoint &) result);
20617 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
20618 }
20619 return resultobj;
20620 fail:
20621 return NULL;
20622 }
20623
20624
20625 static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
20626 PyObject *resultobj;
20627 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20628 wxPoint result;
20629 PyObject * obj0 = 0 ;
20630 char *kwnames[] = {
20631 (char *) "self", NULL
20632 };
20633
20634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail;
20635 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20636 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20637 {
20638 PyThreadState* __tstate = wxPyBeginAllowThreads();
20639 result = (arg1)->GetMinMarginBottomRight();
20640
20641 wxPyEndAllowThreads(__tstate);
20642 if (PyErr_Occurred()) SWIG_fail;
20643 }
20644 {
20645 wxPoint * resultptr;
20646 resultptr = new wxPoint((wxPoint &) result);
20647 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
20648 }
20649 return resultobj;
20650 fail:
20651 return NULL;
20652 }
20653
20654
20655 static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
20656 PyObject *resultobj;
20657 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20658 int result;
20659 PyObject * obj0 = 0 ;
20660 char *kwnames[] = {
20661 (char *) "self", NULL
20662 };
20663
20664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",kwnames,&obj0)) goto fail;
20665 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20666 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20667 {
20668 PyThreadState* __tstate = wxPyBeginAllowThreads();
20669 result = (int)(arg1)->GetPaperId();
20670
20671 wxPyEndAllowThreads(__tstate);
20672 if (PyErr_Occurred()) SWIG_fail;
20673 }
20674 resultobj = SWIG_From_int((int)result);
20675 return resultobj;
20676 fail:
20677 return NULL;
20678 }
20679
20680
20681 static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
20682 PyObject *resultobj;
20683 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20684 wxSize result;
20685 PyObject * obj0 = 0 ;
20686 char *kwnames[] = {
20687 (char *) "self", NULL
20688 };
20689
20690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail;
20691 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20692 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20693 {
20694 PyThreadState* __tstate = wxPyBeginAllowThreads();
20695 result = (arg1)->GetPaperSize();
20696
20697 wxPyEndAllowThreads(__tstate);
20698 if (PyErr_Occurred()) SWIG_fail;
20699 }
20700 {
20701 wxSize * resultptr;
20702 resultptr = new wxSize((wxSize &) result);
20703 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20704 }
20705 return resultobj;
20706 fail:
20707 return NULL;
20708 }
20709
20710
20711 static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
20712 PyObject *resultobj;
20713 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20714 wxPrintData *result;
20715 PyObject * obj0 = 0 ;
20716 char *kwnames[] = {
20717 (char *) "self", NULL
20718 };
20719
20720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail;
20721 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20722 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20723 {
20724 PyThreadState* __tstate = wxPyBeginAllowThreads();
20725 {
20726 wxPrintData &_result_ref = (arg1)->GetPrintData();
20727 result = (wxPrintData *) &_result_ref;
20728 }
20729
20730 wxPyEndAllowThreads(__tstate);
20731 if (PyErr_Occurred()) SWIG_fail;
20732 }
20733 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
20734 return resultobj;
20735 fail:
20736 return NULL;
20737 }
20738
20739
20740 static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
20741 PyObject *resultobj;
20742 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20743 bool result;
20744 PyObject * obj0 = 0 ;
20745 char *kwnames[] = {
20746 (char *) "self", NULL
20747 };
20748
20749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_Ok",kwnames,&obj0)) goto fail;
20750 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20751 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20752 {
20753 PyThreadState* __tstate = wxPyBeginAllowThreads();
20754 result = (bool)(arg1)->Ok();
20755
20756 wxPyEndAllowThreads(__tstate);
20757 if (PyErr_Occurred()) SWIG_fail;
20758 }
20759 {
20760 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20761 }
20762 return resultobj;
20763 fail:
20764 return NULL;
20765 }
20766
20767
20768 static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *, PyObject *args, PyObject *kwargs) {
20769 PyObject *resultobj;
20770 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20771 bool arg2 ;
20772 PyObject * obj0 = 0 ;
20773 PyObject * obj1 = 0 ;
20774 char *kwnames[] = {
20775 (char *) "self",(char *) "flag", NULL
20776 };
20777
20778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail;
20779 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20780 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20781 arg2 = (bool)SWIG_As_bool(obj1);
20782 if (PyErr_Occurred()) SWIG_fail;
20783 {
20784 PyThreadState* __tstate = wxPyBeginAllowThreads();
20785 (arg1)->SetDefaultInfo(arg2);
20786
20787 wxPyEndAllowThreads(__tstate);
20788 if (PyErr_Occurred()) SWIG_fail;
20789 }
20790 Py_INCREF(Py_None); resultobj = Py_None;
20791 return resultobj;
20792 fail:
20793 return NULL;
20794 }
20795
20796
20797 static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *, PyObject *args, PyObject *kwargs) {
20798 PyObject *resultobj;
20799 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20800 bool arg2 ;
20801 PyObject * obj0 = 0 ;
20802 PyObject * obj1 = 0 ;
20803 char *kwnames[] = {
20804 (char *) "self",(char *) "flag", NULL
20805 };
20806
20807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail;
20808 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20809 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20810 arg2 = (bool)SWIG_As_bool(obj1);
20811 if (PyErr_Occurred()) SWIG_fail;
20812 {
20813 PyThreadState* __tstate = wxPyBeginAllowThreads();
20814 (arg1)->SetDefaultMinMargins(arg2);
20815
20816 wxPyEndAllowThreads(__tstate);
20817 if (PyErr_Occurred()) SWIG_fail;
20818 }
20819 Py_INCREF(Py_None); resultobj = Py_None;
20820 return resultobj;
20821 fail:
20822 return NULL;
20823 }
20824
20825
20826 static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
20827 PyObject *resultobj;
20828 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20829 wxPoint *arg2 = 0 ;
20830 wxPoint temp2 ;
20831 PyObject * obj0 = 0 ;
20832 PyObject * obj1 = 0 ;
20833 char *kwnames[] = {
20834 (char *) "self",(char *) "pt", NULL
20835 };
20836
20837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
20838 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20839 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20840 {
20841 arg2 = &temp2;
20842 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20843 }
20844 {
20845 PyThreadState* __tstate = wxPyBeginAllowThreads();
20846 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
20847
20848 wxPyEndAllowThreads(__tstate);
20849 if (PyErr_Occurred()) SWIG_fail;
20850 }
20851 Py_INCREF(Py_None); resultobj = Py_None;
20852 return resultobj;
20853 fail:
20854 return NULL;
20855 }
20856
20857
20858 static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
20859 PyObject *resultobj;
20860 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20861 wxPoint *arg2 = 0 ;
20862 wxPoint temp2 ;
20863 PyObject * obj0 = 0 ;
20864 PyObject * obj1 = 0 ;
20865 char *kwnames[] = {
20866 (char *) "self",(char *) "pt", NULL
20867 };
20868
20869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
20870 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20871 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20872 {
20873 arg2 = &temp2;
20874 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20875 }
20876 {
20877 PyThreadState* __tstate = wxPyBeginAllowThreads();
20878 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
20879
20880 wxPyEndAllowThreads(__tstate);
20881 if (PyErr_Occurred()) SWIG_fail;
20882 }
20883 Py_INCREF(Py_None); resultobj = Py_None;
20884 return resultobj;
20885 fail:
20886 return NULL;
20887 }
20888
20889
20890 static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
20891 PyObject *resultobj;
20892 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20893 wxPoint *arg2 = 0 ;
20894 wxPoint temp2 ;
20895 PyObject * obj0 = 0 ;
20896 PyObject * obj1 = 0 ;
20897 char *kwnames[] = {
20898 (char *) "self",(char *) "pt", NULL
20899 };
20900
20901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
20902 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20903 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20904 {
20905 arg2 = &temp2;
20906 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20907 }
20908 {
20909 PyThreadState* __tstate = wxPyBeginAllowThreads();
20910 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
20911
20912 wxPyEndAllowThreads(__tstate);
20913 if (PyErr_Occurred()) SWIG_fail;
20914 }
20915 Py_INCREF(Py_None); resultobj = Py_None;
20916 return resultobj;
20917 fail:
20918 return NULL;
20919 }
20920
20921
20922 static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
20923 PyObject *resultobj;
20924 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20925 wxPoint *arg2 = 0 ;
20926 wxPoint temp2 ;
20927 PyObject * obj0 = 0 ;
20928 PyObject * obj1 = 0 ;
20929 char *kwnames[] = {
20930 (char *) "self",(char *) "pt", NULL
20931 };
20932
20933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
20934 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20935 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20936 {
20937 arg2 = &temp2;
20938 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20939 }
20940 {
20941 PyThreadState* __tstate = wxPyBeginAllowThreads();
20942 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
20943
20944 wxPyEndAllowThreads(__tstate);
20945 if (PyErr_Occurred()) SWIG_fail;
20946 }
20947 Py_INCREF(Py_None); resultobj = Py_None;
20948 return resultobj;
20949 fail:
20950 return NULL;
20951 }
20952
20953
20954 static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
20955 PyObject *resultobj;
20956 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20957 int arg2 ;
20958 PyObject * obj0 = 0 ;
20959 PyObject * obj1 = 0 ;
20960 char *kwnames[] = {
20961 (char *) "self",(char *) "id", NULL
20962 };
20963
20964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
20965 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20966 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20967 arg2 = (int)SWIG_As_int(obj1);
20968 if (PyErr_Occurred()) SWIG_fail;
20969 {
20970 PyThreadState* __tstate = wxPyBeginAllowThreads();
20971 (arg1)->SetPaperId((wxPaperSize )arg2);
20972
20973 wxPyEndAllowThreads(__tstate);
20974 if (PyErr_Occurred()) SWIG_fail;
20975 }
20976 Py_INCREF(Py_None); resultobj = Py_None;
20977 return resultobj;
20978 fail:
20979 return NULL;
20980 }
20981
20982
20983 static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
20984 PyObject *resultobj;
20985 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20986 wxSize *arg2 = 0 ;
20987 wxSize temp2 ;
20988 PyObject * obj0 = 0 ;
20989 PyObject * obj1 = 0 ;
20990 char *kwnames[] = {
20991 (char *) "self",(char *) "size", NULL
20992 };
20993
20994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
20995 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20996 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20997 {
20998 arg2 = &temp2;
20999 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
21000 }
21001 {
21002 PyThreadState* __tstate = wxPyBeginAllowThreads();
21003 (arg1)->SetPaperSize((wxSize const &)*arg2);
21004
21005 wxPyEndAllowThreads(__tstate);
21006 if (PyErr_Occurred()) SWIG_fail;
21007 }
21008 Py_INCREF(Py_None); resultobj = Py_None;
21009 return resultobj;
21010 fail:
21011 return NULL;
21012 }
21013
21014
21015 static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
21016 PyObject *resultobj;
21017 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21018 wxPrintData *arg2 = 0 ;
21019 PyObject * obj0 = 0 ;
21020 PyObject * obj1 = 0 ;
21021 char *kwnames[] = {
21022 (char *) "self",(char *) "printData", NULL
21023 };
21024
21025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
21026 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
21027 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21028 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData,
21029 SWIG_POINTER_EXCEPTION | 0)) == -1)
21030 SWIG_fail;
21031 if (arg2 == NULL) {
21032 PyErr_SetString(PyExc_TypeError,"null reference");
21033 SWIG_fail;
21034 }
21035 {
21036 PyThreadState* __tstate = wxPyBeginAllowThreads();
21037 (arg1)->SetPrintData((wxPrintData const &)*arg2);
21038
21039 wxPyEndAllowThreads(__tstate);
21040 if (PyErr_Occurred()) SWIG_fail;
21041 }
21042 Py_INCREF(Py_None); resultobj = Py_None;
21043 return resultobj;
21044 fail:
21045 return NULL;
21046 }
21047
21048
21049 static PyObject * PageSetupDialogData_swigregister(PyObject *, PyObject *args) {
21050 PyObject *obj;
21051 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21052 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj);
21053 Py_INCREF(obj);
21054 return Py_BuildValue((char *)"");
21055 }
21056 static PyObject *_wrap_new_PageSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
21057 PyObject *resultobj;
21058 wxWindow *arg1 = (wxWindow *) 0 ;
21059 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
21060 wxPageSetupDialog *result;
21061 PyObject * obj0 = 0 ;
21062 PyObject * obj1 = 0 ;
21063 char *kwnames[] = {
21064 (char *) "parent",(char *) "data", NULL
21065 };
21066
21067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail;
21068 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21069 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21070 if (obj1) {
21071 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPageSetupDialogData,
21072 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21073 }
21074 {
21075 if (!wxPyCheckForApp()) SWIG_fail;
21076 PyThreadState* __tstate = wxPyBeginAllowThreads();
21077 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
21078
21079 wxPyEndAllowThreads(__tstate);
21080 if (PyErr_Occurred()) SWIG_fail;
21081 }
21082 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialog, 1);
21083 return resultobj;
21084 fail:
21085 return NULL;
21086 }
21087
21088
21089 static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *, PyObject *args, PyObject *kwargs) {
21090 PyObject *resultobj;
21091 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
21092 wxPageSetupDialogData *result;
21093 PyObject * obj0 = 0 ;
21094 char *kwnames[] = {
21095 (char *) "self", NULL
21096 };
21097
21098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail;
21099 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog,
21100 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21101 {
21102 PyThreadState* __tstate = wxPyBeginAllowThreads();
21103 {
21104 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
21105 result = (wxPageSetupDialogData *) &_result_ref;
21106 }
21107
21108 wxPyEndAllowThreads(__tstate);
21109 if (PyErr_Occurred()) SWIG_fail;
21110 }
21111 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
21112 return resultobj;
21113 fail:
21114 return NULL;
21115 }
21116
21117
21118 static PyObject *_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
21119 PyObject *resultobj;
21120 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
21121 wxPageSetupDialogData *result;
21122 PyObject * obj0 = 0 ;
21123 char *kwnames[] = {
21124 (char *) "self", NULL
21125 };
21126
21127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupDialogData",kwnames,&obj0)) goto fail;
21128 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog,
21129 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21130 {
21131 PyThreadState* __tstate = wxPyBeginAllowThreads();
21132 {
21133 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupDialogData();
21134 result = (wxPageSetupDialogData *) &_result_ref;
21135 }
21136
21137 wxPyEndAllowThreads(__tstate);
21138 if (PyErr_Occurred()) SWIG_fail;
21139 }
21140 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
21141 return resultobj;
21142 fail:
21143 return NULL;
21144 }
21145
21146
21147 static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
21148 PyObject *resultobj;
21149 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
21150 int result;
21151 PyObject * obj0 = 0 ;
21152 char *kwnames[] = {
21153 (char *) "self", NULL
21154 };
21155
21156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail;
21157 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog,
21158 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21159 {
21160 PyThreadState* __tstate = wxPyBeginAllowThreads();
21161 result = (int)(arg1)->ShowModal();
21162
21163 wxPyEndAllowThreads(__tstate);
21164 if (PyErr_Occurred()) SWIG_fail;
21165 }
21166 resultobj = SWIG_From_int((int)result);
21167 return resultobj;
21168 fail:
21169 return NULL;
21170 }
21171
21172
21173 static PyObject * PageSetupDialog_swigregister(PyObject *, PyObject *args) {
21174 PyObject *obj;
21175 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21176 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj);
21177 Py_INCREF(obj);
21178 return Py_BuildValue((char *)"");
21179 }
21180 static PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *, PyObject *args) {
21181 PyObject *resultobj;
21182 wxPrintDialogData *result;
21183
21184 if(!PyArg_ParseTuple(args,(char *)":new_PrintDialogData")) goto fail;
21185 {
21186 PyThreadState* __tstate = wxPyBeginAllowThreads();
21187 result = (wxPrintDialogData *)new wxPrintDialogData();
21188
21189 wxPyEndAllowThreads(__tstate);
21190 if (PyErr_Occurred()) SWIG_fail;
21191 }
21192 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
21193 return resultobj;
21194 fail:
21195 return NULL;
21196 }
21197
21198
21199 static PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *, PyObject *args) {
21200 PyObject *resultobj;
21201 wxPrintData *arg1 = 0 ;
21202 wxPrintDialogData *result;
21203 PyObject * obj0 = 0 ;
21204
21205 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintDialogData",&obj0)) goto fail;
21206 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
21207 SWIG_POINTER_EXCEPTION | 0)) == -1)
21208 SWIG_fail;
21209 if (arg1 == NULL) {
21210 PyErr_SetString(PyExc_TypeError,"null reference");
21211 SWIG_fail;
21212 }
21213 {
21214 PyThreadState* __tstate = wxPyBeginAllowThreads();
21215 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
21216
21217 wxPyEndAllowThreads(__tstate);
21218 if (PyErr_Occurred()) SWIG_fail;
21219 }
21220 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
21221 return resultobj;
21222 fail:
21223 return NULL;
21224 }
21225
21226
21227 static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
21228 int argc;
21229 PyObject *argv[2];
21230 int ii;
21231
21232 argc = PyObject_Length(args);
21233 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
21234 argv[ii] = PyTuple_GetItem(args,ii);
21235 }
21236 if (argc == 0) {
21237 return _wrap_new_PrintDialogData__SWIG_0(self,args);
21238 }
21239 if (argc == 1) {
21240 int _v;
21241 {
21242 void *ptr;
21243 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
21244 _v = 0;
21245 PyErr_Clear();
21246 } else {
21247 _v = 1;
21248 }
21249 }
21250 if (_v) {
21251 return _wrap_new_PrintDialogData__SWIG_1(self,args);
21252 }
21253 }
21254
21255 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintDialogData'");
21256 return NULL;
21257 }
21258
21259
21260 static PyObject *_wrap_delete_PrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
21261 PyObject *resultobj;
21262 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21263 PyObject * obj0 = 0 ;
21264 char *kwnames[] = {
21265 (char *) "self", NULL
21266 };
21267
21268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail;
21269 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21270 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21271 {
21272 PyThreadState* __tstate = wxPyBeginAllowThreads();
21273 delete arg1;
21274
21275 wxPyEndAllowThreads(__tstate);
21276 if (PyErr_Occurred()) SWIG_fail;
21277 }
21278 Py_INCREF(Py_None); resultobj = Py_None;
21279 return resultobj;
21280 fail:
21281 return NULL;
21282 }
21283
21284
21285 static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
21286 PyObject *resultobj;
21287 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21288 int result;
21289 PyObject * obj0 = 0 ;
21290 char *kwnames[] = {
21291 (char *) "self", NULL
21292 };
21293
21294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail;
21295 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21296 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21297 {
21298 PyThreadState* __tstate = wxPyBeginAllowThreads();
21299 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
21300
21301 wxPyEndAllowThreads(__tstate);
21302 if (PyErr_Occurred()) SWIG_fail;
21303 }
21304 resultobj = SWIG_From_int((int)result);
21305 return resultobj;
21306 fail:
21307 return NULL;
21308 }
21309
21310
21311 static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *, PyObject *args, PyObject *kwargs) {
21312 PyObject *resultobj;
21313 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21314 int result;
21315 PyObject * obj0 = 0 ;
21316 char *kwnames[] = {
21317 (char *) "self", NULL
21318 };
21319
21320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail;
21321 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21322 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21323 {
21324 PyThreadState* __tstate = wxPyBeginAllowThreads();
21325 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
21326
21327 wxPyEndAllowThreads(__tstate);
21328 if (PyErr_Occurred()) SWIG_fail;
21329 }
21330 resultobj = SWIG_From_int((int)result);
21331 return resultobj;
21332 fail:
21333 return NULL;
21334 }
21335
21336
21337 static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
21338 PyObject *resultobj;
21339 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21340 int result;
21341 PyObject * obj0 = 0 ;
21342 char *kwnames[] = {
21343 (char *) "self", NULL
21344 };
21345
21346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail;
21347 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21348 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21349 {
21350 PyThreadState* __tstate = wxPyBeginAllowThreads();
21351 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
21352
21353 wxPyEndAllowThreads(__tstate);
21354 if (PyErr_Occurred()) SWIG_fail;
21355 }
21356 resultobj = SWIG_From_int((int)result);
21357 return resultobj;
21358 fail:
21359 return NULL;
21360 }
21361
21362
21363 static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
21364 PyObject *resultobj;
21365 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21366 int result;
21367 PyObject * obj0 = 0 ;
21368 char *kwnames[] = {
21369 (char *) "self", NULL
21370 };
21371
21372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail;
21373 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21374 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21375 {
21376 PyThreadState* __tstate = wxPyBeginAllowThreads();
21377 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
21378
21379 wxPyEndAllowThreads(__tstate);
21380 if (PyErr_Occurred()) SWIG_fail;
21381 }
21382 resultobj = SWIG_From_int((int)result);
21383 return resultobj;
21384 fail:
21385 return NULL;
21386 }
21387
21388
21389 static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
21390 PyObject *resultobj;
21391 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21392 int result;
21393 PyObject * obj0 = 0 ;
21394 char *kwnames[] = {
21395 (char *) "self", NULL
21396 };
21397
21398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail;
21399 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21400 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21401 {
21402 PyThreadState* __tstate = wxPyBeginAllowThreads();
21403 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
21404
21405 wxPyEndAllowThreads(__tstate);
21406 if (PyErr_Occurred()) SWIG_fail;
21407 }
21408 resultobj = SWIG_From_int((int)result);
21409 return resultobj;
21410 fail:
21411 return NULL;
21412 }
21413
21414
21415 static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
21416 PyObject *resultobj;
21417 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21418 bool result;
21419 PyObject * obj0 = 0 ;
21420 char *kwnames[] = {
21421 (char *) "self", NULL
21422 };
21423
21424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail;
21425 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21426 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21427 {
21428 PyThreadState* __tstate = wxPyBeginAllowThreads();
21429 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
21430
21431 wxPyEndAllowThreads(__tstate);
21432 if (PyErr_Occurred()) SWIG_fail;
21433 }
21434 {
21435 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21436 }
21437 return resultobj;
21438 fail:
21439 return NULL;
21440 }
21441
21442
21443 static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
21444 PyObject *resultobj;
21445 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21446 bool result;
21447 PyObject * obj0 = 0 ;
21448 char *kwnames[] = {
21449 (char *) "self", NULL
21450 };
21451
21452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail;
21453 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21454 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21455 {
21456 PyThreadState* __tstate = wxPyBeginAllowThreads();
21457 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
21458
21459 wxPyEndAllowThreads(__tstate);
21460 if (PyErr_Occurred()) SWIG_fail;
21461 }
21462 {
21463 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21464 }
21465 return resultobj;
21466 fail:
21467 return NULL;
21468 }
21469
21470
21471 static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
21472 PyObject *resultobj;
21473 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21474 bool result;
21475 PyObject * obj0 = 0 ;
21476 char *kwnames[] = {
21477 (char *) "self", NULL
21478 };
21479
21480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail;
21481 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21482 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21483 {
21484 PyThreadState* __tstate = wxPyBeginAllowThreads();
21485 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
21486
21487 wxPyEndAllowThreads(__tstate);
21488 if (PyErr_Occurred()) SWIG_fail;
21489 }
21490 {
21491 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21492 }
21493 return resultobj;
21494 fail:
21495 return NULL;
21496 }
21497
21498
21499 static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
21500 PyObject *resultobj;
21501 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21502 bool result;
21503 PyObject * obj0 = 0 ;
21504 char *kwnames[] = {
21505 (char *) "self", NULL
21506 };
21507
21508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail;
21509 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21510 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21511 {
21512 PyThreadState* __tstate = wxPyBeginAllowThreads();
21513 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
21514
21515 wxPyEndAllowThreads(__tstate);
21516 if (PyErr_Occurred()) SWIG_fail;
21517 }
21518 {
21519 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21520 }
21521 return resultobj;
21522 fail:
21523 return NULL;
21524 }
21525
21526
21527 static PyObject *_wrap_PrintDialogData_GetSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
21528 PyObject *resultobj;
21529 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21530 bool result;
21531 PyObject * obj0 = 0 ;
21532 char *kwnames[] = {
21533 (char *) "self", NULL
21534 };
21535
21536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSetupDialog",kwnames,&obj0)) goto fail;
21537 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21538 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21539 {
21540 PyThreadState* __tstate = wxPyBeginAllowThreads();
21541 result = (bool)((wxPrintDialogData const *)arg1)->GetSetupDialog();
21542
21543 wxPyEndAllowThreads(__tstate);
21544 if (PyErr_Occurred()) SWIG_fail;
21545 }
21546 {
21547 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21548 }
21549 return resultobj;
21550 fail:
21551 return NULL;
21552 }
21553
21554
21555 static PyObject *_wrap_PrintDialogData_SetSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
21556 PyObject *resultobj;
21557 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21558 bool arg2 ;
21559 PyObject * obj0 = 0 ;
21560 PyObject * obj1 = 0 ;
21561 char *kwnames[] = {
21562 (char *) "self",(char *) "flag", NULL
21563 };
21564
21565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames,&obj0,&obj1)) goto fail;
21566 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21567 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21568 arg2 = (bool)SWIG_As_bool(obj1);
21569 if (PyErr_Occurred()) SWIG_fail;
21570 {
21571 PyThreadState* __tstate = wxPyBeginAllowThreads();
21572 (arg1)->SetSetupDialog(arg2);
21573
21574 wxPyEndAllowThreads(__tstate);
21575 if (PyErr_Occurred()) SWIG_fail;
21576 }
21577 Py_INCREF(Py_None); resultobj = Py_None;
21578 return resultobj;
21579 fail:
21580 return NULL;
21581 }
21582
21583
21584 static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
21585 PyObject *resultobj;
21586 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21587 int arg2 ;
21588 PyObject * obj0 = 0 ;
21589 PyObject * obj1 = 0 ;
21590 char *kwnames[] = {
21591 (char *) "self",(char *) "v", NULL
21592 };
21593
21594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) goto fail;
21595 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21596 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21597 arg2 = (int)SWIG_As_int(obj1);
21598 if (PyErr_Occurred()) SWIG_fail;
21599 {
21600 PyThreadState* __tstate = wxPyBeginAllowThreads();
21601 (arg1)->SetFromPage(arg2);
21602
21603 wxPyEndAllowThreads(__tstate);
21604 if (PyErr_Occurred()) SWIG_fail;
21605 }
21606 Py_INCREF(Py_None); resultobj = Py_None;
21607 return resultobj;
21608 fail:
21609 return NULL;
21610 }
21611
21612
21613 static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *, PyObject *args, PyObject *kwargs) {
21614 PyObject *resultobj;
21615 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21616 int arg2 ;
21617 PyObject * obj0 = 0 ;
21618 PyObject * obj1 = 0 ;
21619 char *kwnames[] = {
21620 (char *) "self",(char *) "v", NULL
21621 };
21622
21623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) goto fail;
21624 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21625 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21626 arg2 = (int)SWIG_As_int(obj1);
21627 if (PyErr_Occurred()) SWIG_fail;
21628 {
21629 PyThreadState* __tstate = wxPyBeginAllowThreads();
21630 (arg1)->SetToPage(arg2);
21631
21632 wxPyEndAllowThreads(__tstate);
21633 if (PyErr_Occurred()) SWIG_fail;
21634 }
21635 Py_INCREF(Py_None); resultobj = Py_None;
21636 return resultobj;
21637 fail:
21638 return NULL;
21639 }
21640
21641
21642 static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
21643 PyObject *resultobj;
21644 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21645 int arg2 ;
21646 PyObject * obj0 = 0 ;
21647 PyObject * obj1 = 0 ;
21648 char *kwnames[] = {
21649 (char *) "self",(char *) "v", NULL
21650 };
21651
21652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) goto fail;
21653 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21654 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21655 arg2 = (int)SWIG_As_int(obj1);
21656 if (PyErr_Occurred()) SWIG_fail;
21657 {
21658 PyThreadState* __tstate = wxPyBeginAllowThreads();
21659 (arg1)->SetMinPage(arg2);
21660
21661 wxPyEndAllowThreads(__tstate);
21662 if (PyErr_Occurred()) SWIG_fail;
21663 }
21664 Py_INCREF(Py_None); resultobj = Py_None;
21665 return resultobj;
21666 fail:
21667 return NULL;
21668 }
21669
21670
21671 static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
21672 PyObject *resultobj;
21673 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21674 int arg2 ;
21675 PyObject * obj0 = 0 ;
21676 PyObject * obj1 = 0 ;
21677 char *kwnames[] = {
21678 (char *) "self",(char *) "v", NULL
21679 };
21680
21681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) goto fail;
21682 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21683 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21684 arg2 = (int)SWIG_As_int(obj1);
21685 if (PyErr_Occurred()) SWIG_fail;
21686 {
21687 PyThreadState* __tstate = wxPyBeginAllowThreads();
21688 (arg1)->SetMaxPage(arg2);
21689
21690 wxPyEndAllowThreads(__tstate);
21691 if (PyErr_Occurred()) SWIG_fail;
21692 }
21693 Py_INCREF(Py_None); resultobj = Py_None;
21694 return resultobj;
21695 fail:
21696 return NULL;
21697 }
21698
21699
21700 static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
21701 PyObject *resultobj;
21702 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21703 int arg2 ;
21704 PyObject * obj0 = 0 ;
21705 PyObject * obj1 = 0 ;
21706 char *kwnames[] = {
21707 (char *) "self",(char *) "v", NULL
21708 };
21709
21710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
21711 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21712 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21713 arg2 = (int)SWIG_As_int(obj1);
21714 if (PyErr_Occurred()) SWIG_fail;
21715 {
21716 PyThreadState* __tstate = wxPyBeginAllowThreads();
21717 (arg1)->SetNoCopies(arg2);
21718
21719 wxPyEndAllowThreads(__tstate);
21720 if (PyErr_Occurred()) SWIG_fail;
21721 }
21722 Py_INCREF(Py_None); resultobj = Py_None;
21723 return resultobj;
21724 fail:
21725 return NULL;
21726 }
21727
21728
21729 static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
21730 PyObject *resultobj;
21731 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21732 bool arg2 ;
21733 PyObject * obj0 = 0 ;
21734 PyObject * obj1 = 0 ;
21735 char *kwnames[] = {
21736 (char *) "self",(char *) "flag", NULL
21737 };
21738
21739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail;
21740 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21741 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21742 arg2 = (bool)SWIG_As_bool(obj1);
21743 if (PyErr_Occurred()) SWIG_fail;
21744 {
21745 PyThreadState* __tstate = wxPyBeginAllowThreads();
21746 (arg1)->SetAllPages(arg2);
21747
21748 wxPyEndAllowThreads(__tstate);
21749 if (PyErr_Occurred()) SWIG_fail;
21750 }
21751 Py_INCREF(Py_None); resultobj = Py_None;
21752 return resultobj;
21753 fail:
21754 return NULL;
21755 }
21756
21757
21758 static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
21759 PyObject *resultobj;
21760 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21761 bool arg2 ;
21762 PyObject * obj0 = 0 ;
21763 PyObject * obj1 = 0 ;
21764 char *kwnames[] = {
21765 (char *) "self",(char *) "flag", NULL
21766 };
21767
21768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail;
21769 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21770 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21771 arg2 = (bool)SWIG_As_bool(obj1);
21772 if (PyErr_Occurred()) SWIG_fail;
21773 {
21774 PyThreadState* __tstate = wxPyBeginAllowThreads();
21775 (arg1)->SetSelection(arg2);
21776
21777 wxPyEndAllowThreads(__tstate);
21778 if (PyErr_Occurred()) SWIG_fail;
21779 }
21780 Py_INCREF(Py_None); resultobj = Py_None;
21781 return resultobj;
21782 fail:
21783 return NULL;
21784 }
21785
21786
21787 static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
21788 PyObject *resultobj;
21789 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21790 bool arg2 ;
21791 PyObject * obj0 = 0 ;
21792 PyObject * obj1 = 0 ;
21793 char *kwnames[] = {
21794 (char *) "self",(char *) "flag", NULL
21795 };
21796
21797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
21798 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21799 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21800 arg2 = (bool)SWIG_As_bool(obj1);
21801 if (PyErr_Occurred()) SWIG_fail;
21802 {
21803 PyThreadState* __tstate = wxPyBeginAllowThreads();
21804 (arg1)->SetCollate(arg2);
21805
21806 wxPyEndAllowThreads(__tstate);
21807 if (PyErr_Occurred()) SWIG_fail;
21808 }
21809 Py_INCREF(Py_None); resultobj = Py_None;
21810 return resultobj;
21811 fail:
21812 return NULL;
21813 }
21814
21815
21816 static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
21817 PyObject *resultobj;
21818 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21819 bool arg2 ;
21820 PyObject * obj0 = 0 ;
21821 PyObject * obj1 = 0 ;
21822 char *kwnames[] = {
21823 (char *) "self",(char *) "flag", NULL
21824 };
21825
21826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail;
21827 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21828 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21829 arg2 = (bool)SWIG_As_bool(obj1);
21830 if (PyErr_Occurred()) SWIG_fail;
21831 {
21832 PyThreadState* __tstate = wxPyBeginAllowThreads();
21833 (arg1)->SetPrintToFile(arg2);
21834
21835 wxPyEndAllowThreads(__tstate);
21836 if (PyErr_Occurred()) SWIG_fail;
21837 }
21838 Py_INCREF(Py_None); resultobj = Py_None;
21839 return resultobj;
21840 fail:
21841 return NULL;
21842 }
21843
21844
21845 static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
21846 PyObject *resultobj;
21847 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21848 bool arg2 ;
21849 PyObject * obj0 = 0 ;
21850 PyObject * obj1 = 0 ;
21851 char *kwnames[] = {
21852 (char *) "self",(char *) "flag", NULL
21853 };
21854
21855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail;
21856 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21857 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21858 arg2 = (bool)SWIG_As_bool(obj1);
21859 if (PyErr_Occurred()) SWIG_fail;
21860 {
21861 PyThreadState* __tstate = wxPyBeginAllowThreads();
21862 (arg1)->EnablePrintToFile(arg2);
21863
21864 wxPyEndAllowThreads(__tstate);
21865 if (PyErr_Occurred()) SWIG_fail;
21866 }
21867 Py_INCREF(Py_None); resultobj = Py_None;
21868 return resultobj;
21869 fail:
21870 return NULL;
21871 }
21872
21873
21874 static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *, PyObject *args, PyObject *kwargs) {
21875 PyObject *resultobj;
21876 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21877 bool arg2 ;
21878 PyObject * obj0 = 0 ;
21879 PyObject * obj1 = 0 ;
21880 char *kwnames[] = {
21881 (char *) "self",(char *) "flag", NULL
21882 };
21883
21884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail;
21885 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21886 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21887 arg2 = (bool)SWIG_As_bool(obj1);
21888 if (PyErr_Occurred()) SWIG_fail;
21889 {
21890 PyThreadState* __tstate = wxPyBeginAllowThreads();
21891 (arg1)->EnableSelection(arg2);
21892
21893 wxPyEndAllowThreads(__tstate);
21894 if (PyErr_Occurred()) SWIG_fail;
21895 }
21896 Py_INCREF(Py_None); resultobj = Py_None;
21897 return resultobj;
21898 fail:
21899 return NULL;
21900 }
21901
21902
21903 static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *, PyObject *args, PyObject *kwargs) {
21904 PyObject *resultobj;
21905 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21906 bool arg2 ;
21907 PyObject * obj0 = 0 ;
21908 PyObject * obj1 = 0 ;
21909 char *kwnames[] = {
21910 (char *) "self",(char *) "flag", NULL
21911 };
21912
21913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail;
21914 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21915 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21916 arg2 = (bool)SWIG_As_bool(obj1);
21917 if (PyErr_Occurred()) SWIG_fail;
21918 {
21919 PyThreadState* __tstate = wxPyBeginAllowThreads();
21920 (arg1)->EnablePageNumbers(arg2);
21921
21922 wxPyEndAllowThreads(__tstate);
21923 if (PyErr_Occurred()) SWIG_fail;
21924 }
21925 Py_INCREF(Py_None); resultobj = Py_None;
21926 return resultobj;
21927 fail:
21928 return NULL;
21929 }
21930
21931
21932 static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
21933 PyObject *resultobj;
21934 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21935 bool arg2 ;
21936 PyObject * obj0 = 0 ;
21937 PyObject * obj1 = 0 ;
21938 char *kwnames[] = {
21939 (char *) "self",(char *) "flag", NULL
21940 };
21941
21942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
21943 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21944 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21945 arg2 = (bool)SWIG_As_bool(obj1);
21946 if (PyErr_Occurred()) SWIG_fail;
21947 {
21948 PyThreadState* __tstate = wxPyBeginAllowThreads();
21949 (arg1)->EnableHelp(arg2);
21950
21951 wxPyEndAllowThreads(__tstate);
21952 if (PyErr_Occurred()) SWIG_fail;
21953 }
21954 Py_INCREF(Py_None); resultobj = Py_None;
21955 return resultobj;
21956 fail:
21957 return NULL;
21958 }
21959
21960
21961 static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
21962 PyObject *resultobj;
21963 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21964 bool result;
21965 PyObject * obj0 = 0 ;
21966 char *kwnames[] = {
21967 (char *) "self", NULL
21968 };
21969
21970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail;
21971 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21972 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21973 {
21974 PyThreadState* __tstate = wxPyBeginAllowThreads();
21975 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
21976
21977 wxPyEndAllowThreads(__tstate);
21978 if (PyErr_Occurred()) SWIG_fail;
21979 }
21980 {
21981 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21982 }
21983 return resultobj;
21984 fail:
21985 return NULL;
21986 }
21987
21988
21989 static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *, PyObject *args, PyObject *kwargs) {
21990 PyObject *resultobj;
21991 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21992 bool result;
21993 PyObject * obj0 = 0 ;
21994 char *kwnames[] = {
21995 (char *) "self", NULL
21996 };
21997
21998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail;
21999 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
22000 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22001 {
22002 PyThreadState* __tstate = wxPyBeginAllowThreads();
22003 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
22004
22005 wxPyEndAllowThreads(__tstate);
22006 if (PyErr_Occurred()) SWIG_fail;
22007 }
22008 {
22009 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22010 }
22011 return resultobj;
22012 fail:
22013 return NULL;
22014 }
22015
22016
22017 static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *, PyObject *args, PyObject *kwargs) {
22018 PyObject *resultobj;
22019 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
22020 bool result;
22021 PyObject * obj0 = 0 ;
22022 char *kwnames[] = {
22023 (char *) "self", NULL
22024 };
22025
22026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail;
22027 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
22028 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22029 {
22030 PyThreadState* __tstate = wxPyBeginAllowThreads();
22031 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
22032
22033 wxPyEndAllowThreads(__tstate);
22034 if (PyErr_Occurred()) SWIG_fail;
22035 }
22036 {
22037 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22038 }
22039 return resultobj;
22040 fail:
22041 return NULL;
22042 }
22043
22044
22045 static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
22046 PyObject *resultobj;
22047 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
22048 bool result;
22049 PyObject * obj0 = 0 ;
22050 char *kwnames[] = {
22051 (char *) "self", NULL
22052 };
22053
22054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
22055 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
22056 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22057 {
22058 PyThreadState* __tstate = wxPyBeginAllowThreads();
22059 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
22060
22061 wxPyEndAllowThreads(__tstate);
22062 if (PyErr_Occurred()) SWIG_fail;
22063 }
22064 {
22065 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22066 }
22067 return resultobj;
22068 fail:
22069 return NULL;
22070 }
22071
22072
22073 static PyObject *_wrap_PrintDialogData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
22074 PyObject *resultobj;
22075 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
22076 bool result;
22077 PyObject * obj0 = 0 ;
22078 char *kwnames[] = {
22079 (char *) "self", NULL
22080 };
22081
22082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail;
22083 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
22084 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22085 {
22086 PyThreadState* __tstate = wxPyBeginAllowThreads();
22087 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
22088
22089 wxPyEndAllowThreads(__tstate);
22090 if (PyErr_Occurred()) SWIG_fail;
22091 }
22092 {
22093 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22094 }
22095 return resultobj;
22096 fail:
22097 return NULL;
22098 }
22099
22100
22101 static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
22102 PyObject *resultobj;
22103 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
22104 wxPrintData *result;
22105 PyObject * obj0 = 0 ;
22106 char *kwnames[] = {
22107 (char *) "self", NULL
22108 };
22109
22110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail;
22111 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
22112 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22113 {
22114 PyThreadState* __tstate = wxPyBeginAllowThreads();
22115 {
22116 wxPrintData &_result_ref = (arg1)->GetPrintData();
22117 result = (wxPrintData *) &_result_ref;
22118 }
22119
22120 wxPyEndAllowThreads(__tstate);
22121 if (PyErr_Occurred()) SWIG_fail;
22122 }
22123 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
22124 return resultobj;
22125 fail:
22126 return NULL;
22127 }
22128
22129
22130 static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
22131 PyObject *resultobj;
22132 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
22133 wxPrintData *arg2 = 0 ;
22134 PyObject * obj0 = 0 ;
22135 PyObject * obj1 = 0 ;
22136 char *kwnames[] = {
22137 (char *) "self",(char *) "printData", NULL
22138 };
22139
22140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
22141 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
22142 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22143 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData,
22144 SWIG_POINTER_EXCEPTION | 0)) == -1)
22145 SWIG_fail;
22146 if (arg2 == NULL) {
22147 PyErr_SetString(PyExc_TypeError,"null reference");
22148 SWIG_fail;
22149 }
22150 {
22151 PyThreadState* __tstate = wxPyBeginAllowThreads();
22152 (arg1)->SetPrintData((wxPrintData const &)*arg2);
22153
22154 wxPyEndAllowThreads(__tstate);
22155 if (PyErr_Occurred()) SWIG_fail;
22156 }
22157 Py_INCREF(Py_None); resultobj = Py_None;
22158 return resultobj;
22159 fail:
22160 return NULL;
22161 }
22162
22163
22164 static PyObject * PrintDialogData_swigregister(PyObject *, PyObject *args) {
22165 PyObject *obj;
22166 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22167 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj);
22168 Py_INCREF(obj);
22169 return Py_BuildValue((char *)"");
22170 }
22171 static PyObject *_wrap_new_PrintDialog(PyObject *, PyObject *args, PyObject *kwargs) {
22172 PyObject *resultobj;
22173 wxWindow *arg1 = (wxWindow *) 0 ;
22174 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
22175 wxPrintDialog *result;
22176 PyObject * obj0 = 0 ;
22177 PyObject * obj1 = 0 ;
22178 char *kwnames[] = {
22179 (char *) "parent",(char *) "data", NULL
22180 };
22181
22182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
22183 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22184 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22185 if (obj1) {
22186 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintDialogData,
22187 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22188 }
22189 {
22190 if (!wxPyCheckForApp()) SWIG_fail;
22191 PyThreadState* __tstate = wxPyBeginAllowThreads();
22192 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
22193
22194 wxPyEndAllowThreads(__tstate);
22195 if (PyErr_Occurred()) SWIG_fail;
22196 }
22197 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialog, 1);
22198 return resultobj;
22199 fail:
22200 return NULL;
22201 }
22202
22203
22204 static PyObject *_wrap_PrintDialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
22205 PyObject *resultobj;
22206 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
22207 int result;
22208 PyObject * obj0 = 0 ;
22209 char *kwnames[] = {
22210 (char *) "self", NULL
22211 };
22212
22213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail;
22214 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
22215 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22216 {
22217 PyThreadState* __tstate = wxPyBeginAllowThreads();
22218 result = (int)(arg1)->ShowModal();
22219
22220 wxPyEndAllowThreads(__tstate);
22221 if (PyErr_Occurred()) SWIG_fail;
22222 }
22223 resultobj = SWIG_From_int((int)result);
22224 return resultobj;
22225 fail:
22226 return NULL;
22227 }
22228
22229
22230 static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
22231 PyObject *resultobj;
22232 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
22233 wxPrintDialogData *result;
22234 PyObject * obj0 = 0 ;
22235 char *kwnames[] = {
22236 (char *) "self", NULL
22237 };
22238
22239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail;
22240 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
22241 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22242 {
22243 PyThreadState* __tstate = wxPyBeginAllowThreads();
22244 {
22245 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
22246 result = (wxPrintDialogData *) &_result_ref;
22247 }
22248
22249 wxPyEndAllowThreads(__tstate);
22250 if (PyErr_Occurred()) SWIG_fail;
22251 }
22252 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
22253 return resultobj;
22254 fail:
22255 return NULL;
22256 }
22257
22258
22259 static PyObject *_wrap_PrintDialog_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
22260 PyObject *resultobj;
22261 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
22262 wxPrintData *result;
22263 PyObject * obj0 = 0 ;
22264 char *kwnames[] = {
22265 (char *) "self", NULL
22266 };
22267
22268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintData",kwnames,&obj0)) goto fail;
22269 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
22270 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22271 {
22272 PyThreadState* __tstate = wxPyBeginAllowThreads();
22273 {
22274 wxPrintData &_result_ref = (arg1)->GetPrintData();
22275 result = (wxPrintData *) &_result_ref;
22276 }
22277
22278 wxPyEndAllowThreads(__tstate);
22279 if (PyErr_Occurred()) SWIG_fail;
22280 }
22281 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
22282 return resultobj;
22283 fail:
22284 return NULL;
22285 }
22286
22287
22288 static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *, PyObject *args, PyObject *kwargs) {
22289 PyObject *resultobj;
22290 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
22291 wxDC *result;
22292 PyObject * obj0 = 0 ;
22293 char *kwnames[] = {
22294 (char *) "self", NULL
22295 };
22296
22297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail;
22298 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
22299 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22300 {
22301 PyThreadState* __tstate = wxPyBeginAllowThreads();
22302 result = (wxDC *)(arg1)->GetPrintDC();
22303
22304 wxPyEndAllowThreads(__tstate);
22305 if (PyErr_Occurred()) SWIG_fail;
22306 }
22307 {
22308 resultobj = wxPyMake_wxObject(result, 1);
22309 }
22310 return resultobj;
22311 fail:
22312 return NULL;
22313 }
22314
22315
22316 static PyObject * PrintDialog_swigregister(PyObject *, PyObject *args) {
22317 PyObject *obj;
22318 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22319 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj);
22320 Py_INCREF(obj);
22321 return Py_BuildValue((char *)"");
22322 }
22323 static PyObject *_wrap_new_Printer(PyObject *, PyObject *args, PyObject *kwargs) {
22324 PyObject *resultobj;
22325 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
22326 wxPrinter *result;
22327 PyObject * obj0 = 0 ;
22328 char *kwnames[] = {
22329 (char *) "data", NULL
22330 };
22331
22332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail;
22333 if (obj0) {
22334 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
22335 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22336 }
22337 {
22338 if (!wxPyCheckForApp()) SWIG_fail;
22339 PyThreadState* __tstate = wxPyBeginAllowThreads();
22340 result = (wxPrinter *)new wxPrinter(arg1);
22341
22342 wxPyEndAllowThreads(__tstate);
22343 if (PyErr_Occurred()) SWIG_fail;
22344 }
22345 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrinter, 1);
22346 return resultobj;
22347 fail:
22348 return NULL;
22349 }
22350
22351
22352 static PyObject *_wrap_delete_Printer(PyObject *, PyObject *args, PyObject *kwargs) {
22353 PyObject *resultobj;
22354 wxPrinter *arg1 = (wxPrinter *) 0 ;
22355 PyObject * obj0 = 0 ;
22356 char *kwnames[] = {
22357 (char *) "self", NULL
22358 };
22359
22360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail;
22361 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
22362 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22363 {
22364 PyThreadState* __tstate = wxPyBeginAllowThreads();
22365 delete arg1;
22366
22367 wxPyEndAllowThreads(__tstate);
22368 if (PyErr_Occurred()) SWIG_fail;
22369 }
22370 Py_INCREF(Py_None); resultobj = Py_None;
22371 return resultobj;
22372 fail:
22373 return NULL;
22374 }
22375
22376
22377 static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *, PyObject *args, PyObject *kwargs) {
22378 PyObject *resultobj;
22379 wxPrinter *arg1 = (wxPrinter *) 0 ;
22380 wxWindow *arg2 = (wxWindow *) 0 ;
22381 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
22382 wxWindow *result;
22383 PyObject * obj0 = 0 ;
22384 PyObject * obj1 = 0 ;
22385 PyObject * obj2 = 0 ;
22386 char *kwnames[] = {
22387 (char *) "self",(char *) "parent",(char *) "printout", NULL
22388 };
22389
22390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
22391 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
22392 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22393 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
22394 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22395 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
22396 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22397 {
22398 PyThreadState* __tstate = wxPyBeginAllowThreads();
22399 result = (wxWindow *)(arg1)->CreateAbortWindow(arg2,arg3);
22400
22401 wxPyEndAllowThreads(__tstate);
22402 if (PyErr_Occurred()) SWIG_fail;
22403 }
22404 {
22405 resultobj = wxPyMake_wxObject(result, 0);
22406 }
22407 return resultobj;
22408 fail:
22409 return NULL;
22410 }
22411
22412
22413 static PyObject *_wrap_Printer_ReportError(PyObject *, PyObject *args, PyObject *kwargs) {
22414 PyObject *resultobj;
22415 wxPrinter *arg1 = (wxPrinter *) 0 ;
22416 wxWindow *arg2 = (wxWindow *) 0 ;
22417 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
22418 wxString *arg4 = 0 ;
22419 bool temp4 = false ;
22420 PyObject * obj0 = 0 ;
22421 PyObject * obj1 = 0 ;
22422 PyObject * obj2 = 0 ;
22423 PyObject * obj3 = 0 ;
22424 char *kwnames[] = {
22425 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
22426 };
22427
22428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
22429 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
22430 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22431 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
22432 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22433 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
22434 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22435 {
22436 arg4 = wxString_in_helper(obj3);
22437 if (arg4 == NULL) SWIG_fail;
22438 temp4 = true;
22439 }
22440 {
22441 PyThreadState* __tstate = wxPyBeginAllowThreads();
22442 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
22443
22444 wxPyEndAllowThreads(__tstate);
22445 if (PyErr_Occurred()) SWIG_fail;
22446 }
22447 Py_INCREF(Py_None); resultobj = Py_None;
22448 {
22449 if (temp4)
22450 delete arg4;
22451 }
22452 return resultobj;
22453 fail:
22454 {
22455 if (temp4)
22456 delete arg4;
22457 }
22458 return NULL;
22459 }
22460
22461
22462 static PyObject *_wrap_Printer_Setup(PyObject *, PyObject *args, PyObject *kwargs) {
22463 PyObject *resultobj;
22464 wxPrinter *arg1 = (wxPrinter *) 0 ;
22465 wxWindow *arg2 = (wxWindow *) 0 ;
22466 bool result;
22467 PyObject * obj0 = 0 ;
22468 PyObject * obj1 = 0 ;
22469 char *kwnames[] = {
22470 (char *) "self",(char *) "parent", NULL
22471 };
22472
22473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail;
22474 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
22475 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22476 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
22477 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22478 {
22479 PyThreadState* __tstate = wxPyBeginAllowThreads();
22480 result = (bool)(arg1)->Setup(arg2);
22481
22482 wxPyEndAllowThreads(__tstate);
22483 if (PyErr_Occurred()) SWIG_fail;
22484 }
22485 {
22486 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22487 }
22488 return resultobj;
22489 fail:
22490 return NULL;
22491 }
22492
22493
22494 static PyObject *_wrap_Printer_Print(PyObject *, PyObject *args, PyObject *kwargs) {
22495 PyObject *resultobj;
22496 wxPrinter *arg1 = (wxPrinter *) 0 ;
22497 wxWindow *arg2 = (wxWindow *) 0 ;
22498 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
22499 bool arg4 = (bool) true ;
22500 bool result;
22501 PyObject * obj0 = 0 ;
22502 PyObject * obj1 = 0 ;
22503 PyObject * obj2 = 0 ;
22504 PyObject * obj3 = 0 ;
22505 char *kwnames[] = {
22506 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
22507 };
22508
22509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
22510 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
22511 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22512 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
22513 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22514 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
22515 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22516 if (obj3) {
22517 arg4 = (bool)SWIG_As_bool(obj3);
22518 if (PyErr_Occurred()) SWIG_fail;
22519 }
22520 {
22521 PyThreadState* __tstate = wxPyBeginAllowThreads();
22522 result = (bool)(arg1)->Print(arg2,arg3,arg4);
22523
22524 wxPyEndAllowThreads(__tstate);
22525 if (PyErr_Occurred()) SWIG_fail;
22526 }
22527 {
22528 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22529 }
22530 return resultobj;
22531 fail:
22532 return NULL;
22533 }
22534
22535
22536 static PyObject *_wrap_Printer_PrintDialog(PyObject *, PyObject *args, PyObject *kwargs) {
22537 PyObject *resultobj;
22538 wxPrinter *arg1 = (wxPrinter *) 0 ;
22539 wxWindow *arg2 = (wxWindow *) 0 ;
22540 wxDC *result;
22541 PyObject * obj0 = 0 ;
22542 PyObject * obj1 = 0 ;
22543 char *kwnames[] = {
22544 (char *) "self",(char *) "parent", NULL
22545 };
22546
22547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
22548 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
22549 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22550 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
22551 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22552 {
22553 PyThreadState* __tstate = wxPyBeginAllowThreads();
22554 result = (wxDC *)(arg1)->PrintDialog(arg2);
22555
22556 wxPyEndAllowThreads(__tstate);
22557 if (PyErr_Occurred()) SWIG_fail;
22558 }
22559 {
22560 resultobj = wxPyMake_wxObject(result, 0);
22561 }
22562 return resultobj;
22563 fail:
22564 return NULL;
22565 }
22566
22567
22568 static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
22569 PyObject *resultobj;
22570 wxPrinter *arg1 = (wxPrinter *) 0 ;
22571 wxPrintDialogData *result;
22572 PyObject * obj0 = 0 ;
22573 char *kwnames[] = {
22574 (char *) "self", NULL
22575 };
22576
22577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail;
22578 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
22579 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22580 {
22581 PyThreadState* __tstate = wxPyBeginAllowThreads();
22582 {
22583 wxPrintDialogData &_result_ref = ((wxPrinter const *)arg1)->GetPrintDialogData();
22584 result = (wxPrintDialogData *) &_result_ref;
22585 }
22586
22587 wxPyEndAllowThreads(__tstate);
22588 if (PyErr_Occurred()) SWIG_fail;
22589 }
22590 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
22591 return resultobj;
22592 fail:
22593 return NULL;
22594 }
22595
22596
22597 static PyObject *_wrap_Printer_GetAbort(PyObject *, PyObject *args, PyObject *kwargs) {
22598 PyObject *resultobj;
22599 wxPrinter *arg1 = (wxPrinter *) 0 ;
22600 bool result;
22601 PyObject * obj0 = 0 ;
22602 char *kwnames[] = {
22603 (char *) "self", NULL
22604 };
22605
22606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail;
22607 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
22608 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22609 {
22610 PyThreadState* __tstate = wxPyBeginAllowThreads();
22611 result = (bool)(arg1)->GetAbort();
22612
22613 wxPyEndAllowThreads(__tstate);
22614 if (PyErr_Occurred()) SWIG_fail;
22615 }
22616 {
22617 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22618 }
22619 return resultobj;
22620 fail:
22621 return NULL;
22622 }
22623
22624
22625 static PyObject *_wrap_Printer_GetLastError(PyObject *, PyObject *args, PyObject *kwargs) {
22626 PyObject *resultobj;
22627 int result;
22628 char *kwnames[] = {
22629 NULL
22630 };
22631
22632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail;
22633 {
22634 PyThreadState* __tstate = wxPyBeginAllowThreads();
22635 result = (int)wxPrinter::GetLastError();
22636
22637 wxPyEndAllowThreads(__tstate);
22638 if (PyErr_Occurred()) SWIG_fail;
22639 }
22640 resultobj = SWIG_From_int((int)result);
22641 return resultobj;
22642 fail:
22643 return NULL;
22644 }
22645
22646
22647 static PyObject * Printer_swigregister(PyObject *, PyObject *args) {
22648 PyObject *obj;
22649 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22650 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj);
22651 Py_INCREF(obj);
22652 return Py_BuildValue((char *)"");
22653 }
22654 static PyObject *_wrap_new_Printout(PyObject *, PyObject *args, PyObject *kwargs) {
22655 PyObject *resultobj;
22656 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
22657 wxString *arg1 = (wxString *) &arg1_defvalue ;
22658 wxPyPrintout *result;
22659 bool temp1 = false ;
22660 PyObject * obj0 = 0 ;
22661 char *kwnames[] = {
22662 (char *) "title", NULL
22663 };
22664
22665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail;
22666 if (obj0) {
22667 {
22668 arg1 = wxString_in_helper(obj0);
22669 if (arg1 == NULL) SWIG_fail;
22670 temp1 = true;
22671 }
22672 }
22673 {
22674 if (!wxPyCheckForApp()) SWIG_fail;
22675 PyThreadState* __tstate = wxPyBeginAllowThreads();
22676 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
22677
22678 wxPyEndAllowThreads(__tstate);
22679 if (PyErr_Occurred()) SWIG_fail;
22680 }
22681 {
22682 resultobj = wxPyMake_wxObject(result, 1);
22683 }
22684 {
22685 if (temp1)
22686 delete arg1;
22687 }
22688 return resultobj;
22689 fail:
22690 {
22691 if (temp1)
22692 delete arg1;
22693 }
22694 return NULL;
22695 }
22696
22697
22698 static PyObject *_wrap_Printout__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
22699 PyObject *resultobj;
22700 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22701 PyObject *arg2 = (PyObject *) 0 ;
22702 PyObject *arg3 = (PyObject *) 0 ;
22703 PyObject * obj0 = 0 ;
22704 PyObject * obj1 = 0 ;
22705 PyObject * obj2 = 0 ;
22706 char *kwnames[] = {
22707 (char *) "self",(char *) "self",(char *) "_class", NULL
22708 };
22709
22710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
22711 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22712 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22713 arg2 = obj1;
22714 arg3 = obj2;
22715 {
22716 PyThreadState* __tstate = wxPyBeginAllowThreads();
22717 (arg1)->_setCallbackInfo(arg2,arg3);
22718
22719 wxPyEndAllowThreads(__tstate);
22720 if (PyErr_Occurred()) SWIG_fail;
22721 }
22722 Py_INCREF(Py_None); resultobj = Py_None;
22723 return resultobj;
22724 fail:
22725 return NULL;
22726 }
22727
22728
22729 static PyObject *_wrap_Printout_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
22730 PyObject *resultobj;
22731 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22732 wxString result;
22733 PyObject * obj0 = 0 ;
22734 char *kwnames[] = {
22735 (char *) "self", NULL
22736 };
22737
22738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail;
22739 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22740 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22741 {
22742 PyThreadState* __tstate = wxPyBeginAllowThreads();
22743 result = ((wxPyPrintout const *)arg1)->GetTitle();
22744
22745 wxPyEndAllowThreads(__tstate);
22746 if (PyErr_Occurred()) SWIG_fail;
22747 }
22748 {
22749 #if wxUSE_UNICODE
22750 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
22751 #else
22752 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
22753 #endif
22754 }
22755 return resultobj;
22756 fail:
22757 return NULL;
22758 }
22759
22760
22761 static PyObject *_wrap_Printout_GetDC(PyObject *, PyObject *args, PyObject *kwargs) {
22762 PyObject *resultobj;
22763 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22764 wxDC *result;
22765 PyObject * obj0 = 0 ;
22766 char *kwnames[] = {
22767 (char *) "self", NULL
22768 };
22769
22770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail;
22771 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22772 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22773 {
22774 PyThreadState* __tstate = wxPyBeginAllowThreads();
22775 result = (wxDC *)(arg1)->GetDC();
22776
22777 wxPyEndAllowThreads(__tstate);
22778 if (PyErr_Occurred()) SWIG_fail;
22779 }
22780 {
22781 resultobj = wxPyMake_wxObject(result, 0);
22782 }
22783 return resultobj;
22784 fail:
22785 return NULL;
22786 }
22787
22788
22789 static PyObject *_wrap_Printout_SetDC(PyObject *, PyObject *args, PyObject *kwargs) {
22790 PyObject *resultobj;
22791 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22792 wxDC *arg2 = (wxDC *) 0 ;
22793 PyObject * obj0 = 0 ;
22794 PyObject * obj1 = 0 ;
22795 char *kwnames[] = {
22796 (char *) "self",(char *) "dc", NULL
22797 };
22798
22799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail;
22800 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22801 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22802 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
22803 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22804 {
22805 PyThreadState* __tstate = wxPyBeginAllowThreads();
22806 (arg1)->SetDC(arg2);
22807
22808 wxPyEndAllowThreads(__tstate);
22809 if (PyErr_Occurred()) SWIG_fail;
22810 }
22811 Py_INCREF(Py_None); resultobj = Py_None;
22812 return resultobj;
22813 fail:
22814 return NULL;
22815 }
22816
22817
22818 static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *, PyObject *args, PyObject *kwargs) {
22819 PyObject *resultobj;
22820 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22821 int arg2 ;
22822 int arg3 ;
22823 PyObject * obj0 = 0 ;
22824 PyObject * obj1 = 0 ;
22825 PyObject * obj2 = 0 ;
22826 char *kwnames[] = {
22827 (char *) "self",(char *) "w",(char *) "h", NULL
22828 };
22829
22830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) goto fail;
22831 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22832 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22833 arg2 = (int)SWIG_As_int(obj1);
22834 if (PyErr_Occurred()) SWIG_fail;
22835 arg3 = (int)SWIG_As_int(obj2);
22836 if (PyErr_Occurred()) SWIG_fail;
22837 {
22838 PyThreadState* __tstate = wxPyBeginAllowThreads();
22839 (arg1)->SetPageSizePixels(arg2,arg3);
22840
22841 wxPyEndAllowThreads(__tstate);
22842 if (PyErr_Occurred()) SWIG_fail;
22843 }
22844 Py_INCREF(Py_None); resultobj = Py_None;
22845 return resultobj;
22846 fail:
22847 return NULL;
22848 }
22849
22850
22851 static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *, PyObject *args, PyObject *kwargs) {
22852 PyObject *resultobj;
22853 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22854 int *arg2 = (int *) 0 ;
22855 int *arg3 = (int *) 0 ;
22856 int temp2 ;
22857 int res2 = 0 ;
22858 int temp3 ;
22859 int res3 = 0 ;
22860 PyObject * obj0 = 0 ;
22861 char *kwnames[] = {
22862 (char *) "self", NULL
22863 };
22864
22865 arg2 = &temp2; res2 = SWIG_NEWOBJ;
22866 arg3 = &temp3; res3 = SWIG_NEWOBJ;
22867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail;
22868 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22869 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22870 {
22871 PyThreadState* __tstate = wxPyBeginAllowThreads();
22872 (arg1)->GetPageSizePixels(arg2,arg3);
22873
22874 wxPyEndAllowThreads(__tstate);
22875 if (PyErr_Occurred()) SWIG_fail;
22876 }
22877 Py_INCREF(Py_None); resultobj = Py_None;
22878 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
22879 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
22880 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
22881 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
22882 return resultobj;
22883 fail:
22884 return NULL;
22885 }
22886
22887
22888 static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
22889 PyObject *resultobj;
22890 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22891 int arg2 ;
22892 int arg3 ;
22893 PyObject * obj0 = 0 ;
22894 PyObject * obj1 = 0 ;
22895 PyObject * obj2 = 0 ;
22896 char *kwnames[] = {
22897 (char *) "self",(char *) "w",(char *) "h", NULL
22898 };
22899
22900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) goto fail;
22901 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22902 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22903 arg2 = (int)SWIG_As_int(obj1);
22904 if (PyErr_Occurred()) SWIG_fail;
22905 arg3 = (int)SWIG_As_int(obj2);
22906 if (PyErr_Occurred()) SWIG_fail;
22907 {
22908 PyThreadState* __tstate = wxPyBeginAllowThreads();
22909 (arg1)->SetPageSizeMM(arg2,arg3);
22910
22911 wxPyEndAllowThreads(__tstate);
22912 if (PyErr_Occurred()) SWIG_fail;
22913 }
22914 Py_INCREF(Py_None); resultobj = Py_None;
22915 return resultobj;
22916 fail:
22917 return NULL;
22918 }
22919
22920
22921 static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
22922 PyObject *resultobj;
22923 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22924 int *arg2 = (int *) 0 ;
22925 int *arg3 = (int *) 0 ;
22926 int temp2 ;
22927 int res2 = 0 ;
22928 int temp3 ;
22929 int res3 = 0 ;
22930 PyObject * obj0 = 0 ;
22931 char *kwnames[] = {
22932 (char *) "self", NULL
22933 };
22934
22935 arg2 = &temp2; res2 = SWIG_NEWOBJ;
22936 arg3 = &temp3; res3 = SWIG_NEWOBJ;
22937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail;
22938 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22939 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22940 {
22941 PyThreadState* __tstate = wxPyBeginAllowThreads();
22942 (arg1)->GetPageSizeMM(arg2,arg3);
22943
22944 wxPyEndAllowThreads(__tstate);
22945 if (PyErr_Occurred()) SWIG_fail;
22946 }
22947 Py_INCREF(Py_None); resultobj = Py_None;
22948 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
22949 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
22950 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
22951 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
22952 return resultobj;
22953 fail:
22954 return NULL;
22955 }
22956
22957
22958 static PyObject *_wrap_Printout_SetPPIScreen(PyObject *, PyObject *args, PyObject *kwargs) {
22959 PyObject *resultobj;
22960 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22961 int arg2 ;
22962 int arg3 ;
22963 PyObject * obj0 = 0 ;
22964 PyObject * obj1 = 0 ;
22965 PyObject * obj2 = 0 ;
22966 char *kwnames[] = {
22967 (char *) "self",(char *) "x",(char *) "y", NULL
22968 };
22969
22970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
22971 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22972 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22973 arg2 = (int)SWIG_As_int(obj1);
22974 if (PyErr_Occurred()) SWIG_fail;
22975 arg3 = (int)SWIG_As_int(obj2);
22976 if (PyErr_Occurred()) SWIG_fail;
22977 {
22978 PyThreadState* __tstate = wxPyBeginAllowThreads();
22979 (arg1)->SetPPIScreen(arg2,arg3);
22980
22981 wxPyEndAllowThreads(__tstate);
22982 if (PyErr_Occurred()) SWIG_fail;
22983 }
22984 Py_INCREF(Py_None); resultobj = Py_None;
22985 return resultobj;
22986 fail:
22987 return NULL;
22988 }
22989
22990
22991 static PyObject *_wrap_Printout_GetPPIScreen(PyObject *, PyObject *args, PyObject *kwargs) {
22992 PyObject *resultobj;
22993 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22994 int *arg2 = (int *) 0 ;
22995 int *arg3 = (int *) 0 ;
22996 int temp2 ;
22997 int res2 = 0 ;
22998 int temp3 ;
22999 int res3 = 0 ;
23000 PyObject * obj0 = 0 ;
23001 char *kwnames[] = {
23002 (char *) "self", NULL
23003 };
23004
23005 arg2 = &temp2; res2 = SWIG_NEWOBJ;
23006 arg3 = &temp3; res3 = SWIG_NEWOBJ;
23007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",kwnames,&obj0)) goto fail;
23008 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23009 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23010 {
23011 PyThreadState* __tstate = wxPyBeginAllowThreads();
23012 (arg1)->GetPPIScreen(arg2,arg3);
23013
23014 wxPyEndAllowThreads(__tstate);
23015 if (PyErr_Occurred()) SWIG_fail;
23016 }
23017 Py_INCREF(Py_None); resultobj = Py_None;
23018 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
23019 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
23020 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
23021 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
23022 return resultobj;
23023 fail:
23024 return NULL;
23025 }
23026
23027
23028 static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *, PyObject *args, PyObject *kwargs) {
23029 PyObject *resultobj;
23030 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23031 int arg2 ;
23032 int arg3 ;
23033 PyObject * obj0 = 0 ;
23034 PyObject * obj1 = 0 ;
23035 PyObject * obj2 = 0 ;
23036 char *kwnames[] = {
23037 (char *) "self",(char *) "x",(char *) "y", NULL
23038 };
23039
23040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) goto fail;
23041 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23042 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23043 arg2 = (int)SWIG_As_int(obj1);
23044 if (PyErr_Occurred()) SWIG_fail;
23045 arg3 = (int)SWIG_As_int(obj2);
23046 if (PyErr_Occurred()) SWIG_fail;
23047 {
23048 PyThreadState* __tstate = wxPyBeginAllowThreads();
23049 (arg1)->SetPPIPrinter(arg2,arg3);
23050
23051 wxPyEndAllowThreads(__tstate);
23052 if (PyErr_Occurred()) SWIG_fail;
23053 }
23054 Py_INCREF(Py_None); resultobj = Py_None;
23055 return resultobj;
23056 fail:
23057 return NULL;
23058 }
23059
23060
23061 static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *, PyObject *args, PyObject *kwargs) {
23062 PyObject *resultobj;
23063 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23064 int *arg2 = (int *) 0 ;
23065 int *arg3 = (int *) 0 ;
23066 int temp2 ;
23067 int res2 = 0 ;
23068 int temp3 ;
23069 int res3 = 0 ;
23070 PyObject * obj0 = 0 ;
23071 char *kwnames[] = {
23072 (char *) "self", NULL
23073 };
23074
23075 arg2 = &temp2; res2 = SWIG_NEWOBJ;
23076 arg3 = &temp3; res3 = SWIG_NEWOBJ;
23077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail;
23078 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23079 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23080 {
23081 PyThreadState* __tstate = wxPyBeginAllowThreads();
23082 (arg1)->GetPPIPrinter(arg2,arg3);
23083
23084 wxPyEndAllowThreads(__tstate);
23085 if (PyErr_Occurred()) SWIG_fail;
23086 }
23087 Py_INCREF(Py_None); resultobj = Py_None;
23088 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
23089 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
23090 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
23091 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
23092 return resultobj;
23093 fail:
23094 return NULL;
23095 }
23096
23097
23098 static PyObject *_wrap_Printout_IsPreview(PyObject *, PyObject *args, PyObject *kwargs) {
23099 PyObject *resultobj;
23100 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23101 bool result;
23102 PyObject * obj0 = 0 ;
23103 char *kwnames[] = {
23104 (char *) "self", NULL
23105 };
23106
23107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail;
23108 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23109 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23110 {
23111 PyThreadState* __tstate = wxPyBeginAllowThreads();
23112 result = (bool)(arg1)->IsPreview();
23113
23114 wxPyEndAllowThreads(__tstate);
23115 if (PyErr_Occurred()) SWIG_fail;
23116 }
23117 {
23118 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23119 }
23120 return resultobj;
23121 fail:
23122 return NULL;
23123 }
23124
23125
23126 static PyObject *_wrap_Printout_SetIsPreview(PyObject *, PyObject *args, PyObject *kwargs) {
23127 PyObject *resultobj;
23128 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23129 bool arg2 ;
23130 PyObject * obj0 = 0 ;
23131 PyObject * obj1 = 0 ;
23132 char *kwnames[] = {
23133 (char *) "self",(char *) "p", NULL
23134 };
23135
23136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail;
23137 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23138 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23139 arg2 = (bool)SWIG_As_bool(obj1);
23140 if (PyErr_Occurred()) SWIG_fail;
23141 {
23142 PyThreadState* __tstate = wxPyBeginAllowThreads();
23143 (arg1)->SetIsPreview(arg2);
23144
23145 wxPyEndAllowThreads(__tstate);
23146 if (PyErr_Occurred()) SWIG_fail;
23147 }
23148 Py_INCREF(Py_None); resultobj = Py_None;
23149 return resultobj;
23150 fail:
23151 return NULL;
23152 }
23153
23154
23155 static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *, PyObject *args, PyObject *kwargs) {
23156 PyObject *resultobj;
23157 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23158 int arg2 ;
23159 int arg3 ;
23160 bool result;
23161 PyObject * obj0 = 0 ;
23162 PyObject * obj1 = 0 ;
23163 PyObject * obj2 = 0 ;
23164 char *kwnames[] = {
23165 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
23166 };
23167
23168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_base_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) goto fail;
23169 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23170 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23171 arg2 = (int)SWIG_As_int(obj1);
23172 if (PyErr_Occurred()) SWIG_fail;
23173 arg3 = (int)SWIG_As_int(obj2);
23174 if (PyErr_Occurred()) SWIG_fail;
23175 {
23176 PyThreadState* __tstate = wxPyBeginAllowThreads();
23177 result = (bool)(arg1)->base_OnBeginDocument(arg2,arg3);
23178
23179 wxPyEndAllowThreads(__tstate);
23180 if (PyErr_Occurred()) SWIG_fail;
23181 }
23182 {
23183 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23184 }
23185 return resultobj;
23186 fail:
23187 return NULL;
23188 }
23189
23190
23191 static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *, PyObject *args, PyObject *kwargs) {
23192 PyObject *resultobj;
23193 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23194 PyObject * obj0 = 0 ;
23195 char *kwnames[] = {
23196 (char *) "self", NULL
23197 };
23198
23199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndDocument",kwnames,&obj0)) goto fail;
23200 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23201 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23202 {
23203 PyThreadState* __tstate = wxPyBeginAllowThreads();
23204 (arg1)->base_OnEndDocument();
23205
23206 wxPyEndAllowThreads(__tstate);
23207 if (PyErr_Occurred()) SWIG_fail;
23208 }
23209 Py_INCREF(Py_None); resultobj = Py_None;
23210 return resultobj;
23211 fail:
23212 return NULL;
23213 }
23214
23215
23216 static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
23217 PyObject *resultobj;
23218 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23219 PyObject * obj0 = 0 ;
23220 char *kwnames[] = {
23221 (char *) "self", NULL
23222 };
23223
23224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnBeginPrinting",kwnames,&obj0)) goto fail;
23225 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23226 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23227 {
23228 PyThreadState* __tstate = wxPyBeginAllowThreads();
23229 (arg1)->base_OnBeginPrinting();
23230
23231 wxPyEndAllowThreads(__tstate);
23232 if (PyErr_Occurred()) SWIG_fail;
23233 }
23234 Py_INCREF(Py_None); resultobj = Py_None;
23235 return resultobj;
23236 fail:
23237 return NULL;
23238 }
23239
23240
23241 static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
23242 PyObject *resultobj;
23243 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23244 PyObject * obj0 = 0 ;
23245 char *kwnames[] = {
23246 (char *) "self", NULL
23247 };
23248
23249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndPrinting",kwnames,&obj0)) goto fail;
23250 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23251 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23252 {
23253 PyThreadState* __tstate = wxPyBeginAllowThreads();
23254 (arg1)->base_OnEndPrinting();
23255
23256 wxPyEndAllowThreads(__tstate);
23257 if (PyErr_Occurred()) SWIG_fail;
23258 }
23259 Py_INCREF(Py_None); resultobj = Py_None;
23260 return resultobj;
23261 fail:
23262 return NULL;
23263 }
23264
23265
23266 static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *, PyObject *args, PyObject *kwargs) {
23267 PyObject *resultobj;
23268 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23269 PyObject * obj0 = 0 ;
23270 char *kwnames[] = {
23271 (char *) "self", NULL
23272 };
23273
23274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnPreparePrinting",kwnames,&obj0)) goto fail;
23275 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23276 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23277 {
23278 PyThreadState* __tstate = wxPyBeginAllowThreads();
23279 (arg1)->base_OnPreparePrinting();
23280
23281 wxPyEndAllowThreads(__tstate);
23282 if (PyErr_Occurred()) SWIG_fail;
23283 }
23284 Py_INCREF(Py_None); resultobj = Py_None;
23285 return resultobj;
23286 fail:
23287 return NULL;
23288 }
23289
23290
23291 static PyObject *_wrap_Printout_base_HasPage(PyObject *, PyObject *args, PyObject *kwargs) {
23292 PyObject *resultobj;
23293 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23294 int arg2 ;
23295 bool result;
23296 PyObject * obj0 = 0 ;
23297 PyObject * obj1 = 0 ;
23298 char *kwnames[] = {
23299 (char *) "self",(char *) "page", NULL
23300 };
23301
23302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_base_HasPage",kwnames,&obj0,&obj1)) goto fail;
23303 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23304 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23305 arg2 = (int)SWIG_As_int(obj1);
23306 if (PyErr_Occurred()) SWIG_fail;
23307 {
23308 PyThreadState* __tstate = wxPyBeginAllowThreads();
23309 result = (bool)(arg1)->base_HasPage(arg2);
23310
23311 wxPyEndAllowThreads(__tstate);
23312 if (PyErr_Occurred()) SWIG_fail;
23313 }
23314 {
23315 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23316 }
23317 return resultobj;
23318 fail:
23319 return NULL;
23320 }
23321
23322
23323 static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *, PyObject *args, PyObject *kwargs) {
23324 PyObject *resultobj;
23325 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23326 int *arg2 = (int *) 0 ;
23327 int *arg3 = (int *) 0 ;
23328 int *arg4 = (int *) 0 ;
23329 int *arg5 = (int *) 0 ;
23330 int temp2 ;
23331 int res2 = 0 ;
23332 int temp3 ;
23333 int res3 = 0 ;
23334 int temp4 ;
23335 int res4 = 0 ;
23336 int temp5 ;
23337 int res5 = 0 ;
23338 PyObject * obj0 = 0 ;
23339 char *kwnames[] = {
23340 (char *) "self", NULL
23341 };
23342
23343 arg2 = &temp2; res2 = SWIG_NEWOBJ;
23344 arg3 = &temp3; res3 = SWIG_NEWOBJ;
23345 arg4 = &temp4; res4 = SWIG_NEWOBJ;
23346 arg5 = &temp5; res5 = SWIG_NEWOBJ;
23347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_GetPageInfo",kwnames,&obj0)) goto fail;
23348 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23349 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23350 {
23351 PyThreadState* __tstate = wxPyBeginAllowThreads();
23352 (arg1)->base_GetPageInfo(arg2,arg3,arg4,arg5);
23353
23354 wxPyEndAllowThreads(__tstate);
23355 if (PyErr_Occurred()) SWIG_fail;
23356 }
23357 Py_INCREF(Py_None); resultobj = Py_None;
23358 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
23359 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
23360 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
23361 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
23362 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
23363 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
23364 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
23365 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
23366 return resultobj;
23367 fail:
23368 return NULL;
23369 }
23370
23371
23372 static PyObject * Printout_swigregister(PyObject *, PyObject *args) {
23373 PyObject *obj;
23374 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23375 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj);
23376 Py_INCREF(obj);
23377 return Py_BuildValue((char *)"");
23378 }
23379 static PyObject *_wrap_new_PreviewCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
23380 PyObject *resultobj;
23381 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23382 wxWindow *arg2 = (wxWindow *) 0 ;
23383 wxPoint const &arg3_defvalue = wxDefaultPosition ;
23384 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
23385 wxSize const &arg4_defvalue = wxDefaultSize ;
23386 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
23387 long arg5 = (long) 0 ;
23388 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
23389 wxString *arg6 = (wxString *) &arg6_defvalue ;
23390 wxPreviewCanvas *result;
23391 wxPoint temp3 ;
23392 wxSize temp4 ;
23393 bool temp6 = false ;
23394 PyObject * obj0 = 0 ;
23395 PyObject * obj1 = 0 ;
23396 PyObject * obj2 = 0 ;
23397 PyObject * obj3 = 0 ;
23398 PyObject * obj4 = 0 ;
23399 PyObject * obj5 = 0 ;
23400 char *kwnames[] = {
23401 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23402 };
23403
23404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
23405 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23406 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23407 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
23408 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23409 if (obj2) {
23410 {
23411 arg3 = &temp3;
23412 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
23413 }
23414 }
23415 if (obj3) {
23416 {
23417 arg4 = &temp4;
23418 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
23419 }
23420 }
23421 if (obj4) {
23422 arg5 = (long)SWIG_As_long(obj4);
23423 if (PyErr_Occurred()) SWIG_fail;
23424 }
23425 if (obj5) {
23426 {
23427 arg6 = wxString_in_helper(obj5);
23428 if (arg6 == NULL) SWIG_fail;
23429 temp6 = true;
23430 }
23431 }
23432 {
23433 if (!wxPyCheckForApp()) SWIG_fail;
23434 PyThreadState* __tstate = wxPyBeginAllowThreads();
23435 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
23436
23437 wxPyEndAllowThreads(__tstate);
23438 if (PyErr_Occurred()) SWIG_fail;
23439 }
23440 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 1);
23441 {
23442 if (temp6)
23443 delete arg6;
23444 }
23445 return resultobj;
23446 fail:
23447 {
23448 if (temp6)
23449 delete arg6;
23450 }
23451 return NULL;
23452 }
23453
23454
23455 static PyObject * PreviewCanvas_swigregister(PyObject *, PyObject *args) {
23456 PyObject *obj;
23457 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23458 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj);
23459 Py_INCREF(obj);
23460 return Py_BuildValue((char *)"");
23461 }
23462 static PyObject *_wrap_new_PreviewFrame(PyObject *, PyObject *args, PyObject *kwargs) {
23463 PyObject *resultobj;
23464 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23465 wxFrame *arg2 = (wxFrame *) 0 ;
23466 wxString *arg3 = 0 ;
23467 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23468 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23469 wxSize const &arg5_defvalue = wxDefaultSize ;
23470 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23471 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
23472 wxString const &arg7_defvalue = wxPyFrameNameStr ;
23473 wxString *arg7 = (wxString *) &arg7_defvalue ;
23474 wxPreviewFrame *result;
23475 bool temp3 = false ;
23476 wxPoint temp4 ;
23477 wxSize temp5 ;
23478 bool temp7 = false ;
23479 PyObject * obj0 = 0 ;
23480 PyObject * obj1 = 0 ;
23481 PyObject * obj2 = 0 ;
23482 PyObject * obj3 = 0 ;
23483 PyObject * obj4 = 0 ;
23484 PyObject * obj5 = 0 ;
23485 PyObject * obj6 = 0 ;
23486 char *kwnames[] = {
23487 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23488 };
23489
23490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
23491 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23492 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23493 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
23494 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23495 {
23496 arg3 = wxString_in_helper(obj2);
23497 if (arg3 == NULL) SWIG_fail;
23498 temp3 = true;
23499 }
23500 if (obj3) {
23501 {
23502 arg4 = &temp4;
23503 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23504 }
23505 }
23506 if (obj4) {
23507 {
23508 arg5 = &temp5;
23509 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23510 }
23511 }
23512 if (obj5) {
23513 arg6 = (long)SWIG_As_long(obj5);
23514 if (PyErr_Occurred()) SWIG_fail;
23515 }
23516 if (obj6) {
23517 {
23518 arg7 = wxString_in_helper(obj6);
23519 if (arg7 == NULL) SWIG_fail;
23520 temp7 = true;
23521 }
23522 }
23523 {
23524 if (!wxPyCheckForApp()) SWIG_fail;
23525 PyThreadState* __tstate = wxPyBeginAllowThreads();
23526 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
23527
23528 wxPyEndAllowThreads(__tstate);
23529 if (PyErr_Occurred()) SWIG_fail;
23530 }
23531 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewFrame, 1);
23532 {
23533 if (temp3)
23534 delete arg3;
23535 }
23536 {
23537 if (temp7)
23538 delete arg7;
23539 }
23540 return resultobj;
23541 fail:
23542 {
23543 if (temp3)
23544 delete arg3;
23545 }
23546 {
23547 if (temp7)
23548 delete arg7;
23549 }
23550 return NULL;
23551 }
23552
23553
23554 static PyObject *_wrap_PreviewFrame_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
23555 PyObject *resultobj;
23556 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
23557 PyObject * obj0 = 0 ;
23558 char *kwnames[] = {
23559 (char *) "self", NULL
23560 };
23561
23562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail;
23563 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
23564 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23565 {
23566 PyThreadState* __tstate = wxPyBeginAllowThreads();
23567 (arg1)->Initialize();
23568
23569 wxPyEndAllowThreads(__tstate);
23570 if (PyErr_Occurred()) SWIG_fail;
23571 }
23572 Py_INCREF(Py_None); resultobj = Py_None;
23573 return resultobj;
23574 fail:
23575 return NULL;
23576 }
23577
23578
23579 static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
23580 PyObject *resultobj;
23581 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
23582 PyObject * obj0 = 0 ;
23583 char *kwnames[] = {
23584 (char *) "self", NULL
23585 };
23586
23587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail;
23588 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
23589 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23590 {
23591 PyThreadState* __tstate = wxPyBeginAllowThreads();
23592 (arg1)->CreateControlBar();
23593
23594 wxPyEndAllowThreads(__tstate);
23595 if (PyErr_Occurred()) SWIG_fail;
23596 }
23597 Py_INCREF(Py_None); resultobj = Py_None;
23598 return resultobj;
23599 fail:
23600 return NULL;
23601 }
23602
23603
23604 static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
23605 PyObject *resultobj;
23606 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
23607 PyObject * obj0 = 0 ;
23608 char *kwnames[] = {
23609 (char *) "self", NULL
23610 };
23611
23612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail;
23613 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
23614 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23615 {
23616 PyThreadState* __tstate = wxPyBeginAllowThreads();
23617 (arg1)->CreateCanvas();
23618
23619 wxPyEndAllowThreads(__tstate);
23620 if (PyErr_Occurred()) SWIG_fail;
23621 }
23622 Py_INCREF(Py_None); resultobj = Py_None;
23623 return resultobj;
23624 fail:
23625 return NULL;
23626 }
23627
23628
23629 static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
23630 PyObject *resultobj;
23631 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
23632 wxPreviewControlBar *result;
23633 PyObject * obj0 = 0 ;
23634 char *kwnames[] = {
23635 (char *) "self", NULL
23636 };
23637
23638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail;
23639 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
23640 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23641 {
23642 PyThreadState* __tstate = wxPyBeginAllowThreads();
23643 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
23644
23645 wxPyEndAllowThreads(__tstate);
23646 if (PyErr_Occurred()) SWIG_fail;
23647 }
23648 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 0);
23649 return resultobj;
23650 fail:
23651 return NULL;
23652 }
23653
23654
23655 static PyObject * PreviewFrame_swigregister(PyObject *, PyObject *args) {
23656 PyObject *obj;
23657 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23658 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj);
23659 Py_INCREF(obj);
23660 return Py_BuildValue((char *)"");
23661 }
23662 static PyObject *_wrap_new_PreviewControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
23663 PyObject *resultobj;
23664 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23665 long arg2 ;
23666 wxWindow *arg3 = (wxWindow *) 0 ;
23667 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23668 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23669 wxSize const &arg5_defvalue = wxDefaultSize ;
23670 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23671 long arg6 = (long) wxTAB_TRAVERSAL ;
23672 wxString const &arg7_defvalue = wxPyPanelNameStr ;
23673 wxString *arg7 = (wxString *) &arg7_defvalue ;
23674 wxPreviewControlBar *result;
23675 wxPoint temp4 ;
23676 wxSize temp5 ;
23677 bool temp7 = false ;
23678 PyObject * obj0 = 0 ;
23679 PyObject * obj1 = 0 ;
23680 PyObject * obj2 = 0 ;
23681 PyObject * obj3 = 0 ;
23682 PyObject * obj4 = 0 ;
23683 PyObject * obj5 = 0 ;
23684 PyObject * obj6 = 0 ;
23685 char *kwnames[] = {
23686 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23687 };
23688
23689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
23690 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23691 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23692 arg2 = (long)SWIG_As_long(obj1);
23693 if (PyErr_Occurred()) SWIG_fail;
23694 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
23695 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23696 if (obj3) {
23697 {
23698 arg4 = &temp4;
23699 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23700 }
23701 }
23702 if (obj4) {
23703 {
23704 arg5 = &temp5;
23705 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23706 }
23707 }
23708 if (obj5) {
23709 arg6 = (long)SWIG_As_long(obj5);
23710 if (PyErr_Occurred()) SWIG_fail;
23711 }
23712 if (obj6) {
23713 {
23714 arg7 = wxString_in_helper(obj6);
23715 if (arg7 == NULL) SWIG_fail;
23716 temp7 = true;
23717 }
23718 }
23719 {
23720 if (!wxPyCheckForApp()) SWIG_fail;
23721 PyThreadState* __tstate = wxPyBeginAllowThreads();
23722 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
23723
23724 wxPyEndAllowThreads(__tstate);
23725 if (PyErr_Occurred()) SWIG_fail;
23726 }
23727 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 1);
23728 {
23729 if (temp7)
23730 delete arg7;
23731 }
23732 return resultobj;
23733 fail:
23734 {
23735 if (temp7)
23736 delete arg7;
23737 }
23738 return NULL;
23739 }
23740
23741
23742 static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
23743 PyObject *resultobj;
23744 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23745 int result;
23746 PyObject * obj0 = 0 ;
23747 char *kwnames[] = {
23748 (char *) "self", NULL
23749 };
23750
23751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail;
23752 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23753 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23754 {
23755 PyThreadState* __tstate = wxPyBeginAllowThreads();
23756 result = (int)(arg1)->GetZoomControl();
23757
23758 wxPyEndAllowThreads(__tstate);
23759 if (PyErr_Occurred()) SWIG_fail;
23760 }
23761 resultobj = SWIG_From_int((int)result);
23762 return resultobj;
23763 fail:
23764 return NULL;
23765 }
23766
23767
23768 static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
23769 PyObject *resultobj;
23770 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23771 int arg2 ;
23772 PyObject * obj0 = 0 ;
23773 PyObject * obj1 = 0 ;
23774 char *kwnames[] = {
23775 (char *) "self",(char *) "zoom", NULL
23776 };
23777
23778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
23779 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23780 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23781 arg2 = (int)SWIG_As_int(obj1);
23782 if (PyErr_Occurred()) SWIG_fail;
23783 {
23784 PyThreadState* __tstate = wxPyBeginAllowThreads();
23785 (arg1)->SetZoomControl(arg2);
23786
23787 wxPyEndAllowThreads(__tstate);
23788 if (PyErr_Occurred()) SWIG_fail;
23789 }
23790 Py_INCREF(Py_None); resultobj = Py_None;
23791 return resultobj;
23792 fail:
23793 return NULL;
23794 }
23795
23796
23797 static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *, PyObject *args, PyObject *kwargs) {
23798 PyObject *resultobj;
23799 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23800 wxPrintPreview *result;
23801 PyObject * obj0 = 0 ;
23802 char *kwnames[] = {
23803 (char *) "self", NULL
23804 };
23805
23806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail;
23807 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23808 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23809 {
23810 PyThreadState* __tstate = wxPyBeginAllowThreads();
23811 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
23812
23813 wxPyEndAllowThreads(__tstate);
23814 if (PyErr_Occurred()) SWIG_fail;
23815 }
23816 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 0);
23817 return resultobj;
23818 fail:
23819 return NULL;
23820 }
23821
23822
23823 static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *, PyObject *args, PyObject *kwargs) {
23824 PyObject *resultobj;
23825 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23826 PyObject * obj0 = 0 ;
23827 char *kwnames[] = {
23828 (char *) "self", NULL
23829 };
23830
23831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail;
23832 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23833 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23834 {
23835 PyThreadState* __tstate = wxPyBeginAllowThreads();
23836 (arg1)->OnNext();
23837
23838 wxPyEndAllowThreads(__tstate);
23839 if (PyErr_Occurred()) SWIG_fail;
23840 }
23841 Py_INCREF(Py_None); resultobj = Py_None;
23842 return resultobj;
23843 fail:
23844 return NULL;
23845 }
23846
23847
23848 static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *, PyObject *args, PyObject *kwargs) {
23849 PyObject *resultobj;
23850 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23851 PyObject * obj0 = 0 ;
23852 char *kwnames[] = {
23853 (char *) "self", NULL
23854 };
23855
23856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail;
23857 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23858 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23859 {
23860 PyThreadState* __tstate = wxPyBeginAllowThreads();
23861 (arg1)->OnPrevious();
23862
23863 wxPyEndAllowThreads(__tstate);
23864 if (PyErr_Occurred()) SWIG_fail;
23865 }
23866 Py_INCREF(Py_None); resultobj = Py_None;
23867 return resultobj;
23868 fail:
23869 return NULL;
23870 }
23871
23872
23873 static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *, PyObject *args, PyObject *kwargs) {
23874 PyObject *resultobj;
23875 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23876 PyObject * obj0 = 0 ;
23877 char *kwnames[] = {
23878 (char *) "self", NULL
23879 };
23880
23881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail;
23882 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23883 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23884 {
23885 PyThreadState* __tstate = wxPyBeginAllowThreads();
23886 (arg1)->OnFirst();
23887
23888 wxPyEndAllowThreads(__tstate);
23889 if (PyErr_Occurred()) SWIG_fail;
23890 }
23891 Py_INCREF(Py_None); resultobj = Py_None;
23892 return resultobj;
23893 fail:
23894 return NULL;
23895 }
23896
23897
23898 static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *, PyObject *args, PyObject *kwargs) {
23899 PyObject *resultobj;
23900 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23901 PyObject * obj0 = 0 ;
23902 char *kwnames[] = {
23903 (char *) "self", NULL
23904 };
23905
23906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail;
23907 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23908 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23909 {
23910 PyThreadState* __tstate = wxPyBeginAllowThreads();
23911 (arg1)->OnLast();
23912
23913 wxPyEndAllowThreads(__tstate);
23914 if (PyErr_Occurred()) SWIG_fail;
23915 }
23916 Py_INCREF(Py_None); resultobj = Py_None;
23917 return resultobj;
23918 fail:
23919 return NULL;
23920 }
23921
23922
23923 static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *, PyObject *args, PyObject *kwargs) {
23924 PyObject *resultobj;
23925 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23926 PyObject * obj0 = 0 ;
23927 char *kwnames[] = {
23928 (char *) "self", NULL
23929 };
23930
23931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail;
23932 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23933 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23934 {
23935 PyThreadState* __tstate = wxPyBeginAllowThreads();
23936 (arg1)->OnGoto();
23937
23938 wxPyEndAllowThreads(__tstate);
23939 if (PyErr_Occurred()) SWIG_fail;
23940 }
23941 Py_INCREF(Py_None); resultobj = Py_None;
23942 return resultobj;
23943 fail:
23944 return NULL;
23945 }
23946
23947
23948 static PyObject * PreviewControlBar_swigregister(PyObject *, PyObject *args) {
23949 PyObject *obj;
23950 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23951 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj);
23952 Py_INCREF(obj);
23953 return Py_BuildValue((char *)"");
23954 }
23955 static PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *, PyObject *args) {
23956 PyObject *resultobj;
23957 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23958 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23959 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
23960 wxPrintPreview *result;
23961 PyObject * obj0 = 0 ;
23962 PyObject * obj1 = 0 ;
23963 PyObject * obj2 = 0 ;
23964
23965 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
23966 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23967 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23968 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23969 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23970 if (obj2) {
23971 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintDialogData,
23972 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23973 }
23974 {
23975 if (!wxPyCheckForApp()) SWIG_fail;
23976 PyThreadState* __tstate = wxPyBeginAllowThreads();
23977 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
23978
23979 wxPyEndAllowThreads(__tstate);
23980 if (PyErr_Occurred()) SWIG_fail;
23981 }
23982 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
23983 return resultobj;
23984 fail:
23985 return NULL;
23986 }
23987
23988
23989 static PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *, PyObject *args) {
23990 PyObject *resultobj;
23991 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23992 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23993 wxPrintData *arg3 = (wxPrintData *) 0 ;
23994 wxPrintPreview *result;
23995 PyObject * obj0 = 0 ;
23996 PyObject * obj1 = 0 ;
23997 PyObject * obj2 = 0 ;
23998
23999 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
24000 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
24001 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24002 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
24003 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24004 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData,
24005 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24006 {
24007 if (!wxPyCheckForApp()) SWIG_fail;
24008 PyThreadState* __tstate = wxPyBeginAllowThreads();
24009 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
24010
24011 wxPyEndAllowThreads(__tstate);
24012 if (PyErr_Occurred()) SWIG_fail;
24013 }
24014 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
24015 return resultobj;
24016 fail:
24017 return NULL;
24018 }
24019
24020
24021 static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
24022 int argc;
24023 PyObject *argv[4];
24024 int ii;
24025
24026 argc = PyObject_Length(args);
24027 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
24028 argv[ii] = PyTuple_GetItem(args,ii);
24029 }
24030 if ((argc >= 2) && (argc <= 3)) {
24031 int _v;
24032 {
24033 void *ptr;
24034 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
24035 _v = 0;
24036 PyErr_Clear();
24037 } else {
24038 _v = 1;
24039 }
24040 }
24041 if (_v) {
24042 {
24043 void *ptr;
24044 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
24045 _v = 0;
24046 PyErr_Clear();
24047 } else {
24048 _v = 1;
24049 }
24050 }
24051 if (_v) {
24052 if (argc <= 2) {
24053 return _wrap_new_PrintPreview__SWIG_0(self,args);
24054 }
24055 {
24056 void *ptr;
24057 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
24058 _v = 0;
24059 PyErr_Clear();
24060 } else {
24061 _v = 1;
24062 }
24063 }
24064 if (_v) {
24065 return _wrap_new_PrintPreview__SWIG_0(self,args);
24066 }
24067 }
24068 }
24069 }
24070 if (argc == 3) {
24071 int _v;
24072 {
24073 void *ptr;
24074 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
24075 _v = 0;
24076 PyErr_Clear();
24077 } else {
24078 _v = 1;
24079 }
24080 }
24081 if (_v) {
24082 {
24083 void *ptr;
24084 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
24085 _v = 0;
24086 PyErr_Clear();
24087 } else {
24088 _v = 1;
24089 }
24090 }
24091 if (_v) {
24092 {
24093 void *ptr;
24094 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
24095 _v = 0;
24096 PyErr_Clear();
24097 } else {
24098 _v = 1;
24099 }
24100 }
24101 if (_v) {
24102 return _wrap_new_PrintPreview__SWIG_1(self,args);
24103 }
24104 }
24105 }
24106 }
24107
24108 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintPreview'");
24109 return NULL;
24110 }
24111
24112
24113 static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
24114 PyObject *resultobj;
24115 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24116 int arg2 ;
24117 bool result;
24118 PyObject * obj0 = 0 ;
24119 PyObject * obj1 = 0 ;
24120 char *kwnames[] = {
24121 (char *) "self",(char *) "pageNum", NULL
24122 };
24123
24124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
24125 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24126 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24127 arg2 = (int)SWIG_As_int(obj1);
24128 if (PyErr_Occurred()) SWIG_fail;
24129 {
24130 PyThreadState* __tstate = wxPyBeginAllowThreads();
24131 result = (bool)(arg1)->SetCurrentPage(arg2);
24132
24133 wxPyEndAllowThreads(__tstate);
24134 if (PyErr_Occurred()) SWIG_fail;
24135 }
24136 {
24137 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24138 }
24139 return resultobj;
24140 fail:
24141 return NULL;
24142 }
24143
24144
24145 static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
24146 PyObject *resultobj;
24147 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24148 int result;
24149 PyObject * obj0 = 0 ;
24150 char *kwnames[] = {
24151 (char *) "self", NULL
24152 };
24153
24154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail;
24155 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24156 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24157 {
24158 PyThreadState* __tstate = wxPyBeginAllowThreads();
24159 result = (int)(arg1)->GetCurrentPage();
24160
24161 wxPyEndAllowThreads(__tstate);
24162 if (PyErr_Occurred()) SWIG_fail;
24163 }
24164 resultobj = SWIG_From_int((int)result);
24165 return resultobj;
24166 fail:
24167 return NULL;
24168 }
24169
24170
24171 static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *, PyObject *args, PyObject *kwargs) {
24172 PyObject *resultobj;
24173 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24174 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
24175 PyObject * obj0 = 0 ;
24176 PyObject * obj1 = 0 ;
24177 char *kwnames[] = {
24178 (char *) "self",(char *) "printout", NULL
24179 };
24180
24181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail;
24182 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24183 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24184 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
24185 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24186 {
24187 PyThreadState* __tstate = wxPyBeginAllowThreads();
24188 (arg1)->SetPrintout(arg2);
24189
24190 wxPyEndAllowThreads(__tstate);
24191 if (PyErr_Occurred()) SWIG_fail;
24192 }
24193 Py_INCREF(Py_None); resultobj = Py_None;
24194 return resultobj;
24195 fail:
24196 return NULL;
24197 }
24198
24199
24200 static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *, PyObject *args, PyObject *kwargs) {
24201 PyObject *resultobj;
24202 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24203 wxPyPrintout *result;
24204 PyObject * obj0 = 0 ;
24205 char *kwnames[] = {
24206 (char *) "self", NULL
24207 };
24208
24209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail;
24210 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24211 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24212 {
24213 PyThreadState* __tstate = wxPyBeginAllowThreads();
24214 result = (wxPyPrintout *)(arg1)->GetPrintout();
24215
24216 wxPyEndAllowThreads(__tstate);
24217 if (PyErr_Occurred()) SWIG_fail;
24218 }
24219 {
24220 resultobj = wxPyMake_wxObject(result, 0);
24221 }
24222 return resultobj;
24223 fail:
24224 return NULL;
24225 }
24226
24227
24228 static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
24229 PyObject *resultobj;
24230 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24231 wxPyPrintout *result;
24232 PyObject * obj0 = 0 ;
24233 char *kwnames[] = {
24234 (char *) "self", NULL
24235 };
24236
24237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail;
24238 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24239 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24240 {
24241 PyThreadState* __tstate = wxPyBeginAllowThreads();
24242 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
24243
24244 wxPyEndAllowThreads(__tstate);
24245 if (PyErr_Occurred()) SWIG_fail;
24246 }
24247 {
24248 resultobj = wxPyMake_wxObject(result, 0);
24249 }
24250 return resultobj;
24251 fail:
24252 return NULL;
24253 }
24254
24255
24256 static PyObject *_wrap_PrintPreview_SetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
24257 PyObject *resultobj;
24258 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24259 wxFrame *arg2 = (wxFrame *) 0 ;
24260 PyObject * obj0 = 0 ;
24261 PyObject * obj1 = 0 ;
24262 char *kwnames[] = {
24263 (char *) "self",(char *) "frame", NULL
24264 };
24265
24266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail;
24267 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24268 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24269 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
24270 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24271 {
24272 PyThreadState* __tstate = wxPyBeginAllowThreads();
24273 (arg1)->SetFrame(arg2);
24274
24275 wxPyEndAllowThreads(__tstate);
24276 if (PyErr_Occurred()) SWIG_fail;
24277 }
24278 Py_INCREF(Py_None); resultobj = Py_None;
24279 return resultobj;
24280 fail:
24281 return NULL;
24282 }
24283
24284
24285 static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
24286 PyObject *resultobj;
24287 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24288 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
24289 PyObject * obj0 = 0 ;
24290 PyObject * obj1 = 0 ;
24291 char *kwnames[] = {
24292 (char *) "self",(char *) "canvas", NULL
24293 };
24294
24295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
24296 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24297 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24298 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
24299 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24300 {
24301 PyThreadState* __tstate = wxPyBeginAllowThreads();
24302 (arg1)->SetCanvas(arg2);
24303
24304 wxPyEndAllowThreads(__tstate);
24305 if (PyErr_Occurred()) SWIG_fail;
24306 }
24307 Py_INCREF(Py_None); resultobj = Py_None;
24308 return resultobj;
24309 fail:
24310 return NULL;
24311 }
24312
24313
24314 static PyObject *_wrap_PrintPreview_GetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
24315 PyObject *resultobj;
24316 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24317 wxFrame *result;
24318 PyObject * obj0 = 0 ;
24319 char *kwnames[] = {
24320 (char *) "self", NULL
24321 };
24322
24323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail;
24324 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24325 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24326 {
24327 PyThreadState* __tstate = wxPyBeginAllowThreads();
24328 result = (wxFrame *)(arg1)->GetFrame();
24329
24330 wxPyEndAllowThreads(__tstate);
24331 if (PyErr_Occurred()) SWIG_fail;
24332 }
24333 {
24334 resultobj = wxPyMake_wxObject(result, 0);
24335 }
24336 return resultobj;
24337 fail:
24338 return NULL;
24339 }
24340
24341
24342 static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
24343 PyObject *resultobj;
24344 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24345 wxPreviewCanvas *result;
24346 PyObject * obj0 = 0 ;
24347 char *kwnames[] = {
24348 (char *) "self", NULL
24349 };
24350
24351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",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 = (wxPreviewCanvas *)(arg1)->GetCanvas();
24357
24358 wxPyEndAllowThreads(__tstate);
24359 if (PyErr_Occurred()) SWIG_fail;
24360 }
24361 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 0);
24362 return resultobj;
24363 fail:
24364 return NULL;
24365 }
24366
24367
24368 static PyObject *_wrap_PrintPreview_PaintPage(PyObject *, PyObject *args, PyObject *kwargs) {
24369 PyObject *resultobj;
24370 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24371 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
24372 wxDC *arg3 = 0 ;
24373 bool result;
24374 PyObject * obj0 = 0 ;
24375 PyObject * obj1 = 0 ;
24376 PyObject * obj2 = 0 ;
24377 char *kwnames[] = {
24378 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24379 };
24380
24381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
24382 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24383 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24384 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
24385 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24386 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
24387 SWIG_POINTER_EXCEPTION | 0)) == -1)
24388 SWIG_fail;
24389 if (arg3 == NULL) {
24390 PyErr_SetString(PyExc_TypeError,"null reference");
24391 SWIG_fail;
24392 }
24393 {
24394 PyThreadState* __tstate = wxPyBeginAllowThreads();
24395 result = (bool)(arg1)->PaintPage(arg2,*arg3);
24396
24397 wxPyEndAllowThreads(__tstate);
24398 if (PyErr_Occurred()) SWIG_fail;
24399 }
24400 {
24401 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24402 }
24403 return resultobj;
24404 fail:
24405 return NULL;
24406 }
24407
24408
24409 static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *, PyObject *args, PyObject *kwargs) {
24410 PyObject *resultobj;
24411 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24412 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
24413 wxDC *arg3 = 0 ;
24414 bool result;
24415 PyObject * obj0 = 0 ;
24416 PyObject * obj1 = 0 ;
24417 PyObject * obj2 = 0 ;
24418 char *kwnames[] = {
24419 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24420 };
24421
24422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
24423 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24424 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24425 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
24426 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24427 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
24428 SWIG_POINTER_EXCEPTION | 0)) == -1)
24429 SWIG_fail;
24430 if (arg3 == NULL) {
24431 PyErr_SetString(PyExc_TypeError,"null reference");
24432 SWIG_fail;
24433 }
24434 {
24435 PyThreadState* __tstate = wxPyBeginAllowThreads();
24436 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
24437
24438 wxPyEndAllowThreads(__tstate);
24439 if (PyErr_Occurred()) SWIG_fail;
24440 }
24441 {
24442 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24443 }
24444 return resultobj;
24445 fail:
24446 return NULL;
24447 }
24448
24449
24450 static PyObject *_wrap_PrintPreview_RenderPage(PyObject *, PyObject *args, PyObject *kwargs) {
24451 PyObject *resultobj;
24452 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24453 int arg2 ;
24454 bool result;
24455 PyObject * obj0 = 0 ;
24456 PyObject * obj1 = 0 ;
24457 char *kwnames[] = {
24458 (char *) "self",(char *) "pageNum", NULL
24459 };
24460
24461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) goto fail;
24462 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24463 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24464 arg2 = (int)SWIG_As_int(obj1);
24465 if (PyErr_Occurred()) SWIG_fail;
24466 {
24467 PyThreadState* __tstate = wxPyBeginAllowThreads();
24468 result = (bool)(arg1)->RenderPage(arg2);
24469
24470 wxPyEndAllowThreads(__tstate);
24471 if (PyErr_Occurred()) SWIG_fail;
24472 }
24473 {
24474 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24475 }
24476 return resultobj;
24477 fail:
24478 return NULL;
24479 }
24480
24481
24482 static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
24483 PyObject *resultobj;
24484 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24485 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
24486 PyObject * obj0 = 0 ;
24487 PyObject * obj1 = 0 ;
24488 char *kwnames[] = {
24489 (char *) "self",(char *) "canvas", NULL
24490 };
24491
24492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail;
24493 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24494 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24495 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
24496 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24497 {
24498 PyThreadState* __tstate = wxPyBeginAllowThreads();
24499 (arg1)->AdjustScrollbars(arg2);
24500
24501 wxPyEndAllowThreads(__tstate);
24502 if (PyErr_Occurred()) SWIG_fail;
24503 }
24504 Py_INCREF(Py_None); resultobj = Py_None;
24505 return resultobj;
24506 fail:
24507 return NULL;
24508 }
24509
24510
24511 static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
24512 PyObject *resultobj;
24513 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24514 wxPrintDialogData *result;
24515 PyObject * obj0 = 0 ;
24516 char *kwnames[] = {
24517 (char *) "self", NULL
24518 };
24519
24520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail;
24521 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24522 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24523 {
24524 PyThreadState* __tstate = wxPyBeginAllowThreads();
24525 {
24526 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
24527 result = (wxPrintDialogData *) &_result_ref;
24528 }
24529
24530 wxPyEndAllowThreads(__tstate);
24531 if (PyErr_Occurred()) SWIG_fail;
24532 }
24533 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
24534 return resultobj;
24535 fail:
24536 return NULL;
24537 }
24538
24539
24540 static PyObject *_wrap_PrintPreview_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
24541 PyObject *resultobj;
24542 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24543 int arg2 ;
24544 PyObject * obj0 = 0 ;
24545 PyObject * obj1 = 0 ;
24546 char *kwnames[] = {
24547 (char *) "self",(char *) "percent", NULL
24548 };
24549
24550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) goto fail;
24551 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24552 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24553 arg2 = (int)SWIG_As_int(obj1);
24554 if (PyErr_Occurred()) SWIG_fail;
24555 {
24556 PyThreadState* __tstate = wxPyBeginAllowThreads();
24557 (arg1)->SetZoom(arg2);
24558
24559 wxPyEndAllowThreads(__tstate);
24560 if (PyErr_Occurred()) SWIG_fail;
24561 }
24562 Py_INCREF(Py_None); resultobj = Py_None;
24563 return resultobj;
24564 fail:
24565 return NULL;
24566 }
24567
24568
24569 static PyObject *_wrap_PrintPreview_GetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
24570 PyObject *resultobj;
24571 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24572 int result;
24573 PyObject * obj0 = 0 ;
24574 char *kwnames[] = {
24575 (char *) "self", NULL
24576 };
24577
24578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail;
24579 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24580 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24581 {
24582 PyThreadState* __tstate = wxPyBeginAllowThreads();
24583 result = (int)(arg1)->GetZoom();
24584
24585 wxPyEndAllowThreads(__tstate);
24586 if (PyErr_Occurred()) SWIG_fail;
24587 }
24588 resultobj = SWIG_From_int((int)result);
24589 return resultobj;
24590 fail:
24591 return NULL;
24592 }
24593
24594
24595 static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
24596 PyObject *resultobj;
24597 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24598 int result;
24599 PyObject * obj0 = 0 ;
24600 char *kwnames[] = {
24601 (char *) "self", NULL
24602 };
24603
24604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail;
24605 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24606 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24607 {
24608 PyThreadState* __tstate = wxPyBeginAllowThreads();
24609 result = (int)(arg1)->GetMaxPage();
24610
24611 wxPyEndAllowThreads(__tstate);
24612 if (PyErr_Occurred()) SWIG_fail;
24613 }
24614 resultobj = SWIG_From_int((int)result);
24615 return resultobj;
24616 fail:
24617 return NULL;
24618 }
24619
24620
24621 static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
24622 PyObject *resultobj;
24623 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24624 int result;
24625 PyObject * obj0 = 0 ;
24626 char *kwnames[] = {
24627 (char *) "self", NULL
24628 };
24629
24630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail;
24631 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24632 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24633 {
24634 PyThreadState* __tstate = wxPyBeginAllowThreads();
24635 result = (int)(arg1)->GetMinPage();
24636
24637 wxPyEndAllowThreads(__tstate);
24638 if (PyErr_Occurred()) SWIG_fail;
24639 }
24640 resultobj = SWIG_From_int((int)result);
24641 return resultobj;
24642 fail:
24643 return NULL;
24644 }
24645
24646
24647 static PyObject *_wrap_PrintPreview_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
24648 PyObject *resultobj;
24649 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24650 bool result;
24651 PyObject * obj0 = 0 ;
24652 char *kwnames[] = {
24653 (char *) "self", NULL
24654 };
24655
24656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail;
24657 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24658 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24659 {
24660 PyThreadState* __tstate = wxPyBeginAllowThreads();
24661 result = (bool)(arg1)->Ok();
24662
24663 wxPyEndAllowThreads(__tstate);
24664 if (PyErr_Occurred()) SWIG_fail;
24665 }
24666 {
24667 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24668 }
24669 return resultobj;
24670 fail:
24671 return NULL;
24672 }
24673
24674
24675 static PyObject *_wrap_PrintPreview_SetOk(PyObject *, PyObject *args, PyObject *kwargs) {
24676 PyObject *resultobj;
24677 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24678 bool arg2 ;
24679 PyObject * obj0 = 0 ;
24680 PyObject * obj1 = 0 ;
24681 char *kwnames[] = {
24682 (char *) "self",(char *) "ok", NULL
24683 };
24684
24685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail;
24686 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24687 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24688 arg2 = (bool)SWIG_As_bool(obj1);
24689 if (PyErr_Occurred()) SWIG_fail;
24690 {
24691 PyThreadState* __tstate = wxPyBeginAllowThreads();
24692 (arg1)->SetOk(arg2);
24693
24694 wxPyEndAllowThreads(__tstate);
24695 if (PyErr_Occurred()) SWIG_fail;
24696 }
24697 Py_INCREF(Py_None); resultobj = Py_None;
24698 return resultobj;
24699 fail:
24700 return NULL;
24701 }
24702
24703
24704 static PyObject *_wrap_PrintPreview_Print(PyObject *, PyObject *args, PyObject *kwargs) {
24705 PyObject *resultobj;
24706 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24707 bool arg2 ;
24708 bool result;
24709 PyObject * obj0 = 0 ;
24710 PyObject * obj1 = 0 ;
24711 char *kwnames[] = {
24712 (char *) "self",(char *) "interactive", NULL
24713 };
24714
24715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail;
24716 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24717 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24718 arg2 = (bool)SWIG_As_bool(obj1);
24719 if (PyErr_Occurred()) SWIG_fail;
24720 {
24721 PyThreadState* __tstate = wxPyBeginAllowThreads();
24722 result = (bool)(arg1)->Print(arg2);
24723
24724 wxPyEndAllowThreads(__tstate);
24725 if (PyErr_Occurred()) SWIG_fail;
24726 }
24727 {
24728 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24729 }
24730 return resultobj;
24731 fail:
24732 return NULL;
24733 }
24734
24735
24736 static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *, PyObject *args, PyObject *kwargs) {
24737 PyObject *resultobj;
24738 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24739 PyObject * obj0 = 0 ;
24740 char *kwnames[] = {
24741 (char *) "self", NULL
24742 };
24743
24744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail;
24745 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24746 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24747 {
24748 PyThreadState* __tstate = wxPyBeginAllowThreads();
24749 (arg1)->DetermineScaling();
24750
24751 wxPyEndAllowThreads(__tstate);
24752 if (PyErr_Occurred()) SWIG_fail;
24753 }
24754 Py_INCREF(Py_None); resultobj = Py_None;
24755 return resultobj;
24756 fail:
24757 return NULL;
24758 }
24759
24760
24761 static PyObject * PrintPreview_swigregister(PyObject *, PyObject *args) {
24762 PyObject *obj;
24763 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24764 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj);
24765 Py_INCREF(obj);
24766 return Py_BuildValue((char *)"");
24767 }
24768 static PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *, PyObject *args) {
24769 PyObject *resultobj;
24770 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24771 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
24772 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
24773 wxPyPrintPreview *result;
24774 PyObject * obj0 = 0 ;
24775 PyObject * obj1 = 0 ;
24776 PyObject * obj2 = 0 ;
24777
24778 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
24779 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
24780 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24781 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
24782 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24783 if (obj2) {
24784 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintDialogData,
24785 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24786 }
24787 {
24788 if (!wxPyCheckForApp()) SWIG_fail;
24789 PyThreadState* __tstate = wxPyBeginAllowThreads();
24790 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
24791
24792 wxPyEndAllowThreads(__tstate);
24793 if (PyErr_Occurred()) SWIG_fail;
24794 }
24795 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
24796 return resultobj;
24797 fail:
24798 return NULL;
24799 }
24800
24801
24802 static PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *, PyObject *args) {
24803 PyObject *resultobj;
24804 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24805 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
24806 wxPrintData *arg3 = (wxPrintData *) 0 ;
24807 wxPyPrintPreview *result;
24808 PyObject * obj0 = 0 ;
24809 PyObject * obj1 = 0 ;
24810 PyObject * obj2 = 0 ;
24811
24812 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
24813 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
24814 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24815 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
24816 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24817 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData,
24818 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24819 {
24820 if (!wxPyCheckForApp()) SWIG_fail;
24821 PyThreadState* __tstate = wxPyBeginAllowThreads();
24822 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
24823
24824 wxPyEndAllowThreads(__tstate);
24825 if (PyErr_Occurred()) SWIG_fail;
24826 }
24827 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
24828 return resultobj;
24829 fail:
24830 return NULL;
24831 }
24832
24833
24834 static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
24835 int argc;
24836 PyObject *argv[4];
24837 int ii;
24838
24839 argc = PyObject_Length(args);
24840 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
24841 argv[ii] = PyTuple_GetItem(args,ii);
24842 }
24843 if ((argc >= 2) && (argc <= 3)) {
24844 int _v;
24845 {
24846 void *ptr;
24847 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
24848 _v = 0;
24849 PyErr_Clear();
24850 } else {
24851 _v = 1;
24852 }
24853 }
24854 if (_v) {
24855 {
24856 void *ptr;
24857 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
24858 _v = 0;
24859 PyErr_Clear();
24860 } else {
24861 _v = 1;
24862 }
24863 }
24864 if (_v) {
24865 if (argc <= 2) {
24866 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
24867 }
24868 {
24869 void *ptr;
24870 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
24871 _v = 0;
24872 PyErr_Clear();
24873 } else {
24874 _v = 1;
24875 }
24876 }
24877 if (_v) {
24878 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
24879 }
24880 }
24881 }
24882 }
24883 if (argc == 3) {
24884 int _v;
24885 {
24886 void *ptr;
24887 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
24888 _v = 0;
24889 PyErr_Clear();
24890 } else {
24891 _v = 1;
24892 }
24893 }
24894 if (_v) {
24895 {
24896 void *ptr;
24897 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
24898 _v = 0;
24899 PyErr_Clear();
24900 } else {
24901 _v = 1;
24902 }
24903 }
24904 if (_v) {
24905 {
24906 void *ptr;
24907 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
24908 _v = 0;
24909 PyErr_Clear();
24910 } else {
24911 _v = 1;
24912 }
24913 }
24914 if (_v) {
24915 return _wrap_new_PyPrintPreview__SWIG_1(self,args);
24916 }
24917 }
24918 }
24919 }
24920
24921 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PyPrintPreview'");
24922 return NULL;
24923 }
24924
24925
24926 static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
24927 PyObject *resultobj;
24928 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24929 PyObject *arg2 = (PyObject *) 0 ;
24930 PyObject *arg3 = (PyObject *) 0 ;
24931 PyObject * obj0 = 0 ;
24932 PyObject * obj1 = 0 ;
24933 PyObject * obj2 = 0 ;
24934 char *kwnames[] = {
24935 (char *) "self",(char *) "self",(char *) "_class", NULL
24936 };
24937
24938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24939 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24940 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24941 arg2 = obj1;
24942 arg3 = obj2;
24943 {
24944 PyThreadState* __tstate = wxPyBeginAllowThreads();
24945 (arg1)->_setCallbackInfo(arg2,arg3);
24946
24947 wxPyEndAllowThreads(__tstate);
24948 if (PyErr_Occurred()) SWIG_fail;
24949 }
24950 Py_INCREF(Py_None); resultobj = Py_None;
24951 return resultobj;
24952 fail:
24953 return NULL;
24954 }
24955
24956
24957 static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
24958 PyObject *resultobj;
24959 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24960 int arg2 ;
24961 bool result;
24962 PyObject * obj0 = 0 ;
24963 PyObject * obj1 = 0 ;
24964 char *kwnames[] = {
24965 (char *) "self",(char *) "pageNum", NULL
24966 };
24967
24968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
24969 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24970 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24971 arg2 = (int)SWIG_As_int(obj1);
24972 if (PyErr_Occurred()) SWIG_fail;
24973 {
24974 PyThreadState* __tstate = wxPyBeginAllowThreads();
24975 result = (bool)(arg1)->base_SetCurrentPage(arg2);
24976
24977 wxPyEndAllowThreads(__tstate);
24978 if (PyErr_Occurred()) SWIG_fail;
24979 }
24980 {
24981 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24982 }
24983 return resultobj;
24984 fail:
24985 return NULL;
24986 }
24987
24988
24989 static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *, PyObject *args, PyObject *kwargs) {
24990 PyObject *resultobj;
24991 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24992 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
24993 wxDC *arg3 = 0 ;
24994 bool result;
24995 PyObject * obj0 = 0 ;
24996 PyObject * obj1 = 0 ;
24997 PyObject * obj2 = 0 ;
24998 char *kwnames[] = {
24999 (char *) "self",(char *) "canvas",(char *) "dc", NULL
25000 };
25001
25002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
25003 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
25004 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25005 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
25006 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25007 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
25008 SWIG_POINTER_EXCEPTION | 0)) == -1)
25009 SWIG_fail;
25010 if (arg3 == NULL) {
25011 PyErr_SetString(PyExc_TypeError,"null reference");
25012 SWIG_fail;
25013 }
25014 {
25015 PyThreadState* __tstate = wxPyBeginAllowThreads();
25016 result = (bool)(arg1)->base_PaintPage(arg2,*arg3);
25017
25018 wxPyEndAllowThreads(__tstate);
25019 if (PyErr_Occurred()) SWIG_fail;
25020 }
25021 {
25022 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25023 }
25024 return resultobj;
25025 fail:
25026 return NULL;
25027 }
25028
25029
25030 static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *, PyObject *args, PyObject *kwargs) {
25031 PyObject *resultobj;
25032 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
25033 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
25034 wxDC *arg3 = 0 ;
25035 bool result;
25036 PyObject * obj0 = 0 ;
25037 PyObject * obj1 = 0 ;
25038 PyObject * obj2 = 0 ;
25039 char *kwnames[] = {
25040 (char *) "self",(char *) "canvas",(char *) "dc", NULL
25041 };
25042
25043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
25044 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
25045 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25046 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
25047 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25048 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
25049 SWIG_POINTER_EXCEPTION | 0)) == -1)
25050 SWIG_fail;
25051 if (arg3 == NULL) {
25052 PyErr_SetString(PyExc_TypeError,"null reference");
25053 SWIG_fail;
25054 }
25055 {
25056 PyThreadState* __tstate = wxPyBeginAllowThreads();
25057 result = (bool)(arg1)->base_DrawBlankPage(arg2,*arg3);
25058
25059 wxPyEndAllowThreads(__tstate);
25060 if (PyErr_Occurred()) SWIG_fail;
25061 }
25062 {
25063 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25064 }
25065 return resultobj;
25066 fail:
25067 return NULL;
25068 }
25069
25070
25071 static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *, PyObject *args, PyObject *kwargs) {
25072 PyObject *resultobj;
25073 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
25074 int arg2 ;
25075 bool result;
25076 PyObject * obj0 = 0 ;
25077 PyObject * obj1 = 0 ;
25078 char *kwnames[] = {
25079 (char *) "self",(char *) "pageNum", NULL
25080 };
25081
25082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames,&obj0,&obj1)) goto fail;
25083 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
25084 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25085 arg2 = (int)SWIG_As_int(obj1);
25086 if (PyErr_Occurred()) SWIG_fail;
25087 {
25088 PyThreadState* __tstate = wxPyBeginAllowThreads();
25089 result = (bool)(arg1)->base_RenderPage(arg2);
25090
25091 wxPyEndAllowThreads(__tstate);
25092 if (PyErr_Occurred()) SWIG_fail;
25093 }
25094 {
25095 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25096 }
25097 return resultobj;
25098 fail:
25099 return NULL;
25100 }
25101
25102
25103 static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
25104 PyObject *resultobj;
25105 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
25106 int arg2 ;
25107 PyObject * obj0 = 0 ;
25108 PyObject * obj1 = 0 ;
25109 char *kwnames[] = {
25110 (char *) "self",(char *) "percent", NULL
25111 };
25112
25113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames,&obj0,&obj1)) goto fail;
25114 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
25115 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25116 arg2 = (int)SWIG_As_int(obj1);
25117 if (PyErr_Occurred()) SWIG_fail;
25118 {
25119 PyThreadState* __tstate = wxPyBeginAllowThreads();
25120 (arg1)->base_SetZoom(arg2);
25121
25122 wxPyEndAllowThreads(__tstate);
25123 if (PyErr_Occurred()) SWIG_fail;
25124 }
25125 Py_INCREF(Py_None); resultobj = Py_None;
25126 return resultobj;
25127 fail:
25128 return NULL;
25129 }
25130
25131
25132 static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *, PyObject *args, PyObject *kwargs) {
25133 PyObject *resultobj;
25134 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
25135 bool arg2 ;
25136 bool result;
25137 PyObject * obj0 = 0 ;
25138 PyObject * obj1 = 0 ;
25139 char *kwnames[] = {
25140 (char *) "self",(char *) "interactive", NULL
25141 };
25142
25143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_Print",kwnames,&obj0,&obj1)) goto fail;
25144 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
25145 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25146 arg2 = (bool)SWIG_As_bool(obj1);
25147 if (PyErr_Occurred()) SWIG_fail;
25148 {
25149 PyThreadState* __tstate = wxPyBeginAllowThreads();
25150 result = (bool)(arg1)->base_Print(arg2);
25151
25152 wxPyEndAllowThreads(__tstate);
25153 if (PyErr_Occurred()) SWIG_fail;
25154 }
25155 {
25156 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25157 }
25158 return resultobj;
25159 fail:
25160 return NULL;
25161 }
25162
25163
25164 static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *, PyObject *args, PyObject *kwargs) {
25165 PyObject *resultobj;
25166 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
25167 PyObject * obj0 = 0 ;
25168 char *kwnames[] = {
25169 (char *) "self", NULL
25170 };
25171
25172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames,&obj0)) goto fail;
25173 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
25174 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25175 {
25176 PyThreadState* __tstate = wxPyBeginAllowThreads();
25177 (arg1)->base_DetermineScaling();
25178
25179 wxPyEndAllowThreads(__tstate);
25180 if (PyErr_Occurred()) SWIG_fail;
25181 }
25182 Py_INCREF(Py_None); resultobj = Py_None;
25183 return resultobj;
25184 fail:
25185 return NULL;
25186 }
25187
25188
25189 static PyObject * PyPrintPreview_swigregister(PyObject *, PyObject *args) {
25190 PyObject *obj;
25191 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25192 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj);
25193 Py_INCREF(obj);
25194 return Py_BuildValue((char *)"");
25195 }
25196 static PyObject *_wrap_new_PyPreviewFrame(PyObject *, PyObject *args, PyObject *kwargs) {
25197 PyObject *resultobj;
25198 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25199 wxFrame *arg2 = (wxFrame *) 0 ;
25200 wxString *arg3 = 0 ;
25201 wxPoint const &arg4_defvalue = wxDefaultPosition ;
25202 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
25203 wxSize const &arg5_defvalue = wxDefaultSize ;
25204 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
25205 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
25206 wxString const &arg7_defvalue = wxPyFrameNameStr ;
25207 wxString *arg7 = (wxString *) &arg7_defvalue ;
25208 wxPyPreviewFrame *result;
25209 bool temp3 = false ;
25210 wxPoint temp4 ;
25211 wxSize temp5 ;
25212 bool temp7 = false ;
25213 PyObject * obj0 = 0 ;
25214 PyObject * obj1 = 0 ;
25215 PyObject * obj2 = 0 ;
25216 PyObject * obj3 = 0 ;
25217 PyObject * obj4 = 0 ;
25218 PyObject * obj5 = 0 ;
25219 PyObject * obj6 = 0 ;
25220 char *kwnames[] = {
25221 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25222 };
25223
25224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
25225 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
25226 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25227 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
25228 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25229 {
25230 arg3 = wxString_in_helper(obj2);
25231 if (arg3 == NULL) SWIG_fail;
25232 temp3 = true;
25233 }
25234 if (obj3) {
25235 {
25236 arg4 = &temp4;
25237 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
25238 }
25239 }
25240 if (obj4) {
25241 {
25242 arg5 = &temp5;
25243 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
25244 }
25245 }
25246 if (obj5) {
25247 arg6 = (long)SWIG_As_long(obj5);
25248 if (PyErr_Occurred()) SWIG_fail;
25249 }
25250 if (obj6) {
25251 {
25252 arg7 = wxString_in_helper(obj6);
25253 if (arg7 == NULL) SWIG_fail;
25254 temp7 = true;
25255 }
25256 }
25257 {
25258 if (!wxPyCheckForApp()) SWIG_fail;
25259 PyThreadState* __tstate = wxPyBeginAllowThreads();
25260 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
25261
25262 wxPyEndAllowThreads(__tstate);
25263 if (PyErr_Occurred()) SWIG_fail;
25264 }
25265 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewFrame, 1);
25266 {
25267 if (temp3)
25268 delete arg3;
25269 }
25270 {
25271 if (temp7)
25272 delete arg7;
25273 }
25274 return resultobj;
25275 fail:
25276 {
25277 if (temp3)
25278 delete arg3;
25279 }
25280 {
25281 if (temp7)
25282 delete arg7;
25283 }
25284 return NULL;
25285 }
25286
25287
25288 static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
25289 PyObject *resultobj;
25290 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
25291 PyObject *arg2 = (PyObject *) 0 ;
25292 PyObject *arg3 = (PyObject *) 0 ;
25293 PyObject * obj0 = 0 ;
25294 PyObject * obj1 = 0 ;
25295 PyObject * obj2 = 0 ;
25296 char *kwnames[] = {
25297 (char *) "self",(char *) "self",(char *) "_class", NULL
25298 };
25299
25300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
25301 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
25302 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25303 arg2 = obj1;
25304 arg3 = obj2;
25305 {
25306 PyThreadState* __tstate = wxPyBeginAllowThreads();
25307 (arg1)->_setCallbackInfo(arg2,arg3);
25308
25309 wxPyEndAllowThreads(__tstate);
25310 if (PyErr_Occurred()) SWIG_fail;
25311 }
25312 Py_INCREF(Py_None); resultobj = Py_None;
25313 return resultobj;
25314 fail:
25315 return NULL;
25316 }
25317
25318
25319 static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
25320 PyObject *resultobj;
25321 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
25322 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
25323 PyObject * obj0 = 0 ;
25324 PyObject * obj1 = 0 ;
25325 char *kwnames[] = {
25326 (char *) "self",(char *) "canvas", NULL
25327 };
25328
25329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail;
25330 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
25331 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25332 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
25333 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25334 {
25335 PyThreadState* __tstate = wxPyBeginAllowThreads();
25336 (arg1)->SetPreviewCanvas(arg2);
25337
25338 wxPyEndAllowThreads(__tstate);
25339 if (PyErr_Occurred()) SWIG_fail;
25340 }
25341 Py_INCREF(Py_None); resultobj = Py_None;
25342 return resultobj;
25343 fail:
25344 return NULL;
25345 }
25346
25347
25348 static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
25349 PyObject *resultobj;
25350 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
25351 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
25352 PyObject * obj0 = 0 ;
25353 PyObject * obj1 = 0 ;
25354 char *kwnames[] = {
25355 (char *) "self",(char *) "bar", NULL
25356 };
25357
25358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail;
25359 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
25360 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25361 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewControlBar,
25362 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25363 {
25364 PyThreadState* __tstate = wxPyBeginAllowThreads();
25365 (arg1)->SetControlBar(arg2);
25366
25367 wxPyEndAllowThreads(__tstate);
25368 if (PyErr_Occurred()) SWIG_fail;
25369 }
25370 Py_INCREF(Py_None); resultobj = Py_None;
25371 return resultobj;
25372 fail:
25373 return NULL;
25374 }
25375
25376
25377 static PyObject *_wrap_PyPreviewFrame_base_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
25378 PyObject *resultobj;
25379 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
25380 PyObject * obj0 = 0 ;
25381 char *kwnames[] = {
25382 (char *) "self", NULL
25383 };
25384
25385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_Initialize",kwnames,&obj0)) goto fail;
25386 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
25387 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25388 {
25389 PyThreadState* __tstate = wxPyBeginAllowThreads();
25390 (arg1)->base_Initialize();
25391
25392 wxPyEndAllowThreads(__tstate);
25393 if (PyErr_Occurred()) SWIG_fail;
25394 }
25395 Py_INCREF(Py_None); resultobj = Py_None;
25396 return resultobj;
25397 fail:
25398 return NULL;
25399 }
25400
25401
25402 static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
25403 PyObject *resultobj;
25404 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
25405 PyObject * obj0 = 0 ;
25406 char *kwnames[] = {
25407 (char *) "self", NULL
25408 };
25409
25410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames,&obj0)) goto fail;
25411 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
25412 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25413 {
25414 PyThreadState* __tstate = wxPyBeginAllowThreads();
25415 (arg1)->base_CreateCanvas();
25416
25417 wxPyEndAllowThreads(__tstate);
25418 if (PyErr_Occurred()) SWIG_fail;
25419 }
25420 Py_INCREF(Py_None); resultobj = Py_None;
25421 return resultobj;
25422 fail:
25423 return NULL;
25424 }
25425
25426
25427 static PyObject *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
25428 PyObject *resultobj;
25429 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
25430 PyObject * obj0 = 0 ;
25431 char *kwnames[] = {
25432 (char *) "self", NULL
25433 };
25434
25435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames,&obj0)) goto fail;
25436 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
25437 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25438 {
25439 PyThreadState* __tstate = wxPyBeginAllowThreads();
25440 (arg1)->base_CreateControlBar();
25441
25442 wxPyEndAllowThreads(__tstate);
25443 if (PyErr_Occurred()) SWIG_fail;
25444 }
25445 Py_INCREF(Py_None); resultobj = Py_None;
25446 return resultobj;
25447 fail:
25448 return NULL;
25449 }
25450
25451
25452 static PyObject * PyPreviewFrame_swigregister(PyObject *, PyObject *args) {
25453 PyObject *obj;
25454 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25455 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj);
25456 Py_INCREF(obj);
25457 return Py_BuildValue((char *)"");
25458 }
25459 static PyObject *_wrap_new_PyPreviewControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
25460 PyObject *resultobj;
25461 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25462 long arg2 ;
25463 wxWindow *arg3 = (wxWindow *) 0 ;
25464 wxPoint const &arg4_defvalue = wxDefaultPosition ;
25465 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
25466 wxSize const &arg5_defvalue = wxDefaultSize ;
25467 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
25468 long arg6 = (long) 0 ;
25469 wxString const &arg7_defvalue = wxPyPanelNameStr ;
25470 wxString *arg7 = (wxString *) &arg7_defvalue ;
25471 wxPyPreviewControlBar *result;
25472 wxPoint temp4 ;
25473 wxSize temp5 ;
25474 bool temp7 = false ;
25475 PyObject * obj0 = 0 ;
25476 PyObject * obj1 = 0 ;
25477 PyObject * obj2 = 0 ;
25478 PyObject * obj3 = 0 ;
25479 PyObject * obj4 = 0 ;
25480 PyObject * obj5 = 0 ;
25481 PyObject * obj6 = 0 ;
25482 char *kwnames[] = {
25483 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25484 };
25485
25486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
25487 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
25488 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25489 arg2 = (long)SWIG_As_long(obj1);
25490 if (PyErr_Occurred()) SWIG_fail;
25491 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
25492 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25493 if (obj3) {
25494 {
25495 arg4 = &temp4;
25496 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
25497 }
25498 }
25499 if (obj4) {
25500 {
25501 arg5 = &temp5;
25502 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
25503 }
25504 }
25505 if (obj5) {
25506 arg6 = (long)SWIG_As_long(obj5);
25507 if (PyErr_Occurred()) SWIG_fail;
25508 }
25509 if (obj6) {
25510 {
25511 arg7 = wxString_in_helper(obj6);
25512 if (arg7 == NULL) SWIG_fail;
25513 temp7 = true;
25514 }
25515 }
25516 {
25517 if (!wxPyCheckForApp()) SWIG_fail;
25518 PyThreadState* __tstate = wxPyBeginAllowThreads();
25519 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
25520
25521 wxPyEndAllowThreads(__tstate);
25522 if (PyErr_Occurred()) SWIG_fail;
25523 }
25524 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewControlBar, 1);
25525 {
25526 if (temp7)
25527 delete arg7;
25528 }
25529 return resultobj;
25530 fail:
25531 {
25532 if (temp7)
25533 delete arg7;
25534 }
25535 return NULL;
25536 }
25537
25538
25539 static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
25540 PyObject *resultobj;
25541 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
25542 PyObject *arg2 = (PyObject *) 0 ;
25543 PyObject *arg3 = (PyObject *) 0 ;
25544 PyObject * obj0 = 0 ;
25545 PyObject * obj1 = 0 ;
25546 PyObject * obj2 = 0 ;
25547 char *kwnames[] = {
25548 (char *) "self",(char *) "self",(char *) "_class", NULL
25549 };
25550
25551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
25552 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
25553 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25554 arg2 = obj1;
25555 arg3 = obj2;
25556 {
25557 PyThreadState* __tstate = wxPyBeginAllowThreads();
25558 (arg1)->_setCallbackInfo(arg2,arg3);
25559
25560 wxPyEndAllowThreads(__tstate);
25561 if (PyErr_Occurred()) SWIG_fail;
25562 }
25563 Py_INCREF(Py_None); resultobj = Py_None;
25564 return resultobj;
25565 fail:
25566 return NULL;
25567 }
25568
25569
25570 static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *, PyObject *args, PyObject *kwargs) {
25571 PyObject *resultobj;
25572 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
25573 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
25574 PyObject * obj0 = 0 ;
25575 PyObject * obj1 = 0 ;
25576 char *kwnames[] = {
25577 (char *) "self",(char *) "preview", NULL
25578 };
25579
25580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail;
25581 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
25582 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25583 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintPreview,
25584 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25585 {
25586 PyThreadState* __tstate = wxPyBeginAllowThreads();
25587 (arg1)->SetPrintPreview(arg2);
25588
25589 wxPyEndAllowThreads(__tstate);
25590 if (PyErr_Occurred()) SWIG_fail;
25591 }
25592 Py_INCREF(Py_None); resultobj = Py_None;
25593 return resultobj;
25594 fail:
25595 return NULL;
25596 }
25597
25598
25599 static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *, PyObject *args, PyObject *kwargs) {
25600 PyObject *resultobj;
25601 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
25602 PyObject * obj0 = 0 ;
25603 char *kwnames[] = {
25604 (char *) "self", NULL
25605 };
25606
25607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames,&obj0)) goto fail;
25608 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
25609 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25610 {
25611 PyThreadState* __tstate = wxPyBeginAllowThreads();
25612 (arg1)->base_CreateButtons();
25613
25614 wxPyEndAllowThreads(__tstate);
25615 if (PyErr_Occurred()) SWIG_fail;
25616 }
25617 Py_INCREF(Py_None); resultobj = Py_None;
25618 return resultobj;
25619 fail:
25620 return NULL;
25621 }
25622
25623
25624 static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
25625 PyObject *resultobj;
25626 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
25627 int arg2 ;
25628 PyObject * obj0 = 0 ;
25629 PyObject * obj1 = 0 ;
25630 char *kwnames[] = {
25631 (char *) "self",(char *) "zoom", NULL
25632 };
25633
25634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
25635 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
25636 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25637 arg2 = (int)SWIG_As_int(obj1);
25638 if (PyErr_Occurred()) SWIG_fail;
25639 {
25640 PyThreadState* __tstate = wxPyBeginAllowThreads();
25641 (arg1)->base_SetZoomControl(arg2);
25642
25643 wxPyEndAllowThreads(__tstate);
25644 if (PyErr_Occurred()) SWIG_fail;
25645 }
25646 Py_INCREF(Py_None); resultobj = Py_None;
25647 return resultobj;
25648 fail:
25649 return NULL;
25650 }
25651
25652
25653 static PyObject * PyPreviewControlBar_swigregister(PyObject *, PyObject *args) {
25654 PyObject *obj;
25655 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25656 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj);
25657 Py_INCREF(obj);
25658 return Py_BuildValue((char *)"");
25659 }
25660 static PyMethodDef SwigMethods[] = {
25661 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS, NULL },
25662 { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS, NULL },
25663 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25664 { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25665 { (char *)"Panel_SetFocus", (PyCFunction) _wrap_Panel_SetFocus, METH_VARARGS | METH_KEYWORDS, NULL },
25666 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction) _wrap_Panel_SetFocusIgnoringChildren, METH_VARARGS | METH_KEYWORDS, NULL },
25667 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25668 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS, NULL },
25669 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25670 { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25671 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25672 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS, NULL },
25673 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS, NULL },
25674 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL },
25675 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL },
25676 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS, NULL },
25677 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS, NULL },
25678 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS, NULL },
25679 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS, NULL },
25680 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS, NULL },
25681 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS, NULL },
25682 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS, NULL },
25683 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS, NULL },
25684 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS, NULL },
25685 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL },
25686 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS, NULL },
25687 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25688 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25689 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS, NULL },
25690 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction) _wrap_ScrolledWindow_GetTargetRect, METH_VARARGS | METH_KEYWORDS, NULL },
25691 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction) _wrap_ScrolledWindow_DoPrepareDC, METH_VARARGS | METH_KEYWORDS, NULL },
25692 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25693 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS, NULL },
25694 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS, NULL },
25695 { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS, NULL },
25696 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS, NULL },
25697 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS, NULL },
25698 { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS, NULL },
25699 { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS, NULL },
25700 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL },
25701 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS, NULL },
25702 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS, NULL },
25703 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS, NULL },
25704 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL },
25705 { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL },
25706 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS, NULL },
25707 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction) _wrap_TopLevelWindow_RequestUserAttention, METH_VARARGS | METH_KEYWORDS, NULL },
25708 { (char *)"TopLevelWindow_IsActive", (PyCFunction) _wrap_TopLevelWindow_IsActive, METH_VARARGS | METH_KEYWORDS, NULL },
25709 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacSetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL },
25710 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacGetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL },
25711 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS, NULL },
25712 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS, NULL },
25713 { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25714 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25715 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS, NULL },
25716 { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS, NULL },
25717 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL },
25718 { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL },
25719 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS, NULL },
25720 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS, NULL },
25721 { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL },
25722 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL },
25723 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
25724 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL },
25725 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
25726 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
25727 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL },
25728 { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL },
25729 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
25730 { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
25731 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
25732 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS, NULL },
25733 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS, NULL },
25734 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25735 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS, NULL },
25736 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS, NULL },
25737 { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25738 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25739 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL },
25740 { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL },
25741 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS, NULL },
25742 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL },
25743 { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS, NULL },
25744 { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL },
25745 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS, NULL },
25746 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25747 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS, NULL },
25748 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25749 { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25750 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25751 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS, NULL },
25752 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25753 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
25754 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
25755 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS, NULL },
25756 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS, NULL },
25757 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS, NULL },
25758 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25759 { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS, NULL },
25760 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS, NULL },
25761 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS, NULL },
25762 { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS, NULL },
25763 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25764 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL },
25765 { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL },
25766 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
25767 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
25768 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
25769 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
25770 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL },
25771 { (char *)"StatusBar_SetStatusStyles", (PyCFunction) _wrap_StatusBar_SetStatusStyles, METH_VARARGS | METH_KEYWORDS, NULL },
25772 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS, NULL },
25773 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL },
25774 { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS, NULL },
25775 { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS, NULL },
25776 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25777 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS, NULL },
25778 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25779 { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25780 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25781 { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS, NULL },
25782 { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS, NULL },
25783 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL },
25784 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL },
25785 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS, NULL },
25786 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS, NULL },
25787 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS, NULL },
25788 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS, NULL },
25789 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25790 { (char *)"SplitterWindow_UpdateSize", (PyCFunction) _wrap_SplitterWindow_UpdateSize, METH_VARARGS | METH_KEYWORDS, NULL },
25791 { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS, NULL },
25792 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS, NULL },
25793 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
25794 { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS, NULL },
25795 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
25796 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL },
25797 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL },
25798 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction) _wrap_SplitterWindow_SetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL },
25799 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction) _wrap_SplitterWindow_GetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL },
25800 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL },
25801 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL },
25802 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL },
25803 { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS, NULL },
25804 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL },
25805 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL },
25806 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25807 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS, NULL },
25808 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS, NULL },
25809 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL },
25810 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL },
25811 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS, NULL },
25812 { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS, NULL },
25813 { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS, NULL },
25814 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS, NULL },
25815 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25816 { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25817 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25818 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL },
25819 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL },
25820 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS, NULL },
25821 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS, NULL },
25822 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS, NULL },
25823 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
25824 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
25825 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
25826 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
25827 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL },
25828 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL },
25829 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL },
25830 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL },
25831 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL },
25832 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL },
25833 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL },
25834 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL },
25835 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL },
25836 { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS, NULL },
25837 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS, NULL },
25838 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS, NULL },
25839 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL },
25840 { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS, NULL },
25841 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS, NULL },
25842 { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS, NULL },
25843 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL },
25844 { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL },
25845 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS, NULL },
25846 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS, NULL },
25847 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL },
25848 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL },
25849 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25850 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25851 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25852 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25853 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25854 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25855 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
25856 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
25857 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS, NULL },
25858 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS, NULL },
25859 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25860 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25861 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL },
25862 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS, NULL },
25863 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS, NULL },
25864 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25865 { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25866 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25867 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
25868 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25869 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
25870 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL },
25871 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25872 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS, NULL },
25873 { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS, NULL },
25874 { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS, NULL },
25875 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25876 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25877 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25878 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS, NULL },
25879 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25880 { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25881 { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25882 { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS, NULL },
25883 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS, NULL },
25884 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25885 { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25886 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25887 { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS, NULL },
25888 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction) _wrap_PopupTransientWindow_Dismiss, METH_VARARGS | METH_KEYWORDS, NULL },
25889 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS, NULL },
25890 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25891 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL },
25892 { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS, NULL },
25893 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS, NULL },
25894 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25895 { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25896 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25897 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25898 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS, NULL },
25899 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL },
25900 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS, NULL },
25901 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS, NULL },
25902 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS, NULL },
25903 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS, NULL },
25904 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction) _wrap_VScrolledWindow_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL },
25905 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL },
25906 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS, NULL },
25907 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS, NULL },
25908 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL },
25909 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL },
25910 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL },
25911 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL },
25912 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL },
25913 { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS, NULL },
25914 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25915 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25916 { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS, NULL },
25917 { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25918 { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25919 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS, NULL },
25920 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL },
25921 { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS, NULL },
25922 { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS, NULL },
25923 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL },
25924 { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS, NULL },
25925 { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL },
25926 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL },
25927 { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS, NULL },
25928 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25929 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL },
25930 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS, NULL },
25931 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS, NULL },
25932 { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL },
25933 { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS, NULL },
25934 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL },
25935 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL },
25936 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL },
25937 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS, NULL },
25938 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL },
25939 { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL },
25940 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25941 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25942 { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS, NULL },
25943 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL },
25944 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction) _wrap_HtmlListBox_GetFileSystem, METH_VARARGS | METH_KEYWORDS, NULL },
25945 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS, NULL },
25946 { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS, NULL },
25947 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction) _wrap_TaskBarIcon__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25948 { (char *)"TaskBarIcon_Destroy", (PyCFunction) _wrap_TaskBarIcon_Destroy, METH_VARARGS | METH_KEYWORDS, NULL },
25949 { (char *)"TaskBarIcon_IsOk", (PyCFunction) _wrap_TaskBarIcon_IsOk, METH_VARARGS | METH_KEYWORDS, NULL },
25950 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction) _wrap_TaskBarIcon_IsIconInstalled, METH_VARARGS | METH_KEYWORDS, NULL },
25951 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL },
25952 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction) _wrap_TaskBarIcon_RemoveIcon, METH_VARARGS | METH_KEYWORDS, NULL },
25953 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL },
25954 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS, NULL },
25955 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS, NULL },
25956 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS, NULL },
25957 { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS, NULL },
25958 { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS, NULL },
25959 { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL },
25960 { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL },
25961 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL },
25962 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL },
25963 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL },
25964 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL },
25965 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS, NULL },
25966 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25967 { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS, NULL },
25968 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS, NULL },
25969 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25970 { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS, NULL },
25971 { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL },
25972 { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
25973 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL },
25974 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL },
25975 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS, NULL },
25976 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25977 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL },
25978 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL },
25979 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS, NULL },
25980 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL },
25981 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS, NULL },
25982 { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
25983 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL },
25984 { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL },
25985 { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS, NULL },
25986 { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS, NULL },
25987 { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS, NULL },
25988 { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS, NULL },
25989 { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
25990 { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL },
25991 { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS, NULL },
25992 { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS, NULL },
25993 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS, NULL },
25994 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25995 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS, NULL },
25996 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL },
25997 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS, NULL },
25998 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25999 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
26000 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL },
26001 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
26002 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS, NULL },
26003 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL },
26004 { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
26005 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS, NULL },
26006 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS, NULL },
26007 { (char *)"new_PasswordEntryDialog", (PyCFunction) _wrap_new_PasswordEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL },
26008 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister, METH_VARARGS, NULL },
26009 { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS, NULL },
26010 { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS, NULL },
26011 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS, NULL },
26012 { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL },
26013 { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL },
26014 { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL },
26015 { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS, NULL },
26016 { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL },
26017 { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL },
26018 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL },
26019 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL },
26020 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL },
26021 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL },
26022 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS, NULL },
26023 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL },
26024 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS, NULL },
26025 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS, NULL },
26026 { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS, NULL },
26027 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS, NULL },
26028 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS, NULL },
26029 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS, NULL },
26030 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL },
26031 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL },
26032 { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS, NULL },
26033 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL },
26034 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL },
26035 { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
26036 { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS, NULL },
26037 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL },
26038 { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS, NULL },
26039 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
26040 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL },
26041 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL },
26042 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS, NULL },
26043 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL },
26044 { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL },
26045 { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS, NULL },
26046 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL },
26047 { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
26048 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
26049 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL },
26050 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL },
26051 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS, NULL },
26052 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL },
26053 { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL },
26054 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL },
26055 { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS, NULL },
26056 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS, NULL },
26057 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS, NULL },
26058 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL },
26059 { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL },
26060 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL },
26061 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS, NULL },
26062 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS, NULL },
26063 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS, NULL },
26064 { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS, NULL },
26065 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS, NULL },
26066 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS, NULL },
26067 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
26068 { (char *)"MDIParentFrame_GetWindowMenu", (PyCFunction) _wrap_MDIParentFrame_GetWindowMenu, METH_VARARGS | METH_KEYWORDS, NULL },
26069 { (char *)"MDIParentFrame_SetWindowMenu", (PyCFunction) _wrap_MDIParentFrame_SetWindowMenu, METH_VARARGS | METH_KEYWORDS, NULL },
26070 { (char *)"MDIParentFrame_SetToolBar", (PyCFunction) _wrap_MDIParentFrame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
26071 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS, NULL },
26072 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS, NULL },
26073 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL },
26074 { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL },
26075 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL },
26076 { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS, NULL },
26077 { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS, NULL },
26078 { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS, NULL },
26079 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS, NULL },
26080 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL },
26081 { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL },
26082 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
26083 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS, NULL },
26084 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS, NULL },
26085 { (char *)"new_PrePyWindow", (PyCFunction) _wrap_new_PrePyWindow, METH_VARARGS | METH_KEYWORDS, NULL },
26086 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
26087 { (char *)"PyWindow_SetBestSize", (PyCFunction) _wrap_PyWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
26088 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL },
26089 { (char *)"PyWindow_base_DoSetSize", (PyCFunction) _wrap_PyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL },
26090 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
26091 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
26092 { (char *)"PyWindow_base_DoGetSize", (PyCFunction) _wrap_PyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL },
26093 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
26094 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction) _wrap_PyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
26095 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
26096 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
26097 { (char *)"PyWindow_base_InitDialog", (PyCFunction) _wrap_PyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL },
26098 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL },
26099 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL },
26100 { (char *)"PyWindow_base_Validate", (PyCFunction) _wrap_PyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL },
26101 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL },
26102 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL },
26103 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction) _wrap_PyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL },
26104 { (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL },
26105 { (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL },
26106 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL },
26107 { (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL },
26108 { (char *)"PyWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
26109 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL },
26110 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL },
26111 { (char *)"new_PrePyPanel", (PyCFunction) _wrap_new_PrePyPanel, METH_VARARGS | METH_KEYWORDS, NULL },
26112 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
26113 { (char *)"PyPanel_SetBestSize", (PyCFunction) _wrap_PyPanel_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
26114 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction) _wrap_PyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL },
26115 { (char *)"PyPanel_base_DoSetSize", (PyCFunction) _wrap_PyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL },
26116 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction) _wrap_PyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
26117 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
26118 { (char *)"PyPanel_base_DoGetSize", (PyCFunction) _wrap_PyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL },
26119 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction) _wrap_PyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
26120 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction) _wrap_PyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
26121 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
26122 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction) _wrap_PyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
26123 { (char *)"PyPanel_base_InitDialog", (PyCFunction) _wrap_PyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL },
26124 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL },
26125 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL },
26126 { (char *)"PyPanel_base_Validate", (PyCFunction) _wrap_PyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL },
26127 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction) _wrap_PyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL },
26128 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL },
26129 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction) _wrap_PyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL },
26130 { (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL },
26131 { (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL },
26132 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction) _wrap_PyPanel_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL },
26133 { (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyPanel_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL },
26134 { (char *)"PyPanel_base_GetDefaultAttributes", (PyCFunction) _wrap_PyPanel_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
26135 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL },
26136 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
26137 { (char *)"new_PrePyScrolledWindow", (PyCFunction) _wrap_new_PrePyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
26138 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
26139 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction) _wrap_PyScrolledWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
26140 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL },
26141 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL },
26142 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
26143 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
26144 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL },
26145 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
26146 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
26147 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
26148 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
26149 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction) _wrap_PyScrolledWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL },
26150 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL },
26151 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL },
26152 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction) _wrap_PyScrolledWindow_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL },
26153 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL },
26154 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL },
26155 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction) _wrap_PyScrolledWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL },
26156 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction) _wrap_PyScrolledWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL },
26157 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction) _wrap_PyScrolledWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL },
26158 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyScrolledWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL },
26159 { (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL },
26160 { (char *)"PyScrolledWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyScrolledWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
26161 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS, NULL },
26162 { (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS, NULL },
26163 { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS, NULL },
26164 { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL },
26165 { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS, NULL },
26166 { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
26167 { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
26168 { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL },
26169 { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL },
26170 { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS, NULL },
26171 { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS, NULL },
26172 { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL },
26173 { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS, NULL },
26174 { (char *)"PrintData_GetBin", (PyCFunction) _wrap_PrintData_GetBin, METH_VARARGS | METH_KEYWORDS, NULL },
26175 { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL },
26176 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL },
26177 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL },
26178 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
26179 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL },
26180 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL },
26181 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS, NULL },
26182 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL },
26183 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL },
26184 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS, NULL },
26185 { (char *)"PrintData_SetBin", (PyCFunction) _wrap_PrintData_SetBin, METH_VARARGS | METH_KEYWORDS, NULL },
26186 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL },
26187 { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS, NULL },
26188 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL },
26189 { (char *)"PrintData_GetPrinterCommand", (PyCFunction) _wrap_PrintData_GetPrinterCommand, METH_VARARGS | METH_KEYWORDS, NULL },
26190 { (char *)"PrintData_GetPrinterOptions", (PyCFunction) _wrap_PrintData_GetPrinterOptions, METH_VARARGS | METH_KEYWORDS, NULL },
26191 { (char *)"PrintData_GetPreviewCommand", (PyCFunction) _wrap_PrintData_GetPreviewCommand, METH_VARARGS | METH_KEYWORDS, NULL },
26192 { (char *)"PrintData_GetFontMetricPath", (PyCFunction) _wrap_PrintData_GetFontMetricPath, METH_VARARGS | METH_KEYWORDS, NULL },
26193 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction) _wrap_PrintData_GetPrinterScaleX, METH_VARARGS | METH_KEYWORDS, NULL },
26194 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction) _wrap_PrintData_GetPrinterScaleY, METH_VARARGS | METH_KEYWORDS, NULL },
26195 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction) _wrap_PrintData_GetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS, NULL },
26196 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction) _wrap_PrintData_GetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS, NULL },
26197 { (char *)"PrintData_SetPrinterCommand", (PyCFunction) _wrap_PrintData_SetPrinterCommand, METH_VARARGS | METH_KEYWORDS, NULL },
26198 { (char *)"PrintData_SetPrinterOptions", (PyCFunction) _wrap_PrintData_SetPrinterOptions, METH_VARARGS | METH_KEYWORDS, NULL },
26199 { (char *)"PrintData_SetPreviewCommand", (PyCFunction) _wrap_PrintData_SetPreviewCommand, METH_VARARGS | METH_KEYWORDS, NULL },
26200 { (char *)"PrintData_SetFontMetricPath", (PyCFunction) _wrap_PrintData_SetFontMetricPath, METH_VARARGS | METH_KEYWORDS, NULL },
26201 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction) _wrap_PrintData_SetPrinterScaleX, METH_VARARGS | METH_KEYWORDS, NULL },
26202 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction) _wrap_PrintData_SetPrinterScaleY, METH_VARARGS | METH_KEYWORDS, NULL },
26203 { (char *)"PrintData_SetPrinterScaling", (PyCFunction) _wrap_PrintData_SetPrinterScaling, METH_VARARGS | METH_KEYWORDS, NULL },
26204 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction) _wrap_PrintData_SetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS, NULL },
26205 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction) _wrap_PrintData_SetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS, NULL },
26206 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction) _wrap_PrintData_SetPrinterTranslation, METH_VARARGS | METH_KEYWORDS, NULL },
26207 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS, NULL },
26208 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData, METH_VARARGS, NULL },
26209 { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS, NULL },
26210 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL },
26211 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS, NULL },
26212 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
26213 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS, NULL },
26214 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL },
26215 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL },
26216 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS, NULL },
26217 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
26218 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS, NULL },
26219 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL },
26220 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS, NULL },
26221 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL },
26222 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL },
26223 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL },
26224 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL },
26225 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL },
26226 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS, NULL },
26227 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL },
26228 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL },
26229 { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
26230 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL },
26231 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL },
26232 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL },
26233 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL },
26234 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL },
26235 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL },
26236 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL },
26237 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL },
26238 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL },
26239 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS, NULL },
26240 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL },
26241 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS, NULL },
26242 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupDialogData, METH_VARARGS | METH_KEYWORDS, NULL },
26243 { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL },
26244 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS, NULL },
26245 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS, NULL },
26246 { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL },
26247 { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS, NULL },
26248 { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS, NULL },
26249 { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS, NULL },
26250 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL },
26251 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL },
26252 { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS, NULL },
26253 { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
26254 { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS, NULL },
26255 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL },
26256 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction) _wrap_PrintDialogData_GetSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL },
26257 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction) _wrap_PrintDialogData_SetSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL },
26258 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS, NULL },
26259 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS, NULL },
26260 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS, NULL },
26261 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL },
26262 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL },
26263 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS, NULL },
26264 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
26265 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL },
26266 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL },
26267 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL },
26268 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS, NULL },
26269 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL },
26270 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL },
26271 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL },
26272 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS, NULL },
26273 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL },
26274 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS, NULL },
26275 { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
26276 { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL },
26277 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL },
26278 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS, NULL },
26279 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL },
26280 { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL },
26281 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL },
26282 { (char *)"PrintDialog_GetPrintData", (PyCFunction) _wrap_PrintDialog_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL },
26283 { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS, NULL },
26284 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS, NULL },
26285 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS, NULL },
26286 { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS, NULL },
26287 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS, NULL },
26288 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS, NULL },
26289 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS, NULL },
26290 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS, NULL },
26291 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL },
26292 { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL },
26293 { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS, NULL },
26294 { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS, NULL },
26295 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS, NULL },
26296 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS, NULL },
26297 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
26298 { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL },
26299 { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS, NULL },
26300 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS, NULL },
26301 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL },
26302 { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL },
26303 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL },
26304 { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL },
26305 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL },
26306 { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL },
26307 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL },
26308 { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL },
26309 { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS, NULL },
26310 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS, NULL },
26311 { (char *)"Printout_base_OnBeginDocument", (PyCFunction) _wrap_Printout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS, NULL },
26312 { (char *)"Printout_base_OnEndDocument", (PyCFunction) _wrap_Printout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS, NULL },
26313 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS, NULL },
26314 { (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS, NULL },
26315 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS, NULL },
26316 { (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS, NULL },
26317 { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS, NULL },
26318 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS, NULL },
26319 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
26320 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS, NULL },
26321 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL },
26322 { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS, NULL },
26323 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
26324 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
26325 { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
26326 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS, NULL },
26327 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
26328 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL },
26329 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL },
26330 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL },
26331 { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS, NULL },
26332 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS, NULL },
26333 { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS, NULL },
26334 { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS, NULL },
26335 { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS, NULL },
26336 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS, NULL },
26337 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS, NULL },
26338 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL },
26339 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL },
26340 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS, NULL },
26341 { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS, NULL },
26342 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS, NULL },
26343 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS, NULL },
26344 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
26345 { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS, NULL },
26346 { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
26347 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL },
26348 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL },
26349 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL },
26350 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL },
26351 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL },
26352 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL },
26353 { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS, NULL },
26354 { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL },
26355 { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS, NULL },
26356 { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
26357 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS, NULL },
26358 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL },
26359 { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS, NULL },
26360 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS, NULL },
26361 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS, NULL },
26362 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
26363 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL },
26364 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction) _wrap_PyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL },
26365 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL },
26366 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction) _wrap_PyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL },
26367 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction) _wrap_PyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL },
26368 { (char *)"PyPrintPreview_base_Print", (PyCFunction) _wrap_PyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS, NULL },
26369 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS, NULL },
26370 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS, NULL },
26371 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL },
26372 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
26373 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
26374 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
26375 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction) _wrap_PyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS, NULL },
26376 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
26377 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
26378 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS, NULL },
26379 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
26380 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
26381 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL },
26382 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS, NULL },
26383 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL },
26384 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS, NULL },
26385 { NULL, NULL, 0, NULL }
26386 };
26387
26388
26389 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
26390
26391 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
26392 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
26393 }
26394 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
26395 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
26396 }
26397 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
26398 return (void *)((wxEvent *) ((wxMenuEvent *) x));
26399 }
26400 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
26401 return (void *)((wxEvent *) ((wxCloseEvent *) x));
26402 }
26403 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
26404 return (void *)((wxEvent *) ((wxMouseEvent *) x));
26405 }
26406 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
26407 return (void *)((wxEvent *) ((wxEraseEvent *) x));
26408 }
26409 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
26410 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
26411 }
26412 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
26413 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
26414 }
26415 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
26416 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
26417 }
26418 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
26419 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
26420 }
26421 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
26422 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
26423 }
26424 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
26425 return (void *)((wxEvent *) ((wxPyEvent *) x));
26426 }
26427 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
26428 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
26429 }
26430 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
26431 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
26432 }
26433 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
26434 return (void *)((wxEvent *) ((wxIdleEvent *) x));
26435 }
26436 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
26437 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
26438 }
26439 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
26440 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
26441 }
26442 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
26443 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
26444 }
26445 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
26446 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
26447 }
26448 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
26449 return (void *)((wxEvent *) ((wxActivateEvent *) x));
26450 }
26451 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
26452 return (void *)((wxEvent *) ((wxSizeEvent *) x));
26453 }
26454 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
26455 return (void *)((wxEvent *) ((wxMoveEvent *) x));
26456 }
26457 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
26458 return (void *)((wxEvent *) ((wxPaintEvent *) x));
26459 }
26460 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
26461 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
26462 }
26463 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
26464 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
26465 }
26466 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
26467 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
26468 }
26469 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
26470 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
26471 }
26472 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
26473 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
26474 }
26475 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
26476 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
26477 }
26478 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
26479 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
26480 }
26481 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
26482 return (void *)((wxEvent *) ((wxFocusEvent *) x));
26483 }
26484 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
26485 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
26486 }
26487 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
26488 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
26489 }
26490 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
26491 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
26492 }
26493 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
26494 return (void *)((wxEvent *) ((wxShowEvent *) x));
26495 }
26496 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
26497 return (void *)((wxEvent *) ((wxCommandEvent *) x));
26498 }
26499 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
26500 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
26501 }
26502 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
26503 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
26504 }
26505 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
26506 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
26507 }
26508 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
26509 return (void *)((wxEvent *) ((wxKeyEvent *) x));
26510 }
26511 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
26512 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
26513 }
26514 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
26515 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
26516 }
26517 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
26518 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
26519 }
26520 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x) {
26521 return (void *)((wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
26522 }
26523 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
26524 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
26525 }
26526 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
26527 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
26528 }
26529 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
26530 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
26531 }
26532 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
26533 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
26534 }
26535 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
26536 return (void *)((wxEvtHandler *) ((wxValidator *) x));
26537 }
26538 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
26539 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
26540 }
26541 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
26542 return (void *)((wxEvtHandler *) ((wxMenu *) x));
26543 }
26544 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
26545 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
26546 }
26547 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
26548 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
26549 }
26550 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
26551 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
26552 }
26553 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
26554 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
26555 }
26556 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
26557 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
26558 }
26559 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
26560 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
26561 }
26562 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
26563 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
26564 }
26565 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
26566 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
26567 }
26568 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
26569 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
26570 }
26571 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
26572 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
26573 }
26574 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
26575 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
26576 }
26577 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
26578 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
26579 }
26580 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
26581 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
26582 }
26583 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
26584 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
26585 }
26586 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
26587 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
26588 }
26589 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
26590 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
26591 }
26592 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
26593 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
26594 }
26595 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
26596 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
26597 }
26598 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
26599 return (void *)((wxEvtHandler *) ((wxWindow *) x));
26600 }
26601 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
26602 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
26603 }
26604 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
26605 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
26606 }
26607 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
26608 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
26609 }
26610 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
26611 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
26612 }
26613 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
26614 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
26615 }
26616 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
26617 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
26618 }
26619 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
26620 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
26621 }
26622 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
26623 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
26624 }
26625 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
26626 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
26627 }
26628 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
26629 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
26630 }
26631 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
26632 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
26633 }
26634 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
26635 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
26636 }
26637 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
26638 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
26639 }
26640 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
26641 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26642 }
26643 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
26644 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
26645 }
26646 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
26647 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26648 }
26649 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
26650 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
26651 }
26652 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
26653 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
26654 }
26655 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
26656 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
26657 }
26658 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
26659 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
26660 }
26661 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
26662 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
26663 }
26664 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
26665 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
26666 }
26667 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
26668 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
26669 }
26670 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
26671 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
26672 }
26673 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
26674 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
26675 }
26676 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
26677 return (void *)((wxFrame *) ((wxProgressDialog *) x));
26678 }
26679 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
26680 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
26681 }
26682 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
26683 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
26684 }
26685 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
26686 return (void *)((wxFrame *) ((wxMiniFrame *) x));
26687 }
26688 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
26689 return (void *)((wxFrame *) ((wxSplashScreen *) x));
26690 }
26691 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
26692 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
26693 }
26694 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
26695 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
26696 }
26697 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
26698 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
26699 }
26700 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
26701 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
26702 }
26703 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
26704 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
26705 }
26706 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
26707 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
26708 }
26709 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
26710 return (void *)((wxObject *) ((wxSizerItem *) x));
26711 }
26712 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
26713 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
26714 }
26715 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
26716 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
26717 }
26718 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
26719 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
26720 }
26721 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
26722 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
26723 }
26724 static void *_p_wxSizerTo_p_wxObject(void *x) {
26725 return (void *)((wxObject *) ((wxSizer *) x));
26726 }
26727 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
26728 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
26729 }
26730 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
26731 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
26732 }
26733 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
26734 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
26735 }
26736 static void *_p_wxEventTo_p_wxObject(void *x) {
26737 return (void *)((wxObject *) ((wxEvent *) x));
26738 }
26739 static void *_p_wxFontDataTo_p_wxObject(void *x) {
26740 return (void *)((wxObject *) ((wxFontData *) x));
26741 }
26742 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
26743 return (void *)((wxObject *) ((wxPrintData *) x));
26744 }
26745 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
26746 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
26747 }
26748 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
26749 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
26750 }
26751 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
26752 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
26753 }
26754 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
26755 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
26756 }
26757 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
26758 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
26759 }
26760 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
26761 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
26762 }
26763 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
26764 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
26765 }
26766 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
26767 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
26768 }
26769 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
26770 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
26771 }
26772 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
26773 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
26774 }
26775 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
26776 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
26777 }
26778 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
26779 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
26780 }
26781 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
26782 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
26783 }
26784 static void *_p_wxControlTo_p_wxObject(void *x) {
26785 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
26786 }
26787 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
26788 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
26789 }
26790 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
26791 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
26792 }
26793 static void *_p_wxFSFileTo_p_wxObject(void *x) {
26794 return (void *)((wxObject *) ((wxFSFile *) x));
26795 }
26796 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
26797 return (void *)((wxObject *) ((wxFindReplaceData *) x));
26798 }
26799 static void *_p_wxPySizerTo_p_wxObject(void *x) {
26800 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
26801 }
26802 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
26803 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
26804 }
26805 static void *_p_wxColourDataTo_p_wxObject(void *x) {
26806 return (void *)((wxObject *) ((wxColourData *) x));
26807 }
26808 static void *_p_wxPyEventTo_p_wxObject(void *x) {
26809 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
26810 }
26811 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
26812 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
26813 }
26814 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
26815 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
26816 }
26817 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
26818 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
26819 }
26820 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
26821 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
26822 }
26823 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
26824 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
26825 }
26826 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
26827 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
26828 }
26829 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
26830 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
26831 }
26832 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
26833 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
26834 }
26835 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
26836 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
26837 }
26838 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
26839 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
26840 }
26841 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
26842 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
26843 }
26844 static void *_p_wxShowEventTo_p_wxObject(void *x) {
26845 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
26846 }
26847 static void *_p_wxPrinterTo_p_wxObject(void *x) {
26848 return (void *)((wxObject *) ((wxPrinter *) x));
26849 }
26850 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
26851 return (void *)((wxObject *) ((wxMenuItem *) x));
26852 }
26853 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
26854 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
26855 }
26856 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
26857 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
26858 }
26859 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
26860 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
26861 }
26862 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
26863 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
26864 }
26865 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
26866 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
26867 }
26868 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
26869 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
26870 }
26871 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
26872 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
26873 }
26874 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
26875 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
26876 }
26877 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
26878 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
26879 }
26880 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
26881 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
26882 }
26883 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
26884 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
26885 }
26886 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
26887 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
26888 }
26889 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
26890 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
26891 }
26892 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
26893 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
26894 }
26895 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
26896 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
26897 }
26898 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
26899 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
26900 }
26901 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
26902 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
26903 }
26904 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
26905 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
26906 }
26907 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
26908 return (void *)((wxObject *) ((wxImageHandler *) x));
26909 }
26910 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
26911 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
26912 }
26913 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
26914 return (void *)((wxObject *) ((wxEvtHandler *) x));
26915 }
26916 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
26917 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
26918 }
26919 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
26920 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26921 }
26922 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
26923 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
26924 }
26925 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
26926 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
26927 }
26928 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
26929 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
26930 }
26931 static void *_p_wxImageTo_p_wxObject(void *x) {
26932 return (void *)((wxObject *) ((wxImage *) x));
26933 }
26934 static void *_p_wxFrameTo_p_wxObject(void *x) {
26935 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
26936 }
26937 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
26938 return (void *)((wxObject *) ((wxPyPrintout *) x));
26939 }
26940 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
26941 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
26942 }
26943 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
26944 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
26945 }
26946 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
26947 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
26948 }
26949 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
26950 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
26951 }
26952 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
26953 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
26954 }
26955 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
26956 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
26957 }
26958 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
26959 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
26960 }
26961 static void *_p_wxWindowTo_p_wxObject(void *x) {
26962 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
26963 }
26964 static void *_p_wxMenuTo_p_wxObject(void *x) {
26965 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
26966 }
26967 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
26968 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
26969 }
26970 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
26971 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
26972 }
26973 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
26974 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
26975 }
26976 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
26977 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
26978 }
26979 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
26980 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
26981 }
26982 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
26983 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
26984 }
26985 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
26986 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
26987 }
26988 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
26989 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
26990 }
26991 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
26992 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
26993 }
26994 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
26995 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
26996 }
26997 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
26998 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
26999 }
27000 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
27001 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
27002 }
27003 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
27004 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
27005 }
27006 static void *_p_wxSashEventTo_p_wxObject(void *x) {
27007 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
27008 }
27009 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
27010 return (void *)((wxObject *) ((wxPrintPreview *) x));
27011 }
27012 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
27013 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
27014 }
27015 static void *_p_wxPanelTo_p_wxObject(void *x) {
27016 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
27017 }
27018 static void *_p_wxDialogTo_p_wxObject(void *x) {
27019 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
27020 }
27021 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
27022 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
27023 }
27024 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
27025 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
27026 }
27027 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
27028 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
27029 }
27030 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
27031 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
27032 }
27033 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
27034 return (void *)((wxObject *) ((wxPrintDialog *) x));
27035 }
27036 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
27037 return (void *)((wxObject *) ((wxFileSystem *) x));
27038 }
27039 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
27040 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
27041 }
27042 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
27043 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
27044 }
27045 static void *_p_wxPyAppTo_p_wxObject(void *x) {
27046 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
27047 }
27048 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
27049 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
27050 }
27051 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
27052 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
27053 }
27054 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
27055 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
27056 }
27057 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
27058 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
27059 }
27060 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
27061 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
27062 }
27063 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
27064 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
27065 }
27066 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
27067 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
27068 }
27069 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
27070 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
27071 }
27072 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
27073 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
27074 }
27075 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
27076 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
27077 }
27078 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
27079 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
27080 }
27081 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
27082 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
27083 }
27084 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
27085 return (void *)((wxObject *) ((wxPrintDialogData *) x));
27086 }
27087 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
27088 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
27089 }
27090 static void *_p_wxValidatorTo_p_wxObject(void *x) {
27091 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
27092 }
27093 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
27094 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
27095 }
27096 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
27097 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
27098 }
27099 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) {
27100 return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x));
27101 }
27102 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
27103 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
27104 }
27105 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) {
27106 return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x));
27107 }
27108 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
27109 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
27110 }
27111 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
27112 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
27113 }
27114 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
27115 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
27116 }
27117 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
27118 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
27119 }
27120 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
27121 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
27122 }
27123 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
27124 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
27125 }
27126 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
27127 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
27128 }
27129 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
27130 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
27131 }
27132 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
27133 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
27134 }
27135 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
27136 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
27137 }
27138 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
27139 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
27140 }
27141 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
27142 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
27143 }
27144 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
27145 return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
27146 }
27147 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
27148 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
27149 }
27150 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
27151 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
27152 }
27153 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
27154 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
27155 }
27156 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
27157 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
27158 }
27159 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
27160 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
27161 }
27162 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
27163 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
27164 }
27165 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
27166 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
27167 }
27168 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
27169 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
27170 }
27171 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
27172 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
27173 }
27174 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
27175 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
27176 }
27177 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
27178 return (void *)((wxWindow *) ((wxMenuBar *) x));
27179 }
27180 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
27181 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
27182 }
27183 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
27184 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
27185 }
27186 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
27187 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
27188 }
27189 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
27190 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
27191 }
27192 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
27193 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
27194 }
27195 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
27196 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
27197 }
27198 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
27199 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
27200 }
27201 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
27202 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
27203 }
27204 static void *_p_wxPanelTo_p_wxWindow(void *x) {
27205 return (void *)((wxWindow *) ((wxPanel *) x));
27206 }
27207 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
27208 return (void *)((wxWindow *) ((wxStatusBar *) x));
27209 }
27210 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
27211 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
27212 }
27213 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
27214 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
27215 }
27216 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
27217 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
27218 }
27219 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
27220 return (void *)((wxWindow *) ((wxPopupWindow *) x));
27221 }
27222 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
27223 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
27224 }
27225 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
27226 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
27227 }
27228 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
27229 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
27230 }
27231 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
27232 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
27233 }
27234 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
27235 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
27236 }
27237 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
27238 return (void *)((wxWindow *) ((wxSashWindow *) x));
27239 }
27240 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
27241 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
27242 }
27243 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
27244 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
27245 }
27246 static void *_p_wxControlTo_p_wxWindow(void *x) {
27247 return (void *)((wxWindow *) ((wxControl *) x));
27248 }
27249 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
27250 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
27251 }
27252 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
27253 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
27254 }
27255 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
27256 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
27257 }
27258 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
27259 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
27260 }
27261 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
27262 return (void *)((wxWindow *) ((wxPyWindow *) x));
27263 }
27264 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
27265 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
27266 }
27267 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
27268 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
27269 }
27270 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
27271 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
27272 }
27273 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
27274 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
27275 }
27276 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
27277 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
27278 }
27279 static void *_p_wxFrameTo_p_wxWindow(void *x) {
27280 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
27281 }
27282 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
27283 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
27284 }
27285 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
27286 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
27287 }
27288 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
27289 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
27290 }
27291 static void *_p_wxDialogTo_p_wxWindow(void *x) {
27292 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
27293 }
27294 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
27295 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
27296 }
27297 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
27298 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
27299 }
27300 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
27301 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
27302 }
27303 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
27304 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
27305 }
27306 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
27307 return (void *)((wxDialog *) ((wxColourDialog *) x));
27308 }
27309 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
27310 return (void *)((wxDialog *) ((wxDirDialog *) x));
27311 }
27312 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
27313 return (void *)((wxDialog *) ((wxFontDialog *) x));
27314 }
27315 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
27316 return (void *)((wxDialog *) ((wxFileDialog *) x));
27317 }
27318 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
27319 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
27320 }
27321 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
27322 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
27323 }
27324 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
27325 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
27326 }
27327 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) {
27328 return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
27329 }
27330 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
27331 return (void *)((wxDialog *) ((wxMessageDialog *) x));
27332 }
27333 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
27334 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
27335 }
27336 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
27337 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
27338 }
27339 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
27340 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
27341 }
27342 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
27343 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
27344 }
27345 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
27346 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
27347 }
27348 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
27349 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
27350 }
27351 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
27352 return (void *)((wxPanel *) ((wxPyPanel *) x));
27353 }
27354 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
27355 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
27356 }
27357 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
27358 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
27359 }
27360 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
27361 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
27362 }
27363 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
27364 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
27365 }
27366 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
27367 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
27368 }
27369 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
27370 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
27371 }
27372 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
27373 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
27374 }
27375 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
27376 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
27377 }
27378 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
27379 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
27380 }
27381 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
27382 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
27383 }
27384 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
27385 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
27386 }
27387 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
27388 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
27389 }
27390 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
27391 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
27392 }
27393 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
27394 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
27395 }
27396 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
27397 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
27398 }
27399 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}};
27400 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}};
27401 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}};
27402 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}};
27403 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}};
27404 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}};
27405 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}};
27406 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}};
27407 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}};
27408 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}};
27409 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}};
27410 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}};
27411 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}};
27412 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}};
27413 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}};
27414 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}};
27415 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}};
27416 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}};
27417 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}};
27418 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}};
27419 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}};
27420 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}};
27421 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}};
27422 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}};
27423 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}};
27424 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}};
27425 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}};
27426 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}};
27427 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}};
27428 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}};
27429 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}};
27430 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}};
27431 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}};
27432 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}};
27433 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}};
27434 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}};
27435 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}};
27436 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}};
27437 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_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_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}};
27438 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}};
27439 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}};
27440 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}};
27441 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}};
27442 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}};
27443 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}};
27444 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}};
27445 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}};
27446 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}};
27447 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}};
27448 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}};
27449 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}};
27450 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}};
27451 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_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_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialogData", _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintDialogData", _p_wxPrintDialogDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27452 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}};
27453 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}};
27454 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}};
27455 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}};
27456 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}};
27457 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}};
27458 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}};
27459 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}};
27460 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}};
27461 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_wxFontDialog", _p_wxFontDialogTo_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_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_wxFileDialog", _p_wxFileDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_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}};
27462 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_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}};
27463 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}};
27464 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}};
27465 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}};
27466 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}};
27467 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}};
27468 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}};
27469 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}};
27470 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}};
27471 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}};
27472 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}};
27473 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_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}};
27474 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}};
27475 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}};
27476 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}};
27477 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}};
27478 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}};
27479 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}};
27480 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}};
27481 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}};
27482 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}};
27483 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}};
27484 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}};
27485 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}};
27486
27487 static swig_type_info *swig_types_initial[] = {
27488 _swigt__p_wxQueryLayoutInfoEvent,
27489 _swigt__p_wxPreviewFrame,
27490 _swigt__p_wxPyPreviewFrame,
27491 _swigt__p_wxPyPanel,
27492 _swigt__p_wxMenu,
27493 _swigt__p_wxFontData,
27494 _swigt__p_wxEvent,
27495 _swigt__p_wxPrintData,
27496 _swigt__p_wxTaskBarIcon,
27497 _swigt__p_wxPyTaskBarIcon,
27498 _swigt__p_wxIconBundle,
27499 _swigt__p_wxLayoutAlgorithm,
27500 _swigt__p_wxFindDialogEvent,
27501 _swigt__p_wxPreviewCanvas,
27502 _swigt__p_wxFont,
27503 _swigt__p_wxSplitterEvent,
27504 _swigt__p_wxRegion,
27505 _swigt__p_wxFindReplaceData,
27506 _swigt__p_int,
27507 _swigt__p_wxSize,
27508 _swigt__p_wxDC,
27509 _swigt__p_wxIcon,
27510 _swigt__p_wxVisualAttributes,
27511 _swigt__p_wxMDIChildFrame,
27512 _swigt__p_wxColourData,
27513 _swigt__p_wxNotifyEvent,
27514 _swigt__p_wxPyWindow,
27515 _swigt__p_wxSplashScreen,
27516 _swigt__p_wxFindReplaceDialog,
27517 _swigt__p_wxProgressDialog,
27518 _swigt__p_wxMessageDialog,
27519 _swigt__p_wxPasswordEntryDialog,
27520 _swigt__p_wxSingleChoiceDialog,
27521 _swigt__p_wxMultiChoiceDialog,
27522 _swigt__p_wxFileDialog,
27523 _swigt__p_wxTextEntryDialog,
27524 _swigt__p_wxPrinter,
27525 _swigt__p_wxArrayInt,
27526 _swigt__p_wxEvtHandler,
27527 _swigt__p_wxCalculateLayoutEvent,
27528 _swigt__p_wxPyHtmlListBox,
27529 _swigt__p_wxPyVListBox,
27530 _swigt__p_wxRect,
27531 _swigt__p_char,
27532 _swigt__p_wxMiniFrame,
27533 _swigt__p_wxFrame,
27534 _swigt__p_wxPyPrintout,
27535 _swigt__p_wxTaskBarIconEvent,
27536 _swigt__p_wxScrollWinEvent,
27537 _swigt__p_wxStatusBar,
27538 _swigt__p_wxMDIParentFrame,
27539 _swigt__p_wxPoint,
27540 _swigt__p_wxObject,
27541 _swigt__p_wxMDIClientWindow,
27542 _swigt__p_wxTipWindow,
27543 _swigt__p_wxSashLayoutWindow,
27544 _swigt__p_wxSplitterWindow,
27545 _swigt__p_wxSplashScreenWindow,
27546 _swigt__p_wxPyVScrolledWindow,
27547 _swigt__p_wxPyPopupTransientWindow,
27548 _swigt__p_wxPopupWindow,
27549 _swigt__p_wxSashWindow,
27550 _swigt__p_wxTopLevelWindow,
27551 _swigt__p_wxWindow,
27552 _swigt__p_wxScrolledWindow,
27553 _swigt__p_wxMenuBar,
27554 _swigt__p_wxPyScrolledWindow,
27555 _swigt__p_wxPrintPreview,
27556 _swigt__p_wxSashEvent,
27557 _swigt__p_wxString,
27558 _swigt__p_wxPyPrintPreview,
27559 _swigt__p_wxFontDialog,
27560 _swigt__p_wxDirDialog,
27561 _swigt__p_wxColourDialog,
27562 _swigt__p_wxDialog,
27563 _swigt__p_wxPanel,
27564 _swigt__p_wxPageSetupDialog,
27565 _swigt__p_wxPrintDialog,
27566 _swigt__p_wxFileSystem,
27567 _swigt__p_wxBitmap,
27568 _swigt__p_wxCommandEvent,
27569 _swigt__p_wxPreviewControlBar,
27570 _swigt__p_wxPyPreviewControlBar,
27571 _swigt__p_wxColour,
27572 _swigt__p_wxToolBar,
27573 _swigt__p_wxPageSetupDialogData,
27574 _swigt__p_wxPrintDialogData,
27575 0
27576 };
27577
27578
27579 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
27580
27581 static swig_const_info swig_const_table[] = {
27582 {0, 0, 0, 0.0, 0, 0}};
27583
27584 #ifdef __cplusplus
27585 }
27586 #endif
27587
27588 #ifdef __cplusplus
27589 extern "C"
27590 #endif
27591 SWIGEXPORT(void) SWIG_init(void) {
27592 static PyObject *SWIG_globals = 0;
27593 static int typeinit = 0;
27594 PyObject *m, *d;
27595 int i;
27596 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
27597 m = Py_InitModule((char *) SWIG_name, SwigMethods);
27598 d = PyModule_GetDict(m);
27599
27600 if (!typeinit) {
27601 for (i = 0; swig_types_initial[i]; i++) {
27602 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
27603 }
27604 typeinit = 1;
27605 }
27606 SWIG_InstallConstants(d,swig_const_table);
27607
27608 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
27609 SWIG_addvarlink(SWIG_globals,(char*)"FrameNameStr",_wrap_FrameNameStr_get, _wrap_FrameNameStr_set);
27610 SWIG_addvarlink(SWIG_globals,(char*)"DialogNameStr",_wrap_DialogNameStr_get, _wrap_DialogNameStr_set);
27611 SWIG_addvarlink(SWIG_globals,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get, _wrap_StatusLineNameStr_set);
27612 SWIG_addvarlink(SWIG_globals,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get, _wrap_ToolBarNameStr_set);
27613 PyDict_SetItemString(d,"STAY_ON_TOP", SWIG_From_int((int)wxSTAY_ON_TOP));
27614 PyDict_SetItemString(d,"ICONIZE", SWIG_From_int((int)wxICONIZE));
27615 PyDict_SetItemString(d,"MINIMIZE", SWIG_From_int((int)wxMINIMIZE));
27616 PyDict_SetItemString(d,"MAXIMIZE", SWIG_From_int((int)wxMAXIMIZE));
27617 PyDict_SetItemString(d,"CLOSE_BOX", SWIG_From_int((int)wxCLOSE_BOX));
27618 PyDict_SetItemString(d,"THICK_FRAME", SWIG_From_int((int)wxTHICK_FRAME));
27619 PyDict_SetItemString(d,"SYSTEM_MENU", SWIG_From_int((int)wxSYSTEM_MENU));
27620 PyDict_SetItemString(d,"MINIMIZE_BOX", SWIG_From_int((int)wxMINIMIZE_BOX));
27621 PyDict_SetItemString(d,"MAXIMIZE_BOX", SWIG_From_int((int)wxMAXIMIZE_BOX));
27622 PyDict_SetItemString(d,"TINY_CAPTION_HORIZ", SWIG_From_int((int)wxTINY_CAPTION_HORIZ));
27623 PyDict_SetItemString(d,"TINY_CAPTION_VERT", SWIG_From_int((int)wxTINY_CAPTION_VERT));
27624 PyDict_SetItemString(d,"RESIZE_BOX", SWIG_From_int((int)wxRESIZE_BOX));
27625 PyDict_SetItemString(d,"RESIZE_BORDER", SWIG_From_int((int)wxRESIZE_BORDER));
27626 PyDict_SetItemString(d,"DIALOG_NO_PARENT", SWIG_From_int((int)wxDIALOG_NO_PARENT));
27627 PyDict_SetItemString(d,"DEFAULT_FRAME_STYLE", SWIG_From_int((int)wxDEFAULT_FRAME_STYLE));
27628 PyDict_SetItemString(d,"DEFAULT_DIALOG_STYLE", SWIG_From_int((int)wxDEFAULT_DIALOG_STYLE));
27629 PyDict_SetItemString(d,"FRAME_TOOL_WINDOW", SWIG_From_int((int)wxFRAME_TOOL_WINDOW));
27630 PyDict_SetItemString(d,"FRAME_FLOAT_ON_PARENT", SWIG_From_int((int)wxFRAME_FLOAT_ON_PARENT));
27631 PyDict_SetItemString(d,"FRAME_NO_WINDOW_MENU", SWIG_From_int((int)wxFRAME_NO_WINDOW_MENU));
27632 PyDict_SetItemString(d,"FRAME_NO_TASKBAR", SWIG_From_int((int)wxFRAME_NO_TASKBAR));
27633 PyDict_SetItemString(d,"FRAME_SHAPED", SWIG_From_int((int)wxFRAME_SHAPED));
27634 PyDict_SetItemString(d,"FRAME_DRAWER", SWIG_From_int((int)wxFRAME_DRAWER));
27635 PyDict_SetItemString(d,"DIALOG_MODAL", SWIG_From_int((int)wxDIALOG_MODAL));
27636 PyDict_SetItemString(d,"DIALOG_MODELESS", SWIG_From_int((int)wxDIALOG_MODELESS));
27637 PyDict_SetItemString(d,"USER_COLOURS", SWIG_From_int((int)wxUSER_COLOURS));
27638 PyDict_SetItemString(d,"NO_3D", SWIG_From_int((int)wxNO_3D));
27639 PyDict_SetItemString(d,"FULLSCREEN_NOMENUBAR", SWIG_From_int((int)wxFULLSCREEN_NOMENUBAR));
27640 PyDict_SetItemString(d,"FULLSCREEN_NOTOOLBAR", SWIG_From_int((int)wxFULLSCREEN_NOTOOLBAR));
27641 PyDict_SetItemString(d,"FULLSCREEN_NOSTATUSBAR", SWIG_From_int((int)wxFULLSCREEN_NOSTATUSBAR));
27642 PyDict_SetItemString(d,"FULLSCREEN_NOBORDER", SWIG_From_int((int)wxFULLSCREEN_NOBORDER));
27643 PyDict_SetItemString(d,"FULLSCREEN_NOCAPTION", SWIG_From_int((int)wxFULLSCREEN_NOCAPTION));
27644 PyDict_SetItemString(d,"FULLSCREEN_ALL", SWIG_From_int((int)wxFULLSCREEN_ALL));
27645 PyDict_SetItemString(d,"TOPLEVEL_EX_DIALOG", SWIG_From_int((int)wxTOPLEVEL_EX_DIALOG));
27646 PyDict_SetItemString(d,"USER_ATTENTION_INFO", SWIG_From_int((int)wxUSER_ATTENTION_INFO));
27647 PyDict_SetItemString(d,"USER_ATTENTION_ERROR", SWIG_From_int((int)wxUSER_ATTENTION_ERROR));
27648 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_PARENT", SWIG_From_int((int)wxSPLASH_CENTRE_ON_PARENT));
27649 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_SCREEN", SWIG_From_int((int)wxSPLASH_CENTRE_ON_SCREEN));
27650 PyDict_SetItemString(d,"SPLASH_NO_CENTRE", SWIG_From_int((int)wxSPLASH_NO_CENTRE));
27651 PyDict_SetItemString(d,"SPLASH_TIMEOUT", SWIG_From_int((int)wxSPLASH_TIMEOUT));
27652 PyDict_SetItemString(d,"SPLASH_NO_TIMEOUT", SWIG_From_int((int)wxSPLASH_NO_TIMEOUT));
27653 PyDict_SetItemString(d,"SB_NORMAL", SWIG_From_int((int)wxSB_NORMAL));
27654 PyDict_SetItemString(d,"SB_FLAT", SWIG_From_int((int)wxSB_FLAT));
27655 PyDict_SetItemString(d,"SB_RAISED", SWIG_From_int((int)wxSB_RAISED));
27656 SWIG_addvarlink(SWIG_globals,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get, _wrap_SplitterNameStr_set);
27657 PyDict_SetItemString(d,"SP_NOBORDER", SWIG_From_int((int)wxSP_NOBORDER));
27658 PyDict_SetItemString(d,"SP_NOSASH", SWIG_From_int((int)wxSP_NOSASH));
27659 PyDict_SetItemString(d,"SP_PERMIT_UNSPLIT", SWIG_From_int((int)wxSP_PERMIT_UNSPLIT));
27660 PyDict_SetItemString(d,"SP_LIVE_UPDATE", SWIG_From_int((int)wxSP_LIVE_UPDATE));
27661 PyDict_SetItemString(d,"SP_3DSASH", SWIG_From_int((int)wxSP_3DSASH));
27662 PyDict_SetItemString(d,"SP_3DBORDER", SWIG_From_int((int)wxSP_3DBORDER));
27663 PyDict_SetItemString(d,"SP_NO_XP_THEME", SWIG_From_int((int)wxSP_NO_XP_THEME));
27664 PyDict_SetItemString(d,"SP_BORDER", SWIG_From_int((int)wxSP_BORDER));
27665 PyDict_SetItemString(d,"SP_3D", SWIG_From_int((int)wxSP_3D));
27666 PyDict_SetItemString(d,"SPLIT_HORIZONTAL", SWIG_From_int((int)wxSPLIT_HORIZONTAL));
27667 PyDict_SetItemString(d,"SPLIT_VERTICAL", SWIG_From_int((int)wxSPLIT_VERTICAL));
27668 PyDict_SetItemString(d,"SPLIT_DRAG_NONE", SWIG_From_int((int)wxSPLIT_DRAG_NONE));
27669 PyDict_SetItemString(d,"SPLIT_DRAG_DRAGGING", SWIG_From_int((int)wxSPLIT_DRAG_DRAGGING));
27670 PyDict_SetItemString(d,"SPLIT_DRAG_LEFT_DOWN", SWIG_From_int((int)wxSPLIT_DRAG_LEFT_DOWN));
27671 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
27672 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
27673 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
27674 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
27675 SWIG_addvarlink(SWIG_globals,(char*)"SashNameStr",_wrap_SashNameStr_get, _wrap_SashNameStr_set);
27676 SWIG_addvarlink(SWIG_globals,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get, _wrap_SashLayoutNameStr_set);
27677 PyDict_SetItemString(d,"SASH_DRAG_NONE", SWIG_From_int((int)wxSASH_DRAG_NONE));
27678 PyDict_SetItemString(d,"SASH_DRAG_DRAGGING", SWIG_From_int((int)wxSASH_DRAG_DRAGGING));
27679 PyDict_SetItemString(d,"SASH_DRAG_LEFT_DOWN", SWIG_From_int((int)wxSASH_DRAG_LEFT_DOWN));
27680 PyDict_SetItemString(d,"SW_NOBORDER", SWIG_From_int((int)wxSW_NOBORDER));
27681 PyDict_SetItemString(d,"SW_BORDER", SWIG_From_int((int)wxSW_BORDER));
27682 PyDict_SetItemString(d,"SW_3DSASH", SWIG_From_int((int)wxSW_3DSASH));
27683 PyDict_SetItemString(d,"SW_3DBORDER", SWIG_From_int((int)wxSW_3DBORDER));
27684 PyDict_SetItemString(d,"SW_3D", SWIG_From_int((int)wxSW_3D));
27685 PyDict_SetItemString(d,"SASH_TOP", SWIG_From_int((int)wxSASH_TOP));
27686 PyDict_SetItemString(d,"SASH_RIGHT", SWIG_From_int((int)wxSASH_RIGHT));
27687 PyDict_SetItemString(d,"SASH_BOTTOM", SWIG_From_int((int)wxSASH_BOTTOM));
27688 PyDict_SetItemString(d,"SASH_LEFT", SWIG_From_int((int)wxSASH_LEFT));
27689 PyDict_SetItemString(d,"SASH_NONE", SWIG_From_int((int)wxSASH_NONE));
27690 PyDict_SetItemString(d,"SASH_STATUS_OK", SWIG_From_int((int)wxSASH_STATUS_OK));
27691 PyDict_SetItemString(d,"SASH_STATUS_OUT_OF_RANGE", SWIG_From_int((int)wxSASH_STATUS_OUT_OF_RANGE));
27692 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
27693 PyDict_SetItemString(d,"LAYOUT_HORIZONTAL", SWIG_From_int((int)wxLAYOUT_HORIZONTAL));
27694 PyDict_SetItemString(d,"LAYOUT_VERTICAL", SWIG_From_int((int)wxLAYOUT_VERTICAL));
27695 PyDict_SetItemString(d,"LAYOUT_NONE", SWIG_From_int((int)wxLAYOUT_NONE));
27696 PyDict_SetItemString(d,"LAYOUT_TOP", SWIG_From_int((int)wxLAYOUT_TOP));
27697 PyDict_SetItemString(d,"LAYOUT_LEFT", SWIG_From_int((int)wxLAYOUT_LEFT));
27698 PyDict_SetItemString(d,"LAYOUT_RIGHT", SWIG_From_int((int)wxLAYOUT_RIGHT));
27699 PyDict_SetItemString(d,"LAYOUT_BOTTOM", SWIG_From_int((int)wxLAYOUT_BOTTOM));
27700 PyDict_SetItemString(d,"LAYOUT_LENGTH_Y", SWIG_From_int((int)wxLAYOUT_LENGTH_Y));
27701 PyDict_SetItemString(d,"LAYOUT_LENGTH_X", SWIG_From_int((int)wxLAYOUT_LENGTH_X));
27702 PyDict_SetItemString(d,"LAYOUT_MRU_LENGTH", SWIG_From_int((int)wxLAYOUT_MRU_LENGTH));
27703 PyDict_SetItemString(d,"LAYOUT_QUERY", SWIG_From_int((int)wxLAYOUT_QUERY));
27704 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
27705 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
27706 SWIG_addvarlink(SWIG_globals,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get, _wrap_VListBoxNameStr_set);
27707
27708 // Map renamed classes back to their common name for OOR
27709 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
27710 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
27711 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
27712
27713 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
27714 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
27715 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
27716 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
27717 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
27718 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
27719 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
27720 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
27721 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
27722 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get, _wrap_DirDialogNameStr_set);
27723 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
27724 SWIG_addvarlink(SWIG_globals,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get, _wrap_GetTextFromUserPromptStr_set);
27725 SWIG_addvarlink(SWIG_globals,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get, _wrap_MessageBoxCaptionStr_set);
27726 PyDict_SetItemString(d,"CHOICEDLG_STYLE", SWIG_From_int((int)wxCHOICEDLG_STYLE));
27727 PyDict_SetItemString(d,"TextEntryDialogStyle", SWIG_From_int((int)wxTextEntryDialogStyle));
27728 SWIG_addvarlink(SWIG_globals,(char*)"GetPasswordFromUserPromptStr",_wrap_GetPasswordFromUserPromptStr_get, _wrap_GetPasswordFromUserPromptStr_set);
27729 PyDict_SetItemString(d,"FR_DOWN", SWIG_From_int((int)wxFR_DOWN));
27730 PyDict_SetItemString(d,"FR_WHOLEWORD", SWIG_From_int((int)wxFR_WHOLEWORD));
27731 PyDict_SetItemString(d,"FR_MATCHCASE", SWIG_From_int((int)wxFR_MATCHCASE));
27732 PyDict_SetItemString(d,"FR_REPLACEDIALOG", SWIG_From_int((int)wxFR_REPLACEDIALOG));
27733 PyDict_SetItemString(d,"FR_NOUPDOWN", SWIG_From_int((int)wxFR_NOUPDOWN));
27734 PyDict_SetItemString(d,"FR_NOMATCHCASE", SWIG_From_int((int)wxFR_NOMATCHCASE));
27735 PyDict_SetItemString(d,"FR_NOWHOLEWORD", SWIG_From_int((int)wxFR_NOWHOLEWORD));
27736 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
27737 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
27738 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
27739 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
27740 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
27741 PyDict_SetItemString(d,"IDM_WINDOWTILE", SWIG_From_int((int)4001));
27742 PyDict_SetItemString(d,"IDM_WINDOWTILEHOR", SWIG_From_int((int)4001));
27743 PyDict_SetItemString(d,"IDM_WINDOWCASCADE", SWIG_From_int((int)4002));
27744 PyDict_SetItemString(d,"IDM_WINDOWICONS", SWIG_From_int((int)4003));
27745 PyDict_SetItemString(d,"IDM_WINDOWNEXT", SWIG_From_int((int)4004));
27746 PyDict_SetItemString(d,"IDM_WINDOWTILEVERT", SWIG_From_int((int)4005));
27747 PyDict_SetItemString(d,"FIRST_MDI_CHILD", SWIG_From_int((int)4100));
27748 PyDict_SetItemString(d,"LAST_MDI_CHILD", SWIG_From_int((int)4600));
27749 SWIG_addvarlink(SWIG_globals,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get, _wrap_PrintoutTitleStr_set);
27750 SWIG_addvarlink(SWIG_globals,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get, _wrap_PreviewCanvasNameStr_set);
27751 PyDict_SetItemString(d,"PRINT_MODE_NONE", SWIG_From_int((int)wxPRINT_MODE_NONE));
27752 PyDict_SetItemString(d,"PRINT_MODE_PREVIEW", SWIG_From_int((int)wxPRINT_MODE_PREVIEW));
27753 PyDict_SetItemString(d,"PRINT_MODE_FILE", SWIG_From_int((int)wxPRINT_MODE_FILE));
27754 PyDict_SetItemString(d,"PRINT_MODE_PRINTER", SWIG_From_int((int)wxPRINT_MODE_PRINTER));
27755 PyDict_SetItemString(d,"PRINT_MODE_STREAM", SWIG_From_int((int)wxPRINT_MODE_STREAM));
27756 PyDict_SetItemString(d,"PRINTBIN_DEFAULT", SWIG_From_int((int)wxPRINTBIN_DEFAULT));
27757 PyDict_SetItemString(d,"PRINTBIN_ONLYONE", SWIG_From_int((int)wxPRINTBIN_ONLYONE));
27758 PyDict_SetItemString(d,"PRINTBIN_LOWER", SWIG_From_int((int)wxPRINTBIN_LOWER));
27759 PyDict_SetItemString(d,"PRINTBIN_MIDDLE", SWIG_From_int((int)wxPRINTBIN_MIDDLE));
27760 PyDict_SetItemString(d,"PRINTBIN_MANUAL", SWIG_From_int((int)wxPRINTBIN_MANUAL));
27761 PyDict_SetItemString(d,"PRINTBIN_ENVELOPE", SWIG_From_int((int)wxPRINTBIN_ENVELOPE));
27762 PyDict_SetItemString(d,"PRINTBIN_ENVMANUAL", SWIG_From_int((int)wxPRINTBIN_ENVMANUAL));
27763 PyDict_SetItemString(d,"PRINTBIN_AUTO", SWIG_From_int((int)wxPRINTBIN_AUTO));
27764 PyDict_SetItemString(d,"PRINTBIN_TRACTOR", SWIG_From_int((int)wxPRINTBIN_TRACTOR));
27765 PyDict_SetItemString(d,"PRINTBIN_SMALLFMT", SWIG_From_int((int)wxPRINTBIN_SMALLFMT));
27766 PyDict_SetItemString(d,"PRINTBIN_LARGEFMT", SWIG_From_int((int)wxPRINTBIN_LARGEFMT));
27767 PyDict_SetItemString(d,"PRINTBIN_LARGECAPACITY", SWIG_From_int((int)wxPRINTBIN_LARGECAPACITY));
27768 PyDict_SetItemString(d,"PRINTBIN_CASSETTE", SWIG_From_int((int)wxPRINTBIN_CASSETTE));
27769 PyDict_SetItemString(d,"PRINTBIN_FORMSOURCE", SWIG_From_int((int)wxPRINTBIN_FORMSOURCE));
27770 PyDict_SetItemString(d,"PRINTBIN_USER", SWIG_From_int((int)wxPRINTBIN_USER));
27771 PyDict_SetItemString(d,"PRINTER_NO_ERROR", SWIG_From_int((int)wxPRINTER_NO_ERROR));
27772 PyDict_SetItemString(d,"PRINTER_CANCELLED", SWIG_From_int((int)wxPRINTER_CANCELLED));
27773 PyDict_SetItemString(d,"PRINTER_ERROR", SWIG_From_int((int)wxPRINTER_ERROR));
27774 PyDict_SetItemString(d,"PREVIEW_PRINT", SWIG_From_int((int)wxPREVIEW_PRINT));
27775 PyDict_SetItemString(d,"PREVIEW_PREVIOUS", SWIG_From_int((int)wxPREVIEW_PREVIOUS));
27776 PyDict_SetItemString(d,"PREVIEW_NEXT", SWIG_From_int((int)wxPREVIEW_NEXT));
27777 PyDict_SetItemString(d,"PREVIEW_ZOOM", SWIG_From_int((int)wxPREVIEW_ZOOM));
27778 PyDict_SetItemString(d,"PREVIEW_FIRST", SWIG_From_int((int)wxPREVIEW_FIRST));
27779 PyDict_SetItemString(d,"PREVIEW_LAST", SWIG_From_int((int)wxPREVIEW_LAST));
27780 PyDict_SetItemString(d,"PREVIEW_GOTO", SWIG_From_int((int)wxPREVIEW_GOTO));
27781 PyDict_SetItemString(d,"PREVIEW_DEFAULT", SWIG_From_int((int)wxPREVIEW_DEFAULT));
27782 PyDict_SetItemString(d,"ID_PREVIEW_CLOSE", SWIG_From_int((int)wxID_PREVIEW_CLOSE));
27783 PyDict_SetItemString(d,"ID_PREVIEW_NEXT", SWIG_From_int((int)wxID_PREVIEW_NEXT));
27784 PyDict_SetItemString(d,"ID_PREVIEW_PREVIOUS", SWIG_From_int((int)wxID_PREVIEW_PREVIOUS));
27785 PyDict_SetItemString(d,"ID_PREVIEW_PRINT", SWIG_From_int((int)wxID_PREVIEW_PRINT));
27786 PyDict_SetItemString(d,"ID_PREVIEW_ZOOM", SWIG_From_int((int)wxID_PREVIEW_ZOOM));
27787 PyDict_SetItemString(d,"ID_PREVIEW_FIRST", SWIG_From_int((int)wxID_PREVIEW_FIRST));
27788 PyDict_SetItemString(d,"ID_PREVIEW_LAST", SWIG_From_int((int)wxID_PREVIEW_LAST));
27789 PyDict_SetItemString(d,"ID_PREVIEW_GOTO", SWIG_From_int((int)wxID_PREVIEW_GOTO));
27790
27791 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
27792
27793 }
27794