]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/mac/_windows_wrap.cpp
Added a note to self to look at adding ProvidesBackground in the future
[wxWidgets.git] / wxPython / src / mac / _windows_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.22
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12 #define SWIG_NOINCLUDE
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30
31 #include "Python.h"
32
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
35 *
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
38 *
39 ************************************************************************/
40
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypePrettyName SWIG_Python_TypePrettyName
47 #define SWIG_TypeQuery SWIG_Python_TypeQuery
48 #define SWIG_TypeClientData SWIG_Python_TypeClientData
49 #define SWIG_PackData SWIG_Python_PackData
50 #define SWIG_UnpackData SWIG_Python_UnpackData
51
52
53 /***********************************************************************
54 * common.swg for wxPython
55 *
56 * Include only the function prototypes and such from SWIG's common.swg,
57 * but not the runtime functions themselves. This helps keep the
58 * wrapper files clean of unnecessary stuff that is in the libpy.c file
59 * anyway.
60 *
61 ************************************************************************/
62
63 #include <string.h>
64
65 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
66 # if defined(_MSC_VER) || defined(__GNUC__)
67 # if defined(STATIC_LINKED)
68 # define SWIGEXPORT(a) a
69 # define SWIGIMPORT(a) extern a
70 # else
71 # define SWIGEXPORT(a) __declspec(dllexport) a
72 # define SWIGIMPORT(a) extern a
73 # endif
74 # else
75 # if defined(__BORLANDC__)
76 # define SWIGEXPORT(a) a _export
77 # define SWIGIMPORT(a) a _export
78 # else
79 # define SWIGEXPORT(a) a
80 # define SWIGIMPORT(a) a
81 # endif
82 # endif
83 #else
84 # define SWIGEXPORT(a) a
85 # define SWIGIMPORT(a) a
86 #endif
87
88 #ifdef SWIG_GLOBAL
89 # define SWIGRUNTIME(a) SWIGEXPORT(a)
90 #else
91 # define SWIGRUNTIME(a) static a
92 #endif
93
94 #ifdef __cplusplus
95 extern "C" {
96 #endif
97
98 typedef void *(*swig_converter_func)(void *);
99 typedef struct swig_type_info *(*swig_dycast_func)(void **);
100
101 typedef struct swig_type_info {
102 const char *name;
103 swig_converter_func converter;
104 const char *str;
105 void *clientdata;
106 swig_dycast_func dcast;
107 struct swig_type_info *next;
108 struct swig_type_info *prev;
109 } swig_type_info;
110
111
112 SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
113 SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
114 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
115 SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
116 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
117 SWIGIMPORT(const char *) SWIG_TypePrettyName(const swig_type_info *);
118 SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
119 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
120 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
121 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
122
123
124 #ifdef __cplusplus
125 }
126 #endif
127
128
129 /***********************************************************************
130 * pyrun.swg for wxPython
131 *
132 * Include only the function prototypes and such from SWIG's pyrun.swg,
133 * but not the runtime functions themselves. This helps keep the
134 * wrapper files clean of unnecessary stuff that is in the libpy.c file
135 * anyway.
136 *
137 ************************************************************************/
138
139 #ifdef __cplusplus
140 extern "C" {
141 #endif
142
143 #define SWIG_PY_INT 1
144 #define SWIG_PY_FLOAT 2
145 #define SWIG_PY_STRING 3
146 #define SWIG_PY_POINTER 4
147 #define SWIG_PY_BINARY 5
148
149 /* Flags for pointer conversion */
150
151 #define SWIG_POINTER_EXCEPTION 0x1
152 #define SWIG_POINTER_DISOWN 0x2
153
154 /* Exception handling in wrappers */
155 #define SWIG_fail goto fail
156
157 /* Constant information structure */
158 typedef struct swig_const_info {
159 int type;
160 char *name;
161 long lvalue;
162 double dvalue;
163 void *pvalue;
164 swig_type_info **ptype;
165 } swig_const_info;
166
167 /* Common SWIG API */
168 #define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170 #define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172 #define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174
175 /* Python-specific SWIG API */
176 #define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
182 #define SWIG_NewPackedObj(ptr, sz, type) \
183 SWIG_Python_NewPackedObj(ptr, sz, type)
184 #define SWIG_InstallConstants(d, constants) \
185 SWIG_Python_InstallConstants(d, constants)
186
187 typedef double (*py_objasdbl_conv)(PyObject *obj);
188
189 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
190 SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
191 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
192 SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
193 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
194 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
195 SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
196 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
197
198
199 /* Contract support */
200
201 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
202
203 #ifdef __cplusplus
204 }
205 #endif
206
207
208
209 /* -------- TYPES TABLE (BEGIN) -------- */
210
211 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[0]
212 #define SWIGTYPE_p_wxPreviewFrame swig_types[1]
213 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[2]
214 #define SWIGTYPE_p_wxPyPanel swig_types[3]
215 #define SWIGTYPE_p_wxMenu swig_types[4]
216 #define SWIGTYPE_p_wxFontData swig_types[5]
217 #define SWIGTYPE_p_wxEvent swig_types[6]
218 #define SWIGTYPE_p_wxPrintData swig_types[7]
219 #define SWIGTYPE_p_wxTaskBarIcon swig_types[8]
220 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[9]
221 #define SWIGTYPE_p_wxIconBundle swig_types[10]
222 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[11]
223 #define SWIGTYPE_p_wxFindDialogEvent swig_types[12]
224 #define SWIGTYPE_p_wxPreviewCanvas swig_types[13]
225 #define SWIGTYPE_p_wxFont swig_types[14]
226 #define SWIGTYPE_p_wxSplitterEvent swig_types[15]
227 #define SWIGTYPE_p_wxRegion swig_types[16]
228 #define SWIGTYPE_p_wxFindReplaceData swig_types[17]
229 #define SWIGTYPE_p_int swig_types[18]
230 #define SWIGTYPE_p_wxSize swig_types[19]
231 #define SWIGTYPE_p_wxDC swig_types[20]
232 #define SWIGTYPE_p_wxIcon swig_types[21]
233 #define SWIGTYPE_p_wxVisualAttributes swig_types[22]
234 #define SWIGTYPE_p_wxMDIChildFrame swig_types[23]
235 #define SWIGTYPE_p_wxColourData swig_types[24]
236 #define SWIGTYPE_p_wxNotifyEvent swig_types[25]
237 #define SWIGTYPE_p_wxPyWindow swig_types[26]
238 #define SWIGTYPE_p_wxSplashScreen swig_types[27]
239 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[28]
240 #define SWIGTYPE_p_wxProgressDialog swig_types[29]
241 #define SWIGTYPE_p_wxMessageDialog swig_types[30]
242 #define SWIGTYPE_p_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_wxPyPopupTransientWindow swig_types[55]
267 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[56]
268 #define SWIGTYPE_p_wxSplitterWindow swig_types[57]
269 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[58]
270 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[59]
271 #define SWIGTYPE_p_wxPopupWindow swig_types[60]
272 #define SWIGTYPE_p_wxSashWindow swig_types[61]
273 #define SWIGTYPE_p_wxTopLevelWindow swig_types[62]
274 #define SWIGTYPE_p_wxWindow swig_types[63]
275 #define SWIGTYPE_p_wxScrolledWindow swig_types[64]
276 #define SWIGTYPE_p_wxMenuBar swig_types[65]
277 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[66]
278 #define SWIGTYPE_p_wxPrintPreview swig_types[67]
279 #define SWIGTYPE_p_wxSashEvent swig_types[68]
280 #define SWIGTYPE_p_wxString swig_types[69]
281 #define SWIGTYPE_p_wxPyPrintPreview swig_types[70]
282 #define SWIGTYPE_p_wxFontDialog swig_types[71]
283 #define SWIGTYPE_p_wxDirDialog swig_types[72]
284 #define SWIGTYPE_p_wxColourDialog swig_types[73]
285 #define SWIGTYPE_p_wxDialog swig_types[74]
286 #define SWIGTYPE_p_wxPanel swig_types[75]
287 #define SWIGTYPE_p_wxPageSetupDialog swig_types[76]
288 #define SWIGTYPE_p_wxPrintDialog swig_types[77]
289 #define SWIGTYPE_p_wxFileSystem swig_types[78]
290 #define SWIGTYPE_p_wxBitmap swig_types[79]
291 #define SWIGTYPE_p_wxCommandEvent swig_types[80]
292 #define SWIGTYPE_p_wxPreviewControlBar swig_types[81]
293 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[82]
294 #define SWIGTYPE_p_wxColour swig_types[83]
295 #define SWIGTYPE_p_wxToolBar swig_types[84]
296 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[85]
297 #define SWIGTYPE_p_wxPrintDialogData swig_types[86]
298 static swig_type_info *swig_types[88];
299
300 /* -------- TYPES TABLE (END) -------- */
301
302
303 /*-----------------------------------------------
304 @(target):= _windows_.so
305 ------------------------------------------------*/
306 #define SWIG_init init_windows_
307
308 #define SWIG_name "_windows_"
309
310 /* Auxiliar swig macros that appear in the header */
311
312 #define SWIG_OLDOBJ 1
313 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
314 #define SWIG_PYSTR SWIG_NEWOBJ + 1
315
316 #ifdef __cplusplus
317 #define SWIGSTATICINLINE(a) static inline a
318 #define SWIGSTATIC(a) static a
319 #define swig_new_array(size,Type) (new Type[(size)])
320 #define swig_delete(cptr) delete cptr
321 #define swig_delete_array(cptr) delete[] cptr
322 #define swig_const_cast(a,Type) const_cast<Type >(a)
323 #define swig_static_cast(a,Type) static_cast<Type >(a)
324 #define swig_reinterpret_cast(a,Type) reinterpret_cast<Type >(a)
325 #define swig_new_copy(ptr,Type) (new Type(*ptr))
326 #define swig_numeric_cast(a,Type) static_cast<Type >(a)
327
328 #else /* C case */
329
330 #define SWIGSTATICINLINE(a) static a
331 #define SWIGSTATIC(a) static a
332 #define swig_new_array(size,Type) ((Type*) malloc((size)*sizeof(Type)))
333 #define swig_delete(cptr) free((char*)cptr)
334 #define swig_delete_array(cptr) free((char*)cptr)
335 #define swig_const_cast(a,Type) (Type)(a)
336 #define swig_static_cast(a,Type) (Type)(a)
337 #define swig_reinterpret_cast(a,Type) (Type)(a)
338 #define swig_numeric_cast(a,Type) (Type)(a)
339 #define swig_new_copy(ptr,Type) ((Type*)memcpy(malloc(sizeof(Type)),ptr,sizeof(Type)))
340
341 #endif /* __cplusplus */
342
343
344 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
345 #define SWIG_From_signed_SS_char PyInt_FromLong
346 /*@@*/
347 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
348 #define SWIG_From_unsigned_SS_char PyInt_FromLong
349 /*@@*/
350 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
351 #define SWIG_From_short PyInt_FromLong
352 /*@@*/
353 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
354 #define SWIG_From_unsigned_SS_short PyInt_FromLong
355 /*@@*/
356 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
357 #define SWIG_From_int PyInt_FromLong
358 /*@@*/
359 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
360 #define SWIG_From_long PyInt_FromLong
361 /*@@*/
362 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
363 #define SWIG_From_float PyFloat_FromDouble
364 /*@@*/
365 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
366 #define SWIG_From_double PyFloat_FromDouble
367 /*@@*/
368
369
370 #include "wx/wxPython/wxPython.h"
371 #include "wx/wxPython/pyclasses.h"
372
373
374 static const wxString wxPyEmptyString(wxEmptyString);
375 static const wxString wxPyPanelNameStr(wxPanelNameStr);
376
377
378
379 #include <limits.h>
380
381
382 SWIGSTATICINLINE(int)
383 SWIG_CheckLongInRange(long value, long min_value, long max_value,
384 const char *errmsg)
385 {
386 if (value < min_value) {
387 if (errmsg) {
388 PyErr_Format(PyExc_OverflowError,
389 "value %ld is less than '%s' minimum %ld",
390 value, errmsg, min_value);
391 }
392 return 0;
393 } else if (value > max_value) {
394 if (errmsg) {
395 PyErr_Format(PyExc_OverflowError,
396 "value %ld is greater than '%s' maximum %ld",
397 value, errmsg, max_value);
398 }
399 return 0;
400 }
401 return 1;
402 }
403
404
405 // See my_fragments.i
406 SWIGSTATICINLINE(int)
407 SWIG_AsVal_long(PyObject* obj, long* val)
408 {
409 if (PyNumber_Check(obj)) {
410 if (val) *val = PyInt_AsLong(obj);
411 return 1;
412 }
413 else {
414 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
415 obj->ob_type->tp_name);
416 PyErr_SetObject(PyExc_TypeError, errmsg);
417 Py_DECREF(errmsg);
418 }
419 return 0;
420 }
421
422
423 #if INT_MAX != LONG_MAX
424 SWIGSTATICINLINE(int)
425 SWIG_AsVal_int(PyObject *obj, int *val)
426 {
427 const char* errmsg = val ? "int" : 0;
428 long v;
429 if (SWIG_AsVal_long(obj, &v)) {
430 if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) {
431 if (val) *val = swig_numeric_cast(v, int);
432 return 1;
433 } else {
434 return 0;
435 }
436 } else {
437 PyErr_Clear();
438 }
439 if (val) {
440 PyErr_SetString(PyExc_TypeError, "an int is expected");
441 }
442 return 0;
443 }
444 #else
445 SWIGSTATICINLINE(int)
446 SWIG_AsVal_int(PyObject *obj, int *val)
447 {
448 return SWIG_AsVal_long(obj,(long*)val);
449 }
450 #endif
451
452
453 SWIGSTATICINLINE(int)
454 SWIG_As_int(PyObject* obj)
455 {
456 int v;
457 if (!SWIG_AsVal_int(obj, &v)) {
458 /*
459 this is needed to make valgrind/purify happier. the other
460 solution is throw an exception, but since this code should work
461 with plain C ....
462 */
463 memset((void*)&v, 0, sizeof(int));
464 }
465 return v;
466 }
467
468
469 SWIGSTATICINLINE(long)
470 SWIG_As_long(PyObject* obj)
471 {
472 long v;
473 if (!SWIG_AsVal_long(obj, &v)) {
474 /*
475 this is needed to make valgrind/purify happier. the other
476 solution is throw an exception, but since this code should work
477 with plain C ....
478 */
479 memset((void*)&v, 0, sizeof(long));
480 }
481 return v;
482 }
483
484
485 SWIGSTATICINLINE(int)
486 SWIG_Check_int(PyObject* obj)
487 {
488 return SWIG_AsVal_int(obj, (int*)0);
489 }
490
491
492 SWIGSTATICINLINE(int)
493 SWIG_Check_long(PyObject* obj)
494 {
495 return SWIG_AsVal_long(obj, (long*)0);
496 }
497
498
499 SWIGSTATICINLINE(int)
500 SWIG_AsVal_bool(PyObject *obj, bool *val)
501 {
502 /* if (val) *val = PyObject_IsTrue(obj); return 1; */
503 if (obj == Py_True) {
504 if (val) *val = true;
505 return 1;
506 }
507 if (obj == Py_False) {
508 if (val) *val = false;
509 return 1;
510 }
511 int res = 0;
512 if (SWIG_AsVal_int(obj, &res)) {
513 if (val) *val = (bool)res;
514 return 1;
515 }
516 if (val) {
517 PyErr_SetString(PyExc_TypeError, "a bool is expected");
518 }
519 return 0;
520 }
521
522
523 SWIGSTATICINLINE(bool)
524 SWIG_As_bool(PyObject* obj)
525 {
526 bool v;
527 if (!SWIG_AsVal_bool(obj, &v)) {
528 /*
529 this is needed to make valgrind/purify happier. the other
530 solution is throw an exception, but since this code should work
531 with plain C ....
532 */
533 memset((void*)&v, 0, sizeof(bool));
534 }
535 return v;
536 }
537
538
539 SWIGSTATICINLINE(int)
540 SWIG_Check_bool(PyObject* obj)
541 {
542 return SWIG_AsVal_bool(obj, (bool*)0);
543 }
544
545
546 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
547 PyObject* o2;
548 PyObject* o3;
549
550 if (!target) {
551 target = o;
552 } else if (target == Py_None) {
553 Py_DECREF(Py_None);
554 target = o;
555 } else {
556 if (!PyTuple_Check(target)) {
557 o2 = target;
558 target = PyTuple_New(1);
559 PyTuple_SetItem(target, 0, o2);
560 }
561 o3 = PyTuple_New(1);
562 PyTuple_SetItem(o3, 0, o);
563
564 o2 = target;
565 target = PySequence_Concat(o2, o3);
566 Py_DECREF(o2);
567 Py_DECREF(o3);
568 }
569 return target;
570 }
571
572
573
574 // See my_fragments.i
575 SWIGSTATICINLINE(int)
576 SWIG_AsVal_double(PyObject *obj, double* val)
577 {
578 if (PyNumber_Check(obj)) {
579 if (val) *val = PyFloat_AsDouble(obj);
580 return 1;
581 }
582 else {
583 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
584 obj->ob_type->tp_name);
585 PyErr_SetObject(PyExc_TypeError, errmsg);
586 Py_DECREF(errmsg);
587 }
588 return 0;
589 }
590
591
592 SWIGSTATICINLINE(double)
593 SWIG_As_double(PyObject* obj)
594 {
595 double v;
596 if (!SWIG_AsVal_double(obj, &v)) {
597 /*
598 this is needed to make valgrind/purify happier. the other
599 solution is throw an exception, but since this code should work
600 with plain C ....
601 */
602 memset((void*)&v, 0, sizeof(double));
603 }
604 return v;
605 }
606
607
608 SWIGSTATICINLINE(int)
609 SWIG_Check_double(PyObject* obj)
610 {
611 return SWIG_AsVal_double(obj, (double*)0);
612 }
613
614 static const wxString wxPyFrameNameStr(wxFrameNameStr);
615 static const wxString wxPyDialogNameStr(wxDialogNameStr);
616 static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr);
617 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
618
619
620 wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
621 wxRect r;
622 self->GetFieldRect(i, r);
623 return r;
624 }
625 static const wxString wxPySplitterNameStr(wxT("splitter"));
626 static const wxString wxPySashNameStr(wxT("sashWindow"));
627 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
628
629 #include <wx/popupwin.h>
630
631
632 class wxPopupWindow : public wxWindow {
633 public:
634 wxPopupWindow(wxWindow *, int) { wxPyRaiseNotImplemented(); }
635 wxPopupWindow() { wxPyRaiseNotImplemented(); }
636 };
637
638 class wxPyPopupTransientWindow : public wxPopupWindow
639 {
640 public:
641 wxPyPopupTransientWindow(wxWindow *, int) { wxPyRaiseNotImplemented(); }
642 wxPyPopupTransientWindow() { wxPyRaiseNotImplemented(); }
643 };
644
645
646 #include <wx/tipwin.h>
647
648 wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength,wxRect *rectBound){
649 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
650 }
651
652 #include <wx/tipwin.h>
653
654
655 #include <wx/vscroll.h>
656
657
658 class wxPyVScrolledWindow : public wxVScrolledWindow
659 {
660 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow);
661 public:
662 wxPyVScrolledWindow() : wxVScrolledWindow() {}
663
664 wxPyVScrolledWindow(wxWindow *parent,
665 wxWindowID id = wxID_ANY,
666 const wxPoint& pos = wxDefaultPosition,
667 const wxSize& size = wxDefaultSize,
668 long style = 0,
669 const wxString& name = wxPyPanelNameStr)
670 : wxVScrolledWindow(parent, id, pos, size, style, name)
671 {}
672
673 // Overridable virtuals
674
675 // this function must be overridden in the derived class and it should
676 // return the height of the given line in pixels
677 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
678
679
680 // this function doesn't have to be overridden but it may be useful to do
681 // it if calculating the lines heights is a relatively expensive operation
682 // as it gives the user code a possibility to calculate several of them at
683 // once
684 //
685 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
686 // shouldn't rely on the latter being called for all lines in the interval
687 // specified here. It is also possible that OnGetLineHeight() will be
688 // called for the lines outside of this interval, so this is really just a
689 // hint, not a promise.
690 //
691 // finally note that lineMin is inclusive, while lineMax is exclusive, as
692 // usual
693 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
694
695
696 // when the number of lines changes, we try to estimate the total height
697 // of all lines which is a rather expensive operation in terms of lines
698 // access, so if the user code may estimate the average height
699 // better/faster than we do, it should override this function to implement
700 // its own logic
701 //
702 // this function should return the best guess for the total height it may
703 // make
704 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
705
706
707 // Also expose some other interesting protected methods
708
709
710 // find the index of the line we need to show at the top of the window such
711 // that the last (fully or partially) visible line is the given one
712 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = false)
713 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
714
715 // get the total height of the lines between lineMin (inclusive) and
716 // lineMax (exclusive)
717 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
718 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
719
720
721 PYPRIVATE;
722 };
723
724 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
725
726 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
727 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
728 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
729
730
731 // See my_fragments.i
732 SWIGSTATICINLINE(int)
733 SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val)
734 {
735 long v = 0;
736 if (SWIG_AsVal_long(obj, &v) && v < 0) {
737 PyErr_SetString(PyExc_TypeError, "negative value received for unsigned type");
738 return 0;
739 }
740 else if (val)
741 *val = (unsigned long)v;
742 return 1;
743 }
744
745
746 SWIGSTATICINLINE(unsigned long)
747 SWIG_As_unsigned_SS_long(PyObject* obj)
748 {
749 unsigned long v;
750 if (!SWIG_AsVal_unsigned_SS_long(obj, &v)) {
751 /*
752 this is needed to make valgrind/purify happier. the other
753 solution is throw an exception, but since this code should work
754 with plain C ....
755 */
756 memset((void*)&v, 0, sizeof(unsigned long));
757 }
758 return v;
759 }
760
761
762 SWIGSTATICINLINE(int)
763 SWIG_Check_unsigned_SS_long(PyObject* obj)
764 {
765 return SWIG_AsVal_unsigned_SS_long(obj, (unsigned long*)0);
766 }
767
768
769 SWIGSTATICINLINE(PyObject* )
770 SWIG_From_unsigned_SS_long(unsigned long value)
771 {
772 return (value > LONG_MAX) ?
773 PyLong_FromUnsignedLong(value)
774 : PyInt_FromLong(swig_numeric_cast(value,long));
775 }
776
777
778 #include <wx/vlbox.h>
779
780 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
781
782 class wxPyVListBox : public wxVListBox
783 {
784 DECLARE_ABSTRACT_CLASS(wxPyVListBox);
785 public:
786 wxPyVListBox() : wxVListBox() {}
787
788 wxPyVListBox(wxWindow *parent,
789 wxWindowID id = wxID_ANY,
790 const wxPoint& pos = wxDefaultPosition,
791 const wxSize& size = wxDefaultSize,
792 long style = 0,
793 const wxString& name = wxPyVListBoxNameStr)
794 : wxVListBox(parent, id, pos, size, style, name)
795 {}
796
797 // Overridable virtuals
798
799 // the derived class must implement this function to actually draw the item
800 // with the given index on the provided DC
801 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
802 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
803
804
805 // the derived class must implement this method to return the height of the
806 // specified item
807 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
808 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
809
810
811 // this method may be used to draw separators between the lines; note that
812 // the rectangle may be modified, typically to deflate it a bit before
813 // passing to OnDrawItem()
814 //
815 // the base class version doesn't do anything
816 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
817 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator);
818
819
820 // this method is used to draw the items background and, maybe, a border
821 // around it
822 //
823 // the base class version implements a reasonable default behaviour which
824 // consists in drawing the selected item with the standard background
825 // colour and drawing a border around the item if it is either selected or
826 // current
827 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
828 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
829
830
831 PYPRIVATE;
832 };
833
834 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
835
836 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
837 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
838 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawSeparator);
839 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
840
841
842 PyObject *wxPyVListBox_GetFirstSelected(wxPyVListBox *self){
843 unsigned long cookie = 0;
844 int selected = self->GetFirstSelected(cookie);
845 bool blocked = wxPyBeginBlockThreads();
846 PyObject* tup = PyTuple_New(2);
847 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
848 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
849 wxPyEndBlockThreads(blocked);
850 return tup;
851 }
852 PyObject *wxPyVListBox_GetNextSelected(wxPyVListBox *self,unsigned long cookie){
853 int selected = self->GetNextSelected(cookie);
854 bool blocked = wxPyBeginBlockThreads();
855 PyObject* tup = PyTuple_New(2);
856 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
857 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
858 wxPyEndBlockThreads(blocked);
859 return tup;
860 }
861
862 #include <wx/htmllbox.h>
863
864
865 class wxPyHtmlListBox : public wxHtmlListBox
866 {
867 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox);
868 public:
869 wxPyHtmlListBox() : wxHtmlListBox() {}
870
871 wxPyHtmlListBox(wxWindow *parent,
872 wxWindowID id = wxID_ANY,
873 const wxPoint& pos = wxDefaultPosition,
874 const wxSize& size = wxDefaultSize,
875 long style = 0,
876 const wxString& name = wxPyVListBoxNameStr)
877 : wxHtmlListBox(parent, id, pos, size, style, name)
878 {}
879
880 // Overridable virtuals
881
882 // this method must be implemented in the derived class and should return
883 // the body (i.e. without <html>) of the HTML for the given item
884 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
885
886 // this function may be overridden to decorate HTML returned by OnGetItem()
887 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
888
889 // TODO:
890 // // this method allows to customize the selection appearance: it may be used
891 // // to specify the colour of the text which normally has the given colour
892 // // colFg when it is inside the selection
893 // //
894 // // by default, the original colour is not used at all and all text has the
895 // // same (default for this system) colour inside selection
896 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
897
898 // // this is the same as GetSelectedTextColour() but allows to customize the
899 // // background colour -- this is even more rarely used as you can change it
900 // // globally using SetSelectionBackground()
901 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
902
903
904 PYPRIVATE;
905 };
906
907
908 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
909
910 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
911 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
912
913
914
915
916
917 #ifndef wxHAS_TASK_BAR_ICON
918 // implement dummy classes for platforms that don't have it
919
920 class wxTaskBarIcon : public wxEvtHandler
921 {
922 public:
923 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
924 };
925
926
927 class wxTaskBarIconEvent : public wxEvent
928 {
929 public:
930 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
931 { wxPyRaiseNotImplemented(); }
932 virtual wxEvent* Clone() const { return NULL; }
933 bool IsOk() const { return false; }
934 bool IsIconInstalled() const { return false; }
935 bool SetIcon(const wxIcon& icon, const wxString& tooltip = wxPyEmptyString) { return false; }
936 bool RemoveIcon() { return false; }
937 bool PopupMenu(wxMenu *menu) { return false; }
938 };
939
940 enum {
941 wxEVT_TASKBAR_MOVE = 0,
942 wxEVT_TASKBAR_LEFT_DOWN = 0,
943 wxEVT_TASKBAR_LEFT_UP = 0,
944 wxEVT_TASKBAR_RIGHT_DOWN = 0,
945 wxEVT_TASKBAR_RIGHT_UP = 0,
946 wxEVT_TASKBAR_LEFT_DCLICK = 0,
947 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
948 };
949
950
951 #else
952 // Otherwise make a class that can virtualize CreatePopupMenu
953 class wxPyTaskBarIcon : public wxTaskBarIcon
954 {
955 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon);
956 public:
957 wxPyTaskBarIcon() : wxTaskBarIcon()
958 {}
959
960 wxMenu* CreatePopupMenu() {
961 wxMenu *rval = NULL;
962 bool found;
963 bool blocked = wxPyBeginBlockThreads();
964 if ((found = wxPyCBH_findCallback(m_myInst, "CreatePopupMenu"))) {
965 PyObject* ro;
966 wxMenu* ptr;
967 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
968 if (ro) {
969 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxMenu")))
970 rval = ptr;
971 Py_DECREF(ro);
972 }
973 }
974 wxPyEndBlockThreads(blocked);
975 if (! found)
976 rval = wxTaskBarIcon::CreatePopupMenu();
977 return rval;
978 }
979
980 PYPRIVATE;
981 };
982
983 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon);
984
985 #endif
986
987 void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon *self){
988 self->RemoveIcon();
989 delete self;
990 }
991 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
992 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
993 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
994 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
995 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
996 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
997 PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
998 wxArrayString arr;
999 self->GetFilenames(arr);
1000 return wxArrayString2PyList_helper(arr);
1001 }
1002 PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
1003 wxArrayString arr;
1004 self->GetPaths(arr);
1005 return wxArrayString2PyList_helper(arr);
1006 }
1007 PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
1008 return wxArrayInt2PyList_helper(self->GetSelections());
1009 }
1010 wxSingleChoiceDialog *new_wxSingleChoiceDialog(wxWindow *parent,wxString const &message,wxString const &caption,int choices,wxString *choices_array,long style,wxPoint const &pos){
1011 return new wxSingleChoiceDialog(parent, message, caption,
1012 choices, choices_array, NULL, style, pos);
1013 }
1014 static const wxString wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr);
1015
1016 #include <wx/mdi.h>
1017
1018 // C++ version of Python aware wxWindow
1019 class wxPyWindow : public wxWindow
1020 {
1021 DECLARE_DYNAMIC_CLASS(wxPyWindow)
1022 public:
1023 wxPyWindow() : wxWindow() {}
1024 wxPyWindow(wxWindow* parent, const wxWindowID id,
1025 const wxPoint& pos = wxDefaultPosition,
1026 const wxSize& size = wxDefaultSize,
1027 long style = 0,
1028 const wxString& name = wxPyPanelNameStr)
1029 : wxWindow(parent, id, pos, size, style, name) {}
1030
1031 void SetBestSize(const wxSize& size) { wxWindow::SetBestSize(size); }
1032
1033 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
1034 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
1035 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
1036 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
1037
1038 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
1039 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
1040 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
1041
1042 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
1043 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
1044
1045 DEC_PYCALLBACK__(InitDialog);
1046 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
1047 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
1048 DEC_PYCALLBACK_BOOL_(Validate);
1049
1050 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
1051 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
1052 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
1053
1054 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
1055 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
1056
1057 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
1058 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
1059 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
1060
1061 PYPRIVATE;
1062 };
1063
1064 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
1065
1066 IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
1067 IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
1068 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
1069 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
1070
1071 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
1072 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
1073 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
1074
1075 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
1076 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
1077
1078 IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
1079 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
1080 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
1081 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
1082
1083 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
1084 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
1085 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
1086
1087 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
1088 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
1089
1090 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, ShouldInheritColours);
1091 IMP_PYCALLBACK__COLOUR(wxPyWindow, wxWindow, ApplyParentThemeBackground);
1092 IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes);
1093
1094
1095 // C++ version of Python aware wxPanel
1096 class wxPyPanel : public wxPanel
1097 {
1098 DECLARE_DYNAMIC_CLASS(wxPyPanel)
1099 public:
1100 wxPyPanel() : wxPanel() {}
1101 wxPyPanel(wxWindow* parent, const wxWindowID id,
1102 const wxPoint& pos = wxDefaultPosition,
1103 const wxSize& size = wxDefaultSize,
1104 long style = 0,
1105 const wxString& name = wxPyPanelNameStr)
1106 : wxPanel(parent, id, pos, size, style, name) {}
1107
1108 void SetBestSize(const wxSize& size) { wxPanel::SetBestSize(size); }
1109
1110
1111 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
1112 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
1113 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
1114 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
1115
1116 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
1117 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
1118 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
1119
1120 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
1121 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
1122
1123 DEC_PYCALLBACK__(InitDialog);
1124 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
1125 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
1126 DEC_PYCALLBACK_BOOL_(Validate);
1127
1128 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
1129 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
1130 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
1131
1132 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
1133 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
1134
1135 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
1136 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
1137 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
1138
1139 PYPRIVATE;
1140 };
1141
1142 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
1143
1144 IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
1145 IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
1146 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
1147 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
1148
1149 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
1150 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
1151 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
1152
1153 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
1154 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
1155
1156 IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
1157 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
1158 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
1159 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
1160
1161 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
1162 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
1163 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
1164
1165 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
1166 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
1167
1168 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours);
1169 IMP_PYCALLBACK__COLOUR(wxPyPanel, wxPanel, ApplyParentThemeBackground);
1170 IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes);
1171
1172
1173 // C++ version of Python aware wxScrolledWindow
1174 class wxPyScrolledWindow : public wxScrolledWindow
1175 {
1176 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow)
1177 public:
1178 wxPyScrolledWindow() : wxScrolledWindow() {}
1179 wxPyScrolledWindow(wxWindow* parent, const wxWindowID id,
1180 const wxPoint& pos = wxDefaultPosition,
1181 const wxSize& size = wxDefaultSize,
1182 long style = 0,
1183 const wxString& name = wxPyPanelNameStr)
1184 : wxScrolledWindow(parent, id, pos, size, style, name) {}
1185
1186 void SetBestSize(const wxSize& size) { wxScrolledWindow::SetBestSize(size); }
1187
1188 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
1189 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
1190 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
1191 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
1192
1193 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
1194 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
1195 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
1196
1197 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
1198 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
1199
1200 DEC_PYCALLBACK__(InitDialog);
1201 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
1202 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
1203 DEC_PYCALLBACK_BOOL_(Validate);
1204
1205 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
1206 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
1207 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
1208
1209 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
1210 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
1211
1212 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
1213 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
1214 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
1215
1216 PYPRIVATE;
1217 };
1218
1219 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow);
1220
1221 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow);
1222 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize);
1223 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize);
1224 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize);
1225
1226 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize);
1227 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize);
1228 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition);
1229
1230 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize);
1231 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize);
1232
1233 IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog);
1234 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow);
1235 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow);
1236 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate);
1237
1238 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus);
1239 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard);
1240 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize);
1241
1242 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild);
1243 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
1244
1245 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
1246 IMP_PYCALLBACK__COLOUR(wxPyScrolledWindow, wxScrolledWindow, ApplyParentThemeBackground);
1247 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes);
1248
1249
1250
1251 #include "wx/wxPython/printfw.h"
1252
1253
1254 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
1255 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
1256
1257
1258 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout, wxPrintout);
1259
1260 // Since this one would be tough and ugly to do with the Macros...
1261 void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
1262 bool hadErr = false;
1263 bool found;
1264
1265 bool blocked = wxPyBeginBlockThreads();
1266 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
1267 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
1268 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
1269 PyObject* val;
1270
1271 val = PyTuple_GetItem(result, 0);
1272 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
1273 else hadErr = true;
1274
1275 val = PyTuple_GetItem(result, 1);
1276 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
1277 else hadErr = true;
1278
1279 val = PyTuple_GetItem(result, 2);
1280 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
1281 else hadErr = true;
1282
1283 val = PyTuple_GetItem(result, 3);
1284 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
1285 else hadErr = true;
1286 }
1287 else
1288 hadErr = true;
1289
1290 if (hadErr) {
1291 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
1292 PyErr_Print();
1293 }
1294 Py_DECREF(result);
1295 }
1296 wxPyEndBlockThreads(blocked);
1297 if (! found)
1298 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
1299 }
1300
1301 void wxPyPrintout::base_GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
1302 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
1303 }
1304
1305
1306 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
1307 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
1308 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
1309 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
1310 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
1311 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
1312 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
1313
1314
1315
1316
1317
1318 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
1319 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
1320 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
1321
1322
1323 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
1324 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1325 bool rval=false; \
1326 bool found; \
1327 bool blocked = wxPyBeginBlockThreads(); \
1328 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1329 PyObject* win = wxPyMake_wxObject(a,false); \
1330 PyObject* dc = wxPyMake_wxObject(&b,false); \
1331 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
1332 Py_DECREF(win); \
1333 Py_DECREF(dc); \
1334 } \
1335 wxPyEndBlockThreads(blocked); \
1336 if (! found) \
1337 rval = PCLASS::CBNAME(a, b); \
1338 return rval; \
1339 } \
1340 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1341 return PCLASS::CBNAME(a, b); \
1342 }
1343
1344
1345
1346
1347 class wxPyPrintPreview : public wxPrintPreview
1348 {
1349 DECLARE_CLASS(wxPyPrintPreview)
1350 public:
1351 wxPyPrintPreview(wxPyPrintout* printout,
1352 wxPyPrintout* printoutForPrinting,
1353 wxPrintDialogData* data=NULL)
1354 : wxPrintPreview(printout, printoutForPrinting, data)
1355 {}
1356 wxPyPrintPreview(wxPyPrintout* printout,
1357 wxPyPrintout* printoutForPrinting,
1358 wxPrintData* data=NULL)
1359 : wxPrintPreview(printout, printoutForPrinting, data)
1360 {}
1361
1362 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
1363 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
1364 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
1365 DEC_PYCALLBACK_BOOL_INT(RenderPage);
1366 DEC_PYCALLBACK_VOID_INT(SetZoom);
1367 DEC_PYCALLBACK_BOOL_BOOL(Print);
1368 DEC_PYCALLBACK_VOID_(DetermineScaling);
1369
1370 PYPRIVATE;
1371 };
1372
1373 // Stupid renamed classes... Fix this in 2.5...
1374 #if defined(__WXMSW__)
1375 IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
1376 #elif defined(__WXMAC__)
1377 IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
1378 #else
1379 IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
1380 #endif
1381
1382 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
1383 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
1384 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
1385 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
1386 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
1387 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
1388 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
1389
1390
1391 class wxPyPreviewFrame : public wxPreviewFrame
1392 {
1393 DECLARE_CLASS(wxPyPreviewFrame);
1394 public:
1395 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
1396 const wxString& title,
1397 const wxPoint& pos = wxDefaultPosition,
1398 const wxSize& size = wxDefaultSize,
1399 long style = wxDEFAULT_FRAME_STYLE,
1400 const wxString& name = wxPyFrameNameStr)
1401 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
1402 {}
1403
1404 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
1405 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
1406
1407 DEC_PYCALLBACK_VOID_(Initialize);
1408 DEC_PYCALLBACK_VOID_(CreateCanvas);
1409 DEC_PYCALLBACK_VOID_(CreateControlBar);
1410
1411 PYPRIVATE;
1412 };
1413
1414 IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
1415
1416 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
1417 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
1418 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
1419
1420
1421 class wxPyPreviewControlBar : public wxPreviewControlBar
1422 {
1423 DECLARE_CLASS(wxPyPreviewControlBar);
1424 public:
1425 wxPyPreviewControlBar(wxPrintPreview *preview,
1426 long buttons,
1427 wxWindow *parent,
1428 const wxPoint& pos = wxDefaultPosition,
1429 const wxSize& size = wxDefaultSize,
1430 long style = 0,
1431 const wxString& name = wxPyPanelNameStr)
1432 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
1433 {}
1434
1435 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
1436
1437 DEC_PYCALLBACK_VOID_(CreateButtons);
1438 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
1439
1440 PYPRIVATE;
1441 };
1442
1443 IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
1444 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
1445 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
1446
1447 #ifdef __cplusplus
1448 extern "C" {
1449 #endif
1450 static PyObject *_wrap_new_Panel(PyObject *, PyObject *args, PyObject *kwargs) {
1451 PyObject *resultobj;
1452 wxWindow *arg1 = (wxWindow *) 0 ;
1453 int arg2 = (int) (int)-1 ;
1454 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1455 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1456 wxSize const &arg4_defvalue = wxDefaultSize ;
1457 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1458 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1459 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1460 wxString *arg6 = (wxString *) &arg6_defvalue ;
1461 wxPanel *result;
1462 wxPoint temp3 ;
1463 wxSize temp4 ;
1464 bool temp6 = false ;
1465 PyObject * obj0 = 0 ;
1466 PyObject * obj1 = 0 ;
1467 PyObject * obj2 = 0 ;
1468 PyObject * obj3 = 0 ;
1469 PyObject * obj4 = 0 ;
1470 PyObject * obj5 = 0 ;
1471 char *kwnames[] = {
1472 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1473 };
1474
1475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
1476 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1477 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1478 if (obj1) {
1479 arg2 = (int)SWIG_As_int(obj1);
1480 if (PyErr_Occurred()) SWIG_fail;
1481 }
1482 if (obj2) {
1483 {
1484 arg3 = &temp3;
1485 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1486 }
1487 }
1488 if (obj3) {
1489 {
1490 arg4 = &temp4;
1491 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1492 }
1493 }
1494 if (obj4) {
1495 arg5 = (long)SWIG_As_long(obj4);
1496 if (PyErr_Occurred()) SWIG_fail;
1497 }
1498 if (obj5) {
1499 {
1500 arg6 = wxString_in_helper(obj5);
1501 if (arg6 == NULL) SWIG_fail;
1502 temp6 = true;
1503 }
1504 }
1505 {
1506 if (!wxPyCheckForApp()) SWIG_fail;
1507 PyThreadState* __tstate = wxPyBeginAllowThreads();
1508 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1509
1510 wxPyEndAllowThreads(__tstate);
1511 if (PyErr_Occurred()) SWIG_fail;
1512 }
1513 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
1514 {
1515 if (temp6)
1516 delete arg6;
1517 }
1518 return resultobj;
1519 fail:
1520 {
1521 if (temp6)
1522 delete arg6;
1523 }
1524 return NULL;
1525 }
1526
1527
1528 static PyObject *_wrap_new_PrePanel(PyObject *, PyObject *args, PyObject *kwargs) {
1529 PyObject *resultobj;
1530 wxPanel *result;
1531 char *kwnames[] = {
1532 NULL
1533 };
1534
1535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePanel",kwnames)) goto fail;
1536 {
1537 if (!wxPyCheckForApp()) SWIG_fail;
1538 PyThreadState* __tstate = wxPyBeginAllowThreads();
1539 result = (wxPanel *)new wxPanel();
1540
1541 wxPyEndAllowThreads(__tstate);
1542 if (PyErr_Occurred()) SWIG_fail;
1543 }
1544 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
1545 return resultobj;
1546 fail:
1547 return NULL;
1548 }
1549
1550
1551 static PyObject *_wrap_Panel_Create(PyObject *, PyObject *args, PyObject *kwargs) {
1552 PyObject *resultobj;
1553 wxPanel *arg1 = (wxPanel *) 0 ;
1554 wxWindow *arg2 = (wxWindow *) 0 ;
1555 int arg3 = (int) (int)-1 ;
1556 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1557 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1558 wxSize const &arg5_defvalue = wxDefaultSize ;
1559 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1560 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1561 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1562 wxString *arg7 = (wxString *) &arg7_defvalue ;
1563 bool result;
1564 wxPoint temp4 ;
1565 wxSize temp5 ;
1566 bool temp7 = false ;
1567 PyObject * obj0 = 0 ;
1568 PyObject * obj1 = 0 ;
1569 PyObject * obj2 = 0 ;
1570 PyObject * obj3 = 0 ;
1571 PyObject * obj4 = 0 ;
1572 PyObject * obj5 = 0 ;
1573 PyObject * obj6 = 0 ;
1574 char *kwnames[] = {
1575 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1576 };
1577
1578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
1579 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPanel,
1580 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1581 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1582 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1583 if (obj2) {
1584 arg3 = (int)SWIG_As_int(obj2);
1585 if (PyErr_Occurred()) SWIG_fail;
1586 }
1587 if (obj3) {
1588 {
1589 arg4 = &temp4;
1590 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1591 }
1592 }
1593 if (obj4) {
1594 {
1595 arg5 = &temp5;
1596 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1597 }
1598 }
1599 if (obj5) {
1600 arg6 = (long)SWIG_As_long(obj5);
1601 if (PyErr_Occurred()) SWIG_fail;
1602 }
1603 if (obj6) {
1604 {
1605 arg7 = wxString_in_helper(obj6);
1606 if (arg7 == NULL) SWIG_fail;
1607 temp7 = true;
1608 }
1609 }
1610 {
1611 PyThreadState* __tstate = wxPyBeginAllowThreads();
1612 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1613
1614 wxPyEndAllowThreads(__tstate);
1615 if (PyErr_Occurred()) SWIG_fail;
1616 }
1617 {
1618 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1619 }
1620 {
1621 if (temp7)
1622 delete arg7;
1623 }
1624 return resultobj;
1625 fail:
1626 {
1627 if (temp7)
1628 delete arg7;
1629 }
1630 return NULL;
1631 }
1632
1633
1634 static PyObject *_wrap_Panel_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
1635 PyObject *resultobj;
1636 wxPanel *arg1 = (wxPanel *) 0 ;
1637 PyObject * obj0 = 0 ;
1638 char *kwnames[] = {
1639 (char *) "self", NULL
1640 };
1641
1642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_InitDialog",kwnames,&obj0)) goto fail;
1643 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPanel,
1644 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1645 {
1646 PyThreadState* __tstate = wxPyBeginAllowThreads();
1647 (arg1)->InitDialog();
1648
1649 wxPyEndAllowThreads(__tstate);
1650 if (PyErr_Occurred()) SWIG_fail;
1651 }
1652 Py_INCREF(Py_None); resultobj = Py_None;
1653 return resultobj;
1654 fail:
1655 return NULL;
1656 }
1657
1658
1659 static PyObject *_wrap_Panel_SetFocus(PyObject *, PyObject *args, PyObject *kwargs) {
1660 PyObject *resultobj;
1661 wxPanel *arg1 = (wxPanel *) 0 ;
1662 PyObject * obj0 = 0 ;
1663 char *kwnames[] = {
1664 (char *) "self", NULL
1665 };
1666
1667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_SetFocus",kwnames,&obj0)) goto fail;
1668 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPanel,
1669 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1670 {
1671 PyThreadState* __tstate = wxPyBeginAllowThreads();
1672 (arg1)->SetFocus();
1673
1674 wxPyEndAllowThreads(__tstate);
1675 if (PyErr_Occurred()) SWIG_fail;
1676 }
1677 Py_INCREF(Py_None); resultobj = Py_None;
1678 return resultobj;
1679 fail:
1680 return NULL;
1681 }
1682
1683
1684 static PyObject *_wrap_Panel_SetFocusIgnoringChildren(PyObject *, PyObject *args, PyObject *kwargs) {
1685 PyObject *resultobj;
1686 wxPanel *arg1 = (wxPanel *) 0 ;
1687 PyObject * obj0 = 0 ;
1688 char *kwnames[] = {
1689 (char *) "self", NULL
1690 };
1691
1692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_SetFocusIgnoringChildren",kwnames,&obj0)) goto fail;
1693 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPanel,
1694 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1695 {
1696 PyThreadState* __tstate = wxPyBeginAllowThreads();
1697 (arg1)->SetFocusIgnoringChildren();
1698
1699 wxPyEndAllowThreads(__tstate);
1700 if (PyErr_Occurred()) SWIG_fail;
1701 }
1702 Py_INCREF(Py_None); resultobj = Py_None;
1703 return resultobj;
1704 fail:
1705 return NULL;
1706 }
1707
1708
1709 static PyObject *_wrap_Panel_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
1710 PyObject *resultobj;
1711 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
1712 wxVisualAttributes result;
1713 PyObject * obj0 = 0 ;
1714 char *kwnames[] = {
1715 (char *) "variant", NULL
1716 };
1717
1718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
1719 if (obj0) {
1720 arg1 = (int)SWIG_As_int(obj0);
1721 if (PyErr_Occurred()) SWIG_fail;
1722 }
1723 {
1724 if (!wxPyCheckForApp()) SWIG_fail;
1725 PyThreadState* __tstate = wxPyBeginAllowThreads();
1726 result = wxPanel::GetClassDefaultAttributes((wxWindowVariant )arg1);
1727
1728 wxPyEndAllowThreads(__tstate);
1729 if (PyErr_Occurred()) SWIG_fail;
1730 }
1731 {
1732 wxVisualAttributes * resultptr;
1733 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
1734 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
1735 }
1736 return resultobj;
1737 fail:
1738 return NULL;
1739 }
1740
1741
1742 static PyObject * Panel_swigregister(PyObject *, PyObject *args) {
1743 PyObject *obj;
1744 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1745 SWIG_TypeClientData(SWIGTYPE_p_wxPanel, obj);
1746 Py_INCREF(obj);
1747 return Py_BuildValue((char *)"");
1748 }
1749 static PyObject *_wrap_new_ScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
1750 PyObject *resultobj;
1751 wxWindow *arg1 = (wxWindow *) 0 ;
1752 int arg2 = (int) (int)-1 ;
1753 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1754 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1755 wxSize const &arg4_defvalue = wxDefaultSize ;
1756 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1757 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
1758 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1759 wxString *arg6 = (wxString *) &arg6_defvalue ;
1760 wxScrolledWindow *result;
1761 wxPoint temp3 ;
1762 wxSize temp4 ;
1763 bool temp6 = false ;
1764 PyObject * obj0 = 0 ;
1765 PyObject * obj1 = 0 ;
1766 PyObject * obj2 = 0 ;
1767 PyObject * obj3 = 0 ;
1768 PyObject * obj4 = 0 ;
1769 PyObject * obj5 = 0 ;
1770 char *kwnames[] = {
1771 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1772 };
1773
1774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
1775 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1776 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1777 if (obj1) {
1778 arg2 = (int)SWIG_As_int(obj1);
1779 if (PyErr_Occurred()) SWIG_fail;
1780 }
1781 if (obj2) {
1782 {
1783 arg3 = &temp3;
1784 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1785 }
1786 }
1787 if (obj3) {
1788 {
1789 arg4 = &temp4;
1790 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1791 }
1792 }
1793 if (obj4) {
1794 arg5 = (long)SWIG_As_long(obj4);
1795 if (PyErr_Occurred()) SWIG_fail;
1796 }
1797 if (obj5) {
1798 {
1799 arg6 = wxString_in_helper(obj5);
1800 if (arg6 == NULL) SWIG_fail;
1801 temp6 = true;
1802 }
1803 }
1804 {
1805 if (!wxPyCheckForApp()) SWIG_fail;
1806 PyThreadState* __tstate = wxPyBeginAllowThreads();
1807 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1808
1809 wxPyEndAllowThreads(__tstate);
1810 if (PyErr_Occurred()) SWIG_fail;
1811 }
1812 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
1813 {
1814 if (temp6)
1815 delete arg6;
1816 }
1817 return resultobj;
1818 fail:
1819 {
1820 if (temp6)
1821 delete arg6;
1822 }
1823 return NULL;
1824 }
1825
1826
1827 static PyObject *_wrap_new_PreScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
1828 PyObject *resultobj;
1829 wxScrolledWindow *result;
1830 char *kwnames[] = {
1831 NULL
1832 };
1833
1834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrolledWindow",kwnames)) goto fail;
1835 {
1836 if (!wxPyCheckForApp()) SWIG_fail;
1837 PyThreadState* __tstate = wxPyBeginAllowThreads();
1838 result = (wxScrolledWindow *)new wxScrolledWindow();
1839
1840 wxPyEndAllowThreads(__tstate);
1841 if (PyErr_Occurred()) SWIG_fail;
1842 }
1843 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
1844 return resultobj;
1845 fail:
1846 return NULL;
1847 }
1848
1849
1850 static PyObject *_wrap_ScrolledWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
1851 PyObject *resultobj;
1852 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1853 wxWindow *arg2 = (wxWindow *) 0 ;
1854 int arg3 = (int) (int)-1 ;
1855 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1856 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1857 wxSize const &arg5_defvalue = wxDefaultSize ;
1858 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1859 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
1860 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1861 wxString *arg7 = (wxString *) &arg7_defvalue ;
1862 bool result;
1863 wxPoint temp4 ;
1864 wxSize temp5 ;
1865 bool temp7 = false ;
1866 PyObject * obj0 = 0 ;
1867 PyObject * obj1 = 0 ;
1868 PyObject * obj2 = 0 ;
1869 PyObject * obj3 = 0 ;
1870 PyObject * obj4 = 0 ;
1871 PyObject * obj5 = 0 ;
1872 PyObject * obj6 = 0 ;
1873 char *kwnames[] = {
1874 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1875 };
1876
1877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
1878 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1879 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1880 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1881 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1882 if (obj2) {
1883 arg3 = (int)SWIG_As_int(obj2);
1884 if (PyErr_Occurred()) SWIG_fail;
1885 }
1886 if (obj3) {
1887 {
1888 arg4 = &temp4;
1889 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1890 }
1891 }
1892 if (obj4) {
1893 {
1894 arg5 = &temp5;
1895 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1896 }
1897 }
1898 if (obj5) {
1899 arg6 = (long)SWIG_As_long(obj5);
1900 if (PyErr_Occurred()) SWIG_fail;
1901 }
1902 if (obj6) {
1903 {
1904 arg7 = wxString_in_helper(obj6);
1905 if (arg7 == NULL) SWIG_fail;
1906 temp7 = true;
1907 }
1908 }
1909 {
1910 PyThreadState* __tstate = wxPyBeginAllowThreads();
1911 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1912
1913 wxPyEndAllowThreads(__tstate);
1914 if (PyErr_Occurred()) SWIG_fail;
1915 }
1916 {
1917 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1918 }
1919 {
1920 if (temp7)
1921 delete arg7;
1922 }
1923 return resultobj;
1924 fail:
1925 {
1926 if (temp7)
1927 delete arg7;
1928 }
1929 return NULL;
1930 }
1931
1932
1933 static PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
1934 PyObject *resultobj;
1935 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1936 int arg2 ;
1937 int arg3 ;
1938 int arg4 ;
1939 int arg5 ;
1940 int arg6 = (int) 0 ;
1941 int arg7 = (int) 0 ;
1942 bool arg8 = (bool) false ;
1943 PyObject * obj0 = 0 ;
1944 PyObject * obj1 = 0 ;
1945 PyObject * obj2 = 0 ;
1946 PyObject * obj3 = 0 ;
1947 PyObject * obj4 = 0 ;
1948 PyObject * obj5 = 0 ;
1949 PyObject * obj6 = 0 ;
1950 PyObject * obj7 = 0 ;
1951 char *kwnames[] = {
1952 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1953 };
1954
1955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
1956 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1957 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1958 arg2 = (int)SWIG_As_int(obj1);
1959 if (PyErr_Occurred()) SWIG_fail;
1960 arg3 = (int)SWIG_As_int(obj2);
1961 if (PyErr_Occurred()) SWIG_fail;
1962 arg4 = (int)SWIG_As_int(obj3);
1963 if (PyErr_Occurred()) SWIG_fail;
1964 arg5 = (int)SWIG_As_int(obj4);
1965 if (PyErr_Occurred()) SWIG_fail;
1966 if (obj5) {
1967 arg6 = (int)SWIG_As_int(obj5);
1968 if (PyErr_Occurred()) SWIG_fail;
1969 }
1970 if (obj6) {
1971 arg7 = (int)SWIG_As_int(obj6);
1972 if (PyErr_Occurred()) SWIG_fail;
1973 }
1974 if (obj7) {
1975 arg8 = (bool)SWIG_As_bool(obj7);
1976 if (PyErr_Occurred()) SWIG_fail;
1977 }
1978 {
1979 PyThreadState* __tstate = wxPyBeginAllowThreads();
1980 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
1981
1982 wxPyEndAllowThreads(__tstate);
1983 if (PyErr_Occurred()) SWIG_fail;
1984 }
1985 Py_INCREF(Py_None); resultobj = Py_None;
1986 return resultobj;
1987 fail:
1988 return NULL;
1989 }
1990
1991
1992 static PyObject *_wrap_ScrolledWindow_Scroll(PyObject *, PyObject *args, PyObject *kwargs) {
1993 PyObject *resultobj;
1994 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1995 int arg2 ;
1996 int arg3 ;
1997 PyObject * obj0 = 0 ;
1998 PyObject * obj1 = 0 ;
1999 PyObject * obj2 = 0 ;
2000 char *kwnames[] = {
2001 (char *) "self",(char *) "x",(char *) "y", NULL
2002 };
2003
2004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) goto fail;
2005 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2006 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2007 arg2 = (int)SWIG_As_int(obj1);
2008 if (PyErr_Occurred()) SWIG_fail;
2009 arg3 = (int)SWIG_As_int(obj2);
2010 if (PyErr_Occurred()) SWIG_fail;
2011 {
2012 PyThreadState* __tstate = wxPyBeginAllowThreads();
2013 (arg1)->Scroll(arg2,arg3);
2014
2015 wxPyEndAllowThreads(__tstate);
2016 if (PyErr_Occurred()) SWIG_fail;
2017 }
2018 Py_INCREF(Py_None); resultobj = Py_None;
2019 return resultobj;
2020 fail:
2021 return NULL;
2022 }
2023
2024
2025 static PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
2026 PyObject *resultobj;
2027 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2028 int arg2 ;
2029 int result;
2030 PyObject * obj0 = 0 ;
2031 PyObject * obj1 = 0 ;
2032 char *kwnames[] = {
2033 (char *) "self",(char *) "orient", NULL
2034 };
2035
2036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) goto fail;
2037 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2038 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2039 arg2 = (int)SWIG_As_int(obj1);
2040 if (PyErr_Occurred()) SWIG_fail;
2041 {
2042 PyThreadState* __tstate = wxPyBeginAllowThreads();
2043 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
2044
2045 wxPyEndAllowThreads(__tstate);
2046 if (PyErr_Occurred()) SWIG_fail;
2047 }
2048 resultobj = SWIG_From_int((int)result);
2049 return resultobj;
2050 fail:
2051 return NULL;
2052 }
2053
2054
2055 static PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
2056 PyObject *resultobj;
2057 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2058 int arg2 ;
2059 int arg3 ;
2060 PyObject * obj0 = 0 ;
2061 PyObject * obj1 = 0 ;
2062 PyObject * obj2 = 0 ;
2063 char *kwnames[] = {
2064 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
2065 };
2066
2067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2068 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2069 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2070 arg2 = (int)SWIG_As_int(obj1);
2071 if (PyErr_Occurred()) SWIG_fail;
2072 arg3 = (int)SWIG_As_int(obj2);
2073 if (PyErr_Occurred()) SWIG_fail;
2074 {
2075 PyThreadState* __tstate = wxPyBeginAllowThreads();
2076 (arg1)->SetScrollPageSize(arg2,arg3);
2077
2078 wxPyEndAllowThreads(__tstate);
2079 if (PyErr_Occurred()) SWIG_fail;
2080 }
2081 Py_INCREF(Py_None); resultobj = Py_None;
2082 return resultobj;
2083 fail:
2084 return NULL;
2085 }
2086
2087
2088 static PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *, PyObject *args, PyObject *kwargs) {
2089 PyObject *resultobj;
2090 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2091 int arg2 ;
2092 int arg3 ;
2093 PyObject * obj0 = 0 ;
2094 PyObject * obj1 = 0 ;
2095 PyObject * obj2 = 0 ;
2096 char *kwnames[] = {
2097 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
2098 };
2099
2100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) goto fail;
2101 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2102 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2103 arg2 = (int)SWIG_As_int(obj1);
2104 if (PyErr_Occurred()) SWIG_fail;
2105 arg3 = (int)SWIG_As_int(obj2);
2106 if (PyErr_Occurred()) SWIG_fail;
2107 {
2108 PyThreadState* __tstate = wxPyBeginAllowThreads();
2109 (arg1)->SetScrollRate(arg2,arg3);
2110
2111 wxPyEndAllowThreads(__tstate);
2112 if (PyErr_Occurred()) SWIG_fail;
2113 }
2114 Py_INCREF(Py_None); resultobj = Py_None;
2115 return resultobj;
2116 fail:
2117 return NULL;
2118 }
2119
2120
2121 static PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *, PyObject *args, PyObject *kwargs) {
2122 PyObject *resultobj;
2123 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2124 int *arg2 = (int *) 0 ;
2125 int *arg3 = (int *) 0 ;
2126 int temp2 ;
2127 int res2 = 0 ;
2128 int temp3 ;
2129 int res3 = 0 ;
2130 PyObject * obj0 = 0 ;
2131 char *kwnames[] = {
2132 (char *) "self", NULL
2133 };
2134
2135 arg2 = &temp2; res2 = SWIG_NEWOBJ;
2136 arg3 = &temp3; res3 = SWIG_NEWOBJ;
2137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames,&obj0)) goto fail;
2138 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2139 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2140 {
2141 PyThreadState* __tstate = wxPyBeginAllowThreads();
2142 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
2143
2144 wxPyEndAllowThreads(__tstate);
2145 if (PyErr_Occurred()) SWIG_fail;
2146 }
2147 Py_INCREF(Py_None); resultobj = Py_None;
2148 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
2149 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
2150 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
2151 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
2152 return resultobj;
2153 fail:
2154 return NULL;
2155 }
2156
2157
2158 static PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *, PyObject *args, PyObject *kwargs) {
2159 PyObject *resultobj;
2160 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2161 bool arg2 ;
2162 bool arg3 ;
2163 PyObject * obj0 = 0 ;
2164 PyObject * obj1 = 0 ;
2165 PyObject * obj2 = 0 ;
2166 char *kwnames[] = {
2167 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
2168 };
2169
2170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) goto fail;
2171 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2172 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2173 arg2 = (bool)SWIG_As_bool(obj1);
2174 if (PyErr_Occurred()) SWIG_fail;
2175 arg3 = (bool)SWIG_As_bool(obj2);
2176 if (PyErr_Occurred()) SWIG_fail;
2177 {
2178 PyThreadState* __tstate = wxPyBeginAllowThreads();
2179 (arg1)->EnableScrolling(arg2,arg3);
2180
2181 wxPyEndAllowThreads(__tstate);
2182 if (PyErr_Occurred()) SWIG_fail;
2183 }
2184 Py_INCREF(Py_None); resultobj = Py_None;
2185 return resultobj;
2186 fail:
2187 return NULL;
2188 }
2189
2190
2191 static PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *, PyObject *args, PyObject *kwargs) {
2192 PyObject *resultobj;
2193 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2194 int *arg2 = (int *) 0 ;
2195 int *arg3 = (int *) 0 ;
2196 int temp2 ;
2197 int res2 = 0 ;
2198 int temp3 ;
2199 int res3 = 0 ;
2200 PyObject * obj0 = 0 ;
2201 char *kwnames[] = {
2202 (char *) "self", NULL
2203 };
2204
2205 arg2 = &temp2; res2 = SWIG_NEWOBJ;
2206 arg3 = &temp3; res3 = SWIG_NEWOBJ;
2207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetViewStart",kwnames,&obj0)) goto fail;
2208 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2209 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2210 {
2211 PyThreadState* __tstate = wxPyBeginAllowThreads();
2212 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
2213
2214 wxPyEndAllowThreads(__tstate);
2215 if (PyErr_Occurred()) SWIG_fail;
2216 }
2217 Py_INCREF(Py_None); resultobj = Py_None;
2218 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
2219 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
2220 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
2221 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
2222 return resultobj;
2223 fail:
2224 return NULL;
2225 }
2226
2227
2228 static PyObject *_wrap_ScrolledWindow_SetScale(PyObject *, PyObject *args, PyObject *kwargs) {
2229 PyObject *resultobj;
2230 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2231 double arg2 ;
2232 double arg3 ;
2233 PyObject * obj0 = 0 ;
2234 PyObject * obj1 = 0 ;
2235 PyObject * obj2 = 0 ;
2236 char *kwnames[] = {
2237 (char *) "self",(char *) "xs",(char *) "ys", NULL
2238 };
2239
2240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) goto fail;
2241 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2242 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2243 arg2 = (double)SWIG_As_double(obj1);
2244 if (PyErr_Occurred()) SWIG_fail;
2245 arg3 = (double)SWIG_As_double(obj2);
2246 if (PyErr_Occurred()) SWIG_fail;
2247 {
2248 PyThreadState* __tstate = wxPyBeginAllowThreads();
2249 (arg1)->SetScale(arg2,arg3);
2250
2251 wxPyEndAllowThreads(__tstate);
2252 if (PyErr_Occurred()) SWIG_fail;
2253 }
2254 Py_INCREF(Py_None); resultobj = Py_None;
2255 return resultobj;
2256 fail:
2257 return NULL;
2258 }
2259
2260
2261 static PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *, PyObject *args, PyObject *kwargs) {
2262 PyObject *resultobj;
2263 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2264 double result;
2265 PyObject * obj0 = 0 ;
2266 char *kwnames[] = {
2267 (char *) "self", NULL
2268 };
2269
2270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleX",kwnames,&obj0)) goto fail;
2271 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2272 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2273 {
2274 PyThreadState* __tstate = wxPyBeginAllowThreads();
2275 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
2276
2277 wxPyEndAllowThreads(__tstate);
2278 if (PyErr_Occurred()) SWIG_fail;
2279 }
2280 resultobj = SWIG_From_double((double)result);
2281 return resultobj;
2282 fail:
2283 return NULL;
2284 }
2285
2286
2287 static PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *, PyObject *args, PyObject *kwargs) {
2288 PyObject *resultobj;
2289 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2290 double result;
2291 PyObject * obj0 = 0 ;
2292 char *kwnames[] = {
2293 (char *) "self", NULL
2294 };
2295
2296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleY",kwnames,&obj0)) goto fail;
2297 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2299 {
2300 PyThreadState* __tstate = wxPyBeginAllowThreads();
2301 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
2302
2303 wxPyEndAllowThreads(__tstate);
2304 if (PyErr_Occurred()) SWIG_fail;
2305 }
2306 resultobj = SWIG_From_double((double)result);
2307 return resultobj;
2308 fail:
2309 return NULL;
2310 }
2311
2312
2313 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *, PyObject *args) {
2314 PyObject *resultobj;
2315 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2316 wxPoint *arg2 = 0 ;
2317 wxPoint result;
2318 wxPoint temp2 ;
2319 PyObject * obj0 = 0 ;
2320 PyObject * obj1 = 0 ;
2321
2322 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1)) goto fail;
2323 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2324 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2325 {
2326 arg2 = &temp2;
2327 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2328 }
2329 {
2330 PyThreadState* __tstate = wxPyBeginAllowThreads();
2331 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
2332
2333 wxPyEndAllowThreads(__tstate);
2334 if (PyErr_Occurred()) SWIG_fail;
2335 }
2336 {
2337 wxPoint * resultptr;
2338 resultptr = new wxPoint((wxPoint &) result);
2339 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
2340 }
2341 return resultobj;
2342 fail:
2343 return NULL;
2344 }
2345
2346
2347 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *, PyObject *args) {
2348 PyObject *resultobj;
2349 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2350 int arg2 ;
2351 int arg3 ;
2352 int *arg4 = (int *) 0 ;
2353 int *arg5 = (int *) 0 ;
2354 int temp4 ;
2355 int res4 = 0 ;
2356 int temp5 ;
2357 int res5 = 0 ;
2358 PyObject * obj0 = 0 ;
2359 PyObject * obj1 = 0 ;
2360 PyObject * obj2 = 0 ;
2361
2362 arg4 = &temp4; res4 = SWIG_NEWOBJ;
2363 arg5 = &temp5; res5 = SWIG_NEWOBJ;
2364 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1,&obj2)) goto fail;
2365 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2366 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2367 arg2 = (int)SWIG_As_int(obj1);
2368 if (PyErr_Occurred()) SWIG_fail;
2369 arg3 = (int)SWIG_As_int(obj2);
2370 if (PyErr_Occurred()) SWIG_fail;
2371 {
2372 PyThreadState* __tstate = wxPyBeginAllowThreads();
2373 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
2374
2375 wxPyEndAllowThreads(__tstate);
2376 if (PyErr_Occurred()) SWIG_fail;
2377 }
2378 Py_INCREF(Py_None); resultobj = Py_None;
2379 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
2380 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
2381 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
2382 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
2383 return resultobj;
2384 fail:
2385 return NULL;
2386 }
2387
2388
2389 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
2390 int argc;
2391 PyObject *argv[4];
2392 int ii;
2393
2394 argc = PyObject_Length(args);
2395 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
2396 argv[ii] = PyTuple_GetItem(args,ii);
2397 }
2398 if (argc == 2) {
2399 int _v;
2400 {
2401 void *ptr;
2402 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2403 _v = 0;
2404 PyErr_Clear();
2405 } else {
2406 _v = 1;
2407 }
2408 }
2409 if (_v) {
2410 {
2411 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
2412 }
2413 if (_v) {
2414 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self,args);
2415 }
2416 }
2417 }
2418 if (argc == 3) {
2419 int _v;
2420 {
2421 void *ptr;
2422 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2423 _v = 0;
2424 PyErr_Clear();
2425 } else {
2426 _v = 1;
2427 }
2428 }
2429 if (_v) {
2430 _v = SWIG_Check_int(argv[1]);
2431 if (_v) {
2432 _v = SWIG_Check_int(argv[2]);
2433 if (_v) {
2434 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self,args);
2435 }
2436 }
2437 }
2438 }
2439
2440 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
2441 return NULL;
2442 }
2443
2444
2445 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *, PyObject *args) {
2446 PyObject *resultobj;
2447 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2448 wxPoint *arg2 = 0 ;
2449 wxPoint result;
2450 wxPoint temp2 ;
2451 PyObject * obj0 = 0 ;
2452 PyObject * obj1 = 0 ;
2453
2454 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1)) goto fail;
2455 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2456 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2457 {
2458 arg2 = &temp2;
2459 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2460 }
2461 {
2462 PyThreadState* __tstate = wxPyBeginAllowThreads();
2463 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
2464
2465 wxPyEndAllowThreads(__tstate);
2466 if (PyErr_Occurred()) SWIG_fail;
2467 }
2468 {
2469 wxPoint * resultptr;
2470 resultptr = new wxPoint((wxPoint &) result);
2471 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
2472 }
2473 return resultobj;
2474 fail:
2475 return NULL;
2476 }
2477
2478
2479 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *, PyObject *args) {
2480 PyObject *resultobj;
2481 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2482 int arg2 ;
2483 int arg3 ;
2484 int *arg4 = (int *) 0 ;
2485 int *arg5 = (int *) 0 ;
2486 int temp4 ;
2487 int res4 = 0 ;
2488 int temp5 ;
2489 int res5 = 0 ;
2490 PyObject * obj0 = 0 ;
2491 PyObject * obj1 = 0 ;
2492 PyObject * obj2 = 0 ;
2493
2494 arg4 = &temp4; res4 = SWIG_NEWOBJ;
2495 arg5 = &temp5; res5 = SWIG_NEWOBJ;
2496 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1,&obj2)) goto fail;
2497 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2498 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2499 arg2 = (int)SWIG_As_int(obj1);
2500 if (PyErr_Occurred()) SWIG_fail;
2501 arg3 = (int)SWIG_As_int(obj2);
2502 if (PyErr_Occurred()) SWIG_fail;
2503 {
2504 PyThreadState* __tstate = wxPyBeginAllowThreads();
2505 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
2506
2507 wxPyEndAllowThreads(__tstate);
2508 if (PyErr_Occurred()) SWIG_fail;
2509 }
2510 Py_INCREF(Py_None); resultobj = Py_None;
2511 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
2512 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
2513 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
2514 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
2515 return resultobj;
2516 fail:
2517 return NULL;
2518 }
2519
2520
2521 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
2522 int argc;
2523 PyObject *argv[4];
2524 int ii;
2525
2526 argc = PyObject_Length(args);
2527 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
2528 argv[ii] = PyTuple_GetItem(args,ii);
2529 }
2530 if (argc == 2) {
2531 int _v;
2532 {
2533 void *ptr;
2534 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2535 _v = 0;
2536 PyErr_Clear();
2537 } else {
2538 _v = 1;
2539 }
2540 }
2541 if (_v) {
2542 {
2543 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
2544 }
2545 if (_v) {
2546 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self,args);
2547 }
2548 }
2549 }
2550 if (argc == 3) {
2551 int _v;
2552 {
2553 void *ptr;
2554 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2555 _v = 0;
2556 PyErr_Clear();
2557 } else {
2558 _v = 1;
2559 }
2560 }
2561 if (_v) {
2562 _v = SWIG_Check_int(argv[1]);
2563 if (_v) {
2564 _v = SWIG_Check_int(argv[2]);
2565 if (_v) {
2566 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self,args);
2567 }
2568 }
2569 }
2570 }
2571
2572 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
2573 return NULL;
2574 }
2575
2576
2577 static PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
2578 PyObject *resultobj;
2579 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2580 PyObject * obj0 = 0 ;
2581 char *kwnames[] = {
2582 (char *) "self", NULL
2583 };
2584
2585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames,&obj0)) goto fail;
2586 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2587 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2588 {
2589 PyThreadState* __tstate = wxPyBeginAllowThreads();
2590 (arg1)->AdjustScrollbars();
2591
2592 wxPyEndAllowThreads(__tstate);
2593 if (PyErr_Occurred()) SWIG_fail;
2594 }
2595 Py_INCREF(Py_None); resultobj = Py_None;
2596 return resultobj;
2597 fail:
2598 return NULL;
2599 }
2600
2601
2602 static PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *, PyObject *args, PyObject *kwargs) {
2603 PyObject *resultobj;
2604 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2605 wxScrollWinEvent *arg2 = 0 ;
2606 int result;
2607 PyObject * obj0 = 0 ;
2608 PyObject * obj1 = 0 ;
2609 char *kwnames[] = {
2610 (char *) "self",(char *) "event", NULL
2611 };
2612
2613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) goto fail;
2614 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2615 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2616 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxScrollWinEvent,
2617 SWIG_POINTER_EXCEPTION | 0)) == -1)
2618 SWIG_fail;
2619 if (arg2 == NULL) {
2620 PyErr_SetString(PyExc_TypeError,"null reference");
2621 SWIG_fail;
2622 }
2623 {
2624 PyThreadState* __tstate = wxPyBeginAllowThreads();
2625 result = (int)(arg1)->CalcScrollInc(*arg2);
2626
2627 wxPyEndAllowThreads(__tstate);
2628 if (PyErr_Occurred()) SWIG_fail;
2629 }
2630 resultobj = SWIG_From_int((int)result);
2631 return resultobj;
2632 fail:
2633 return NULL;
2634 }
2635
2636
2637 static PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
2638 PyObject *resultobj;
2639 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2640 wxWindow *arg2 = (wxWindow *) 0 ;
2641 PyObject * obj0 = 0 ;
2642 PyObject * obj1 = 0 ;
2643 char *kwnames[] = {
2644 (char *) "self",(char *) "target", NULL
2645 };
2646
2647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) goto fail;
2648 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2649 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2650 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
2651 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2652 {
2653 PyThreadState* __tstate = wxPyBeginAllowThreads();
2654 (arg1)->SetTargetWindow(arg2);
2655
2656 wxPyEndAllowThreads(__tstate);
2657 if (PyErr_Occurred()) SWIG_fail;
2658 }
2659 Py_INCREF(Py_None); resultobj = Py_None;
2660 return resultobj;
2661 fail:
2662 return NULL;
2663 }
2664
2665
2666 static PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
2667 PyObject *resultobj;
2668 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2669 wxWindow *result;
2670 PyObject * obj0 = 0 ;
2671 char *kwnames[] = {
2672 (char *) "self", NULL
2673 };
2674
2675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames,&obj0)) goto fail;
2676 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2677 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2678 {
2679 PyThreadState* __tstate = wxPyBeginAllowThreads();
2680 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
2681
2682 wxPyEndAllowThreads(__tstate);
2683 if (PyErr_Occurred()) SWIG_fail;
2684 }
2685 {
2686 resultobj = wxPyMake_wxObject(result, 0);
2687 }
2688 return resultobj;
2689 fail:
2690 return NULL;
2691 }
2692
2693
2694 static PyObject *_wrap_ScrolledWindow_SetTargetRect(PyObject *, PyObject *args, PyObject *kwargs) {
2695 PyObject *resultobj;
2696 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2697 wxRect *arg2 = 0 ;
2698 wxRect temp2 ;
2699 PyObject * obj0 = 0 ;
2700 PyObject * obj1 = 0 ;
2701 char *kwnames[] = {
2702 (char *) "self",(char *) "rect", NULL
2703 };
2704
2705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames,&obj0,&obj1)) goto fail;
2706 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2707 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2708 {
2709 arg2 = &temp2;
2710 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
2711 }
2712 {
2713 PyThreadState* __tstate = wxPyBeginAllowThreads();
2714 (arg1)->SetTargetRect((wxRect const &)*arg2);
2715
2716 wxPyEndAllowThreads(__tstate);
2717 if (PyErr_Occurred()) SWIG_fail;
2718 }
2719 Py_INCREF(Py_None); resultobj = Py_None;
2720 return resultobj;
2721 fail:
2722 return NULL;
2723 }
2724
2725
2726 static PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *, PyObject *args, PyObject *kwargs) {
2727 PyObject *resultobj;
2728 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2729 wxRect result;
2730 PyObject * obj0 = 0 ;
2731 char *kwnames[] = {
2732 (char *) "self", NULL
2733 };
2734
2735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetRect",kwnames,&obj0)) goto fail;
2736 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2737 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2738 {
2739 PyThreadState* __tstate = wxPyBeginAllowThreads();
2740 result = ((wxScrolledWindow const *)arg1)->GetTargetRect();
2741
2742 wxPyEndAllowThreads(__tstate);
2743 if (PyErr_Occurred()) SWIG_fail;
2744 }
2745 {
2746 wxRect * resultptr;
2747 resultptr = new wxRect((wxRect &) result);
2748 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
2749 }
2750 return resultobj;
2751 fail:
2752 return NULL;
2753 }
2754
2755
2756 static PyObject *_wrap_ScrolledWindow_DoPrepareDC(PyObject *, PyObject *args, PyObject *kwargs) {
2757 PyObject *resultobj;
2758 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2759 wxDC *arg2 = 0 ;
2760 PyObject * obj0 = 0 ;
2761 PyObject * obj1 = 0 ;
2762 char *kwnames[] = {
2763 (char *) "self",(char *) "dc", NULL
2764 };
2765
2766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames,&obj0,&obj1)) goto fail;
2767 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2768 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2769 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
2770 SWIG_POINTER_EXCEPTION | 0)) == -1)
2771 SWIG_fail;
2772 if (arg2 == NULL) {
2773 PyErr_SetString(PyExc_TypeError,"null reference");
2774 SWIG_fail;
2775 }
2776 {
2777 PyThreadState* __tstate = wxPyBeginAllowThreads();
2778 (arg1)->DoPrepareDC(*arg2);
2779
2780 wxPyEndAllowThreads(__tstate);
2781 if (PyErr_Occurred()) SWIG_fail;
2782 }
2783 Py_INCREF(Py_None); resultobj = Py_None;
2784 return resultobj;
2785 fail:
2786 return NULL;
2787 }
2788
2789
2790 static PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
2791 PyObject *resultobj;
2792 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
2793 wxVisualAttributes result;
2794 PyObject * obj0 = 0 ;
2795 char *kwnames[] = {
2796 (char *) "variant", NULL
2797 };
2798
2799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
2800 if (obj0) {
2801 arg1 = (int)SWIG_As_int(obj0);
2802 if (PyErr_Occurred()) SWIG_fail;
2803 }
2804 {
2805 if (!wxPyCheckForApp()) SWIG_fail;
2806 PyThreadState* __tstate = wxPyBeginAllowThreads();
2807 result = wxScrolledWindow::GetClassDefaultAttributes((wxWindowVariant )arg1);
2808
2809 wxPyEndAllowThreads(__tstate);
2810 if (PyErr_Occurred()) SWIG_fail;
2811 }
2812 {
2813 wxVisualAttributes * resultptr;
2814 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
2815 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
2816 }
2817 return resultobj;
2818 fail:
2819 return NULL;
2820 }
2821
2822
2823 static PyObject * ScrolledWindow_swigregister(PyObject *, PyObject *args) {
2824 PyObject *obj;
2825 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2826 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj);
2827 Py_INCREF(obj);
2828 return Py_BuildValue((char *)"");
2829 }
2830 static int _wrap_FrameNameStr_set(PyObject *) {
2831 PyErr_SetString(PyExc_TypeError,"Variable FrameNameStr is read-only.");
2832 return 1;
2833 }
2834
2835
2836 static PyObject *_wrap_FrameNameStr_get() {
2837 PyObject *pyobj;
2838
2839 {
2840 #if wxUSE_UNICODE
2841 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2842 #else
2843 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2844 #endif
2845 }
2846 return pyobj;
2847 }
2848
2849
2850 static int _wrap_DialogNameStr_set(PyObject *) {
2851 PyErr_SetString(PyExc_TypeError,"Variable DialogNameStr is read-only.");
2852 return 1;
2853 }
2854
2855
2856 static PyObject *_wrap_DialogNameStr_get() {
2857 PyObject *pyobj;
2858
2859 {
2860 #if wxUSE_UNICODE
2861 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2862 #else
2863 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2864 #endif
2865 }
2866 return pyobj;
2867 }
2868
2869
2870 static int _wrap_StatusLineNameStr_set(PyObject *) {
2871 PyErr_SetString(PyExc_TypeError,"Variable StatusLineNameStr is read-only.");
2872 return 1;
2873 }
2874
2875
2876 static PyObject *_wrap_StatusLineNameStr_get() {
2877 PyObject *pyobj;
2878
2879 {
2880 #if wxUSE_UNICODE
2881 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2882 #else
2883 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2884 #endif
2885 }
2886 return pyobj;
2887 }
2888
2889
2890 static int _wrap_ToolBarNameStr_set(PyObject *) {
2891 PyErr_SetString(PyExc_TypeError,"Variable ToolBarNameStr is read-only.");
2892 return 1;
2893 }
2894
2895
2896 static PyObject *_wrap_ToolBarNameStr_get() {
2897 PyObject *pyobj;
2898
2899 {
2900 #if wxUSE_UNICODE
2901 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2902 #else
2903 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2904 #endif
2905 }
2906 return pyobj;
2907 }
2908
2909
2910 static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *, PyObject *args, PyObject *kwargs) {
2911 PyObject *resultobj;
2912 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2913 bool arg2 = (bool) true ;
2914 PyObject * obj0 = 0 ;
2915 PyObject * obj1 = 0 ;
2916 char *kwnames[] = {
2917 (char *) "self",(char *) "maximize", NULL
2918 };
2919
2920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail;
2921 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2923 if (obj1) {
2924 arg2 = (bool)SWIG_As_bool(obj1);
2925 if (PyErr_Occurred()) SWIG_fail;
2926 }
2927 {
2928 PyThreadState* __tstate = wxPyBeginAllowThreads();
2929 (arg1)->Maximize(arg2);
2930
2931 wxPyEndAllowThreads(__tstate);
2932 if (PyErr_Occurred()) SWIG_fail;
2933 }
2934 Py_INCREF(Py_None); resultobj = Py_None;
2935 return resultobj;
2936 fail:
2937 return NULL;
2938 }
2939
2940
2941 static PyObject *_wrap_TopLevelWindow_Restore(PyObject *, PyObject *args, PyObject *kwargs) {
2942 PyObject *resultobj;
2943 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2944 PyObject * obj0 = 0 ;
2945 char *kwnames[] = {
2946 (char *) "self", NULL
2947 };
2948
2949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",kwnames,&obj0)) goto fail;
2950 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2951 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2952 {
2953 PyThreadState* __tstate = wxPyBeginAllowThreads();
2954 (arg1)->Restore();
2955
2956 wxPyEndAllowThreads(__tstate);
2957 if (PyErr_Occurred()) SWIG_fail;
2958 }
2959 Py_INCREF(Py_None); resultobj = Py_None;
2960 return resultobj;
2961 fail:
2962 return NULL;
2963 }
2964
2965
2966 static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *, PyObject *args, PyObject *kwargs) {
2967 PyObject *resultobj;
2968 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2969 bool arg2 = (bool) true ;
2970 PyObject * obj0 = 0 ;
2971 PyObject * obj1 = 0 ;
2972 char *kwnames[] = {
2973 (char *) "self",(char *) "iconize", NULL
2974 };
2975
2976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail;
2977 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2978 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2979 if (obj1) {
2980 arg2 = (bool)SWIG_As_bool(obj1);
2981 if (PyErr_Occurred()) SWIG_fail;
2982 }
2983 {
2984 PyThreadState* __tstate = wxPyBeginAllowThreads();
2985 (arg1)->Iconize(arg2);
2986
2987 wxPyEndAllowThreads(__tstate);
2988 if (PyErr_Occurred()) SWIG_fail;
2989 }
2990 Py_INCREF(Py_None); resultobj = Py_None;
2991 return resultobj;
2992 fail:
2993 return NULL;
2994 }
2995
2996
2997 static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *, PyObject *args, PyObject *kwargs) {
2998 PyObject *resultobj;
2999 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3000 bool result;
3001 PyObject * obj0 = 0 ;
3002 char *kwnames[] = {
3003 (char *) "self", NULL
3004 };
3005
3006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail;
3007 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3008 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3009 {
3010 PyThreadState* __tstate = wxPyBeginAllowThreads();
3011 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
3012
3013 wxPyEndAllowThreads(__tstate);
3014 if (PyErr_Occurred()) SWIG_fail;
3015 }
3016 {
3017 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3018 }
3019 return resultobj;
3020 fail:
3021 return NULL;
3022 }
3023
3024
3025 static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *, PyObject *args, PyObject *kwargs) {
3026 PyObject *resultobj;
3027 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3028 bool result;
3029 PyObject * obj0 = 0 ;
3030 char *kwnames[] = {
3031 (char *) "self", NULL
3032 };
3033
3034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail;
3035 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3036 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3037 {
3038 PyThreadState* __tstate = wxPyBeginAllowThreads();
3039 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
3040
3041 wxPyEndAllowThreads(__tstate);
3042 if (PyErr_Occurred()) SWIG_fail;
3043 }
3044 {
3045 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3046 }
3047 return resultobj;
3048 fail:
3049 return NULL;
3050 }
3051
3052
3053 static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
3054 PyObject *resultobj;
3055 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3056 wxIcon result;
3057 PyObject * obj0 = 0 ;
3058 char *kwnames[] = {
3059 (char *) "self", NULL
3060 };
3061
3062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail;
3063 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3064 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3065 {
3066 PyThreadState* __tstate = wxPyBeginAllowThreads();
3067 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
3068
3069 wxPyEndAllowThreads(__tstate);
3070 if (PyErr_Occurred()) SWIG_fail;
3071 }
3072 {
3073 wxIcon * resultptr;
3074 resultptr = new wxIcon((wxIcon &) result);
3075 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1);
3076 }
3077 return resultobj;
3078 fail:
3079 return NULL;
3080 }
3081
3082
3083 static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
3084 PyObject *resultobj;
3085 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3086 wxIcon *arg2 = 0 ;
3087 PyObject * obj0 = 0 ;
3088 PyObject * obj1 = 0 ;
3089 char *kwnames[] = {
3090 (char *) "self",(char *) "icon", NULL
3091 };
3092
3093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail;
3094 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3095 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3096 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
3097 SWIG_POINTER_EXCEPTION | 0)) == -1)
3098 SWIG_fail;
3099 if (arg2 == NULL) {
3100 PyErr_SetString(PyExc_TypeError,"null reference");
3101 SWIG_fail;
3102 }
3103 {
3104 PyThreadState* __tstate = wxPyBeginAllowThreads();
3105 (arg1)->SetIcon((wxIcon const &)*arg2);
3106
3107 wxPyEndAllowThreads(__tstate);
3108 if (PyErr_Occurred()) SWIG_fail;
3109 }
3110 Py_INCREF(Py_None); resultobj = Py_None;
3111 return resultobj;
3112 fail:
3113 return NULL;
3114 }
3115
3116
3117 static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *, PyObject *args, PyObject *kwargs) {
3118 PyObject *resultobj;
3119 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3120 wxIconBundle *arg2 = 0 ;
3121 PyObject * obj0 = 0 ;
3122 PyObject * obj1 = 0 ;
3123 char *kwnames[] = {
3124 (char *) "self",(char *) "icons", NULL
3125 };
3126
3127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail;
3128 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3129 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3130 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIconBundle,
3131 SWIG_POINTER_EXCEPTION | 0)) == -1)
3132 SWIG_fail;
3133 if (arg2 == NULL) {
3134 PyErr_SetString(PyExc_TypeError,"null reference");
3135 SWIG_fail;
3136 }
3137 {
3138 PyThreadState* __tstate = wxPyBeginAllowThreads();
3139 (arg1)->SetIcons((wxIconBundle const &)*arg2);
3140
3141 wxPyEndAllowThreads(__tstate);
3142 if (PyErr_Occurred()) SWIG_fail;
3143 }
3144 Py_INCREF(Py_None); resultobj = Py_None;
3145 return resultobj;
3146 fail:
3147 return NULL;
3148 }
3149
3150
3151 static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *, PyObject *args, PyObject *kwargs) {
3152 PyObject *resultobj;
3153 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3154 bool arg2 ;
3155 long arg3 = (long) wxFULLSCREEN_ALL ;
3156 bool result;
3157 PyObject * obj0 = 0 ;
3158 PyObject * obj1 = 0 ;
3159 PyObject * obj2 = 0 ;
3160 char *kwnames[] = {
3161 (char *) "self",(char *) "show",(char *) "style", NULL
3162 };
3163
3164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
3165 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3166 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3167 arg2 = (bool)SWIG_As_bool(obj1);
3168 if (PyErr_Occurred()) SWIG_fail;
3169 if (obj2) {
3170 arg3 = (long)SWIG_As_long(obj2);
3171 if (PyErr_Occurred()) SWIG_fail;
3172 }
3173 {
3174 PyThreadState* __tstate = wxPyBeginAllowThreads();
3175 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
3176
3177 wxPyEndAllowThreads(__tstate);
3178 if (PyErr_Occurred()) SWIG_fail;
3179 }
3180 {
3181 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3182 }
3183 return resultobj;
3184 fail:
3185 return NULL;
3186 }
3187
3188
3189 static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *, PyObject *args, PyObject *kwargs) {
3190 PyObject *resultobj;
3191 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3192 bool result;
3193 PyObject * obj0 = 0 ;
3194 char *kwnames[] = {
3195 (char *) "self", NULL
3196 };
3197
3198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail;
3199 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3200 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3201 {
3202 PyThreadState* __tstate = wxPyBeginAllowThreads();
3203 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
3204
3205 wxPyEndAllowThreads(__tstate);
3206 if (PyErr_Occurred()) SWIG_fail;
3207 }
3208 {
3209 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3210 }
3211 return resultobj;
3212 fail:
3213 return NULL;
3214 }
3215
3216
3217 static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
3218 PyObject *resultobj;
3219 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3220 wxString *arg2 = 0 ;
3221 bool temp2 = false ;
3222 PyObject * obj0 = 0 ;
3223 PyObject * obj1 = 0 ;
3224 char *kwnames[] = {
3225 (char *) "self",(char *) "title", NULL
3226 };
3227
3228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail;
3229 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3230 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3231 {
3232 arg2 = wxString_in_helper(obj1);
3233 if (arg2 == NULL) SWIG_fail;
3234 temp2 = true;
3235 }
3236 {
3237 PyThreadState* __tstate = wxPyBeginAllowThreads();
3238 (arg1)->SetTitle((wxString const &)*arg2);
3239
3240 wxPyEndAllowThreads(__tstate);
3241 if (PyErr_Occurred()) SWIG_fail;
3242 }
3243 Py_INCREF(Py_None); resultobj = Py_None;
3244 {
3245 if (temp2)
3246 delete arg2;
3247 }
3248 return resultobj;
3249 fail:
3250 {
3251 if (temp2)
3252 delete arg2;
3253 }
3254 return NULL;
3255 }
3256
3257
3258 static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
3259 PyObject *resultobj;
3260 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3261 wxString result;
3262 PyObject * obj0 = 0 ;
3263 char *kwnames[] = {
3264 (char *) "self", NULL
3265 };
3266
3267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail;
3268 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3269 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3270 {
3271 PyThreadState* __tstate = wxPyBeginAllowThreads();
3272 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
3273
3274 wxPyEndAllowThreads(__tstate);
3275 if (PyErr_Occurred()) SWIG_fail;
3276 }
3277 {
3278 #if wxUSE_UNICODE
3279 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3280 #else
3281 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3282 #endif
3283 }
3284 return resultobj;
3285 fail:
3286 return NULL;
3287 }
3288
3289
3290 static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *, PyObject *args, PyObject *kwargs) {
3291 PyObject *resultobj;
3292 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3293 wxRegion *arg2 = 0 ;
3294 bool result;
3295 PyObject * obj0 = 0 ;
3296 PyObject * obj1 = 0 ;
3297 char *kwnames[] = {
3298 (char *) "self",(char *) "region", NULL
3299 };
3300
3301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail;
3302 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3303 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3304 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRegion,
3305 SWIG_POINTER_EXCEPTION | 0)) == -1)
3306 SWIG_fail;
3307 if (arg2 == NULL) {
3308 PyErr_SetString(PyExc_TypeError,"null reference");
3309 SWIG_fail;
3310 }
3311 {
3312 PyThreadState* __tstate = wxPyBeginAllowThreads();
3313 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
3314
3315 wxPyEndAllowThreads(__tstate);
3316 if (PyErr_Occurred()) SWIG_fail;
3317 }
3318 {
3319 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3320 }
3321 return resultobj;
3322 fail:
3323 return NULL;
3324 }
3325
3326
3327 static PyObject *_wrap_TopLevelWindow_RequestUserAttention(PyObject *, PyObject *args, PyObject *kwargs) {
3328 PyObject *resultobj;
3329 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3330 int arg2 = (int) wxUSER_ATTENTION_INFO ;
3331 PyObject * obj0 = 0 ;
3332 PyObject * obj1 = 0 ;
3333 char *kwnames[] = {
3334 (char *) "self",(char *) "flags", NULL
3335 };
3336
3337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames,&obj0,&obj1)) goto fail;
3338 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3339 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3340 if (obj1) {
3341 arg2 = (int)SWIG_As_int(obj1);
3342 if (PyErr_Occurred()) SWIG_fail;
3343 }
3344 {
3345 PyThreadState* __tstate = wxPyBeginAllowThreads();
3346 (arg1)->RequestUserAttention(arg2);
3347
3348 wxPyEndAllowThreads(__tstate);
3349 if (PyErr_Occurred()) SWIG_fail;
3350 }
3351 Py_INCREF(Py_None); resultobj = Py_None;
3352 return resultobj;
3353 fail:
3354 return NULL;
3355 }
3356
3357
3358 static PyObject *_wrap_TopLevelWindow_IsActive(PyObject *, PyObject *args, PyObject *kwargs) {
3359 PyObject *resultobj;
3360 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3361 bool result;
3362 PyObject * obj0 = 0 ;
3363 char *kwnames[] = {
3364 (char *) "self", NULL
3365 };
3366
3367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsActive",kwnames,&obj0)) goto fail;
3368 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3369 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3370 {
3371 PyThreadState* __tstate = wxPyBeginAllowThreads();
3372 result = (bool)(arg1)->IsActive();
3373
3374 wxPyEndAllowThreads(__tstate);
3375 if (PyErr_Occurred()) SWIG_fail;
3376 }
3377 {
3378 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3379 }
3380 return resultobj;
3381 fail:
3382 return NULL;
3383 }
3384
3385
3386 static PyObject *_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject *, PyObject *args, PyObject *kwargs) {
3387 PyObject *resultobj;
3388 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3389 bool arg2 ;
3390 PyObject * obj0 = 0 ;
3391 PyObject * obj1 = 0 ;
3392 char *kwnames[] = {
3393 (char *) "self",(char *) "on", NULL
3394 };
3395
3396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames,&obj0,&obj1)) goto fail;
3397 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3398 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3399 arg2 = (bool)SWIG_As_bool(obj1);
3400 if (PyErr_Occurred()) SWIG_fail;
3401 {
3402 PyThreadState* __tstate = wxPyBeginAllowThreads();
3403 (arg1)->MacSetMetalAppearance(arg2);
3404
3405 wxPyEndAllowThreads(__tstate);
3406 if (PyErr_Occurred()) SWIG_fail;
3407 }
3408 Py_INCREF(Py_None); resultobj = Py_None;
3409 return resultobj;
3410 fail:
3411 return NULL;
3412 }
3413
3414
3415 static PyObject *_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject *, PyObject *args, PyObject *kwargs) {
3416 PyObject *resultobj;
3417 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3418 bool result;
3419 PyObject * obj0 = 0 ;
3420 char *kwnames[] = {
3421 (char *) "self", NULL
3422 };
3423
3424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_MacGetMetalAppearance",kwnames,&obj0)) goto fail;
3425 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3426 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3427 {
3428 PyThreadState* __tstate = wxPyBeginAllowThreads();
3429 result = (bool)((wxTopLevelWindow const *)arg1)->MacGetMetalAppearance();
3430
3431 wxPyEndAllowThreads(__tstate);
3432 if (PyErr_Occurred()) SWIG_fail;
3433 }
3434 {
3435 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3436 }
3437 return resultobj;
3438 fail:
3439 return NULL;
3440 }
3441
3442
3443 static PyObject * TopLevelWindow_swigregister(PyObject *, PyObject *args) {
3444 PyObject *obj;
3445 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3446 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj);
3447 Py_INCREF(obj);
3448 return Py_BuildValue((char *)"");
3449 }
3450 static PyObject *_wrap_new_Frame(PyObject *, PyObject *args, PyObject *kwargs) {
3451 PyObject *resultobj;
3452 wxWindow *arg1 = (wxWindow *) 0 ;
3453 int arg2 = (int) (int)-1 ;
3454 wxString const &arg3_defvalue = wxPyEmptyString ;
3455 wxString *arg3 = (wxString *) &arg3_defvalue ;
3456 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3457 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3458 wxSize const &arg5_defvalue = wxDefaultSize ;
3459 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3460 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
3461 wxString const &arg7_defvalue = wxPyFrameNameStr ;
3462 wxString *arg7 = (wxString *) &arg7_defvalue ;
3463 wxFrame *result;
3464 bool temp3 = false ;
3465 wxPoint temp4 ;
3466 wxSize temp5 ;
3467 bool temp7 = false ;
3468 PyObject * obj0 = 0 ;
3469 PyObject * obj1 = 0 ;
3470 PyObject * obj2 = 0 ;
3471 PyObject * obj3 = 0 ;
3472 PyObject * obj4 = 0 ;
3473 PyObject * obj5 = 0 ;
3474 PyObject * obj6 = 0 ;
3475 char *kwnames[] = {
3476 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3477 };
3478
3479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
3480 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
3481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3482 if (obj1) {
3483 arg2 = (int)SWIG_As_int(obj1);
3484 if (PyErr_Occurred()) SWIG_fail;
3485 }
3486 if (obj2) {
3487 {
3488 arg3 = wxString_in_helper(obj2);
3489 if (arg3 == NULL) SWIG_fail;
3490 temp3 = true;
3491 }
3492 }
3493 if (obj3) {
3494 {
3495 arg4 = &temp4;
3496 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3497 }
3498 }
3499 if (obj4) {
3500 {
3501 arg5 = &temp5;
3502 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3503 }
3504 }
3505 if (obj5) {
3506 arg6 = (long)SWIG_As_long(obj5);
3507 if (PyErr_Occurred()) SWIG_fail;
3508 }
3509 if (obj6) {
3510 {
3511 arg7 = wxString_in_helper(obj6);
3512 if (arg7 == NULL) SWIG_fail;
3513 temp7 = true;
3514 }
3515 }
3516 {
3517 if (!wxPyCheckForApp()) SWIG_fail;
3518 PyThreadState* __tstate = wxPyBeginAllowThreads();
3519 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3520
3521 wxPyEndAllowThreads(__tstate);
3522 if (PyErr_Occurred()) SWIG_fail;
3523 }
3524 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFrame, 1);
3525 {
3526 if (temp3)
3527 delete arg3;
3528 }
3529 {
3530 if (temp7)
3531 delete arg7;
3532 }
3533 return resultobj;
3534 fail:
3535 {
3536 if (temp3)
3537 delete arg3;
3538 }
3539 {
3540 if (temp7)
3541 delete arg7;
3542 }
3543 return NULL;
3544 }
3545
3546
3547 static PyObject *_wrap_new_PreFrame(PyObject *, PyObject *args, PyObject *kwargs) {
3548 PyObject *resultobj;
3549 wxFrame *result;
3550 char *kwnames[] = {
3551 NULL
3552 };
3553
3554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail;
3555 {
3556 if (!wxPyCheckForApp()) SWIG_fail;
3557 PyThreadState* __tstate = wxPyBeginAllowThreads();
3558 result = (wxFrame *)new wxFrame();
3559
3560 wxPyEndAllowThreads(__tstate);
3561 if (PyErr_Occurred()) SWIG_fail;
3562 }
3563 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFrame, 1);
3564 return resultobj;
3565 fail:
3566 return NULL;
3567 }
3568
3569
3570 static PyObject *_wrap_Frame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
3571 PyObject *resultobj;
3572 wxFrame *arg1 = (wxFrame *) 0 ;
3573 wxWindow *arg2 = (wxWindow *) 0 ;
3574 int arg3 = (int) (int)-1 ;
3575 wxString const &arg4_defvalue = wxPyEmptyString ;
3576 wxString *arg4 = (wxString *) &arg4_defvalue ;
3577 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3578 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3579 wxSize const &arg6_defvalue = wxDefaultSize ;
3580 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3581 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
3582 wxString const &arg8_defvalue = wxPyFrameNameStr ;
3583 wxString *arg8 = (wxString *) &arg8_defvalue ;
3584 bool result;
3585 bool temp4 = false ;
3586 wxPoint temp5 ;
3587 wxSize temp6 ;
3588 bool temp8 = false ;
3589 PyObject * obj0 = 0 ;
3590 PyObject * obj1 = 0 ;
3591 PyObject * obj2 = 0 ;
3592 PyObject * obj3 = 0 ;
3593 PyObject * obj4 = 0 ;
3594 PyObject * obj5 = 0 ;
3595 PyObject * obj6 = 0 ;
3596 PyObject * obj7 = 0 ;
3597 char *kwnames[] = {
3598 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3599 };
3600
3601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3602 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3603 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3604 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
3605 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3606 if (obj2) {
3607 arg3 = (int)SWIG_As_int(obj2);
3608 if (PyErr_Occurred()) SWIG_fail;
3609 }
3610 if (obj3) {
3611 {
3612 arg4 = wxString_in_helper(obj3);
3613 if (arg4 == NULL) SWIG_fail;
3614 temp4 = true;
3615 }
3616 }
3617 if (obj4) {
3618 {
3619 arg5 = &temp5;
3620 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3621 }
3622 }
3623 if (obj5) {
3624 {
3625 arg6 = &temp6;
3626 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3627 }
3628 }
3629 if (obj6) {
3630 arg7 = (long)SWIG_As_long(obj6);
3631 if (PyErr_Occurred()) SWIG_fail;
3632 }
3633 if (obj7) {
3634 {
3635 arg8 = wxString_in_helper(obj7);
3636 if (arg8 == NULL) SWIG_fail;
3637 temp8 = true;
3638 }
3639 }
3640 {
3641 PyThreadState* __tstate = wxPyBeginAllowThreads();
3642 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3643
3644 wxPyEndAllowThreads(__tstate);
3645 if (PyErr_Occurred()) SWIG_fail;
3646 }
3647 {
3648 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3649 }
3650 {
3651 if (temp4)
3652 delete arg4;
3653 }
3654 {
3655 if (temp8)
3656 delete arg8;
3657 }
3658 return resultobj;
3659 fail:
3660 {
3661 if (temp4)
3662 delete arg4;
3663 }
3664 {
3665 if (temp8)
3666 delete arg8;
3667 }
3668 return NULL;
3669 }
3670
3671
3672 static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *, PyObject *args, PyObject *kwargs) {
3673 PyObject *resultobj;
3674 wxFrame *arg1 = (wxFrame *) 0 ;
3675 wxPoint result;
3676 PyObject * obj0 = 0 ;
3677 char *kwnames[] = {
3678 (char *) "self", NULL
3679 };
3680
3681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
3682 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3683 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3684 {
3685 PyThreadState* __tstate = wxPyBeginAllowThreads();
3686 result = ((wxFrame const *)arg1)->GetClientAreaOrigin();
3687
3688 wxPyEndAllowThreads(__tstate);
3689 if (PyErr_Occurred()) SWIG_fail;
3690 }
3691 {
3692 wxPoint * resultptr;
3693 resultptr = new wxPoint((wxPoint &) result);
3694 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
3695 }
3696 return resultobj;
3697 fail:
3698 return NULL;
3699 }
3700
3701
3702 static PyObject *_wrap_Frame_SendSizeEvent(PyObject *, PyObject *args, PyObject *kwargs) {
3703 PyObject *resultobj;
3704 wxFrame *arg1 = (wxFrame *) 0 ;
3705 PyObject * obj0 = 0 ;
3706 char *kwnames[] = {
3707 (char *) "self", NULL
3708 };
3709
3710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail;
3711 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3712 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3713 {
3714 PyThreadState* __tstate = wxPyBeginAllowThreads();
3715 (arg1)->SendSizeEvent();
3716
3717 wxPyEndAllowThreads(__tstate);
3718 if (PyErr_Occurred()) SWIG_fail;
3719 }
3720 Py_INCREF(Py_None); resultobj = Py_None;
3721 return resultobj;
3722 fail:
3723 return NULL;
3724 }
3725
3726
3727 static PyObject *_wrap_Frame_SetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) {
3728 PyObject *resultobj;
3729 wxFrame *arg1 = (wxFrame *) 0 ;
3730 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
3731 PyObject * obj0 = 0 ;
3732 PyObject * obj1 = 0 ;
3733 char *kwnames[] = {
3734 (char *) "self",(char *) "menubar", NULL
3735 };
3736
3737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail;
3738 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3739 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3740 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuBar,
3741 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3742 {
3743 PyThreadState* __tstate = wxPyBeginAllowThreads();
3744 (arg1)->SetMenuBar(arg2);
3745
3746 wxPyEndAllowThreads(__tstate);
3747 if (PyErr_Occurred()) SWIG_fail;
3748 }
3749 Py_INCREF(Py_None); resultobj = Py_None;
3750 return resultobj;
3751 fail:
3752 return NULL;
3753 }
3754
3755
3756 static PyObject *_wrap_Frame_GetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) {
3757 PyObject *resultobj;
3758 wxFrame *arg1 = (wxFrame *) 0 ;
3759 wxMenuBar *result;
3760 PyObject * obj0 = 0 ;
3761 char *kwnames[] = {
3762 (char *) "self", NULL
3763 };
3764
3765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail;
3766 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3767 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3768 {
3769 PyThreadState* __tstate = wxPyBeginAllowThreads();
3770 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
3771
3772 wxPyEndAllowThreads(__tstate);
3773 if (PyErr_Occurred()) SWIG_fail;
3774 }
3775 {
3776 resultobj = wxPyMake_wxObject(result, 0);
3777 }
3778 return resultobj;
3779 fail:
3780 return NULL;
3781 }
3782
3783
3784 static PyObject *_wrap_Frame_ProcessCommand(PyObject *, PyObject *args, PyObject *kwargs) {
3785 PyObject *resultobj;
3786 wxFrame *arg1 = (wxFrame *) 0 ;
3787 int arg2 ;
3788 bool result;
3789 PyObject * obj0 = 0 ;
3790 PyObject * obj1 = 0 ;
3791 char *kwnames[] = {
3792 (char *) "self",(char *) "winid", NULL
3793 };
3794
3795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) goto fail;
3796 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3798 arg2 = (int)SWIG_As_int(obj1);
3799 if (PyErr_Occurred()) SWIG_fail;
3800 {
3801 PyThreadState* __tstate = wxPyBeginAllowThreads();
3802 result = (bool)(arg1)->ProcessCommand(arg2);
3803
3804 wxPyEndAllowThreads(__tstate);
3805 if (PyErr_Occurred()) SWIG_fail;
3806 }
3807 {
3808 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3809 }
3810 return resultobj;
3811 fail:
3812 return NULL;
3813 }
3814
3815
3816 static PyObject *_wrap_Frame_CreateStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
3817 PyObject *resultobj;
3818 wxFrame *arg1 = (wxFrame *) 0 ;
3819 int arg2 = (int) 1 ;
3820 long arg3 = (long) wxST_SIZEGRIP ;
3821 int arg4 = (int) 0 ;
3822 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
3823 wxString *arg5 = (wxString *) &arg5_defvalue ;
3824 wxStatusBar *result;
3825 bool temp5 = false ;
3826 PyObject * obj0 = 0 ;
3827 PyObject * obj1 = 0 ;
3828 PyObject * obj2 = 0 ;
3829 PyObject * obj3 = 0 ;
3830 PyObject * obj4 = 0 ;
3831 char *kwnames[] = {
3832 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3833 };
3834
3835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
3836 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3837 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3838 if (obj1) {
3839 arg2 = (int)SWIG_As_int(obj1);
3840 if (PyErr_Occurred()) SWIG_fail;
3841 }
3842 if (obj2) {
3843 arg3 = (long)SWIG_As_long(obj2);
3844 if (PyErr_Occurred()) SWIG_fail;
3845 }
3846 if (obj3) {
3847 arg4 = (int)SWIG_As_int(obj3);
3848 if (PyErr_Occurred()) SWIG_fail;
3849 }
3850 if (obj4) {
3851 {
3852 arg5 = wxString_in_helper(obj4);
3853 if (arg5 == NULL) SWIG_fail;
3854 temp5 = true;
3855 }
3856 }
3857 {
3858 PyThreadState* __tstate = wxPyBeginAllowThreads();
3859 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
3860
3861 wxPyEndAllowThreads(__tstate);
3862 if (PyErr_Occurred()) SWIG_fail;
3863 }
3864 {
3865 resultobj = wxPyMake_wxObject(result, 0);
3866 }
3867 {
3868 if (temp5)
3869 delete arg5;
3870 }
3871 return resultobj;
3872 fail:
3873 {
3874 if (temp5)
3875 delete arg5;
3876 }
3877 return NULL;
3878 }
3879
3880
3881 static PyObject *_wrap_Frame_GetStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
3882 PyObject *resultobj;
3883 wxFrame *arg1 = (wxFrame *) 0 ;
3884 wxStatusBar *result;
3885 PyObject * obj0 = 0 ;
3886 char *kwnames[] = {
3887 (char *) "self", NULL
3888 };
3889
3890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail;
3891 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3892 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3893 {
3894 PyThreadState* __tstate = wxPyBeginAllowThreads();
3895 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
3896
3897 wxPyEndAllowThreads(__tstate);
3898 if (PyErr_Occurred()) SWIG_fail;
3899 }
3900 {
3901 resultobj = wxPyMake_wxObject(result, 0);
3902 }
3903 return resultobj;
3904 fail:
3905 return NULL;
3906 }
3907
3908
3909 static PyObject *_wrap_Frame_SetStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
3910 PyObject *resultobj;
3911 wxFrame *arg1 = (wxFrame *) 0 ;
3912 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
3913 PyObject * obj0 = 0 ;
3914 PyObject * obj1 = 0 ;
3915 char *kwnames[] = {
3916 (char *) "self",(char *) "statBar", NULL
3917 };
3918
3919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail;
3920 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3921 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3922 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxStatusBar,
3923 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3924 {
3925 PyThreadState* __tstate = wxPyBeginAllowThreads();
3926 (arg1)->SetStatusBar(arg2);
3927
3928 wxPyEndAllowThreads(__tstate);
3929 if (PyErr_Occurred()) SWIG_fail;
3930 }
3931 Py_INCREF(Py_None); resultobj = Py_None;
3932 return resultobj;
3933 fail:
3934 return NULL;
3935 }
3936
3937
3938 static PyObject *_wrap_Frame_SetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
3939 PyObject *resultobj;
3940 wxFrame *arg1 = (wxFrame *) 0 ;
3941 wxString *arg2 = 0 ;
3942 int arg3 = (int) 0 ;
3943 bool temp2 = false ;
3944 PyObject * obj0 = 0 ;
3945 PyObject * obj1 = 0 ;
3946 PyObject * obj2 = 0 ;
3947 char *kwnames[] = {
3948 (char *) "self",(char *) "text",(char *) "number", NULL
3949 };
3950
3951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
3952 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3953 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3954 {
3955 arg2 = wxString_in_helper(obj1);
3956 if (arg2 == NULL) SWIG_fail;
3957 temp2 = true;
3958 }
3959 if (obj2) {
3960 arg3 = (int)SWIG_As_int(obj2);
3961 if (PyErr_Occurred()) SWIG_fail;
3962 }
3963 {
3964 PyThreadState* __tstate = wxPyBeginAllowThreads();
3965 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
3966
3967 wxPyEndAllowThreads(__tstate);
3968 if (PyErr_Occurred()) SWIG_fail;
3969 }
3970 Py_INCREF(Py_None); resultobj = Py_None;
3971 {
3972 if (temp2)
3973 delete arg2;
3974 }
3975 return resultobj;
3976 fail:
3977 {
3978 if (temp2)
3979 delete arg2;
3980 }
3981 return NULL;
3982 }
3983
3984
3985 static PyObject *_wrap_Frame_SetStatusWidths(PyObject *, PyObject *args, PyObject *kwargs) {
3986 PyObject *resultobj;
3987 wxFrame *arg1 = (wxFrame *) 0 ;
3988 int arg2 ;
3989 int *arg3 = (int *) 0 ;
3990 PyObject * obj0 = 0 ;
3991 PyObject * obj1 = 0 ;
3992 char *kwnames[] = {
3993 (char *) "self",(char *) "widths", NULL
3994 };
3995
3996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
3997 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3998 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3999 {
4000 arg2 = PyList_Size(obj1);
4001 arg3 = int_LIST_helper(obj1);
4002 if (arg3 == NULL) SWIG_fail;
4003 }
4004 {
4005 PyThreadState* __tstate = wxPyBeginAllowThreads();
4006 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
4007
4008 wxPyEndAllowThreads(__tstate);
4009 if (PyErr_Occurred()) SWIG_fail;
4010 }
4011 Py_INCREF(Py_None); resultobj = Py_None;
4012 {
4013 if (arg3) delete [] arg3;
4014 }
4015 return resultobj;
4016 fail:
4017 {
4018 if (arg3) delete [] arg3;
4019 }
4020 return NULL;
4021 }
4022
4023
4024 static PyObject *_wrap_Frame_PushStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
4025 PyObject *resultobj;
4026 wxFrame *arg1 = (wxFrame *) 0 ;
4027 wxString *arg2 = 0 ;
4028 int arg3 = (int) 0 ;
4029 bool temp2 = false ;
4030 PyObject * obj0 = 0 ;
4031 PyObject * obj1 = 0 ;
4032 PyObject * obj2 = 0 ;
4033 char *kwnames[] = {
4034 (char *) "self",(char *) "text",(char *) "number", NULL
4035 };
4036
4037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
4038 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4039 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4040 {
4041 arg2 = wxString_in_helper(obj1);
4042 if (arg2 == NULL) SWIG_fail;
4043 temp2 = true;
4044 }
4045 if (obj2) {
4046 arg3 = (int)SWIG_As_int(obj2);
4047 if (PyErr_Occurred()) SWIG_fail;
4048 }
4049 {
4050 PyThreadState* __tstate = wxPyBeginAllowThreads();
4051 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
4052
4053 wxPyEndAllowThreads(__tstate);
4054 if (PyErr_Occurred()) SWIG_fail;
4055 }
4056 Py_INCREF(Py_None); resultobj = Py_None;
4057 {
4058 if (temp2)
4059 delete arg2;
4060 }
4061 return resultobj;
4062 fail:
4063 {
4064 if (temp2)
4065 delete arg2;
4066 }
4067 return NULL;
4068 }
4069
4070
4071 static PyObject *_wrap_Frame_PopStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
4072 PyObject *resultobj;
4073 wxFrame *arg1 = (wxFrame *) 0 ;
4074 int arg2 = (int) 0 ;
4075 PyObject * obj0 = 0 ;
4076 PyObject * obj1 = 0 ;
4077 char *kwnames[] = {
4078 (char *) "self",(char *) "number", NULL
4079 };
4080
4081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
4082 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4083 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4084 if (obj1) {
4085 arg2 = (int)SWIG_As_int(obj1);
4086 if (PyErr_Occurred()) SWIG_fail;
4087 }
4088 {
4089 PyThreadState* __tstate = wxPyBeginAllowThreads();
4090 (arg1)->PopStatusText(arg2);
4091
4092 wxPyEndAllowThreads(__tstate);
4093 if (PyErr_Occurred()) SWIG_fail;
4094 }
4095 Py_INCREF(Py_None); resultobj = Py_None;
4096 return resultobj;
4097 fail:
4098 return NULL;
4099 }
4100
4101
4102 static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *, PyObject *args, PyObject *kwargs) {
4103 PyObject *resultobj;
4104 wxFrame *arg1 = (wxFrame *) 0 ;
4105 int arg2 ;
4106 PyObject * obj0 = 0 ;
4107 PyObject * obj1 = 0 ;
4108 char *kwnames[] = {
4109 (char *) "self",(char *) "n", NULL
4110 };
4111
4112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) goto fail;
4113 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4114 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4115 arg2 = (int)SWIG_As_int(obj1);
4116 if (PyErr_Occurred()) SWIG_fail;
4117 {
4118 PyThreadState* __tstate = wxPyBeginAllowThreads();
4119 (arg1)->SetStatusBarPane(arg2);
4120
4121 wxPyEndAllowThreads(__tstate);
4122 if (PyErr_Occurred()) SWIG_fail;
4123 }
4124 Py_INCREF(Py_None); resultobj = Py_None;
4125 return resultobj;
4126 fail:
4127 return NULL;
4128 }
4129
4130
4131 static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *, PyObject *args, PyObject *kwargs) {
4132 PyObject *resultobj;
4133 wxFrame *arg1 = (wxFrame *) 0 ;
4134 int result;
4135 PyObject * obj0 = 0 ;
4136 char *kwnames[] = {
4137 (char *) "self", NULL
4138 };
4139
4140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail;
4141 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4142 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4143 {
4144 PyThreadState* __tstate = wxPyBeginAllowThreads();
4145 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
4146
4147 wxPyEndAllowThreads(__tstate);
4148 if (PyErr_Occurred()) SWIG_fail;
4149 }
4150 resultobj = SWIG_From_int((int)result);
4151 return resultobj;
4152 fail:
4153 return NULL;
4154 }
4155
4156
4157 static PyObject *_wrap_Frame_CreateToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
4158 PyObject *resultobj;
4159 wxFrame *arg1 = (wxFrame *) 0 ;
4160 long arg2 = (long) -1 ;
4161 int arg3 = (int) -1 ;
4162 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
4163 wxString *arg4 = (wxString *) &arg4_defvalue ;
4164 wxToolBar *result;
4165 bool temp4 = false ;
4166 PyObject * obj0 = 0 ;
4167 PyObject * obj1 = 0 ;
4168 PyObject * obj2 = 0 ;
4169 PyObject * obj3 = 0 ;
4170 char *kwnames[] = {
4171 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
4172 };
4173
4174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
4175 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4176 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4177 if (obj1) {
4178 arg2 = (long)SWIG_As_long(obj1);
4179 if (PyErr_Occurred()) SWIG_fail;
4180 }
4181 if (obj2) {
4182 arg3 = (int)SWIG_As_int(obj2);
4183 if (PyErr_Occurred()) SWIG_fail;
4184 }
4185 if (obj3) {
4186 {
4187 arg4 = wxString_in_helper(obj3);
4188 if (arg4 == NULL) SWIG_fail;
4189 temp4 = true;
4190 }
4191 }
4192 {
4193 PyThreadState* __tstate = wxPyBeginAllowThreads();
4194 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
4195
4196 wxPyEndAllowThreads(__tstate);
4197 if (PyErr_Occurred()) SWIG_fail;
4198 }
4199 {
4200 resultobj = wxPyMake_wxObject(result, 0);
4201 }
4202 {
4203 if (temp4)
4204 delete arg4;
4205 }
4206 return resultobj;
4207 fail:
4208 {
4209 if (temp4)
4210 delete arg4;
4211 }
4212 return NULL;
4213 }
4214
4215
4216 static PyObject *_wrap_Frame_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
4217 PyObject *resultobj;
4218 wxFrame *arg1 = (wxFrame *) 0 ;
4219 wxToolBar *result;
4220 PyObject * obj0 = 0 ;
4221 char *kwnames[] = {
4222 (char *) "self", NULL
4223 };
4224
4225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail;
4226 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4227 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4228 {
4229 PyThreadState* __tstate = wxPyBeginAllowThreads();
4230 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
4231
4232 wxPyEndAllowThreads(__tstate);
4233 if (PyErr_Occurred()) SWIG_fail;
4234 }
4235 {
4236 resultobj = wxPyMake_wxObject(result, 0);
4237 }
4238 return resultobj;
4239 fail:
4240 return NULL;
4241 }
4242
4243
4244 static PyObject *_wrap_Frame_SetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
4245 PyObject *resultobj;
4246 wxFrame *arg1 = (wxFrame *) 0 ;
4247 wxToolBar *arg2 = (wxToolBar *) 0 ;
4248 PyObject * obj0 = 0 ;
4249 PyObject * obj1 = 0 ;
4250 char *kwnames[] = {
4251 (char *) "self",(char *) "toolbar", NULL
4252 };
4253
4254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
4255 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4256 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4257 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBar,
4258 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4259 {
4260 PyThreadState* __tstate = wxPyBeginAllowThreads();
4261 (arg1)->SetToolBar(arg2);
4262
4263 wxPyEndAllowThreads(__tstate);
4264 if (PyErr_Occurred()) SWIG_fail;
4265 }
4266 Py_INCREF(Py_None); resultobj = Py_None;
4267 return resultobj;
4268 fail:
4269 return NULL;
4270 }
4271
4272
4273 static PyObject *_wrap_Frame_DoGiveHelp(PyObject *, PyObject *args, PyObject *kwargs) {
4274 PyObject *resultobj;
4275 wxFrame *arg1 = (wxFrame *) 0 ;
4276 wxString *arg2 = 0 ;
4277 bool arg3 ;
4278 bool temp2 = false ;
4279 PyObject * obj0 = 0 ;
4280 PyObject * obj1 = 0 ;
4281 PyObject * obj2 = 0 ;
4282 char *kwnames[] = {
4283 (char *) "self",(char *) "text",(char *) "show", NULL
4284 };
4285
4286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
4287 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4288 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4289 {
4290 arg2 = wxString_in_helper(obj1);
4291 if (arg2 == NULL) SWIG_fail;
4292 temp2 = true;
4293 }
4294 arg3 = (bool)SWIG_As_bool(obj2);
4295 if (PyErr_Occurred()) SWIG_fail;
4296 {
4297 PyThreadState* __tstate = wxPyBeginAllowThreads();
4298 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
4299
4300 wxPyEndAllowThreads(__tstate);
4301 if (PyErr_Occurred()) SWIG_fail;
4302 }
4303 Py_INCREF(Py_None); resultobj = Py_None;
4304 {
4305 if (temp2)
4306 delete arg2;
4307 }
4308 return resultobj;
4309 fail:
4310 {
4311 if (temp2)
4312 delete arg2;
4313 }
4314 return NULL;
4315 }
4316
4317
4318 static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *, PyObject *args, PyObject *kwargs) {
4319 PyObject *resultobj;
4320 wxFrame *arg1 = (wxFrame *) 0 ;
4321 wxMenu *arg2 = (wxMenu *) NULL ;
4322 PyObject * obj0 = 0 ;
4323 PyObject * obj1 = 0 ;
4324 char *kwnames[] = {
4325 (char *) "self",(char *) "menu", NULL
4326 };
4327
4328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail;
4329 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4330 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4331 if (obj1) {
4332 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
4333 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4334 }
4335 {
4336 PyThreadState* __tstate = wxPyBeginAllowThreads();
4337 (arg1)->DoMenuUpdates(arg2);
4338
4339 wxPyEndAllowThreads(__tstate);
4340 if (PyErr_Occurred()) SWIG_fail;
4341 }
4342 Py_INCREF(Py_None); resultobj = Py_None;
4343 return resultobj;
4344 fail:
4345 return NULL;
4346 }
4347
4348
4349 static PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
4350 PyObject *resultobj;
4351 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
4352 wxVisualAttributes result;
4353 PyObject * obj0 = 0 ;
4354 char *kwnames[] = {
4355 (char *) "variant", NULL
4356 };
4357
4358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4359 if (obj0) {
4360 arg1 = (int)SWIG_As_int(obj0);
4361 if (PyErr_Occurred()) SWIG_fail;
4362 }
4363 {
4364 if (!wxPyCheckForApp()) SWIG_fail;
4365 PyThreadState* __tstate = wxPyBeginAllowThreads();
4366 result = wxFrame::GetClassDefaultAttributes((wxWindowVariant )arg1);
4367
4368 wxPyEndAllowThreads(__tstate);
4369 if (PyErr_Occurred()) SWIG_fail;
4370 }
4371 {
4372 wxVisualAttributes * resultptr;
4373 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
4374 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4375 }
4376 return resultobj;
4377 fail:
4378 return NULL;
4379 }
4380
4381
4382 static PyObject * Frame_swigregister(PyObject *, PyObject *args) {
4383 PyObject *obj;
4384 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4385 SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj);
4386 Py_INCREF(obj);
4387 return Py_BuildValue((char *)"");
4388 }
4389 static PyObject *_wrap_new_Dialog(PyObject *, PyObject *args, PyObject *kwargs) {
4390 PyObject *resultobj;
4391 wxWindow *arg1 = (wxWindow *) 0 ;
4392 int arg2 = (int) (int)-1 ;
4393 wxString const &arg3_defvalue = wxPyEmptyString ;
4394 wxString *arg3 = (wxString *) &arg3_defvalue ;
4395 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4396 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4397 wxSize const &arg5_defvalue = wxDefaultSize ;
4398 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4399 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
4400 wxString const &arg7_defvalue = wxPyDialogNameStr ;
4401 wxString *arg7 = (wxString *) &arg7_defvalue ;
4402 wxDialog *result;
4403 bool temp3 = false ;
4404 wxPoint temp4 ;
4405 wxSize temp5 ;
4406 bool temp7 = false ;
4407 PyObject * obj0 = 0 ;
4408 PyObject * obj1 = 0 ;
4409 PyObject * obj2 = 0 ;
4410 PyObject * obj3 = 0 ;
4411 PyObject * obj4 = 0 ;
4412 PyObject * obj5 = 0 ;
4413 PyObject * obj6 = 0 ;
4414 char *kwnames[] = {
4415 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4416 };
4417
4418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4419 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4420 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4421 if (obj1) {
4422 arg2 = (int)SWIG_As_int(obj1);
4423 if (PyErr_Occurred()) SWIG_fail;
4424 }
4425 if (obj2) {
4426 {
4427 arg3 = wxString_in_helper(obj2);
4428 if (arg3 == NULL) SWIG_fail;
4429 temp3 = true;
4430 }
4431 }
4432 if (obj3) {
4433 {
4434 arg4 = &temp4;
4435 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4436 }
4437 }
4438 if (obj4) {
4439 {
4440 arg5 = &temp5;
4441 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4442 }
4443 }
4444 if (obj5) {
4445 arg6 = (long)SWIG_As_long(obj5);
4446 if (PyErr_Occurred()) SWIG_fail;
4447 }
4448 if (obj6) {
4449 {
4450 arg7 = wxString_in_helper(obj6);
4451 if (arg7 == NULL) SWIG_fail;
4452 temp7 = true;
4453 }
4454 }
4455 {
4456 if (!wxPyCheckForApp()) SWIG_fail;
4457 PyThreadState* __tstate = wxPyBeginAllowThreads();
4458 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4459
4460 wxPyEndAllowThreads(__tstate);
4461 if (PyErr_Occurred()) SWIG_fail;
4462 }
4463 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
4464 {
4465 if (temp3)
4466 delete arg3;
4467 }
4468 {
4469 if (temp7)
4470 delete arg7;
4471 }
4472 return resultobj;
4473 fail:
4474 {
4475 if (temp3)
4476 delete arg3;
4477 }
4478 {
4479 if (temp7)
4480 delete arg7;
4481 }
4482 return NULL;
4483 }
4484
4485
4486 static PyObject *_wrap_new_PreDialog(PyObject *, PyObject *args, PyObject *kwargs) {
4487 PyObject *resultobj;
4488 wxDialog *result;
4489 char *kwnames[] = {
4490 NULL
4491 };
4492
4493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail;
4494 {
4495 if (!wxPyCheckForApp()) SWIG_fail;
4496 PyThreadState* __tstate = wxPyBeginAllowThreads();
4497 result = (wxDialog *)new wxDialog();
4498
4499 wxPyEndAllowThreads(__tstate);
4500 if (PyErr_Occurred()) SWIG_fail;
4501 }
4502 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
4503 return resultobj;
4504 fail:
4505 return NULL;
4506 }
4507
4508
4509 static PyObject *_wrap_Dialog_Create(PyObject *, PyObject *args, PyObject *kwargs) {
4510 PyObject *resultobj;
4511 wxDialog *arg1 = (wxDialog *) 0 ;
4512 wxWindow *arg2 = (wxWindow *) 0 ;
4513 int arg3 = (int) (int)-1 ;
4514 wxString const &arg4_defvalue = wxPyEmptyString ;
4515 wxString *arg4 = (wxString *) &arg4_defvalue ;
4516 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4517 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4518 wxSize const &arg6_defvalue = wxDefaultSize ;
4519 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4520 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
4521 wxString const &arg8_defvalue = wxPyDialogNameStr ;
4522 wxString *arg8 = (wxString *) &arg8_defvalue ;
4523 bool result;
4524 bool temp4 = false ;
4525 wxPoint temp5 ;
4526 wxSize temp6 ;
4527 bool temp8 = false ;
4528 PyObject * obj0 = 0 ;
4529 PyObject * obj1 = 0 ;
4530 PyObject * obj2 = 0 ;
4531 PyObject * obj3 = 0 ;
4532 PyObject * obj4 = 0 ;
4533 PyObject * obj5 = 0 ;
4534 PyObject * obj6 = 0 ;
4535 PyObject * obj7 = 0 ;
4536 char *kwnames[] = {
4537 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4538 };
4539
4540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4541 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4542 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4543 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4544 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4545 if (obj2) {
4546 arg3 = (int)SWIG_As_int(obj2);
4547 if (PyErr_Occurred()) SWIG_fail;
4548 }
4549 if (obj3) {
4550 {
4551 arg4 = wxString_in_helper(obj3);
4552 if (arg4 == NULL) SWIG_fail;
4553 temp4 = true;
4554 }
4555 }
4556 if (obj4) {
4557 {
4558 arg5 = &temp5;
4559 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4560 }
4561 }
4562 if (obj5) {
4563 {
4564 arg6 = &temp6;
4565 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4566 }
4567 }
4568 if (obj6) {
4569 arg7 = (long)SWIG_As_long(obj6);
4570 if (PyErr_Occurred()) SWIG_fail;
4571 }
4572 if (obj7) {
4573 {
4574 arg8 = wxString_in_helper(obj7);
4575 if (arg8 == NULL) SWIG_fail;
4576 temp8 = true;
4577 }
4578 }
4579 {
4580 PyThreadState* __tstate = wxPyBeginAllowThreads();
4581 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4582
4583 wxPyEndAllowThreads(__tstate);
4584 if (PyErr_Occurred()) SWIG_fail;
4585 }
4586 {
4587 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4588 }
4589 {
4590 if (temp4)
4591 delete arg4;
4592 }
4593 {
4594 if (temp8)
4595 delete arg8;
4596 }
4597 return resultobj;
4598 fail:
4599 {
4600 if (temp4)
4601 delete arg4;
4602 }
4603 {
4604 if (temp8)
4605 delete arg8;
4606 }
4607 return NULL;
4608 }
4609
4610
4611 static PyObject *_wrap_Dialog_SetReturnCode(PyObject *, PyObject *args, PyObject *kwargs) {
4612 PyObject *resultobj;
4613 wxDialog *arg1 = (wxDialog *) 0 ;
4614 int arg2 ;
4615 PyObject * obj0 = 0 ;
4616 PyObject * obj1 = 0 ;
4617 char *kwnames[] = {
4618 (char *) "self",(char *) "returnCode", NULL
4619 };
4620
4621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) goto fail;
4622 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4623 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4624 arg2 = (int)SWIG_As_int(obj1);
4625 if (PyErr_Occurred()) SWIG_fail;
4626 {
4627 PyThreadState* __tstate = wxPyBeginAllowThreads();
4628 (arg1)->SetReturnCode(arg2);
4629
4630 wxPyEndAllowThreads(__tstate);
4631 if (PyErr_Occurred()) SWIG_fail;
4632 }
4633 Py_INCREF(Py_None); resultobj = Py_None;
4634 return resultobj;
4635 fail:
4636 return NULL;
4637 }
4638
4639
4640 static PyObject *_wrap_Dialog_GetReturnCode(PyObject *, PyObject *args, PyObject *kwargs) {
4641 PyObject *resultobj;
4642 wxDialog *arg1 = (wxDialog *) 0 ;
4643 int result;
4644 PyObject * obj0 = 0 ;
4645 char *kwnames[] = {
4646 (char *) "self", NULL
4647 };
4648
4649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail;
4650 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4651 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4652 {
4653 PyThreadState* __tstate = wxPyBeginAllowThreads();
4654 result = (int)((wxDialog const *)arg1)->GetReturnCode();
4655
4656 wxPyEndAllowThreads(__tstate);
4657 if (PyErr_Occurred()) SWIG_fail;
4658 }
4659 resultobj = SWIG_From_int((int)result);
4660 return resultobj;
4661 fail:
4662 return NULL;
4663 }
4664
4665
4666 static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *, PyObject *args, PyObject *kwargs) {
4667 PyObject *resultobj;
4668 wxDialog *arg1 = (wxDialog *) 0 ;
4669 wxString *arg2 = 0 ;
4670 wxSizer *result;
4671 bool temp2 = false ;
4672 PyObject * obj0 = 0 ;
4673 PyObject * obj1 = 0 ;
4674 char *kwnames[] = {
4675 (char *) "self",(char *) "message", NULL
4676 };
4677
4678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail;
4679 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4680 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4681 {
4682 arg2 = wxString_in_helper(obj1);
4683 if (arg2 == NULL) SWIG_fail;
4684 temp2 = true;
4685 }
4686 {
4687 PyThreadState* __tstate = wxPyBeginAllowThreads();
4688 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
4689
4690 wxPyEndAllowThreads(__tstate);
4691 if (PyErr_Occurred()) SWIG_fail;
4692 }
4693 {
4694 resultobj = wxPyMake_wxSizer(result, 0);
4695 }
4696 {
4697 if (temp2)
4698 delete arg2;
4699 }
4700 return resultobj;
4701 fail:
4702 {
4703 if (temp2)
4704 delete arg2;
4705 }
4706 return NULL;
4707 }
4708
4709
4710 static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *, PyObject *args, PyObject *kwargs) {
4711 PyObject *resultobj;
4712 wxDialog *arg1 = (wxDialog *) 0 ;
4713 long arg2 ;
4714 wxSizer *result;
4715 PyObject * obj0 = 0 ;
4716 PyObject * obj1 = 0 ;
4717 char *kwnames[] = {
4718 (char *) "self",(char *) "flags", NULL
4719 };
4720
4721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1)) goto fail;
4722 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4723 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4724 arg2 = (long)SWIG_As_long(obj1);
4725 if (PyErr_Occurred()) SWIG_fail;
4726 {
4727 PyThreadState* __tstate = wxPyBeginAllowThreads();
4728 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
4729
4730 wxPyEndAllowThreads(__tstate);
4731 if (PyErr_Occurred()) SWIG_fail;
4732 }
4733 {
4734 resultobj = wxPyMake_wxSizer(result, 0);
4735 }
4736 return resultobj;
4737 fail:
4738 return NULL;
4739 }
4740
4741
4742 static PyObject *_wrap_Dialog_IsModal(PyObject *, PyObject *args, PyObject *kwargs) {
4743 PyObject *resultobj;
4744 wxDialog *arg1 = (wxDialog *) 0 ;
4745 bool result;
4746 PyObject * obj0 = 0 ;
4747 char *kwnames[] = {
4748 (char *) "self", NULL
4749 };
4750
4751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail;
4752 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4753 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4754 {
4755 PyThreadState* __tstate = wxPyBeginAllowThreads();
4756 result = (bool)((wxDialog const *)arg1)->IsModal();
4757
4758 wxPyEndAllowThreads(__tstate);
4759 if (PyErr_Occurred()) SWIG_fail;
4760 }
4761 {
4762 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4763 }
4764 return resultobj;
4765 fail:
4766 return NULL;
4767 }
4768
4769
4770 static PyObject *_wrap_Dialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
4771 PyObject *resultobj;
4772 wxDialog *arg1 = (wxDialog *) 0 ;
4773 int result;
4774 PyObject * obj0 = 0 ;
4775 char *kwnames[] = {
4776 (char *) "self", NULL
4777 };
4778
4779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail;
4780 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4781 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4782 {
4783 PyThreadState* __tstate = wxPyBeginAllowThreads();
4784 result = (int)(arg1)->ShowModal();
4785
4786 wxPyEndAllowThreads(__tstate);
4787 if (PyErr_Occurred()) SWIG_fail;
4788 }
4789 resultobj = SWIG_From_int((int)result);
4790 return resultobj;
4791 fail:
4792 return NULL;
4793 }
4794
4795
4796 static PyObject *_wrap_Dialog_EndModal(PyObject *, PyObject *args, PyObject *kwargs) {
4797 PyObject *resultobj;
4798 wxDialog *arg1 = (wxDialog *) 0 ;
4799 int arg2 ;
4800 PyObject * obj0 = 0 ;
4801 PyObject * obj1 = 0 ;
4802 char *kwnames[] = {
4803 (char *) "self",(char *) "retCode", NULL
4804 };
4805
4806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) goto fail;
4807 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4808 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4809 arg2 = (int)SWIG_As_int(obj1);
4810 if (PyErr_Occurred()) SWIG_fail;
4811 {
4812 PyThreadState* __tstate = wxPyBeginAllowThreads();
4813 (arg1)->EndModal(arg2);
4814
4815 wxPyEndAllowThreads(__tstate);
4816 if (PyErr_Occurred()) SWIG_fail;
4817 }
4818 Py_INCREF(Py_None); resultobj = Py_None;
4819 return resultobj;
4820 fail:
4821 return NULL;
4822 }
4823
4824
4825 static PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
4826 PyObject *resultobj;
4827 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
4828 wxVisualAttributes result;
4829 PyObject * obj0 = 0 ;
4830 char *kwnames[] = {
4831 (char *) "variant", NULL
4832 };
4833
4834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4835 if (obj0) {
4836 arg1 = (int)SWIG_As_int(obj0);
4837 if (PyErr_Occurred()) SWIG_fail;
4838 }
4839 {
4840 if (!wxPyCheckForApp()) SWIG_fail;
4841 PyThreadState* __tstate = wxPyBeginAllowThreads();
4842 result = wxDialog::GetClassDefaultAttributes((wxWindowVariant )arg1);
4843
4844 wxPyEndAllowThreads(__tstate);
4845 if (PyErr_Occurred()) SWIG_fail;
4846 }
4847 {
4848 wxVisualAttributes * resultptr;
4849 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
4850 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4851 }
4852 return resultobj;
4853 fail:
4854 return NULL;
4855 }
4856
4857
4858 static PyObject * Dialog_swigregister(PyObject *, PyObject *args) {
4859 PyObject *obj;
4860 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4861 SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj);
4862 Py_INCREF(obj);
4863 return Py_BuildValue((char *)"");
4864 }
4865 static PyObject *_wrap_new_MiniFrame(PyObject *, PyObject *args, PyObject *kwargs) {
4866 PyObject *resultobj;
4867 wxWindow *arg1 = (wxWindow *) 0 ;
4868 int arg2 = (int) (int)-1 ;
4869 wxString const &arg3_defvalue = wxPyEmptyString ;
4870 wxString *arg3 = (wxString *) &arg3_defvalue ;
4871 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4872 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4873 wxSize const &arg5_defvalue = wxDefaultSize ;
4874 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4875 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
4876 wxString const &arg7_defvalue = wxPyFrameNameStr ;
4877 wxString *arg7 = (wxString *) &arg7_defvalue ;
4878 wxMiniFrame *result;
4879 bool temp3 = false ;
4880 wxPoint temp4 ;
4881 wxSize temp5 ;
4882 bool temp7 = false ;
4883 PyObject * obj0 = 0 ;
4884 PyObject * obj1 = 0 ;
4885 PyObject * obj2 = 0 ;
4886 PyObject * obj3 = 0 ;
4887 PyObject * obj4 = 0 ;
4888 PyObject * obj5 = 0 ;
4889 PyObject * obj6 = 0 ;
4890 char *kwnames[] = {
4891 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4892 };
4893
4894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4895 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4896 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4897 if (obj1) {
4898 arg2 = (int)SWIG_As_int(obj1);
4899 if (PyErr_Occurred()) SWIG_fail;
4900 }
4901 if (obj2) {
4902 {
4903 arg3 = wxString_in_helper(obj2);
4904 if (arg3 == NULL) SWIG_fail;
4905 temp3 = true;
4906 }
4907 }
4908 if (obj3) {
4909 {
4910 arg4 = &temp4;
4911 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4912 }
4913 }
4914 if (obj4) {
4915 {
4916 arg5 = &temp5;
4917 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4918 }
4919 }
4920 if (obj5) {
4921 arg6 = (long)SWIG_As_long(obj5);
4922 if (PyErr_Occurred()) SWIG_fail;
4923 }
4924 if (obj6) {
4925 {
4926 arg7 = wxString_in_helper(obj6);
4927 if (arg7 == NULL) SWIG_fail;
4928 temp7 = true;
4929 }
4930 }
4931 {
4932 if (!wxPyCheckForApp()) SWIG_fail;
4933 PyThreadState* __tstate = wxPyBeginAllowThreads();
4934 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4935
4936 wxPyEndAllowThreads(__tstate);
4937 if (PyErr_Occurred()) SWIG_fail;
4938 }
4939 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
4940 {
4941 if (temp3)
4942 delete arg3;
4943 }
4944 {
4945 if (temp7)
4946 delete arg7;
4947 }
4948 return resultobj;
4949 fail:
4950 {
4951 if (temp3)
4952 delete arg3;
4953 }
4954 {
4955 if (temp7)
4956 delete arg7;
4957 }
4958 return NULL;
4959 }
4960
4961
4962 static PyObject *_wrap_new_PreMiniFrame(PyObject *, PyObject *args, PyObject *kwargs) {
4963 PyObject *resultobj;
4964 wxMiniFrame *result;
4965 char *kwnames[] = {
4966 NULL
4967 };
4968
4969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail;
4970 {
4971 if (!wxPyCheckForApp()) SWIG_fail;
4972 PyThreadState* __tstate = wxPyBeginAllowThreads();
4973 result = (wxMiniFrame *)new wxMiniFrame();
4974
4975 wxPyEndAllowThreads(__tstate);
4976 if (PyErr_Occurred()) SWIG_fail;
4977 }
4978 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
4979 return resultobj;
4980 fail:
4981 return NULL;
4982 }
4983
4984
4985 static PyObject *_wrap_MiniFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
4986 PyObject *resultobj;
4987 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
4988 wxWindow *arg2 = (wxWindow *) 0 ;
4989 int arg3 = (int) (int)-1 ;
4990 wxString const &arg4_defvalue = wxPyEmptyString ;
4991 wxString *arg4 = (wxString *) &arg4_defvalue ;
4992 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4993 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4994 wxSize const &arg6_defvalue = wxDefaultSize ;
4995 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4996 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
4997 wxString const &arg8_defvalue = wxPyFrameNameStr ;
4998 wxString *arg8 = (wxString *) &arg8_defvalue ;
4999 bool result;
5000 bool temp4 = false ;
5001 wxPoint temp5 ;
5002 wxSize temp6 ;
5003 bool temp8 = false ;
5004 PyObject * obj0 = 0 ;
5005 PyObject * obj1 = 0 ;
5006 PyObject * obj2 = 0 ;
5007 PyObject * obj3 = 0 ;
5008 PyObject * obj4 = 0 ;
5009 PyObject * obj5 = 0 ;
5010 PyObject * obj6 = 0 ;
5011 PyObject * obj7 = 0 ;
5012 char *kwnames[] = {
5013 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5014 };
5015
5016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
5017 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMiniFrame,
5018 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5019 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5020 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5021 if (obj2) {
5022 arg3 = (int)SWIG_As_int(obj2);
5023 if (PyErr_Occurred()) SWIG_fail;
5024 }
5025 if (obj3) {
5026 {
5027 arg4 = wxString_in_helper(obj3);
5028 if (arg4 == NULL) SWIG_fail;
5029 temp4 = true;
5030 }
5031 }
5032 if (obj4) {
5033 {
5034 arg5 = &temp5;
5035 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
5036 }
5037 }
5038 if (obj5) {
5039 {
5040 arg6 = &temp6;
5041 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
5042 }
5043 }
5044 if (obj6) {
5045 arg7 = (long)SWIG_As_long(obj6);
5046 if (PyErr_Occurred()) SWIG_fail;
5047 }
5048 if (obj7) {
5049 {
5050 arg8 = wxString_in_helper(obj7);
5051 if (arg8 == NULL) SWIG_fail;
5052 temp8 = true;
5053 }
5054 }
5055 {
5056 PyThreadState* __tstate = wxPyBeginAllowThreads();
5057 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
5058
5059 wxPyEndAllowThreads(__tstate);
5060 if (PyErr_Occurred()) SWIG_fail;
5061 }
5062 {
5063 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5064 }
5065 {
5066 if (temp4)
5067 delete arg4;
5068 }
5069 {
5070 if (temp8)
5071 delete arg8;
5072 }
5073 return resultobj;
5074 fail:
5075 {
5076 if (temp4)
5077 delete arg4;
5078 }
5079 {
5080 if (temp8)
5081 delete arg8;
5082 }
5083 return NULL;
5084 }
5085
5086
5087 static PyObject * MiniFrame_swigregister(PyObject *, PyObject *args) {
5088 PyObject *obj;
5089 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5090 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj);
5091 Py_INCREF(obj);
5092 return Py_BuildValue((char *)"");
5093 }
5094 static PyObject *_wrap_new_SplashScreenWindow(PyObject *, PyObject *args, PyObject *kwargs) {
5095 PyObject *resultobj;
5096 wxBitmap *arg1 = 0 ;
5097 wxWindow *arg2 = (wxWindow *) 0 ;
5098 int arg3 ;
5099 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5100 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5101 wxSize const &arg5_defvalue = wxDefaultSize ;
5102 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5103 long arg6 = (long) wxNO_BORDER ;
5104 wxSplashScreenWindow *result;
5105 wxPoint temp4 ;
5106 wxSize temp5 ;
5107 PyObject * obj0 = 0 ;
5108 PyObject * obj1 = 0 ;
5109 PyObject * obj2 = 0 ;
5110 PyObject * obj3 = 0 ;
5111 PyObject * obj4 = 0 ;
5112 PyObject * obj5 = 0 ;
5113 char *kwnames[] = {
5114 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
5115 };
5116
5117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
5118 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
5119 SWIG_POINTER_EXCEPTION | 0)) == -1)
5120 SWIG_fail;
5121 if (arg1 == NULL) {
5122 PyErr_SetString(PyExc_TypeError,"null reference");
5123 SWIG_fail;
5124 }
5125 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5126 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5127 arg3 = (int)SWIG_As_int(obj2);
5128 if (PyErr_Occurred()) SWIG_fail;
5129 if (obj3) {
5130 {
5131 arg4 = &temp4;
5132 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5133 }
5134 }
5135 if (obj4) {
5136 {
5137 arg5 = &temp5;
5138 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5139 }
5140 }
5141 if (obj5) {
5142 arg6 = (long)SWIG_As_long(obj5);
5143 if (PyErr_Occurred()) SWIG_fail;
5144 }
5145 {
5146 if (!wxPyCheckForApp()) SWIG_fail;
5147 PyThreadState* __tstate = wxPyBeginAllowThreads();
5148 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
5149
5150 wxPyEndAllowThreads(__tstate);
5151 if (PyErr_Occurred()) SWIG_fail;
5152 }
5153 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 1);
5154 return resultobj;
5155 fail:
5156 return NULL;
5157 }
5158
5159
5160 static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
5161 PyObject *resultobj;
5162 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
5163 wxBitmap *arg2 = 0 ;
5164 PyObject * obj0 = 0 ;
5165 PyObject * obj1 = 0 ;
5166 char *kwnames[] = {
5167 (char *) "self",(char *) "bitmap", NULL
5168 };
5169
5170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
5171 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow,
5172 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5173 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
5174 SWIG_POINTER_EXCEPTION | 0)) == -1)
5175 SWIG_fail;
5176 if (arg2 == NULL) {
5177 PyErr_SetString(PyExc_TypeError,"null reference");
5178 SWIG_fail;
5179 }
5180 {
5181 PyThreadState* __tstate = wxPyBeginAllowThreads();
5182 (arg1)->SetBitmap((wxBitmap const &)*arg2);
5183
5184 wxPyEndAllowThreads(__tstate);
5185 if (PyErr_Occurred()) SWIG_fail;
5186 }
5187 Py_INCREF(Py_None); resultobj = Py_None;
5188 return resultobj;
5189 fail:
5190 return NULL;
5191 }
5192
5193
5194 static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
5195 PyObject *resultobj;
5196 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
5197 wxBitmap *result;
5198 PyObject * obj0 = 0 ;
5199 char *kwnames[] = {
5200 (char *) "self", NULL
5201 };
5202
5203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail;
5204 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow,
5205 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5206 {
5207 PyThreadState* __tstate = wxPyBeginAllowThreads();
5208 {
5209 wxBitmap &_result_ref = (arg1)->GetBitmap();
5210 result = (wxBitmap *) &_result_ref;
5211 }
5212
5213 wxPyEndAllowThreads(__tstate);
5214 if (PyErr_Occurred()) SWIG_fail;
5215 }
5216 {
5217 wxBitmap* resultptr = new wxBitmap(*result);
5218 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
5219 }
5220 return resultobj;
5221 fail:
5222 return NULL;
5223 }
5224
5225
5226 static PyObject * SplashScreenWindow_swigregister(PyObject *, PyObject *args) {
5227 PyObject *obj;
5228 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5229 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj);
5230 Py_INCREF(obj);
5231 return Py_BuildValue((char *)"");
5232 }
5233 static PyObject *_wrap_new_SplashScreen(PyObject *, PyObject *args, PyObject *kwargs) {
5234 PyObject *resultobj;
5235 wxBitmap *arg1 = 0 ;
5236 long arg2 ;
5237 int arg3 ;
5238 wxWindow *arg4 = (wxWindow *) 0 ;
5239 int arg5 = (int) -1 ;
5240 wxPoint const &arg6_defvalue = wxDefaultPosition ;
5241 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
5242 wxSize const &arg7_defvalue = wxDefaultSize ;
5243 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
5244 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
5245 wxSplashScreen *result;
5246 wxPoint temp6 ;
5247 wxSize temp7 ;
5248 PyObject * obj0 = 0 ;
5249 PyObject * obj1 = 0 ;
5250 PyObject * obj2 = 0 ;
5251 PyObject * obj3 = 0 ;
5252 PyObject * obj4 = 0 ;
5253 PyObject * obj5 = 0 ;
5254 PyObject * obj6 = 0 ;
5255 PyObject * obj7 = 0 ;
5256 char *kwnames[] = {
5257 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
5258 };
5259
5260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
5261 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
5262 SWIG_POINTER_EXCEPTION | 0)) == -1)
5263 SWIG_fail;
5264 if (arg1 == NULL) {
5265 PyErr_SetString(PyExc_TypeError,"null reference");
5266 SWIG_fail;
5267 }
5268 arg2 = (long)SWIG_As_long(obj1);
5269 if (PyErr_Occurred()) SWIG_fail;
5270 arg3 = (int)SWIG_As_int(obj2);
5271 if (PyErr_Occurred()) SWIG_fail;
5272 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
5273 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5274 if (obj4) {
5275 arg5 = (int)SWIG_As_int(obj4);
5276 if (PyErr_Occurred()) SWIG_fail;
5277 }
5278 if (obj5) {
5279 {
5280 arg6 = &temp6;
5281 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
5282 }
5283 }
5284 if (obj6) {
5285 {
5286 arg7 = &temp7;
5287 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
5288 }
5289 }
5290 if (obj7) {
5291 arg8 = (long)SWIG_As_long(obj7);
5292 if (PyErr_Occurred()) SWIG_fail;
5293 }
5294 {
5295 if (!wxPyCheckForApp()) SWIG_fail;
5296 PyThreadState* __tstate = wxPyBeginAllowThreads();
5297 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
5298
5299 wxPyEndAllowThreads(__tstate);
5300 if (PyErr_Occurred()) SWIG_fail;
5301 }
5302 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreen, 1);
5303 return resultobj;
5304 fail:
5305 return NULL;
5306 }
5307
5308
5309 static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *, PyObject *args, PyObject *kwargs) {
5310 PyObject *resultobj;
5311 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
5312 long result;
5313 PyObject * obj0 = 0 ;
5314 char *kwnames[] = {
5315 (char *) "self", NULL
5316 };
5317
5318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail;
5319 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
5320 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5321 {
5322 PyThreadState* __tstate = wxPyBeginAllowThreads();
5323 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
5324
5325 wxPyEndAllowThreads(__tstate);
5326 if (PyErr_Occurred()) SWIG_fail;
5327 }
5328 resultobj = SWIG_From_long((long)result);
5329 return resultobj;
5330 fail:
5331 return NULL;
5332 }
5333
5334
5335 static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
5336 PyObject *resultobj;
5337 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
5338 wxSplashScreenWindow *result;
5339 PyObject * obj0 = 0 ;
5340 char *kwnames[] = {
5341 (char *) "self", NULL
5342 };
5343
5344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail;
5345 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
5346 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5347 {
5348 PyThreadState* __tstate = wxPyBeginAllowThreads();
5349 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
5350
5351 wxPyEndAllowThreads(__tstate);
5352 if (PyErr_Occurred()) SWIG_fail;
5353 }
5354 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 0);
5355 return resultobj;
5356 fail:
5357 return NULL;
5358 }
5359
5360
5361 static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *, PyObject *args, PyObject *kwargs) {
5362 PyObject *resultobj;
5363 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
5364 int result;
5365 PyObject * obj0 = 0 ;
5366 char *kwnames[] = {
5367 (char *) "self", NULL
5368 };
5369
5370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail;
5371 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
5372 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5373 {
5374 PyThreadState* __tstate = wxPyBeginAllowThreads();
5375 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
5376
5377 wxPyEndAllowThreads(__tstate);
5378 if (PyErr_Occurred()) SWIG_fail;
5379 }
5380 resultobj = SWIG_From_int((int)result);
5381 return resultobj;
5382 fail:
5383 return NULL;
5384 }
5385
5386
5387 static PyObject * SplashScreen_swigregister(PyObject *, PyObject *args) {
5388 PyObject *obj;
5389 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5390 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj);
5391 Py_INCREF(obj);
5392 return Py_BuildValue((char *)"");
5393 }
5394 static PyObject *_wrap_new_StatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
5395 PyObject *resultobj;
5396 wxWindow *arg1 = (wxWindow *) 0 ;
5397 int arg2 = (int) -1 ;
5398 long arg3 = (long) wxST_SIZEGRIP ;
5399 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
5400 wxString *arg4 = (wxString *) &arg4_defvalue ;
5401 wxStatusBar *result;
5402 bool temp4 = false ;
5403 PyObject * obj0 = 0 ;
5404 PyObject * obj1 = 0 ;
5405 PyObject * obj2 = 0 ;
5406 PyObject * obj3 = 0 ;
5407 char *kwnames[] = {
5408 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5409 };
5410
5411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5412 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5413 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5414 if (obj1) {
5415 arg2 = (int)SWIG_As_int(obj1);
5416 if (PyErr_Occurred()) SWIG_fail;
5417 }
5418 if (obj2) {
5419 arg3 = (long)SWIG_As_long(obj2);
5420 if (PyErr_Occurred()) SWIG_fail;
5421 }
5422 if (obj3) {
5423 {
5424 arg4 = wxString_in_helper(obj3);
5425 if (arg4 == NULL) SWIG_fail;
5426 temp4 = true;
5427 }
5428 }
5429 {
5430 if (!wxPyCheckForApp()) SWIG_fail;
5431 PyThreadState* __tstate = wxPyBeginAllowThreads();
5432 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
5433
5434 wxPyEndAllowThreads(__tstate);
5435 if (PyErr_Occurred()) SWIG_fail;
5436 }
5437 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStatusBar, 1);
5438 {
5439 if (temp4)
5440 delete arg4;
5441 }
5442 return resultobj;
5443 fail:
5444 {
5445 if (temp4)
5446 delete arg4;
5447 }
5448 return NULL;
5449 }
5450
5451
5452 static PyObject *_wrap_new_PreStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
5453 PyObject *resultobj;
5454 wxStatusBar *result;
5455 char *kwnames[] = {
5456 NULL
5457 };
5458
5459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail;
5460 {
5461 if (!wxPyCheckForApp()) SWIG_fail;
5462 PyThreadState* __tstate = wxPyBeginAllowThreads();
5463 result = (wxStatusBar *)new wxStatusBar();
5464
5465 wxPyEndAllowThreads(__tstate);
5466 if (PyErr_Occurred()) SWIG_fail;
5467 }
5468 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStatusBar, 1);
5469 return resultobj;
5470 fail:
5471 return NULL;
5472 }
5473
5474
5475 static PyObject *_wrap_StatusBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
5476 PyObject *resultobj;
5477 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5478 wxWindow *arg2 = (wxWindow *) 0 ;
5479 int arg3 = (int) -1 ;
5480 long arg4 = (long) wxST_SIZEGRIP ;
5481 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
5482 wxString *arg5 = (wxString *) &arg5_defvalue ;
5483 bool result;
5484 bool temp5 = false ;
5485 PyObject * obj0 = 0 ;
5486 PyObject * obj1 = 0 ;
5487 PyObject * obj2 = 0 ;
5488 PyObject * obj3 = 0 ;
5489 PyObject * obj4 = 0 ;
5490 char *kwnames[] = {
5491 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5492 };
5493
5494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
5495 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5496 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5497 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5498 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5499 if (obj2) {
5500 arg3 = (int)SWIG_As_int(obj2);
5501 if (PyErr_Occurred()) SWIG_fail;
5502 }
5503 if (obj3) {
5504 arg4 = (long)SWIG_As_long(obj3);
5505 if (PyErr_Occurred()) SWIG_fail;
5506 }
5507 if (obj4) {
5508 {
5509 arg5 = wxString_in_helper(obj4);
5510 if (arg5 == NULL) SWIG_fail;
5511 temp5 = true;
5512 }
5513 }
5514 {
5515 PyThreadState* __tstate = wxPyBeginAllowThreads();
5516 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
5517
5518 wxPyEndAllowThreads(__tstate);
5519 if (PyErr_Occurred()) SWIG_fail;
5520 }
5521 {
5522 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5523 }
5524 {
5525 if (temp5)
5526 delete arg5;
5527 }
5528 return resultobj;
5529 fail:
5530 {
5531 if (temp5)
5532 delete arg5;
5533 }
5534 return NULL;
5535 }
5536
5537
5538 static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *, PyObject *args, PyObject *kwargs) {
5539 PyObject *resultobj;
5540 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5541 int arg2 = (int) 1 ;
5542 PyObject * obj0 = 0 ;
5543 PyObject * obj1 = 0 ;
5544 char *kwnames[] = {
5545 (char *) "self",(char *) "number", NULL
5546 };
5547
5548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) goto fail;
5549 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5550 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5551 if (obj1) {
5552 arg2 = (int)SWIG_As_int(obj1);
5553 if (PyErr_Occurred()) SWIG_fail;
5554 }
5555 {
5556 PyThreadState* __tstate = wxPyBeginAllowThreads();
5557 (arg1)->SetFieldsCount(arg2);
5558
5559 wxPyEndAllowThreads(__tstate);
5560 if (PyErr_Occurred()) SWIG_fail;
5561 }
5562 Py_INCREF(Py_None); resultobj = Py_None;
5563 return resultobj;
5564 fail:
5565 return NULL;
5566 }
5567
5568
5569 static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *, PyObject *args, PyObject *kwargs) {
5570 PyObject *resultobj;
5571 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5572 int result;
5573 PyObject * obj0 = 0 ;
5574 char *kwnames[] = {
5575 (char *) "self", NULL
5576 };
5577
5578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail;
5579 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5580 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5581 {
5582 PyThreadState* __tstate = wxPyBeginAllowThreads();
5583 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
5584
5585 wxPyEndAllowThreads(__tstate);
5586 if (PyErr_Occurred()) SWIG_fail;
5587 }
5588 resultobj = SWIG_From_int((int)result);
5589 return resultobj;
5590 fail:
5591 return NULL;
5592 }
5593
5594
5595 static PyObject *_wrap_StatusBar_SetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
5596 PyObject *resultobj;
5597 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5598 wxString *arg2 = 0 ;
5599 int arg3 = (int) 0 ;
5600 bool temp2 = false ;
5601 PyObject * obj0 = 0 ;
5602 PyObject * obj1 = 0 ;
5603 PyObject * obj2 = 0 ;
5604 char *kwnames[] = {
5605 (char *) "self",(char *) "text",(char *) "number", NULL
5606 };
5607
5608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5609 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5610 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5611 {
5612 arg2 = wxString_in_helper(obj1);
5613 if (arg2 == NULL) SWIG_fail;
5614 temp2 = true;
5615 }
5616 if (obj2) {
5617 arg3 = (int)SWIG_As_int(obj2);
5618 if (PyErr_Occurred()) SWIG_fail;
5619 }
5620 {
5621 PyThreadState* __tstate = wxPyBeginAllowThreads();
5622 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
5623
5624 wxPyEndAllowThreads(__tstate);
5625 if (PyErr_Occurred()) SWIG_fail;
5626 }
5627 Py_INCREF(Py_None); resultobj = Py_None;
5628 {
5629 if (temp2)
5630 delete arg2;
5631 }
5632 return resultobj;
5633 fail:
5634 {
5635 if (temp2)
5636 delete arg2;
5637 }
5638 return NULL;
5639 }
5640
5641
5642 static PyObject *_wrap_StatusBar_GetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
5643 PyObject *resultobj;
5644 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5645 int arg2 = (int) 0 ;
5646 wxString result;
5647 PyObject * obj0 = 0 ;
5648 PyObject * obj1 = 0 ;
5649 char *kwnames[] = {
5650 (char *) "self",(char *) "number", NULL
5651 };
5652
5653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) goto fail;
5654 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5655 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5656 if (obj1) {
5657 arg2 = (int)SWIG_As_int(obj1);
5658 if (PyErr_Occurred()) SWIG_fail;
5659 }
5660 {
5661 PyThreadState* __tstate = wxPyBeginAllowThreads();
5662 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
5663
5664 wxPyEndAllowThreads(__tstate);
5665 if (PyErr_Occurred()) SWIG_fail;
5666 }
5667 {
5668 #if wxUSE_UNICODE
5669 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5670 #else
5671 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5672 #endif
5673 }
5674 return resultobj;
5675 fail:
5676 return NULL;
5677 }
5678
5679
5680 static PyObject *_wrap_StatusBar_PushStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
5681 PyObject *resultobj;
5682 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5683 wxString *arg2 = 0 ;
5684 int arg3 = (int) 0 ;
5685 bool temp2 = false ;
5686 PyObject * obj0 = 0 ;
5687 PyObject * obj1 = 0 ;
5688 PyObject * obj2 = 0 ;
5689 char *kwnames[] = {
5690 (char *) "self",(char *) "text",(char *) "number", NULL
5691 };
5692
5693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5694 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5695 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5696 {
5697 arg2 = wxString_in_helper(obj1);
5698 if (arg2 == NULL) SWIG_fail;
5699 temp2 = true;
5700 }
5701 if (obj2) {
5702 arg3 = (int)SWIG_As_int(obj2);
5703 if (PyErr_Occurred()) SWIG_fail;
5704 }
5705 {
5706 PyThreadState* __tstate = wxPyBeginAllowThreads();
5707 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
5708
5709 wxPyEndAllowThreads(__tstate);
5710 if (PyErr_Occurred()) SWIG_fail;
5711 }
5712 Py_INCREF(Py_None); resultobj = Py_None;
5713 {
5714 if (temp2)
5715 delete arg2;
5716 }
5717 return resultobj;
5718 fail:
5719 {
5720 if (temp2)
5721 delete arg2;
5722 }
5723 return NULL;
5724 }
5725
5726
5727 static PyObject *_wrap_StatusBar_PopStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
5728 PyObject *resultobj;
5729 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5730 int arg2 = (int) 0 ;
5731 PyObject * obj0 = 0 ;
5732 PyObject * obj1 = 0 ;
5733 char *kwnames[] = {
5734 (char *) "self",(char *) "number", NULL
5735 };
5736
5737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
5738 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5739 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5740 if (obj1) {
5741 arg2 = (int)SWIG_As_int(obj1);
5742 if (PyErr_Occurred()) SWIG_fail;
5743 }
5744 {
5745 PyThreadState* __tstate = wxPyBeginAllowThreads();
5746 (arg1)->PopStatusText(arg2);
5747
5748 wxPyEndAllowThreads(__tstate);
5749 if (PyErr_Occurred()) SWIG_fail;
5750 }
5751 Py_INCREF(Py_None); resultobj = Py_None;
5752 return resultobj;
5753 fail:
5754 return NULL;
5755 }
5756
5757
5758 static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *, PyObject *args, PyObject *kwargs) {
5759 PyObject *resultobj;
5760 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5761 int arg2 ;
5762 int *arg3 = (int *) 0 ;
5763 PyObject * obj0 = 0 ;
5764 PyObject * obj1 = 0 ;
5765 char *kwnames[] = {
5766 (char *) "self",(char *) "widths", NULL
5767 };
5768
5769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
5770 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5771 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5772 {
5773 arg2 = PyList_Size(obj1);
5774 arg3 = int_LIST_helper(obj1);
5775 if (arg3 == NULL) SWIG_fail;
5776 }
5777 {
5778 PyThreadState* __tstate = wxPyBeginAllowThreads();
5779 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
5780
5781 wxPyEndAllowThreads(__tstate);
5782 if (PyErr_Occurred()) SWIG_fail;
5783 }
5784 Py_INCREF(Py_None); resultobj = Py_None;
5785 {
5786 if (arg3) delete [] arg3;
5787 }
5788 return resultobj;
5789 fail:
5790 {
5791 if (arg3) delete [] arg3;
5792 }
5793 return NULL;
5794 }
5795
5796
5797 static PyObject *_wrap_StatusBar_SetStatusStyles(PyObject *, PyObject *args, PyObject *kwargs) {
5798 PyObject *resultobj;
5799 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5800 int arg2 ;
5801 int *arg3 = (int *) 0 ;
5802 PyObject * obj0 = 0 ;
5803 PyObject * obj1 = 0 ;
5804 char *kwnames[] = {
5805 (char *) "self",(char *) "styles", NULL
5806 };
5807
5808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusStyles",kwnames,&obj0,&obj1)) goto fail;
5809 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5810 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5811 {
5812 arg2 = PyList_Size(obj1);
5813 arg3 = int_LIST_helper(obj1);
5814 if (arg3 == NULL) SWIG_fail;
5815 }
5816 {
5817 PyThreadState* __tstate = wxPyBeginAllowThreads();
5818 (arg1)->SetStatusStyles(arg2,(int const *)arg3);
5819
5820 wxPyEndAllowThreads(__tstate);
5821 if (PyErr_Occurred()) SWIG_fail;
5822 }
5823 Py_INCREF(Py_None); resultobj = Py_None;
5824 {
5825 if (arg3) delete [] arg3;
5826 }
5827 return resultobj;
5828 fail:
5829 {
5830 if (arg3) delete [] arg3;
5831 }
5832 return NULL;
5833 }
5834
5835
5836 static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *, PyObject *args, PyObject *kwargs) {
5837 PyObject *resultobj;
5838 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5839 int arg2 ;
5840 wxRect result;
5841 PyObject * obj0 = 0 ;
5842 PyObject * obj1 = 0 ;
5843 char *kwnames[] = {
5844 (char *) "self",(char *) "i", NULL
5845 };
5846
5847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) goto fail;
5848 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5849 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5850 arg2 = (int)SWIG_As_int(obj1);
5851 if (PyErr_Occurred()) SWIG_fail;
5852 {
5853 PyThreadState* __tstate = wxPyBeginAllowThreads();
5854 result = wxStatusBar_GetFieldRect(arg1,arg2);
5855
5856 wxPyEndAllowThreads(__tstate);
5857 if (PyErr_Occurred()) SWIG_fail;
5858 }
5859 {
5860 wxRect * resultptr;
5861 resultptr = new wxRect((wxRect &) result);
5862 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
5863 }
5864 return resultobj;
5865 fail:
5866 return NULL;
5867 }
5868
5869
5870 static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *, PyObject *args, PyObject *kwargs) {
5871 PyObject *resultobj;
5872 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5873 int arg2 ;
5874 PyObject * obj0 = 0 ;
5875 PyObject * obj1 = 0 ;
5876 char *kwnames[] = {
5877 (char *) "self",(char *) "height", NULL
5878 };
5879
5880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) goto fail;
5881 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5882 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5883 arg2 = (int)SWIG_As_int(obj1);
5884 if (PyErr_Occurred()) SWIG_fail;
5885 {
5886 PyThreadState* __tstate = wxPyBeginAllowThreads();
5887 (arg1)->SetMinHeight(arg2);
5888
5889 wxPyEndAllowThreads(__tstate);
5890 if (PyErr_Occurred()) SWIG_fail;
5891 }
5892 Py_INCREF(Py_None); resultobj = Py_None;
5893 return resultobj;
5894 fail:
5895 return NULL;
5896 }
5897
5898
5899 static PyObject *_wrap_StatusBar_GetBorderX(PyObject *, PyObject *args, PyObject *kwargs) {
5900 PyObject *resultobj;
5901 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5902 int result;
5903 PyObject * obj0 = 0 ;
5904 char *kwnames[] = {
5905 (char *) "self", NULL
5906 };
5907
5908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail;
5909 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5910 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5911 {
5912 PyThreadState* __tstate = wxPyBeginAllowThreads();
5913 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
5914
5915 wxPyEndAllowThreads(__tstate);
5916 if (PyErr_Occurred()) SWIG_fail;
5917 }
5918 resultobj = SWIG_From_int((int)result);
5919 return resultobj;
5920 fail:
5921 return NULL;
5922 }
5923
5924
5925 static PyObject *_wrap_StatusBar_GetBorderY(PyObject *, PyObject *args, PyObject *kwargs) {
5926 PyObject *resultobj;
5927 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5928 int result;
5929 PyObject * obj0 = 0 ;
5930 char *kwnames[] = {
5931 (char *) "self", NULL
5932 };
5933
5934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail;
5935 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5936 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5937 {
5938 PyThreadState* __tstate = wxPyBeginAllowThreads();
5939 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
5940
5941 wxPyEndAllowThreads(__tstate);
5942 if (PyErr_Occurred()) SWIG_fail;
5943 }
5944 resultobj = SWIG_From_int((int)result);
5945 return resultobj;
5946 fail:
5947 return NULL;
5948 }
5949
5950
5951 static PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
5952 PyObject *resultobj;
5953 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
5954 wxVisualAttributes result;
5955 PyObject * obj0 = 0 ;
5956 char *kwnames[] = {
5957 (char *) "variant", NULL
5958 };
5959
5960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5961 if (obj0) {
5962 arg1 = (int)SWIG_As_int(obj0);
5963 if (PyErr_Occurred()) SWIG_fail;
5964 }
5965 {
5966 if (!wxPyCheckForApp()) SWIG_fail;
5967 PyThreadState* __tstate = wxPyBeginAllowThreads();
5968 result = wxStatusBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
5969
5970 wxPyEndAllowThreads(__tstate);
5971 if (PyErr_Occurred()) SWIG_fail;
5972 }
5973 {
5974 wxVisualAttributes * resultptr;
5975 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
5976 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5977 }
5978 return resultobj;
5979 fail:
5980 return NULL;
5981 }
5982
5983
5984 static PyObject * StatusBar_swigregister(PyObject *, PyObject *args) {
5985 PyObject *obj;
5986 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5987 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj);
5988 Py_INCREF(obj);
5989 return Py_BuildValue((char *)"");
5990 }
5991 static int _wrap_SplitterNameStr_set(PyObject *) {
5992 PyErr_SetString(PyExc_TypeError,"Variable SplitterNameStr is read-only.");
5993 return 1;
5994 }
5995
5996
5997 static PyObject *_wrap_SplitterNameStr_get() {
5998 PyObject *pyobj;
5999
6000 {
6001 #if wxUSE_UNICODE
6002 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
6003 #else
6004 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
6005 #endif
6006 }
6007 return pyobj;
6008 }
6009
6010
6011 static PyObject *_wrap_new_SplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) {
6012 PyObject *resultobj;
6013 wxWindow *arg1 = (wxWindow *) 0 ;
6014 int arg2 = (int) -1 ;
6015 wxPoint const &arg3_defvalue = wxDefaultPosition ;
6016 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
6017 wxSize const &arg4_defvalue = wxDefaultSize ;
6018 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
6019 long arg5 = (long) wxSP_3D ;
6020 wxString const &arg6_defvalue = wxPySplitterNameStr ;
6021 wxString *arg6 = (wxString *) &arg6_defvalue ;
6022 wxSplitterWindow *result;
6023 wxPoint temp3 ;
6024 wxSize temp4 ;
6025 bool temp6 = false ;
6026 PyObject * obj0 = 0 ;
6027 PyObject * obj1 = 0 ;
6028 PyObject * obj2 = 0 ;
6029 PyObject * obj3 = 0 ;
6030 PyObject * obj4 = 0 ;
6031 PyObject * obj5 = 0 ;
6032 char *kwnames[] = {
6033 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6034 };
6035
6036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
6037 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
6038 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6039 if (obj1) {
6040 arg2 = (int)SWIG_As_int(obj1);
6041 if (PyErr_Occurred()) SWIG_fail;
6042 }
6043 if (obj2) {
6044 {
6045 arg3 = &temp3;
6046 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
6047 }
6048 }
6049 if (obj3) {
6050 {
6051 arg4 = &temp4;
6052 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
6053 }
6054 }
6055 if (obj4) {
6056 arg5 = (long)SWIG_As_long(obj4);
6057 if (PyErr_Occurred()) SWIG_fail;
6058 }
6059 if (obj5) {
6060 {
6061 arg6 = wxString_in_helper(obj5);
6062 if (arg6 == NULL) SWIG_fail;
6063 temp6 = true;
6064 }
6065 }
6066 {
6067 if (!wxPyCheckForApp()) SWIG_fail;
6068 PyThreadState* __tstate = wxPyBeginAllowThreads();
6069 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
6070
6071 wxPyEndAllowThreads(__tstate);
6072 if (PyErr_Occurred()) SWIG_fail;
6073 }
6074 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
6075 {
6076 if (temp6)
6077 delete arg6;
6078 }
6079 return resultobj;
6080 fail:
6081 {
6082 if (temp6)
6083 delete arg6;
6084 }
6085 return NULL;
6086 }
6087
6088
6089 static PyObject *_wrap_new_PreSplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) {
6090 PyObject *resultobj;
6091 wxSplitterWindow *result;
6092 char *kwnames[] = {
6093 NULL
6094 };
6095
6096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail;
6097 {
6098 if (!wxPyCheckForApp()) SWIG_fail;
6099 PyThreadState* __tstate = wxPyBeginAllowThreads();
6100 result = (wxSplitterWindow *)new wxSplitterWindow();
6101
6102 wxPyEndAllowThreads(__tstate);
6103 if (PyErr_Occurred()) SWIG_fail;
6104 }
6105 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
6106 return resultobj;
6107 fail:
6108 return NULL;
6109 }
6110
6111
6112 static PyObject *_wrap_SplitterWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
6113 PyObject *resultobj;
6114 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6115 wxWindow *arg2 = (wxWindow *) 0 ;
6116 int arg3 = (int) -1 ;
6117 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6118 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6119 wxSize const &arg5_defvalue = wxDefaultSize ;
6120 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6121 long arg6 = (long) wxSP_3D ;
6122 wxString const &arg7_defvalue = wxPySplitterNameStr ;
6123 wxString *arg7 = (wxString *) &arg7_defvalue ;
6124 bool result;
6125 wxPoint temp4 ;
6126 wxSize temp5 ;
6127 bool temp7 = false ;
6128 PyObject * obj0 = 0 ;
6129 PyObject * obj1 = 0 ;
6130 PyObject * obj2 = 0 ;
6131 PyObject * obj3 = 0 ;
6132 PyObject * obj4 = 0 ;
6133 PyObject * obj5 = 0 ;
6134 PyObject * obj6 = 0 ;
6135 char *kwnames[] = {
6136 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6137 };
6138
6139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
6140 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6141 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6142 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6143 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6144 if (obj2) {
6145 arg3 = (int)SWIG_As_int(obj2);
6146 if (PyErr_Occurred()) SWIG_fail;
6147 }
6148 if (obj3) {
6149 {
6150 arg4 = &temp4;
6151 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6152 }
6153 }
6154 if (obj4) {
6155 {
6156 arg5 = &temp5;
6157 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6158 }
6159 }
6160 if (obj5) {
6161 arg6 = (long)SWIG_As_long(obj5);
6162 if (PyErr_Occurred()) SWIG_fail;
6163 }
6164 if (obj6) {
6165 {
6166 arg7 = wxString_in_helper(obj6);
6167 if (arg7 == NULL) SWIG_fail;
6168 temp7 = true;
6169 }
6170 }
6171 {
6172 PyThreadState* __tstate = wxPyBeginAllowThreads();
6173 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6174
6175 wxPyEndAllowThreads(__tstate);
6176 if (PyErr_Occurred()) SWIG_fail;
6177 }
6178 {
6179 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6180 }
6181 {
6182 if (temp7)
6183 delete arg7;
6184 }
6185 return resultobj;
6186 fail:
6187 {
6188 if (temp7)
6189 delete arg7;
6190 }
6191 return NULL;
6192 }
6193
6194
6195 static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *, PyObject *args, PyObject *kwargs) {
6196 PyObject *resultobj;
6197 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6198 wxWindow *result;
6199 PyObject * obj0 = 0 ;
6200 char *kwnames[] = {
6201 (char *) "self", NULL
6202 };
6203
6204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail;
6205 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6206 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6207 {
6208 PyThreadState* __tstate = wxPyBeginAllowThreads();
6209 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
6210
6211 wxPyEndAllowThreads(__tstate);
6212 if (PyErr_Occurred()) SWIG_fail;
6213 }
6214 {
6215 resultobj = wxPyMake_wxObject(result, 0);
6216 }
6217 return resultobj;
6218 fail:
6219 return NULL;
6220 }
6221
6222
6223 static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *, PyObject *args, PyObject *kwargs) {
6224 PyObject *resultobj;
6225 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6226 wxWindow *result;
6227 PyObject * obj0 = 0 ;
6228 char *kwnames[] = {
6229 (char *) "self", NULL
6230 };
6231
6232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail;
6233 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6234 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6235 {
6236 PyThreadState* __tstate = wxPyBeginAllowThreads();
6237 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
6238
6239 wxPyEndAllowThreads(__tstate);
6240 if (PyErr_Occurred()) SWIG_fail;
6241 }
6242 {
6243 resultobj = wxPyMake_wxObject(result, 0);
6244 }
6245 return resultobj;
6246 fail:
6247 return NULL;
6248 }
6249
6250
6251 static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *, PyObject *args, PyObject *kwargs) {
6252 PyObject *resultobj;
6253 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6254 int arg2 ;
6255 PyObject * obj0 = 0 ;
6256 PyObject * obj1 = 0 ;
6257 char *kwnames[] = {
6258 (char *) "self",(char *) "mode", NULL
6259 };
6260
6261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) goto fail;
6262 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6263 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6264 arg2 = (int)SWIG_As_int(obj1);
6265 if (PyErr_Occurred()) SWIG_fail;
6266 {
6267 PyThreadState* __tstate = wxPyBeginAllowThreads();
6268 (arg1)->SetSplitMode(arg2);
6269
6270 wxPyEndAllowThreads(__tstate);
6271 if (PyErr_Occurred()) SWIG_fail;
6272 }
6273 Py_INCREF(Py_None); resultobj = Py_None;
6274 return resultobj;
6275 fail:
6276 return NULL;
6277 }
6278
6279
6280 static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *, PyObject *args, PyObject *kwargs) {
6281 PyObject *resultobj;
6282 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6283 int result;
6284 PyObject * obj0 = 0 ;
6285 char *kwnames[] = {
6286 (char *) "self", NULL
6287 };
6288
6289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail;
6290 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6291 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6292 {
6293 PyThreadState* __tstate = wxPyBeginAllowThreads();
6294 result = (int)((wxSplitterWindow const *)arg1)->GetSplitMode();
6295
6296 wxPyEndAllowThreads(__tstate);
6297 if (PyErr_Occurred()) SWIG_fail;
6298 }
6299 resultobj = SWIG_From_int((int)result);
6300 return resultobj;
6301 fail:
6302 return NULL;
6303 }
6304
6305
6306 static PyObject *_wrap_SplitterWindow_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
6307 PyObject *resultobj;
6308 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6309 wxWindow *arg2 = (wxWindow *) 0 ;
6310 PyObject * obj0 = 0 ;
6311 PyObject * obj1 = 0 ;
6312 char *kwnames[] = {
6313 (char *) "self",(char *) "window", NULL
6314 };
6315
6316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail;
6317 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6318 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6319 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6320 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6321 {
6322 PyThreadState* __tstate = wxPyBeginAllowThreads();
6323 (arg1)->Initialize(arg2);
6324
6325 wxPyEndAllowThreads(__tstate);
6326 if (PyErr_Occurred()) SWIG_fail;
6327 }
6328 Py_INCREF(Py_None); resultobj = Py_None;
6329 return resultobj;
6330 fail:
6331 return NULL;
6332 }
6333
6334
6335 static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *, PyObject *args, PyObject *kwargs) {
6336 PyObject *resultobj;
6337 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6338 wxWindow *arg2 = (wxWindow *) 0 ;
6339 wxWindow *arg3 = (wxWindow *) 0 ;
6340 int arg4 = (int) 0 ;
6341 bool result;
6342 PyObject * obj0 = 0 ;
6343 PyObject * obj1 = 0 ;
6344 PyObject * obj2 = 0 ;
6345 PyObject * obj3 = 0 ;
6346 char *kwnames[] = {
6347 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
6348 };
6349
6350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6351 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6352 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6353 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6354 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6355 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
6356 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6357 if (obj3) {
6358 arg4 = (int)SWIG_As_int(obj3);
6359 if (PyErr_Occurred()) SWIG_fail;
6360 }
6361 {
6362 PyThreadState* __tstate = wxPyBeginAllowThreads();
6363 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
6364
6365 wxPyEndAllowThreads(__tstate);
6366 if (PyErr_Occurred()) SWIG_fail;
6367 }
6368 {
6369 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6370 }
6371 return resultobj;
6372 fail:
6373 return NULL;
6374 }
6375
6376
6377 static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *, PyObject *args, PyObject *kwargs) {
6378 PyObject *resultobj;
6379 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6380 wxWindow *arg2 = (wxWindow *) 0 ;
6381 wxWindow *arg3 = (wxWindow *) 0 ;
6382 int arg4 = (int) 0 ;
6383 bool result;
6384 PyObject * obj0 = 0 ;
6385 PyObject * obj1 = 0 ;
6386 PyObject * obj2 = 0 ;
6387 PyObject * obj3 = 0 ;
6388 char *kwnames[] = {
6389 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
6390 };
6391
6392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6393 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6394 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6395 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6396 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6397 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
6398 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6399 if (obj3) {
6400 arg4 = (int)SWIG_As_int(obj3);
6401 if (PyErr_Occurred()) SWIG_fail;
6402 }
6403 {
6404 PyThreadState* __tstate = wxPyBeginAllowThreads();
6405 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
6406
6407 wxPyEndAllowThreads(__tstate);
6408 if (PyErr_Occurred()) SWIG_fail;
6409 }
6410 {
6411 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6412 }
6413 return resultobj;
6414 fail:
6415 return NULL;
6416 }
6417
6418
6419 static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *, PyObject *args, PyObject *kwargs) {
6420 PyObject *resultobj;
6421 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6422 wxWindow *arg2 = (wxWindow *) NULL ;
6423 bool result;
6424 PyObject * obj0 = 0 ;
6425 PyObject * obj1 = 0 ;
6426 char *kwnames[] = {
6427 (char *) "self",(char *) "toRemove", NULL
6428 };
6429
6430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail;
6431 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6432 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6433 if (obj1) {
6434 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6435 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6436 }
6437 {
6438 PyThreadState* __tstate = wxPyBeginAllowThreads();
6439 result = (bool)(arg1)->Unsplit(arg2);
6440
6441 wxPyEndAllowThreads(__tstate);
6442 if (PyErr_Occurred()) SWIG_fail;
6443 }
6444 {
6445 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6446 }
6447 return resultobj;
6448 fail:
6449 return NULL;
6450 }
6451
6452
6453 static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *, PyObject *args, PyObject *kwargs) {
6454 PyObject *resultobj;
6455 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6456 wxWindow *arg2 = (wxWindow *) 0 ;
6457 wxWindow *arg3 = (wxWindow *) 0 ;
6458 bool result;
6459 PyObject * obj0 = 0 ;
6460 PyObject * obj1 = 0 ;
6461 PyObject * obj2 = 0 ;
6462 char *kwnames[] = {
6463 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
6464 };
6465
6466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
6467 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6468 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6469 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6470 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6471 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
6472 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6473 {
6474 PyThreadState* __tstate = wxPyBeginAllowThreads();
6475 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
6476
6477 wxPyEndAllowThreads(__tstate);
6478 if (PyErr_Occurred()) SWIG_fail;
6479 }
6480 {
6481 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6482 }
6483 return resultobj;
6484 fail:
6485 return NULL;
6486 }
6487
6488
6489 static PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *, PyObject *args, PyObject *kwargs) {
6490 PyObject *resultobj;
6491 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6492 PyObject * obj0 = 0 ;
6493 char *kwnames[] = {
6494 (char *) "self", NULL
6495 };
6496
6497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_UpdateSize",kwnames,&obj0)) goto fail;
6498 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6499 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6500 {
6501 PyThreadState* __tstate = wxPyBeginAllowThreads();
6502 (arg1)->UpdateSize();
6503
6504 wxPyEndAllowThreads(__tstate);
6505 if (PyErr_Occurred()) SWIG_fail;
6506 }
6507 Py_INCREF(Py_None); resultobj = Py_None;
6508 return resultobj;
6509 fail:
6510 return NULL;
6511 }
6512
6513
6514 static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *, PyObject *args, PyObject *kwargs) {
6515 PyObject *resultobj;
6516 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6517 bool result;
6518 PyObject * obj0 = 0 ;
6519 char *kwnames[] = {
6520 (char *) "self", NULL
6521 };
6522
6523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail;
6524 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6525 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6526 {
6527 PyThreadState* __tstate = wxPyBeginAllowThreads();
6528 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
6529
6530 wxPyEndAllowThreads(__tstate);
6531 if (PyErr_Occurred()) SWIG_fail;
6532 }
6533 {
6534 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6535 }
6536 return resultobj;
6537 fail:
6538 return NULL;
6539 }
6540
6541
6542 static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *, PyObject *args, PyObject *kwargs) {
6543 PyObject *resultobj;
6544 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6545 int arg2 ;
6546 PyObject * obj0 = 0 ;
6547 PyObject * obj1 = 0 ;
6548 char *kwnames[] = {
6549 (char *) "self",(char *) "width", NULL
6550 };
6551
6552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) goto fail;
6553 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6554 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6555 arg2 = (int)SWIG_As_int(obj1);
6556 if (PyErr_Occurred()) SWIG_fail;
6557 {
6558 PyThreadState* __tstate = wxPyBeginAllowThreads();
6559 (arg1)->SetSashSize(arg2);
6560
6561 wxPyEndAllowThreads(__tstate);
6562 if (PyErr_Occurred()) SWIG_fail;
6563 }
6564 Py_INCREF(Py_None); resultobj = Py_None;
6565 return resultobj;
6566 fail:
6567 return NULL;
6568 }
6569
6570
6571 static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
6572 PyObject *resultobj;
6573 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6574 int arg2 ;
6575 PyObject * obj0 = 0 ;
6576 PyObject * obj1 = 0 ;
6577 char *kwnames[] = {
6578 (char *) "self",(char *) "width", NULL
6579 };
6580
6581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) goto fail;
6582 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6583 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6584 arg2 = (int)SWIG_As_int(obj1);
6585 if (PyErr_Occurred()) SWIG_fail;
6586 {
6587 PyThreadState* __tstate = wxPyBeginAllowThreads();
6588 (arg1)->SetBorderSize(arg2);
6589
6590 wxPyEndAllowThreads(__tstate);
6591 if (PyErr_Occurred()) SWIG_fail;
6592 }
6593 Py_INCREF(Py_None); resultobj = Py_None;
6594 return resultobj;
6595 fail:
6596 return NULL;
6597 }
6598
6599
6600 static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *, PyObject *args, PyObject *kwargs) {
6601 PyObject *resultobj;
6602 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6603 int result;
6604 PyObject * obj0 = 0 ;
6605 char *kwnames[] = {
6606 (char *) "self", NULL
6607 };
6608
6609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail;
6610 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6611 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6612 {
6613 PyThreadState* __tstate = wxPyBeginAllowThreads();
6614 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
6615
6616 wxPyEndAllowThreads(__tstate);
6617 if (PyErr_Occurred()) SWIG_fail;
6618 }
6619 resultobj = SWIG_From_int((int)result);
6620 return resultobj;
6621 fail:
6622 return NULL;
6623 }
6624
6625
6626 static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
6627 PyObject *resultobj;
6628 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6629 int result;
6630 PyObject * obj0 = 0 ;
6631 char *kwnames[] = {
6632 (char *) "self", NULL
6633 };
6634
6635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail;
6636 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6637 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6638 {
6639 PyThreadState* __tstate = wxPyBeginAllowThreads();
6640 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
6641
6642 wxPyEndAllowThreads(__tstate);
6643 if (PyErr_Occurred()) SWIG_fail;
6644 }
6645 resultobj = SWIG_From_int((int)result);
6646 return resultobj;
6647 fail:
6648 return NULL;
6649 }
6650
6651
6652 static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
6653 PyObject *resultobj;
6654 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6655 int arg2 ;
6656 bool arg3 = (bool) true ;
6657 PyObject * obj0 = 0 ;
6658 PyObject * obj1 = 0 ;
6659 PyObject * obj2 = 0 ;
6660 char *kwnames[] = {
6661 (char *) "self",(char *) "position",(char *) "redraw", NULL
6662 };
6663
6664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
6665 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6666 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6667 arg2 = (int)SWIG_As_int(obj1);
6668 if (PyErr_Occurred()) SWIG_fail;
6669 if (obj2) {
6670 arg3 = (bool)SWIG_As_bool(obj2);
6671 if (PyErr_Occurred()) SWIG_fail;
6672 }
6673 {
6674 PyThreadState* __tstate = wxPyBeginAllowThreads();
6675 (arg1)->SetSashPosition(arg2,arg3);
6676
6677 wxPyEndAllowThreads(__tstate);
6678 if (PyErr_Occurred()) SWIG_fail;
6679 }
6680 Py_INCREF(Py_None); resultobj = Py_None;
6681 return resultobj;
6682 fail:
6683 return NULL;
6684 }
6685
6686
6687 static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
6688 PyObject *resultobj;
6689 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6690 int result;
6691 PyObject * obj0 = 0 ;
6692 char *kwnames[] = {
6693 (char *) "self", NULL
6694 };
6695
6696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail;
6697 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6699 {
6700 PyThreadState* __tstate = wxPyBeginAllowThreads();
6701 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
6702
6703 wxPyEndAllowThreads(__tstate);
6704 if (PyErr_Occurred()) SWIG_fail;
6705 }
6706 resultobj = SWIG_From_int((int)result);
6707 return resultobj;
6708 fail:
6709 return NULL;
6710 }
6711
6712
6713 static PyObject *_wrap_SplitterWindow_SetSashGravity(PyObject *, PyObject *args, PyObject *kwargs) {
6714 PyObject *resultobj;
6715 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6716 double arg2 ;
6717 PyObject * obj0 = 0 ;
6718 PyObject * obj1 = 0 ;
6719 char *kwnames[] = {
6720 (char *) "self",(char *) "gravity", NULL
6721 };
6722
6723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashGravity",kwnames,&obj0,&obj1)) goto fail;
6724 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6725 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6726 arg2 = (double)SWIG_As_double(obj1);
6727 if (PyErr_Occurred()) SWIG_fail;
6728 {
6729 PyThreadState* __tstate = wxPyBeginAllowThreads();
6730 (arg1)->SetSashGravity(arg2);
6731
6732 wxPyEndAllowThreads(__tstate);
6733 if (PyErr_Occurred()) SWIG_fail;
6734 }
6735 Py_INCREF(Py_None); resultobj = Py_None;
6736 return resultobj;
6737 fail:
6738 return NULL;
6739 }
6740
6741
6742 static PyObject *_wrap_SplitterWindow_GetSashGravity(PyObject *, PyObject *args, PyObject *kwargs) {
6743 PyObject *resultobj;
6744 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6745 double result;
6746 PyObject * obj0 = 0 ;
6747 char *kwnames[] = {
6748 (char *) "self", NULL
6749 };
6750
6751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashGravity",kwnames,&obj0)) goto fail;
6752 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6753 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6754 {
6755 PyThreadState* __tstate = wxPyBeginAllowThreads();
6756 result = (double)((wxSplitterWindow const *)arg1)->GetSashGravity();
6757
6758 wxPyEndAllowThreads(__tstate);
6759 if (PyErr_Occurred()) SWIG_fail;
6760 }
6761 resultobj = SWIG_From_double((double)result);
6762 return resultobj;
6763 fail:
6764 return NULL;
6765 }
6766
6767
6768 static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *, PyObject *args, PyObject *kwargs) {
6769 PyObject *resultobj;
6770 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6771 int arg2 ;
6772 PyObject * obj0 = 0 ;
6773 PyObject * obj1 = 0 ;
6774 char *kwnames[] = {
6775 (char *) "self",(char *) "min", NULL
6776 };
6777
6778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) goto fail;
6779 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6780 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6781 arg2 = (int)SWIG_As_int(obj1);
6782 if (PyErr_Occurred()) SWIG_fail;
6783 {
6784 PyThreadState* __tstate = wxPyBeginAllowThreads();
6785 (arg1)->SetMinimumPaneSize(arg2);
6786
6787 wxPyEndAllowThreads(__tstate);
6788 if (PyErr_Occurred()) SWIG_fail;
6789 }
6790 Py_INCREF(Py_None); resultobj = Py_None;
6791 return resultobj;
6792 fail:
6793 return NULL;
6794 }
6795
6796
6797 static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *, PyObject *args, PyObject *kwargs) {
6798 PyObject *resultobj;
6799 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6800 int result;
6801 PyObject * obj0 = 0 ;
6802 char *kwnames[] = {
6803 (char *) "self", NULL
6804 };
6805
6806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail;
6807 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6808 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6809 {
6810 PyThreadState* __tstate = wxPyBeginAllowThreads();
6811 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
6812
6813 wxPyEndAllowThreads(__tstate);
6814 if (PyErr_Occurred()) SWIG_fail;
6815 }
6816 resultobj = SWIG_From_int((int)result);
6817 return resultobj;
6818 fail:
6819 return NULL;
6820 }
6821
6822
6823 static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *, PyObject *args, PyObject *kwargs) {
6824 PyObject *resultobj;
6825 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6826 int arg2 ;
6827 int arg3 ;
6828 int arg4 = (int) 5 ;
6829 bool result;
6830 PyObject * obj0 = 0 ;
6831 PyObject * obj1 = 0 ;
6832 PyObject * obj2 = 0 ;
6833 PyObject * obj3 = 0 ;
6834 char *kwnames[] = {
6835 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6836 };
6837
6838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6839 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6840 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6841 arg2 = (int)SWIG_As_int(obj1);
6842 if (PyErr_Occurred()) SWIG_fail;
6843 arg3 = (int)SWIG_As_int(obj2);
6844 if (PyErr_Occurred()) SWIG_fail;
6845 if (obj3) {
6846 arg4 = (int)SWIG_As_int(obj3);
6847 if (PyErr_Occurred()) SWIG_fail;
6848 }
6849 {
6850 PyThreadState* __tstate = wxPyBeginAllowThreads();
6851 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
6852
6853 wxPyEndAllowThreads(__tstate);
6854 if (PyErr_Occurred()) SWIG_fail;
6855 }
6856 {
6857 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6858 }
6859 return resultobj;
6860 fail:
6861 return NULL;
6862 }
6863
6864
6865 static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *, PyObject *args, PyObject *kwargs) {
6866 PyObject *resultobj;
6867 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6868 PyObject * obj0 = 0 ;
6869 char *kwnames[] = {
6870 (char *) "self", NULL
6871 };
6872
6873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail;
6874 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6875 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6876 {
6877 PyThreadState* __tstate = wxPyBeginAllowThreads();
6878 (arg1)->SizeWindows();
6879
6880 wxPyEndAllowThreads(__tstate);
6881 if (PyErr_Occurred()) SWIG_fail;
6882 }
6883 Py_INCREF(Py_None); resultobj = Py_None;
6884 return resultobj;
6885 fail:
6886 return NULL;
6887 }
6888
6889
6890 static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *, PyObject *args, PyObject *kwargs) {
6891 PyObject *resultobj;
6892 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6893 bool arg2 ;
6894 PyObject * obj0 = 0 ;
6895 PyObject * obj1 = 0 ;
6896 char *kwnames[] = {
6897 (char *) "self",(char *) "needUpdating", NULL
6898 };
6899
6900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail;
6901 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6902 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6903 arg2 = (bool)SWIG_As_bool(obj1);
6904 if (PyErr_Occurred()) SWIG_fail;
6905 {
6906 PyThreadState* __tstate = wxPyBeginAllowThreads();
6907 (arg1)->SetNeedUpdating(arg2);
6908
6909 wxPyEndAllowThreads(__tstate);
6910 if (PyErr_Occurred()) SWIG_fail;
6911 }
6912 Py_INCREF(Py_None); resultobj = Py_None;
6913 return resultobj;
6914 fail:
6915 return NULL;
6916 }
6917
6918
6919 static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *, PyObject *args, PyObject *kwargs) {
6920 PyObject *resultobj;
6921 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6922 bool result;
6923 PyObject * obj0 = 0 ;
6924 char *kwnames[] = {
6925 (char *) "self", NULL
6926 };
6927
6928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail;
6929 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6930 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6931 {
6932 PyThreadState* __tstate = wxPyBeginAllowThreads();
6933 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
6934
6935 wxPyEndAllowThreads(__tstate);
6936 if (PyErr_Occurred()) SWIG_fail;
6937 }
6938 {
6939 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6940 }
6941 return resultobj;
6942 fail:
6943 return NULL;
6944 }
6945
6946
6947 static PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
6948 PyObject *resultobj;
6949 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
6950 wxVisualAttributes result;
6951 PyObject * obj0 = 0 ;
6952 char *kwnames[] = {
6953 (char *) "variant", NULL
6954 };
6955
6956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6957 if (obj0) {
6958 arg1 = (int)SWIG_As_int(obj0);
6959 if (PyErr_Occurred()) SWIG_fail;
6960 }
6961 {
6962 if (!wxPyCheckForApp()) SWIG_fail;
6963 PyThreadState* __tstate = wxPyBeginAllowThreads();
6964 result = wxSplitterWindow::GetClassDefaultAttributes((wxWindowVariant )arg1);
6965
6966 wxPyEndAllowThreads(__tstate);
6967 if (PyErr_Occurred()) SWIG_fail;
6968 }
6969 {
6970 wxVisualAttributes * resultptr;
6971 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
6972 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6973 }
6974 return resultobj;
6975 fail:
6976 return NULL;
6977 }
6978
6979
6980 static PyObject * SplitterWindow_swigregister(PyObject *, PyObject *args) {
6981 PyObject *obj;
6982 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6983 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj);
6984 Py_INCREF(obj);
6985 return Py_BuildValue((char *)"");
6986 }
6987 static PyObject *_wrap_new_SplitterEvent(PyObject *, PyObject *args, PyObject *kwargs) {
6988 PyObject *resultobj;
6989 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
6990 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
6991 wxSplitterEvent *result;
6992 PyObject * obj0 = 0 ;
6993 PyObject * obj1 = 0 ;
6994 char *kwnames[] = {
6995 (char *) "type",(char *) "splitter", NULL
6996 };
6997
6998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) goto fail;
6999 if (obj0) {
7000 arg1 = (wxEventType)SWIG_As_int(obj0);
7001 if (PyErr_Occurred()) SWIG_fail;
7002 }
7003 if (obj1) {
7004 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSplitterWindow,
7005 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7006 }
7007 {
7008 PyThreadState* __tstate = wxPyBeginAllowThreads();
7009 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
7010
7011 wxPyEndAllowThreads(__tstate);
7012 if (PyErr_Occurred()) SWIG_fail;
7013 }
7014 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterEvent, 1);
7015 return resultobj;
7016 fail:
7017 return NULL;
7018 }
7019
7020
7021 static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
7022 PyObject *resultobj;
7023 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
7024 int arg2 ;
7025 PyObject * obj0 = 0 ;
7026 PyObject * obj1 = 0 ;
7027 char *kwnames[] = {
7028 (char *) "self",(char *) "pos", NULL
7029 };
7030
7031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) goto fail;
7032 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
7033 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7034 arg2 = (int)SWIG_As_int(obj1);
7035 if (PyErr_Occurred()) SWIG_fail;
7036 {
7037 PyThreadState* __tstate = wxPyBeginAllowThreads();
7038 (arg1)->SetSashPosition(arg2);
7039
7040 wxPyEndAllowThreads(__tstate);
7041 if (PyErr_Occurred()) SWIG_fail;
7042 }
7043 Py_INCREF(Py_None); resultobj = Py_None;
7044 return resultobj;
7045 fail:
7046 return NULL;
7047 }
7048
7049
7050 static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
7051 PyObject *resultobj;
7052 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
7053 int result;
7054 PyObject * obj0 = 0 ;
7055 char *kwnames[] = {
7056 (char *) "self", NULL
7057 };
7058
7059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail;
7060 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
7061 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7062 {
7063 PyThreadState* __tstate = wxPyBeginAllowThreads();
7064 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
7065
7066 wxPyEndAllowThreads(__tstate);
7067 if (PyErr_Occurred()) SWIG_fail;
7068 }
7069 resultobj = SWIG_From_int((int)result);
7070 return resultobj;
7071 fail:
7072 return NULL;
7073 }
7074
7075
7076 static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *, PyObject *args, PyObject *kwargs) {
7077 PyObject *resultobj;
7078 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
7079 wxWindow *result;
7080 PyObject * obj0 = 0 ;
7081 char *kwnames[] = {
7082 (char *) "self", NULL
7083 };
7084
7085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail;
7086 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
7087 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7088 {
7089 PyThreadState* __tstate = wxPyBeginAllowThreads();
7090 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
7091
7092 wxPyEndAllowThreads(__tstate);
7093 if (PyErr_Occurred()) SWIG_fail;
7094 }
7095 {
7096 resultobj = wxPyMake_wxObject(result, 0);
7097 }
7098 return resultobj;
7099 fail:
7100 return NULL;
7101 }
7102
7103
7104 static PyObject *_wrap_SplitterEvent_GetX(PyObject *, PyObject *args, PyObject *kwargs) {
7105 PyObject *resultobj;
7106 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
7107 int result;
7108 PyObject * obj0 = 0 ;
7109 char *kwnames[] = {
7110 (char *) "self", NULL
7111 };
7112
7113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail;
7114 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
7115 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7116 {
7117 PyThreadState* __tstate = wxPyBeginAllowThreads();
7118 result = (int)((wxSplitterEvent const *)arg1)->GetX();
7119
7120 wxPyEndAllowThreads(__tstate);
7121 if (PyErr_Occurred()) SWIG_fail;
7122 }
7123 resultobj = SWIG_From_int((int)result);
7124 return resultobj;
7125 fail:
7126 return NULL;
7127 }
7128
7129
7130 static PyObject *_wrap_SplitterEvent_GetY(PyObject *, PyObject *args, PyObject *kwargs) {
7131 PyObject *resultobj;
7132 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
7133 int result;
7134 PyObject * obj0 = 0 ;
7135 char *kwnames[] = {
7136 (char *) "self", NULL
7137 };
7138
7139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail;
7140 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
7141 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7142 {
7143 PyThreadState* __tstate = wxPyBeginAllowThreads();
7144 result = (int)((wxSplitterEvent const *)arg1)->GetY();
7145
7146 wxPyEndAllowThreads(__tstate);
7147 if (PyErr_Occurred()) SWIG_fail;
7148 }
7149 resultobj = SWIG_From_int((int)result);
7150 return resultobj;
7151 fail:
7152 return NULL;
7153 }
7154
7155
7156 static PyObject * SplitterEvent_swigregister(PyObject *, PyObject *args) {
7157 PyObject *obj;
7158 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7159 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj);
7160 Py_INCREF(obj);
7161 return Py_BuildValue((char *)"");
7162 }
7163 static int _wrap_SashNameStr_set(PyObject *) {
7164 PyErr_SetString(PyExc_TypeError,"Variable SashNameStr is read-only.");
7165 return 1;
7166 }
7167
7168
7169 static PyObject *_wrap_SashNameStr_get() {
7170 PyObject *pyobj;
7171
7172 {
7173 #if wxUSE_UNICODE
7174 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
7175 #else
7176 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
7177 #endif
7178 }
7179 return pyobj;
7180 }
7181
7182
7183 static int _wrap_SashLayoutNameStr_set(PyObject *) {
7184 PyErr_SetString(PyExc_TypeError,"Variable SashLayoutNameStr is read-only.");
7185 return 1;
7186 }
7187
7188
7189 static PyObject *_wrap_SashLayoutNameStr_get() {
7190 PyObject *pyobj;
7191
7192 {
7193 #if wxUSE_UNICODE
7194 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
7195 #else
7196 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
7197 #endif
7198 }
7199 return pyobj;
7200 }
7201
7202
7203 static PyObject *_wrap_new_SashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7204 PyObject *resultobj;
7205 wxWindow *arg1 = (wxWindow *) 0 ;
7206 int arg2 = (int) -1 ;
7207 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7208 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7209 wxSize const &arg4_defvalue = wxDefaultSize ;
7210 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7211 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
7212 wxString const &arg6_defvalue = wxPySashNameStr ;
7213 wxString *arg6 = (wxString *) &arg6_defvalue ;
7214 wxSashWindow *result;
7215 wxPoint temp3 ;
7216 wxSize temp4 ;
7217 bool temp6 = false ;
7218 PyObject * obj0 = 0 ;
7219 PyObject * obj1 = 0 ;
7220 PyObject * obj2 = 0 ;
7221 PyObject * obj3 = 0 ;
7222 PyObject * obj4 = 0 ;
7223 PyObject * obj5 = 0 ;
7224 char *kwnames[] = {
7225 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7226 };
7227
7228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
7229 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
7230 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7231 if (obj1) {
7232 arg2 = (int)SWIG_As_int(obj1);
7233 if (PyErr_Occurred()) SWIG_fail;
7234 }
7235 if (obj2) {
7236 {
7237 arg3 = &temp3;
7238 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7239 }
7240 }
7241 if (obj3) {
7242 {
7243 arg4 = &temp4;
7244 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7245 }
7246 }
7247 if (obj4) {
7248 arg5 = (long)SWIG_As_long(obj4);
7249 if (PyErr_Occurred()) SWIG_fail;
7250 }
7251 if (obj5) {
7252 {
7253 arg6 = wxString_in_helper(obj5);
7254 if (arg6 == NULL) SWIG_fail;
7255 temp6 = true;
7256 }
7257 }
7258 {
7259 if (!wxPyCheckForApp()) SWIG_fail;
7260 PyThreadState* __tstate = wxPyBeginAllowThreads();
7261 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7262
7263 wxPyEndAllowThreads(__tstate);
7264 if (PyErr_Occurred()) SWIG_fail;
7265 }
7266 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
7267 {
7268 if (temp6)
7269 delete arg6;
7270 }
7271 return resultobj;
7272 fail:
7273 {
7274 if (temp6)
7275 delete arg6;
7276 }
7277 return NULL;
7278 }
7279
7280
7281 static PyObject *_wrap_new_PreSashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7282 PyObject *resultobj;
7283 wxSashWindow *result;
7284 char *kwnames[] = {
7285 NULL
7286 };
7287
7288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail;
7289 {
7290 if (!wxPyCheckForApp()) SWIG_fail;
7291 PyThreadState* __tstate = wxPyBeginAllowThreads();
7292 result = (wxSashWindow *)new wxSashWindow();
7293
7294 wxPyEndAllowThreads(__tstate);
7295 if (PyErr_Occurred()) SWIG_fail;
7296 }
7297 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
7298 return resultobj;
7299 fail:
7300 return NULL;
7301 }
7302
7303
7304 static PyObject *_wrap_SashWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7305 PyObject *resultobj;
7306 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7307 wxWindow *arg2 = (wxWindow *) 0 ;
7308 int arg3 = (int) -1 ;
7309 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7310 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7311 wxSize const &arg5_defvalue = wxDefaultSize ;
7312 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7313 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
7314 wxString const &arg7_defvalue = wxPySashNameStr ;
7315 wxString *arg7 = (wxString *) &arg7_defvalue ;
7316 bool result;
7317 wxPoint temp4 ;
7318 wxSize temp5 ;
7319 bool temp7 = false ;
7320 PyObject * obj0 = 0 ;
7321 PyObject * obj1 = 0 ;
7322 PyObject * obj2 = 0 ;
7323 PyObject * obj3 = 0 ;
7324 PyObject * obj4 = 0 ;
7325 PyObject * obj5 = 0 ;
7326 PyObject * obj6 = 0 ;
7327 char *kwnames[] = {
7328 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7329 };
7330
7331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
7332 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7333 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7334 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
7335 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7336 if (obj2) {
7337 arg3 = (int)SWIG_As_int(obj2);
7338 if (PyErr_Occurred()) SWIG_fail;
7339 }
7340 if (obj3) {
7341 {
7342 arg4 = &temp4;
7343 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7344 }
7345 }
7346 if (obj4) {
7347 {
7348 arg5 = &temp5;
7349 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7350 }
7351 }
7352 if (obj5) {
7353 arg6 = (long)SWIG_As_long(obj5);
7354 if (PyErr_Occurred()) SWIG_fail;
7355 }
7356 if (obj6) {
7357 {
7358 arg7 = wxString_in_helper(obj6);
7359 if (arg7 == NULL) SWIG_fail;
7360 temp7 = true;
7361 }
7362 }
7363 {
7364 PyThreadState* __tstate = wxPyBeginAllowThreads();
7365 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7366
7367 wxPyEndAllowThreads(__tstate);
7368 if (PyErr_Occurred()) SWIG_fail;
7369 }
7370 {
7371 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7372 }
7373 {
7374 if (temp7)
7375 delete arg7;
7376 }
7377 return resultobj;
7378 fail:
7379 {
7380 if (temp7)
7381 delete arg7;
7382 }
7383 return NULL;
7384 }
7385
7386
7387 static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *, PyObject *args, PyObject *kwargs) {
7388 PyObject *resultobj;
7389 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7390 int arg2 ;
7391 bool arg3 ;
7392 PyObject * obj0 = 0 ;
7393 PyObject * obj1 = 0 ;
7394 PyObject * obj2 = 0 ;
7395 char *kwnames[] = {
7396 (char *) "self",(char *) "edge",(char *) "sash", NULL
7397 };
7398
7399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) goto fail;
7400 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7401 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7402 arg2 = (int)SWIG_As_int(obj1);
7403 if (PyErr_Occurred()) SWIG_fail;
7404 arg3 = (bool)SWIG_As_bool(obj2);
7405 if (PyErr_Occurred()) SWIG_fail;
7406 {
7407 PyThreadState* __tstate = wxPyBeginAllowThreads();
7408 (arg1)->SetSashVisible((wxSashEdgePosition )arg2,arg3);
7409
7410 wxPyEndAllowThreads(__tstate);
7411 if (PyErr_Occurred()) SWIG_fail;
7412 }
7413 Py_INCREF(Py_None); resultobj = Py_None;
7414 return resultobj;
7415 fail:
7416 return NULL;
7417 }
7418
7419
7420 static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *, PyObject *args, PyObject *kwargs) {
7421 PyObject *resultobj;
7422 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7423 int arg2 ;
7424 bool result;
7425 PyObject * obj0 = 0 ;
7426 PyObject * obj1 = 0 ;
7427 char *kwnames[] = {
7428 (char *) "self",(char *) "edge", NULL
7429 };
7430
7431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) goto fail;
7432 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7433 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7434 arg2 = (int)SWIG_As_int(obj1);
7435 if (PyErr_Occurred()) SWIG_fail;
7436 {
7437 PyThreadState* __tstate = wxPyBeginAllowThreads();
7438 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible((wxSashEdgePosition )arg2);
7439
7440 wxPyEndAllowThreads(__tstate);
7441 if (PyErr_Occurred()) SWIG_fail;
7442 }
7443 {
7444 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7445 }
7446 return resultobj;
7447 fail:
7448 return NULL;
7449 }
7450
7451
7452 static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *, PyObject *args, PyObject *kwargs) {
7453 PyObject *resultobj;
7454 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7455 int arg2 ;
7456 bool arg3 ;
7457 PyObject * obj0 = 0 ;
7458 PyObject * obj1 = 0 ;
7459 PyObject * obj2 = 0 ;
7460 char *kwnames[] = {
7461 (char *) "self",(char *) "edge",(char *) "border", NULL
7462 };
7463
7464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) goto fail;
7465 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7466 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7467 arg2 = (int)SWIG_As_int(obj1);
7468 if (PyErr_Occurred()) SWIG_fail;
7469 arg3 = (bool)SWIG_As_bool(obj2);
7470 if (PyErr_Occurred()) SWIG_fail;
7471 {
7472 PyThreadState* __tstate = wxPyBeginAllowThreads();
7473 (arg1)->SetSashBorder((wxSashEdgePosition )arg2,arg3);
7474
7475 wxPyEndAllowThreads(__tstate);
7476 if (PyErr_Occurred()) SWIG_fail;
7477 }
7478 Py_INCREF(Py_None); resultobj = Py_None;
7479 return resultobj;
7480 fail:
7481 return NULL;
7482 }
7483
7484
7485 static PyObject *_wrap_SashWindow_HasBorder(PyObject *, PyObject *args, PyObject *kwargs) {
7486 PyObject *resultobj;
7487 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7488 int arg2 ;
7489 bool result;
7490 PyObject * obj0 = 0 ;
7491 PyObject * obj1 = 0 ;
7492 char *kwnames[] = {
7493 (char *) "self",(char *) "edge", NULL
7494 };
7495
7496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) goto fail;
7497 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7498 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7499 arg2 = (int)SWIG_As_int(obj1);
7500 if (PyErr_Occurred()) SWIG_fail;
7501 {
7502 PyThreadState* __tstate = wxPyBeginAllowThreads();
7503 result = (bool)((wxSashWindow const *)arg1)->HasBorder((wxSashEdgePosition )arg2);
7504
7505 wxPyEndAllowThreads(__tstate);
7506 if (PyErr_Occurred()) SWIG_fail;
7507 }
7508 {
7509 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7510 }
7511 return resultobj;
7512 fail:
7513 return NULL;
7514 }
7515
7516
7517 static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *, PyObject *args, PyObject *kwargs) {
7518 PyObject *resultobj;
7519 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7520 int arg2 ;
7521 int result;
7522 PyObject * obj0 = 0 ;
7523 PyObject * obj1 = 0 ;
7524 char *kwnames[] = {
7525 (char *) "self",(char *) "edge", NULL
7526 };
7527
7528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) goto fail;
7529 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7530 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7531 arg2 = (int)SWIG_As_int(obj1);
7532 if (PyErr_Occurred()) SWIG_fail;
7533 {
7534 PyThreadState* __tstate = wxPyBeginAllowThreads();
7535 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin((wxSashEdgePosition )arg2);
7536
7537 wxPyEndAllowThreads(__tstate);
7538 if (PyErr_Occurred()) SWIG_fail;
7539 }
7540 resultobj = SWIG_From_int((int)result);
7541 return resultobj;
7542 fail:
7543 return NULL;
7544 }
7545
7546
7547 static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
7548 PyObject *resultobj;
7549 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7550 int arg2 ;
7551 PyObject * obj0 = 0 ;
7552 PyObject * obj1 = 0 ;
7553 char *kwnames[] = {
7554 (char *) "self",(char *) "width", NULL
7555 };
7556
7557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) goto fail;
7558 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7559 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7560 arg2 = (int)SWIG_As_int(obj1);
7561 if (PyErr_Occurred()) SWIG_fail;
7562 {
7563 PyThreadState* __tstate = wxPyBeginAllowThreads();
7564 (arg1)->SetDefaultBorderSize(arg2);
7565
7566 wxPyEndAllowThreads(__tstate);
7567 if (PyErr_Occurred()) SWIG_fail;
7568 }
7569 Py_INCREF(Py_None); resultobj = Py_None;
7570 return resultobj;
7571 fail:
7572 return NULL;
7573 }
7574
7575
7576 static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
7577 PyObject *resultobj;
7578 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7579 int result;
7580 PyObject * obj0 = 0 ;
7581 char *kwnames[] = {
7582 (char *) "self", NULL
7583 };
7584
7585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail;
7586 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7587 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7588 {
7589 PyThreadState* __tstate = wxPyBeginAllowThreads();
7590 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
7591
7592 wxPyEndAllowThreads(__tstate);
7593 if (PyErr_Occurred()) SWIG_fail;
7594 }
7595 resultobj = SWIG_From_int((int)result);
7596 return resultobj;
7597 fail:
7598 return NULL;
7599 }
7600
7601
7602 static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
7603 PyObject *resultobj;
7604 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7605 int arg2 ;
7606 PyObject * obj0 = 0 ;
7607 PyObject * obj1 = 0 ;
7608 char *kwnames[] = {
7609 (char *) "self",(char *) "width", NULL
7610 };
7611
7612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) goto fail;
7613 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7614 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7615 arg2 = (int)SWIG_As_int(obj1);
7616 if (PyErr_Occurred()) SWIG_fail;
7617 {
7618 PyThreadState* __tstate = wxPyBeginAllowThreads();
7619 (arg1)->SetExtraBorderSize(arg2);
7620
7621 wxPyEndAllowThreads(__tstate);
7622 if (PyErr_Occurred()) SWIG_fail;
7623 }
7624 Py_INCREF(Py_None); resultobj = Py_None;
7625 return resultobj;
7626 fail:
7627 return NULL;
7628 }
7629
7630
7631 static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
7632 PyObject *resultobj;
7633 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7634 int result;
7635 PyObject * obj0 = 0 ;
7636 char *kwnames[] = {
7637 (char *) "self", NULL
7638 };
7639
7640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail;
7641 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7642 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7643 {
7644 PyThreadState* __tstate = wxPyBeginAllowThreads();
7645 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
7646
7647 wxPyEndAllowThreads(__tstate);
7648 if (PyErr_Occurred()) SWIG_fail;
7649 }
7650 resultobj = SWIG_From_int((int)result);
7651 return resultobj;
7652 fail:
7653 return NULL;
7654 }
7655
7656
7657 static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
7658 PyObject *resultobj;
7659 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7660 int arg2 ;
7661 PyObject * obj0 = 0 ;
7662 PyObject * obj1 = 0 ;
7663 char *kwnames[] = {
7664 (char *) "self",(char *) "min", NULL
7665 };
7666
7667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) goto fail;
7668 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7669 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7670 arg2 = (int)SWIG_As_int(obj1);
7671 if (PyErr_Occurred()) SWIG_fail;
7672 {
7673 PyThreadState* __tstate = wxPyBeginAllowThreads();
7674 (arg1)->SetMinimumSizeX(arg2);
7675
7676 wxPyEndAllowThreads(__tstate);
7677 if (PyErr_Occurred()) SWIG_fail;
7678 }
7679 Py_INCREF(Py_None); resultobj = Py_None;
7680 return resultobj;
7681 fail:
7682 return NULL;
7683 }
7684
7685
7686 static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
7687 PyObject *resultobj;
7688 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7689 int arg2 ;
7690 PyObject * obj0 = 0 ;
7691 PyObject * obj1 = 0 ;
7692 char *kwnames[] = {
7693 (char *) "self",(char *) "min", NULL
7694 };
7695
7696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) goto fail;
7697 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7699 arg2 = (int)SWIG_As_int(obj1);
7700 if (PyErr_Occurred()) SWIG_fail;
7701 {
7702 PyThreadState* __tstate = wxPyBeginAllowThreads();
7703 (arg1)->SetMinimumSizeY(arg2);
7704
7705 wxPyEndAllowThreads(__tstate);
7706 if (PyErr_Occurred()) SWIG_fail;
7707 }
7708 Py_INCREF(Py_None); resultobj = Py_None;
7709 return resultobj;
7710 fail:
7711 return NULL;
7712 }
7713
7714
7715 static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
7716 PyObject *resultobj;
7717 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7718 int result;
7719 PyObject * obj0 = 0 ;
7720 char *kwnames[] = {
7721 (char *) "self", NULL
7722 };
7723
7724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail;
7725 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7726 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7727 {
7728 PyThreadState* __tstate = wxPyBeginAllowThreads();
7729 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
7730
7731 wxPyEndAllowThreads(__tstate);
7732 if (PyErr_Occurred()) SWIG_fail;
7733 }
7734 resultobj = SWIG_From_int((int)result);
7735 return resultobj;
7736 fail:
7737 return NULL;
7738 }
7739
7740
7741 static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
7742 PyObject *resultobj;
7743 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7744 int result;
7745 PyObject * obj0 = 0 ;
7746 char *kwnames[] = {
7747 (char *) "self", NULL
7748 };
7749
7750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail;
7751 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7752 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7753 {
7754 PyThreadState* __tstate = wxPyBeginAllowThreads();
7755 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
7756
7757 wxPyEndAllowThreads(__tstate);
7758 if (PyErr_Occurred()) SWIG_fail;
7759 }
7760 resultobj = SWIG_From_int((int)result);
7761 return resultobj;
7762 fail:
7763 return NULL;
7764 }
7765
7766
7767 static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
7768 PyObject *resultobj;
7769 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7770 int arg2 ;
7771 PyObject * obj0 = 0 ;
7772 PyObject * obj1 = 0 ;
7773 char *kwnames[] = {
7774 (char *) "self",(char *) "max", NULL
7775 };
7776
7777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) goto fail;
7778 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7779 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7780 arg2 = (int)SWIG_As_int(obj1);
7781 if (PyErr_Occurred()) SWIG_fail;
7782 {
7783 PyThreadState* __tstate = wxPyBeginAllowThreads();
7784 (arg1)->SetMaximumSizeX(arg2);
7785
7786 wxPyEndAllowThreads(__tstate);
7787 if (PyErr_Occurred()) SWIG_fail;
7788 }
7789 Py_INCREF(Py_None); resultobj = Py_None;
7790 return resultobj;
7791 fail:
7792 return NULL;
7793 }
7794
7795
7796 static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
7797 PyObject *resultobj;
7798 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7799 int arg2 ;
7800 PyObject * obj0 = 0 ;
7801 PyObject * obj1 = 0 ;
7802 char *kwnames[] = {
7803 (char *) "self",(char *) "max", NULL
7804 };
7805
7806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) goto fail;
7807 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7808 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7809 arg2 = (int)SWIG_As_int(obj1);
7810 if (PyErr_Occurred()) SWIG_fail;
7811 {
7812 PyThreadState* __tstate = wxPyBeginAllowThreads();
7813 (arg1)->SetMaximumSizeY(arg2);
7814
7815 wxPyEndAllowThreads(__tstate);
7816 if (PyErr_Occurred()) SWIG_fail;
7817 }
7818 Py_INCREF(Py_None); resultobj = Py_None;
7819 return resultobj;
7820 fail:
7821 return NULL;
7822 }
7823
7824
7825 static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
7826 PyObject *resultobj;
7827 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7828 int result;
7829 PyObject * obj0 = 0 ;
7830 char *kwnames[] = {
7831 (char *) "self", NULL
7832 };
7833
7834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail;
7835 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7836 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7837 {
7838 PyThreadState* __tstate = wxPyBeginAllowThreads();
7839 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
7840
7841 wxPyEndAllowThreads(__tstate);
7842 if (PyErr_Occurred()) SWIG_fail;
7843 }
7844 resultobj = SWIG_From_int((int)result);
7845 return resultobj;
7846 fail:
7847 return NULL;
7848 }
7849
7850
7851 static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
7852 PyObject *resultobj;
7853 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7854 int result;
7855 PyObject * obj0 = 0 ;
7856 char *kwnames[] = {
7857 (char *) "self", NULL
7858 };
7859
7860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail;
7861 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7862 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7863 {
7864 PyThreadState* __tstate = wxPyBeginAllowThreads();
7865 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
7866
7867 wxPyEndAllowThreads(__tstate);
7868 if (PyErr_Occurred()) SWIG_fail;
7869 }
7870 resultobj = SWIG_From_int((int)result);
7871 return resultobj;
7872 fail:
7873 return NULL;
7874 }
7875
7876
7877 static PyObject *_wrap_SashWindow_SashHitTest(PyObject *, PyObject *args, PyObject *kwargs) {
7878 PyObject *resultobj;
7879 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7880 int arg2 ;
7881 int arg3 ;
7882 int arg4 = (int) 2 ;
7883 int result;
7884 PyObject * obj0 = 0 ;
7885 PyObject * obj1 = 0 ;
7886 PyObject * obj2 = 0 ;
7887 PyObject * obj3 = 0 ;
7888 char *kwnames[] = {
7889 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
7890 };
7891
7892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7893 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7894 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7895 arg2 = (int)SWIG_As_int(obj1);
7896 if (PyErr_Occurred()) SWIG_fail;
7897 arg3 = (int)SWIG_As_int(obj2);
7898 if (PyErr_Occurred()) SWIG_fail;
7899 if (obj3) {
7900 arg4 = (int)SWIG_As_int(obj3);
7901 if (PyErr_Occurred()) SWIG_fail;
7902 }
7903 {
7904 PyThreadState* __tstate = wxPyBeginAllowThreads();
7905 result = (int)(arg1)->SashHitTest(arg2,arg3,arg4);
7906
7907 wxPyEndAllowThreads(__tstate);
7908 if (PyErr_Occurred()) SWIG_fail;
7909 }
7910 resultobj = SWIG_From_int((int)result);
7911 return resultobj;
7912 fail:
7913 return NULL;
7914 }
7915
7916
7917 static PyObject *_wrap_SashWindow_SizeWindows(PyObject *, PyObject *args, PyObject *kwargs) {
7918 PyObject *resultobj;
7919 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7920 PyObject * obj0 = 0 ;
7921 char *kwnames[] = {
7922 (char *) "self", NULL
7923 };
7924
7925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail;
7926 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7927 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7928 {
7929 PyThreadState* __tstate = wxPyBeginAllowThreads();
7930 (arg1)->SizeWindows();
7931
7932 wxPyEndAllowThreads(__tstate);
7933 if (PyErr_Occurred()) SWIG_fail;
7934 }
7935 Py_INCREF(Py_None); resultobj = Py_None;
7936 return resultobj;
7937 fail:
7938 return NULL;
7939 }
7940
7941
7942 static PyObject * SashWindow_swigregister(PyObject *, PyObject *args) {
7943 PyObject *obj;
7944 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7945 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj);
7946 Py_INCREF(obj);
7947 return Py_BuildValue((char *)"");
7948 }
7949 static PyObject *_wrap_new_SashEvent(PyObject *, PyObject *args, PyObject *kwargs) {
7950 PyObject *resultobj;
7951 int arg1 = (int) 0 ;
7952 int arg2 = (int) wxSASH_NONE ;
7953 wxSashEvent *result;
7954 PyObject * obj0 = 0 ;
7955 PyObject * obj1 = 0 ;
7956 char *kwnames[] = {
7957 (char *) "id",(char *) "edge", NULL
7958 };
7959
7960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) goto fail;
7961 if (obj0) {
7962 arg1 = (int)SWIG_As_int(obj0);
7963 if (PyErr_Occurred()) SWIG_fail;
7964 }
7965 if (obj1) {
7966 arg2 = (int)SWIG_As_int(obj1);
7967 if (PyErr_Occurred()) SWIG_fail;
7968 }
7969 {
7970 PyThreadState* __tstate = wxPyBeginAllowThreads();
7971 result = (wxSashEvent *)new wxSashEvent(arg1,(wxSashEdgePosition )arg2);
7972
7973 wxPyEndAllowThreads(__tstate);
7974 if (PyErr_Occurred()) SWIG_fail;
7975 }
7976 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashEvent, 1);
7977 return resultobj;
7978 fail:
7979 return NULL;
7980 }
7981
7982
7983 static PyObject *_wrap_SashEvent_SetEdge(PyObject *, PyObject *args, PyObject *kwargs) {
7984 PyObject *resultobj;
7985 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7986 int arg2 ;
7987 PyObject * obj0 = 0 ;
7988 PyObject * obj1 = 0 ;
7989 char *kwnames[] = {
7990 (char *) "self",(char *) "edge", NULL
7991 };
7992
7993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) goto fail;
7994 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7995 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7996 arg2 = (int)SWIG_As_int(obj1);
7997 if (PyErr_Occurred()) SWIG_fail;
7998 {
7999 PyThreadState* __tstate = wxPyBeginAllowThreads();
8000 (arg1)->SetEdge((wxSashEdgePosition )arg2);
8001
8002 wxPyEndAllowThreads(__tstate);
8003 if (PyErr_Occurred()) SWIG_fail;
8004 }
8005 Py_INCREF(Py_None); resultobj = Py_None;
8006 return resultobj;
8007 fail:
8008 return NULL;
8009 }
8010
8011
8012 static PyObject *_wrap_SashEvent_GetEdge(PyObject *, PyObject *args, PyObject *kwargs) {
8013 PyObject *resultobj;
8014 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
8015 int result;
8016 PyObject * obj0 = 0 ;
8017 char *kwnames[] = {
8018 (char *) "self", NULL
8019 };
8020
8021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail;
8022 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
8023 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8024 {
8025 PyThreadState* __tstate = wxPyBeginAllowThreads();
8026 result = (int)((wxSashEvent const *)arg1)->GetEdge();
8027
8028 wxPyEndAllowThreads(__tstate);
8029 if (PyErr_Occurred()) SWIG_fail;
8030 }
8031 resultobj = SWIG_From_int((int)result);
8032 return resultobj;
8033 fail:
8034 return NULL;
8035 }
8036
8037
8038 static PyObject *_wrap_SashEvent_SetDragRect(PyObject *, PyObject *args, PyObject *kwargs) {
8039 PyObject *resultobj;
8040 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
8041 wxRect *arg2 = 0 ;
8042 wxRect temp2 ;
8043 PyObject * obj0 = 0 ;
8044 PyObject * obj1 = 0 ;
8045 char *kwnames[] = {
8046 (char *) "self",(char *) "rect", NULL
8047 };
8048
8049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail;
8050 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
8051 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8052 {
8053 arg2 = &temp2;
8054 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
8055 }
8056 {
8057 PyThreadState* __tstate = wxPyBeginAllowThreads();
8058 (arg1)->SetDragRect((wxRect const &)*arg2);
8059
8060 wxPyEndAllowThreads(__tstate);
8061 if (PyErr_Occurred()) SWIG_fail;
8062 }
8063 Py_INCREF(Py_None); resultobj = Py_None;
8064 return resultobj;
8065 fail:
8066 return NULL;
8067 }
8068
8069
8070 static PyObject *_wrap_SashEvent_GetDragRect(PyObject *, PyObject *args, PyObject *kwargs) {
8071 PyObject *resultobj;
8072 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
8073 wxRect result;
8074 PyObject * obj0 = 0 ;
8075 char *kwnames[] = {
8076 (char *) "self", NULL
8077 };
8078
8079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail;
8080 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
8081 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8082 {
8083 PyThreadState* __tstate = wxPyBeginAllowThreads();
8084 result = ((wxSashEvent const *)arg1)->GetDragRect();
8085
8086 wxPyEndAllowThreads(__tstate);
8087 if (PyErr_Occurred()) SWIG_fail;
8088 }
8089 {
8090 wxRect * resultptr;
8091 resultptr = new wxRect((wxRect &) result);
8092 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
8093 }
8094 return resultobj;
8095 fail:
8096 return NULL;
8097 }
8098
8099
8100 static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *, PyObject *args, PyObject *kwargs) {
8101 PyObject *resultobj;
8102 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
8103 int arg2 ;
8104 PyObject * obj0 = 0 ;
8105 PyObject * obj1 = 0 ;
8106 char *kwnames[] = {
8107 (char *) "self",(char *) "status", NULL
8108 };
8109
8110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) goto fail;
8111 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
8112 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8113 arg2 = (int)SWIG_As_int(obj1);
8114 if (PyErr_Occurred()) SWIG_fail;
8115 {
8116 PyThreadState* __tstate = wxPyBeginAllowThreads();
8117 (arg1)->SetDragStatus((wxSashDragStatus )arg2);
8118
8119 wxPyEndAllowThreads(__tstate);
8120 if (PyErr_Occurred()) SWIG_fail;
8121 }
8122 Py_INCREF(Py_None); resultobj = Py_None;
8123 return resultobj;
8124 fail:
8125 return NULL;
8126 }
8127
8128
8129 static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *, PyObject *args, PyObject *kwargs) {
8130 PyObject *resultobj;
8131 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
8132 int result;
8133 PyObject * obj0 = 0 ;
8134 char *kwnames[] = {
8135 (char *) "self", NULL
8136 };
8137
8138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail;
8139 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
8140 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8141 {
8142 PyThreadState* __tstate = wxPyBeginAllowThreads();
8143 result = (int)((wxSashEvent const *)arg1)->GetDragStatus();
8144
8145 wxPyEndAllowThreads(__tstate);
8146 if (PyErr_Occurred()) SWIG_fail;
8147 }
8148 resultobj = SWIG_From_int((int)result);
8149 return resultobj;
8150 fail:
8151 return NULL;
8152 }
8153
8154
8155 static PyObject * SashEvent_swigregister(PyObject *, PyObject *args) {
8156 PyObject *obj;
8157 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8158 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj);
8159 Py_INCREF(obj);
8160 return Py_BuildValue((char *)"");
8161 }
8162 static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *, PyObject *args, PyObject *kwargs) {
8163 PyObject *resultobj;
8164 int arg1 = (int) 0 ;
8165 wxQueryLayoutInfoEvent *result;
8166 PyObject * obj0 = 0 ;
8167 char *kwnames[] = {
8168 (char *) "id", NULL
8169 };
8170
8171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) goto fail;
8172 if (obj0) {
8173 arg1 = (int)SWIG_As_int(obj0);
8174 if (PyErr_Occurred()) SWIG_fail;
8175 }
8176 {
8177 PyThreadState* __tstate = wxPyBeginAllowThreads();
8178 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
8179
8180 wxPyEndAllowThreads(__tstate);
8181 if (PyErr_Occurred()) SWIG_fail;
8182 }
8183 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, 1);
8184 return resultobj;
8185 fail:
8186 return NULL;
8187 }
8188
8189
8190 static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *, PyObject *args, PyObject *kwargs) {
8191 PyObject *resultobj;
8192 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8193 int arg2 ;
8194 PyObject * obj0 = 0 ;
8195 PyObject * obj1 = 0 ;
8196 char *kwnames[] = {
8197 (char *) "self",(char *) "length", NULL
8198 };
8199
8200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) goto fail;
8201 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8202 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8203 arg2 = (int)SWIG_As_int(obj1);
8204 if (PyErr_Occurred()) SWIG_fail;
8205 {
8206 PyThreadState* __tstate = wxPyBeginAllowThreads();
8207 (arg1)->SetRequestedLength(arg2);
8208
8209 wxPyEndAllowThreads(__tstate);
8210 if (PyErr_Occurred()) SWIG_fail;
8211 }
8212 Py_INCREF(Py_None); resultobj = Py_None;
8213 return resultobj;
8214 fail:
8215 return NULL;
8216 }
8217
8218
8219 static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *, PyObject *args, PyObject *kwargs) {
8220 PyObject *resultobj;
8221 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8222 int result;
8223 PyObject * obj0 = 0 ;
8224 char *kwnames[] = {
8225 (char *) "self", NULL
8226 };
8227
8228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail;
8229 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8230 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8231 {
8232 PyThreadState* __tstate = wxPyBeginAllowThreads();
8233 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
8234
8235 wxPyEndAllowThreads(__tstate);
8236 if (PyErr_Occurred()) SWIG_fail;
8237 }
8238 resultobj = SWIG_From_int((int)result);
8239 return resultobj;
8240 fail:
8241 return NULL;
8242 }
8243
8244
8245 static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
8246 PyObject *resultobj;
8247 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8248 int arg2 ;
8249 PyObject * obj0 = 0 ;
8250 PyObject * obj1 = 0 ;
8251 char *kwnames[] = {
8252 (char *) "self",(char *) "flags", NULL
8253 };
8254
8255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
8256 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8257 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8258 arg2 = (int)SWIG_As_int(obj1);
8259 if (PyErr_Occurred()) SWIG_fail;
8260 {
8261 PyThreadState* __tstate = wxPyBeginAllowThreads();
8262 (arg1)->SetFlags(arg2);
8263
8264 wxPyEndAllowThreads(__tstate);
8265 if (PyErr_Occurred()) SWIG_fail;
8266 }
8267 Py_INCREF(Py_None); resultobj = Py_None;
8268 return resultobj;
8269 fail:
8270 return NULL;
8271 }
8272
8273
8274 static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
8275 PyObject *resultobj;
8276 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8277 int result;
8278 PyObject * obj0 = 0 ;
8279 char *kwnames[] = {
8280 (char *) "self", NULL
8281 };
8282
8283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail;
8284 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8285 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8286 {
8287 PyThreadState* __tstate = wxPyBeginAllowThreads();
8288 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
8289
8290 wxPyEndAllowThreads(__tstate);
8291 if (PyErr_Occurred()) SWIG_fail;
8292 }
8293 resultobj = SWIG_From_int((int)result);
8294 return resultobj;
8295 fail:
8296 return NULL;
8297 }
8298
8299
8300 static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
8301 PyObject *resultobj;
8302 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8303 wxSize *arg2 = 0 ;
8304 wxSize temp2 ;
8305 PyObject * obj0 = 0 ;
8306 PyObject * obj1 = 0 ;
8307 char *kwnames[] = {
8308 (char *) "self",(char *) "size", NULL
8309 };
8310
8311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
8312 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8313 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8314 {
8315 arg2 = &temp2;
8316 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
8317 }
8318 {
8319 PyThreadState* __tstate = wxPyBeginAllowThreads();
8320 (arg1)->SetSize((wxSize const &)*arg2);
8321
8322 wxPyEndAllowThreads(__tstate);
8323 if (PyErr_Occurred()) SWIG_fail;
8324 }
8325 Py_INCREF(Py_None); resultobj = Py_None;
8326 return resultobj;
8327 fail:
8328 return NULL;
8329 }
8330
8331
8332 static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
8333 PyObject *resultobj;
8334 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8335 wxSize result;
8336 PyObject * obj0 = 0 ;
8337 char *kwnames[] = {
8338 (char *) "self", NULL
8339 };
8340
8341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail;
8342 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8343 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8344 {
8345 PyThreadState* __tstate = wxPyBeginAllowThreads();
8346 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
8347
8348 wxPyEndAllowThreads(__tstate);
8349 if (PyErr_Occurred()) SWIG_fail;
8350 }
8351 {
8352 wxSize * resultptr;
8353 resultptr = new wxSize((wxSize &) result);
8354 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
8355 }
8356 return resultobj;
8357 fail:
8358 return NULL;
8359 }
8360
8361
8362 static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
8363 PyObject *resultobj;
8364 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8365 int arg2 ;
8366 PyObject * obj0 = 0 ;
8367 PyObject * obj1 = 0 ;
8368 char *kwnames[] = {
8369 (char *) "self",(char *) "orient", NULL
8370 };
8371
8372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
8373 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8374 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8375 arg2 = (int)SWIG_As_int(obj1);
8376 if (PyErr_Occurred()) SWIG_fail;
8377 {
8378 PyThreadState* __tstate = wxPyBeginAllowThreads();
8379 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
8380
8381 wxPyEndAllowThreads(__tstate);
8382 if (PyErr_Occurred()) SWIG_fail;
8383 }
8384 Py_INCREF(Py_None); resultobj = Py_None;
8385 return resultobj;
8386 fail:
8387 return NULL;
8388 }
8389
8390
8391 static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
8392 PyObject *resultobj;
8393 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8394 int result;
8395 PyObject * obj0 = 0 ;
8396 char *kwnames[] = {
8397 (char *) "self", NULL
8398 };
8399
8400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail;
8401 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8402 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8403 {
8404 PyThreadState* __tstate = wxPyBeginAllowThreads();
8405 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
8406
8407 wxPyEndAllowThreads(__tstate);
8408 if (PyErr_Occurred()) SWIG_fail;
8409 }
8410 resultobj = SWIG_From_int((int)result);
8411 return resultobj;
8412 fail:
8413 return NULL;
8414 }
8415
8416
8417 static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
8418 PyObject *resultobj;
8419 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8420 int arg2 ;
8421 PyObject * obj0 = 0 ;
8422 PyObject * obj1 = 0 ;
8423 char *kwnames[] = {
8424 (char *) "self",(char *) "align", NULL
8425 };
8426
8427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
8428 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8429 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8430 arg2 = (int)SWIG_As_int(obj1);
8431 if (PyErr_Occurred()) SWIG_fail;
8432 {
8433 PyThreadState* __tstate = wxPyBeginAllowThreads();
8434 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
8435
8436 wxPyEndAllowThreads(__tstate);
8437 if (PyErr_Occurred()) SWIG_fail;
8438 }
8439 Py_INCREF(Py_None); resultobj = Py_None;
8440 return resultobj;
8441 fail:
8442 return NULL;
8443 }
8444
8445
8446 static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
8447 PyObject *resultobj;
8448 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8449 int result;
8450 PyObject * obj0 = 0 ;
8451 char *kwnames[] = {
8452 (char *) "self", NULL
8453 };
8454
8455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail;
8456 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8457 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8458 {
8459 PyThreadState* __tstate = wxPyBeginAllowThreads();
8460 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
8461
8462 wxPyEndAllowThreads(__tstate);
8463 if (PyErr_Occurred()) SWIG_fail;
8464 }
8465 resultobj = SWIG_From_int((int)result);
8466 return resultobj;
8467 fail:
8468 return NULL;
8469 }
8470
8471
8472 static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *, PyObject *args) {
8473 PyObject *obj;
8474 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8475 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj);
8476 Py_INCREF(obj);
8477 return Py_BuildValue((char *)"");
8478 }
8479 static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *, PyObject *args, PyObject *kwargs) {
8480 PyObject *resultobj;
8481 int arg1 = (int) 0 ;
8482 wxCalculateLayoutEvent *result;
8483 PyObject * obj0 = 0 ;
8484 char *kwnames[] = {
8485 (char *) "id", NULL
8486 };
8487
8488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) goto fail;
8489 if (obj0) {
8490 arg1 = (int)SWIG_As_int(obj0);
8491 if (PyErr_Occurred()) SWIG_fail;
8492 }
8493 {
8494 PyThreadState* __tstate = wxPyBeginAllowThreads();
8495 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
8496
8497 wxPyEndAllowThreads(__tstate);
8498 if (PyErr_Occurred()) SWIG_fail;
8499 }
8500 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCalculateLayoutEvent, 1);
8501 return resultobj;
8502 fail:
8503 return NULL;
8504 }
8505
8506
8507 static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
8508 PyObject *resultobj;
8509 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
8510 int arg2 ;
8511 PyObject * obj0 = 0 ;
8512 PyObject * obj1 = 0 ;
8513 char *kwnames[] = {
8514 (char *) "self",(char *) "flags", NULL
8515 };
8516
8517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
8518 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
8519 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8520 arg2 = (int)SWIG_As_int(obj1);
8521 if (PyErr_Occurred()) SWIG_fail;
8522 {
8523 PyThreadState* __tstate = wxPyBeginAllowThreads();
8524 (arg1)->SetFlags(arg2);
8525
8526 wxPyEndAllowThreads(__tstate);
8527 if (PyErr_Occurred()) SWIG_fail;
8528 }
8529 Py_INCREF(Py_None); resultobj = Py_None;
8530 return resultobj;
8531 fail:
8532 return NULL;
8533 }
8534
8535
8536 static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
8537 PyObject *resultobj;
8538 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
8539 int result;
8540 PyObject * obj0 = 0 ;
8541 char *kwnames[] = {
8542 (char *) "self", NULL
8543 };
8544
8545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail;
8546 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
8547 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8548 {
8549 PyThreadState* __tstate = wxPyBeginAllowThreads();
8550 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
8551
8552 wxPyEndAllowThreads(__tstate);
8553 if (PyErr_Occurred()) SWIG_fail;
8554 }
8555 resultobj = SWIG_From_int((int)result);
8556 return resultobj;
8557 fail:
8558 return NULL;
8559 }
8560
8561
8562 static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *, PyObject *args, PyObject *kwargs) {
8563 PyObject *resultobj;
8564 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
8565 wxRect *arg2 = 0 ;
8566 wxRect temp2 ;
8567 PyObject * obj0 = 0 ;
8568 PyObject * obj1 = 0 ;
8569 char *kwnames[] = {
8570 (char *) "self",(char *) "rect", NULL
8571 };
8572
8573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
8574 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
8575 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8576 {
8577 arg2 = &temp2;
8578 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
8579 }
8580 {
8581 PyThreadState* __tstate = wxPyBeginAllowThreads();
8582 (arg1)->SetRect((wxRect const &)*arg2);
8583
8584 wxPyEndAllowThreads(__tstate);
8585 if (PyErr_Occurred()) SWIG_fail;
8586 }
8587 Py_INCREF(Py_None); resultobj = Py_None;
8588 return resultobj;
8589 fail:
8590 return NULL;
8591 }
8592
8593
8594 static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *, PyObject *args, PyObject *kwargs) {
8595 PyObject *resultobj;
8596 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
8597 wxRect result;
8598 PyObject * obj0 = 0 ;
8599 char *kwnames[] = {
8600 (char *) "self", NULL
8601 };
8602
8603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail;
8604 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
8605 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8606 {
8607 PyThreadState* __tstate = wxPyBeginAllowThreads();
8608 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
8609
8610 wxPyEndAllowThreads(__tstate);
8611 if (PyErr_Occurred()) SWIG_fail;
8612 }
8613 {
8614 wxRect * resultptr;
8615 resultptr = new wxRect((wxRect &) result);
8616 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
8617 }
8618 return resultobj;
8619 fail:
8620 return NULL;
8621 }
8622
8623
8624 static PyObject * CalculateLayoutEvent_swigregister(PyObject *, PyObject *args) {
8625 PyObject *obj;
8626 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8627 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj);
8628 Py_INCREF(obj);
8629 return Py_BuildValue((char *)"");
8630 }
8631 static PyObject *_wrap_new_SashLayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8632 PyObject *resultobj;
8633 wxWindow *arg1 = (wxWindow *) 0 ;
8634 int arg2 = (int) -1 ;
8635 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8636 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8637 wxSize const &arg4_defvalue = wxDefaultSize ;
8638 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8639 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
8640 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
8641 wxString *arg6 = (wxString *) &arg6_defvalue ;
8642 wxSashLayoutWindow *result;
8643 wxPoint temp3 ;
8644 wxSize temp4 ;
8645 bool temp6 = false ;
8646 PyObject * obj0 = 0 ;
8647 PyObject * obj1 = 0 ;
8648 PyObject * obj2 = 0 ;
8649 PyObject * obj3 = 0 ;
8650 PyObject * obj4 = 0 ;
8651 PyObject * obj5 = 0 ;
8652 char *kwnames[] = {
8653 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8654 };
8655
8656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
8657 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8658 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8659 if (obj1) {
8660 arg2 = (int)SWIG_As_int(obj1);
8661 if (PyErr_Occurred()) SWIG_fail;
8662 }
8663 if (obj2) {
8664 {
8665 arg3 = &temp3;
8666 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8667 }
8668 }
8669 if (obj3) {
8670 {
8671 arg4 = &temp4;
8672 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8673 }
8674 }
8675 if (obj4) {
8676 arg5 = (long)SWIG_As_long(obj4);
8677 if (PyErr_Occurred()) SWIG_fail;
8678 }
8679 if (obj5) {
8680 {
8681 arg6 = wxString_in_helper(obj5);
8682 if (arg6 == NULL) SWIG_fail;
8683 temp6 = true;
8684 }
8685 }
8686 {
8687 if (!wxPyCheckForApp()) SWIG_fail;
8688 PyThreadState* __tstate = wxPyBeginAllowThreads();
8689 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8690
8691 wxPyEndAllowThreads(__tstate);
8692 if (PyErr_Occurred()) SWIG_fail;
8693 }
8694 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
8695 {
8696 if (temp6)
8697 delete arg6;
8698 }
8699 return resultobj;
8700 fail:
8701 {
8702 if (temp6)
8703 delete arg6;
8704 }
8705 return NULL;
8706 }
8707
8708
8709 static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8710 PyObject *resultobj;
8711 wxSashLayoutWindow *result;
8712 char *kwnames[] = {
8713 NULL
8714 };
8715
8716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail;
8717 {
8718 if (!wxPyCheckForApp()) SWIG_fail;
8719 PyThreadState* __tstate = wxPyBeginAllowThreads();
8720 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
8721
8722 wxPyEndAllowThreads(__tstate);
8723 if (PyErr_Occurred()) SWIG_fail;
8724 }
8725 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
8726 return resultobj;
8727 fail:
8728 return NULL;
8729 }
8730
8731
8732 static PyObject *_wrap_SashLayoutWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
8733 PyObject *resultobj;
8734 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8735 wxWindow *arg2 = (wxWindow *) 0 ;
8736 int arg3 = (int) -1 ;
8737 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8738 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8739 wxSize const &arg5_defvalue = wxDefaultSize ;
8740 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8741 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
8742 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
8743 wxString *arg7 = (wxString *) &arg7_defvalue ;
8744 bool result;
8745 wxPoint temp4 ;
8746 wxSize temp5 ;
8747 bool temp7 = false ;
8748 PyObject * obj0 = 0 ;
8749 PyObject * obj1 = 0 ;
8750 PyObject * obj2 = 0 ;
8751 PyObject * obj3 = 0 ;
8752 PyObject * obj4 = 0 ;
8753 PyObject * obj5 = 0 ;
8754 PyObject * obj6 = 0 ;
8755 char *kwnames[] = {
8756 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8757 };
8758
8759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
8760 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8761 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8762 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8763 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8764 if (obj2) {
8765 arg3 = (int)SWIG_As_int(obj2);
8766 if (PyErr_Occurred()) SWIG_fail;
8767 }
8768 if (obj3) {
8769 {
8770 arg4 = &temp4;
8771 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8772 }
8773 }
8774 if (obj4) {
8775 {
8776 arg5 = &temp5;
8777 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8778 }
8779 }
8780 if (obj5) {
8781 arg6 = (long)SWIG_As_long(obj5);
8782 if (PyErr_Occurred()) SWIG_fail;
8783 }
8784 if (obj6) {
8785 {
8786 arg7 = wxString_in_helper(obj6);
8787 if (arg7 == NULL) SWIG_fail;
8788 temp7 = true;
8789 }
8790 }
8791 {
8792 PyThreadState* __tstate = wxPyBeginAllowThreads();
8793 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8794
8795 wxPyEndAllowThreads(__tstate);
8796 if (PyErr_Occurred()) SWIG_fail;
8797 }
8798 {
8799 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8800 }
8801 {
8802 if (temp7)
8803 delete arg7;
8804 }
8805 return resultobj;
8806 fail:
8807 {
8808 if (temp7)
8809 delete arg7;
8810 }
8811 return NULL;
8812 }
8813
8814
8815 static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
8816 PyObject *resultobj;
8817 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8818 int result;
8819 PyObject * obj0 = 0 ;
8820 char *kwnames[] = {
8821 (char *) "self", NULL
8822 };
8823
8824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail;
8825 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8826 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8827 {
8828 PyThreadState* __tstate = wxPyBeginAllowThreads();
8829 result = (int)(arg1)->GetAlignment();
8830
8831 wxPyEndAllowThreads(__tstate);
8832 if (PyErr_Occurred()) SWIG_fail;
8833 }
8834 resultobj = SWIG_From_int((int)result);
8835 return resultobj;
8836 fail:
8837 return NULL;
8838 }
8839
8840
8841 static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
8842 PyObject *resultobj;
8843 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8844 int result;
8845 PyObject * obj0 = 0 ;
8846 char *kwnames[] = {
8847 (char *) "self", NULL
8848 };
8849
8850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail;
8851 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8852 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8853 {
8854 PyThreadState* __tstate = wxPyBeginAllowThreads();
8855 result = (int)(arg1)->GetOrientation();
8856
8857 wxPyEndAllowThreads(__tstate);
8858 if (PyErr_Occurred()) SWIG_fail;
8859 }
8860 resultobj = SWIG_From_int((int)result);
8861 return resultobj;
8862 fail:
8863 return NULL;
8864 }
8865
8866
8867 static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
8868 PyObject *resultobj;
8869 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8870 int arg2 ;
8871 PyObject * obj0 = 0 ;
8872 PyObject * obj1 = 0 ;
8873 char *kwnames[] = {
8874 (char *) "self",(char *) "alignment", NULL
8875 };
8876
8877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
8878 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8879 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8880 arg2 = (int)SWIG_As_int(obj1);
8881 if (PyErr_Occurred()) SWIG_fail;
8882 {
8883 PyThreadState* __tstate = wxPyBeginAllowThreads();
8884 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
8885
8886 wxPyEndAllowThreads(__tstate);
8887 if (PyErr_Occurred()) SWIG_fail;
8888 }
8889 Py_INCREF(Py_None); resultobj = Py_None;
8890 return resultobj;
8891 fail:
8892 return NULL;
8893 }
8894
8895
8896 static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) {
8897 PyObject *resultobj;
8898 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8899 wxSize *arg2 = 0 ;
8900 wxSize temp2 ;
8901 PyObject * obj0 = 0 ;
8902 PyObject * obj1 = 0 ;
8903 char *kwnames[] = {
8904 (char *) "self",(char *) "size", NULL
8905 };
8906
8907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail;
8908 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8909 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8910 {
8911 arg2 = &temp2;
8912 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
8913 }
8914 {
8915 PyThreadState* __tstate = wxPyBeginAllowThreads();
8916 (arg1)->SetDefaultSize((wxSize const &)*arg2);
8917
8918 wxPyEndAllowThreads(__tstate);
8919 if (PyErr_Occurred()) SWIG_fail;
8920 }
8921 Py_INCREF(Py_None); resultobj = Py_None;
8922 return resultobj;
8923 fail:
8924 return NULL;
8925 }
8926
8927
8928 static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
8929 PyObject *resultobj;
8930 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8931 int arg2 ;
8932 PyObject * obj0 = 0 ;
8933 PyObject * obj1 = 0 ;
8934 char *kwnames[] = {
8935 (char *) "self",(char *) "orientation", NULL
8936 };
8937
8938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
8939 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8940 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8941 arg2 = (int)SWIG_As_int(obj1);
8942 if (PyErr_Occurred()) SWIG_fail;
8943 {
8944 PyThreadState* __tstate = wxPyBeginAllowThreads();
8945 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
8946
8947 wxPyEndAllowThreads(__tstate);
8948 if (PyErr_Occurred()) SWIG_fail;
8949 }
8950 Py_INCREF(Py_None); resultobj = Py_None;
8951 return resultobj;
8952 fail:
8953 return NULL;
8954 }
8955
8956
8957 static PyObject * SashLayoutWindow_swigregister(PyObject *, PyObject *args) {
8958 PyObject *obj;
8959 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8960 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj);
8961 Py_INCREF(obj);
8962 return Py_BuildValue((char *)"");
8963 }
8964 static PyObject *_wrap_new_LayoutAlgorithm(PyObject *, PyObject *args, PyObject *kwargs) {
8965 PyObject *resultobj;
8966 wxLayoutAlgorithm *result;
8967 char *kwnames[] = {
8968 NULL
8969 };
8970
8971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail;
8972 {
8973 PyThreadState* __tstate = wxPyBeginAllowThreads();
8974 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
8975
8976 wxPyEndAllowThreads(__tstate);
8977 if (PyErr_Occurred()) SWIG_fail;
8978 }
8979 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutAlgorithm, 1);
8980 return resultobj;
8981 fail:
8982 return NULL;
8983 }
8984
8985
8986 static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *, PyObject *args, PyObject *kwargs) {
8987 PyObject *resultobj;
8988 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8989 PyObject * obj0 = 0 ;
8990 char *kwnames[] = {
8991 (char *) "self", NULL
8992 };
8993
8994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail;
8995 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8996 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8997 {
8998 PyThreadState* __tstate = wxPyBeginAllowThreads();
8999 delete arg1;
9000
9001 wxPyEndAllowThreads(__tstate);
9002 if (PyErr_Occurred()) SWIG_fail;
9003 }
9004 Py_INCREF(Py_None); resultobj = Py_None;
9005 return resultobj;
9006 fail:
9007 return NULL;
9008 }
9009
9010
9011 static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *, PyObject *args, PyObject *kwargs) {
9012 PyObject *resultobj;
9013 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
9014 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
9015 wxRect *arg3 = (wxRect *) NULL ;
9016 bool result;
9017 PyObject * obj0 = 0 ;
9018 PyObject * obj1 = 0 ;
9019 PyObject * obj2 = 0 ;
9020 char *kwnames[] = {
9021 (char *) "self",(char *) "frame",(char *) "rect", NULL
9022 };
9023
9024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
9025 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
9026 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9027 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
9028 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9029 if (obj2) {
9030 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxRect,
9031 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9032 }
9033 {
9034 PyThreadState* __tstate = wxPyBeginAllowThreads();
9035 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
9036
9037 wxPyEndAllowThreads(__tstate);
9038 if (PyErr_Occurred()) SWIG_fail;
9039 }
9040 {
9041 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9042 }
9043 return resultobj;
9044 fail:
9045 return NULL;
9046 }
9047
9048
9049 static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *, PyObject *args, PyObject *kwargs) {
9050 PyObject *resultobj;
9051 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
9052 wxFrame *arg2 = (wxFrame *) 0 ;
9053 wxWindow *arg3 = (wxWindow *) NULL ;
9054 bool result;
9055 PyObject * obj0 = 0 ;
9056 PyObject * obj1 = 0 ;
9057 PyObject * obj2 = 0 ;
9058 char *kwnames[] = {
9059 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
9060 };
9061
9062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
9063 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
9064 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9065 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
9066 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9067 if (obj2) {
9068 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
9069 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9070 }
9071 {
9072 PyThreadState* __tstate = wxPyBeginAllowThreads();
9073 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
9074
9075 wxPyEndAllowThreads(__tstate);
9076 if (PyErr_Occurred()) SWIG_fail;
9077 }
9078 {
9079 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9080 }
9081 return resultobj;
9082 fail:
9083 return NULL;
9084 }
9085
9086
9087 static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
9088 PyObject *resultobj;
9089 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
9090 wxWindow *arg2 = (wxWindow *) 0 ;
9091 wxWindow *arg3 = (wxWindow *) NULL ;
9092 bool result;
9093 PyObject * obj0 = 0 ;
9094 PyObject * obj1 = 0 ;
9095 PyObject * obj2 = 0 ;
9096 char *kwnames[] = {
9097 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
9098 };
9099
9100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
9101 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
9102 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9103 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
9104 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9105 if (obj2) {
9106 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
9107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9108 }
9109 {
9110 PyThreadState* __tstate = wxPyBeginAllowThreads();
9111 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
9112
9113 wxPyEndAllowThreads(__tstate);
9114 if (PyErr_Occurred()) SWIG_fail;
9115 }
9116 {
9117 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9118 }
9119 return resultobj;
9120 fail:
9121 return NULL;
9122 }
9123
9124
9125 static PyObject * LayoutAlgorithm_swigregister(PyObject *, PyObject *args) {
9126 PyObject *obj;
9127 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9128 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj);
9129 Py_INCREF(obj);
9130 return Py_BuildValue((char *)"");
9131 }
9132 static PyObject *_wrap_new_PopupWindow(PyObject *, PyObject *args, PyObject *kwargs) {
9133 PyObject *resultobj;
9134 wxWindow *arg1 = (wxWindow *) 0 ;
9135 int arg2 = (int) wxBORDER_NONE ;
9136 wxPopupWindow *result;
9137 PyObject * obj0 = 0 ;
9138 PyObject * obj1 = 0 ;
9139 char *kwnames[] = {
9140 (char *) "parent",(char *) "flags", NULL
9141 };
9142
9143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) goto fail;
9144 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9145 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9146 if (obj1) {
9147 arg2 = (int)SWIG_As_int(obj1);
9148 if (PyErr_Occurred()) SWIG_fail;
9149 }
9150 {
9151 PyThreadState* __tstate = wxPyBeginAllowThreads();
9152 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
9153
9154 wxPyEndAllowThreads(__tstate);
9155 if (PyErr_Occurred()) SWIG_fail;
9156 }
9157 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
9158 return resultobj;
9159 fail:
9160 return NULL;
9161 }
9162
9163
9164 static PyObject *_wrap_new_PrePopupWindow(PyObject *, PyObject *args, PyObject *kwargs) {
9165 PyObject *resultobj;
9166 wxPopupWindow *result;
9167 char *kwnames[] = {
9168 NULL
9169 };
9170
9171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail;
9172 {
9173 PyThreadState* __tstate = wxPyBeginAllowThreads();
9174 result = (wxPopupWindow *)new wxPopupWindow();
9175
9176 wxPyEndAllowThreads(__tstate);
9177 if (PyErr_Occurred()) SWIG_fail;
9178 }
9179 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
9180 return resultobj;
9181 fail:
9182 return NULL;
9183 }
9184
9185
9186 static PyObject * PopupWindow_swigregister(PyObject *, PyObject *args) {
9187 PyObject *obj;
9188 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9189 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj);
9190 Py_INCREF(obj);
9191 return Py_BuildValue((char *)"");
9192 }
9193 static PyObject *_wrap_new_PopupTransientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
9194 PyObject *resultobj;
9195 wxWindow *arg1 = (wxWindow *) 0 ;
9196 int arg2 = (int) wxBORDER_NONE ;
9197 wxPyPopupTransientWindow *result;
9198 PyObject * obj0 = 0 ;
9199 PyObject * obj1 = 0 ;
9200 char *kwnames[] = {
9201 (char *) "parent",(char *) "style", NULL
9202 };
9203
9204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) goto fail;
9205 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9206 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9207 if (obj1) {
9208 arg2 = (int)SWIG_As_int(obj1);
9209 if (PyErr_Occurred()) SWIG_fail;
9210 }
9211 {
9212 PyThreadState* __tstate = wxPyBeginAllowThreads();
9213 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
9214
9215 wxPyEndAllowThreads(__tstate);
9216 if (PyErr_Occurred()) SWIG_fail;
9217 }
9218 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
9219 return resultobj;
9220 fail:
9221 return NULL;
9222 }
9223
9224
9225 static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
9226 PyObject *resultobj;
9227 wxPyPopupTransientWindow *result;
9228 char *kwnames[] = {
9229 NULL
9230 };
9231
9232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail;
9233 {
9234 PyThreadState* __tstate = wxPyBeginAllowThreads();
9235 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
9236
9237 wxPyEndAllowThreads(__tstate);
9238 if (PyErr_Occurred()) SWIG_fail;
9239 }
9240 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
9241 return resultobj;
9242 fail:
9243 return NULL;
9244 }
9245
9246
9247 static PyObject * PopupTransientWindow_swigregister(PyObject *, PyObject *args) {
9248 PyObject *obj;
9249 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9250 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj);
9251 Py_INCREF(obj);
9252 return Py_BuildValue((char *)"");
9253 }
9254 static PyObject *_wrap_new_TipWindow(PyObject *, PyObject *args, PyObject *kwargs) {
9255 PyObject *resultobj;
9256 wxWindow *arg1 = (wxWindow *) 0 ;
9257 wxString *arg2 = 0 ;
9258 int arg3 = (int) 100 ;
9259 wxRect *arg4 = (wxRect *) NULL ;
9260 wxTipWindow *result;
9261 bool temp2 = false ;
9262 PyObject * obj0 = 0 ;
9263 PyObject * obj1 = 0 ;
9264 PyObject * obj2 = 0 ;
9265 PyObject * obj3 = 0 ;
9266 char *kwnames[] = {
9267 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
9268 };
9269
9270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9271 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9272 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9273 {
9274 arg2 = wxString_in_helper(obj1);
9275 if (arg2 == NULL) SWIG_fail;
9276 temp2 = true;
9277 }
9278 if (obj2) {
9279 arg3 = (int)SWIG_As_int(obj2);
9280 if (PyErr_Occurred()) SWIG_fail;
9281 }
9282 if (obj3) {
9283 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxRect,
9284 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9285 }
9286 {
9287 if (!wxPyCheckForApp()) SWIG_fail;
9288 PyThreadState* __tstate = wxPyBeginAllowThreads();
9289 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
9290
9291 wxPyEndAllowThreads(__tstate);
9292 if (PyErr_Occurred()) SWIG_fail;
9293 }
9294 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTipWindow, 1);
9295 {
9296 if (temp2)
9297 delete arg2;
9298 }
9299 return resultobj;
9300 fail:
9301 {
9302 if (temp2)
9303 delete arg2;
9304 }
9305 return NULL;
9306 }
9307
9308
9309 static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *, PyObject *args, PyObject *kwargs) {
9310 PyObject *resultobj;
9311 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
9312 wxRect *arg2 = 0 ;
9313 wxRect temp2 ;
9314 PyObject * obj0 = 0 ;
9315 PyObject * obj1 = 0 ;
9316 char *kwnames[] = {
9317 (char *) "self",(char *) "rectBound", NULL
9318 };
9319
9320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail;
9321 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow,
9322 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9323 {
9324 arg2 = &temp2;
9325 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
9326 }
9327 {
9328 PyThreadState* __tstate = wxPyBeginAllowThreads();
9329 (arg1)->SetBoundingRect((wxRect const &)*arg2);
9330
9331 wxPyEndAllowThreads(__tstate);
9332 if (PyErr_Occurred()) SWIG_fail;
9333 }
9334 Py_INCREF(Py_None); resultobj = Py_None;
9335 return resultobj;
9336 fail:
9337 return NULL;
9338 }
9339
9340
9341 static PyObject *_wrap_TipWindow_Close(PyObject *, PyObject *args, PyObject *kwargs) {
9342 PyObject *resultobj;
9343 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
9344 PyObject * obj0 = 0 ;
9345 char *kwnames[] = {
9346 (char *) "self", NULL
9347 };
9348
9349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail;
9350 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow,
9351 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9352 {
9353 PyThreadState* __tstate = wxPyBeginAllowThreads();
9354 (arg1)->Close();
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 * TipWindow_swigregister(PyObject *, PyObject *args) {
9367 PyObject *obj;
9368 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9369 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj);
9370 Py_INCREF(obj);
9371 return Py_BuildValue((char *)"");
9372 }
9373 static PyObject *_wrap_new_VScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
9374 PyObject *resultobj;
9375 wxWindow *arg1 = (wxWindow *) 0 ;
9376 int arg2 = (int) wxID_ANY ;
9377 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9378 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9379 wxSize const &arg4_defvalue = wxDefaultSize ;
9380 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9381 long arg5 = (long) 0 ;
9382 wxString const &arg6_defvalue = wxPyPanelNameStr ;
9383 wxString *arg6 = (wxString *) &arg6_defvalue ;
9384 wxPyVScrolledWindow *result;
9385 wxPoint temp3 ;
9386 wxSize temp4 ;
9387 bool temp6 = false ;
9388 PyObject * obj0 = 0 ;
9389 PyObject * obj1 = 0 ;
9390 PyObject * obj2 = 0 ;
9391 PyObject * obj3 = 0 ;
9392 PyObject * obj4 = 0 ;
9393 PyObject * obj5 = 0 ;
9394 char *kwnames[] = {
9395 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9396 };
9397
9398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9399 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9400 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9401 if (obj1) {
9402 arg2 = (int)SWIG_As_int(obj1);
9403 if (PyErr_Occurred()) SWIG_fail;
9404 }
9405 if (obj2) {
9406 {
9407 arg3 = &temp3;
9408 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9409 }
9410 }
9411 if (obj3) {
9412 {
9413 arg4 = &temp4;
9414 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9415 }
9416 }
9417 if (obj4) {
9418 arg5 = (long)SWIG_As_long(obj4);
9419 if (PyErr_Occurred()) SWIG_fail;
9420 }
9421 if (obj5) {
9422 {
9423 arg6 = wxString_in_helper(obj5);
9424 if (arg6 == NULL) SWIG_fail;
9425 temp6 = true;
9426 }
9427 }
9428 {
9429 if (!wxPyCheckForApp()) SWIG_fail;
9430 PyThreadState* __tstate = wxPyBeginAllowThreads();
9431 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9432
9433 wxPyEndAllowThreads(__tstate);
9434 if (PyErr_Occurred()) SWIG_fail;
9435 }
9436 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
9437 {
9438 if (temp6)
9439 delete arg6;
9440 }
9441 return resultobj;
9442 fail:
9443 {
9444 if (temp6)
9445 delete arg6;
9446 }
9447 return NULL;
9448 }
9449
9450
9451 static PyObject *_wrap_new_PreVScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
9452 PyObject *resultobj;
9453 wxPyVScrolledWindow *result;
9454 char *kwnames[] = {
9455 NULL
9456 };
9457
9458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail;
9459 {
9460 if (!wxPyCheckForApp()) SWIG_fail;
9461 PyThreadState* __tstate = wxPyBeginAllowThreads();
9462 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
9463
9464 wxPyEndAllowThreads(__tstate);
9465 if (PyErr_Occurred()) SWIG_fail;
9466 }
9467 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
9468 return resultobj;
9469 fail:
9470 return NULL;
9471 }
9472
9473
9474 static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
9475 PyObject *resultobj;
9476 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9477 PyObject *arg2 = (PyObject *) 0 ;
9478 PyObject *arg3 = (PyObject *) 0 ;
9479 PyObject * obj0 = 0 ;
9480 PyObject * obj1 = 0 ;
9481 PyObject * obj2 = 0 ;
9482 char *kwnames[] = {
9483 (char *) "self",(char *) "self",(char *) "_class", NULL
9484 };
9485
9486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
9487 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9488 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9489 arg2 = obj1;
9490 arg3 = obj2;
9491 {
9492 PyThreadState* __tstate = wxPyBeginAllowThreads();
9493 (arg1)->_setCallbackInfo(arg2,arg3);
9494
9495 wxPyEndAllowThreads(__tstate);
9496 if (PyErr_Occurred()) SWIG_fail;
9497 }
9498 Py_INCREF(Py_None); resultobj = Py_None;
9499 return resultobj;
9500 fail:
9501 return NULL;
9502 }
9503
9504
9505 static PyObject *_wrap_VScrolledWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
9506 PyObject *resultobj;
9507 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9508 wxWindow *arg2 = (wxWindow *) 0 ;
9509 int arg3 = (int) wxID_ANY ;
9510 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9511 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9512 wxSize const &arg5_defvalue = wxDefaultSize ;
9513 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9514 long arg6 = (long) 0 ;
9515 wxString const &arg7_defvalue = wxPyPanelNameStr ;
9516 wxString *arg7 = (wxString *) &arg7_defvalue ;
9517 bool result;
9518 wxPoint temp4 ;
9519 wxSize temp5 ;
9520 bool temp7 = false ;
9521 PyObject * obj0 = 0 ;
9522 PyObject * obj1 = 0 ;
9523 PyObject * obj2 = 0 ;
9524 PyObject * obj3 = 0 ;
9525 PyObject * obj4 = 0 ;
9526 PyObject * obj5 = 0 ;
9527 PyObject * obj6 = 0 ;
9528 char *kwnames[] = {
9529 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9530 };
9531
9532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
9533 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9534 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9535 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
9536 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9537 if (obj2) {
9538 arg3 = (int)SWIG_As_int(obj2);
9539 if (PyErr_Occurred()) SWIG_fail;
9540 }
9541 if (obj3) {
9542 {
9543 arg4 = &temp4;
9544 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9545 }
9546 }
9547 if (obj4) {
9548 {
9549 arg5 = &temp5;
9550 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9551 }
9552 }
9553 if (obj5) {
9554 arg6 = (long)SWIG_As_long(obj5);
9555 if (PyErr_Occurred()) SWIG_fail;
9556 }
9557 if (obj6) {
9558 {
9559 arg7 = wxString_in_helper(obj6);
9560 if (arg7 == NULL) SWIG_fail;
9561 temp7 = true;
9562 }
9563 }
9564 {
9565 PyThreadState* __tstate = wxPyBeginAllowThreads();
9566 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9567
9568 wxPyEndAllowThreads(__tstate);
9569 if (PyErr_Occurred()) SWIG_fail;
9570 }
9571 {
9572 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9573 }
9574 {
9575 if (temp7)
9576 delete arg7;
9577 }
9578 return resultobj;
9579 fail:
9580 {
9581 if (temp7)
9582 delete arg7;
9583 }
9584 return NULL;
9585 }
9586
9587
9588 static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *, PyObject *args, PyObject *kwargs) {
9589 PyObject *resultobj;
9590 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9591 size_t arg2 ;
9592 PyObject * obj0 = 0 ;
9593 PyObject * obj1 = 0 ;
9594 char *kwnames[] = {
9595 (char *) "self",(char *) "count", NULL
9596 };
9597
9598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) goto fail;
9599 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9600 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9601 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
9602 if (PyErr_Occurred()) SWIG_fail;
9603 {
9604 PyThreadState* __tstate = wxPyBeginAllowThreads();
9605 (arg1)->SetLineCount(arg2);
9606
9607 wxPyEndAllowThreads(__tstate);
9608 if (PyErr_Occurred()) SWIG_fail;
9609 }
9610 Py_INCREF(Py_None); resultobj = Py_None;
9611 return resultobj;
9612 fail:
9613 return NULL;
9614 }
9615
9616
9617 static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *, PyObject *args, PyObject *kwargs) {
9618 PyObject *resultobj;
9619 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9620 size_t arg2 ;
9621 bool result;
9622 PyObject * obj0 = 0 ;
9623 PyObject * obj1 = 0 ;
9624 char *kwnames[] = {
9625 (char *) "self",(char *) "line", NULL
9626 };
9627
9628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail;
9629 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9630 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9631 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
9632 if (PyErr_Occurred()) SWIG_fail;
9633 {
9634 PyThreadState* __tstate = wxPyBeginAllowThreads();
9635 result = (bool)(arg1)->ScrollToLine(arg2);
9636
9637 wxPyEndAllowThreads(__tstate);
9638 if (PyErr_Occurred()) SWIG_fail;
9639 }
9640 {
9641 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9642 }
9643 return resultobj;
9644 fail:
9645 return NULL;
9646 }
9647
9648
9649 static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *, PyObject *args, PyObject *kwargs) {
9650 PyObject *resultobj;
9651 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9652 int arg2 ;
9653 bool result;
9654 PyObject * obj0 = 0 ;
9655 PyObject * obj1 = 0 ;
9656 char *kwnames[] = {
9657 (char *) "self",(char *) "lines", NULL
9658 };
9659
9660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollLines",kwnames,&obj0,&obj1)) goto fail;
9661 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9662 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9663 arg2 = (int)SWIG_As_int(obj1);
9664 if (PyErr_Occurred()) SWIG_fail;
9665 {
9666 PyThreadState* __tstate = wxPyBeginAllowThreads();
9667 result = (bool)(arg1)->ScrollLines(arg2);
9668
9669 wxPyEndAllowThreads(__tstate);
9670 if (PyErr_Occurred()) SWIG_fail;
9671 }
9672 {
9673 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9674 }
9675 return resultobj;
9676 fail:
9677 return NULL;
9678 }
9679
9680
9681 static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *, PyObject *args, PyObject *kwargs) {
9682 PyObject *resultobj;
9683 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9684 int arg2 ;
9685 bool result;
9686 PyObject * obj0 = 0 ;
9687 PyObject * obj1 = 0 ;
9688 char *kwnames[] = {
9689 (char *) "self",(char *) "pages", NULL
9690 };
9691
9692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollPages",kwnames,&obj0,&obj1)) goto fail;
9693 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9694 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9695 arg2 = (int)SWIG_As_int(obj1);
9696 if (PyErr_Occurred()) SWIG_fail;
9697 {
9698 PyThreadState* __tstate = wxPyBeginAllowThreads();
9699 result = (bool)(arg1)->ScrollPages(arg2);
9700
9701 wxPyEndAllowThreads(__tstate);
9702 if (PyErr_Occurred()) SWIG_fail;
9703 }
9704 {
9705 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9706 }
9707 return resultobj;
9708 fail:
9709 return NULL;
9710 }
9711
9712
9713 static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *, PyObject *args, PyObject *kwargs) {
9714 PyObject *resultobj;
9715 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9716 size_t arg2 ;
9717 PyObject * obj0 = 0 ;
9718 PyObject * obj1 = 0 ;
9719 char *kwnames[] = {
9720 (char *) "self",(char *) "line", NULL
9721 };
9722
9723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail;
9724 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9725 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9726 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
9727 if (PyErr_Occurred()) SWIG_fail;
9728 {
9729 PyThreadState* __tstate = wxPyBeginAllowThreads();
9730 (arg1)->RefreshLine(arg2);
9731
9732 wxPyEndAllowThreads(__tstate);
9733 if (PyErr_Occurred()) SWIG_fail;
9734 }
9735 Py_INCREF(Py_None); resultobj = Py_None;
9736 return resultobj;
9737 fail:
9738 return NULL;
9739 }
9740
9741
9742 static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *, PyObject *args, PyObject *kwargs) {
9743 PyObject *resultobj;
9744 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9745 size_t arg2 ;
9746 size_t arg3 ;
9747 PyObject * obj0 = 0 ;
9748 PyObject * obj1 = 0 ;
9749 PyObject * obj2 = 0 ;
9750 char *kwnames[] = {
9751 (char *) "self",(char *) "from",(char *) "to", NULL
9752 };
9753
9754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
9755 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9756 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9757 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
9758 if (PyErr_Occurred()) SWIG_fail;
9759 arg3 = (size_t)SWIG_As_unsigned_SS_long(obj2);
9760 if (PyErr_Occurred()) SWIG_fail;
9761 {
9762 PyThreadState* __tstate = wxPyBeginAllowThreads();
9763 (arg1)->RefreshLines(arg2,arg3);
9764
9765 wxPyEndAllowThreads(__tstate);
9766 if (PyErr_Occurred()) SWIG_fail;
9767 }
9768 Py_INCREF(Py_None); resultobj = Py_None;
9769 return resultobj;
9770 fail:
9771 return NULL;
9772 }
9773
9774
9775 static PyObject *_wrap_VScrolledWindow_HitTestXY(PyObject *, PyObject *args, PyObject *kwargs) {
9776 PyObject *resultobj;
9777 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9778 int arg2 ;
9779 int arg3 ;
9780 int result;
9781 PyObject * obj0 = 0 ;
9782 PyObject * obj1 = 0 ;
9783 PyObject * obj2 = 0 ;
9784 char *kwnames[] = {
9785 (char *) "self",(char *) "x",(char *) "y", NULL
9786 };
9787
9788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
9789 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9790 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9791 arg2 = (int)SWIG_As_int(obj1);
9792 if (PyErr_Occurred()) SWIG_fail;
9793 arg3 = (int)SWIG_As_int(obj2);
9794 if (PyErr_Occurred()) SWIG_fail;
9795 {
9796 PyThreadState* __tstate = wxPyBeginAllowThreads();
9797 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
9798
9799 wxPyEndAllowThreads(__tstate);
9800 if (PyErr_Occurred()) SWIG_fail;
9801 }
9802 resultobj = SWIG_From_int((int)result);
9803 return resultobj;
9804 fail:
9805 return NULL;
9806 }
9807
9808
9809 static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
9810 PyObject *resultobj;
9811 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9812 wxPoint *arg2 = 0 ;
9813 int result;
9814 wxPoint temp2 ;
9815 PyObject * obj0 = 0 ;
9816 PyObject * obj1 = 0 ;
9817 char *kwnames[] = {
9818 (char *) "self",(char *) "pt", NULL
9819 };
9820
9821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail;
9822 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9823 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9824 {
9825 arg2 = &temp2;
9826 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9827 }
9828 {
9829 PyThreadState* __tstate = wxPyBeginAllowThreads();
9830 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
9831
9832 wxPyEndAllowThreads(__tstate);
9833 if (PyErr_Occurred()) SWIG_fail;
9834 }
9835 resultobj = SWIG_From_int((int)result);
9836 return resultobj;
9837 fail:
9838 return NULL;
9839 }
9840
9841
9842 static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *, PyObject *args, PyObject *kwargs) {
9843 PyObject *resultobj;
9844 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9845 PyObject * obj0 = 0 ;
9846 char *kwnames[] = {
9847 (char *) "self", NULL
9848 };
9849
9850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail;
9851 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9852 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9853 {
9854 PyThreadState* __tstate = wxPyBeginAllowThreads();
9855 (arg1)->RefreshAll();
9856
9857 wxPyEndAllowThreads(__tstate);
9858 if (PyErr_Occurred()) SWIG_fail;
9859 }
9860 Py_INCREF(Py_None); resultobj = Py_None;
9861 return resultobj;
9862 fail:
9863 return NULL;
9864 }
9865
9866
9867 static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *, PyObject *args, PyObject *kwargs) {
9868 PyObject *resultobj;
9869 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9870 size_t result;
9871 PyObject * obj0 = 0 ;
9872 char *kwnames[] = {
9873 (char *) "self", NULL
9874 };
9875
9876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail;
9877 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9878 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9879 {
9880 PyThreadState* __tstate = wxPyBeginAllowThreads();
9881 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
9882
9883 wxPyEndAllowThreads(__tstate);
9884 if (PyErr_Occurred()) SWIG_fail;
9885 }
9886 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
9887 return resultobj;
9888 fail:
9889 return NULL;
9890 }
9891
9892
9893 static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) {
9894 PyObject *resultobj;
9895 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9896 size_t result;
9897 PyObject * obj0 = 0 ;
9898 char *kwnames[] = {
9899 (char *) "self", NULL
9900 };
9901
9902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
9903 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9904 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9905 {
9906 PyThreadState* __tstate = wxPyBeginAllowThreads();
9907 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
9908
9909 wxPyEndAllowThreads(__tstate);
9910 if (PyErr_Occurred()) SWIG_fail;
9911 }
9912 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
9913 return resultobj;
9914 fail:
9915 return NULL;
9916 }
9917
9918
9919 static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) {
9920 PyObject *resultobj;
9921 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9922 size_t result;
9923 PyObject * obj0 = 0 ;
9924 char *kwnames[] = {
9925 (char *) "self", NULL
9926 };
9927
9928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail;
9929 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9930 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9931 {
9932 PyThreadState* __tstate = wxPyBeginAllowThreads();
9933 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
9934
9935 wxPyEndAllowThreads(__tstate);
9936 if (PyErr_Occurred()) SWIG_fail;
9937 }
9938 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
9939 return resultobj;
9940 fail:
9941 return NULL;
9942 }
9943
9944
9945 static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) {
9946 PyObject *resultobj;
9947 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9948 size_t arg2 ;
9949 bool result;
9950 PyObject * obj0 = 0 ;
9951 PyObject * obj1 = 0 ;
9952 char *kwnames[] = {
9953 (char *) "self",(char *) "line", NULL
9954 };
9955
9956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail;
9957 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9958 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9959 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
9960 if (PyErr_Occurred()) SWIG_fail;
9961 {
9962 PyThreadState* __tstate = wxPyBeginAllowThreads();
9963 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
9964
9965 wxPyEndAllowThreads(__tstate);
9966 if (PyErr_Occurred()) SWIG_fail;
9967 }
9968 {
9969 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9970 }
9971 return resultobj;
9972 fail:
9973 return NULL;
9974 }
9975
9976
9977 static PyObject * VScrolledWindow_swigregister(PyObject *, PyObject *args) {
9978 PyObject *obj;
9979 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9980 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj);
9981 Py_INCREF(obj);
9982 return Py_BuildValue((char *)"");
9983 }
9984 static int _wrap_VListBoxNameStr_set(PyObject *) {
9985 PyErr_SetString(PyExc_TypeError,"Variable VListBoxNameStr is read-only.");
9986 return 1;
9987 }
9988
9989
9990 static PyObject *_wrap_VListBoxNameStr_get() {
9991 PyObject *pyobj;
9992
9993 {
9994 #if wxUSE_UNICODE
9995 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
9996 #else
9997 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
9998 #endif
9999 }
10000 return pyobj;
10001 }
10002
10003
10004 static PyObject *_wrap_new_VListBox(PyObject *, PyObject *args, PyObject *kwargs) {
10005 PyObject *resultobj;
10006 wxWindow *arg1 = (wxWindow *) 0 ;
10007 int arg2 = (int) wxID_ANY ;
10008 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10009 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10010 wxSize const &arg4_defvalue = wxDefaultSize ;
10011 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10012 long arg5 = (long) 0 ;
10013 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
10014 wxString *arg6 = (wxString *) &arg6_defvalue ;
10015 wxPyVListBox *result;
10016 wxPoint temp3 ;
10017 wxSize temp4 ;
10018 bool temp6 = false ;
10019 PyObject * obj0 = 0 ;
10020 PyObject * obj1 = 0 ;
10021 PyObject * obj2 = 0 ;
10022 PyObject * obj3 = 0 ;
10023 PyObject * obj4 = 0 ;
10024 PyObject * obj5 = 0 ;
10025 char *kwnames[] = {
10026 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10027 };
10028
10029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
10030 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10031 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10032 if (obj1) {
10033 arg2 = (int)SWIG_As_int(obj1);
10034 if (PyErr_Occurred()) SWIG_fail;
10035 }
10036 if (obj2) {
10037 {
10038 arg3 = &temp3;
10039 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10040 }
10041 }
10042 if (obj3) {
10043 {
10044 arg4 = &temp4;
10045 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10046 }
10047 }
10048 if (obj4) {
10049 arg5 = (long)SWIG_As_long(obj4);
10050 if (PyErr_Occurred()) SWIG_fail;
10051 }
10052 if (obj5) {
10053 {
10054 arg6 = wxString_in_helper(obj5);
10055 if (arg6 == NULL) SWIG_fail;
10056 temp6 = true;
10057 }
10058 }
10059 {
10060 if (!wxPyCheckForApp()) SWIG_fail;
10061 PyThreadState* __tstate = wxPyBeginAllowThreads();
10062 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10063
10064 wxPyEndAllowThreads(__tstate);
10065 if (PyErr_Occurred()) SWIG_fail;
10066 }
10067 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
10068 {
10069 if (temp6)
10070 delete arg6;
10071 }
10072 return resultobj;
10073 fail:
10074 {
10075 if (temp6)
10076 delete arg6;
10077 }
10078 return NULL;
10079 }
10080
10081
10082 static PyObject *_wrap_new_PreVListBox(PyObject *, PyObject *args, PyObject *kwargs) {
10083 PyObject *resultobj;
10084 wxPyVListBox *result;
10085 char *kwnames[] = {
10086 NULL
10087 };
10088
10089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail;
10090 {
10091 if (!wxPyCheckForApp()) SWIG_fail;
10092 PyThreadState* __tstate = wxPyBeginAllowThreads();
10093 result = (wxPyVListBox *)new wxPyVListBox();
10094
10095 wxPyEndAllowThreads(__tstate);
10096 if (PyErr_Occurred()) SWIG_fail;
10097 }
10098 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
10099 return resultobj;
10100 fail:
10101 return NULL;
10102 }
10103
10104
10105 static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
10106 PyObject *resultobj;
10107 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10108 PyObject *arg2 = (PyObject *) 0 ;
10109 PyObject *arg3 = (PyObject *) 0 ;
10110 PyObject * obj0 = 0 ;
10111 PyObject * obj1 = 0 ;
10112 PyObject * obj2 = 0 ;
10113 char *kwnames[] = {
10114 (char *) "self",(char *) "self",(char *) "_class", NULL
10115 };
10116
10117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
10118 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10119 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10120 arg2 = obj1;
10121 arg3 = obj2;
10122 {
10123 PyThreadState* __tstate = wxPyBeginAllowThreads();
10124 (arg1)->_setCallbackInfo(arg2,arg3);
10125
10126 wxPyEndAllowThreads(__tstate);
10127 if (PyErr_Occurred()) SWIG_fail;
10128 }
10129 Py_INCREF(Py_None); resultobj = Py_None;
10130 return resultobj;
10131 fail:
10132 return NULL;
10133 }
10134
10135
10136 static PyObject *_wrap_VListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
10137 PyObject *resultobj;
10138 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10139 wxWindow *arg2 = (wxWindow *) 0 ;
10140 int arg3 = (int) wxID_ANY ;
10141 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10142 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10143 wxSize const &arg5_defvalue = wxDefaultSize ;
10144 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10145 long arg6 = (long) 0 ;
10146 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
10147 wxString *arg7 = (wxString *) &arg7_defvalue ;
10148 bool result;
10149 wxPoint temp4 ;
10150 wxSize temp5 ;
10151 bool temp7 = false ;
10152 PyObject * obj0 = 0 ;
10153 PyObject * obj1 = 0 ;
10154 PyObject * obj2 = 0 ;
10155 PyObject * obj3 = 0 ;
10156 PyObject * obj4 = 0 ;
10157 PyObject * obj5 = 0 ;
10158 PyObject * obj6 = 0 ;
10159 char *kwnames[] = {
10160 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10161 };
10162
10163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
10164 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10165 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10166 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10167 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10168 if (obj2) {
10169 arg3 = (int)SWIG_As_int(obj2);
10170 if (PyErr_Occurred()) SWIG_fail;
10171 }
10172 if (obj3) {
10173 {
10174 arg4 = &temp4;
10175 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10176 }
10177 }
10178 if (obj4) {
10179 {
10180 arg5 = &temp5;
10181 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10182 }
10183 }
10184 if (obj5) {
10185 arg6 = (long)SWIG_As_long(obj5);
10186 if (PyErr_Occurred()) SWIG_fail;
10187 }
10188 if (obj6) {
10189 {
10190 arg7 = wxString_in_helper(obj6);
10191 if (arg7 == NULL) SWIG_fail;
10192 temp7 = true;
10193 }
10194 }
10195 {
10196 PyThreadState* __tstate = wxPyBeginAllowThreads();
10197 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10198
10199 wxPyEndAllowThreads(__tstate);
10200 if (PyErr_Occurred()) SWIG_fail;
10201 }
10202 {
10203 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10204 }
10205 {
10206 if (temp7)
10207 delete arg7;
10208 }
10209 return resultobj;
10210 fail:
10211 {
10212 if (temp7)
10213 delete arg7;
10214 }
10215 return NULL;
10216 }
10217
10218
10219 static PyObject *_wrap_VListBox_GetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
10220 PyObject *resultobj;
10221 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10222 size_t result;
10223 PyObject * obj0 = 0 ;
10224 char *kwnames[] = {
10225 (char *) "self", NULL
10226 };
10227
10228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail;
10229 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10230 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10231 {
10232 PyThreadState* __tstate = wxPyBeginAllowThreads();
10233 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
10234
10235 wxPyEndAllowThreads(__tstate);
10236 if (PyErr_Occurred()) SWIG_fail;
10237 }
10238 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
10239 return resultobj;
10240 fail:
10241 return NULL;
10242 }
10243
10244
10245 static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *, PyObject *args, PyObject *kwargs) {
10246 PyObject *resultobj;
10247 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10248 bool result;
10249 PyObject * obj0 = 0 ;
10250 char *kwnames[] = {
10251 (char *) "self", NULL
10252 };
10253
10254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail;
10255 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10256 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10257 {
10258 PyThreadState* __tstate = wxPyBeginAllowThreads();
10259 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
10260
10261 wxPyEndAllowThreads(__tstate);
10262 if (PyErr_Occurred()) SWIG_fail;
10263 }
10264 {
10265 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10266 }
10267 return resultobj;
10268 fail:
10269 return NULL;
10270 }
10271
10272
10273 static PyObject *_wrap_VListBox_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
10274 PyObject *resultobj;
10275 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10276 int result;
10277 PyObject * obj0 = 0 ;
10278 char *kwnames[] = {
10279 (char *) "self", NULL
10280 };
10281
10282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",kwnames,&obj0)) goto fail;
10283 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10284 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10285 {
10286 PyThreadState* __tstate = wxPyBeginAllowThreads();
10287 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
10288
10289 wxPyEndAllowThreads(__tstate);
10290 if (PyErr_Occurred()) SWIG_fail;
10291 }
10292 resultobj = SWIG_From_int((int)result);
10293 return resultobj;
10294 fail:
10295 return NULL;
10296 }
10297
10298
10299 static PyObject *_wrap_VListBox_IsCurrent(PyObject *, PyObject *args, PyObject *kwargs) {
10300 PyObject *resultobj;
10301 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10302 size_t arg2 ;
10303 bool result;
10304 PyObject * obj0 = 0 ;
10305 PyObject * obj1 = 0 ;
10306 char *kwnames[] = {
10307 (char *) "self",(char *) "item", NULL
10308 };
10309
10310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail;
10311 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10312 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10313 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
10314 if (PyErr_Occurred()) SWIG_fail;
10315 {
10316 PyThreadState* __tstate = wxPyBeginAllowThreads();
10317 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
10318
10319 wxPyEndAllowThreads(__tstate);
10320 if (PyErr_Occurred()) SWIG_fail;
10321 }
10322 {
10323 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10324 }
10325 return resultobj;
10326 fail:
10327 return NULL;
10328 }
10329
10330
10331 static PyObject *_wrap_VListBox_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
10332 PyObject *resultobj;
10333 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10334 size_t arg2 ;
10335 bool result;
10336 PyObject * obj0 = 0 ;
10337 PyObject * obj1 = 0 ;
10338 char *kwnames[] = {
10339 (char *) "self",(char *) "item", NULL
10340 };
10341
10342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
10343 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10344 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10345 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
10346 if (PyErr_Occurred()) SWIG_fail;
10347 {
10348 PyThreadState* __tstate = wxPyBeginAllowThreads();
10349 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
10350
10351 wxPyEndAllowThreads(__tstate);
10352 if (PyErr_Occurred()) SWIG_fail;
10353 }
10354 {
10355 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10356 }
10357 return resultobj;
10358 fail:
10359 return NULL;
10360 }
10361
10362
10363 static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *, PyObject *args, PyObject *kwargs) {
10364 PyObject *resultobj;
10365 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10366 size_t result;
10367 PyObject * obj0 = 0 ;
10368 char *kwnames[] = {
10369 (char *) "self", NULL
10370 };
10371
10372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail;
10373 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10374 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10375 {
10376 PyThreadState* __tstate = wxPyBeginAllowThreads();
10377 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
10378
10379 wxPyEndAllowThreads(__tstate);
10380 if (PyErr_Occurred()) SWIG_fail;
10381 }
10382 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
10383 return resultobj;
10384 fail:
10385 return NULL;
10386 }
10387
10388
10389 static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *, PyObject *args, PyObject *kwargs) {
10390 PyObject *resultobj;
10391 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10392 PyObject *result;
10393 PyObject * obj0 = 0 ;
10394 char *kwnames[] = {
10395 (char *) "self", NULL
10396 };
10397
10398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetFirstSelected",kwnames,&obj0)) goto fail;
10399 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10400 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10401 {
10402 PyThreadState* __tstate = wxPyBeginAllowThreads();
10403 result = (PyObject *)wxPyVListBox_GetFirstSelected(arg1);
10404
10405 wxPyEndAllowThreads(__tstate);
10406 if (PyErr_Occurred()) SWIG_fail;
10407 }
10408 resultobj = result;
10409 return resultobj;
10410 fail:
10411 return NULL;
10412 }
10413
10414
10415 static PyObject *_wrap_VListBox_GetNextSelected(PyObject *, PyObject *args, PyObject *kwargs) {
10416 PyObject *resultobj;
10417 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10418 unsigned long arg2 ;
10419 PyObject *result;
10420 PyObject * obj0 = 0 ;
10421 PyObject * obj1 = 0 ;
10422 char *kwnames[] = {
10423 (char *) "self",(char *) "cookie", NULL
10424 };
10425
10426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
10427 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10428 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10429 arg2 = (unsigned long)SWIG_As_unsigned_SS_long(obj1);
10430 if (PyErr_Occurred()) SWIG_fail;
10431 {
10432 PyThreadState* __tstate = wxPyBeginAllowThreads();
10433 result = (PyObject *)wxPyVListBox_GetNextSelected(arg1,arg2);
10434
10435 wxPyEndAllowThreads(__tstate);
10436 if (PyErr_Occurred()) SWIG_fail;
10437 }
10438 resultobj = result;
10439 return resultobj;
10440 fail:
10441 return NULL;
10442 }
10443
10444
10445 static PyObject *_wrap_VListBox_GetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
10446 PyObject *resultobj;
10447 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10448 wxPoint result;
10449 PyObject * obj0 = 0 ;
10450 char *kwnames[] = {
10451 (char *) "self", NULL
10452 };
10453
10454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail;
10455 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10456 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10457 {
10458 PyThreadState* __tstate = wxPyBeginAllowThreads();
10459 result = ((wxPyVListBox const *)arg1)->GetMargins();
10460
10461 wxPyEndAllowThreads(__tstate);
10462 if (PyErr_Occurred()) SWIG_fail;
10463 }
10464 {
10465 wxPoint * resultptr;
10466 resultptr = new wxPoint((wxPoint &) result);
10467 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
10468 }
10469 return resultobj;
10470 fail:
10471 return NULL;
10472 }
10473
10474
10475 static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) {
10476 PyObject *resultobj;
10477 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10478 wxColour *result;
10479 PyObject * obj0 = 0 ;
10480 char *kwnames[] = {
10481 (char *) "self", NULL
10482 };
10483
10484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail;
10485 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10486 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10487 {
10488 PyThreadState* __tstate = wxPyBeginAllowThreads();
10489 {
10490 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
10491 result = (wxColour *) &_result_ref;
10492 }
10493
10494 wxPyEndAllowThreads(__tstate);
10495 if (PyErr_Occurred()) SWIG_fail;
10496 }
10497 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
10498 return resultobj;
10499 fail:
10500 return NULL;
10501 }
10502
10503
10504 static PyObject *_wrap_VListBox_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
10505 PyObject *resultobj;
10506 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10507 size_t arg2 ;
10508 PyObject * obj0 = 0 ;
10509 PyObject * obj1 = 0 ;
10510 char *kwnames[] = {
10511 (char *) "self",(char *) "count", NULL
10512 };
10513
10514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
10515 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10516 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10517 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
10518 if (PyErr_Occurred()) SWIG_fail;
10519 {
10520 PyThreadState* __tstate = wxPyBeginAllowThreads();
10521 (arg1)->SetItemCount(arg2);
10522
10523 wxPyEndAllowThreads(__tstate);
10524 if (PyErr_Occurred()) SWIG_fail;
10525 }
10526 Py_INCREF(Py_None); resultobj = Py_None;
10527 return resultobj;
10528 fail:
10529 return NULL;
10530 }
10531
10532
10533 static PyObject *_wrap_VListBox_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
10534 PyObject *resultobj;
10535 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10536 PyObject * obj0 = 0 ;
10537 char *kwnames[] = {
10538 (char *) "self", NULL
10539 };
10540
10541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail;
10542 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10543 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10544 {
10545 PyThreadState* __tstate = wxPyBeginAllowThreads();
10546 (arg1)->Clear();
10547
10548 wxPyEndAllowThreads(__tstate);
10549 if (PyErr_Occurred()) SWIG_fail;
10550 }
10551 Py_INCREF(Py_None); resultobj = Py_None;
10552 return resultobj;
10553 fail:
10554 return NULL;
10555 }
10556
10557
10558 static PyObject *_wrap_VListBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
10559 PyObject *resultobj;
10560 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10561 int arg2 ;
10562 PyObject * obj0 = 0 ;
10563 PyObject * obj1 = 0 ;
10564 char *kwnames[] = {
10565 (char *) "self",(char *) "selection", NULL
10566 };
10567
10568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
10569 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10570 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10571 arg2 = (int)SWIG_As_int(obj1);
10572 if (PyErr_Occurred()) SWIG_fail;
10573 {
10574 PyThreadState* __tstate = wxPyBeginAllowThreads();
10575 (arg1)->SetSelection(arg2);
10576
10577 wxPyEndAllowThreads(__tstate);
10578 if (PyErr_Occurred()) SWIG_fail;
10579 }
10580 Py_INCREF(Py_None); resultobj = Py_None;
10581 return resultobj;
10582 fail:
10583 return NULL;
10584 }
10585
10586
10587 static PyObject *_wrap_VListBox_Select(PyObject *, PyObject *args, PyObject *kwargs) {
10588 PyObject *resultobj;
10589 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10590 size_t arg2 ;
10591 bool arg3 = (bool) true ;
10592 bool result;
10593 PyObject * obj0 = 0 ;
10594 PyObject * obj1 = 0 ;
10595 PyObject * obj2 = 0 ;
10596 char *kwnames[] = {
10597 (char *) "self",(char *) "item",(char *) "select", NULL
10598 };
10599
10600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
10601 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10602 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10603 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
10604 if (PyErr_Occurred()) SWIG_fail;
10605 if (obj2) {
10606 arg3 = (bool)SWIG_As_bool(obj2);
10607 if (PyErr_Occurred()) SWIG_fail;
10608 }
10609 {
10610 PyThreadState* __tstate = wxPyBeginAllowThreads();
10611 result = (bool)(arg1)->Select(arg2,arg3);
10612
10613 wxPyEndAllowThreads(__tstate);
10614 if (PyErr_Occurred()) SWIG_fail;
10615 }
10616 {
10617 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10618 }
10619 return resultobj;
10620 fail:
10621 return NULL;
10622 }
10623
10624
10625 static PyObject *_wrap_VListBox_SelectRange(PyObject *, PyObject *args, PyObject *kwargs) {
10626 PyObject *resultobj;
10627 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10628 size_t arg2 ;
10629 size_t arg3 ;
10630 bool result;
10631 PyObject * obj0 = 0 ;
10632 PyObject * obj1 = 0 ;
10633 PyObject * obj2 = 0 ;
10634 char *kwnames[] = {
10635 (char *) "self",(char *) "from",(char *) "to", NULL
10636 };
10637
10638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
10639 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10640 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10641 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
10642 if (PyErr_Occurred()) SWIG_fail;
10643 arg3 = (size_t)SWIG_As_unsigned_SS_long(obj2);
10644 if (PyErr_Occurred()) SWIG_fail;
10645 {
10646 PyThreadState* __tstate = wxPyBeginAllowThreads();
10647 result = (bool)(arg1)->SelectRange(arg2,arg3);
10648
10649 wxPyEndAllowThreads(__tstate);
10650 if (PyErr_Occurred()) SWIG_fail;
10651 }
10652 {
10653 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10654 }
10655 return resultobj;
10656 fail:
10657 return NULL;
10658 }
10659
10660
10661 static PyObject *_wrap_VListBox_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
10662 PyObject *resultobj;
10663 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10664 size_t arg2 ;
10665 PyObject * obj0 = 0 ;
10666 PyObject * obj1 = 0 ;
10667 char *kwnames[] = {
10668 (char *) "self",(char *) "item", NULL
10669 };
10670
10671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail;
10672 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10673 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10674 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
10675 if (PyErr_Occurred()) SWIG_fail;
10676 {
10677 PyThreadState* __tstate = wxPyBeginAllowThreads();
10678 (arg1)->Toggle(arg2);
10679
10680 wxPyEndAllowThreads(__tstate);
10681 if (PyErr_Occurred()) SWIG_fail;
10682 }
10683 Py_INCREF(Py_None); resultobj = Py_None;
10684 return resultobj;
10685 fail:
10686 return NULL;
10687 }
10688
10689
10690 static PyObject *_wrap_VListBox_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
10691 PyObject *resultobj;
10692 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10693 bool result;
10694 PyObject * obj0 = 0 ;
10695 char *kwnames[] = {
10696 (char *) "self", NULL
10697 };
10698
10699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail;
10700 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10702 {
10703 PyThreadState* __tstate = wxPyBeginAllowThreads();
10704 result = (bool)(arg1)->SelectAll();
10705
10706 wxPyEndAllowThreads(__tstate);
10707 if (PyErr_Occurred()) SWIG_fail;
10708 }
10709 {
10710 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10711 }
10712 return resultobj;
10713 fail:
10714 return NULL;
10715 }
10716
10717
10718 static PyObject *_wrap_VListBox_DeselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
10719 PyObject *resultobj;
10720 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10721 bool result;
10722 PyObject * obj0 = 0 ;
10723 char *kwnames[] = {
10724 (char *) "self", NULL
10725 };
10726
10727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail;
10728 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10730 {
10731 PyThreadState* __tstate = wxPyBeginAllowThreads();
10732 result = (bool)(arg1)->DeselectAll();
10733
10734 wxPyEndAllowThreads(__tstate);
10735 if (PyErr_Occurred()) SWIG_fail;
10736 }
10737 {
10738 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10739 }
10740 return resultobj;
10741 fail:
10742 return NULL;
10743 }
10744
10745
10746 static PyObject *_wrap_VListBox_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
10747 PyObject *resultobj;
10748 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10749 wxPoint *arg2 = 0 ;
10750 wxPoint temp2 ;
10751 PyObject * obj0 = 0 ;
10752 PyObject * obj1 = 0 ;
10753 char *kwnames[] = {
10754 (char *) "self",(char *) "pt", NULL
10755 };
10756
10757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail;
10758 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10759 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10760 {
10761 arg2 = &temp2;
10762 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10763 }
10764 {
10765 PyThreadState* __tstate = wxPyBeginAllowThreads();
10766 (arg1)->SetMargins((wxPoint const &)*arg2);
10767
10768 wxPyEndAllowThreads(__tstate);
10769 if (PyErr_Occurred()) SWIG_fail;
10770 }
10771 Py_INCREF(Py_None); resultobj = Py_None;
10772 return resultobj;
10773 fail:
10774 return NULL;
10775 }
10776
10777
10778 static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *, PyObject *args, PyObject *kwargs) {
10779 PyObject *resultobj;
10780 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10781 int arg2 ;
10782 int arg3 ;
10783 PyObject * obj0 = 0 ;
10784 PyObject * obj1 = 0 ;
10785 PyObject * obj2 = 0 ;
10786 char *kwnames[] = {
10787 (char *) "self",(char *) "x",(char *) "y", NULL
10788 };
10789
10790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
10791 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10792 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10793 arg2 = (int)SWIG_As_int(obj1);
10794 if (PyErr_Occurred()) SWIG_fail;
10795 arg3 = (int)SWIG_As_int(obj2);
10796 if (PyErr_Occurred()) SWIG_fail;
10797 {
10798 PyThreadState* __tstate = wxPyBeginAllowThreads();
10799 (arg1)->SetMargins(arg2,arg3);
10800
10801 wxPyEndAllowThreads(__tstate);
10802 if (PyErr_Occurred()) SWIG_fail;
10803 }
10804 Py_INCREF(Py_None); resultobj = Py_None;
10805 return resultobj;
10806 fail:
10807 return NULL;
10808 }
10809
10810
10811 static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) {
10812 PyObject *resultobj;
10813 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10814 wxColour *arg2 = 0 ;
10815 wxColour temp2 ;
10816 PyObject * obj0 = 0 ;
10817 PyObject * obj1 = 0 ;
10818 char *kwnames[] = {
10819 (char *) "self",(char *) "col", NULL
10820 };
10821
10822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail;
10823 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10824 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10825 {
10826 arg2 = &temp2;
10827 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10828 }
10829 {
10830 PyThreadState* __tstate = wxPyBeginAllowThreads();
10831 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
10832
10833 wxPyEndAllowThreads(__tstate);
10834 if (PyErr_Occurred()) SWIG_fail;
10835 }
10836 Py_INCREF(Py_None); resultobj = Py_None;
10837 return resultobj;
10838 fail:
10839 return NULL;
10840 }
10841
10842
10843 static PyObject * VListBox_swigregister(PyObject *, PyObject *args) {
10844 PyObject *obj;
10845 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10846 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj);
10847 Py_INCREF(obj);
10848 return Py_BuildValue((char *)"");
10849 }
10850 static PyObject *_wrap_new_HtmlListBox(PyObject *, PyObject *args, PyObject *kwargs) {
10851 PyObject *resultobj;
10852 wxWindow *arg1 = (wxWindow *) 0 ;
10853 int arg2 = (int) wxID_ANY ;
10854 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10855 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10856 wxSize const &arg4_defvalue = wxDefaultSize ;
10857 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10858 long arg5 = (long) 0 ;
10859 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
10860 wxString *arg6 = (wxString *) &arg6_defvalue ;
10861 wxPyHtmlListBox *result;
10862 wxPoint temp3 ;
10863 wxSize temp4 ;
10864 bool temp6 = false ;
10865 PyObject * obj0 = 0 ;
10866 PyObject * obj1 = 0 ;
10867 PyObject * obj2 = 0 ;
10868 PyObject * obj3 = 0 ;
10869 PyObject * obj4 = 0 ;
10870 PyObject * obj5 = 0 ;
10871 char *kwnames[] = {
10872 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10873 };
10874
10875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
10876 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10877 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10878 if (obj1) {
10879 arg2 = (int)SWIG_As_int(obj1);
10880 if (PyErr_Occurred()) SWIG_fail;
10881 }
10882 if (obj2) {
10883 {
10884 arg3 = &temp3;
10885 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10886 }
10887 }
10888 if (obj3) {
10889 {
10890 arg4 = &temp4;
10891 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10892 }
10893 }
10894 if (obj4) {
10895 arg5 = (long)SWIG_As_long(obj4);
10896 if (PyErr_Occurred()) SWIG_fail;
10897 }
10898 if (obj5) {
10899 {
10900 arg6 = wxString_in_helper(obj5);
10901 if (arg6 == NULL) SWIG_fail;
10902 temp6 = true;
10903 }
10904 }
10905 {
10906 if (!wxPyCheckForApp()) SWIG_fail;
10907 PyThreadState* __tstate = wxPyBeginAllowThreads();
10908 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10909
10910 wxPyEndAllowThreads(__tstate);
10911 if (PyErr_Occurred()) SWIG_fail;
10912 }
10913 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
10914 {
10915 if (temp6)
10916 delete arg6;
10917 }
10918 return resultobj;
10919 fail:
10920 {
10921 if (temp6)
10922 delete arg6;
10923 }
10924 return NULL;
10925 }
10926
10927
10928 static PyObject *_wrap_new_PreHtmlListBox(PyObject *, PyObject *args, PyObject *kwargs) {
10929 PyObject *resultobj;
10930 wxPyHtmlListBox *result;
10931 char *kwnames[] = {
10932 NULL
10933 };
10934
10935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail;
10936 {
10937 if (!wxPyCheckForApp()) SWIG_fail;
10938 PyThreadState* __tstate = wxPyBeginAllowThreads();
10939 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
10940
10941 wxPyEndAllowThreads(__tstate);
10942 if (PyErr_Occurred()) SWIG_fail;
10943 }
10944 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
10945 return resultobj;
10946 fail:
10947 return NULL;
10948 }
10949
10950
10951 static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
10952 PyObject *resultobj;
10953 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10954 PyObject *arg2 = (PyObject *) 0 ;
10955 PyObject *arg3 = (PyObject *) 0 ;
10956 PyObject * obj0 = 0 ;
10957 PyObject * obj1 = 0 ;
10958 PyObject * obj2 = 0 ;
10959 char *kwnames[] = {
10960 (char *) "self",(char *) "self",(char *) "_class", NULL
10961 };
10962
10963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
10964 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10965 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10966 arg2 = obj1;
10967 arg3 = obj2;
10968 {
10969 PyThreadState* __tstate = wxPyBeginAllowThreads();
10970 (arg1)->_setCallbackInfo(arg2,arg3);
10971
10972 wxPyEndAllowThreads(__tstate);
10973 if (PyErr_Occurred()) SWIG_fail;
10974 }
10975 Py_INCREF(Py_None); resultobj = Py_None;
10976 return resultobj;
10977 fail:
10978 return NULL;
10979 }
10980
10981
10982 static PyObject *_wrap_HtmlListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
10983 PyObject *resultobj;
10984 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10985 wxWindow *arg2 = (wxWindow *) 0 ;
10986 int arg3 = (int) wxID_ANY ;
10987 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10988 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10989 wxSize const &arg5_defvalue = wxDefaultSize ;
10990 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10991 long arg6 = (long) 0 ;
10992 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
10993 wxString *arg7 = (wxString *) &arg7_defvalue ;
10994 bool result;
10995 wxPoint temp4 ;
10996 wxSize temp5 ;
10997 bool temp7 = false ;
10998 PyObject * obj0 = 0 ;
10999 PyObject * obj1 = 0 ;
11000 PyObject * obj2 = 0 ;
11001 PyObject * obj3 = 0 ;
11002 PyObject * obj4 = 0 ;
11003 PyObject * obj5 = 0 ;
11004 PyObject * obj6 = 0 ;
11005 char *kwnames[] = {
11006 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11007 };
11008
11009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11010 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
11011 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11012 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
11013 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11014 if (obj2) {
11015 arg3 = (int)SWIG_As_int(obj2);
11016 if (PyErr_Occurred()) SWIG_fail;
11017 }
11018 if (obj3) {
11019 {
11020 arg4 = &temp4;
11021 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11022 }
11023 }
11024 if (obj4) {
11025 {
11026 arg5 = &temp5;
11027 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11028 }
11029 }
11030 if (obj5) {
11031 arg6 = (long)SWIG_As_long(obj5);
11032 if (PyErr_Occurred()) SWIG_fail;
11033 }
11034 if (obj6) {
11035 {
11036 arg7 = wxString_in_helper(obj6);
11037 if (arg7 == NULL) SWIG_fail;
11038 temp7 = true;
11039 }
11040 }
11041 {
11042 PyThreadState* __tstate = wxPyBeginAllowThreads();
11043 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
11044
11045 wxPyEndAllowThreads(__tstate);
11046 if (PyErr_Occurred()) SWIG_fail;
11047 }
11048 {
11049 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11050 }
11051 {
11052 if (temp7)
11053 delete arg7;
11054 }
11055 return resultobj;
11056 fail:
11057 {
11058 if (temp7)
11059 delete arg7;
11060 }
11061 return NULL;
11062 }
11063
11064
11065 static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *, PyObject *args, PyObject *kwargs) {
11066 PyObject *resultobj;
11067 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
11068 PyObject * obj0 = 0 ;
11069 char *kwnames[] = {
11070 (char *) "self", NULL
11071 };
11072
11073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail;
11074 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
11075 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11076 {
11077 PyThreadState* __tstate = wxPyBeginAllowThreads();
11078 (arg1)->RefreshAll();
11079
11080 wxPyEndAllowThreads(__tstate);
11081 if (PyErr_Occurred()) SWIG_fail;
11082 }
11083 Py_INCREF(Py_None); resultobj = Py_None;
11084 return resultobj;
11085 fail:
11086 return NULL;
11087 }
11088
11089
11090 static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
11091 PyObject *resultobj;
11092 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
11093 size_t arg2 ;
11094 PyObject * obj0 = 0 ;
11095 PyObject * obj1 = 0 ;
11096 char *kwnames[] = {
11097 (char *) "self",(char *) "count", NULL
11098 };
11099
11100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
11101 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
11102 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11103 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
11104 if (PyErr_Occurred()) SWIG_fail;
11105 {
11106 PyThreadState* __tstate = wxPyBeginAllowThreads();
11107 (arg1)->SetItemCount(arg2);
11108
11109 wxPyEndAllowThreads(__tstate);
11110 if (PyErr_Occurred()) SWIG_fail;
11111 }
11112 Py_INCREF(Py_None); resultobj = Py_None;
11113 return resultobj;
11114 fail:
11115 return NULL;
11116 }
11117
11118
11119 static PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *, PyObject *args, PyObject *kwargs) {
11120 PyObject *resultobj;
11121 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
11122 wxFileSystem *result;
11123 PyObject * obj0 = 0 ;
11124 char *kwnames[] = {
11125 (char *) "self", NULL
11126 };
11127
11128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_GetFileSystem",kwnames,&obj0)) goto fail;
11129 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
11130 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11131 {
11132 PyThreadState* __tstate = wxPyBeginAllowThreads();
11133 {
11134 wxFileSystem &_result_ref = (arg1)->GetFileSystem();
11135 result = (wxFileSystem *) &_result_ref;
11136 }
11137
11138 wxPyEndAllowThreads(__tstate);
11139 if (PyErr_Occurred()) SWIG_fail;
11140 }
11141 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileSystem, 0);
11142 return resultobj;
11143 fail:
11144 return NULL;
11145 }
11146
11147
11148 static PyObject * HtmlListBox_swigregister(PyObject *, PyObject *args) {
11149 PyObject *obj;
11150 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11151 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj);
11152 Py_INCREF(obj);
11153 return Py_BuildValue((char *)"");
11154 }
11155 static PyObject *_wrap_new_TaskBarIcon(PyObject *, PyObject *args, PyObject *kwargs) {
11156 PyObject *resultobj;
11157 wxPyTaskBarIcon *result;
11158 char *kwnames[] = {
11159 NULL
11160 };
11161
11162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail;
11163 {
11164 if (!wxPyCheckForApp()) SWIG_fail;
11165 PyThreadState* __tstate = wxPyBeginAllowThreads();
11166 result = (wxPyTaskBarIcon *)new wxPyTaskBarIcon();
11167
11168 wxPyEndAllowThreads(__tstate);
11169 if (PyErr_Occurred()) SWIG_fail;
11170 }
11171 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTaskBarIcon, 1);
11172 return resultobj;
11173 fail:
11174 return NULL;
11175 }
11176
11177
11178 static PyObject *_wrap_TaskBarIcon__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
11179 PyObject *resultobj;
11180 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
11181 PyObject *arg2 = (PyObject *) 0 ;
11182 PyObject *arg3 = (PyObject *) 0 ;
11183 int arg4 ;
11184 PyObject * obj0 = 0 ;
11185 PyObject * obj1 = 0 ;
11186 PyObject * obj2 = 0 ;
11187 PyObject * obj3 = 0 ;
11188 char *kwnames[] = {
11189 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
11190 };
11191
11192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
11193 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTaskBarIcon,
11194 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11195 arg2 = obj1;
11196 arg3 = obj2;
11197 arg4 = (int)SWIG_As_int(obj3);
11198 if (PyErr_Occurred()) SWIG_fail;
11199 {
11200 PyThreadState* __tstate = wxPyBeginAllowThreads();
11201 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
11202
11203 wxPyEndAllowThreads(__tstate);
11204 if (PyErr_Occurred()) SWIG_fail;
11205 }
11206 Py_INCREF(Py_None); resultobj = Py_None;
11207 return resultobj;
11208 fail:
11209 return NULL;
11210 }
11211
11212
11213 static PyObject *_wrap_TaskBarIcon_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
11214 PyObject *resultobj;
11215 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
11216 PyObject * obj0 = 0 ;
11217 char *kwnames[] = {
11218 (char *) "self", NULL
11219 };
11220
11221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_Destroy",kwnames,&obj0)) goto fail;
11222 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTaskBarIcon,
11223 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11224 {
11225 PyThreadState* __tstate = wxPyBeginAllowThreads();
11226 wxPyTaskBarIcon_Destroy(arg1);
11227
11228 wxPyEndAllowThreads(__tstate);
11229 if (PyErr_Occurred()) SWIG_fail;
11230 }
11231 Py_INCREF(Py_None); resultobj = Py_None;
11232 return resultobj;
11233 fail:
11234 return NULL;
11235 }
11236
11237
11238 static PyObject *_wrap_TaskBarIcon_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
11239 PyObject *resultobj;
11240 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
11241 bool result;
11242 PyObject * obj0 = 0 ;
11243 char *kwnames[] = {
11244 (char *) "self", NULL
11245 };
11246
11247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsOk",kwnames,&obj0)) goto fail;
11248 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTaskBarIcon,
11249 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11250 {
11251 PyThreadState* __tstate = wxPyBeginAllowThreads();
11252 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsOk();
11253
11254 wxPyEndAllowThreads(__tstate);
11255 if (PyErr_Occurred()) SWIG_fail;
11256 }
11257 {
11258 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11259 }
11260 return resultobj;
11261 fail:
11262 return NULL;
11263 }
11264
11265
11266 static PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *, PyObject *args, PyObject *kwargs) {
11267 PyObject *resultobj;
11268 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
11269 bool result;
11270 PyObject * obj0 = 0 ;
11271 char *kwnames[] = {
11272 (char *) "self", NULL
11273 };
11274
11275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames,&obj0)) goto fail;
11276 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTaskBarIcon,
11277 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11278 {
11279 PyThreadState* __tstate = wxPyBeginAllowThreads();
11280 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsIconInstalled();
11281
11282 wxPyEndAllowThreads(__tstate);
11283 if (PyErr_Occurred()) SWIG_fail;
11284 }
11285 {
11286 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11287 }
11288 return resultobj;
11289 fail:
11290 return NULL;
11291 }
11292
11293
11294 static PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
11295 PyObject *resultobj;
11296 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
11297 wxIcon *arg2 = 0 ;
11298 wxString const &arg3_defvalue = wxPyEmptyString ;
11299 wxString *arg3 = (wxString *) &arg3_defvalue ;
11300 bool result;
11301 bool temp3 = false ;
11302 PyObject * obj0 = 0 ;
11303 PyObject * obj1 = 0 ;
11304 PyObject * obj2 = 0 ;
11305 char *kwnames[] = {
11306 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
11307 };
11308
11309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
11310 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTaskBarIcon,
11311 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11312 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
11313 SWIG_POINTER_EXCEPTION | 0)) == -1)
11314 SWIG_fail;
11315 if (arg2 == NULL) {
11316 PyErr_SetString(PyExc_TypeError,"null reference");
11317 SWIG_fail;
11318 }
11319 if (obj2) {
11320 {
11321 arg3 = wxString_in_helper(obj2);
11322 if (arg3 == NULL) SWIG_fail;
11323 temp3 = true;
11324 }
11325 }
11326 {
11327 PyThreadState* __tstate = wxPyBeginAllowThreads();
11328 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
11329
11330 wxPyEndAllowThreads(__tstate);
11331 if (PyErr_Occurred()) SWIG_fail;
11332 }
11333 {
11334 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11335 }
11336 {
11337 if (temp3)
11338 delete arg3;
11339 }
11340 return resultobj;
11341 fail:
11342 {
11343 if (temp3)
11344 delete arg3;
11345 }
11346 return NULL;
11347 }
11348
11349
11350 static PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *, PyObject *args, PyObject *kwargs) {
11351 PyObject *resultobj;
11352 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
11353 bool result;
11354 PyObject * obj0 = 0 ;
11355 char *kwnames[] = {
11356 (char *) "self", NULL
11357 };
11358
11359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_RemoveIcon",kwnames,&obj0)) goto fail;
11360 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTaskBarIcon,
11361 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11362 {
11363 PyThreadState* __tstate = wxPyBeginAllowThreads();
11364 result = (bool)(arg1)->RemoveIcon();
11365
11366 wxPyEndAllowThreads(__tstate);
11367 if (PyErr_Occurred()) SWIG_fail;
11368 }
11369 {
11370 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11371 }
11372 return resultobj;
11373 fail:
11374 return NULL;
11375 }
11376
11377
11378 static PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *, PyObject *args, PyObject *kwargs) {
11379 PyObject *resultobj;
11380 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
11381 wxMenu *arg2 = (wxMenu *) 0 ;
11382 bool result;
11383 PyObject * obj0 = 0 ;
11384 PyObject * obj1 = 0 ;
11385 char *kwnames[] = {
11386 (char *) "self",(char *) "menu", NULL
11387 };
11388
11389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) goto fail;
11390 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTaskBarIcon,
11391 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11392 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
11393 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11394 {
11395 PyThreadState* __tstate = wxPyBeginAllowThreads();
11396 result = (bool)(arg1)->PopupMenu(arg2);
11397
11398 wxPyEndAllowThreads(__tstate);
11399 if (PyErr_Occurred()) SWIG_fail;
11400 }
11401 {
11402 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11403 }
11404 return resultobj;
11405 fail:
11406 return NULL;
11407 }
11408
11409
11410 static PyObject * TaskBarIcon_swigregister(PyObject *, PyObject *args) {
11411 PyObject *obj;
11412 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11413 SWIG_TypeClientData(SWIGTYPE_p_wxPyTaskBarIcon, obj);
11414 Py_INCREF(obj);
11415 return Py_BuildValue((char *)"");
11416 }
11417 static PyObject *_wrap_new_TaskBarIconEvent(PyObject *, PyObject *args, PyObject *kwargs) {
11418 PyObject *resultobj;
11419 wxEventType arg1 ;
11420 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
11421 wxTaskBarIconEvent *result;
11422 PyObject * obj0 = 0 ;
11423 PyObject * obj1 = 0 ;
11424 char *kwnames[] = {
11425 (char *) "evtType",(char *) "tbIcon", NULL
11426 };
11427
11428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) goto fail;
11429 arg1 = (wxEventType)SWIG_As_int(obj0);
11430 if (PyErr_Occurred()) SWIG_fail;
11431 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTaskBarIcon,
11432 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11433 {
11434 PyThreadState* __tstate = wxPyBeginAllowThreads();
11435 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
11436
11437 wxPyEndAllowThreads(__tstate);
11438 if (PyErr_Occurred()) SWIG_fail;
11439 }
11440 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIconEvent, 1);
11441 return resultobj;
11442 fail:
11443 return NULL;
11444 }
11445
11446
11447 static PyObject * TaskBarIconEvent_swigregister(PyObject *, PyObject *args) {
11448 PyObject *obj;
11449 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11450 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj);
11451 Py_INCREF(obj);
11452 return Py_BuildValue((char *)"");
11453 }
11454 static int _wrap_FileSelectorPromptStr_set(PyObject *) {
11455 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
11456 return 1;
11457 }
11458
11459
11460 static PyObject *_wrap_FileSelectorPromptStr_get() {
11461 PyObject *pyobj;
11462
11463 {
11464 #if wxUSE_UNICODE
11465 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
11466 #else
11467 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
11468 #endif
11469 }
11470 return pyobj;
11471 }
11472
11473
11474 static int _wrap_DirSelectorPromptStr_set(PyObject *) {
11475 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
11476 return 1;
11477 }
11478
11479
11480 static PyObject *_wrap_DirSelectorPromptStr_get() {
11481 PyObject *pyobj;
11482
11483 {
11484 #if wxUSE_UNICODE
11485 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
11486 #else
11487 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
11488 #endif
11489 }
11490 return pyobj;
11491 }
11492
11493
11494 static int _wrap_DirDialogNameStr_set(PyObject *) {
11495 PyErr_SetString(PyExc_TypeError,"Variable DirDialogNameStr is read-only.");
11496 return 1;
11497 }
11498
11499
11500 static PyObject *_wrap_DirDialogNameStr_get() {
11501 PyObject *pyobj;
11502
11503 {
11504 #if wxUSE_UNICODE
11505 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
11506 #else
11507 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
11508 #endif
11509 }
11510 return pyobj;
11511 }
11512
11513
11514 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *) {
11515 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
11516 return 1;
11517 }
11518
11519
11520 static PyObject *_wrap_FileSelectorDefaultWildcardStr_get() {
11521 PyObject *pyobj;
11522
11523 {
11524 #if wxUSE_UNICODE
11525 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
11526 #else
11527 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
11528 #endif
11529 }
11530 return pyobj;
11531 }
11532
11533
11534 static int _wrap_GetTextFromUserPromptStr_set(PyObject *) {
11535 PyErr_SetString(PyExc_TypeError,"Variable GetTextFromUserPromptStr is read-only.");
11536 return 1;
11537 }
11538
11539
11540 static PyObject *_wrap_GetTextFromUserPromptStr_get() {
11541 PyObject *pyobj;
11542
11543 {
11544 #if wxUSE_UNICODE
11545 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
11546 #else
11547 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
11548 #endif
11549 }
11550 return pyobj;
11551 }
11552
11553
11554 static int _wrap_MessageBoxCaptionStr_set(PyObject *) {
11555 PyErr_SetString(PyExc_TypeError,"Variable MessageBoxCaptionStr is read-only.");
11556 return 1;
11557 }
11558
11559
11560 static PyObject *_wrap_MessageBoxCaptionStr_get() {
11561 PyObject *pyobj;
11562
11563 {
11564 #if wxUSE_UNICODE
11565 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
11566 #else
11567 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
11568 #endif
11569 }
11570 return pyobj;
11571 }
11572
11573
11574 static PyObject *_wrap_new_ColourData(PyObject *, PyObject *args, PyObject *kwargs) {
11575 PyObject *resultobj;
11576 wxColourData *result;
11577 char *kwnames[] = {
11578 NULL
11579 };
11580
11581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail;
11582 {
11583 PyThreadState* __tstate = wxPyBeginAllowThreads();
11584 result = (wxColourData *)new wxColourData();
11585
11586 wxPyEndAllowThreads(__tstate);
11587 if (PyErr_Occurred()) SWIG_fail;
11588 }
11589 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 1);
11590 return resultobj;
11591 fail:
11592 return NULL;
11593 }
11594
11595
11596 static PyObject *_wrap_delete_ColourData(PyObject *, PyObject *args, PyObject *kwargs) {
11597 PyObject *resultobj;
11598 wxColourData *arg1 = (wxColourData *) 0 ;
11599 PyObject * obj0 = 0 ;
11600 char *kwnames[] = {
11601 (char *) "self", NULL
11602 };
11603
11604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail;
11605 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11606 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11607 {
11608 PyThreadState* __tstate = wxPyBeginAllowThreads();
11609 delete arg1;
11610
11611 wxPyEndAllowThreads(__tstate);
11612 if (PyErr_Occurred()) SWIG_fail;
11613 }
11614 Py_INCREF(Py_None); resultobj = Py_None;
11615 return resultobj;
11616 fail:
11617 return NULL;
11618 }
11619
11620
11621 static PyObject *_wrap_ColourData_GetChooseFull(PyObject *, PyObject *args, PyObject *kwargs) {
11622 PyObject *resultobj;
11623 wxColourData *arg1 = (wxColourData *) 0 ;
11624 bool result;
11625 PyObject * obj0 = 0 ;
11626 char *kwnames[] = {
11627 (char *) "self", NULL
11628 };
11629
11630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail;
11631 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11632 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11633 {
11634 PyThreadState* __tstate = wxPyBeginAllowThreads();
11635 result = (bool)(arg1)->GetChooseFull();
11636
11637 wxPyEndAllowThreads(__tstate);
11638 if (PyErr_Occurred()) SWIG_fail;
11639 }
11640 {
11641 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11642 }
11643 return resultobj;
11644 fail:
11645 return NULL;
11646 }
11647
11648
11649 static PyObject *_wrap_ColourData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
11650 PyObject *resultobj;
11651 wxColourData *arg1 = (wxColourData *) 0 ;
11652 wxColour result;
11653 PyObject * obj0 = 0 ;
11654 char *kwnames[] = {
11655 (char *) "self", NULL
11656 };
11657
11658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail;
11659 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11660 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11661 {
11662 PyThreadState* __tstate = wxPyBeginAllowThreads();
11663 result = (arg1)->GetColour();
11664
11665 wxPyEndAllowThreads(__tstate);
11666 if (PyErr_Occurred()) SWIG_fail;
11667 }
11668 {
11669 wxColour * resultptr;
11670 resultptr = new wxColour((wxColour &) result);
11671 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
11672 }
11673 return resultobj;
11674 fail:
11675 return NULL;
11676 }
11677
11678
11679 static PyObject *_wrap_ColourData_GetCustomColour(PyObject *, PyObject *args, PyObject *kwargs) {
11680 PyObject *resultobj;
11681 wxColourData *arg1 = (wxColourData *) 0 ;
11682 int arg2 ;
11683 wxColour result;
11684 PyObject * obj0 = 0 ;
11685 PyObject * obj1 = 0 ;
11686 char *kwnames[] = {
11687 (char *) "self",(char *) "i", NULL
11688 };
11689
11690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) goto fail;
11691 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11692 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11693 arg2 = (int)SWIG_As_int(obj1);
11694 if (PyErr_Occurred()) SWIG_fail;
11695 {
11696 PyThreadState* __tstate = wxPyBeginAllowThreads();
11697 result = (arg1)->GetCustomColour(arg2);
11698
11699 wxPyEndAllowThreads(__tstate);
11700 if (PyErr_Occurred()) SWIG_fail;
11701 }
11702 {
11703 wxColour * resultptr;
11704 resultptr = new wxColour((wxColour &) result);
11705 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
11706 }
11707 return resultobj;
11708 fail:
11709 return NULL;
11710 }
11711
11712
11713 static PyObject *_wrap_ColourData_SetChooseFull(PyObject *, PyObject *args, PyObject *kwargs) {
11714 PyObject *resultobj;
11715 wxColourData *arg1 = (wxColourData *) 0 ;
11716 int arg2 ;
11717 PyObject * obj0 = 0 ;
11718 PyObject * obj1 = 0 ;
11719 char *kwnames[] = {
11720 (char *) "self",(char *) "flag", NULL
11721 };
11722
11723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) goto fail;
11724 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11725 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11726 arg2 = (int)SWIG_As_int(obj1);
11727 if (PyErr_Occurred()) SWIG_fail;
11728 {
11729 PyThreadState* __tstate = wxPyBeginAllowThreads();
11730 (arg1)->SetChooseFull(arg2);
11731
11732 wxPyEndAllowThreads(__tstate);
11733 if (PyErr_Occurred()) SWIG_fail;
11734 }
11735 Py_INCREF(Py_None); resultobj = Py_None;
11736 return resultobj;
11737 fail:
11738 return NULL;
11739 }
11740
11741
11742 static PyObject *_wrap_ColourData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
11743 PyObject *resultobj;
11744 wxColourData *arg1 = (wxColourData *) 0 ;
11745 wxColour *arg2 = 0 ;
11746 wxColour temp2 ;
11747 PyObject * obj0 = 0 ;
11748 PyObject * obj1 = 0 ;
11749 char *kwnames[] = {
11750 (char *) "self",(char *) "colour", NULL
11751 };
11752
11753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail;
11754 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11755 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11756 {
11757 arg2 = &temp2;
11758 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
11759 }
11760 {
11761 PyThreadState* __tstate = wxPyBeginAllowThreads();
11762 (arg1)->SetColour((wxColour const &)*arg2);
11763
11764 wxPyEndAllowThreads(__tstate);
11765 if (PyErr_Occurred()) SWIG_fail;
11766 }
11767 Py_INCREF(Py_None); resultobj = Py_None;
11768 return resultobj;
11769 fail:
11770 return NULL;
11771 }
11772
11773
11774 static PyObject *_wrap_ColourData_SetCustomColour(PyObject *, PyObject *args, PyObject *kwargs) {
11775 PyObject *resultobj;
11776 wxColourData *arg1 = (wxColourData *) 0 ;
11777 int arg2 ;
11778 wxColour *arg3 = 0 ;
11779 wxColour temp3 ;
11780 PyObject * obj0 = 0 ;
11781 PyObject * obj1 = 0 ;
11782 PyObject * obj2 = 0 ;
11783 char *kwnames[] = {
11784 (char *) "self",(char *) "i",(char *) "colour", NULL
11785 };
11786
11787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
11788 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11789 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11790 arg2 = (int)SWIG_As_int(obj1);
11791 if (PyErr_Occurred()) SWIG_fail;
11792 {
11793 arg3 = &temp3;
11794 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
11795 }
11796 {
11797 PyThreadState* __tstate = wxPyBeginAllowThreads();
11798 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
11799
11800 wxPyEndAllowThreads(__tstate);
11801 if (PyErr_Occurred()) SWIG_fail;
11802 }
11803 Py_INCREF(Py_None); resultobj = Py_None;
11804 return resultobj;
11805 fail:
11806 return NULL;
11807 }
11808
11809
11810 static PyObject * ColourData_swigregister(PyObject *, PyObject *args) {
11811 PyObject *obj;
11812 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11813 SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj);
11814 Py_INCREF(obj);
11815 return Py_BuildValue((char *)"");
11816 }
11817 static PyObject *_wrap_new_ColourDialog(PyObject *, PyObject *args, PyObject *kwargs) {
11818 PyObject *resultobj;
11819 wxWindow *arg1 = (wxWindow *) 0 ;
11820 wxColourData *arg2 = (wxColourData *) NULL ;
11821 wxColourDialog *result;
11822 PyObject * obj0 = 0 ;
11823 PyObject * obj1 = 0 ;
11824 char *kwnames[] = {
11825 (char *) "parent",(char *) "data", NULL
11826 };
11827
11828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail;
11829 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11830 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11831 if (obj1) {
11832 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxColourData,
11833 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11834 }
11835 {
11836 if (!wxPyCheckForApp()) SWIG_fail;
11837 PyThreadState* __tstate = wxPyBeginAllowThreads();
11838 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
11839
11840 wxPyEndAllowThreads(__tstate);
11841 if (PyErr_Occurred()) SWIG_fail;
11842 }
11843 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourDialog, 1);
11844 return resultobj;
11845 fail:
11846 return NULL;
11847 }
11848
11849
11850 static PyObject *_wrap_ColourDialog_GetColourData(PyObject *, PyObject *args, PyObject *kwargs) {
11851 PyObject *resultobj;
11852 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
11853 wxColourData *result;
11854 PyObject * obj0 = 0 ;
11855 char *kwnames[] = {
11856 (char *) "self", NULL
11857 };
11858
11859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail;
11860 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourDialog,
11861 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11862 {
11863 PyThreadState* __tstate = wxPyBeginAllowThreads();
11864 {
11865 wxColourData &_result_ref = (arg1)->GetColourData();
11866 result = (wxColourData *) &_result_ref;
11867 }
11868
11869 wxPyEndAllowThreads(__tstate);
11870 if (PyErr_Occurred()) SWIG_fail;
11871 }
11872 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 0);
11873 return resultobj;
11874 fail:
11875 return NULL;
11876 }
11877
11878
11879 static PyObject * ColourDialog_swigregister(PyObject *, PyObject *args) {
11880 PyObject *obj;
11881 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11882 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj);
11883 Py_INCREF(obj);
11884 return Py_BuildValue((char *)"");
11885 }
11886 static PyObject *_wrap_new_DirDialog(PyObject *, PyObject *args, PyObject *kwargs) {
11887 PyObject *resultobj;
11888 wxWindow *arg1 = (wxWindow *) 0 ;
11889 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
11890 wxString *arg2 = (wxString *) &arg2_defvalue ;
11891 wxString const &arg3_defvalue = wxPyEmptyString ;
11892 wxString *arg3 = (wxString *) &arg3_defvalue ;
11893 long arg4 = (long) 0 ;
11894 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11895 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11896 wxSize const &arg6_defvalue = wxDefaultSize ;
11897 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11898 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
11899 wxString *arg7 = (wxString *) &arg7_defvalue ;
11900 wxDirDialog *result;
11901 bool temp2 = false ;
11902 bool temp3 = false ;
11903 wxPoint temp5 ;
11904 wxSize temp6 ;
11905 bool temp7 = false ;
11906 PyObject * obj0 = 0 ;
11907 PyObject * obj1 = 0 ;
11908 PyObject * obj2 = 0 ;
11909 PyObject * obj3 = 0 ;
11910 PyObject * obj4 = 0 ;
11911 PyObject * obj5 = 0 ;
11912 PyObject * obj6 = 0 ;
11913 char *kwnames[] = {
11914 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
11915 };
11916
11917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11918 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11919 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11920 if (obj1) {
11921 {
11922 arg2 = wxString_in_helper(obj1);
11923 if (arg2 == NULL) SWIG_fail;
11924 temp2 = true;
11925 }
11926 }
11927 if (obj2) {
11928 {
11929 arg3 = wxString_in_helper(obj2);
11930 if (arg3 == NULL) SWIG_fail;
11931 temp3 = true;
11932 }
11933 }
11934 if (obj3) {
11935 arg4 = (long)SWIG_As_long(obj3);
11936 if (PyErr_Occurred()) SWIG_fail;
11937 }
11938 if (obj4) {
11939 {
11940 arg5 = &temp5;
11941 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11942 }
11943 }
11944 if (obj5) {
11945 {
11946 arg6 = &temp6;
11947 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11948 }
11949 }
11950 if (obj6) {
11951 {
11952 arg7 = wxString_in_helper(obj6);
11953 if (arg7 == NULL) SWIG_fail;
11954 temp7 = true;
11955 }
11956 }
11957 {
11958 if (!wxPyCheckForApp()) SWIG_fail;
11959 PyThreadState* __tstate = wxPyBeginAllowThreads();
11960 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
11961
11962 wxPyEndAllowThreads(__tstate);
11963 if (PyErr_Occurred()) SWIG_fail;
11964 }
11965 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirDialog, 1);
11966 {
11967 if (temp2)
11968 delete arg2;
11969 }
11970 {
11971 if (temp3)
11972 delete arg3;
11973 }
11974 {
11975 if (temp7)
11976 delete arg7;
11977 }
11978 return resultobj;
11979 fail:
11980 {
11981 if (temp2)
11982 delete arg2;
11983 }
11984 {
11985 if (temp3)
11986 delete arg3;
11987 }
11988 {
11989 if (temp7)
11990 delete arg7;
11991 }
11992 return NULL;
11993 }
11994
11995
11996 static PyObject *_wrap_DirDialog_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
11997 PyObject *resultobj;
11998 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11999 wxString result;
12000 PyObject * obj0 = 0 ;
12001 char *kwnames[] = {
12002 (char *) "self", NULL
12003 };
12004
12005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail;
12006 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
12007 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12008 {
12009 PyThreadState* __tstate = wxPyBeginAllowThreads();
12010 result = (arg1)->GetPath();
12011
12012 wxPyEndAllowThreads(__tstate);
12013 if (PyErr_Occurred()) SWIG_fail;
12014 }
12015 {
12016 #if wxUSE_UNICODE
12017 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12018 #else
12019 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12020 #endif
12021 }
12022 return resultobj;
12023 fail:
12024 return NULL;
12025 }
12026
12027
12028 static PyObject *_wrap_DirDialog_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
12029 PyObject *resultobj;
12030 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
12031 wxString result;
12032 PyObject * obj0 = 0 ;
12033 char *kwnames[] = {
12034 (char *) "self", NULL
12035 };
12036
12037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail;
12038 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
12039 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12040 {
12041 PyThreadState* __tstate = wxPyBeginAllowThreads();
12042 result = (arg1)->GetMessage();
12043
12044 wxPyEndAllowThreads(__tstate);
12045 if (PyErr_Occurred()) SWIG_fail;
12046 }
12047 {
12048 #if wxUSE_UNICODE
12049 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12050 #else
12051 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12052 #endif
12053 }
12054 return resultobj;
12055 fail:
12056 return NULL;
12057 }
12058
12059
12060 static PyObject *_wrap_DirDialog_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
12061 PyObject *resultobj;
12062 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
12063 long result;
12064 PyObject * obj0 = 0 ;
12065 char *kwnames[] = {
12066 (char *) "self", NULL
12067 };
12068
12069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail;
12070 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
12071 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12072 {
12073 PyThreadState* __tstate = wxPyBeginAllowThreads();
12074 result = (long)(arg1)->GetStyle();
12075
12076 wxPyEndAllowThreads(__tstate);
12077 if (PyErr_Occurred()) SWIG_fail;
12078 }
12079 resultobj = SWIG_From_long((long)result);
12080 return resultobj;
12081 fail:
12082 return NULL;
12083 }
12084
12085
12086 static PyObject *_wrap_DirDialog_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
12087 PyObject *resultobj;
12088 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
12089 wxString *arg2 = 0 ;
12090 bool temp2 = false ;
12091 PyObject * obj0 = 0 ;
12092 PyObject * obj1 = 0 ;
12093 char *kwnames[] = {
12094 (char *) "self",(char *) "message", NULL
12095 };
12096
12097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
12098 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
12099 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12100 {
12101 arg2 = wxString_in_helper(obj1);
12102 if (arg2 == NULL) SWIG_fail;
12103 temp2 = true;
12104 }
12105 {
12106 PyThreadState* __tstate = wxPyBeginAllowThreads();
12107 (arg1)->SetMessage((wxString const &)*arg2);
12108
12109 wxPyEndAllowThreads(__tstate);
12110 if (PyErr_Occurred()) SWIG_fail;
12111 }
12112 Py_INCREF(Py_None); resultobj = Py_None;
12113 {
12114 if (temp2)
12115 delete arg2;
12116 }
12117 return resultobj;
12118 fail:
12119 {
12120 if (temp2)
12121 delete arg2;
12122 }
12123 return NULL;
12124 }
12125
12126
12127 static PyObject *_wrap_DirDialog_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
12128 PyObject *resultobj;
12129 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
12130 wxString *arg2 = 0 ;
12131 bool temp2 = false ;
12132 PyObject * obj0 = 0 ;
12133 PyObject * obj1 = 0 ;
12134 char *kwnames[] = {
12135 (char *) "self",(char *) "path", NULL
12136 };
12137
12138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
12139 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
12140 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12141 {
12142 arg2 = wxString_in_helper(obj1);
12143 if (arg2 == NULL) SWIG_fail;
12144 temp2 = true;
12145 }
12146 {
12147 PyThreadState* __tstate = wxPyBeginAllowThreads();
12148 (arg1)->SetPath((wxString const &)*arg2);
12149
12150 wxPyEndAllowThreads(__tstate);
12151 if (PyErr_Occurred()) SWIG_fail;
12152 }
12153 Py_INCREF(Py_None); resultobj = Py_None;
12154 {
12155 if (temp2)
12156 delete arg2;
12157 }
12158 return resultobj;
12159 fail:
12160 {
12161 if (temp2)
12162 delete arg2;
12163 }
12164 return NULL;
12165 }
12166
12167
12168 static PyObject * DirDialog_swigregister(PyObject *, PyObject *args) {
12169 PyObject *obj;
12170 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12171 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj);
12172 Py_INCREF(obj);
12173 return Py_BuildValue((char *)"");
12174 }
12175 static PyObject *_wrap_new_FileDialog(PyObject *, PyObject *args, PyObject *kwargs) {
12176 PyObject *resultobj;
12177 wxWindow *arg1 = (wxWindow *) 0 ;
12178 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
12179 wxString *arg2 = (wxString *) &arg2_defvalue ;
12180 wxString const &arg3_defvalue = wxPyEmptyString ;
12181 wxString *arg3 = (wxString *) &arg3_defvalue ;
12182 wxString const &arg4_defvalue = wxPyEmptyString ;
12183 wxString *arg4 = (wxString *) &arg4_defvalue ;
12184 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
12185 wxString *arg5 = (wxString *) &arg5_defvalue ;
12186 long arg6 = (long) 0 ;
12187 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12188 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12189 wxFileDialog *result;
12190 bool temp2 = false ;
12191 bool temp3 = false ;
12192 bool temp4 = false ;
12193 bool temp5 = false ;
12194 wxPoint temp7 ;
12195 PyObject * obj0 = 0 ;
12196 PyObject * obj1 = 0 ;
12197 PyObject * obj2 = 0 ;
12198 PyObject * obj3 = 0 ;
12199 PyObject * obj4 = 0 ;
12200 PyObject * obj5 = 0 ;
12201 PyObject * obj6 = 0 ;
12202 char *kwnames[] = {
12203 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
12204 };
12205
12206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
12207 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12208 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12209 if (obj1) {
12210 {
12211 arg2 = wxString_in_helper(obj1);
12212 if (arg2 == NULL) SWIG_fail;
12213 temp2 = true;
12214 }
12215 }
12216 if (obj2) {
12217 {
12218 arg3 = wxString_in_helper(obj2);
12219 if (arg3 == NULL) SWIG_fail;
12220 temp3 = true;
12221 }
12222 }
12223 if (obj3) {
12224 {
12225 arg4 = wxString_in_helper(obj3);
12226 if (arg4 == NULL) SWIG_fail;
12227 temp4 = true;
12228 }
12229 }
12230 if (obj4) {
12231 {
12232 arg5 = wxString_in_helper(obj4);
12233 if (arg5 == NULL) SWIG_fail;
12234 temp5 = true;
12235 }
12236 }
12237 if (obj5) {
12238 arg6 = (long)SWIG_As_long(obj5);
12239 if (PyErr_Occurred()) SWIG_fail;
12240 }
12241 if (obj6) {
12242 {
12243 arg7 = &temp7;
12244 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
12245 }
12246 }
12247 {
12248 if (!wxPyCheckForApp()) SWIG_fail;
12249 PyThreadState* __tstate = wxPyBeginAllowThreads();
12250 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
12251
12252 wxPyEndAllowThreads(__tstate);
12253 if (PyErr_Occurred()) SWIG_fail;
12254 }
12255 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileDialog, 1);
12256 {
12257 if (temp2)
12258 delete arg2;
12259 }
12260 {
12261 if (temp3)
12262 delete arg3;
12263 }
12264 {
12265 if (temp4)
12266 delete arg4;
12267 }
12268 {
12269 if (temp5)
12270 delete arg5;
12271 }
12272 return resultobj;
12273 fail:
12274 {
12275 if (temp2)
12276 delete arg2;
12277 }
12278 {
12279 if (temp3)
12280 delete arg3;
12281 }
12282 {
12283 if (temp4)
12284 delete arg4;
12285 }
12286 {
12287 if (temp5)
12288 delete arg5;
12289 }
12290 return NULL;
12291 }
12292
12293
12294 static PyObject *_wrap_FileDialog_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
12295 PyObject *resultobj;
12296 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12297 wxString *arg2 = 0 ;
12298 bool temp2 = false ;
12299 PyObject * obj0 = 0 ;
12300 PyObject * obj1 = 0 ;
12301 char *kwnames[] = {
12302 (char *) "self",(char *) "message", NULL
12303 };
12304
12305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
12306 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12307 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12308 {
12309 arg2 = wxString_in_helper(obj1);
12310 if (arg2 == NULL) SWIG_fail;
12311 temp2 = true;
12312 }
12313 {
12314 PyThreadState* __tstate = wxPyBeginAllowThreads();
12315 (arg1)->SetMessage((wxString const &)*arg2);
12316
12317 wxPyEndAllowThreads(__tstate);
12318 if (PyErr_Occurred()) SWIG_fail;
12319 }
12320 Py_INCREF(Py_None); resultobj = Py_None;
12321 {
12322 if (temp2)
12323 delete arg2;
12324 }
12325 return resultobj;
12326 fail:
12327 {
12328 if (temp2)
12329 delete arg2;
12330 }
12331 return NULL;
12332 }
12333
12334
12335 static PyObject *_wrap_FileDialog_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
12336 PyObject *resultobj;
12337 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12338 wxString *arg2 = 0 ;
12339 bool temp2 = false ;
12340 PyObject * obj0 = 0 ;
12341 PyObject * obj1 = 0 ;
12342 char *kwnames[] = {
12343 (char *) "self",(char *) "path", NULL
12344 };
12345
12346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
12347 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12348 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12349 {
12350 arg2 = wxString_in_helper(obj1);
12351 if (arg2 == NULL) SWIG_fail;
12352 temp2 = true;
12353 }
12354 {
12355 PyThreadState* __tstate = wxPyBeginAllowThreads();
12356 (arg1)->SetPath((wxString const &)*arg2);
12357
12358 wxPyEndAllowThreads(__tstate);
12359 if (PyErr_Occurred()) SWIG_fail;
12360 }
12361 Py_INCREF(Py_None); resultobj = Py_None;
12362 {
12363 if (temp2)
12364 delete arg2;
12365 }
12366 return resultobj;
12367 fail:
12368 {
12369 if (temp2)
12370 delete arg2;
12371 }
12372 return NULL;
12373 }
12374
12375
12376 static PyObject *_wrap_FileDialog_SetDirectory(PyObject *, PyObject *args, PyObject *kwargs) {
12377 PyObject *resultobj;
12378 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12379 wxString *arg2 = 0 ;
12380 bool temp2 = false ;
12381 PyObject * obj0 = 0 ;
12382 PyObject * obj1 = 0 ;
12383 char *kwnames[] = {
12384 (char *) "self",(char *) "dir", NULL
12385 };
12386
12387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail;
12388 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12389 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12390 {
12391 arg2 = wxString_in_helper(obj1);
12392 if (arg2 == NULL) SWIG_fail;
12393 temp2 = true;
12394 }
12395 {
12396 PyThreadState* __tstate = wxPyBeginAllowThreads();
12397 (arg1)->SetDirectory((wxString const &)*arg2);
12398
12399 wxPyEndAllowThreads(__tstate);
12400 if (PyErr_Occurred()) SWIG_fail;
12401 }
12402 Py_INCREF(Py_None); resultobj = Py_None;
12403 {
12404 if (temp2)
12405 delete arg2;
12406 }
12407 return resultobj;
12408 fail:
12409 {
12410 if (temp2)
12411 delete arg2;
12412 }
12413 return NULL;
12414 }
12415
12416
12417 static PyObject *_wrap_FileDialog_SetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
12418 PyObject *resultobj;
12419 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12420 wxString *arg2 = 0 ;
12421 bool temp2 = false ;
12422 PyObject * obj0 = 0 ;
12423 PyObject * obj1 = 0 ;
12424 char *kwnames[] = {
12425 (char *) "self",(char *) "name", NULL
12426 };
12427
12428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail;
12429 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12430 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12431 {
12432 arg2 = wxString_in_helper(obj1);
12433 if (arg2 == NULL) SWIG_fail;
12434 temp2 = true;
12435 }
12436 {
12437 PyThreadState* __tstate = wxPyBeginAllowThreads();
12438 (arg1)->SetFilename((wxString const &)*arg2);
12439
12440 wxPyEndAllowThreads(__tstate);
12441 if (PyErr_Occurred()) SWIG_fail;
12442 }
12443 Py_INCREF(Py_None); resultobj = Py_None;
12444 {
12445 if (temp2)
12446 delete arg2;
12447 }
12448 return resultobj;
12449 fail:
12450 {
12451 if (temp2)
12452 delete arg2;
12453 }
12454 return NULL;
12455 }
12456
12457
12458 static PyObject *_wrap_FileDialog_SetWildcard(PyObject *, PyObject *args, PyObject *kwargs) {
12459 PyObject *resultobj;
12460 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12461 wxString *arg2 = 0 ;
12462 bool temp2 = false ;
12463 PyObject * obj0 = 0 ;
12464 PyObject * obj1 = 0 ;
12465 char *kwnames[] = {
12466 (char *) "self",(char *) "wildCard", NULL
12467 };
12468
12469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail;
12470 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12471 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12472 {
12473 arg2 = wxString_in_helper(obj1);
12474 if (arg2 == NULL) SWIG_fail;
12475 temp2 = true;
12476 }
12477 {
12478 PyThreadState* __tstate = wxPyBeginAllowThreads();
12479 (arg1)->SetWildcard((wxString const &)*arg2);
12480
12481 wxPyEndAllowThreads(__tstate);
12482 if (PyErr_Occurred()) SWIG_fail;
12483 }
12484 Py_INCREF(Py_None); resultobj = Py_None;
12485 {
12486 if (temp2)
12487 delete arg2;
12488 }
12489 return resultobj;
12490 fail:
12491 {
12492 if (temp2)
12493 delete arg2;
12494 }
12495 return NULL;
12496 }
12497
12498
12499 static PyObject *_wrap_FileDialog_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
12500 PyObject *resultobj;
12501 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12502 long arg2 ;
12503 PyObject * obj0 = 0 ;
12504 PyObject * obj1 = 0 ;
12505 char *kwnames[] = {
12506 (char *) "self",(char *) "style", NULL
12507 };
12508
12509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetStyle",kwnames,&obj0,&obj1)) goto fail;
12510 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12511 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12512 arg2 = (long)SWIG_As_long(obj1);
12513 if (PyErr_Occurred()) SWIG_fail;
12514 {
12515 PyThreadState* __tstate = wxPyBeginAllowThreads();
12516 (arg1)->SetStyle(arg2);
12517
12518 wxPyEndAllowThreads(__tstate);
12519 if (PyErr_Occurred()) SWIG_fail;
12520 }
12521 Py_INCREF(Py_None); resultobj = Py_None;
12522 return resultobj;
12523 fail:
12524 return NULL;
12525 }
12526
12527
12528 static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
12529 PyObject *resultobj;
12530 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12531 int arg2 ;
12532 PyObject * obj0 = 0 ;
12533 PyObject * obj1 = 0 ;
12534 char *kwnames[] = {
12535 (char *) "self",(char *) "filterIndex", NULL
12536 };
12537
12538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
12539 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12540 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12541 arg2 = (int)SWIG_As_int(obj1);
12542 if (PyErr_Occurred()) SWIG_fail;
12543 {
12544 PyThreadState* __tstate = wxPyBeginAllowThreads();
12545 (arg1)->SetFilterIndex(arg2);
12546
12547 wxPyEndAllowThreads(__tstate);
12548 if (PyErr_Occurred()) SWIG_fail;
12549 }
12550 Py_INCREF(Py_None); resultobj = Py_None;
12551 return resultobj;
12552 fail:
12553 return NULL;
12554 }
12555
12556
12557 static PyObject *_wrap_FileDialog_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
12558 PyObject *resultobj;
12559 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12560 wxString result;
12561 PyObject * obj0 = 0 ;
12562 char *kwnames[] = {
12563 (char *) "self", NULL
12564 };
12565
12566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail;
12567 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12568 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12569 {
12570 PyThreadState* __tstate = wxPyBeginAllowThreads();
12571 result = ((wxFileDialog const *)arg1)->GetMessage();
12572
12573 wxPyEndAllowThreads(__tstate);
12574 if (PyErr_Occurred()) SWIG_fail;
12575 }
12576 {
12577 #if wxUSE_UNICODE
12578 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12579 #else
12580 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12581 #endif
12582 }
12583 return resultobj;
12584 fail:
12585 return NULL;
12586 }
12587
12588
12589 static PyObject *_wrap_FileDialog_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
12590 PyObject *resultobj;
12591 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12592 wxString result;
12593 PyObject * obj0 = 0 ;
12594 char *kwnames[] = {
12595 (char *) "self", NULL
12596 };
12597
12598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail;
12599 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12600 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12601 {
12602 PyThreadState* __tstate = wxPyBeginAllowThreads();
12603 result = ((wxFileDialog const *)arg1)->GetPath();
12604
12605 wxPyEndAllowThreads(__tstate);
12606 if (PyErr_Occurred()) SWIG_fail;
12607 }
12608 {
12609 #if wxUSE_UNICODE
12610 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12611 #else
12612 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12613 #endif
12614 }
12615 return resultobj;
12616 fail:
12617 return NULL;
12618 }
12619
12620
12621 static PyObject *_wrap_FileDialog_GetDirectory(PyObject *, PyObject *args, PyObject *kwargs) {
12622 PyObject *resultobj;
12623 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12624 wxString result;
12625 PyObject * obj0 = 0 ;
12626 char *kwnames[] = {
12627 (char *) "self", NULL
12628 };
12629
12630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail;
12631 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12632 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12633 {
12634 PyThreadState* __tstate = wxPyBeginAllowThreads();
12635 result = ((wxFileDialog const *)arg1)->GetDirectory();
12636
12637 wxPyEndAllowThreads(__tstate);
12638 if (PyErr_Occurred()) SWIG_fail;
12639 }
12640 {
12641 #if wxUSE_UNICODE
12642 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12643 #else
12644 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12645 #endif
12646 }
12647 return resultobj;
12648 fail:
12649 return NULL;
12650 }
12651
12652
12653 static PyObject *_wrap_FileDialog_GetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
12654 PyObject *resultobj;
12655 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12656 wxString result;
12657 PyObject * obj0 = 0 ;
12658 char *kwnames[] = {
12659 (char *) "self", NULL
12660 };
12661
12662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail;
12663 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12664 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12665 {
12666 PyThreadState* __tstate = wxPyBeginAllowThreads();
12667 result = ((wxFileDialog const *)arg1)->GetFilename();
12668
12669 wxPyEndAllowThreads(__tstate);
12670 if (PyErr_Occurred()) SWIG_fail;
12671 }
12672 {
12673 #if wxUSE_UNICODE
12674 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12675 #else
12676 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12677 #endif
12678 }
12679 return resultobj;
12680 fail:
12681 return NULL;
12682 }
12683
12684
12685 static PyObject *_wrap_FileDialog_GetWildcard(PyObject *, PyObject *args, PyObject *kwargs) {
12686 PyObject *resultobj;
12687 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12688 wxString result;
12689 PyObject * obj0 = 0 ;
12690 char *kwnames[] = {
12691 (char *) "self", NULL
12692 };
12693
12694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail;
12695 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12696 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12697 {
12698 PyThreadState* __tstate = wxPyBeginAllowThreads();
12699 result = ((wxFileDialog const *)arg1)->GetWildcard();
12700
12701 wxPyEndAllowThreads(__tstate);
12702 if (PyErr_Occurred()) SWIG_fail;
12703 }
12704 {
12705 #if wxUSE_UNICODE
12706 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12707 #else
12708 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12709 #endif
12710 }
12711 return resultobj;
12712 fail:
12713 return NULL;
12714 }
12715
12716
12717 static PyObject *_wrap_FileDialog_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
12718 PyObject *resultobj;
12719 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12720 long result;
12721 PyObject * obj0 = 0 ;
12722 char *kwnames[] = {
12723 (char *) "self", NULL
12724 };
12725
12726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail;
12727 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12728 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12729 {
12730 PyThreadState* __tstate = wxPyBeginAllowThreads();
12731 result = (long)((wxFileDialog const *)arg1)->GetStyle();
12732
12733 wxPyEndAllowThreads(__tstate);
12734 if (PyErr_Occurred()) SWIG_fail;
12735 }
12736 resultobj = SWIG_From_long((long)result);
12737 return resultobj;
12738 fail:
12739 return NULL;
12740 }
12741
12742
12743 static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
12744 PyObject *resultobj;
12745 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12746 int result;
12747 PyObject * obj0 = 0 ;
12748 char *kwnames[] = {
12749 (char *) "self", NULL
12750 };
12751
12752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail;
12753 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12754 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12755 {
12756 PyThreadState* __tstate = wxPyBeginAllowThreads();
12757 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
12758
12759 wxPyEndAllowThreads(__tstate);
12760 if (PyErr_Occurred()) SWIG_fail;
12761 }
12762 resultobj = SWIG_From_int((int)result);
12763 return resultobj;
12764 fail:
12765 return NULL;
12766 }
12767
12768
12769 static PyObject *_wrap_FileDialog_GetFilenames(PyObject *, PyObject *args, PyObject *kwargs) {
12770 PyObject *resultobj;
12771 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12772 PyObject *result;
12773 PyObject * obj0 = 0 ;
12774 char *kwnames[] = {
12775 (char *) "self", NULL
12776 };
12777
12778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail;
12779 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12780 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12781 {
12782 PyThreadState* __tstate = wxPyBeginAllowThreads();
12783 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
12784
12785 wxPyEndAllowThreads(__tstate);
12786 if (PyErr_Occurred()) SWIG_fail;
12787 }
12788 resultobj = result;
12789 return resultobj;
12790 fail:
12791 return NULL;
12792 }
12793
12794
12795 static PyObject *_wrap_FileDialog_GetPaths(PyObject *, PyObject *args, PyObject *kwargs) {
12796 PyObject *resultobj;
12797 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12798 PyObject *result;
12799 PyObject * obj0 = 0 ;
12800 char *kwnames[] = {
12801 (char *) "self", NULL
12802 };
12803
12804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail;
12805 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12806 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12807 {
12808 PyThreadState* __tstate = wxPyBeginAllowThreads();
12809 result = (PyObject *)wxFileDialog_GetPaths(arg1);
12810
12811 wxPyEndAllowThreads(__tstate);
12812 if (PyErr_Occurred()) SWIG_fail;
12813 }
12814 resultobj = result;
12815 return resultobj;
12816 fail:
12817 return NULL;
12818 }
12819
12820
12821 static PyObject * FileDialog_swigregister(PyObject *, PyObject *args) {
12822 PyObject *obj;
12823 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12824 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj);
12825 Py_INCREF(obj);
12826 return Py_BuildValue((char *)"");
12827 }
12828 static PyObject *_wrap_new_MultiChoiceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
12829 PyObject *resultobj;
12830 wxWindow *arg1 = (wxWindow *) 0 ;
12831 wxString *arg2 = 0 ;
12832 wxString *arg3 = 0 ;
12833 int arg4 = (int) 0 ;
12834 wxString *arg5 = (wxString *) NULL ;
12835 long arg6 = (long) wxCHOICEDLG_STYLE ;
12836 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12837 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12838 wxMultiChoiceDialog *result;
12839 bool temp2 = false ;
12840 bool temp3 = false ;
12841 wxPoint temp6 ;
12842 PyObject * obj0 = 0 ;
12843 PyObject * obj1 = 0 ;
12844 PyObject * obj2 = 0 ;
12845 PyObject * obj3 = 0 ;
12846 PyObject * obj4 = 0 ;
12847 PyObject * obj5 = 0 ;
12848 char *kwnames[] = {
12849 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12850 };
12851
12852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12853 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12854 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12855 {
12856 arg2 = wxString_in_helper(obj1);
12857 if (arg2 == NULL) SWIG_fail;
12858 temp2 = true;
12859 }
12860 {
12861 arg3 = wxString_in_helper(obj2);
12862 if (arg3 == NULL) SWIG_fail;
12863 temp3 = true;
12864 }
12865 if (obj3) {
12866 {
12867 arg4 = PyList_Size(obj3);
12868 arg5 = wxString_LIST_helper(obj3);
12869 if (arg5 == NULL) SWIG_fail;
12870 }
12871 }
12872 if (obj4) {
12873 arg6 = (long)SWIG_As_long(obj4);
12874 if (PyErr_Occurred()) SWIG_fail;
12875 }
12876 if (obj5) {
12877 {
12878 arg7 = &temp6;
12879 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
12880 }
12881 }
12882 {
12883 if (!wxPyCheckForApp()) SWIG_fail;
12884 PyThreadState* __tstate = wxPyBeginAllowThreads();
12885 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
12886
12887 wxPyEndAllowThreads(__tstate);
12888 if (PyErr_Occurred()) SWIG_fail;
12889 }
12890 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMultiChoiceDialog, 1);
12891 {
12892 if (temp2)
12893 delete arg2;
12894 }
12895 {
12896 if (temp3)
12897 delete arg3;
12898 }
12899 {
12900 if (arg5) delete [] arg5;
12901 }
12902 return resultobj;
12903 fail:
12904 {
12905 if (temp2)
12906 delete arg2;
12907 }
12908 {
12909 if (temp3)
12910 delete arg3;
12911 }
12912 {
12913 if (arg5) delete [] arg5;
12914 }
12915 return NULL;
12916 }
12917
12918
12919 static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
12920 PyObject *resultobj;
12921 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
12922 wxArrayInt *arg2 = 0 ;
12923 bool temp2 = false ;
12924 PyObject * obj0 = 0 ;
12925 PyObject * obj1 = 0 ;
12926 char *kwnames[] = {
12927 (char *) "self",(char *) "selections", NULL
12928 };
12929
12930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail;
12931 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog,
12932 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12933 {
12934 if (! PySequence_Check(obj1)) {
12935 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
12936 SWIG_fail;
12937 }
12938 arg2 = new wxArrayInt;
12939 temp2 = true;
12940 int i, len=PySequence_Length(obj1);
12941 for (i=0; i<len; i++) {
12942 PyObject* item = PySequence_GetItem(obj1, i);
12943 PyObject* number = PyNumber_Int(item);
12944 arg2->Add(PyInt_AS_LONG(number));
12945 Py_DECREF(item);
12946 Py_DECREF(number);
12947 }
12948 }
12949 {
12950 PyThreadState* __tstate = wxPyBeginAllowThreads();
12951 (arg1)->SetSelections((wxArrayInt const &)*arg2);
12952
12953 wxPyEndAllowThreads(__tstate);
12954 if (PyErr_Occurred()) SWIG_fail;
12955 }
12956 Py_INCREF(Py_None); resultobj = Py_None;
12957 {
12958 if (temp2) delete arg2;
12959 }
12960 return resultobj;
12961 fail:
12962 {
12963 if (temp2) delete arg2;
12964 }
12965 return NULL;
12966 }
12967
12968
12969 static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
12970 PyObject *resultobj;
12971 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
12972 PyObject *result;
12973 PyObject * obj0 = 0 ;
12974 char *kwnames[] = {
12975 (char *) "self", NULL
12976 };
12977
12978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail;
12979 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog,
12980 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12981 {
12982 PyThreadState* __tstate = wxPyBeginAllowThreads();
12983 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
12984
12985 wxPyEndAllowThreads(__tstate);
12986 if (PyErr_Occurred()) SWIG_fail;
12987 }
12988 resultobj = result;
12989 return resultobj;
12990 fail:
12991 return NULL;
12992 }
12993
12994
12995 static PyObject * MultiChoiceDialog_swigregister(PyObject *, PyObject *args) {
12996 PyObject *obj;
12997 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12998 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj);
12999 Py_INCREF(obj);
13000 return Py_BuildValue((char *)"");
13001 }
13002 static PyObject *_wrap_new_SingleChoiceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
13003 PyObject *resultobj;
13004 wxWindow *arg1 = (wxWindow *) 0 ;
13005 wxString *arg2 = 0 ;
13006 wxString *arg3 = 0 ;
13007 int arg4 ;
13008 wxString *arg5 = (wxString *) 0 ;
13009 long arg6 = (long) wxCHOICEDLG_STYLE ;
13010 wxPoint const &arg7_defvalue = wxDefaultPosition ;
13011 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
13012 wxSingleChoiceDialog *result;
13013 bool temp2 = false ;
13014 bool temp3 = false ;
13015 wxPoint temp6 ;
13016 PyObject * obj0 = 0 ;
13017 PyObject * obj1 = 0 ;
13018 PyObject * obj2 = 0 ;
13019 PyObject * obj3 = 0 ;
13020 PyObject * obj4 = 0 ;
13021 PyObject * obj5 = 0 ;
13022 char *kwnames[] = {
13023 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
13024 };
13025
13026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
13027 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13028 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13029 {
13030 arg2 = wxString_in_helper(obj1);
13031 if (arg2 == NULL) SWIG_fail;
13032 temp2 = true;
13033 }
13034 {
13035 arg3 = wxString_in_helper(obj2);
13036 if (arg3 == NULL) SWIG_fail;
13037 temp3 = true;
13038 }
13039 {
13040 arg4 = PyList_Size(obj3);
13041 arg5 = wxString_LIST_helper(obj3);
13042 if (arg5 == NULL) SWIG_fail;
13043 }
13044 if (obj4) {
13045 arg6 = (long)SWIG_As_long(obj4);
13046 if (PyErr_Occurred()) SWIG_fail;
13047 }
13048 if (obj5) {
13049 {
13050 arg7 = &temp6;
13051 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
13052 }
13053 }
13054 {
13055 if (!wxPyCheckForApp()) SWIG_fail;
13056 PyThreadState* __tstate = wxPyBeginAllowThreads();
13057 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
13058
13059 wxPyEndAllowThreads(__tstate);
13060 if (PyErr_Occurred()) SWIG_fail;
13061 }
13062 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleChoiceDialog, 1);
13063 {
13064 if (temp2)
13065 delete arg2;
13066 }
13067 {
13068 if (temp3)
13069 delete arg3;
13070 }
13071 {
13072 if (arg5) delete [] arg5;
13073 }
13074 return resultobj;
13075 fail:
13076 {
13077 if (temp2)
13078 delete arg2;
13079 }
13080 {
13081 if (temp3)
13082 delete arg3;
13083 }
13084 {
13085 if (arg5) delete [] arg5;
13086 }
13087 return NULL;
13088 }
13089
13090
13091 static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13092 PyObject *resultobj;
13093 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
13094 int result;
13095 PyObject * obj0 = 0 ;
13096 char *kwnames[] = {
13097 (char *) "self", NULL
13098 };
13099
13100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail;
13101 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
13102 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13103 {
13104 PyThreadState* __tstate = wxPyBeginAllowThreads();
13105 result = (int)(arg1)->GetSelection();
13106
13107 wxPyEndAllowThreads(__tstate);
13108 if (PyErr_Occurred()) SWIG_fail;
13109 }
13110 resultobj = SWIG_From_int((int)result);
13111 return resultobj;
13112 fail:
13113 return NULL;
13114 }
13115
13116
13117 static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13118 PyObject *resultobj;
13119 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
13120 wxString result;
13121 PyObject * obj0 = 0 ;
13122 char *kwnames[] = {
13123 (char *) "self", NULL
13124 };
13125
13126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail;
13127 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
13128 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13129 {
13130 PyThreadState* __tstate = wxPyBeginAllowThreads();
13131 result = (arg1)->GetStringSelection();
13132
13133 wxPyEndAllowThreads(__tstate);
13134 if (PyErr_Occurred()) SWIG_fail;
13135 }
13136 {
13137 #if wxUSE_UNICODE
13138 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13139 #else
13140 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13141 #endif
13142 }
13143 return resultobj;
13144 fail:
13145 return NULL;
13146 }
13147
13148
13149 static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13150 PyObject *resultobj;
13151 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
13152 int arg2 ;
13153 PyObject * obj0 = 0 ;
13154 PyObject * obj1 = 0 ;
13155 char *kwnames[] = {
13156 (char *) "self",(char *) "sel", NULL
13157 };
13158
13159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) goto fail;
13160 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
13161 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13162 arg2 = (int)SWIG_As_int(obj1);
13163 if (PyErr_Occurred()) SWIG_fail;
13164 {
13165 PyThreadState* __tstate = wxPyBeginAllowThreads();
13166 (arg1)->SetSelection(arg2);
13167
13168 wxPyEndAllowThreads(__tstate);
13169 if (PyErr_Occurred()) SWIG_fail;
13170 }
13171 Py_INCREF(Py_None); resultobj = Py_None;
13172 return resultobj;
13173 fail:
13174 return NULL;
13175 }
13176
13177
13178 static PyObject * SingleChoiceDialog_swigregister(PyObject *, PyObject *args) {
13179 PyObject *obj;
13180 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13181 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj);
13182 Py_INCREF(obj);
13183 return Py_BuildValue((char *)"");
13184 }
13185 static PyObject *_wrap_new_TextEntryDialog(PyObject *, PyObject *args, PyObject *kwargs) {
13186 PyObject *resultobj;
13187 wxWindow *arg1 = (wxWindow *) 0 ;
13188 wxString *arg2 = 0 ;
13189 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
13190 wxString *arg3 = (wxString *) &arg3_defvalue ;
13191 wxString const &arg4_defvalue = wxPyEmptyString ;
13192 wxString *arg4 = (wxString *) &arg4_defvalue ;
13193 long arg5 = (long) wxTextEntryDialogStyle ;
13194 wxPoint const &arg6_defvalue = wxDefaultPosition ;
13195 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
13196 wxTextEntryDialog *result;
13197 bool temp2 = false ;
13198 bool temp3 = false ;
13199 bool temp4 = false ;
13200 wxPoint temp6 ;
13201 PyObject * obj0 = 0 ;
13202 PyObject * obj1 = 0 ;
13203 PyObject * obj2 = 0 ;
13204 PyObject * obj3 = 0 ;
13205 PyObject * obj4 = 0 ;
13206 PyObject * obj5 = 0 ;
13207 char *kwnames[] = {
13208 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
13209 };
13210
13211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
13212 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13213 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13214 {
13215 arg2 = wxString_in_helper(obj1);
13216 if (arg2 == NULL) SWIG_fail;
13217 temp2 = true;
13218 }
13219 if (obj2) {
13220 {
13221 arg3 = wxString_in_helper(obj2);
13222 if (arg3 == NULL) SWIG_fail;
13223 temp3 = true;
13224 }
13225 }
13226 if (obj3) {
13227 {
13228 arg4 = wxString_in_helper(obj3);
13229 if (arg4 == NULL) SWIG_fail;
13230 temp4 = true;
13231 }
13232 }
13233 if (obj4) {
13234 arg5 = (long)SWIG_As_long(obj4);
13235 if (PyErr_Occurred()) SWIG_fail;
13236 }
13237 if (obj5) {
13238 {
13239 arg6 = &temp6;
13240 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
13241 }
13242 }
13243 {
13244 if (!wxPyCheckForApp()) SWIG_fail;
13245 PyThreadState* __tstate = wxPyBeginAllowThreads();
13246 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
13247
13248 wxPyEndAllowThreads(__tstate);
13249 if (PyErr_Occurred()) SWIG_fail;
13250 }
13251 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextEntryDialog, 1);
13252 {
13253 if (temp2)
13254 delete arg2;
13255 }
13256 {
13257 if (temp3)
13258 delete arg3;
13259 }
13260 {
13261 if (temp4)
13262 delete arg4;
13263 }
13264 return resultobj;
13265 fail:
13266 {
13267 if (temp2)
13268 delete arg2;
13269 }
13270 {
13271 if (temp3)
13272 delete arg3;
13273 }
13274 {
13275 if (temp4)
13276 delete arg4;
13277 }
13278 return NULL;
13279 }
13280
13281
13282 static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
13283 PyObject *resultobj;
13284 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
13285 wxString result;
13286 PyObject * obj0 = 0 ;
13287 char *kwnames[] = {
13288 (char *) "self", NULL
13289 };
13290
13291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail;
13292 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog,
13293 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13294 {
13295 PyThreadState* __tstate = wxPyBeginAllowThreads();
13296 result = (arg1)->GetValue();
13297
13298 wxPyEndAllowThreads(__tstate);
13299 if (PyErr_Occurred()) SWIG_fail;
13300 }
13301 {
13302 #if wxUSE_UNICODE
13303 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13304 #else
13305 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13306 #endif
13307 }
13308 return resultobj;
13309 fail:
13310 return NULL;
13311 }
13312
13313
13314 static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
13315 PyObject *resultobj;
13316 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
13317 wxString *arg2 = 0 ;
13318 bool temp2 = false ;
13319 PyObject * obj0 = 0 ;
13320 PyObject * obj1 = 0 ;
13321 char *kwnames[] = {
13322 (char *) "self",(char *) "value", NULL
13323 };
13324
13325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail;
13326 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog,
13327 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13328 {
13329 arg2 = wxString_in_helper(obj1);
13330 if (arg2 == NULL) SWIG_fail;
13331 temp2 = true;
13332 }
13333 {
13334 PyThreadState* __tstate = wxPyBeginAllowThreads();
13335 (arg1)->SetValue((wxString const &)*arg2);
13336
13337 wxPyEndAllowThreads(__tstate);
13338 if (PyErr_Occurred()) SWIG_fail;
13339 }
13340 Py_INCREF(Py_None); resultobj = Py_None;
13341 {
13342 if (temp2)
13343 delete arg2;
13344 }
13345 return resultobj;
13346 fail:
13347 {
13348 if (temp2)
13349 delete arg2;
13350 }
13351 return NULL;
13352 }
13353
13354
13355 static PyObject * TextEntryDialog_swigregister(PyObject *, PyObject *args) {
13356 PyObject *obj;
13357 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13358 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj);
13359 Py_INCREF(obj);
13360 return Py_BuildValue((char *)"");
13361 }
13362 static int _wrap_GetPasswordFromUserPromptStr_set(PyObject *) {
13363 PyErr_SetString(PyExc_TypeError,"Variable GetPasswordFromUserPromptStr is read-only.");
13364 return 1;
13365 }
13366
13367
13368 static PyObject *_wrap_GetPasswordFromUserPromptStr_get() {
13369 PyObject *pyobj;
13370
13371 {
13372 #if wxUSE_UNICODE
13373 pyobj = PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
13374 #else
13375 pyobj = PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
13376 #endif
13377 }
13378 return pyobj;
13379 }
13380
13381
13382 static PyObject *_wrap_new_PasswordEntryDialog(PyObject *, PyObject *args, PyObject *kwargs) {
13383 PyObject *resultobj;
13384 wxWindow *arg1 = (wxWindow *) 0 ;
13385 wxString *arg2 = 0 ;
13386 wxString const &arg3_defvalue = wxPyGetPasswordFromUserPromptStr ;
13387 wxString *arg3 = (wxString *) &arg3_defvalue ;
13388 wxString const &arg4_defvalue = wxPyEmptyString ;
13389 wxString *arg4 = (wxString *) &arg4_defvalue ;
13390 long arg5 = (long) wxTextEntryDialogStyle ;
13391 wxPoint const &arg6_defvalue = wxDefaultPosition ;
13392 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
13393 wxPasswordEntryDialog *result;
13394 bool temp2 = false ;
13395 bool temp3 = false ;
13396 bool temp4 = false ;
13397 wxPoint temp6 ;
13398 PyObject * obj0 = 0 ;
13399 PyObject * obj1 = 0 ;
13400 PyObject * obj2 = 0 ;
13401 PyObject * obj3 = 0 ;
13402 PyObject * obj4 = 0 ;
13403 PyObject * obj5 = 0 ;
13404 char *kwnames[] = {
13405 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
13406 };
13407
13408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
13409 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13410 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13411 {
13412 arg2 = wxString_in_helper(obj1);
13413 if (arg2 == NULL) SWIG_fail;
13414 temp2 = true;
13415 }
13416 if (obj2) {
13417 {
13418 arg3 = wxString_in_helper(obj2);
13419 if (arg3 == NULL) SWIG_fail;
13420 temp3 = true;
13421 }
13422 }
13423 if (obj3) {
13424 {
13425 arg4 = wxString_in_helper(obj3);
13426 if (arg4 == NULL) SWIG_fail;
13427 temp4 = true;
13428 }
13429 }
13430 if (obj4) {
13431 arg5 = (long)SWIG_As_long(obj4);
13432 if (PyErr_Occurred()) SWIG_fail;
13433 }
13434 if (obj5) {
13435 {
13436 arg6 = &temp6;
13437 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
13438 }
13439 }
13440 {
13441 PyThreadState* __tstate = wxPyBeginAllowThreads();
13442 result = (wxPasswordEntryDialog *)new wxPasswordEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
13443
13444 wxPyEndAllowThreads(__tstate);
13445 if (PyErr_Occurred()) SWIG_fail;
13446 }
13447 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPasswordEntryDialog, 1);
13448 {
13449 if (temp2)
13450 delete arg2;
13451 }
13452 {
13453 if (temp3)
13454 delete arg3;
13455 }
13456 {
13457 if (temp4)
13458 delete arg4;
13459 }
13460 return resultobj;
13461 fail:
13462 {
13463 if (temp2)
13464 delete arg2;
13465 }
13466 {
13467 if (temp3)
13468 delete arg3;
13469 }
13470 {
13471 if (temp4)
13472 delete arg4;
13473 }
13474 return NULL;
13475 }
13476
13477
13478 static PyObject * PasswordEntryDialog_swigregister(PyObject *, PyObject *args) {
13479 PyObject *obj;
13480 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13481 SWIG_TypeClientData(SWIGTYPE_p_wxPasswordEntryDialog, obj);
13482 Py_INCREF(obj);
13483 return Py_BuildValue((char *)"");
13484 }
13485 static PyObject *_wrap_new_FontData(PyObject *, PyObject *args, PyObject *kwargs) {
13486 PyObject *resultobj;
13487 wxFontData *result;
13488 char *kwnames[] = {
13489 NULL
13490 };
13491
13492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail;
13493 {
13494 PyThreadState* __tstate = wxPyBeginAllowThreads();
13495 result = (wxFontData *)new wxFontData();
13496
13497 wxPyEndAllowThreads(__tstate);
13498 if (PyErr_Occurred()) SWIG_fail;
13499 }
13500 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 1);
13501 return resultobj;
13502 fail:
13503 return NULL;
13504 }
13505
13506
13507 static PyObject *_wrap_delete_FontData(PyObject *, PyObject *args, PyObject *kwargs) {
13508 PyObject *resultobj;
13509 wxFontData *arg1 = (wxFontData *) 0 ;
13510 PyObject * obj0 = 0 ;
13511 char *kwnames[] = {
13512 (char *) "self", NULL
13513 };
13514
13515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail;
13516 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13517 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13518 {
13519 PyThreadState* __tstate = wxPyBeginAllowThreads();
13520 delete arg1;
13521
13522 wxPyEndAllowThreads(__tstate);
13523 if (PyErr_Occurred()) SWIG_fail;
13524 }
13525 Py_INCREF(Py_None); resultobj = Py_None;
13526 return resultobj;
13527 fail:
13528 return NULL;
13529 }
13530
13531
13532 static PyObject *_wrap_FontData_EnableEffects(PyObject *, PyObject *args, PyObject *kwargs) {
13533 PyObject *resultobj;
13534 wxFontData *arg1 = (wxFontData *) 0 ;
13535 bool arg2 ;
13536 PyObject * obj0 = 0 ;
13537 PyObject * obj1 = 0 ;
13538 char *kwnames[] = {
13539 (char *) "self",(char *) "enable", NULL
13540 };
13541
13542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail;
13543 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13544 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13545 arg2 = (bool)SWIG_As_bool(obj1);
13546 if (PyErr_Occurred()) SWIG_fail;
13547 {
13548 PyThreadState* __tstate = wxPyBeginAllowThreads();
13549 (arg1)->EnableEffects(arg2);
13550
13551 wxPyEndAllowThreads(__tstate);
13552 if (PyErr_Occurred()) SWIG_fail;
13553 }
13554 Py_INCREF(Py_None); resultobj = Py_None;
13555 return resultobj;
13556 fail:
13557 return NULL;
13558 }
13559
13560
13561 static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *, PyObject *args, PyObject *kwargs) {
13562 PyObject *resultobj;
13563 wxFontData *arg1 = (wxFontData *) 0 ;
13564 bool result;
13565 PyObject * obj0 = 0 ;
13566 char *kwnames[] = {
13567 (char *) "self", NULL
13568 };
13569
13570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail;
13571 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13572 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13573 {
13574 PyThreadState* __tstate = wxPyBeginAllowThreads();
13575 result = (bool)(arg1)->GetAllowSymbols();
13576
13577 wxPyEndAllowThreads(__tstate);
13578 if (PyErr_Occurred()) SWIG_fail;
13579 }
13580 {
13581 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13582 }
13583 return resultobj;
13584 fail:
13585 return NULL;
13586 }
13587
13588
13589 static PyObject *_wrap_FontData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
13590 PyObject *resultobj;
13591 wxFontData *arg1 = (wxFontData *) 0 ;
13592 wxColour result;
13593 PyObject * obj0 = 0 ;
13594 char *kwnames[] = {
13595 (char *) "self", NULL
13596 };
13597
13598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail;
13599 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13600 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13601 {
13602 PyThreadState* __tstate = wxPyBeginAllowThreads();
13603 result = (arg1)->GetColour();
13604
13605 wxPyEndAllowThreads(__tstate);
13606 if (PyErr_Occurred()) SWIG_fail;
13607 }
13608 {
13609 wxColour * resultptr;
13610 resultptr = new wxColour((wxColour &) result);
13611 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
13612 }
13613 return resultobj;
13614 fail:
13615 return NULL;
13616 }
13617
13618
13619 static PyObject *_wrap_FontData_GetChosenFont(PyObject *, PyObject *args, PyObject *kwargs) {
13620 PyObject *resultobj;
13621 wxFontData *arg1 = (wxFontData *) 0 ;
13622 wxFont result;
13623 PyObject * obj0 = 0 ;
13624 char *kwnames[] = {
13625 (char *) "self", NULL
13626 };
13627
13628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail;
13629 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13630 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13631 {
13632 PyThreadState* __tstate = wxPyBeginAllowThreads();
13633 result = (arg1)->GetChosenFont();
13634
13635 wxPyEndAllowThreads(__tstate);
13636 if (PyErr_Occurred()) SWIG_fail;
13637 }
13638 {
13639 wxFont * resultptr;
13640 resultptr = new wxFont((wxFont &) result);
13641 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
13642 }
13643 return resultobj;
13644 fail:
13645 return NULL;
13646 }
13647
13648
13649 static PyObject *_wrap_FontData_GetEnableEffects(PyObject *, PyObject *args, PyObject *kwargs) {
13650 PyObject *resultobj;
13651 wxFontData *arg1 = (wxFontData *) 0 ;
13652 bool result;
13653 PyObject * obj0 = 0 ;
13654 char *kwnames[] = {
13655 (char *) "self", NULL
13656 };
13657
13658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail;
13659 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13660 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13661 {
13662 PyThreadState* __tstate = wxPyBeginAllowThreads();
13663 result = (bool)(arg1)->GetEnableEffects();
13664
13665 wxPyEndAllowThreads(__tstate);
13666 if (PyErr_Occurred()) SWIG_fail;
13667 }
13668 {
13669 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13670 }
13671 return resultobj;
13672 fail:
13673 return NULL;
13674 }
13675
13676
13677 static PyObject *_wrap_FontData_GetInitialFont(PyObject *, PyObject *args, PyObject *kwargs) {
13678 PyObject *resultobj;
13679 wxFontData *arg1 = (wxFontData *) 0 ;
13680 wxFont result;
13681 PyObject * obj0 = 0 ;
13682 char *kwnames[] = {
13683 (char *) "self", NULL
13684 };
13685
13686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail;
13687 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13688 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13689 {
13690 PyThreadState* __tstate = wxPyBeginAllowThreads();
13691 result = (arg1)->GetInitialFont();
13692
13693 wxPyEndAllowThreads(__tstate);
13694 if (PyErr_Occurred()) SWIG_fail;
13695 }
13696 {
13697 wxFont * resultptr;
13698 resultptr = new wxFont((wxFont &) result);
13699 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
13700 }
13701 return resultobj;
13702 fail:
13703 return NULL;
13704 }
13705
13706
13707 static PyObject *_wrap_FontData_GetShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
13708 PyObject *resultobj;
13709 wxFontData *arg1 = (wxFontData *) 0 ;
13710 bool result;
13711 PyObject * obj0 = 0 ;
13712 char *kwnames[] = {
13713 (char *) "self", NULL
13714 };
13715
13716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail;
13717 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13718 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13719 {
13720 PyThreadState* __tstate = wxPyBeginAllowThreads();
13721 result = (bool)(arg1)->GetShowHelp();
13722
13723 wxPyEndAllowThreads(__tstate);
13724 if (PyErr_Occurred()) SWIG_fail;
13725 }
13726 {
13727 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13728 }
13729 return resultobj;
13730 fail:
13731 return NULL;
13732 }
13733
13734
13735 static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *, PyObject *args, PyObject *kwargs) {
13736 PyObject *resultobj;
13737 wxFontData *arg1 = (wxFontData *) 0 ;
13738 bool arg2 ;
13739 PyObject * obj0 = 0 ;
13740 PyObject * obj1 = 0 ;
13741 char *kwnames[] = {
13742 (char *) "self",(char *) "allowSymbols", NULL
13743 };
13744
13745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail;
13746 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13747 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13748 arg2 = (bool)SWIG_As_bool(obj1);
13749 if (PyErr_Occurred()) SWIG_fail;
13750 {
13751 PyThreadState* __tstate = wxPyBeginAllowThreads();
13752 (arg1)->SetAllowSymbols(arg2);
13753
13754 wxPyEndAllowThreads(__tstate);
13755 if (PyErr_Occurred()) SWIG_fail;
13756 }
13757 Py_INCREF(Py_None); resultobj = Py_None;
13758 return resultobj;
13759 fail:
13760 return NULL;
13761 }
13762
13763
13764 static PyObject *_wrap_FontData_SetChosenFont(PyObject *, PyObject *args, PyObject *kwargs) {
13765 PyObject *resultobj;
13766 wxFontData *arg1 = (wxFontData *) 0 ;
13767 wxFont *arg2 = 0 ;
13768 PyObject * obj0 = 0 ;
13769 PyObject * obj1 = 0 ;
13770 char *kwnames[] = {
13771 (char *) "self",(char *) "font", NULL
13772 };
13773
13774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail;
13775 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13776 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13777 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
13778 SWIG_POINTER_EXCEPTION | 0)) == -1)
13779 SWIG_fail;
13780 if (arg2 == NULL) {
13781 PyErr_SetString(PyExc_TypeError,"null reference");
13782 SWIG_fail;
13783 }
13784 {
13785 PyThreadState* __tstate = wxPyBeginAllowThreads();
13786 (arg1)->SetChosenFont((wxFont const &)*arg2);
13787
13788 wxPyEndAllowThreads(__tstate);
13789 if (PyErr_Occurred()) SWIG_fail;
13790 }
13791 Py_INCREF(Py_None); resultobj = Py_None;
13792 return resultobj;
13793 fail:
13794 return NULL;
13795 }
13796
13797
13798 static PyObject *_wrap_FontData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
13799 PyObject *resultobj;
13800 wxFontData *arg1 = (wxFontData *) 0 ;
13801 wxColour *arg2 = 0 ;
13802 wxColour temp2 ;
13803 PyObject * obj0 = 0 ;
13804 PyObject * obj1 = 0 ;
13805 char *kwnames[] = {
13806 (char *) "self",(char *) "colour", NULL
13807 };
13808
13809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail;
13810 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13811 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13812 {
13813 arg2 = &temp2;
13814 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
13815 }
13816 {
13817 PyThreadState* __tstate = wxPyBeginAllowThreads();
13818 (arg1)->SetColour((wxColour const &)*arg2);
13819
13820 wxPyEndAllowThreads(__tstate);
13821 if (PyErr_Occurred()) SWIG_fail;
13822 }
13823 Py_INCREF(Py_None); resultobj = Py_None;
13824 return resultobj;
13825 fail:
13826 return NULL;
13827 }
13828
13829
13830 static PyObject *_wrap_FontData_SetInitialFont(PyObject *, PyObject *args, PyObject *kwargs) {
13831 PyObject *resultobj;
13832 wxFontData *arg1 = (wxFontData *) 0 ;
13833 wxFont *arg2 = 0 ;
13834 PyObject * obj0 = 0 ;
13835 PyObject * obj1 = 0 ;
13836 char *kwnames[] = {
13837 (char *) "self",(char *) "font", NULL
13838 };
13839
13840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail;
13841 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13842 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13843 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
13844 SWIG_POINTER_EXCEPTION | 0)) == -1)
13845 SWIG_fail;
13846 if (arg2 == NULL) {
13847 PyErr_SetString(PyExc_TypeError,"null reference");
13848 SWIG_fail;
13849 }
13850 {
13851 PyThreadState* __tstate = wxPyBeginAllowThreads();
13852 (arg1)->SetInitialFont((wxFont const &)*arg2);
13853
13854 wxPyEndAllowThreads(__tstate);
13855 if (PyErr_Occurred()) SWIG_fail;
13856 }
13857 Py_INCREF(Py_None); resultobj = Py_None;
13858 return resultobj;
13859 fail:
13860 return NULL;
13861 }
13862
13863
13864 static PyObject *_wrap_FontData_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
13865 PyObject *resultobj;
13866 wxFontData *arg1 = (wxFontData *) 0 ;
13867 int arg2 ;
13868 int arg3 ;
13869 PyObject * obj0 = 0 ;
13870 PyObject * obj1 = 0 ;
13871 PyObject * obj2 = 0 ;
13872 char *kwnames[] = {
13873 (char *) "self",(char *) "min",(char *) "max", NULL
13874 };
13875
13876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
13877 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13878 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13879 arg2 = (int)SWIG_As_int(obj1);
13880 if (PyErr_Occurred()) SWIG_fail;
13881 arg3 = (int)SWIG_As_int(obj2);
13882 if (PyErr_Occurred()) SWIG_fail;
13883 {
13884 PyThreadState* __tstate = wxPyBeginAllowThreads();
13885 (arg1)->SetRange(arg2,arg3);
13886
13887 wxPyEndAllowThreads(__tstate);
13888 if (PyErr_Occurred()) SWIG_fail;
13889 }
13890 Py_INCREF(Py_None); resultobj = Py_None;
13891 return resultobj;
13892 fail:
13893 return NULL;
13894 }
13895
13896
13897 static PyObject *_wrap_FontData_SetShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
13898 PyObject *resultobj;
13899 wxFontData *arg1 = (wxFontData *) 0 ;
13900 bool arg2 ;
13901 PyObject * obj0 = 0 ;
13902 PyObject * obj1 = 0 ;
13903 char *kwnames[] = {
13904 (char *) "self",(char *) "showHelp", NULL
13905 };
13906
13907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail;
13908 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13909 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13910 arg2 = (bool)SWIG_As_bool(obj1);
13911 if (PyErr_Occurred()) SWIG_fail;
13912 {
13913 PyThreadState* __tstate = wxPyBeginAllowThreads();
13914 (arg1)->SetShowHelp(arg2);
13915
13916 wxPyEndAllowThreads(__tstate);
13917 if (PyErr_Occurred()) SWIG_fail;
13918 }
13919 Py_INCREF(Py_None); resultobj = Py_None;
13920 return resultobj;
13921 fail:
13922 return NULL;
13923 }
13924
13925
13926 static PyObject * FontData_swigregister(PyObject *, PyObject *args) {
13927 PyObject *obj;
13928 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13929 SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj);
13930 Py_INCREF(obj);
13931 return Py_BuildValue((char *)"");
13932 }
13933 static PyObject *_wrap_new_FontDialog(PyObject *, PyObject *args, PyObject *kwargs) {
13934 PyObject *resultobj;
13935 wxWindow *arg1 = (wxWindow *) 0 ;
13936 wxFontData *arg2 = 0 ;
13937 wxFontDialog *result;
13938 PyObject * obj0 = 0 ;
13939 PyObject * obj1 = 0 ;
13940 char *kwnames[] = {
13941 (char *) "parent",(char *) "data", NULL
13942 };
13943
13944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail;
13945 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13946 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13947 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFontData,
13948 SWIG_POINTER_EXCEPTION | 0)) == -1)
13949 SWIG_fail;
13950 if (arg2 == NULL) {
13951 PyErr_SetString(PyExc_TypeError,"null reference");
13952 SWIG_fail;
13953 }
13954 {
13955 if (!wxPyCheckForApp()) SWIG_fail;
13956 PyThreadState* __tstate = wxPyBeginAllowThreads();
13957 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
13958
13959 wxPyEndAllowThreads(__tstate);
13960 if (PyErr_Occurred()) SWIG_fail;
13961 }
13962 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontDialog, 1);
13963 return resultobj;
13964 fail:
13965 return NULL;
13966 }
13967
13968
13969 static PyObject *_wrap_FontDialog_GetFontData(PyObject *, PyObject *args, PyObject *kwargs) {
13970 PyObject *resultobj;
13971 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
13972 wxFontData *result;
13973 PyObject * obj0 = 0 ;
13974 char *kwnames[] = {
13975 (char *) "self", NULL
13976 };
13977
13978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail;
13979 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontDialog,
13980 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13981 {
13982 PyThreadState* __tstate = wxPyBeginAllowThreads();
13983 {
13984 wxFontData &_result_ref = (arg1)->GetFontData();
13985 result = (wxFontData *) &_result_ref;
13986 }
13987
13988 wxPyEndAllowThreads(__tstate);
13989 if (PyErr_Occurred()) SWIG_fail;
13990 }
13991 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 0);
13992 return resultobj;
13993 fail:
13994 return NULL;
13995 }
13996
13997
13998 static PyObject * FontDialog_swigregister(PyObject *, PyObject *args) {
13999 PyObject *obj;
14000 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14001 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj);
14002 Py_INCREF(obj);
14003 return Py_BuildValue((char *)"");
14004 }
14005 static PyObject *_wrap_new_MessageDialog(PyObject *, PyObject *args, PyObject *kwargs) {
14006 PyObject *resultobj;
14007 wxWindow *arg1 = (wxWindow *) 0 ;
14008 wxString *arg2 = 0 ;
14009 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
14010 wxString *arg3 = (wxString *) &arg3_defvalue ;
14011 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
14012 wxPoint const &arg5_defvalue = wxDefaultPosition ;
14013 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
14014 wxMessageDialog *result;
14015 bool temp2 = false ;
14016 bool temp3 = false ;
14017 wxPoint temp5 ;
14018 PyObject * obj0 = 0 ;
14019 PyObject * obj1 = 0 ;
14020 PyObject * obj2 = 0 ;
14021 PyObject * obj3 = 0 ;
14022 PyObject * obj4 = 0 ;
14023 char *kwnames[] = {
14024 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
14025 };
14026
14027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
14028 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14029 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14030 {
14031 arg2 = wxString_in_helper(obj1);
14032 if (arg2 == NULL) SWIG_fail;
14033 temp2 = true;
14034 }
14035 if (obj2) {
14036 {
14037 arg3 = wxString_in_helper(obj2);
14038 if (arg3 == NULL) SWIG_fail;
14039 temp3 = true;
14040 }
14041 }
14042 if (obj3) {
14043 arg4 = (long)SWIG_As_long(obj3);
14044 if (PyErr_Occurred()) SWIG_fail;
14045 }
14046 if (obj4) {
14047 {
14048 arg5 = &temp5;
14049 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14050 }
14051 }
14052 {
14053 if (!wxPyCheckForApp()) SWIG_fail;
14054 PyThreadState* __tstate = wxPyBeginAllowThreads();
14055 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
14056
14057 wxPyEndAllowThreads(__tstate);
14058 if (PyErr_Occurred()) SWIG_fail;
14059 }
14060 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMessageDialog, 1);
14061 {
14062 if (temp2)
14063 delete arg2;
14064 }
14065 {
14066 if (temp3)
14067 delete arg3;
14068 }
14069 return resultobj;
14070 fail:
14071 {
14072 if (temp2)
14073 delete arg2;
14074 }
14075 {
14076 if (temp3)
14077 delete arg3;
14078 }
14079 return NULL;
14080 }
14081
14082
14083 static PyObject * MessageDialog_swigregister(PyObject *, PyObject *args) {
14084 PyObject *obj;
14085 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14086 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj);
14087 Py_INCREF(obj);
14088 return Py_BuildValue((char *)"");
14089 }
14090 static PyObject *_wrap_new_ProgressDialog(PyObject *, PyObject *args, PyObject *kwargs) {
14091 PyObject *resultobj;
14092 wxString *arg1 = 0 ;
14093 wxString *arg2 = 0 ;
14094 int arg3 = (int) 100 ;
14095 wxWindow *arg4 = (wxWindow *) NULL ;
14096 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
14097 wxProgressDialog *result;
14098 bool temp1 = false ;
14099 bool temp2 = false ;
14100 PyObject * obj0 = 0 ;
14101 PyObject * obj1 = 0 ;
14102 PyObject * obj2 = 0 ;
14103 PyObject * obj3 = 0 ;
14104 PyObject * obj4 = 0 ;
14105 char *kwnames[] = {
14106 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
14107 };
14108
14109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
14110 {
14111 arg1 = wxString_in_helper(obj0);
14112 if (arg1 == NULL) SWIG_fail;
14113 temp1 = true;
14114 }
14115 {
14116 arg2 = wxString_in_helper(obj1);
14117 if (arg2 == NULL) SWIG_fail;
14118 temp2 = true;
14119 }
14120 if (obj2) {
14121 arg3 = (int)SWIG_As_int(obj2);
14122 if (PyErr_Occurred()) SWIG_fail;
14123 }
14124 if (obj3) {
14125 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
14126 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14127 }
14128 if (obj4) {
14129 arg5 = (int)SWIG_As_int(obj4);
14130 if (PyErr_Occurred()) SWIG_fail;
14131 }
14132 {
14133 if (!wxPyCheckForApp()) SWIG_fail;
14134 PyThreadState* __tstate = wxPyBeginAllowThreads();
14135 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
14136
14137 wxPyEndAllowThreads(__tstate);
14138 if (PyErr_Occurred()) SWIG_fail;
14139 }
14140 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxProgressDialog, 1);
14141 {
14142 if (temp1)
14143 delete arg1;
14144 }
14145 {
14146 if (temp2)
14147 delete arg2;
14148 }
14149 return resultobj;
14150 fail:
14151 {
14152 if (temp1)
14153 delete arg1;
14154 }
14155 {
14156 if (temp2)
14157 delete arg2;
14158 }
14159 return NULL;
14160 }
14161
14162
14163 static PyObject *_wrap_ProgressDialog_Update(PyObject *, PyObject *args, PyObject *kwargs) {
14164 PyObject *resultobj;
14165 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
14166 int arg2 ;
14167 wxString const &arg3_defvalue = wxPyEmptyString ;
14168 wxString *arg3 = (wxString *) &arg3_defvalue ;
14169 bool result;
14170 bool temp3 = false ;
14171 PyObject * obj0 = 0 ;
14172 PyObject * obj1 = 0 ;
14173 PyObject * obj2 = 0 ;
14174 char *kwnames[] = {
14175 (char *) "self",(char *) "value",(char *) "newmsg", NULL
14176 };
14177
14178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) goto fail;
14179 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog,
14180 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14181 arg2 = (int)SWIG_As_int(obj1);
14182 if (PyErr_Occurred()) SWIG_fail;
14183 if (obj2) {
14184 {
14185 arg3 = wxString_in_helper(obj2);
14186 if (arg3 == NULL) SWIG_fail;
14187 temp3 = true;
14188 }
14189 }
14190 {
14191 PyThreadState* __tstate = wxPyBeginAllowThreads();
14192 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3);
14193
14194 wxPyEndAllowThreads(__tstate);
14195 if (PyErr_Occurred()) SWIG_fail;
14196 }
14197 {
14198 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14199 }
14200 {
14201 if (temp3)
14202 delete arg3;
14203 }
14204 return resultobj;
14205 fail:
14206 {
14207 if (temp3)
14208 delete arg3;
14209 }
14210 return NULL;
14211 }
14212
14213
14214 static PyObject *_wrap_ProgressDialog_Resume(PyObject *, PyObject *args, PyObject *kwargs) {
14215 PyObject *resultobj;
14216 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
14217 PyObject * obj0 = 0 ;
14218 char *kwnames[] = {
14219 (char *) "self", NULL
14220 };
14221
14222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail;
14223 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog,
14224 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14225 {
14226 PyThreadState* __tstate = wxPyBeginAllowThreads();
14227 (arg1)->Resume();
14228
14229 wxPyEndAllowThreads(__tstate);
14230 if (PyErr_Occurred()) SWIG_fail;
14231 }
14232 Py_INCREF(Py_None); resultobj = Py_None;
14233 return resultobj;
14234 fail:
14235 return NULL;
14236 }
14237
14238
14239 static PyObject * ProgressDialog_swigregister(PyObject *, PyObject *args) {
14240 PyObject *obj;
14241 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14242 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj);
14243 Py_INCREF(obj);
14244 return Py_BuildValue((char *)"");
14245 }
14246 static PyObject *_wrap_new_FindDialogEvent(PyObject *, PyObject *args, PyObject *kwargs) {
14247 PyObject *resultobj;
14248 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
14249 int arg2 = (int) 0 ;
14250 wxFindDialogEvent *result;
14251 PyObject * obj0 = 0 ;
14252 PyObject * obj1 = 0 ;
14253 char *kwnames[] = {
14254 (char *) "commandType",(char *) "id", NULL
14255 };
14256
14257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) goto fail;
14258 if (obj0) {
14259 arg1 = (wxEventType)SWIG_As_int(obj0);
14260 if (PyErr_Occurred()) SWIG_fail;
14261 }
14262 if (obj1) {
14263 arg2 = (int)SWIG_As_int(obj1);
14264 if (PyErr_Occurred()) SWIG_fail;
14265 }
14266 {
14267 PyThreadState* __tstate = wxPyBeginAllowThreads();
14268 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
14269
14270 wxPyEndAllowThreads(__tstate);
14271 if (PyErr_Occurred()) SWIG_fail;
14272 }
14273 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindDialogEvent, 1);
14274 return resultobj;
14275 fail:
14276 return NULL;
14277 }
14278
14279
14280 static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
14281 PyObject *resultobj;
14282 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
14283 int result;
14284 PyObject * obj0 = 0 ;
14285 char *kwnames[] = {
14286 (char *) "self", NULL
14287 };
14288
14289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail;
14290 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14291 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14292 {
14293 PyThreadState* __tstate = wxPyBeginAllowThreads();
14294 result = (int)(arg1)->GetFlags();
14295
14296 wxPyEndAllowThreads(__tstate);
14297 if (PyErr_Occurred()) SWIG_fail;
14298 }
14299 resultobj = SWIG_From_int((int)result);
14300 return resultobj;
14301 fail:
14302 return NULL;
14303 }
14304
14305
14306 static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
14307 PyObject *resultobj;
14308 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
14309 wxString *result;
14310 PyObject * obj0 = 0 ;
14311 char *kwnames[] = {
14312 (char *) "self", NULL
14313 };
14314
14315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail;
14316 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14317 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14318 {
14319 PyThreadState* __tstate = wxPyBeginAllowThreads();
14320 {
14321 wxString const &_result_ref = (arg1)->GetFindString();
14322 result = (wxString *) &_result_ref;
14323 }
14324
14325 wxPyEndAllowThreads(__tstate);
14326 if (PyErr_Occurred()) SWIG_fail;
14327 }
14328 {
14329 #if wxUSE_UNICODE
14330 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14331 #else
14332 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14333 #endif
14334 }
14335 return resultobj;
14336 fail:
14337 return NULL;
14338 }
14339
14340
14341 static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
14342 PyObject *resultobj;
14343 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
14344 wxString *result;
14345 PyObject * obj0 = 0 ;
14346 char *kwnames[] = {
14347 (char *) "self", NULL
14348 };
14349
14350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail;
14351 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14352 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14353 {
14354 PyThreadState* __tstate = wxPyBeginAllowThreads();
14355 {
14356 wxString const &_result_ref = (arg1)->GetReplaceString();
14357 result = (wxString *) &_result_ref;
14358 }
14359
14360 wxPyEndAllowThreads(__tstate);
14361 if (PyErr_Occurred()) SWIG_fail;
14362 }
14363 {
14364 #if wxUSE_UNICODE
14365 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14366 #else
14367 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14368 #endif
14369 }
14370 return resultobj;
14371 fail:
14372 return NULL;
14373 }
14374
14375
14376 static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *, PyObject *args, PyObject *kwargs) {
14377 PyObject *resultobj;
14378 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
14379 wxFindReplaceDialog *result;
14380 PyObject * obj0 = 0 ;
14381 char *kwnames[] = {
14382 (char *) "self", NULL
14383 };
14384
14385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail;
14386 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14387 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14388 {
14389 PyThreadState* __tstate = wxPyBeginAllowThreads();
14390 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
14391
14392 wxPyEndAllowThreads(__tstate);
14393 if (PyErr_Occurred()) SWIG_fail;
14394 }
14395 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 0);
14396 return resultobj;
14397 fail:
14398 return NULL;
14399 }
14400
14401
14402 static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
14403 PyObject *resultobj;
14404 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
14405 int arg2 ;
14406 PyObject * obj0 = 0 ;
14407 PyObject * obj1 = 0 ;
14408 char *kwnames[] = {
14409 (char *) "self",(char *) "flags", NULL
14410 };
14411
14412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
14413 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14414 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14415 arg2 = (int)SWIG_As_int(obj1);
14416 if (PyErr_Occurred()) SWIG_fail;
14417 {
14418 PyThreadState* __tstate = wxPyBeginAllowThreads();
14419 (arg1)->SetFlags(arg2);
14420
14421 wxPyEndAllowThreads(__tstate);
14422 if (PyErr_Occurred()) SWIG_fail;
14423 }
14424 Py_INCREF(Py_None); resultobj = Py_None;
14425 return resultobj;
14426 fail:
14427 return NULL;
14428 }
14429
14430
14431 static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
14432 PyObject *resultobj;
14433 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
14434 wxString *arg2 = 0 ;
14435 bool temp2 = false ;
14436 PyObject * obj0 = 0 ;
14437 PyObject * obj1 = 0 ;
14438 char *kwnames[] = {
14439 (char *) "self",(char *) "str", NULL
14440 };
14441
14442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail;
14443 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14444 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14445 {
14446 arg2 = wxString_in_helper(obj1);
14447 if (arg2 == NULL) SWIG_fail;
14448 temp2 = true;
14449 }
14450 {
14451 PyThreadState* __tstate = wxPyBeginAllowThreads();
14452 (arg1)->SetFindString((wxString const &)*arg2);
14453
14454 wxPyEndAllowThreads(__tstate);
14455 if (PyErr_Occurred()) SWIG_fail;
14456 }
14457 Py_INCREF(Py_None); resultobj = Py_None;
14458 {
14459 if (temp2)
14460 delete arg2;
14461 }
14462 return resultobj;
14463 fail:
14464 {
14465 if (temp2)
14466 delete arg2;
14467 }
14468 return NULL;
14469 }
14470
14471
14472 static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
14473 PyObject *resultobj;
14474 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
14475 wxString *arg2 = 0 ;
14476 bool temp2 = false ;
14477 PyObject * obj0 = 0 ;
14478 PyObject * obj1 = 0 ;
14479 char *kwnames[] = {
14480 (char *) "self",(char *) "str", NULL
14481 };
14482
14483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
14484 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14485 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14486 {
14487 arg2 = wxString_in_helper(obj1);
14488 if (arg2 == NULL) SWIG_fail;
14489 temp2 = true;
14490 }
14491 {
14492 PyThreadState* __tstate = wxPyBeginAllowThreads();
14493 (arg1)->SetReplaceString((wxString const &)*arg2);
14494
14495 wxPyEndAllowThreads(__tstate);
14496 if (PyErr_Occurred()) SWIG_fail;
14497 }
14498 Py_INCREF(Py_None); resultobj = Py_None;
14499 {
14500 if (temp2)
14501 delete arg2;
14502 }
14503 return resultobj;
14504 fail:
14505 {
14506 if (temp2)
14507 delete arg2;
14508 }
14509 return NULL;
14510 }
14511
14512
14513 static PyObject * FindDialogEvent_swigregister(PyObject *, PyObject *args) {
14514 PyObject *obj;
14515 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14516 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj);
14517 Py_INCREF(obj);
14518 return Py_BuildValue((char *)"");
14519 }
14520 static PyObject *_wrap_new_FindReplaceData(PyObject *, PyObject *args, PyObject *kwargs) {
14521 PyObject *resultobj;
14522 int arg1 = (int) 0 ;
14523 wxFindReplaceData *result;
14524 PyObject * obj0 = 0 ;
14525 char *kwnames[] = {
14526 (char *) "flags", NULL
14527 };
14528
14529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) goto fail;
14530 if (obj0) {
14531 arg1 = (int)SWIG_As_int(obj0);
14532 if (PyErr_Occurred()) SWIG_fail;
14533 }
14534 {
14535 PyThreadState* __tstate = wxPyBeginAllowThreads();
14536 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
14537
14538 wxPyEndAllowThreads(__tstate);
14539 if (PyErr_Occurred()) SWIG_fail;
14540 }
14541 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 1);
14542 return resultobj;
14543 fail:
14544 return NULL;
14545 }
14546
14547
14548 static PyObject *_wrap_delete_FindReplaceData(PyObject *, PyObject *args, PyObject *kwargs) {
14549 PyObject *resultobj;
14550 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14551 PyObject * obj0 = 0 ;
14552 char *kwnames[] = {
14553 (char *) "self", NULL
14554 };
14555
14556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail;
14557 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14558 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14559 {
14560 PyThreadState* __tstate = wxPyBeginAllowThreads();
14561 delete arg1;
14562
14563 wxPyEndAllowThreads(__tstate);
14564 if (PyErr_Occurred()) SWIG_fail;
14565 }
14566 Py_INCREF(Py_None); resultobj = Py_None;
14567 return resultobj;
14568 fail:
14569 return NULL;
14570 }
14571
14572
14573 static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
14574 PyObject *resultobj;
14575 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14576 wxString *result;
14577 PyObject * obj0 = 0 ;
14578 char *kwnames[] = {
14579 (char *) "self", NULL
14580 };
14581
14582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail;
14583 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14584 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14585 {
14586 PyThreadState* __tstate = wxPyBeginAllowThreads();
14587 {
14588 wxString const &_result_ref = (arg1)->GetFindString();
14589 result = (wxString *) &_result_ref;
14590 }
14591
14592 wxPyEndAllowThreads(__tstate);
14593 if (PyErr_Occurred()) SWIG_fail;
14594 }
14595 {
14596 #if wxUSE_UNICODE
14597 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14598 #else
14599 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14600 #endif
14601 }
14602 return resultobj;
14603 fail:
14604 return NULL;
14605 }
14606
14607
14608 static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
14609 PyObject *resultobj;
14610 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14611 wxString *result;
14612 PyObject * obj0 = 0 ;
14613 char *kwnames[] = {
14614 (char *) "self", NULL
14615 };
14616
14617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail;
14618 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14619 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14620 {
14621 PyThreadState* __tstate = wxPyBeginAllowThreads();
14622 {
14623 wxString const &_result_ref = (arg1)->GetReplaceString();
14624 result = (wxString *) &_result_ref;
14625 }
14626
14627 wxPyEndAllowThreads(__tstate);
14628 if (PyErr_Occurred()) SWIG_fail;
14629 }
14630 {
14631 #if wxUSE_UNICODE
14632 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14633 #else
14634 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14635 #endif
14636 }
14637 return resultobj;
14638 fail:
14639 return NULL;
14640 }
14641
14642
14643 static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
14644 PyObject *resultobj;
14645 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14646 int result;
14647 PyObject * obj0 = 0 ;
14648 char *kwnames[] = {
14649 (char *) "self", NULL
14650 };
14651
14652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail;
14653 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14654 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14655 {
14656 PyThreadState* __tstate = wxPyBeginAllowThreads();
14657 result = (int)(arg1)->GetFlags();
14658
14659 wxPyEndAllowThreads(__tstate);
14660 if (PyErr_Occurred()) SWIG_fail;
14661 }
14662 resultobj = SWIG_From_int((int)result);
14663 return resultobj;
14664 fail:
14665 return NULL;
14666 }
14667
14668
14669 static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
14670 PyObject *resultobj;
14671 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14672 int arg2 ;
14673 PyObject * obj0 = 0 ;
14674 PyObject * obj1 = 0 ;
14675 char *kwnames[] = {
14676 (char *) "self",(char *) "flags", NULL
14677 };
14678
14679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) goto fail;
14680 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14681 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14682 arg2 = (int)SWIG_As_int(obj1);
14683 if (PyErr_Occurred()) SWIG_fail;
14684 {
14685 PyThreadState* __tstate = wxPyBeginAllowThreads();
14686 (arg1)->SetFlags(arg2);
14687
14688 wxPyEndAllowThreads(__tstate);
14689 if (PyErr_Occurred()) SWIG_fail;
14690 }
14691 Py_INCREF(Py_None); resultobj = Py_None;
14692 return resultobj;
14693 fail:
14694 return NULL;
14695 }
14696
14697
14698 static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
14699 PyObject *resultobj;
14700 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14701 wxString *arg2 = 0 ;
14702 bool temp2 = false ;
14703 PyObject * obj0 = 0 ;
14704 PyObject * obj1 = 0 ;
14705 char *kwnames[] = {
14706 (char *) "self",(char *) "str", NULL
14707 };
14708
14709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail;
14710 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14711 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14712 {
14713 arg2 = wxString_in_helper(obj1);
14714 if (arg2 == NULL) SWIG_fail;
14715 temp2 = true;
14716 }
14717 {
14718 PyThreadState* __tstate = wxPyBeginAllowThreads();
14719 (arg1)->SetFindString((wxString const &)*arg2);
14720
14721 wxPyEndAllowThreads(__tstate);
14722 if (PyErr_Occurred()) SWIG_fail;
14723 }
14724 Py_INCREF(Py_None); resultobj = Py_None;
14725 {
14726 if (temp2)
14727 delete arg2;
14728 }
14729 return resultobj;
14730 fail:
14731 {
14732 if (temp2)
14733 delete arg2;
14734 }
14735 return NULL;
14736 }
14737
14738
14739 static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
14740 PyObject *resultobj;
14741 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14742 wxString *arg2 = 0 ;
14743 bool temp2 = false ;
14744 PyObject * obj0 = 0 ;
14745 PyObject * obj1 = 0 ;
14746 char *kwnames[] = {
14747 (char *) "self",(char *) "str", NULL
14748 };
14749
14750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
14751 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14752 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14753 {
14754 arg2 = wxString_in_helper(obj1);
14755 if (arg2 == NULL) SWIG_fail;
14756 temp2 = true;
14757 }
14758 {
14759 PyThreadState* __tstate = wxPyBeginAllowThreads();
14760 (arg1)->SetReplaceString((wxString const &)*arg2);
14761
14762 wxPyEndAllowThreads(__tstate);
14763 if (PyErr_Occurred()) SWIG_fail;
14764 }
14765 Py_INCREF(Py_None); resultobj = Py_None;
14766 {
14767 if (temp2)
14768 delete arg2;
14769 }
14770 return resultobj;
14771 fail:
14772 {
14773 if (temp2)
14774 delete arg2;
14775 }
14776 return NULL;
14777 }
14778
14779
14780 static PyObject * FindReplaceData_swigregister(PyObject *, PyObject *args) {
14781 PyObject *obj;
14782 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14783 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj);
14784 Py_INCREF(obj);
14785 return Py_BuildValue((char *)"");
14786 }
14787 static PyObject *_wrap_new_FindReplaceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
14788 PyObject *resultobj;
14789 wxWindow *arg1 = (wxWindow *) 0 ;
14790 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
14791 wxString *arg3 = 0 ;
14792 int arg4 = (int) 0 ;
14793 wxFindReplaceDialog *result;
14794 bool temp3 = false ;
14795 PyObject * obj0 = 0 ;
14796 PyObject * obj1 = 0 ;
14797 PyObject * obj2 = 0 ;
14798 PyObject * obj3 = 0 ;
14799 char *kwnames[] = {
14800 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14801 };
14802
14803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14804 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14805 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14806 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData,
14807 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14808 {
14809 arg3 = wxString_in_helper(obj2);
14810 if (arg3 == NULL) SWIG_fail;
14811 temp3 = true;
14812 }
14813 if (obj3) {
14814 arg4 = (int)SWIG_As_int(obj3);
14815 if (PyErr_Occurred()) SWIG_fail;
14816 }
14817 {
14818 if (!wxPyCheckForApp()) SWIG_fail;
14819 PyThreadState* __tstate = wxPyBeginAllowThreads();
14820 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
14821
14822 wxPyEndAllowThreads(__tstate);
14823 if (PyErr_Occurred()) SWIG_fail;
14824 }
14825 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
14826 {
14827 if (temp3)
14828 delete arg3;
14829 }
14830 return resultobj;
14831 fail:
14832 {
14833 if (temp3)
14834 delete arg3;
14835 }
14836 return NULL;
14837 }
14838
14839
14840 static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
14841 PyObject *resultobj;
14842 wxFindReplaceDialog *result;
14843 char *kwnames[] = {
14844 NULL
14845 };
14846
14847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail;
14848 {
14849 if (!wxPyCheckForApp()) SWIG_fail;
14850 PyThreadState* __tstate = wxPyBeginAllowThreads();
14851 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
14852
14853 wxPyEndAllowThreads(__tstate);
14854 if (PyErr_Occurred()) SWIG_fail;
14855 }
14856 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
14857 return resultobj;
14858 fail:
14859 return NULL;
14860 }
14861
14862
14863 static PyObject *_wrap_FindReplaceDialog_Create(PyObject *, PyObject *args, PyObject *kwargs) {
14864 PyObject *resultobj;
14865 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14866 wxWindow *arg2 = (wxWindow *) 0 ;
14867 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
14868 wxString *arg4 = 0 ;
14869 int arg5 = (int) 0 ;
14870 bool result;
14871 bool temp4 = false ;
14872 PyObject * obj0 = 0 ;
14873 PyObject * obj1 = 0 ;
14874 PyObject * obj2 = 0 ;
14875 PyObject * obj3 = 0 ;
14876 PyObject * obj4 = 0 ;
14877 char *kwnames[] = {
14878 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14879 };
14880
14881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
14882 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14883 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14884 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14885 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14886 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFindReplaceData,
14887 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14888 {
14889 arg4 = wxString_in_helper(obj3);
14890 if (arg4 == NULL) SWIG_fail;
14891 temp4 = true;
14892 }
14893 if (obj4) {
14894 arg5 = (int)SWIG_As_int(obj4);
14895 if (PyErr_Occurred()) SWIG_fail;
14896 }
14897 {
14898 PyThreadState* __tstate = wxPyBeginAllowThreads();
14899 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
14900
14901 wxPyEndAllowThreads(__tstate);
14902 if (PyErr_Occurred()) SWIG_fail;
14903 }
14904 {
14905 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14906 }
14907 {
14908 if (temp4)
14909 delete arg4;
14910 }
14911 return resultobj;
14912 fail:
14913 {
14914 if (temp4)
14915 delete arg4;
14916 }
14917 return NULL;
14918 }
14919
14920
14921 static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
14922 PyObject *resultobj;
14923 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14924 wxFindReplaceData *result;
14925 PyObject * obj0 = 0 ;
14926 char *kwnames[] = {
14927 (char *) "self", NULL
14928 };
14929
14930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail;
14931 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14932 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14933 {
14934 PyThreadState* __tstate = wxPyBeginAllowThreads();
14935 result = (wxFindReplaceData *)(arg1)->GetData();
14936
14937 wxPyEndAllowThreads(__tstate);
14938 if (PyErr_Occurred()) SWIG_fail;
14939 }
14940 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 0);
14941 return resultobj;
14942 fail:
14943 return NULL;
14944 }
14945
14946
14947 static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
14948 PyObject *resultobj;
14949 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14950 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
14951 PyObject * obj0 = 0 ;
14952 PyObject * obj1 = 0 ;
14953 char *kwnames[] = {
14954 (char *) "self",(char *) "data", NULL
14955 };
14956
14957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail;
14958 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14959 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14960 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData,
14961 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14962 {
14963 PyThreadState* __tstate = wxPyBeginAllowThreads();
14964 (arg1)->SetData(arg2);
14965
14966 wxPyEndAllowThreads(__tstate);
14967 if (PyErr_Occurred()) SWIG_fail;
14968 }
14969 Py_INCREF(Py_None); resultobj = Py_None;
14970 return resultobj;
14971 fail:
14972 return NULL;
14973 }
14974
14975
14976 static PyObject * FindReplaceDialog_swigregister(PyObject *, PyObject *args) {
14977 PyObject *obj;
14978 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14979 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj);
14980 Py_INCREF(obj);
14981 return Py_BuildValue((char *)"");
14982 }
14983 static PyObject *_wrap_new_MDIParentFrame(PyObject *, PyObject *args, PyObject *kwargs) {
14984 PyObject *resultobj;
14985 wxWindow *arg1 = (wxWindow *) 0 ;
14986 int arg2 = (int) (int)-1 ;
14987 wxString const &arg3_defvalue = wxPyEmptyString ;
14988 wxString *arg3 = (wxString *) &arg3_defvalue ;
14989 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14990 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14991 wxSize const &arg5_defvalue = wxDefaultSize ;
14992 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14993 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
14994 wxString const &arg7_defvalue = wxPyFrameNameStr ;
14995 wxString *arg7 = (wxString *) &arg7_defvalue ;
14996 wxMDIParentFrame *result;
14997 bool temp3 = false ;
14998 wxPoint temp4 ;
14999 wxSize temp5 ;
15000 bool temp7 = false ;
15001 PyObject * obj0 = 0 ;
15002 PyObject * obj1 = 0 ;
15003 PyObject * obj2 = 0 ;
15004 PyObject * obj3 = 0 ;
15005 PyObject * obj4 = 0 ;
15006 PyObject * obj5 = 0 ;
15007 PyObject * obj6 = 0 ;
15008 char *kwnames[] = {
15009 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15010 };
15011
15012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15013 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
15014 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15015 if (obj1) {
15016 arg2 = (int)SWIG_As_int(obj1);
15017 if (PyErr_Occurred()) SWIG_fail;
15018 }
15019 if (obj2) {
15020 {
15021 arg3 = wxString_in_helper(obj2);
15022 if (arg3 == NULL) SWIG_fail;
15023 temp3 = true;
15024 }
15025 }
15026 if (obj3) {
15027 {
15028 arg4 = &temp4;
15029 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15030 }
15031 }
15032 if (obj4) {
15033 {
15034 arg5 = &temp5;
15035 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15036 }
15037 }
15038 if (obj5) {
15039 arg6 = (long)SWIG_As_long(obj5);
15040 if (PyErr_Occurred()) SWIG_fail;
15041 }
15042 if (obj6) {
15043 {
15044 arg7 = wxString_in_helper(obj6);
15045 if (arg7 == NULL) SWIG_fail;
15046 temp7 = true;
15047 }
15048 }
15049 {
15050 if (!wxPyCheckForApp()) SWIG_fail;
15051 PyThreadState* __tstate = wxPyBeginAllowThreads();
15052 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15053
15054 wxPyEndAllowThreads(__tstate);
15055 if (PyErr_Occurred()) SWIG_fail;
15056 }
15057 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
15058 {
15059 if (temp3)
15060 delete arg3;
15061 }
15062 {
15063 if (temp7)
15064 delete arg7;
15065 }
15066 return resultobj;
15067 fail:
15068 {
15069 if (temp3)
15070 delete arg3;
15071 }
15072 {
15073 if (temp7)
15074 delete arg7;
15075 }
15076 return NULL;
15077 }
15078
15079
15080 static PyObject *_wrap_new_PreMDIParentFrame(PyObject *, PyObject *args, PyObject *kwargs) {
15081 PyObject *resultobj;
15082 wxMDIParentFrame *result;
15083 char *kwnames[] = {
15084 NULL
15085 };
15086
15087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail;
15088 {
15089 if (!wxPyCheckForApp()) SWIG_fail;
15090 PyThreadState* __tstate = wxPyBeginAllowThreads();
15091 result = (wxMDIParentFrame *)new wxMDIParentFrame();
15092
15093 wxPyEndAllowThreads(__tstate);
15094 if (PyErr_Occurred()) SWIG_fail;
15095 }
15096 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
15097 return resultobj;
15098 fail:
15099 return NULL;
15100 }
15101
15102
15103 static PyObject *_wrap_MDIParentFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
15104 PyObject *resultobj;
15105 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15106 wxWindow *arg2 = (wxWindow *) 0 ;
15107 int arg3 = (int) (int)-1 ;
15108 wxString const &arg4_defvalue = wxPyEmptyString ;
15109 wxString *arg4 = (wxString *) &arg4_defvalue ;
15110 wxPoint const &arg5_defvalue = wxDefaultPosition ;
15111 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
15112 wxSize const &arg6_defvalue = wxDefaultSize ;
15113 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
15114 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
15115 wxString const &arg8_defvalue = wxPyFrameNameStr ;
15116 wxString *arg8 = (wxString *) &arg8_defvalue ;
15117 bool result;
15118 bool temp4 = false ;
15119 wxPoint temp5 ;
15120 wxSize temp6 ;
15121 bool temp8 = false ;
15122 PyObject * obj0 = 0 ;
15123 PyObject * obj1 = 0 ;
15124 PyObject * obj2 = 0 ;
15125 PyObject * obj3 = 0 ;
15126 PyObject * obj4 = 0 ;
15127 PyObject * obj5 = 0 ;
15128 PyObject * obj6 = 0 ;
15129 PyObject * obj7 = 0 ;
15130 char *kwnames[] = {
15131 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15132 };
15133
15134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15135 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15136 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15137 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
15138 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15139 if (obj2) {
15140 arg3 = (int)SWIG_As_int(obj2);
15141 if (PyErr_Occurred()) SWIG_fail;
15142 }
15143 if (obj3) {
15144 {
15145 arg4 = wxString_in_helper(obj3);
15146 if (arg4 == NULL) SWIG_fail;
15147 temp4 = true;
15148 }
15149 }
15150 if (obj4) {
15151 {
15152 arg5 = &temp5;
15153 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
15154 }
15155 }
15156 if (obj5) {
15157 {
15158 arg6 = &temp6;
15159 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
15160 }
15161 }
15162 if (obj6) {
15163 arg7 = (long)SWIG_As_long(obj6);
15164 if (PyErr_Occurred()) SWIG_fail;
15165 }
15166 if (obj7) {
15167 {
15168 arg8 = wxString_in_helper(obj7);
15169 if (arg8 == NULL) SWIG_fail;
15170 temp8 = true;
15171 }
15172 }
15173 {
15174 PyThreadState* __tstate = wxPyBeginAllowThreads();
15175 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
15176
15177 wxPyEndAllowThreads(__tstate);
15178 if (PyErr_Occurred()) SWIG_fail;
15179 }
15180 {
15181 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15182 }
15183 {
15184 if (temp4)
15185 delete arg4;
15186 }
15187 {
15188 if (temp8)
15189 delete arg8;
15190 }
15191 return resultobj;
15192 fail:
15193 {
15194 if (temp4)
15195 delete arg4;
15196 }
15197 {
15198 if (temp8)
15199 delete arg8;
15200 }
15201 return NULL;
15202 }
15203
15204
15205 static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *, PyObject *args, PyObject *kwargs) {
15206 PyObject *resultobj;
15207 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15208 PyObject * obj0 = 0 ;
15209 char *kwnames[] = {
15210 (char *) "self", NULL
15211 };
15212
15213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail;
15214 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15215 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15216 {
15217 PyThreadState* __tstate = wxPyBeginAllowThreads();
15218 (arg1)->ActivateNext();
15219
15220 wxPyEndAllowThreads(__tstate);
15221 if (PyErr_Occurred()) SWIG_fail;
15222 }
15223 Py_INCREF(Py_None); resultobj = Py_None;
15224 return resultobj;
15225 fail:
15226 return NULL;
15227 }
15228
15229
15230 static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *, PyObject *args, PyObject *kwargs) {
15231 PyObject *resultobj;
15232 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15233 PyObject * obj0 = 0 ;
15234 char *kwnames[] = {
15235 (char *) "self", NULL
15236 };
15237
15238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail;
15239 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15240 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15241 {
15242 PyThreadState* __tstate = wxPyBeginAllowThreads();
15243 (arg1)->ActivatePrevious();
15244
15245 wxPyEndAllowThreads(__tstate);
15246 if (PyErr_Occurred()) SWIG_fail;
15247 }
15248 Py_INCREF(Py_None); resultobj = Py_None;
15249 return resultobj;
15250 fail:
15251 return NULL;
15252 }
15253
15254
15255 static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *, PyObject *args, PyObject *kwargs) {
15256 PyObject *resultobj;
15257 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15258 PyObject * obj0 = 0 ;
15259 char *kwnames[] = {
15260 (char *) "self", NULL
15261 };
15262
15263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail;
15264 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15266 {
15267 PyThreadState* __tstate = wxPyBeginAllowThreads();
15268 (arg1)->ArrangeIcons();
15269
15270 wxPyEndAllowThreads(__tstate);
15271 if (PyErr_Occurred()) SWIG_fail;
15272 }
15273 Py_INCREF(Py_None); resultobj = Py_None;
15274 return resultobj;
15275 fail:
15276 return NULL;
15277 }
15278
15279
15280 static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *, PyObject *args, PyObject *kwargs) {
15281 PyObject *resultobj;
15282 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15283 PyObject * obj0 = 0 ;
15284 char *kwnames[] = {
15285 (char *) "self", NULL
15286 };
15287
15288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail;
15289 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15290 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15291 {
15292 PyThreadState* __tstate = wxPyBeginAllowThreads();
15293 (arg1)->Cascade();
15294
15295 wxPyEndAllowThreads(__tstate);
15296 if (PyErr_Occurred()) SWIG_fail;
15297 }
15298 Py_INCREF(Py_None); resultobj = Py_None;
15299 return resultobj;
15300 fail:
15301 return NULL;
15302 }
15303
15304
15305 static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *, PyObject *args, PyObject *kwargs) {
15306 PyObject *resultobj;
15307 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15308 wxMDIChildFrame *result;
15309 PyObject * obj0 = 0 ;
15310 char *kwnames[] = {
15311 (char *) "self", NULL
15312 };
15313
15314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail;
15315 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15316 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15317 {
15318 PyThreadState* __tstate = wxPyBeginAllowThreads();
15319 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
15320
15321 wxPyEndAllowThreads(__tstate);
15322 if (PyErr_Occurred()) SWIG_fail;
15323 }
15324 {
15325 resultobj = wxPyMake_wxObject(result, 0);
15326 }
15327 return resultobj;
15328 fail:
15329 return NULL;
15330 }
15331
15332
15333 static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
15334 PyObject *resultobj;
15335 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15336 wxMDIClientWindow *result;
15337 PyObject * obj0 = 0 ;
15338 char *kwnames[] = {
15339 (char *) "self", NULL
15340 };
15341
15342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail;
15343 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15344 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15345 {
15346 PyThreadState* __tstate = wxPyBeginAllowThreads();
15347 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
15348
15349 wxPyEndAllowThreads(__tstate);
15350 if (PyErr_Occurred()) SWIG_fail;
15351 }
15352 {
15353 resultobj = wxPyMake_wxObject(result, 0);
15354 }
15355 return resultobj;
15356 fail:
15357 return NULL;
15358 }
15359
15360
15361 static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
15362 PyObject *resultobj;
15363 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15364 wxWindow *result;
15365 PyObject * obj0 = 0 ;
15366 char *kwnames[] = {
15367 (char *) "self", NULL
15368 };
15369
15370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail;
15371 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15372 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15373 {
15374 PyThreadState* __tstate = wxPyBeginAllowThreads();
15375 result = (wxWindow *)(arg1)->GetToolBar();
15376
15377 wxPyEndAllowThreads(__tstate);
15378 if (PyErr_Occurred()) SWIG_fail;
15379 }
15380 {
15381 resultobj = wxPyMake_wxObject(result, 0);
15382 }
15383 return resultobj;
15384 fail:
15385 return NULL;
15386 }
15387
15388
15389 static PyObject *_wrap_MDIParentFrame_Tile(PyObject *, PyObject *args, PyObject *kwargs) {
15390 PyObject *resultobj;
15391 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15392 PyObject * obj0 = 0 ;
15393 char *kwnames[] = {
15394 (char *) "self", NULL
15395 };
15396
15397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Tile",kwnames,&obj0)) goto fail;
15398 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15399 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15400 {
15401 PyThreadState* __tstate = wxPyBeginAllowThreads();
15402 (arg1)->Tile();
15403
15404 wxPyEndAllowThreads(__tstate);
15405 if (PyErr_Occurred()) SWIG_fail;
15406 }
15407 Py_INCREF(Py_None); resultobj = Py_None;
15408 return resultobj;
15409 fail:
15410 return NULL;
15411 }
15412
15413
15414 static PyObject * MDIParentFrame_swigregister(PyObject *, PyObject *args) {
15415 PyObject *obj;
15416 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15417 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj);
15418 Py_INCREF(obj);
15419 return Py_BuildValue((char *)"");
15420 }
15421 static PyObject *_wrap_new_MDIChildFrame(PyObject *, PyObject *args, PyObject *kwargs) {
15422 PyObject *resultobj;
15423 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15424 int arg2 = (int) (int)-1 ;
15425 wxString const &arg3_defvalue = wxPyEmptyString ;
15426 wxString *arg3 = (wxString *) &arg3_defvalue ;
15427 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15428 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15429 wxSize const &arg5_defvalue = wxDefaultSize ;
15430 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15431 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
15432 wxString const &arg7_defvalue = wxPyFrameNameStr ;
15433 wxString *arg7 = (wxString *) &arg7_defvalue ;
15434 wxMDIChildFrame *result;
15435 bool temp3 = false ;
15436 wxPoint temp4 ;
15437 wxSize temp5 ;
15438 bool temp7 = false ;
15439 PyObject * obj0 = 0 ;
15440 PyObject * obj1 = 0 ;
15441 PyObject * obj2 = 0 ;
15442 PyObject * obj3 = 0 ;
15443 PyObject * obj4 = 0 ;
15444 PyObject * obj5 = 0 ;
15445 PyObject * obj6 = 0 ;
15446 char *kwnames[] = {
15447 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15448 };
15449
15450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15451 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15452 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15453 if (obj1) {
15454 arg2 = (int)SWIG_As_int(obj1);
15455 if (PyErr_Occurred()) SWIG_fail;
15456 }
15457 if (obj2) {
15458 {
15459 arg3 = wxString_in_helper(obj2);
15460 if (arg3 == NULL) SWIG_fail;
15461 temp3 = true;
15462 }
15463 }
15464 if (obj3) {
15465 {
15466 arg4 = &temp4;
15467 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15468 }
15469 }
15470 if (obj4) {
15471 {
15472 arg5 = &temp5;
15473 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15474 }
15475 }
15476 if (obj5) {
15477 arg6 = (long)SWIG_As_long(obj5);
15478 if (PyErr_Occurred()) SWIG_fail;
15479 }
15480 if (obj6) {
15481 {
15482 arg7 = wxString_in_helper(obj6);
15483 if (arg7 == NULL) SWIG_fail;
15484 temp7 = true;
15485 }
15486 }
15487 {
15488 if (!wxPyCheckForApp()) SWIG_fail;
15489 PyThreadState* __tstate = wxPyBeginAllowThreads();
15490 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15491
15492 wxPyEndAllowThreads(__tstate);
15493 if (PyErr_Occurred()) SWIG_fail;
15494 }
15495 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIChildFrame, 1);
15496 {
15497 if (temp3)
15498 delete arg3;
15499 }
15500 {
15501 if (temp7)
15502 delete arg7;
15503 }
15504 return resultobj;
15505 fail:
15506 {
15507 if (temp3)
15508 delete arg3;
15509 }
15510 {
15511 if (temp7)
15512 delete arg7;
15513 }
15514 return NULL;
15515 }
15516
15517
15518 static PyObject *_wrap_new_PreMDIChildFrame(PyObject *, PyObject *args, PyObject *kwargs) {
15519 PyObject *resultobj;
15520 wxMDIChildFrame *result;
15521 char *kwnames[] = {
15522 NULL
15523 };
15524
15525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail;
15526 {
15527 if (!wxPyCheckForApp()) SWIG_fail;
15528 PyThreadState* __tstate = wxPyBeginAllowThreads();
15529 result = (wxMDIChildFrame *)new wxMDIChildFrame();
15530
15531 wxPyEndAllowThreads(__tstate);
15532 if (PyErr_Occurred()) SWIG_fail;
15533 }
15534 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIChildFrame, 1);
15535 return resultobj;
15536 fail:
15537 return NULL;
15538 }
15539
15540
15541 static PyObject *_wrap_MDIChildFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
15542 PyObject *resultobj;
15543 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15544 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
15545 int arg3 = (int) (int)-1 ;
15546 wxString const &arg4_defvalue = wxPyEmptyString ;
15547 wxString *arg4 = (wxString *) &arg4_defvalue ;
15548 wxPoint const &arg5_defvalue = wxDefaultPosition ;
15549 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
15550 wxSize const &arg6_defvalue = wxDefaultSize ;
15551 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
15552 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
15553 wxString const &arg8_defvalue = wxPyFrameNameStr ;
15554 wxString *arg8 = (wxString *) &arg8_defvalue ;
15555 bool result;
15556 bool temp4 = false ;
15557 wxPoint temp5 ;
15558 wxSize temp6 ;
15559 bool temp8 = false ;
15560 PyObject * obj0 = 0 ;
15561 PyObject * obj1 = 0 ;
15562 PyObject * obj2 = 0 ;
15563 PyObject * obj3 = 0 ;
15564 PyObject * obj4 = 0 ;
15565 PyObject * obj5 = 0 ;
15566 PyObject * obj6 = 0 ;
15567 PyObject * obj7 = 0 ;
15568 char *kwnames[] = {
15569 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15570 };
15571
15572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15573 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15574 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15575 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
15576 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15577 if (obj2) {
15578 arg3 = (int)SWIG_As_int(obj2);
15579 if (PyErr_Occurred()) SWIG_fail;
15580 }
15581 if (obj3) {
15582 {
15583 arg4 = wxString_in_helper(obj3);
15584 if (arg4 == NULL) SWIG_fail;
15585 temp4 = true;
15586 }
15587 }
15588 if (obj4) {
15589 {
15590 arg5 = &temp5;
15591 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
15592 }
15593 }
15594 if (obj5) {
15595 {
15596 arg6 = &temp6;
15597 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
15598 }
15599 }
15600 if (obj6) {
15601 arg7 = (long)SWIG_As_long(obj6);
15602 if (PyErr_Occurred()) SWIG_fail;
15603 }
15604 if (obj7) {
15605 {
15606 arg8 = wxString_in_helper(obj7);
15607 if (arg8 == NULL) SWIG_fail;
15608 temp8 = true;
15609 }
15610 }
15611 {
15612 PyThreadState* __tstate = wxPyBeginAllowThreads();
15613 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
15614
15615 wxPyEndAllowThreads(__tstate);
15616 if (PyErr_Occurred()) SWIG_fail;
15617 }
15618 {
15619 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15620 }
15621 {
15622 if (temp4)
15623 delete arg4;
15624 }
15625 {
15626 if (temp8)
15627 delete arg8;
15628 }
15629 return resultobj;
15630 fail:
15631 {
15632 if (temp4)
15633 delete arg4;
15634 }
15635 {
15636 if (temp8)
15637 delete arg8;
15638 }
15639 return NULL;
15640 }
15641
15642
15643 static PyObject *_wrap_MDIChildFrame_Activate(PyObject *, PyObject *args, PyObject *kwargs) {
15644 PyObject *resultobj;
15645 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15646 PyObject * obj0 = 0 ;
15647 char *kwnames[] = {
15648 (char *) "self", NULL
15649 };
15650
15651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail;
15652 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15653 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15654 {
15655 PyThreadState* __tstate = wxPyBeginAllowThreads();
15656 (arg1)->Activate();
15657
15658 wxPyEndAllowThreads(__tstate);
15659 if (PyErr_Occurred()) SWIG_fail;
15660 }
15661 Py_INCREF(Py_None); resultobj = Py_None;
15662 return resultobj;
15663 fail:
15664 return NULL;
15665 }
15666
15667
15668 static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *, PyObject *args, PyObject *kwargs) {
15669 PyObject *resultobj;
15670 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15671 bool arg2 = (bool) true ;
15672 PyObject * obj0 = 0 ;
15673 PyObject * obj1 = 0 ;
15674 char *kwnames[] = {
15675 (char *) "self",(char *) "maximize", NULL
15676 };
15677
15678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail;
15679 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15680 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15681 if (obj1) {
15682 arg2 = (bool)SWIG_As_bool(obj1);
15683 if (PyErr_Occurred()) SWIG_fail;
15684 }
15685 {
15686 PyThreadState* __tstate = wxPyBeginAllowThreads();
15687 (arg1)->Maximize(arg2);
15688
15689 wxPyEndAllowThreads(__tstate);
15690 if (PyErr_Occurred()) SWIG_fail;
15691 }
15692 Py_INCREF(Py_None); resultobj = Py_None;
15693 return resultobj;
15694 fail:
15695 return NULL;
15696 }
15697
15698
15699 static PyObject *_wrap_MDIChildFrame_Restore(PyObject *, PyObject *args, PyObject *kwargs) {
15700 PyObject *resultobj;
15701 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15702 PyObject * obj0 = 0 ;
15703 char *kwnames[] = {
15704 (char *) "self", NULL
15705 };
15706
15707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail;
15708 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15709 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15710 {
15711 PyThreadState* __tstate = wxPyBeginAllowThreads();
15712 (arg1)->Restore();
15713
15714 wxPyEndAllowThreads(__tstate);
15715 if (PyErr_Occurred()) SWIG_fail;
15716 }
15717 Py_INCREF(Py_None); resultobj = Py_None;
15718 return resultobj;
15719 fail:
15720 return NULL;
15721 }
15722
15723
15724 static PyObject * MDIChildFrame_swigregister(PyObject *, PyObject *args) {
15725 PyObject *obj;
15726 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15727 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj);
15728 Py_INCREF(obj);
15729 return Py_BuildValue((char *)"");
15730 }
15731 static PyObject *_wrap_new_MDIClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
15732 PyObject *resultobj;
15733 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15734 long arg2 = (long) 0 ;
15735 wxMDIClientWindow *result;
15736 PyObject * obj0 = 0 ;
15737 PyObject * obj1 = 0 ;
15738 char *kwnames[] = {
15739 (char *) "parent",(char *) "style", NULL
15740 };
15741
15742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) goto fail;
15743 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15744 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15745 if (obj1) {
15746 arg2 = (long)SWIG_As_long(obj1);
15747 if (PyErr_Occurred()) SWIG_fail;
15748 }
15749 {
15750 if (!wxPyCheckForApp()) SWIG_fail;
15751 PyThreadState* __tstate = wxPyBeginAllowThreads();
15752 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
15753
15754 wxPyEndAllowThreads(__tstate);
15755 if (PyErr_Occurred()) SWIG_fail;
15756 }
15757 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIClientWindow, 1);
15758 return resultobj;
15759 fail:
15760 return NULL;
15761 }
15762
15763
15764 static PyObject *_wrap_new_PreMDIClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
15765 PyObject *resultobj;
15766 wxMDIClientWindow *result;
15767 char *kwnames[] = {
15768 NULL
15769 };
15770
15771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail;
15772 {
15773 if (!wxPyCheckForApp()) SWIG_fail;
15774 PyThreadState* __tstate = wxPyBeginAllowThreads();
15775 result = (wxMDIClientWindow *)new wxMDIClientWindow();
15776
15777 wxPyEndAllowThreads(__tstate);
15778 if (PyErr_Occurred()) SWIG_fail;
15779 }
15780 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIClientWindow, 1);
15781 return resultobj;
15782 fail:
15783 return NULL;
15784 }
15785
15786
15787 static PyObject *_wrap_MDIClientWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
15788 PyObject *resultobj;
15789 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
15790 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
15791 long arg3 = (long) 0 ;
15792 bool result;
15793 PyObject * obj0 = 0 ;
15794 PyObject * obj1 = 0 ;
15795 PyObject * obj2 = 0 ;
15796 char *kwnames[] = {
15797 (char *) "self",(char *) "parent",(char *) "style", NULL
15798 };
15799
15800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
15801 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIClientWindow,
15802 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15803 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
15804 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15805 if (obj2) {
15806 arg3 = (long)SWIG_As_long(obj2);
15807 if (PyErr_Occurred()) SWIG_fail;
15808 }
15809 {
15810 PyThreadState* __tstate = wxPyBeginAllowThreads();
15811 result = (bool)(arg1)->Create(arg2,arg3);
15812
15813 wxPyEndAllowThreads(__tstate);
15814 if (PyErr_Occurred()) SWIG_fail;
15815 }
15816 {
15817 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15818 }
15819 return resultobj;
15820 fail:
15821 return NULL;
15822 }
15823
15824
15825 static PyObject * MDIClientWindow_swigregister(PyObject *, PyObject *args) {
15826 PyObject *obj;
15827 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15828 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj);
15829 Py_INCREF(obj);
15830 return Py_BuildValue((char *)"");
15831 }
15832 static PyObject *_wrap_new_PyWindow(PyObject *, PyObject *args, PyObject *kwargs) {
15833 PyObject *resultobj;
15834 wxWindow *arg1 = (wxWindow *) 0 ;
15835 int arg2 = (int) (int)-1 ;
15836 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15837 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15838 wxSize const &arg4_defvalue = wxDefaultSize ;
15839 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15840 long arg5 = (long) 0 ;
15841 wxString const &arg6_defvalue = wxPyPanelNameStr ;
15842 wxString *arg6 = (wxString *) &arg6_defvalue ;
15843 wxPyWindow *result;
15844 wxPoint temp3 ;
15845 wxSize temp4 ;
15846 bool temp6 = false ;
15847 PyObject * obj0 = 0 ;
15848 PyObject * obj1 = 0 ;
15849 PyObject * obj2 = 0 ;
15850 PyObject * obj3 = 0 ;
15851 PyObject * obj4 = 0 ;
15852 PyObject * obj5 = 0 ;
15853 char *kwnames[] = {
15854 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15855 };
15856
15857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15858 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
15859 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15860 if (obj1) {
15861 arg2 = (int)SWIG_As_int(obj1);
15862 if (PyErr_Occurred()) SWIG_fail;
15863 }
15864 if (obj2) {
15865 {
15866 arg3 = &temp3;
15867 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15868 }
15869 }
15870 if (obj3) {
15871 {
15872 arg4 = &temp4;
15873 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15874 }
15875 }
15876 if (obj4) {
15877 arg5 = (long)SWIG_As_long(obj4);
15878 if (PyErr_Occurred()) SWIG_fail;
15879 }
15880 if (obj5) {
15881 {
15882 arg6 = wxString_in_helper(obj5);
15883 if (arg6 == NULL) SWIG_fail;
15884 temp6 = true;
15885 }
15886 }
15887 {
15888 if (!wxPyCheckForApp()) SWIG_fail;
15889 PyThreadState* __tstate = wxPyBeginAllowThreads();
15890 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15891
15892 wxPyEndAllowThreads(__tstate);
15893 if (PyErr_Occurred()) SWIG_fail;
15894 }
15895 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
15896 {
15897 if (temp6)
15898 delete arg6;
15899 }
15900 return resultobj;
15901 fail:
15902 {
15903 if (temp6)
15904 delete arg6;
15905 }
15906 return NULL;
15907 }
15908
15909
15910 static PyObject *_wrap_new_PrePyWindow(PyObject *, PyObject *args, PyObject *kwargs) {
15911 PyObject *resultobj;
15912 wxPyWindow *result;
15913 char *kwnames[] = {
15914 NULL
15915 };
15916
15917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyWindow",kwnames)) goto fail;
15918 {
15919 if (!wxPyCheckForApp()) SWIG_fail;
15920 PyThreadState* __tstate = wxPyBeginAllowThreads();
15921 result = (wxPyWindow *)new wxPyWindow();
15922
15923 wxPyEndAllowThreads(__tstate);
15924 if (PyErr_Occurred()) SWIG_fail;
15925 }
15926 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
15927 return resultobj;
15928 fail:
15929 return NULL;
15930 }
15931
15932
15933 static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
15934 PyObject *resultobj;
15935 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15936 PyObject *arg2 = (PyObject *) 0 ;
15937 PyObject *arg3 = (PyObject *) 0 ;
15938 PyObject * obj0 = 0 ;
15939 PyObject * obj1 = 0 ;
15940 PyObject * obj2 = 0 ;
15941 char *kwnames[] = {
15942 (char *) "self",(char *) "self",(char *) "_class", NULL
15943 };
15944
15945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15946 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15947 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15948 arg2 = obj1;
15949 arg3 = obj2;
15950 {
15951 PyThreadState* __tstate = wxPyBeginAllowThreads();
15952 (arg1)->_setCallbackInfo(arg2,arg3);
15953
15954 wxPyEndAllowThreads(__tstate);
15955 if (PyErr_Occurred()) SWIG_fail;
15956 }
15957 Py_INCREF(Py_None); resultobj = Py_None;
15958 return resultobj;
15959 fail:
15960 return NULL;
15961 }
15962
15963
15964 static PyObject *_wrap_PyWindow_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
15965 PyObject *resultobj;
15966 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15967 wxSize *arg2 = 0 ;
15968 wxSize temp2 ;
15969 PyObject * obj0 = 0 ;
15970 PyObject * obj1 = 0 ;
15971 char *kwnames[] = {
15972 (char *) "self",(char *) "size", NULL
15973 };
15974
15975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
15976 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15977 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15978 {
15979 arg2 = &temp2;
15980 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
15981 }
15982 {
15983 PyThreadState* __tstate = wxPyBeginAllowThreads();
15984 (arg1)->SetBestSize((wxSize const &)*arg2);
15985
15986 wxPyEndAllowThreads(__tstate);
15987 if (PyErr_Occurred()) SWIG_fail;
15988 }
15989 Py_INCREF(Py_None); resultobj = Py_None;
15990 return resultobj;
15991 fail:
15992 return NULL;
15993 }
15994
15995
15996 static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
15997 PyObject *resultobj;
15998 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15999 int arg2 ;
16000 int arg3 ;
16001 int arg4 ;
16002 int arg5 ;
16003 PyObject * obj0 = 0 ;
16004 PyObject * obj1 = 0 ;
16005 PyObject * obj2 = 0 ;
16006 PyObject * obj3 = 0 ;
16007 PyObject * obj4 = 0 ;
16008 char *kwnames[] = {
16009 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16010 };
16011
16012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16013 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16014 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16015 arg2 = (int)SWIG_As_int(obj1);
16016 if (PyErr_Occurred()) SWIG_fail;
16017 arg3 = (int)SWIG_As_int(obj2);
16018 if (PyErr_Occurred()) SWIG_fail;
16019 arg4 = (int)SWIG_As_int(obj3);
16020 if (PyErr_Occurred()) SWIG_fail;
16021 arg5 = (int)SWIG_As_int(obj4);
16022 if (PyErr_Occurred()) SWIG_fail;
16023 {
16024 PyThreadState* __tstate = wxPyBeginAllowThreads();
16025 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
16026
16027 wxPyEndAllowThreads(__tstate);
16028 if (PyErr_Occurred()) SWIG_fail;
16029 }
16030 Py_INCREF(Py_None); resultobj = Py_None;
16031 return resultobj;
16032 fail:
16033 return NULL;
16034 }
16035
16036
16037 static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
16038 PyObject *resultobj;
16039 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16040 int arg2 ;
16041 int arg3 ;
16042 int arg4 ;
16043 int arg5 ;
16044 int arg6 = (int) wxSIZE_AUTO ;
16045 PyObject * obj0 = 0 ;
16046 PyObject * obj1 = 0 ;
16047 PyObject * obj2 = 0 ;
16048 PyObject * obj3 = 0 ;
16049 PyObject * obj4 = 0 ;
16050 PyObject * obj5 = 0 ;
16051 char *kwnames[] = {
16052 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
16053 };
16054
16055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16056 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16057 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16058 arg2 = (int)SWIG_As_int(obj1);
16059 if (PyErr_Occurred()) SWIG_fail;
16060 arg3 = (int)SWIG_As_int(obj2);
16061 if (PyErr_Occurred()) SWIG_fail;
16062 arg4 = (int)SWIG_As_int(obj3);
16063 if (PyErr_Occurred()) SWIG_fail;
16064 arg5 = (int)SWIG_As_int(obj4);
16065 if (PyErr_Occurred()) SWIG_fail;
16066 if (obj5) {
16067 arg6 = (int)SWIG_As_int(obj5);
16068 if (PyErr_Occurred()) SWIG_fail;
16069 }
16070 {
16071 PyThreadState* __tstate = wxPyBeginAllowThreads();
16072 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
16073
16074 wxPyEndAllowThreads(__tstate);
16075 if (PyErr_Occurred()) SWIG_fail;
16076 }
16077 Py_INCREF(Py_None); resultobj = Py_None;
16078 return resultobj;
16079 fail:
16080 return NULL;
16081 }
16082
16083
16084 static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
16085 PyObject *resultobj;
16086 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16087 int arg2 ;
16088 int arg3 ;
16089 PyObject * obj0 = 0 ;
16090 PyObject * obj1 = 0 ;
16091 PyObject * obj2 = 0 ;
16092 char *kwnames[] = {
16093 (char *) "self",(char *) "width",(char *) "height", NULL
16094 };
16095
16096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16097 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16098 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16099 arg2 = (int)SWIG_As_int(obj1);
16100 if (PyErr_Occurred()) SWIG_fail;
16101 arg3 = (int)SWIG_As_int(obj2);
16102 if (PyErr_Occurred()) SWIG_fail;
16103 {
16104 PyThreadState* __tstate = wxPyBeginAllowThreads();
16105 (arg1)->base_DoSetClientSize(arg2,arg3);
16106
16107 wxPyEndAllowThreads(__tstate);
16108 if (PyErr_Occurred()) SWIG_fail;
16109 }
16110 Py_INCREF(Py_None); resultobj = Py_None;
16111 return resultobj;
16112 fail:
16113 return NULL;
16114 }
16115
16116
16117 static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
16118 PyObject *resultobj;
16119 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16120 int arg2 ;
16121 int arg3 ;
16122 PyObject * obj0 = 0 ;
16123 PyObject * obj1 = 0 ;
16124 PyObject * obj2 = 0 ;
16125 char *kwnames[] = {
16126 (char *) "self",(char *) "x",(char *) "y", NULL
16127 };
16128
16129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16130 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16131 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16132 arg2 = (int)SWIG_As_int(obj1);
16133 if (PyErr_Occurred()) SWIG_fail;
16134 arg3 = (int)SWIG_As_int(obj2);
16135 if (PyErr_Occurred()) SWIG_fail;
16136 {
16137 PyThreadState* __tstate = wxPyBeginAllowThreads();
16138 (arg1)->base_DoSetVirtualSize(arg2,arg3);
16139
16140 wxPyEndAllowThreads(__tstate);
16141 if (PyErr_Occurred()) SWIG_fail;
16142 }
16143 Py_INCREF(Py_None); resultobj = Py_None;
16144 return resultobj;
16145 fail:
16146 return NULL;
16147 }
16148
16149
16150 static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
16151 PyObject *resultobj;
16152 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16153 int *arg2 = (int *) 0 ;
16154 int *arg3 = (int *) 0 ;
16155 int temp2 ;
16156 int res2 = 0 ;
16157 int temp3 ;
16158 int res3 = 0 ;
16159 PyObject * obj0 = 0 ;
16160 char *kwnames[] = {
16161 (char *) "self", NULL
16162 };
16163
16164 arg2 = &temp2; res2 = SWIG_NEWOBJ;
16165 arg3 = &temp3; res3 = SWIG_NEWOBJ;
16166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
16167 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16168 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16169 {
16170 PyThreadState* __tstate = wxPyBeginAllowThreads();
16171 ((wxPyWindow const *)arg1)->base_DoGetSize(arg2,arg3);
16172
16173 wxPyEndAllowThreads(__tstate);
16174 if (PyErr_Occurred()) SWIG_fail;
16175 }
16176 Py_INCREF(Py_None); resultobj = Py_None;
16177 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
16178 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
16179 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
16180 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
16181 return resultobj;
16182 fail:
16183 return NULL;
16184 }
16185
16186
16187 static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
16188 PyObject *resultobj;
16189 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16190 int *arg2 = (int *) 0 ;
16191 int *arg3 = (int *) 0 ;
16192 int temp2 ;
16193 int res2 = 0 ;
16194 int temp3 ;
16195 int res3 = 0 ;
16196 PyObject * obj0 = 0 ;
16197 char *kwnames[] = {
16198 (char *) "self", NULL
16199 };
16200
16201 arg2 = &temp2; res2 = SWIG_NEWOBJ;
16202 arg3 = &temp3; res3 = SWIG_NEWOBJ;
16203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
16204 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16205 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16206 {
16207 PyThreadState* __tstate = wxPyBeginAllowThreads();
16208 ((wxPyWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
16209
16210 wxPyEndAllowThreads(__tstate);
16211 if (PyErr_Occurred()) SWIG_fail;
16212 }
16213 Py_INCREF(Py_None); resultobj = Py_None;
16214 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
16215 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
16216 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
16217 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
16218 return resultobj;
16219 fail:
16220 return NULL;
16221 }
16222
16223
16224 static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
16225 PyObject *resultobj;
16226 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16227 int *arg2 = (int *) 0 ;
16228 int *arg3 = (int *) 0 ;
16229 int temp2 ;
16230 int res2 = 0 ;
16231 int temp3 ;
16232 int res3 = 0 ;
16233 PyObject * obj0 = 0 ;
16234 char *kwnames[] = {
16235 (char *) "self", NULL
16236 };
16237
16238 arg2 = &temp2; res2 = SWIG_NEWOBJ;
16239 arg3 = &temp3; res3 = SWIG_NEWOBJ;
16240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
16241 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16242 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16243 {
16244 PyThreadState* __tstate = wxPyBeginAllowThreads();
16245 ((wxPyWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
16246
16247 wxPyEndAllowThreads(__tstate);
16248 if (PyErr_Occurred()) SWIG_fail;
16249 }
16250 Py_INCREF(Py_None); resultobj = Py_None;
16251 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
16252 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
16253 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
16254 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
16255 return resultobj;
16256 fail:
16257 return NULL;
16258 }
16259
16260
16261 static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
16262 PyObject *resultobj;
16263 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16264 wxSize result;
16265 PyObject * obj0 = 0 ;
16266 char *kwnames[] = {
16267 (char *) "self", NULL
16268 };
16269
16270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
16271 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16272 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16273 {
16274 PyThreadState* __tstate = wxPyBeginAllowThreads();
16275 result = ((wxPyWindow const *)arg1)->base_DoGetVirtualSize();
16276
16277 wxPyEndAllowThreads(__tstate);
16278 if (PyErr_Occurred()) SWIG_fail;
16279 }
16280 {
16281 wxSize * resultptr;
16282 resultptr = new wxSize((wxSize &) result);
16283 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16284 }
16285 return resultobj;
16286 fail:
16287 return NULL;
16288 }
16289
16290
16291 static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
16292 PyObject *resultobj;
16293 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16294 wxSize result;
16295 PyObject * obj0 = 0 ;
16296 char *kwnames[] = {
16297 (char *) "self", NULL
16298 };
16299
16300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
16301 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16302 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16303 {
16304 PyThreadState* __tstate = wxPyBeginAllowThreads();
16305 result = ((wxPyWindow const *)arg1)->base_DoGetBestSize();
16306
16307 wxPyEndAllowThreads(__tstate);
16308 if (PyErr_Occurred()) SWIG_fail;
16309 }
16310 {
16311 wxSize * resultptr;
16312 resultptr = new wxSize((wxSize &) result);
16313 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16314 }
16315 return resultobj;
16316 fail:
16317 return NULL;
16318 }
16319
16320
16321 static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
16322 PyObject *resultobj;
16323 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16324 PyObject * obj0 = 0 ;
16325 char *kwnames[] = {
16326 (char *) "self", NULL
16327 };
16328
16329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_InitDialog",kwnames,&obj0)) goto fail;
16330 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16331 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16332 {
16333 PyThreadState* __tstate = wxPyBeginAllowThreads();
16334 (arg1)->base_InitDialog();
16335
16336 wxPyEndAllowThreads(__tstate);
16337 if (PyErr_Occurred()) SWIG_fail;
16338 }
16339 Py_INCREF(Py_None); resultobj = Py_None;
16340 return resultobj;
16341 fail:
16342 return NULL;
16343 }
16344
16345
16346 static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
16347 PyObject *resultobj;
16348 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16349 bool result;
16350 PyObject * obj0 = 0 ;
16351 char *kwnames[] = {
16352 (char *) "self", NULL
16353 };
16354
16355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
16356 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16357 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16358 {
16359 PyThreadState* __tstate = wxPyBeginAllowThreads();
16360 result = (bool)(arg1)->base_TransferDataToWindow();
16361
16362 wxPyEndAllowThreads(__tstate);
16363 if (PyErr_Occurred()) SWIG_fail;
16364 }
16365 {
16366 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16367 }
16368 return resultobj;
16369 fail:
16370 return NULL;
16371 }
16372
16373
16374 static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
16375 PyObject *resultobj;
16376 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16377 bool result;
16378 PyObject * obj0 = 0 ;
16379 char *kwnames[] = {
16380 (char *) "self", NULL
16381 };
16382
16383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
16384 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16385 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16386 {
16387 PyThreadState* __tstate = wxPyBeginAllowThreads();
16388 result = (bool)(arg1)->base_TransferDataFromWindow();
16389
16390 wxPyEndAllowThreads(__tstate);
16391 if (PyErr_Occurred()) SWIG_fail;
16392 }
16393 {
16394 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16395 }
16396 return resultobj;
16397 fail:
16398 return NULL;
16399 }
16400
16401
16402 static PyObject *_wrap_PyWindow_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
16403 PyObject *resultobj;
16404 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16405 bool result;
16406 PyObject * obj0 = 0 ;
16407 char *kwnames[] = {
16408 (char *) "self", NULL
16409 };
16410
16411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_Validate",kwnames,&obj0)) goto fail;
16412 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16413 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16414 {
16415 PyThreadState* __tstate = wxPyBeginAllowThreads();
16416 result = (bool)(arg1)->base_Validate();
16417
16418 wxPyEndAllowThreads(__tstate);
16419 if (PyErr_Occurred()) SWIG_fail;
16420 }
16421 {
16422 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16423 }
16424 return resultobj;
16425 fail:
16426 return NULL;
16427 }
16428
16429
16430 static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
16431 PyObject *resultobj;
16432 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16433 bool result;
16434 PyObject * obj0 = 0 ;
16435 char *kwnames[] = {
16436 (char *) "self", NULL
16437 };
16438
16439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
16440 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16441 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16442 {
16443 PyThreadState* __tstate = wxPyBeginAllowThreads();
16444 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocus();
16445
16446 wxPyEndAllowThreads(__tstate);
16447 if (PyErr_Occurred()) SWIG_fail;
16448 }
16449 {
16450 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16451 }
16452 return resultobj;
16453 fail:
16454 return NULL;
16455 }
16456
16457
16458 static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
16459 PyObject *resultobj;
16460 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16461 bool result;
16462 PyObject * obj0 = 0 ;
16463 char *kwnames[] = {
16464 (char *) "self", NULL
16465 };
16466
16467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
16468 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16469 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16470 {
16471 PyThreadState* __tstate = wxPyBeginAllowThreads();
16472 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
16473
16474 wxPyEndAllowThreads(__tstate);
16475 if (PyErr_Occurred()) SWIG_fail;
16476 }
16477 {
16478 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16479 }
16480 return resultobj;
16481 fail:
16482 return NULL;
16483 }
16484
16485
16486 static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
16487 PyObject *resultobj;
16488 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16489 wxSize result;
16490 PyObject * obj0 = 0 ;
16491 char *kwnames[] = {
16492 (char *) "self", NULL
16493 };
16494
16495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
16496 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16497 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16498 {
16499 PyThreadState* __tstate = wxPyBeginAllowThreads();
16500 result = ((wxPyWindow const *)arg1)->base_GetMaxSize();
16501
16502 wxPyEndAllowThreads(__tstate);
16503 if (PyErr_Occurred()) SWIG_fail;
16504 }
16505 {
16506 wxSize * resultptr;
16507 resultptr = new wxSize((wxSize &) result);
16508 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16509 }
16510 return resultobj;
16511 fail:
16512 return NULL;
16513 }
16514
16515
16516 static PyObject *_wrap_PyWindow_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
16517 PyObject *resultobj;
16518 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16519 wxWindow *arg2 = (wxWindow *) 0 ;
16520 PyObject * obj0 = 0 ;
16521 PyObject * obj1 = 0 ;
16522 char *kwnames[] = {
16523 (char *) "self",(char *) "child", NULL
16524 };
16525
16526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
16527 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16528 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16529 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16530 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16531 {
16532 PyThreadState* __tstate = wxPyBeginAllowThreads();
16533 (arg1)->base_AddChild(arg2);
16534
16535 wxPyEndAllowThreads(__tstate);
16536 if (PyErr_Occurred()) SWIG_fail;
16537 }
16538 Py_INCREF(Py_None); resultobj = Py_None;
16539 return resultobj;
16540 fail:
16541 return NULL;
16542 }
16543
16544
16545 static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
16546 PyObject *resultobj;
16547 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16548 wxWindow *arg2 = (wxWindow *) 0 ;
16549 PyObject * obj0 = 0 ;
16550 PyObject * obj1 = 0 ;
16551 char *kwnames[] = {
16552 (char *) "self",(char *) "child", NULL
16553 };
16554
16555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
16556 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16557 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16558 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16559 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16560 {
16561 PyThreadState* __tstate = wxPyBeginAllowThreads();
16562 (arg1)->base_RemoveChild(arg2);
16563
16564 wxPyEndAllowThreads(__tstate);
16565 if (PyErr_Occurred()) SWIG_fail;
16566 }
16567 Py_INCREF(Py_None); resultobj = Py_None;
16568 return resultobj;
16569 fail:
16570 return NULL;
16571 }
16572
16573
16574 static PyObject *_wrap_PyWindow_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
16575 PyObject *resultobj;
16576 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16577 bool result;
16578 PyObject * obj0 = 0 ;
16579 char *kwnames[] = {
16580 (char *) "self", NULL
16581 };
16582
16583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
16584 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16585 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16586 {
16587 PyThreadState* __tstate = wxPyBeginAllowThreads();
16588 result = (bool)((wxPyWindow const *)arg1)->base_ShouldInheritColours();
16589
16590 wxPyEndAllowThreads(__tstate);
16591 if (PyErr_Occurred()) SWIG_fail;
16592 }
16593 {
16594 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16595 }
16596 return resultobj;
16597 fail:
16598 return NULL;
16599 }
16600
16601
16602 static PyObject *_wrap_PyWindow_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) {
16603 PyObject *resultobj;
16604 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16605 wxColour *arg2 = 0 ;
16606 wxColour temp2 ;
16607 PyObject * obj0 = 0 ;
16608 PyObject * obj1 = 0 ;
16609 char *kwnames[] = {
16610 (char *) "self",(char *) "c", NULL
16611 };
16612
16613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
16614 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16615 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16616 {
16617 arg2 = &temp2;
16618 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16619 }
16620 {
16621 PyThreadState* __tstate = wxPyBeginAllowThreads();
16622 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
16623
16624 wxPyEndAllowThreads(__tstate);
16625 if (PyErr_Occurred()) SWIG_fail;
16626 }
16627 Py_INCREF(Py_None); resultobj = Py_None;
16628 return resultobj;
16629 fail:
16630 return NULL;
16631 }
16632
16633
16634 static PyObject *_wrap_PyWindow_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
16635 PyObject *resultobj;
16636 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16637 wxVisualAttributes result;
16638 PyObject * obj0 = 0 ;
16639 char *kwnames[] = {
16640 (char *) "self", NULL
16641 };
16642
16643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
16644 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16645 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16646 {
16647 PyThreadState* __tstate = wxPyBeginAllowThreads();
16648 result = (arg1)->base_GetDefaultAttributes();
16649
16650 wxPyEndAllowThreads(__tstate);
16651 if (PyErr_Occurred()) SWIG_fail;
16652 }
16653 {
16654 wxVisualAttributes * resultptr;
16655 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
16656 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
16657 }
16658 return resultobj;
16659 fail:
16660 return NULL;
16661 }
16662
16663
16664 static PyObject * PyWindow_swigregister(PyObject *, PyObject *args) {
16665 PyObject *obj;
16666 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16667 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj);
16668 Py_INCREF(obj);
16669 return Py_BuildValue((char *)"");
16670 }
16671 static PyObject *_wrap_new_PyPanel(PyObject *, PyObject *args, PyObject *kwargs) {
16672 PyObject *resultobj;
16673 wxWindow *arg1 = (wxWindow *) 0 ;
16674 int arg2 = (int) (int)-1 ;
16675 wxPoint const &arg3_defvalue = wxDefaultPosition ;
16676 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
16677 wxSize const &arg4_defvalue = wxDefaultSize ;
16678 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
16679 long arg5 = (long) 0 ;
16680 wxString const &arg6_defvalue = wxPyPanelNameStr ;
16681 wxString *arg6 = (wxString *) &arg6_defvalue ;
16682 wxPyPanel *result;
16683 wxPoint temp3 ;
16684 wxSize temp4 ;
16685 bool temp6 = false ;
16686 PyObject * obj0 = 0 ;
16687 PyObject * obj1 = 0 ;
16688 PyObject * obj2 = 0 ;
16689 PyObject * obj3 = 0 ;
16690 PyObject * obj4 = 0 ;
16691 PyObject * obj5 = 0 ;
16692 char *kwnames[] = {
16693 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16694 };
16695
16696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16697 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
16698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16699 if (obj1) {
16700 arg2 = (int)SWIG_As_int(obj1);
16701 if (PyErr_Occurred()) SWIG_fail;
16702 }
16703 if (obj2) {
16704 {
16705 arg3 = &temp3;
16706 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
16707 }
16708 }
16709 if (obj3) {
16710 {
16711 arg4 = &temp4;
16712 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
16713 }
16714 }
16715 if (obj4) {
16716 arg5 = (long)SWIG_As_long(obj4);
16717 if (PyErr_Occurred()) SWIG_fail;
16718 }
16719 if (obj5) {
16720 {
16721 arg6 = wxString_in_helper(obj5);
16722 if (arg6 == NULL) SWIG_fail;
16723 temp6 = true;
16724 }
16725 }
16726 {
16727 if (!wxPyCheckForApp()) SWIG_fail;
16728 PyThreadState* __tstate = wxPyBeginAllowThreads();
16729 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
16730
16731 wxPyEndAllowThreads(__tstate);
16732 if (PyErr_Occurred()) SWIG_fail;
16733 }
16734 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
16735 {
16736 if (temp6)
16737 delete arg6;
16738 }
16739 return resultobj;
16740 fail:
16741 {
16742 if (temp6)
16743 delete arg6;
16744 }
16745 return NULL;
16746 }
16747
16748
16749 static PyObject *_wrap_new_PrePyPanel(PyObject *, PyObject *args, PyObject *kwargs) {
16750 PyObject *resultobj;
16751 wxPyPanel *result;
16752 char *kwnames[] = {
16753 NULL
16754 };
16755
16756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyPanel",kwnames)) goto fail;
16757 {
16758 if (!wxPyCheckForApp()) SWIG_fail;
16759 PyThreadState* __tstate = wxPyBeginAllowThreads();
16760 result = (wxPyPanel *)new wxPyPanel();
16761
16762 wxPyEndAllowThreads(__tstate);
16763 if (PyErr_Occurred()) SWIG_fail;
16764 }
16765 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
16766 return resultobj;
16767 fail:
16768 return NULL;
16769 }
16770
16771
16772 static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
16773 PyObject *resultobj;
16774 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16775 PyObject *arg2 = (PyObject *) 0 ;
16776 PyObject *arg3 = (PyObject *) 0 ;
16777 PyObject * obj0 = 0 ;
16778 PyObject * obj1 = 0 ;
16779 PyObject * obj2 = 0 ;
16780 char *kwnames[] = {
16781 (char *) "self",(char *) "self",(char *) "_class", NULL
16782 };
16783
16784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
16785 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16786 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16787 arg2 = obj1;
16788 arg3 = obj2;
16789 {
16790 PyThreadState* __tstate = wxPyBeginAllowThreads();
16791 (arg1)->_setCallbackInfo(arg2,arg3);
16792
16793 wxPyEndAllowThreads(__tstate);
16794 if (PyErr_Occurred()) SWIG_fail;
16795 }
16796 Py_INCREF(Py_None); resultobj = Py_None;
16797 return resultobj;
16798 fail:
16799 return NULL;
16800 }
16801
16802
16803 static PyObject *_wrap_PyPanel_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
16804 PyObject *resultobj;
16805 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16806 wxSize *arg2 = 0 ;
16807 wxSize temp2 ;
16808 PyObject * obj0 = 0 ;
16809 PyObject * obj1 = 0 ;
16810 char *kwnames[] = {
16811 (char *) "self",(char *) "size", NULL
16812 };
16813
16814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
16815 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16816 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16817 {
16818 arg2 = &temp2;
16819 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16820 }
16821 {
16822 PyThreadState* __tstate = wxPyBeginAllowThreads();
16823 (arg1)->SetBestSize((wxSize const &)*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_PyPanel_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
16836 PyObject *resultobj;
16837 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16838 int arg2 ;
16839 int arg3 ;
16840 int arg4 ;
16841 int arg5 ;
16842 PyObject * obj0 = 0 ;
16843 PyObject * obj1 = 0 ;
16844 PyObject * obj2 = 0 ;
16845 PyObject * obj3 = 0 ;
16846 PyObject * obj4 = 0 ;
16847 char *kwnames[] = {
16848 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16849 };
16850
16851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16852 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16853 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16854 arg2 = (int)SWIG_As_int(obj1);
16855 if (PyErr_Occurred()) SWIG_fail;
16856 arg3 = (int)SWIG_As_int(obj2);
16857 if (PyErr_Occurred()) SWIG_fail;
16858 arg4 = (int)SWIG_As_int(obj3);
16859 if (PyErr_Occurred()) SWIG_fail;
16860 arg5 = (int)SWIG_As_int(obj4);
16861 if (PyErr_Occurred()) SWIG_fail;
16862 {
16863 PyThreadState* __tstate = wxPyBeginAllowThreads();
16864 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
16865
16866 wxPyEndAllowThreads(__tstate);
16867 if (PyErr_Occurred()) SWIG_fail;
16868 }
16869 Py_INCREF(Py_None); resultobj = Py_None;
16870 return resultobj;
16871 fail:
16872 return NULL;
16873 }
16874
16875
16876 static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
16877 PyObject *resultobj;
16878 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16879 int arg2 ;
16880 int arg3 ;
16881 int arg4 ;
16882 int arg5 ;
16883 int arg6 = (int) wxSIZE_AUTO ;
16884 PyObject * obj0 = 0 ;
16885 PyObject * obj1 = 0 ;
16886 PyObject * obj2 = 0 ;
16887 PyObject * obj3 = 0 ;
16888 PyObject * obj4 = 0 ;
16889 PyObject * obj5 = 0 ;
16890 char *kwnames[] = {
16891 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
16892 };
16893
16894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16895 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16896 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16897 arg2 = (int)SWIG_As_int(obj1);
16898 if (PyErr_Occurred()) SWIG_fail;
16899 arg3 = (int)SWIG_As_int(obj2);
16900 if (PyErr_Occurred()) SWIG_fail;
16901 arg4 = (int)SWIG_As_int(obj3);
16902 if (PyErr_Occurred()) SWIG_fail;
16903 arg5 = (int)SWIG_As_int(obj4);
16904 if (PyErr_Occurred()) SWIG_fail;
16905 if (obj5) {
16906 arg6 = (int)SWIG_As_int(obj5);
16907 if (PyErr_Occurred()) SWIG_fail;
16908 }
16909 {
16910 PyThreadState* __tstate = wxPyBeginAllowThreads();
16911 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
16912
16913 wxPyEndAllowThreads(__tstate);
16914 if (PyErr_Occurred()) SWIG_fail;
16915 }
16916 Py_INCREF(Py_None); resultobj = Py_None;
16917 return resultobj;
16918 fail:
16919 return NULL;
16920 }
16921
16922
16923 static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
16924 PyObject *resultobj;
16925 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16926 int arg2 ;
16927 int arg3 ;
16928 PyObject * obj0 = 0 ;
16929 PyObject * obj1 = 0 ;
16930 PyObject * obj2 = 0 ;
16931 char *kwnames[] = {
16932 (char *) "self",(char *) "width",(char *) "height", NULL
16933 };
16934
16935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16936 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16937 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16938 arg2 = (int)SWIG_As_int(obj1);
16939 if (PyErr_Occurred()) SWIG_fail;
16940 arg3 = (int)SWIG_As_int(obj2);
16941 if (PyErr_Occurred()) SWIG_fail;
16942 {
16943 PyThreadState* __tstate = wxPyBeginAllowThreads();
16944 (arg1)->base_DoSetClientSize(arg2,arg3);
16945
16946 wxPyEndAllowThreads(__tstate);
16947 if (PyErr_Occurred()) SWIG_fail;
16948 }
16949 Py_INCREF(Py_None); resultobj = Py_None;
16950 return resultobj;
16951 fail:
16952 return NULL;
16953 }
16954
16955
16956 static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
16957 PyObject *resultobj;
16958 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16959 int arg2 ;
16960 int arg3 ;
16961 PyObject * obj0 = 0 ;
16962 PyObject * obj1 = 0 ;
16963 PyObject * obj2 = 0 ;
16964 char *kwnames[] = {
16965 (char *) "self",(char *) "x",(char *) "y", NULL
16966 };
16967
16968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16969 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16970 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16971 arg2 = (int)SWIG_As_int(obj1);
16972 if (PyErr_Occurred()) SWIG_fail;
16973 arg3 = (int)SWIG_As_int(obj2);
16974 if (PyErr_Occurred()) SWIG_fail;
16975 {
16976 PyThreadState* __tstate = wxPyBeginAllowThreads();
16977 (arg1)->base_DoSetVirtualSize(arg2,arg3);
16978
16979 wxPyEndAllowThreads(__tstate);
16980 if (PyErr_Occurred()) SWIG_fail;
16981 }
16982 Py_INCREF(Py_None); resultobj = Py_None;
16983 return resultobj;
16984 fail:
16985 return NULL;
16986 }
16987
16988
16989 static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
16990 PyObject *resultobj;
16991 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16992 int *arg2 = (int *) 0 ;
16993 int *arg3 = (int *) 0 ;
16994 int temp2 ;
16995 int res2 = 0 ;
16996 int temp3 ;
16997 int res3 = 0 ;
16998 PyObject * obj0 = 0 ;
16999 char *kwnames[] = {
17000 (char *) "self", NULL
17001 };
17002
17003 arg2 = &temp2; res2 = SWIG_NEWOBJ;
17004 arg3 = &temp3; res3 = SWIG_NEWOBJ;
17005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetSize",kwnames,&obj0)) goto fail;
17006 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17007 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17008 {
17009 PyThreadState* __tstate = wxPyBeginAllowThreads();
17010 ((wxPyPanel const *)arg1)->base_DoGetSize(arg2,arg3);
17011
17012 wxPyEndAllowThreads(__tstate);
17013 if (PyErr_Occurred()) SWIG_fail;
17014 }
17015 Py_INCREF(Py_None); resultobj = Py_None;
17016 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
17017 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
17018 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
17019 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
17020 return resultobj;
17021 fail:
17022 return NULL;
17023 }
17024
17025
17026 static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
17027 PyObject *resultobj;
17028 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17029 int *arg2 = (int *) 0 ;
17030 int *arg3 = (int *) 0 ;
17031 int temp2 ;
17032 int res2 = 0 ;
17033 int temp3 ;
17034 int res3 = 0 ;
17035 PyObject * obj0 = 0 ;
17036 char *kwnames[] = {
17037 (char *) "self", NULL
17038 };
17039
17040 arg2 = &temp2; res2 = SWIG_NEWOBJ;
17041 arg3 = &temp3; res3 = SWIG_NEWOBJ;
17042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetClientSize",kwnames,&obj0)) goto fail;
17043 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17044 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17045 {
17046 PyThreadState* __tstate = wxPyBeginAllowThreads();
17047 ((wxPyPanel const *)arg1)->base_DoGetClientSize(arg2,arg3);
17048
17049 wxPyEndAllowThreads(__tstate);
17050 if (PyErr_Occurred()) SWIG_fail;
17051 }
17052 Py_INCREF(Py_None); resultobj = Py_None;
17053 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
17054 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
17055 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
17056 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
17057 return resultobj;
17058 fail:
17059 return NULL;
17060 }
17061
17062
17063 static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
17064 PyObject *resultobj;
17065 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17066 int *arg2 = (int *) 0 ;
17067 int *arg3 = (int *) 0 ;
17068 int temp2 ;
17069 int res2 = 0 ;
17070 int temp3 ;
17071 int res3 = 0 ;
17072 PyObject * obj0 = 0 ;
17073 char *kwnames[] = {
17074 (char *) "self", NULL
17075 };
17076
17077 arg2 = &temp2; res2 = SWIG_NEWOBJ;
17078 arg3 = &temp3; res3 = SWIG_NEWOBJ;
17079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetPosition",kwnames,&obj0)) goto fail;
17080 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17081 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17082 {
17083 PyThreadState* __tstate = wxPyBeginAllowThreads();
17084 ((wxPyPanel const *)arg1)->base_DoGetPosition(arg2,arg3);
17085
17086 wxPyEndAllowThreads(__tstate);
17087 if (PyErr_Occurred()) SWIG_fail;
17088 }
17089 Py_INCREF(Py_None); resultobj = Py_None;
17090 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
17091 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
17092 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
17093 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
17094 return resultobj;
17095 fail:
17096 return NULL;
17097 }
17098
17099
17100 static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
17101 PyObject *resultobj;
17102 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17103 wxSize result;
17104 PyObject * obj0 = 0 ;
17105 char *kwnames[] = {
17106 (char *) "self", NULL
17107 };
17108
17109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
17110 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17111 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17112 {
17113 PyThreadState* __tstate = wxPyBeginAllowThreads();
17114 result = ((wxPyPanel const *)arg1)->base_DoGetVirtualSize();
17115
17116 wxPyEndAllowThreads(__tstate);
17117 if (PyErr_Occurred()) SWIG_fail;
17118 }
17119 {
17120 wxSize * resultptr;
17121 resultptr = new wxSize((wxSize &) result);
17122 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17123 }
17124 return resultobj;
17125 fail:
17126 return NULL;
17127 }
17128
17129
17130 static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
17131 PyObject *resultobj;
17132 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17133 wxSize result;
17134 PyObject * obj0 = 0 ;
17135 char *kwnames[] = {
17136 (char *) "self", NULL
17137 };
17138
17139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetBestSize",kwnames,&obj0)) goto fail;
17140 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17141 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17142 {
17143 PyThreadState* __tstate = wxPyBeginAllowThreads();
17144 result = ((wxPyPanel const *)arg1)->base_DoGetBestSize();
17145
17146 wxPyEndAllowThreads(__tstate);
17147 if (PyErr_Occurred()) SWIG_fail;
17148 }
17149 {
17150 wxSize * resultptr;
17151 resultptr = new wxSize((wxSize &) result);
17152 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17153 }
17154 return resultobj;
17155 fail:
17156 return NULL;
17157 }
17158
17159
17160 static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
17161 PyObject *resultobj;
17162 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17163 PyObject * obj0 = 0 ;
17164 char *kwnames[] = {
17165 (char *) "self", NULL
17166 };
17167
17168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_InitDialog",kwnames,&obj0)) goto fail;
17169 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17170 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17171 {
17172 PyThreadState* __tstate = wxPyBeginAllowThreads();
17173 (arg1)->base_InitDialog();
17174
17175 wxPyEndAllowThreads(__tstate);
17176 if (PyErr_Occurred()) SWIG_fail;
17177 }
17178 Py_INCREF(Py_None); resultobj = Py_None;
17179 return resultobj;
17180 fail:
17181 return NULL;
17182 }
17183
17184
17185 static PyObject *_wrap_PyPanel_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17186 PyObject *resultobj;
17187 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17188 bool result;
17189 PyObject * obj0 = 0 ;
17190 char *kwnames[] = {
17191 (char *) "self", NULL
17192 };
17193
17194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
17195 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17196 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17197 {
17198 PyThreadState* __tstate = wxPyBeginAllowThreads();
17199 result = (bool)(arg1)->base_TransferDataToWindow();
17200
17201 wxPyEndAllowThreads(__tstate);
17202 if (PyErr_Occurred()) SWIG_fail;
17203 }
17204 {
17205 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17206 }
17207 return resultobj;
17208 fail:
17209 return NULL;
17210 }
17211
17212
17213 static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17214 PyObject *resultobj;
17215 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17216 bool result;
17217 PyObject * obj0 = 0 ;
17218 char *kwnames[] = {
17219 (char *) "self", NULL
17220 };
17221
17222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
17223 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17224 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17225 {
17226 PyThreadState* __tstate = wxPyBeginAllowThreads();
17227 result = (bool)(arg1)->base_TransferDataFromWindow();
17228
17229 wxPyEndAllowThreads(__tstate);
17230 if (PyErr_Occurred()) SWIG_fail;
17231 }
17232 {
17233 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17234 }
17235 return resultobj;
17236 fail:
17237 return NULL;
17238 }
17239
17240
17241 static PyObject *_wrap_PyPanel_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
17242 PyObject *resultobj;
17243 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17244 bool result;
17245 PyObject * obj0 = 0 ;
17246 char *kwnames[] = {
17247 (char *) "self", NULL
17248 };
17249
17250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_Validate",kwnames,&obj0)) goto fail;
17251 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17252 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17253 {
17254 PyThreadState* __tstate = wxPyBeginAllowThreads();
17255 result = (bool)(arg1)->base_Validate();
17256
17257 wxPyEndAllowThreads(__tstate);
17258 if (PyErr_Occurred()) SWIG_fail;
17259 }
17260 {
17261 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17262 }
17263 return resultobj;
17264 fail:
17265 return NULL;
17266 }
17267
17268
17269 static PyObject *_wrap_PyPanel_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
17270 PyObject *resultobj;
17271 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17272 bool result;
17273 PyObject * obj0 = 0 ;
17274 char *kwnames[] = {
17275 (char *) "self", NULL
17276 };
17277
17278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocus",kwnames,&obj0)) goto fail;
17279 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17280 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17281 {
17282 PyThreadState* __tstate = wxPyBeginAllowThreads();
17283 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocus();
17284
17285 wxPyEndAllowThreads(__tstate);
17286 if (PyErr_Occurred()) SWIG_fail;
17287 }
17288 {
17289 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17290 }
17291 return resultobj;
17292 fail:
17293 return NULL;
17294 }
17295
17296
17297 static PyObject *_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
17298 PyObject *resultobj;
17299 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17300 bool result;
17301 PyObject * obj0 = 0 ;
17302 char *kwnames[] = {
17303 (char *) "self", NULL
17304 };
17305
17306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
17307 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17308 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17309 {
17310 PyThreadState* __tstate = wxPyBeginAllowThreads();
17311 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocusFromKeyboard();
17312
17313 wxPyEndAllowThreads(__tstate);
17314 if (PyErr_Occurred()) SWIG_fail;
17315 }
17316 {
17317 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17318 }
17319 return resultobj;
17320 fail:
17321 return NULL;
17322 }
17323
17324
17325 static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
17326 PyObject *resultobj;
17327 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17328 wxSize result;
17329 PyObject * obj0 = 0 ;
17330 char *kwnames[] = {
17331 (char *) "self", NULL
17332 };
17333
17334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetMaxSize",kwnames,&obj0)) goto fail;
17335 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17336 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17337 {
17338 PyThreadState* __tstate = wxPyBeginAllowThreads();
17339 result = ((wxPyPanel const *)arg1)->base_GetMaxSize();
17340
17341 wxPyEndAllowThreads(__tstate);
17342 if (PyErr_Occurred()) SWIG_fail;
17343 }
17344 {
17345 wxSize * resultptr;
17346 resultptr = new wxSize((wxSize &) result);
17347 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17348 }
17349 return resultobj;
17350 fail:
17351 return NULL;
17352 }
17353
17354
17355 static PyObject *_wrap_PyPanel_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
17356 PyObject *resultobj;
17357 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17358 wxWindow *arg2 = (wxWindow *) 0 ;
17359 PyObject * obj0 = 0 ;
17360 PyObject * obj1 = 0 ;
17361 char *kwnames[] = {
17362 (char *) "self",(char *) "child", NULL
17363 };
17364
17365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
17366 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17367 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17368 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17369 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17370 {
17371 PyThreadState* __tstate = wxPyBeginAllowThreads();
17372 (arg1)->base_AddChild(arg2);
17373
17374 wxPyEndAllowThreads(__tstate);
17375 if (PyErr_Occurred()) SWIG_fail;
17376 }
17377 Py_INCREF(Py_None); resultobj = Py_None;
17378 return resultobj;
17379 fail:
17380 return NULL;
17381 }
17382
17383
17384 static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
17385 PyObject *resultobj;
17386 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17387 wxWindow *arg2 = (wxWindow *) 0 ;
17388 PyObject * obj0 = 0 ;
17389 PyObject * obj1 = 0 ;
17390 char *kwnames[] = {
17391 (char *) "self",(char *) "child", NULL
17392 };
17393
17394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
17395 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17396 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17397 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17398 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17399 {
17400 PyThreadState* __tstate = wxPyBeginAllowThreads();
17401 (arg1)->base_RemoveChild(arg2);
17402
17403 wxPyEndAllowThreads(__tstate);
17404 if (PyErr_Occurred()) SWIG_fail;
17405 }
17406 Py_INCREF(Py_None); resultobj = Py_None;
17407 return resultobj;
17408 fail:
17409 return NULL;
17410 }
17411
17412
17413 static PyObject *_wrap_PyPanel_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
17414 PyObject *resultobj;
17415 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17416 bool result;
17417 PyObject * obj0 = 0 ;
17418 char *kwnames[] = {
17419 (char *) "self", NULL
17420 };
17421
17422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
17423 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17424 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17425 {
17426 PyThreadState* __tstate = wxPyBeginAllowThreads();
17427 result = (bool)((wxPyPanel const *)arg1)->base_ShouldInheritColours();
17428
17429 wxPyEndAllowThreads(__tstate);
17430 if (PyErr_Occurred()) SWIG_fail;
17431 }
17432 {
17433 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17434 }
17435 return resultobj;
17436 fail:
17437 return NULL;
17438 }
17439
17440
17441 static PyObject *_wrap_PyPanel_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) {
17442 PyObject *resultobj;
17443 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17444 wxColour *arg2 = 0 ;
17445 wxColour temp2 ;
17446 PyObject * obj0 = 0 ;
17447 PyObject * obj1 = 0 ;
17448 char *kwnames[] = {
17449 (char *) "self",(char *) "c", NULL
17450 };
17451
17452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
17453 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17454 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17455 {
17456 arg2 = &temp2;
17457 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17458 }
17459 {
17460 PyThreadState* __tstate = wxPyBeginAllowThreads();
17461 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
17462
17463 wxPyEndAllowThreads(__tstate);
17464 if (PyErr_Occurred()) SWIG_fail;
17465 }
17466 Py_INCREF(Py_None); resultobj = Py_None;
17467 return resultobj;
17468 fail:
17469 return NULL;
17470 }
17471
17472
17473 static PyObject *_wrap_PyPanel_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
17474 PyObject *resultobj;
17475 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17476 wxVisualAttributes result;
17477 PyObject * obj0 = 0 ;
17478 char *kwnames[] = {
17479 (char *) "self", NULL
17480 };
17481
17482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
17483 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17484 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17485 {
17486 PyThreadState* __tstate = wxPyBeginAllowThreads();
17487 result = (arg1)->base_GetDefaultAttributes();
17488
17489 wxPyEndAllowThreads(__tstate);
17490 if (PyErr_Occurred()) SWIG_fail;
17491 }
17492 {
17493 wxVisualAttributes * resultptr;
17494 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
17495 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
17496 }
17497 return resultobj;
17498 fail:
17499 return NULL;
17500 }
17501
17502
17503 static PyObject * PyPanel_swigregister(PyObject *, PyObject *args) {
17504 PyObject *obj;
17505 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17506 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj);
17507 Py_INCREF(obj);
17508 return Py_BuildValue((char *)"");
17509 }
17510 static PyObject *_wrap_new_PyScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17511 PyObject *resultobj;
17512 wxWindow *arg1 = (wxWindow *) 0 ;
17513 int arg2 = (int) (int)-1 ;
17514 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17515 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17516 wxSize const &arg4_defvalue = wxDefaultSize ;
17517 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17518 long arg5 = (long) 0 ;
17519 wxString const &arg6_defvalue = wxPyPanelNameStr ;
17520 wxString *arg6 = (wxString *) &arg6_defvalue ;
17521 wxPyScrolledWindow *result;
17522 wxPoint temp3 ;
17523 wxSize temp4 ;
17524 bool temp6 = false ;
17525 PyObject * obj0 = 0 ;
17526 PyObject * obj1 = 0 ;
17527 PyObject * obj2 = 0 ;
17528 PyObject * obj3 = 0 ;
17529 PyObject * obj4 = 0 ;
17530 PyObject * obj5 = 0 ;
17531 char *kwnames[] = {
17532 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17533 };
17534
17535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17536 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
17537 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17538 if (obj1) {
17539 arg2 = (int)SWIG_As_int(obj1);
17540 if (PyErr_Occurred()) SWIG_fail;
17541 }
17542 if (obj2) {
17543 {
17544 arg3 = &temp3;
17545 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17546 }
17547 }
17548 if (obj3) {
17549 {
17550 arg4 = &temp4;
17551 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17552 }
17553 }
17554 if (obj4) {
17555 arg5 = (long)SWIG_As_long(obj4);
17556 if (PyErr_Occurred()) SWIG_fail;
17557 }
17558 if (obj5) {
17559 {
17560 arg6 = wxString_in_helper(obj5);
17561 if (arg6 == NULL) SWIG_fail;
17562 temp6 = true;
17563 }
17564 }
17565 {
17566 if (!wxPyCheckForApp()) SWIG_fail;
17567 PyThreadState* __tstate = wxPyBeginAllowThreads();
17568 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17569
17570 wxPyEndAllowThreads(__tstate);
17571 if (PyErr_Occurred()) SWIG_fail;
17572 }
17573 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
17574 {
17575 if (temp6)
17576 delete arg6;
17577 }
17578 return resultobj;
17579 fail:
17580 {
17581 if (temp6)
17582 delete arg6;
17583 }
17584 return NULL;
17585 }
17586
17587
17588 static PyObject *_wrap_new_PrePyScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17589 PyObject *resultobj;
17590 wxPyScrolledWindow *result;
17591 char *kwnames[] = {
17592 NULL
17593 };
17594
17595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyScrolledWindow",kwnames)) goto fail;
17596 {
17597 if (!wxPyCheckForApp()) SWIG_fail;
17598 PyThreadState* __tstate = wxPyBeginAllowThreads();
17599 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
17600
17601 wxPyEndAllowThreads(__tstate);
17602 if (PyErr_Occurred()) SWIG_fail;
17603 }
17604 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
17605 return resultobj;
17606 fail:
17607 return NULL;
17608 }
17609
17610
17611 static PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
17612 PyObject *resultobj;
17613 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17614 PyObject *arg2 = (PyObject *) 0 ;
17615 PyObject *arg3 = (PyObject *) 0 ;
17616 PyObject * obj0 = 0 ;
17617 PyObject * obj1 = 0 ;
17618 PyObject * obj2 = 0 ;
17619 char *kwnames[] = {
17620 (char *) "self",(char *) "self",(char *) "_class", NULL
17621 };
17622
17623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
17624 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17625 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17626 arg2 = obj1;
17627 arg3 = obj2;
17628 {
17629 PyThreadState* __tstate = wxPyBeginAllowThreads();
17630 (arg1)->_setCallbackInfo(arg2,arg3);
17631
17632 wxPyEndAllowThreads(__tstate);
17633 if (PyErr_Occurred()) SWIG_fail;
17634 }
17635 Py_INCREF(Py_None); resultobj = Py_None;
17636 return resultobj;
17637 fail:
17638 return NULL;
17639 }
17640
17641
17642 static PyObject *_wrap_PyScrolledWindow_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
17643 PyObject *resultobj;
17644 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17645 wxSize *arg2 = 0 ;
17646 wxSize temp2 ;
17647 PyObject * obj0 = 0 ;
17648 PyObject * obj1 = 0 ;
17649 char *kwnames[] = {
17650 (char *) "self",(char *) "size", NULL
17651 };
17652
17653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
17654 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17655 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17656 {
17657 arg2 = &temp2;
17658 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17659 }
17660 {
17661 PyThreadState* __tstate = wxPyBeginAllowThreads();
17662 (arg1)->SetBestSize((wxSize const &)*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_PyScrolledWindow_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17675 PyObject *resultobj;
17676 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17677 int arg2 ;
17678 int arg3 ;
17679 int arg4 ;
17680 int arg5 ;
17681 PyObject * obj0 = 0 ;
17682 PyObject * obj1 = 0 ;
17683 PyObject * obj2 = 0 ;
17684 PyObject * obj3 = 0 ;
17685 PyObject * obj4 = 0 ;
17686 char *kwnames[] = {
17687 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
17688 };
17689
17690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
17691 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17692 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17693 arg2 = (int)SWIG_As_int(obj1);
17694 if (PyErr_Occurred()) SWIG_fail;
17695 arg3 = (int)SWIG_As_int(obj2);
17696 if (PyErr_Occurred()) SWIG_fail;
17697 arg4 = (int)SWIG_As_int(obj3);
17698 if (PyErr_Occurred()) SWIG_fail;
17699 arg5 = (int)SWIG_As_int(obj4);
17700 if (PyErr_Occurred()) SWIG_fail;
17701 {
17702 PyThreadState* __tstate = wxPyBeginAllowThreads();
17703 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
17704
17705 wxPyEndAllowThreads(__tstate);
17706 if (PyErr_Occurred()) SWIG_fail;
17707 }
17708 Py_INCREF(Py_None); resultobj = Py_None;
17709 return resultobj;
17710 fail:
17711 return NULL;
17712 }
17713
17714
17715 static PyObject *_wrap_PyScrolledWindow_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
17716 PyObject *resultobj;
17717 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17718 int arg2 ;
17719 int arg3 ;
17720 int arg4 ;
17721 int arg5 ;
17722 int arg6 = (int) wxSIZE_AUTO ;
17723 PyObject * obj0 = 0 ;
17724 PyObject * obj1 = 0 ;
17725 PyObject * obj2 = 0 ;
17726 PyObject * obj3 = 0 ;
17727 PyObject * obj4 = 0 ;
17728 PyObject * obj5 = 0 ;
17729 char *kwnames[] = {
17730 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
17731 };
17732
17733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17734 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17736 arg2 = (int)SWIG_As_int(obj1);
17737 if (PyErr_Occurred()) SWIG_fail;
17738 arg3 = (int)SWIG_As_int(obj2);
17739 if (PyErr_Occurred()) SWIG_fail;
17740 arg4 = (int)SWIG_As_int(obj3);
17741 if (PyErr_Occurred()) SWIG_fail;
17742 arg5 = (int)SWIG_As_int(obj4);
17743 if (PyErr_Occurred()) SWIG_fail;
17744 if (obj5) {
17745 arg6 = (int)SWIG_As_int(obj5);
17746 if (PyErr_Occurred()) SWIG_fail;
17747 }
17748 {
17749 PyThreadState* __tstate = wxPyBeginAllowThreads();
17750 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
17751
17752 wxPyEndAllowThreads(__tstate);
17753 if (PyErr_Occurred()) SWIG_fail;
17754 }
17755 Py_INCREF(Py_None); resultobj = Py_None;
17756 return resultobj;
17757 fail:
17758 return NULL;
17759 }
17760
17761
17762 static PyObject *_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
17763 PyObject *resultobj;
17764 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17765 int arg2 ;
17766 int arg3 ;
17767 PyObject * obj0 = 0 ;
17768 PyObject * obj1 = 0 ;
17769 PyObject * obj2 = 0 ;
17770 char *kwnames[] = {
17771 (char *) "self",(char *) "width",(char *) "height", NULL
17772 };
17773
17774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
17775 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17776 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17777 arg2 = (int)SWIG_As_int(obj1);
17778 if (PyErr_Occurred()) SWIG_fail;
17779 arg3 = (int)SWIG_As_int(obj2);
17780 if (PyErr_Occurred()) SWIG_fail;
17781 {
17782 PyThreadState* __tstate = wxPyBeginAllowThreads();
17783 (arg1)->base_DoSetClientSize(arg2,arg3);
17784
17785 wxPyEndAllowThreads(__tstate);
17786 if (PyErr_Occurred()) SWIG_fail;
17787 }
17788 Py_INCREF(Py_None); resultobj = Py_None;
17789 return resultobj;
17790 fail:
17791 return NULL;
17792 }
17793
17794
17795 static PyObject *_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
17796 PyObject *resultobj;
17797 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17798 int arg2 ;
17799 int arg3 ;
17800 PyObject * obj0 = 0 ;
17801 PyObject * obj1 = 0 ;
17802 PyObject * obj2 = 0 ;
17803 char *kwnames[] = {
17804 (char *) "self",(char *) "x",(char *) "y", NULL
17805 };
17806
17807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
17808 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17809 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17810 arg2 = (int)SWIG_As_int(obj1);
17811 if (PyErr_Occurred()) SWIG_fail;
17812 arg3 = (int)SWIG_As_int(obj2);
17813 if (PyErr_Occurred()) SWIG_fail;
17814 {
17815 PyThreadState* __tstate = wxPyBeginAllowThreads();
17816 (arg1)->base_DoSetVirtualSize(arg2,arg3);
17817
17818 wxPyEndAllowThreads(__tstate);
17819 if (PyErr_Occurred()) SWIG_fail;
17820 }
17821 Py_INCREF(Py_None); resultobj = Py_None;
17822 return resultobj;
17823 fail:
17824 return NULL;
17825 }
17826
17827
17828 static PyObject *_wrap_PyScrolledWindow_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
17829 PyObject *resultobj;
17830 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17831 int *arg2 = (int *) 0 ;
17832 int *arg3 = (int *) 0 ;
17833 int temp2 ;
17834 int res2 = 0 ;
17835 int temp3 ;
17836 int res3 = 0 ;
17837 PyObject * obj0 = 0 ;
17838 char *kwnames[] = {
17839 (char *) "self", NULL
17840 };
17841
17842 arg2 = &temp2; res2 = SWIG_NEWOBJ;
17843 arg3 = &temp3; res3 = SWIG_NEWOBJ;
17844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
17845 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17846 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17847 {
17848 PyThreadState* __tstate = wxPyBeginAllowThreads();
17849 ((wxPyScrolledWindow const *)arg1)->base_DoGetSize(arg2,arg3);
17850
17851 wxPyEndAllowThreads(__tstate);
17852 if (PyErr_Occurred()) SWIG_fail;
17853 }
17854 Py_INCREF(Py_None); resultobj = Py_None;
17855 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
17856 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
17857 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
17858 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
17859 return resultobj;
17860 fail:
17861 return NULL;
17862 }
17863
17864
17865 static PyObject *_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
17866 PyObject *resultobj;
17867 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17868 int *arg2 = (int *) 0 ;
17869 int *arg3 = (int *) 0 ;
17870 int temp2 ;
17871 int res2 = 0 ;
17872 int temp3 ;
17873 int res3 = 0 ;
17874 PyObject * obj0 = 0 ;
17875 char *kwnames[] = {
17876 (char *) "self", NULL
17877 };
17878
17879 arg2 = &temp2; res2 = SWIG_NEWOBJ;
17880 arg3 = &temp3; res3 = SWIG_NEWOBJ;
17881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
17882 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17883 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17884 {
17885 PyThreadState* __tstate = wxPyBeginAllowThreads();
17886 ((wxPyScrolledWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
17887
17888 wxPyEndAllowThreads(__tstate);
17889 if (PyErr_Occurred()) SWIG_fail;
17890 }
17891 Py_INCREF(Py_None); resultobj = Py_None;
17892 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
17893 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
17894 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
17895 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
17896 return resultobj;
17897 fail:
17898 return NULL;
17899 }
17900
17901
17902 static PyObject *_wrap_PyScrolledWindow_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
17903 PyObject *resultobj;
17904 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17905 int *arg2 = (int *) 0 ;
17906 int *arg3 = (int *) 0 ;
17907 int temp2 ;
17908 int res2 = 0 ;
17909 int temp3 ;
17910 int res3 = 0 ;
17911 PyObject * obj0 = 0 ;
17912 char *kwnames[] = {
17913 (char *) "self", NULL
17914 };
17915
17916 arg2 = &temp2; res2 = SWIG_NEWOBJ;
17917 arg3 = &temp3; res3 = SWIG_NEWOBJ;
17918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
17919 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17920 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17921 {
17922 PyThreadState* __tstate = wxPyBeginAllowThreads();
17923 ((wxPyScrolledWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
17924
17925 wxPyEndAllowThreads(__tstate);
17926 if (PyErr_Occurred()) SWIG_fail;
17927 }
17928 Py_INCREF(Py_None); resultobj = Py_None;
17929 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
17930 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
17931 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
17932 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
17933 return resultobj;
17934 fail:
17935 return NULL;
17936 }
17937
17938
17939 static PyObject *_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
17940 PyObject *resultobj;
17941 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17942 wxSize result;
17943 PyObject * obj0 = 0 ;
17944 char *kwnames[] = {
17945 (char *) "self", NULL
17946 };
17947
17948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
17949 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17950 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17951 {
17952 PyThreadState* __tstate = wxPyBeginAllowThreads();
17953 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetVirtualSize();
17954
17955 wxPyEndAllowThreads(__tstate);
17956 if (PyErr_Occurred()) SWIG_fail;
17957 }
17958 {
17959 wxSize * resultptr;
17960 resultptr = new wxSize((wxSize &) result);
17961 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17962 }
17963 return resultobj;
17964 fail:
17965 return NULL;
17966 }
17967
17968
17969 static PyObject *_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
17970 PyObject *resultobj;
17971 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17972 wxSize result;
17973 PyObject * obj0 = 0 ;
17974 char *kwnames[] = {
17975 (char *) "self", NULL
17976 };
17977
17978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
17979 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17980 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17981 {
17982 PyThreadState* __tstate = wxPyBeginAllowThreads();
17983 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetBestSize();
17984
17985 wxPyEndAllowThreads(__tstate);
17986 if (PyErr_Occurred()) SWIG_fail;
17987 }
17988 {
17989 wxSize * resultptr;
17990 resultptr = new wxSize((wxSize &) result);
17991 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17992 }
17993 return resultobj;
17994 fail:
17995 return NULL;
17996 }
17997
17998
17999 static PyObject *_wrap_PyScrolledWindow_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
18000 PyObject *resultobj;
18001 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18002 PyObject * obj0 = 0 ;
18003 char *kwnames[] = {
18004 (char *) "self", NULL
18005 };
18006
18007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames,&obj0)) goto fail;
18008 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18009 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18010 {
18011 PyThreadState* __tstate = wxPyBeginAllowThreads();
18012 (arg1)->base_InitDialog();
18013
18014 wxPyEndAllowThreads(__tstate);
18015 if (PyErr_Occurred()) SWIG_fail;
18016 }
18017 Py_INCREF(Py_None); resultobj = Py_None;
18018 return resultobj;
18019 fail:
18020 return NULL;
18021 }
18022
18023
18024 static PyObject *_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
18025 PyObject *resultobj;
18026 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18027 bool result;
18028 PyObject * obj0 = 0 ;
18029 char *kwnames[] = {
18030 (char *) "self", NULL
18031 };
18032
18033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
18034 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18035 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18036 {
18037 PyThreadState* __tstate = wxPyBeginAllowThreads();
18038 result = (bool)(arg1)->base_TransferDataToWindow();
18039
18040 wxPyEndAllowThreads(__tstate);
18041 if (PyErr_Occurred()) SWIG_fail;
18042 }
18043 {
18044 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18045 }
18046 return resultobj;
18047 fail:
18048 return NULL;
18049 }
18050
18051
18052 static PyObject *_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
18053 PyObject *resultobj;
18054 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18055 bool result;
18056 PyObject * obj0 = 0 ;
18057 char *kwnames[] = {
18058 (char *) "self", NULL
18059 };
18060
18061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
18062 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18063 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18064 {
18065 PyThreadState* __tstate = wxPyBeginAllowThreads();
18066 result = (bool)(arg1)->base_TransferDataFromWindow();
18067
18068 wxPyEndAllowThreads(__tstate);
18069 if (PyErr_Occurred()) SWIG_fail;
18070 }
18071 {
18072 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18073 }
18074 return resultobj;
18075 fail:
18076 return NULL;
18077 }
18078
18079
18080 static PyObject *_wrap_PyScrolledWindow_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
18081 PyObject *resultobj;
18082 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18083 bool result;
18084 PyObject * obj0 = 0 ;
18085 char *kwnames[] = {
18086 (char *) "self", NULL
18087 };
18088
18089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_Validate",kwnames,&obj0)) goto fail;
18090 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18091 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18092 {
18093 PyThreadState* __tstate = wxPyBeginAllowThreads();
18094 result = (bool)(arg1)->base_Validate();
18095
18096 wxPyEndAllowThreads(__tstate);
18097 if (PyErr_Occurred()) SWIG_fail;
18098 }
18099 {
18100 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18101 }
18102 return resultobj;
18103 fail:
18104 return NULL;
18105 }
18106
18107
18108 static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
18109 PyObject *resultobj;
18110 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18111 bool result;
18112 PyObject * obj0 = 0 ;
18113 char *kwnames[] = {
18114 (char *) "self", NULL
18115 };
18116
18117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
18118 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18119 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18120 {
18121 PyThreadState* __tstate = wxPyBeginAllowThreads();
18122 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocus();
18123
18124 wxPyEndAllowThreads(__tstate);
18125 if (PyErr_Occurred()) SWIG_fail;
18126 }
18127 {
18128 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18129 }
18130 return resultobj;
18131 fail:
18132 return NULL;
18133 }
18134
18135
18136 static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
18137 PyObject *resultobj;
18138 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18139 bool result;
18140 PyObject * obj0 = 0 ;
18141 char *kwnames[] = {
18142 (char *) "self", NULL
18143 };
18144
18145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
18146 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18147 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18148 {
18149 PyThreadState* __tstate = wxPyBeginAllowThreads();
18150 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
18151
18152 wxPyEndAllowThreads(__tstate);
18153 if (PyErr_Occurred()) SWIG_fail;
18154 }
18155 {
18156 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18157 }
18158 return resultobj;
18159 fail:
18160 return NULL;
18161 }
18162
18163
18164 static PyObject *_wrap_PyScrolledWindow_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
18165 PyObject *resultobj;
18166 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18167 wxSize result;
18168 PyObject * obj0 = 0 ;
18169 char *kwnames[] = {
18170 (char *) "self", NULL
18171 };
18172
18173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
18174 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18175 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18176 {
18177 PyThreadState* __tstate = wxPyBeginAllowThreads();
18178 result = ((wxPyScrolledWindow const *)arg1)->base_GetMaxSize();
18179
18180 wxPyEndAllowThreads(__tstate);
18181 if (PyErr_Occurred()) SWIG_fail;
18182 }
18183 {
18184 wxSize * resultptr;
18185 resultptr = new wxSize((wxSize &) result);
18186 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18187 }
18188 return resultobj;
18189 fail:
18190 return NULL;
18191 }
18192
18193
18194 static PyObject *_wrap_PyScrolledWindow_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
18195 PyObject *resultobj;
18196 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18197 wxWindow *arg2 = (wxWindow *) 0 ;
18198 PyObject * obj0 = 0 ;
18199 PyObject * obj1 = 0 ;
18200 char *kwnames[] = {
18201 (char *) "self",(char *) "child", NULL
18202 };
18203
18204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
18205 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18206 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18207 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
18208 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18209 {
18210 PyThreadState* __tstate = wxPyBeginAllowThreads();
18211 (arg1)->base_AddChild(arg2);
18212
18213 wxPyEndAllowThreads(__tstate);
18214 if (PyErr_Occurred()) SWIG_fail;
18215 }
18216 Py_INCREF(Py_None); resultobj = Py_None;
18217 return resultobj;
18218 fail:
18219 return NULL;
18220 }
18221
18222
18223 static PyObject *_wrap_PyScrolledWindow_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
18224 PyObject *resultobj;
18225 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18226 wxWindow *arg2 = (wxWindow *) 0 ;
18227 PyObject * obj0 = 0 ;
18228 PyObject * obj1 = 0 ;
18229 char *kwnames[] = {
18230 (char *) "self",(char *) "child", NULL
18231 };
18232
18233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
18234 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18235 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18236 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
18237 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18238 {
18239 PyThreadState* __tstate = wxPyBeginAllowThreads();
18240 (arg1)->base_RemoveChild(arg2);
18241
18242 wxPyEndAllowThreads(__tstate);
18243 if (PyErr_Occurred()) SWIG_fail;
18244 }
18245 Py_INCREF(Py_None); resultobj = Py_None;
18246 return resultobj;
18247 fail:
18248 return NULL;
18249 }
18250
18251
18252 static PyObject *_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
18253 PyObject *resultobj;
18254 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18255 bool result;
18256 PyObject * obj0 = 0 ;
18257 char *kwnames[] = {
18258 (char *) "self", NULL
18259 };
18260
18261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
18262 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18263 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18264 {
18265 PyThreadState* __tstate = wxPyBeginAllowThreads();
18266 result = (bool)((wxPyScrolledWindow const *)arg1)->base_ShouldInheritColours();
18267
18268 wxPyEndAllowThreads(__tstate);
18269 if (PyErr_Occurred()) SWIG_fail;
18270 }
18271 {
18272 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18273 }
18274 return resultobj;
18275 fail:
18276 return NULL;
18277 }
18278
18279
18280 static PyObject *_wrap_PyScrolledWindow_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) {
18281 PyObject *resultobj;
18282 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18283 wxColour *arg2 = 0 ;
18284 wxColour temp2 ;
18285 PyObject * obj0 = 0 ;
18286 PyObject * obj1 = 0 ;
18287 char *kwnames[] = {
18288 (char *) "self",(char *) "c", NULL
18289 };
18290
18291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
18292 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18293 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18294 {
18295 arg2 = &temp2;
18296 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18297 }
18298 {
18299 PyThreadState* __tstate = wxPyBeginAllowThreads();
18300 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
18301
18302 wxPyEndAllowThreads(__tstate);
18303 if (PyErr_Occurred()) SWIG_fail;
18304 }
18305 Py_INCREF(Py_None); resultobj = Py_None;
18306 return resultobj;
18307 fail:
18308 return NULL;
18309 }
18310
18311
18312 static PyObject *_wrap_PyScrolledWindow_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
18313 PyObject *resultobj;
18314 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18315 wxVisualAttributes result;
18316 PyObject * obj0 = 0 ;
18317 char *kwnames[] = {
18318 (char *) "self", NULL
18319 };
18320
18321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
18322 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18323 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18324 {
18325 PyThreadState* __tstate = wxPyBeginAllowThreads();
18326 result = (arg1)->base_GetDefaultAttributes();
18327
18328 wxPyEndAllowThreads(__tstate);
18329 if (PyErr_Occurred()) SWIG_fail;
18330 }
18331 {
18332 wxVisualAttributes * resultptr;
18333 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
18334 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
18335 }
18336 return resultobj;
18337 fail:
18338 return NULL;
18339 }
18340
18341
18342 static PyObject * PyScrolledWindow_swigregister(PyObject *, PyObject *args) {
18343 PyObject *obj;
18344 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18345 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow, obj);
18346 Py_INCREF(obj);
18347 return Py_BuildValue((char *)"");
18348 }
18349 static int _wrap_PrintoutTitleStr_set(PyObject *) {
18350 PyErr_SetString(PyExc_TypeError,"Variable PrintoutTitleStr is read-only.");
18351 return 1;
18352 }
18353
18354
18355 static PyObject *_wrap_PrintoutTitleStr_get() {
18356 PyObject *pyobj;
18357
18358 {
18359 #if wxUSE_UNICODE
18360 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
18361 #else
18362 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
18363 #endif
18364 }
18365 return pyobj;
18366 }
18367
18368
18369 static int _wrap_PreviewCanvasNameStr_set(PyObject *) {
18370 PyErr_SetString(PyExc_TypeError,"Variable PreviewCanvasNameStr is read-only.");
18371 return 1;
18372 }
18373
18374
18375 static PyObject *_wrap_PreviewCanvasNameStr_get() {
18376 PyObject *pyobj;
18377
18378 {
18379 #if wxUSE_UNICODE
18380 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
18381 #else
18382 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
18383 #endif
18384 }
18385 return pyobj;
18386 }
18387
18388
18389 static PyObject *_wrap_new_PrintData__SWIG_0(PyObject *, PyObject *args) {
18390 PyObject *resultobj;
18391 wxPrintData *result;
18392
18393 if(!PyArg_ParseTuple(args,(char *)":new_PrintData")) goto fail;
18394 {
18395 PyThreadState* __tstate = wxPyBeginAllowThreads();
18396 result = (wxPrintData *)new wxPrintData();
18397
18398 wxPyEndAllowThreads(__tstate);
18399 if (PyErr_Occurred()) SWIG_fail;
18400 }
18401 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
18402 return resultobj;
18403 fail:
18404 return NULL;
18405 }
18406
18407
18408 static PyObject *_wrap_new_PrintData__SWIG_1(PyObject *, PyObject *args) {
18409 PyObject *resultobj;
18410 wxPrintData *arg1 = 0 ;
18411 wxPrintData *result;
18412 PyObject * obj0 = 0 ;
18413
18414 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintData",&obj0)) goto fail;
18415 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18416 SWIG_POINTER_EXCEPTION | 0)) == -1)
18417 SWIG_fail;
18418 if (arg1 == NULL) {
18419 PyErr_SetString(PyExc_TypeError,"null reference");
18420 SWIG_fail;
18421 }
18422 {
18423 PyThreadState* __tstate = wxPyBeginAllowThreads();
18424 result = (wxPrintData *)new wxPrintData((wxPrintData const &)*arg1);
18425
18426 wxPyEndAllowThreads(__tstate);
18427 if (PyErr_Occurred()) SWIG_fail;
18428 }
18429 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
18430 return resultobj;
18431 fail:
18432 return NULL;
18433 }
18434
18435
18436 static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args) {
18437 int argc;
18438 PyObject *argv[2];
18439 int ii;
18440
18441 argc = PyObject_Length(args);
18442 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
18443 argv[ii] = PyTuple_GetItem(args,ii);
18444 }
18445 if (argc == 0) {
18446 return _wrap_new_PrintData__SWIG_0(self,args);
18447 }
18448 if (argc == 1) {
18449 int _v;
18450 {
18451 void *ptr;
18452 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
18453 _v = 0;
18454 PyErr_Clear();
18455 } else {
18456 _v = 1;
18457 }
18458 }
18459 if (_v) {
18460 return _wrap_new_PrintData__SWIG_1(self,args);
18461 }
18462 }
18463
18464 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintData'");
18465 return NULL;
18466 }
18467
18468
18469 static PyObject *_wrap_delete_PrintData(PyObject *, PyObject *args, PyObject *kwargs) {
18470 PyObject *resultobj;
18471 wxPrintData *arg1 = (wxPrintData *) 0 ;
18472 PyObject * obj0 = 0 ;
18473 char *kwnames[] = {
18474 (char *) "self", NULL
18475 };
18476
18477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail;
18478 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18479 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18480 {
18481 PyThreadState* __tstate = wxPyBeginAllowThreads();
18482 delete arg1;
18483
18484 wxPyEndAllowThreads(__tstate);
18485 if (PyErr_Occurred()) SWIG_fail;
18486 }
18487 Py_INCREF(Py_None); resultobj = Py_None;
18488 return resultobj;
18489 fail:
18490 return NULL;
18491 }
18492
18493
18494 static PyObject *_wrap_PrintData_GetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
18495 PyObject *resultobj;
18496 wxPrintData *arg1 = (wxPrintData *) 0 ;
18497 int result;
18498 PyObject * obj0 = 0 ;
18499 char *kwnames[] = {
18500 (char *) "self", NULL
18501 };
18502
18503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail;
18504 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18505 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18506 {
18507 PyThreadState* __tstate = wxPyBeginAllowThreads();
18508 result = (int)(arg1)->GetNoCopies();
18509
18510 wxPyEndAllowThreads(__tstate);
18511 if (PyErr_Occurred()) SWIG_fail;
18512 }
18513 resultobj = SWIG_From_int((int)result);
18514 return resultobj;
18515 fail:
18516 return NULL;
18517 }
18518
18519
18520 static PyObject *_wrap_PrintData_GetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
18521 PyObject *resultobj;
18522 wxPrintData *arg1 = (wxPrintData *) 0 ;
18523 bool result;
18524 PyObject * obj0 = 0 ;
18525 char *kwnames[] = {
18526 (char *) "self", NULL
18527 };
18528
18529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail;
18530 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18531 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18532 {
18533 PyThreadState* __tstate = wxPyBeginAllowThreads();
18534 result = (bool)(arg1)->GetCollate();
18535
18536 wxPyEndAllowThreads(__tstate);
18537 if (PyErr_Occurred()) SWIG_fail;
18538 }
18539 {
18540 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18541 }
18542 return resultobj;
18543 fail:
18544 return NULL;
18545 }
18546
18547
18548 static PyObject *_wrap_PrintData_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
18549 PyObject *resultobj;
18550 wxPrintData *arg1 = (wxPrintData *) 0 ;
18551 int result;
18552 PyObject * obj0 = 0 ;
18553 char *kwnames[] = {
18554 (char *) "self", NULL
18555 };
18556
18557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",kwnames,&obj0)) goto fail;
18558 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18559 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18560 {
18561 PyThreadState* __tstate = wxPyBeginAllowThreads();
18562 result = (int)(arg1)->GetOrientation();
18563
18564 wxPyEndAllowThreads(__tstate);
18565 if (PyErr_Occurred()) SWIG_fail;
18566 }
18567 resultobj = SWIG_From_int((int)result);
18568 return resultobj;
18569 fail:
18570 return NULL;
18571 }
18572
18573
18574 static PyObject *_wrap_PrintData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
18575 PyObject *resultobj;
18576 wxPrintData *arg1 = (wxPrintData *) 0 ;
18577 bool result;
18578 PyObject * obj0 = 0 ;
18579 char *kwnames[] = {
18580 (char *) "self", NULL
18581 };
18582
18583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail;
18584 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18585 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18586 {
18587 PyThreadState* __tstate = wxPyBeginAllowThreads();
18588 result = (bool)(arg1)->Ok();
18589
18590 wxPyEndAllowThreads(__tstate);
18591 if (PyErr_Occurred()) SWIG_fail;
18592 }
18593 {
18594 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18595 }
18596 return resultobj;
18597 fail:
18598 return NULL;
18599 }
18600
18601
18602 static PyObject *_wrap_PrintData_GetPrinterName(PyObject *, PyObject *args, PyObject *kwargs) {
18603 PyObject *resultobj;
18604 wxPrintData *arg1 = (wxPrintData *) 0 ;
18605 wxString *result;
18606 PyObject * obj0 = 0 ;
18607 char *kwnames[] = {
18608 (char *) "self", NULL
18609 };
18610
18611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",kwnames,&obj0)) goto fail;
18612 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18613 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18614 {
18615 PyThreadState* __tstate = wxPyBeginAllowThreads();
18616 {
18617 wxString const &_result_ref = (arg1)->GetPrinterName();
18618 result = (wxString *) &_result_ref;
18619 }
18620
18621 wxPyEndAllowThreads(__tstate);
18622 if (PyErr_Occurred()) SWIG_fail;
18623 }
18624 {
18625 #if wxUSE_UNICODE
18626 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18627 #else
18628 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18629 #endif
18630 }
18631 return resultobj;
18632 fail:
18633 return NULL;
18634 }
18635
18636
18637 static PyObject *_wrap_PrintData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
18638 PyObject *resultobj;
18639 wxPrintData *arg1 = (wxPrintData *) 0 ;
18640 bool result;
18641 PyObject * obj0 = 0 ;
18642 char *kwnames[] = {
18643 (char *) "self", NULL
18644 };
18645
18646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail;
18647 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18648 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18649 {
18650 PyThreadState* __tstate = wxPyBeginAllowThreads();
18651 result = (bool)(arg1)->GetColour();
18652
18653 wxPyEndAllowThreads(__tstate);
18654 if (PyErr_Occurred()) SWIG_fail;
18655 }
18656 {
18657 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18658 }
18659 return resultobj;
18660 fail:
18661 return NULL;
18662 }
18663
18664
18665 static PyObject *_wrap_PrintData_GetDuplex(PyObject *, PyObject *args, PyObject *kwargs) {
18666 PyObject *resultobj;
18667 wxPrintData *arg1 = (wxPrintData *) 0 ;
18668 int result;
18669 PyObject * obj0 = 0 ;
18670 char *kwnames[] = {
18671 (char *) "self", NULL
18672 };
18673
18674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail;
18675 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18676 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18677 {
18678 PyThreadState* __tstate = wxPyBeginAllowThreads();
18679 result = (int)(arg1)->GetDuplex();
18680
18681 wxPyEndAllowThreads(__tstate);
18682 if (PyErr_Occurred()) SWIG_fail;
18683 }
18684 resultobj = SWIG_From_int((int)result);
18685 return resultobj;
18686 fail:
18687 return NULL;
18688 }
18689
18690
18691 static PyObject *_wrap_PrintData_GetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
18692 PyObject *resultobj;
18693 wxPrintData *arg1 = (wxPrintData *) 0 ;
18694 int result;
18695 PyObject * obj0 = 0 ;
18696 char *kwnames[] = {
18697 (char *) "self", NULL
18698 };
18699
18700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail;
18701 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18702 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18703 {
18704 PyThreadState* __tstate = wxPyBeginAllowThreads();
18705 result = (int)(arg1)->GetPaperId();
18706
18707 wxPyEndAllowThreads(__tstate);
18708 if (PyErr_Occurred()) SWIG_fail;
18709 }
18710 resultobj = SWIG_From_int((int)result);
18711 return resultobj;
18712 fail:
18713 return NULL;
18714 }
18715
18716
18717 static PyObject *_wrap_PrintData_GetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
18718 PyObject *resultobj;
18719 wxPrintData *arg1 = (wxPrintData *) 0 ;
18720 wxSize *result;
18721 PyObject * obj0 = 0 ;
18722 char *kwnames[] = {
18723 (char *) "self", NULL
18724 };
18725
18726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail;
18727 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18728 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18729 {
18730 PyThreadState* __tstate = wxPyBeginAllowThreads();
18731 {
18732 wxSize const &_result_ref = (arg1)->GetPaperSize();
18733 result = (wxSize *) &_result_ref;
18734 }
18735
18736 wxPyEndAllowThreads(__tstate);
18737 if (PyErr_Occurred()) SWIG_fail;
18738 }
18739 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0);
18740 return resultobj;
18741 fail:
18742 return NULL;
18743 }
18744
18745
18746 static PyObject *_wrap_PrintData_GetQuality(PyObject *, PyObject *args, PyObject *kwargs) {
18747 PyObject *resultobj;
18748 wxPrintData *arg1 = (wxPrintData *) 0 ;
18749 int result;
18750 PyObject * obj0 = 0 ;
18751 char *kwnames[] = {
18752 (char *) "self", NULL
18753 };
18754
18755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail;
18756 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18757 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18758 {
18759 PyThreadState* __tstate = wxPyBeginAllowThreads();
18760 result = (int)(arg1)->GetQuality();
18761
18762 wxPyEndAllowThreads(__tstate);
18763 if (PyErr_Occurred()) SWIG_fail;
18764 }
18765 resultobj = SWIG_From_int((int)result);
18766 return resultobj;
18767 fail:
18768 return NULL;
18769 }
18770
18771
18772 static PyObject *_wrap_PrintData_GetBin(PyObject *, PyObject *args, PyObject *kwargs) {
18773 PyObject *resultobj;
18774 wxPrintData *arg1 = (wxPrintData *) 0 ;
18775 int result;
18776 PyObject * obj0 = 0 ;
18777 char *kwnames[] = {
18778 (char *) "self", NULL
18779 };
18780
18781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetBin",kwnames,&obj0)) goto fail;
18782 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18783 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18784 {
18785 PyThreadState* __tstate = wxPyBeginAllowThreads();
18786 result = (int)(arg1)->GetBin();
18787
18788 wxPyEndAllowThreads(__tstate);
18789 if (PyErr_Occurred()) SWIG_fail;
18790 }
18791 resultobj = SWIG_From_int((int)result);
18792 return resultobj;
18793 fail:
18794 return NULL;
18795 }
18796
18797
18798 static PyObject *_wrap_PrintData_GetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) {
18799 PyObject *resultobj;
18800 wxPrintData *arg1 = (wxPrintData *) 0 ;
18801 int result;
18802 PyObject * obj0 = 0 ;
18803 char *kwnames[] = {
18804 (char *) "self", NULL
18805 };
18806
18807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail;
18808 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18809 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18810 {
18811 PyThreadState* __tstate = wxPyBeginAllowThreads();
18812 result = (int)((wxPrintData const *)arg1)->GetPrintMode();
18813
18814 wxPyEndAllowThreads(__tstate);
18815 if (PyErr_Occurred()) SWIG_fail;
18816 }
18817 resultobj = SWIG_From_int((int)result);
18818 return resultobj;
18819 fail:
18820 return NULL;
18821 }
18822
18823
18824 static PyObject *_wrap_PrintData_SetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
18825 PyObject *resultobj;
18826 wxPrintData *arg1 = (wxPrintData *) 0 ;
18827 int arg2 ;
18828 PyObject * obj0 = 0 ;
18829 PyObject * obj1 = 0 ;
18830 char *kwnames[] = {
18831 (char *) "self",(char *) "v", NULL
18832 };
18833
18834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
18835 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18836 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18837 arg2 = (int)SWIG_As_int(obj1);
18838 if (PyErr_Occurred()) SWIG_fail;
18839 {
18840 PyThreadState* __tstate = wxPyBeginAllowThreads();
18841 (arg1)->SetNoCopies(arg2);
18842
18843 wxPyEndAllowThreads(__tstate);
18844 if (PyErr_Occurred()) SWIG_fail;
18845 }
18846 Py_INCREF(Py_None); resultobj = Py_None;
18847 return resultobj;
18848 fail:
18849 return NULL;
18850 }
18851
18852
18853 static PyObject *_wrap_PrintData_SetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
18854 PyObject *resultobj;
18855 wxPrintData *arg1 = (wxPrintData *) 0 ;
18856 bool arg2 ;
18857 PyObject * obj0 = 0 ;
18858 PyObject * obj1 = 0 ;
18859 char *kwnames[] = {
18860 (char *) "self",(char *) "flag", NULL
18861 };
18862
18863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
18864 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18865 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18866 arg2 = (bool)SWIG_As_bool(obj1);
18867 if (PyErr_Occurred()) SWIG_fail;
18868 {
18869 PyThreadState* __tstate = wxPyBeginAllowThreads();
18870 (arg1)->SetCollate(arg2);
18871
18872 wxPyEndAllowThreads(__tstate);
18873 if (PyErr_Occurred()) SWIG_fail;
18874 }
18875 Py_INCREF(Py_None); resultobj = Py_None;
18876 return resultobj;
18877 fail:
18878 return NULL;
18879 }
18880
18881
18882 static PyObject *_wrap_PrintData_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
18883 PyObject *resultobj;
18884 wxPrintData *arg1 = (wxPrintData *) 0 ;
18885 int arg2 ;
18886 PyObject * obj0 = 0 ;
18887 PyObject * obj1 = 0 ;
18888 char *kwnames[] = {
18889 (char *) "self",(char *) "orient", NULL
18890 };
18891
18892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
18893 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18894 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18895 arg2 = (int)SWIG_As_int(obj1);
18896 if (PyErr_Occurred()) SWIG_fail;
18897 {
18898 PyThreadState* __tstate = wxPyBeginAllowThreads();
18899 (arg1)->SetOrientation(arg2);
18900
18901 wxPyEndAllowThreads(__tstate);
18902 if (PyErr_Occurred()) SWIG_fail;
18903 }
18904 Py_INCREF(Py_None); resultobj = Py_None;
18905 return resultobj;
18906 fail:
18907 return NULL;
18908 }
18909
18910
18911 static PyObject *_wrap_PrintData_SetPrinterName(PyObject *, PyObject *args, PyObject *kwargs) {
18912 PyObject *resultobj;
18913 wxPrintData *arg1 = (wxPrintData *) 0 ;
18914 wxString *arg2 = 0 ;
18915 bool temp2 = false ;
18916 PyObject * obj0 = 0 ;
18917 PyObject * obj1 = 0 ;
18918 char *kwnames[] = {
18919 (char *) "self",(char *) "name", NULL
18920 };
18921
18922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail;
18923 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18924 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18925 {
18926 arg2 = wxString_in_helper(obj1);
18927 if (arg2 == NULL) SWIG_fail;
18928 temp2 = true;
18929 }
18930 {
18931 PyThreadState* __tstate = wxPyBeginAllowThreads();
18932 (arg1)->SetPrinterName((wxString const &)*arg2);
18933
18934 wxPyEndAllowThreads(__tstate);
18935 if (PyErr_Occurred()) SWIG_fail;
18936 }
18937 Py_INCREF(Py_None); resultobj = Py_None;
18938 {
18939 if (temp2)
18940 delete arg2;
18941 }
18942 return resultobj;
18943 fail:
18944 {
18945 if (temp2)
18946 delete arg2;
18947 }
18948 return NULL;
18949 }
18950
18951
18952 static PyObject *_wrap_PrintData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
18953 PyObject *resultobj;
18954 wxPrintData *arg1 = (wxPrintData *) 0 ;
18955 bool arg2 ;
18956 PyObject * obj0 = 0 ;
18957 PyObject * obj1 = 0 ;
18958 char *kwnames[] = {
18959 (char *) "self",(char *) "colour", NULL
18960 };
18961
18962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail;
18963 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18964 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18965 arg2 = (bool)SWIG_As_bool(obj1);
18966 if (PyErr_Occurred()) SWIG_fail;
18967 {
18968 PyThreadState* __tstate = wxPyBeginAllowThreads();
18969 (arg1)->SetColour(arg2);
18970
18971 wxPyEndAllowThreads(__tstate);
18972 if (PyErr_Occurred()) SWIG_fail;
18973 }
18974 Py_INCREF(Py_None); resultobj = Py_None;
18975 return resultobj;
18976 fail:
18977 return NULL;
18978 }
18979
18980
18981 static PyObject *_wrap_PrintData_SetDuplex(PyObject *, PyObject *args, PyObject *kwargs) {
18982 PyObject *resultobj;
18983 wxPrintData *arg1 = (wxPrintData *) 0 ;
18984 int arg2 ;
18985 PyObject * obj0 = 0 ;
18986 PyObject * obj1 = 0 ;
18987 char *kwnames[] = {
18988 (char *) "self",(char *) "duplex", NULL
18989 };
18990
18991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) goto fail;
18992 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18993 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18994 arg2 = (int)SWIG_As_int(obj1);
18995 if (PyErr_Occurred()) SWIG_fail;
18996 {
18997 PyThreadState* __tstate = wxPyBeginAllowThreads();
18998 (arg1)->SetDuplex((wxDuplexMode )arg2);
18999
19000 wxPyEndAllowThreads(__tstate);
19001 if (PyErr_Occurred()) SWIG_fail;
19002 }
19003 Py_INCREF(Py_None); resultobj = Py_None;
19004 return resultobj;
19005 fail:
19006 return NULL;
19007 }
19008
19009
19010 static PyObject *_wrap_PrintData_SetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
19011 PyObject *resultobj;
19012 wxPrintData *arg1 = (wxPrintData *) 0 ;
19013 int arg2 ;
19014 PyObject * obj0 = 0 ;
19015 PyObject * obj1 = 0 ;
19016 char *kwnames[] = {
19017 (char *) "self",(char *) "sizeId", NULL
19018 };
19019
19020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
19021 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19022 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19023 arg2 = (int)SWIG_As_int(obj1);
19024 if (PyErr_Occurred()) SWIG_fail;
19025 {
19026 PyThreadState* __tstate = wxPyBeginAllowThreads();
19027 (arg1)->SetPaperId((wxPaperSize )arg2);
19028
19029 wxPyEndAllowThreads(__tstate);
19030 if (PyErr_Occurred()) SWIG_fail;
19031 }
19032 Py_INCREF(Py_None); resultobj = Py_None;
19033 return resultobj;
19034 fail:
19035 return NULL;
19036 }
19037
19038
19039 static PyObject *_wrap_PrintData_SetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
19040 PyObject *resultobj;
19041 wxPrintData *arg1 = (wxPrintData *) 0 ;
19042 wxSize *arg2 = 0 ;
19043 wxSize temp2 ;
19044 PyObject * obj0 = 0 ;
19045 PyObject * obj1 = 0 ;
19046 char *kwnames[] = {
19047 (char *) "self",(char *) "sz", NULL
19048 };
19049
19050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
19051 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19052 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19053 {
19054 arg2 = &temp2;
19055 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
19056 }
19057 {
19058 PyThreadState* __tstate = wxPyBeginAllowThreads();
19059 (arg1)->SetPaperSize((wxSize const &)*arg2);
19060
19061 wxPyEndAllowThreads(__tstate);
19062 if (PyErr_Occurred()) SWIG_fail;
19063 }
19064 Py_INCREF(Py_None); resultobj = Py_None;
19065 return resultobj;
19066 fail:
19067 return NULL;
19068 }
19069
19070
19071 static PyObject *_wrap_PrintData_SetQuality(PyObject *, PyObject *args, PyObject *kwargs) {
19072 PyObject *resultobj;
19073 wxPrintData *arg1 = (wxPrintData *) 0 ;
19074 int arg2 ;
19075 PyObject * obj0 = 0 ;
19076 PyObject * obj1 = 0 ;
19077 char *kwnames[] = {
19078 (char *) "self",(char *) "quality", NULL
19079 };
19080
19081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) goto fail;
19082 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19083 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19084 arg2 = (int)SWIG_As_int(obj1);
19085 if (PyErr_Occurred()) SWIG_fail;
19086 {
19087 PyThreadState* __tstate = wxPyBeginAllowThreads();
19088 (arg1)->SetQuality(arg2);
19089
19090 wxPyEndAllowThreads(__tstate);
19091 if (PyErr_Occurred()) SWIG_fail;
19092 }
19093 Py_INCREF(Py_None); resultobj = Py_None;
19094 return resultobj;
19095 fail:
19096 return NULL;
19097 }
19098
19099
19100 static PyObject *_wrap_PrintData_SetBin(PyObject *, PyObject *args, PyObject *kwargs) {
19101 PyObject *resultobj;
19102 wxPrintData *arg1 = (wxPrintData *) 0 ;
19103 int arg2 ;
19104 PyObject * obj0 = 0 ;
19105 PyObject * obj1 = 0 ;
19106 char *kwnames[] = {
19107 (char *) "self",(char *) "bin", NULL
19108 };
19109
19110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetBin",kwnames,&obj0,&obj1)) goto fail;
19111 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19112 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19113 arg2 = (int)SWIG_As_int(obj1);
19114 if (PyErr_Occurred()) SWIG_fail;
19115 {
19116 PyThreadState* __tstate = wxPyBeginAllowThreads();
19117 (arg1)->SetBin((wxPrintBin )arg2);
19118
19119 wxPyEndAllowThreads(__tstate);
19120 if (PyErr_Occurred()) SWIG_fail;
19121 }
19122 Py_INCREF(Py_None); resultobj = Py_None;
19123 return resultobj;
19124 fail:
19125 return NULL;
19126 }
19127
19128
19129 static PyObject *_wrap_PrintData_SetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) {
19130 PyObject *resultobj;
19131 wxPrintData *arg1 = (wxPrintData *) 0 ;
19132 int arg2 ;
19133 PyObject * obj0 = 0 ;
19134 PyObject * obj1 = 0 ;
19135 char *kwnames[] = {
19136 (char *) "self",(char *) "printMode", NULL
19137 };
19138
19139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) goto fail;
19140 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19141 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19142 arg2 = (int)SWIG_As_int(obj1);
19143 if (PyErr_Occurred()) SWIG_fail;
19144 {
19145 PyThreadState* __tstate = wxPyBeginAllowThreads();
19146 (arg1)->SetPrintMode((wxPrintMode )arg2);
19147
19148 wxPyEndAllowThreads(__tstate);
19149 if (PyErr_Occurred()) SWIG_fail;
19150 }
19151 Py_INCREF(Py_None); resultobj = Py_None;
19152 return resultobj;
19153 fail:
19154 return NULL;
19155 }
19156
19157
19158 static PyObject *_wrap_PrintData_GetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
19159 PyObject *resultobj;
19160 wxPrintData *arg1 = (wxPrintData *) 0 ;
19161 wxString result;
19162 PyObject * obj0 = 0 ;
19163 char *kwnames[] = {
19164 (char *) "self", NULL
19165 };
19166
19167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail;
19168 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19169 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19170 {
19171 PyThreadState* __tstate = wxPyBeginAllowThreads();
19172 result = ((wxPrintData const *)arg1)->GetFilename();
19173
19174 wxPyEndAllowThreads(__tstate);
19175 if (PyErr_Occurred()) SWIG_fail;
19176 }
19177 {
19178 #if wxUSE_UNICODE
19179 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19180 #else
19181 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19182 #endif
19183 }
19184 return resultobj;
19185 fail:
19186 return NULL;
19187 }
19188
19189
19190 static PyObject *_wrap_PrintData_SetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
19191 PyObject *resultobj;
19192 wxPrintData *arg1 = (wxPrintData *) 0 ;
19193 wxString *arg2 = 0 ;
19194 bool temp2 = false ;
19195 PyObject * obj0 = 0 ;
19196 PyObject * obj1 = 0 ;
19197 char *kwnames[] = {
19198 (char *) "self",(char *) "filename", NULL
19199 };
19200
19201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail;
19202 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19203 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19204 {
19205 arg2 = wxString_in_helper(obj1);
19206 if (arg2 == NULL) SWIG_fail;
19207 temp2 = true;
19208 }
19209 {
19210 PyThreadState* __tstate = wxPyBeginAllowThreads();
19211 (arg1)->SetFilename((wxString const &)*arg2);
19212
19213 wxPyEndAllowThreads(__tstate);
19214 if (PyErr_Occurred()) SWIG_fail;
19215 }
19216 Py_INCREF(Py_None); resultobj = Py_None;
19217 {
19218 if (temp2)
19219 delete arg2;
19220 }
19221 return resultobj;
19222 fail:
19223 {
19224 if (temp2)
19225 delete arg2;
19226 }
19227 return NULL;
19228 }
19229
19230
19231 static PyObject *_wrap_PrintData_GetPrinterCommand(PyObject *, PyObject *args, PyObject *kwargs) {
19232 PyObject *resultobj;
19233 wxPrintData *arg1 = (wxPrintData *) 0 ;
19234 wxString *result;
19235 PyObject * obj0 = 0 ;
19236 char *kwnames[] = {
19237 (char *) "self", NULL
19238 };
19239
19240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterCommand",kwnames,&obj0)) goto fail;
19241 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19242 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19243 {
19244 PyThreadState* __tstate = wxPyBeginAllowThreads();
19245 {
19246 wxString const &_result_ref = (arg1)->GetPrinterCommand();
19247 result = (wxString *) &_result_ref;
19248 }
19249
19250 wxPyEndAllowThreads(__tstate);
19251 if (PyErr_Occurred()) SWIG_fail;
19252 }
19253 {
19254 #if wxUSE_UNICODE
19255 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19256 #else
19257 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19258 #endif
19259 }
19260 return resultobj;
19261 fail:
19262 return NULL;
19263 }
19264
19265
19266 static PyObject *_wrap_PrintData_GetPrinterOptions(PyObject *, PyObject *args, PyObject *kwargs) {
19267 PyObject *resultobj;
19268 wxPrintData *arg1 = (wxPrintData *) 0 ;
19269 wxString *result;
19270 PyObject * obj0 = 0 ;
19271 char *kwnames[] = {
19272 (char *) "self", NULL
19273 };
19274
19275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterOptions",kwnames,&obj0)) goto fail;
19276 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19277 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19278 {
19279 PyThreadState* __tstate = wxPyBeginAllowThreads();
19280 {
19281 wxString const &_result_ref = (arg1)->GetPrinterOptions();
19282 result = (wxString *) &_result_ref;
19283 }
19284
19285 wxPyEndAllowThreads(__tstate);
19286 if (PyErr_Occurred()) SWIG_fail;
19287 }
19288 {
19289 #if wxUSE_UNICODE
19290 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19291 #else
19292 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19293 #endif
19294 }
19295 return resultobj;
19296 fail:
19297 return NULL;
19298 }
19299
19300
19301 static PyObject *_wrap_PrintData_GetPreviewCommand(PyObject *, PyObject *args, PyObject *kwargs) {
19302 PyObject *resultobj;
19303 wxPrintData *arg1 = (wxPrintData *) 0 ;
19304 wxString *result;
19305 PyObject * obj0 = 0 ;
19306 char *kwnames[] = {
19307 (char *) "self", NULL
19308 };
19309
19310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPreviewCommand",kwnames,&obj0)) goto fail;
19311 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19312 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19313 {
19314 PyThreadState* __tstate = wxPyBeginAllowThreads();
19315 {
19316 wxString const &_result_ref = (arg1)->GetPreviewCommand();
19317 result = (wxString *) &_result_ref;
19318 }
19319
19320 wxPyEndAllowThreads(__tstate);
19321 if (PyErr_Occurred()) SWIG_fail;
19322 }
19323 {
19324 #if wxUSE_UNICODE
19325 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19326 #else
19327 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19328 #endif
19329 }
19330 return resultobj;
19331 fail:
19332 return NULL;
19333 }
19334
19335
19336 static PyObject *_wrap_PrintData_GetFontMetricPath(PyObject *, PyObject *args, PyObject *kwargs) {
19337 PyObject *resultobj;
19338 wxPrintData *arg1 = (wxPrintData *) 0 ;
19339 wxString *result;
19340 PyObject * obj0 = 0 ;
19341 char *kwnames[] = {
19342 (char *) "self", NULL
19343 };
19344
19345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFontMetricPath",kwnames,&obj0)) goto fail;
19346 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19347 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19348 {
19349 PyThreadState* __tstate = wxPyBeginAllowThreads();
19350 {
19351 wxString const &_result_ref = (arg1)->GetFontMetricPath();
19352 result = (wxString *) &_result_ref;
19353 }
19354
19355 wxPyEndAllowThreads(__tstate);
19356 if (PyErr_Occurred()) SWIG_fail;
19357 }
19358 {
19359 #if wxUSE_UNICODE
19360 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19361 #else
19362 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19363 #endif
19364 }
19365 return resultobj;
19366 fail:
19367 return NULL;
19368 }
19369
19370
19371 static PyObject *_wrap_PrintData_GetPrinterScaleX(PyObject *, PyObject *args, PyObject *kwargs) {
19372 PyObject *resultobj;
19373 wxPrintData *arg1 = (wxPrintData *) 0 ;
19374 double result;
19375 PyObject * obj0 = 0 ;
19376 char *kwnames[] = {
19377 (char *) "self", NULL
19378 };
19379
19380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleX",kwnames,&obj0)) goto fail;
19381 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19382 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19383 {
19384 PyThreadState* __tstate = wxPyBeginAllowThreads();
19385 result = (double)(arg1)->GetPrinterScaleX();
19386
19387 wxPyEndAllowThreads(__tstate);
19388 if (PyErr_Occurred()) SWIG_fail;
19389 }
19390 resultobj = SWIG_From_double((double)result);
19391 return resultobj;
19392 fail:
19393 return NULL;
19394 }
19395
19396
19397 static PyObject *_wrap_PrintData_GetPrinterScaleY(PyObject *, PyObject *args, PyObject *kwargs) {
19398 PyObject *resultobj;
19399 wxPrintData *arg1 = (wxPrintData *) 0 ;
19400 double result;
19401 PyObject * obj0 = 0 ;
19402 char *kwnames[] = {
19403 (char *) "self", NULL
19404 };
19405
19406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleY",kwnames,&obj0)) goto fail;
19407 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19408 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19409 {
19410 PyThreadState* __tstate = wxPyBeginAllowThreads();
19411 result = (double)(arg1)->GetPrinterScaleY();
19412
19413 wxPyEndAllowThreads(__tstate);
19414 if (PyErr_Occurred()) SWIG_fail;
19415 }
19416 resultobj = SWIG_From_double((double)result);
19417 return resultobj;
19418 fail:
19419 return NULL;
19420 }
19421
19422
19423 static PyObject *_wrap_PrintData_GetPrinterTranslateX(PyObject *, PyObject *args, PyObject *kwargs) {
19424 PyObject *resultobj;
19425 wxPrintData *arg1 = (wxPrintData *) 0 ;
19426 long result;
19427 PyObject * obj0 = 0 ;
19428 char *kwnames[] = {
19429 (char *) "self", NULL
19430 };
19431
19432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateX",kwnames,&obj0)) goto fail;
19433 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19434 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19435 {
19436 PyThreadState* __tstate = wxPyBeginAllowThreads();
19437 result = (long)(arg1)->GetPrinterTranslateX();
19438
19439 wxPyEndAllowThreads(__tstate);
19440 if (PyErr_Occurred()) SWIG_fail;
19441 }
19442 resultobj = SWIG_From_long((long)result);
19443 return resultobj;
19444 fail:
19445 return NULL;
19446 }
19447
19448
19449 static PyObject *_wrap_PrintData_GetPrinterTranslateY(PyObject *, PyObject *args, PyObject *kwargs) {
19450 PyObject *resultobj;
19451 wxPrintData *arg1 = (wxPrintData *) 0 ;
19452 long result;
19453 PyObject * obj0 = 0 ;
19454 char *kwnames[] = {
19455 (char *) "self", NULL
19456 };
19457
19458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateY",kwnames,&obj0)) goto fail;
19459 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19460 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19461 {
19462 PyThreadState* __tstate = wxPyBeginAllowThreads();
19463 result = (long)(arg1)->GetPrinterTranslateY();
19464
19465 wxPyEndAllowThreads(__tstate);
19466 if (PyErr_Occurred()) SWIG_fail;
19467 }
19468 resultobj = SWIG_From_long((long)result);
19469 return resultobj;
19470 fail:
19471 return NULL;
19472 }
19473
19474
19475 static PyObject *_wrap_PrintData_SetPrinterCommand(PyObject *, PyObject *args, PyObject *kwargs) {
19476 PyObject *resultobj;
19477 wxPrintData *arg1 = (wxPrintData *) 0 ;
19478 wxString *arg2 = 0 ;
19479 bool temp2 = false ;
19480 PyObject * obj0 = 0 ;
19481 PyObject * obj1 = 0 ;
19482 char *kwnames[] = {
19483 (char *) "self",(char *) "command", NULL
19484 };
19485
19486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterCommand",kwnames,&obj0,&obj1)) goto fail;
19487 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19488 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19489 {
19490 arg2 = wxString_in_helper(obj1);
19491 if (arg2 == NULL) SWIG_fail;
19492 temp2 = true;
19493 }
19494 {
19495 PyThreadState* __tstate = wxPyBeginAllowThreads();
19496 (arg1)->SetPrinterCommand((wxString const &)*arg2);
19497
19498 wxPyEndAllowThreads(__tstate);
19499 if (PyErr_Occurred()) SWIG_fail;
19500 }
19501 Py_INCREF(Py_None); resultobj = Py_None;
19502 {
19503 if (temp2)
19504 delete arg2;
19505 }
19506 return resultobj;
19507 fail:
19508 {
19509 if (temp2)
19510 delete arg2;
19511 }
19512 return NULL;
19513 }
19514
19515
19516 static PyObject *_wrap_PrintData_SetPrinterOptions(PyObject *, PyObject *args, PyObject *kwargs) {
19517 PyObject *resultobj;
19518 wxPrintData *arg1 = (wxPrintData *) 0 ;
19519 wxString *arg2 = 0 ;
19520 bool temp2 = false ;
19521 PyObject * obj0 = 0 ;
19522 PyObject * obj1 = 0 ;
19523 char *kwnames[] = {
19524 (char *) "self",(char *) "options", NULL
19525 };
19526
19527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterOptions",kwnames,&obj0,&obj1)) goto fail;
19528 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19529 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19530 {
19531 arg2 = wxString_in_helper(obj1);
19532 if (arg2 == NULL) SWIG_fail;
19533 temp2 = true;
19534 }
19535 {
19536 PyThreadState* __tstate = wxPyBeginAllowThreads();
19537 (arg1)->SetPrinterOptions((wxString const &)*arg2);
19538
19539 wxPyEndAllowThreads(__tstate);
19540 if (PyErr_Occurred()) SWIG_fail;
19541 }
19542 Py_INCREF(Py_None); resultobj = Py_None;
19543 {
19544 if (temp2)
19545 delete arg2;
19546 }
19547 return resultobj;
19548 fail:
19549 {
19550 if (temp2)
19551 delete arg2;
19552 }
19553 return NULL;
19554 }
19555
19556
19557 static PyObject *_wrap_PrintData_SetPreviewCommand(PyObject *, PyObject *args, PyObject *kwargs) {
19558 PyObject *resultobj;
19559 wxPrintData *arg1 = (wxPrintData *) 0 ;
19560 wxString *arg2 = 0 ;
19561 bool temp2 = false ;
19562 PyObject * obj0 = 0 ;
19563 PyObject * obj1 = 0 ;
19564 char *kwnames[] = {
19565 (char *) "self",(char *) "command", NULL
19566 };
19567
19568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPreviewCommand",kwnames,&obj0,&obj1)) goto fail;
19569 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19570 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19571 {
19572 arg2 = wxString_in_helper(obj1);
19573 if (arg2 == NULL) SWIG_fail;
19574 temp2 = true;
19575 }
19576 {
19577 PyThreadState* __tstate = wxPyBeginAllowThreads();
19578 (arg1)->SetPreviewCommand((wxString const &)*arg2);
19579
19580 wxPyEndAllowThreads(__tstate);
19581 if (PyErr_Occurred()) SWIG_fail;
19582 }
19583 Py_INCREF(Py_None); resultobj = Py_None;
19584 {
19585 if (temp2)
19586 delete arg2;
19587 }
19588 return resultobj;
19589 fail:
19590 {
19591 if (temp2)
19592 delete arg2;
19593 }
19594 return NULL;
19595 }
19596
19597
19598 static PyObject *_wrap_PrintData_SetFontMetricPath(PyObject *, PyObject *args, PyObject *kwargs) {
19599 PyObject *resultobj;
19600 wxPrintData *arg1 = (wxPrintData *) 0 ;
19601 wxString *arg2 = 0 ;
19602 bool temp2 = false ;
19603 PyObject * obj0 = 0 ;
19604 PyObject * obj1 = 0 ;
19605 char *kwnames[] = {
19606 (char *) "self",(char *) "path", NULL
19607 };
19608
19609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFontMetricPath",kwnames,&obj0,&obj1)) goto fail;
19610 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19611 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19612 {
19613 arg2 = wxString_in_helper(obj1);
19614 if (arg2 == NULL) SWIG_fail;
19615 temp2 = true;
19616 }
19617 {
19618 PyThreadState* __tstate = wxPyBeginAllowThreads();
19619 (arg1)->SetFontMetricPath((wxString const &)*arg2);
19620
19621 wxPyEndAllowThreads(__tstate);
19622 if (PyErr_Occurred()) SWIG_fail;
19623 }
19624 Py_INCREF(Py_None); resultobj = Py_None;
19625 {
19626 if (temp2)
19627 delete arg2;
19628 }
19629 return resultobj;
19630 fail:
19631 {
19632 if (temp2)
19633 delete arg2;
19634 }
19635 return NULL;
19636 }
19637
19638
19639 static PyObject *_wrap_PrintData_SetPrinterScaleX(PyObject *, PyObject *args, PyObject *kwargs) {
19640 PyObject *resultobj;
19641 wxPrintData *arg1 = (wxPrintData *) 0 ;
19642 double arg2 ;
19643 PyObject * obj0 = 0 ;
19644 PyObject * obj1 = 0 ;
19645 char *kwnames[] = {
19646 (char *) "self",(char *) "x", NULL
19647 };
19648
19649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleX",kwnames,&obj0,&obj1)) goto fail;
19650 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19651 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19652 arg2 = (double)SWIG_As_double(obj1);
19653 if (PyErr_Occurred()) SWIG_fail;
19654 {
19655 PyThreadState* __tstate = wxPyBeginAllowThreads();
19656 (arg1)->SetPrinterScaleX(arg2);
19657
19658 wxPyEndAllowThreads(__tstate);
19659 if (PyErr_Occurred()) SWIG_fail;
19660 }
19661 Py_INCREF(Py_None); resultobj = Py_None;
19662 return resultobj;
19663 fail:
19664 return NULL;
19665 }
19666
19667
19668 static PyObject *_wrap_PrintData_SetPrinterScaleY(PyObject *, PyObject *args, PyObject *kwargs) {
19669 PyObject *resultobj;
19670 wxPrintData *arg1 = (wxPrintData *) 0 ;
19671 double arg2 ;
19672 PyObject * obj0 = 0 ;
19673 PyObject * obj1 = 0 ;
19674 char *kwnames[] = {
19675 (char *) "self",(char *) "y", NULL
19676 };
19677
19678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleY",kwnames,&obj0,&obj1)) goto fail;
19679 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19680 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19681 arg2 = (double)SWIG_As_double(obj1);
19682 if (PyErr_Occurred()) SWIG_fail;
19683 {
19684 PyThreadState* __tstate = wxPyBeginAllowThreads();
19685 (arg1)->SetPrinterScaleY(arg2);
19686
19687 wxPyEndAllowThreads(__tstate);
19688 if (PyErr_Occurred()) SWIG_fail;
19689 }
19690 Py_INCREF(Py_None); resultobj = Py_None;
19691 return resultobj;
19692 fail:
19693 return NULL;
19694 }
19695
19696
19697 static PyObject *_wrap_PrintData_SetPrinterScaling(PyObject *, PyObject *args, PyObject *kwargs) {
19698 PyObject *resultobj;
19699 wxPrintData *arg1 = (wxPrintData *) 0 ;
19700 double arg2 ;
19701 double arg3 ;
19702 PyObject * obj0 = 0 ;
19703 PyObject * obj1 = 0 ;
19704 PyObject * obj2 = 0 ;
19705 char *kwnames[] = {
19706 (char *) "self",(char *) "x",(char *) "y", NULL
19707 };
19708
19709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterScaling",kwnames,&obj0,&obj1,&obj2)) goto fail;
19710 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19711 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19712 arg2 = (double)SWIG_As_double(obj1);
19713 if (PyErr_Occurred()) SWIG_fail;
19714 arg3 = (double)SWIG_As_double(obj2);
19715 if (PyErr_Occurred()) SWIG_fail;
19716 {
19717 PyThreadState* __tstate = wxPyBeginAllowThreads();
19718 (arg1)->SetPrinterScaling(arg2,arg3);
19719
19720 wxPyEndAllowThreads(__tstate);
19721 if (PyErr_Occurred()) SWIG_fail;
19722 }
19723 Py_INCREF(Py_None); resultobj = Py_None;
19724 return resultobj;
19725 fail:
19726 return NULL;
19727 }
19728
19729
19730 static PyObject *_wrap_PrintData_SetPrinterTranslateX(PyObject *, PyObject *args, PyObject *kwargs) {
19731 PyObject *resultobj;
19732 wxPrintData *arg1 = (wxPrintData *) 0 ;
19733 long arg2 ;
19734 PyObject * obj0 = 0 ;
19735 PyObject * obj1 = 0 ;
19736 char *kwnames[] = {
19737 (char *) "self",(char *) "x", NULL
19738 };
19739
19740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames,&obj0,&obj1)) goto fail;
19741 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19742 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19743 arg2 = (long)SWIG_As_long(obj1);
19744 if (PyErr_Occurred()) SWIG_fail;
19745 {
19746 PyThreadState* __tstate = wxPyBeginAllowThreads();
19747 (arg1)->SetPrinterTranslateX(arg2);
19748
19749 wxPyEndAllowThreads(__tstate);
19750 if (PyErr_Occurred()) SWIG_fail;
19751 }
19752 Py_INCREF(Py_None); resultobj = Py_None;
19753 return resultobj;
19754 fail:
19755 return NULL;
19756 }
19757
19758
19759 static PyObject *_wrap_PrintData_SetPrinterTranslateY(PyObject *, PyObject *args, PyObject *kwargs) {
19760 PyObject *resultobj;
19761 wxPrintData *arg1 = (wxPrintData *) 0 ;
19762 long arg2 ;
19763 PyObject * obj0 = 0 ;
19764 PyObject * obj1 = 0 ;
19765 char *kwnames[] = {
19766 (char *) "self",(char *) "y", NULL
19767 };
19768
19769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames,&obj0,&obj1)) goto fail;
19770 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19771 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19772 arg2 = (long)SWIG_As_long(obj1);
19773 if (PyErr_Occurred()) SWIG_fail;
19774 {
19775 PyThreadState* __tstate = wxPyBeginAllowThreads();
19776 (arg1)->SetPrinterTranslateY(arg2);
19777
19778 wxPyEndAllowThreads(__tstate);
19779 if (PyErr_Occurred()) SWIG_fail;
19780 }
19781 Py_INCREF(Py_None); resultobj = Py_None;
19782 return resultobj;
19783 fail:
19784 return NULL;
19785 }
19786
19787
19788 static PyObject *_wrap_PrintData_SetPrinterTranslation(PyObject *, PyObject *args, PyObject *kwargs) {
19789 PyObject *resultobj;
19790 wxPrintData *arg1 = (wxPrintData *) 0 ;
19791 long arg2 ;
19792 long arg3 ;
19793 PyObject * obj0 = 0 ;
19794 PyObject * obj1 = 0 ;
19795 PyObject * obj2 = 0 ;
19796 char *kwnames[] = {
19797 (char *) "self",(char *) "x",(char *) "y", NULL
19798 };
19799
19800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames,&obj0,&obj1,&obj2)) goto fail;
19801 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19802 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19803 arg2 = (long)SWIG_As_long(obj1);
19804 if (PyErr_Occurred()) SWIG_fail;
19805 arg3 = (long)SWIG_As_long(obj2);
19806 if (PyErr_Occurred()) SWIG_fail;
19807 {
19808 PyThreadState* __tstate = wxPyBeginAllowThreads();
19809 (arg1)->SetPrinterTranslation(arg2,arg3);
19810
19811 wxPyEndAllowThreads(__tstate);
19812 if (PyErr_Occurred()) SWIG_fail;
19813 }
19814 Py_INCREF(Py_None); resultobj = Py_None;
19815 return resultobj;
19816 fail:
19817 return NULL;
19818 }
19819
19820
19821 static PyObject * PrintData_swigregister(PyObject *, PyObject *args) {
19822 PyObject *obj;
19823 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19824 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj);
19825 Py_INCREF(obj);
19826 return Py_BuildValue((char *)"");
19827 }
19828 static PyObject *_wrap_new_PageSetupDialogData__SWIG_0(PyObject *, PyObject *args) {
19829 PyObject *resultobj;
19830 wxPageSetupDialogData *result;
19831
19832 if(!PyArg_ParseTuple(args,(char *)":new_PageSetupDialogData")) goto fail;
19833 {
19834 PyThreadState* __tstate = wxPyBeginAllowThreads();
19835 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
19836
19837 wxPyEndAllowThreads(__tstate);
19838 if (PyErr_Occurred()) SWIG_fail;
19839 }
19840 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
19841 return resultobj;
19842 fail:
19843 return NULL;
19844 }
19845
19846
19847 static PyObject *_wrap_new_PageSetupDialogData__SWIG_1(PyObject *, PyObject *args) {
19848 PyObject *resultobj;
19849 wxPageSetupDialogData *arg1 = 0 ;
19850 wxPageSetupDialogData *result;
19851 PyObject * obj0 = 0 ;
19852
19853 if(!PyArg_ParseTuple(args,(char *)"O:new_PageSetupDialogData",&obj0)) goto fail;
19854 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19855 SWIG_POINTER_EXCEPTION | 0)) == -1)
19856 SWIG_fail;
19857 if (arg1 == NULL) {
19858 PyErr_SetString(PyExc_TypeError,"null reference");
19859 SWIG_fail;
19860 }
19861 {
19862 PyThreadState* __tstate = wxPyBeginAllowThreads();
19863 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPageSetupDialogData const &)*arg1);
19864
19865 wxPyEndAllowThreads(__tstate);
19866 if (PyErr_Occurred()) SWIG_fail;
19867 }
19868 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
19869 return resultobj;
19870 fail:
19871 return NULL;
19872 }
19873
19874
19875 static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args) {
19876 int argc;
19877 PyObject *argv[2];
19878 int ii;
19879
19880 argc = PyObject_Length(args);
19881 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
19882 argv[ii] = PyTuple_GetItem(args,ii);
19883 }
19884 if (argc == 0) {
19885 return _wrap_new_PageSetupDialogData__SWIG_0(self,args);
19886 }
19887 if (argc == 1) {
19888 int _v;
19889 {
19890 void *ptr;
19891 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPageSetupDialogData, 0) == -1) {
19892 _v = 0;
19893 PyErr_Clear();
19894 } else {
19895 _v = 1;
19896 }
19897 }
19898 if (_v) {
19899 return _wrap_new_PageSetupDialogData__SWIG_1(self,args);
19900 }
19901 }
19902
19903 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PageSetupDialogData'");
19904 return NULL;
19905 }
19906
19907
19908 static PyObject *_wrap_delete_PageSetupDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
19909 PyObject *resultobj;
19910 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19911 PyObject * obj0 = 0 ;
19912 char *kwnames[] = {
19913 (char *) "self", NULL
19914 };
19915
19916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail;
19917 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19918 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19919 {
19920 PyThreadState* __tstate = wxPyBeginAllowThreads();
19921 delete arg1;
19922
19923 wxPyEndAllowThreads(__tstate);
19924 if (PyErr_Occurred()) SWIG_fail;
19925 }
19926 Py_INCREF(Py_None); resultobj = Py_None;
19927 return resultobj;
19928 fail:
19929 return NULL;
19930 }
19931
19932
19933 static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
19934 PyObject *resultobj;
19935 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19936 bool arg2 ;
19937 PyObject * obj0 = 0 ;
19938 PyObject * obj1 = 0 ;
19939 char *kwnames[] = {
19940 (char *) "self",(char *) "flag", NULL
19941 };
19942
19943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
19944 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19946 arg2 = (bool)SWIG_As_bool(obj1);
19947 if (PyErr_Occurred()) SWIG_fail;
19948 {
19949 PyThreadState* __tstate = wxPyBeginAllowThreads();
19950 (arg1)->EnableHelp(arg2);
19951
19952 wxPyEndAllowThreads(__tstate);
19953 if (PyErr_Occurred()) SWIG_fail;
19954 }
19955 Py_INCREF(Py_None); resultobj = Py_None;
19956 return resultobj;
19957 fail:
19958 return NULL;
19959 }
19960
19961
19962 static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *, PyObject *args, PyObject *kwargs) {
19963 PyObject *resultobj;
19964 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19965 bool arg2 ;
19966 PyObject * obj0 = 0 ;
19967 PyObject * obj1 = 0 ;
19968 char *kwnames[] = {
19969 (char *) "self",(char *) "flag", NULL
19970 };
19971
19972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail;
19973 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19974 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19975 arg2 = (bool)SWIG_As_bool(obj1);
19976 if (PyErr_Occurred()) SWIG_fail;
19977 {
19978 PyThreadState* __tstate = wxPyBeginAllowThreads();
19979 (arg1)->EnableMargins(arg2);
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_PageSetupDialogData_EnableOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
19992 PyObject *resultobj;
19993 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19994 bool arg2 ;
19995 PyObject * obj0 = 0 ;
19996 PyObject * obj1 = 0 ;
19997 char *kwnames[] = {
19998 (char *) "self",(char *) "flag", NULL
19999 };
20000
20001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail;
20002 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20003 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20004 arg2 = (bool)SWIG_As_bool(obj1);
20005 if (PyErr_Occurred()) SWIG_fail;
20006 {
20007 PyThreadState* __tstate = wxPyBeginAllowThreads();
20008 (arg1)->EnableOrientation(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_PageSetupDialogData_EnablePaper(PyObject *, PyObject *args, PyObject *kwargs) {
20021 PyObject *resultobj;
20022 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20023 bool arg2 ;
20024 PyObject * obj0 = 0 ;
20025 PyObject * obj1 = 0 ;
20026 char *kwnames[] = {
20027 (char *) "self",(char *) "flag", NULL
20028 };
20029
20030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail;
20031 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20032 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20033 arg2 = (bool)SWIG_As_bool(obj1);
20034 if (PyErr_Occurred()) SWIG_fail;
20035 {
20036 PyThreadState* __tstate = wxPyBeginAllowThreads();
20037 (arg1)->EnablePaper(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_PageSetupDialogData_EnablePrinter(PyObject *, PyObject *args, PyObject *kwargs) {
20050 PyObject *resultobj;
20051 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20052 bool arg2 ;
20053 PyObject * obj0 = 0 ;
20054 PyObject * obj1 = 0 ;
20055 char *kwnames[] = {
20056 (char *) "self",(char *) "flag", NULL
20057 };
20058
20059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail;
20060 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20061 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20062 arg2 = (bool)SWIG_As_bool(obj1);
20063 if (PyErr_Occurred()) SWIG_fail;
20064 {
20065 PyThreadState* __tstate = wxPyBeginAllowThreads();
20066 (arg1)->EnablePrinter(arg2);
20067
20068 wxPyEndAllowThreads(__tstate);
20069 if (PyErr_Occurred()) SWIG_fail;
20070 }
20071 Py_INCREF(Py_None); resultobj = Py_None;
20072 return resultobj;
20073 fail:
20074 return NULL;
20075 }
20076
20077
20078 static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *, PyObject *args, PyObject *kwargs) {
20079 PyObject *resultobj;
20080 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20081 bool result;
20082 PyObject * obj0 = 0 ;
20083 char *kwnames[] = {
20084 (char *) "self", NULL
20085 };
20086
20087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames,&obj0)) goto fail;
20088 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20089 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20090 {
20091 PyThreadState* __tstate = wxPyBeginAllowThreads();
20092 result = (bool)(arg1)->GetDefaultMinMargins();
20093
20094 wxPyEndAllowThreads(__tstate);
20095 if (PyErr_Occurred()) SWIG_fail;
20096 }
20097 {
20098 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20099 }
20100 return resultobj;
20101 fail:
20102 return NULL;
20103 }
20104
20105
20106 static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *, PyObject *args, PyObject *kwargs) {
20107 PyObject *resultobj;
20108 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20109 bool result;
20110 PyObject * obj0 = 0 ;
20111 char *kwnames[] = {
20112 (char *) "self", NULL
20113 };
20114
20115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail;
20116 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20117 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20118 {
20119 PyThreadState* __tstate = wxPyBeginAllowThreads();
20120 result = (bool)(arg1)->GetEnableMargins();
20121
20122 wxPyEndAllowThreads(__tstate);
20123 if (PyErr_Occurred()) SWIG_fail;
20124 }
20125 {
20126 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20127 }
20128 return resultobj;
20129 fail:
20130 return NULL;
20131 }
20132
20133
20134 static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
20135 PyObject *resultobj;
20136 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20137 bool result;
20138 PyObject * obj0 = 0 ;
20139 char *kwnames[] = {
20140 (char *) "self", NULL
20141 };
20142
20143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail;
20144 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20145 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20146 {
20147 PyThreadState* __tstate = wxPyBeginAllowThreads();
20148 result = (bool)(arg1)->GetEnableOrientation();
20149
20150 wxPyEndAllowThreads(__tstate);
20151 if (PyErr_Occurred()) SWIG_fail;
20152 }
20153 {
20154 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20155 }
20156 return resultobj;
20157 fail:
20158 return NULL;
20159 }
20160
20161
20162 static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *, PyObject *args, PyObject *kwargs) {
20163 PyObject *resultobj;
20164 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20165 bool result;
20166 PyObject * obj0 = 0 ;
20167 char *kwnames[] = {
20168 (char *) "self", NULL
20169 };
20170
20171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail;
20172 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20173 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20174 {
20175 PyThreadState* __tstate = wxPyBeginAllowThreads();
20176 result = (bool)(arg1)->GetEnablePaper();
20177
20178 wxPyEndAllowThreads(__tstate);
20179 if (PyErr_Occurred()) SWIG_fail;
20180 }
20181 {
20182 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20183 }
20184 return resultobj;
20185 fail:
20186 return NULL;
20187 }
20188
20189
20190 static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *, PyObject *args, PyObject *kwargs) {
20191 PyObject *resultobj;
20192 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20193 bool result;
20194 PyObject * obj0 = 0 ;
20195 char *kwnames[] = {
20196 (char *) "self", NULL
20197 };
20198
20199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail;
20200 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20201 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20202 {
20203 PyThreadState* __tstate = wxPyBeginAllowThreads();
20204 result = (bool)(arg1)->GetEnablePrinter();
20205
20206 wxPyEndAllowThreads(__tstate);
20207 if (PyErr_Occurred()) SWIG_fail;
20208 }
20209 {
20210 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20211 }
20212 return resultobj;
20213 fail:
20214 return NULL;
20215 }
20216
20217
20218 static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
20219 PyObject *resultobj;
20220 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20221 bool result;
20222 PyObject * obj0 = 0 ;
20223 char *kwnames[] = {
20224 (char *) "self", NULL
20225 };
20226
20227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
20228 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20229 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20230 {
20231 PyThreadState* __tstate = wxPyBeginAllowThreads();
20232 result = (bool)(arg1)->GetEnableHelp();
20233
20234 wxPyEndAllowThreads(__tstate);
20235 if (PyErr_Occurred()) SWIG_fail;
20236 }
20237 {
20238 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20239 }
20240 return resultobj;
20241 fail:
20242 return NULL;
20243 }
20244
20245
20246 static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *, PyObject *args, PyObject *kwargs) {
20247 PyObject *resultobj;
20248 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20249 bool result;
20250 PyObject * obj0 = 0 ;
20251 char *kwnames[] = {
20252 (char *) "self", NULL
20253 };
20254
20255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames,&obj0)) goto fail;
20256 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20257 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20258 {
20259 PyThreadState* __tstate = wxPyBeginAllowThreads();
20260 result = (bool)(arg1)->GetDefaultInfo();
20261
20262 wxPyEndAllowThreads(__tstate);
20263 if (PyErr_Occurred()) SWIG_fail;
20264 }
20265 {
20266 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20267 }
20268 return resultobj;
20269 fail:
20270 return NULL;
20271 }
20272
20273
20274 static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
20275 PyObject *resultobj;
20276 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20277 wxPoint result;
20278 PyObject * obj0 = 0 ;
20279 char *kwnames[] = {
20280 (char *) "self", NULL
20281 };
20282
20283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail;
20284 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20285 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20286 {
20287 PyThreadState* __tstate = wxPyBeginAllowThreads();
20288 result = (arg1)->GetMarginTopLeft();
20289
20290 wxPyEndAllowThreads(__tstate);
20291 if (PyErr_Occurred()) SWIG_fail;
20292 }
20293 {
20294 wxPoint * resultptr;
20295 resultptr = new wxPoint((wxPoint &) result);
20296 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
20297 }
20298 return resultobj;
20299 fail:
20300 return NULL;
20301 }
20302
20303
20304 static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
20305 PyObject *resultobj;
20306 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20307 wxPoint result;
20308 PyObject * obj0 = 0 ;
20309 char *kwnames[] = {
20310 (char *) "self", NULL
20311 };
20312
20313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail;
20314 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20315 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20316 {
20317 PyThreadState* __tstate = wxPyBeginAllowThreads();
20318 result = (arg1)->GetMarginBottomRight();
20319
20320 wxPyEndAllowThreads(__tstate);
20321 if (PyErr_Occurred()) SWIG_fail;
20322 }
20323 {
20324 wxPoint * resultptr;
20325 resultptr = new wxPoint((wxPoint &) result);
20326 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
20327 }
20328 return resultobj;
20329 fail:
20330 return NULL;
20331 }
20332
20333
20334 static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
20335 PyObject *resultobj;
20336 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20337 wxPoint result;
20338 PyObject * obj0 = 0 ;
20339 char *kwnames[] = {
20340 (char *) "self", NULL
20341 };
20342
20343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail;
20344 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20345 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20346 {
20347 PyThreadState* __tstate = wxPyBeginAllowThreads();
20348 result = (arg1)->GetMinMarginTopLeft();
20349
20350 wxPyEndAllowThreads(__tstate);
20351 if (PyErr_Occurred()) SWIG_fail;
20352 }
20353 {
20354 wxPoint * resultptr;
20355 resultptr = new wxPoint((wxPoint &) result);
20356 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
20357 }
20358 return resultobj;
20359 fail:
20360 return NULL;
20361 }
20362
20363
20364 static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
20365 PyObject *resultobj;
20366 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20367 wxPoint result;
20368 PyObject * obj0 = 0 ;
20369 char *kwnames[] = {
20370 (char *) "self", NULL
20371 };
20372
20373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail;
20374 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20375 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20376 {
20377 PyThreadState* __tstate = wxPyBeginAllowThreads();
20378 result = (arg1)->GetMinMarginBottomRight();
20379
20380 wxPyEndAllowThreads(__tstate);
20381 if (PyErr_Occurred()) SWIG_fail;
20382 }
20383 {
20384 wxPoint * resultptr;
20385 resultptr = new wxPoint((wxPoint &) result);
20386 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
20387 }
20388 return resultobj;
20389 fail:
20390 return NULL;
20391 }
20392
20393
20394 static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
20395 PyObject *resultobj;
20396 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20397 int result;
20398 PyObject * obj0 = 0 ;
20399 char *kwnames[] = {
20400 (char *) "self", NULL
20401 };
20402
20403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",kwnames,&obj0)) goto fail;
20404 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20405 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20406 {
20407 PyThreadState* __tstate = wxPyBeginAllowThreads();
20408 result = (int)(arg1)->GetPaperId();
20409
20410 wxPyEndAllowThreads(__tstate);
20411 if (PyErr_Occurred()) SWIG_fail;
20412 }
20413 resultobj = SWIG_From_int((int)result);
20414 return resultobj;
20415 fail:
20416 return NULL;
20417 }
20418
20419
20420 static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
20421 PyObject *resultobj;
20422 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20423 wxSize result;
20424 PyObject * obj0 = 0 ;
20425 char *kwnames[] = {
20426 (char *) "self", NULL
20427 };
20428
20429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail;
20430 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20431 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20432 {
20433 PyThreadState* __tstate = wxPyBeginAllowThreads();
20434 result = (arg1)->GetPaperSize();
20435
20436 wxPyEndAllowThreads(__tstate);
20437 if (PyErr_Occurred()) SWIG_fail;
20438 }
20439 {
20440 wxSize * resultptr;
20441 resultptr = new wxSize((wxSize &) result);
20442 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20443 }
20444 return resultobj;
20445 fail:
20446 return NULL;
20447 }
20448
20449
20450 static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
20451 PyObject *resultobj;
20452 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20453 wxPrintData *result;
20454 PyObject * obj0 = 0 ;
20455 char *kwnames[] = {
20456 (char *) "self", NULL
20457 };
20458
20459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail;
20460 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20461 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20462 {
20463 PyThreadState* __tstate = wxPyBeginAllowThreads();
20464 {
20465 wxPrintData &_result_ref = (arg1)->GetPrintData();
20466 result = (wxPrintData *) &_result_ref;
20467 }
20468
20469 wxPyEndAllowThreads(__tstate);
20470 if (PyErr_Occurred()) SWIG_fail;
20471 }
20472 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
20473 return resultobj;
20474 fail:
20475 return NULL;
20476 }
20477
20478
20479 static PyObject *_wrap_PageSetupDialogData_Ok(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_Ok",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)->Ok();
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_SetDefaultInfo(PyObject *, PyObject *args, PyObject *kwargs) {
20508 PyObject *resultobj;
20509 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20510 bool arg2 ;
20511 PyObject * obj0 = 0 ;
20512 PyObject * obj1 = 0 ;
20513 char *kwnames[] = {
20514 (char *) "self",(char *) "flag", NULL
20515 };
20516
20517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail;
20518 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20519 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20520 arg2 = (bool)SWIG_As_bool(obj1);
20521 if (PyErr_Occurred()) SWIG_fail;
20522 {
20523 PyThreadState* __tstate = wxPyBeginAllowThreads();
20524 (arg1)->SetDefaultInfo(arg2);
20525
20526 wxPyEndAllowThreads(__tstate);
20527 if (PyErr_Occurred()) SWIG_fail;
20528 }
20529 Py_INCREF(Py_None); resultobj = Py_None;
20530 return resultobj;
20531 fail:
20532 return NULL;
20533 }
20534
20535
20536 static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *, PyObject *args, PyObject *kwargs) {
20537 PyObject *resultobj;
20538 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20539 bool arg2 ;
20540 PyObject * obj0 = 0 ;
20541 PyObject * obj1 = 0 ;
20542 char *kwnames[] = {
20543 (char *) "self",(char *) "flag", NULL
20544 };
20545
20546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail;
20547 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20548 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20549 arg2 = (bool)SWIG_As_bool(obj1);
20550 if (PyErr_Occurred()) SWIG_fail;
20551 {
20552 PyThreadState* __tstate = wxPyBeginAllowThreads();
20553 (arg1)->SetDefaultMinMargins(arg2);
20554
20555 wxPyEndAllowThreads(__tstate);
20556 if (PyErr_Occurred()) SWIG_fail;
20557 }
20558 Py_INCREF(Py_None); resultobj = Py_None;
20559 return resultobj;
20560 fail:
20561 return NULL;
20562 }
20563
20564
20565 static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
20566 PyObject *resultobj;
20567 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20568 wxPoint *arg2 = 0 ;
20569 wxPoint temp2 ;
20570 PyObject * obj0 = 0 ;
20571 PyObject * obj1 = 0 ;
20572 char *kwnames[] = {
20573 (char *) "self",(char *) "pt", NULL
20574 };
20575
20576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
20577 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20578 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20579 {
20580 arg2 = &temp2;
20581 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20582 }
20583 {
20584 PyThreadState* __tstate = wxPyBeginAllowThreads();
20585 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
20586
20587 wxPyEndAllowThreads(__tstate);
20588 if (PyErr_Occurred()) SWIG_fail;
20589 }
20590 Py_INCREF(Py_None); resultobj = Py_None;
20591 return resultobj;
20592 fail:
20593 return NULL;
20594 }
20595
20596
20597 static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
20598 PyObject *resultobj;
20599 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20600 wxPoint *arg2 = 0 ;
20601 wxPoint temp2 ;
20602 PyObject * obj0 = 0 ;
20603 PyObject * obj1 = 0 ;
20604 char *kwnames[] = {
20605 (char *) "self",(char *) "pt", NULL
20606 };
20607
20608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
20609 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20610 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20611 {
20612 arg2 = &temp2;
20613 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20614 }
20615 {
20616 PyThreadState* __tstate = wxPyBeginAllowThreads();
20617 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
20618
20619 wxPyEndAllowThreads(__tstate);
20620 if (PyErr_Occurred()) SWIG_fail;
20621 }
20622 Py_INCREF(Py_None); resultobj = Py_None;
20623 return resultobj;
20624 fail:
20625 return NULL;
20626 }
20627
20628
20629 static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
20630 PyObject *resultobj;
20631 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20632 wxPoint *arg2 = 0 ;
20633 wxPoint temp2 ;
20634 PyObject * obj0 = 0 ;
20635 PyObject * obj1 = 0 ;
20636 char *kwnames[] = {
20637 (char *) "self",(char *) "pt", NULL
20638 };
20639
20640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
20641 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20642 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20643 {
20644 arg2 = &temp2;
20645 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20646 }
20647 {
20648 PyThreadState* __tstate = wxPyBeginAllowThreads();
20649 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
20650
20651 wxPyEndAllowThreads(__tstate);
20652 if (PyErr_Occurred()) SWIG_fail;
20653 }
20654 Py_INCREF(Py_None); resultobj = Py_None;
20655 return resultobj;
20656 fail:
20657 return NULL;
20658 }
20659
20660
20661 static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
20662 PyObject *resultobj;
20663 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20664 wxPoint *arg2 = 0 ;
20665 wxPoint temp2 ;
20666 PyObject * obj0 = 0 ;
20667 PyObject * obj1 = 0 ;
20668 char *kwnames[] = {
20669 (char *) "self",(char *) "pt", NULL
20670 };
20671
20672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
20673 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20674 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20675 {
20676 arg2 = &temp2;
20677 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20678 }
20679 {
20680 PyThreadState* __tstate = wxPyBeginAllowThreads();
20681 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
20682
20683 wxPyEndAllowThreads(__tstate);
20684 if (PyErr_Occurred()) SWIG_fail;
20685 }
20686 Py_INCREF(Py_None); resultobj = Py_None;
20687 return resultobj;
20688 fail:
20689 return NULL;
20690 }
20691
20692
20693 static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
20694 PyObject *resultobj;
20695 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20696 int arg2 ;
20697 PyObject * obj0 = 0 ;
20698 PyObject * obj1 = 0 ;
20699 char *kwnames[] = {
20700 (char *) "self",(char *) "id", NULL
20701 };
20702
20703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
20704 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20705 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20706 arg2 = (int)SWIG_As_int(obj1);
20707 if (PyErr_Occurred()) SWIG_fail;
20708 {
20709 PyThreadState* __tstate = wxPyBeginAllowThreads();
20710 (arg1)->SetPaperId((wxPaperSize )arg2);
20711
20712 wxPyEndAllowThreads(__tstate);
20713 if (PyErr_Occurred()) SWIG_fail;
20714 }
20715 Py_INCREF(Py_None); resultobj = Py_None;
20716 return resultobj;
20717 fail:
20718 return NULL;
20719 }
20720
20721
20722 static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
20723 PyObject *resultobj;
20724 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20725 wxSize *arg2 = 0 ;
20726 wxSize temp2 ;
20727 PyObject * obj0 = 0 ;
20728 PyObject * obj1 = 0 ;
20729 char *kwnames[] = {
20730 (char *) "self",(char *) "size", NULL
20731 };
20732
20733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
20734 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20736 {
20737 arg2 = &temp2;
20738 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
20739 }
20740 {
20741 PyThreadState* __tstate = wxPyBeginAllowThreads();
20742 (arg1)->SetPaperSize((wxSize const &)*arg2);
20743
20744 wxPyEndAllowThreads(__tstate);
20745 if (PyErr_Occurred()) SWIG_fail;
20746 }
20747 Py_INCREF(Py_None); resultobj = Py_None;
20748 return resultobj;
20749 fail:
20750 return NULL;
20751 }
20752
20753
20754 static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
20755 PyObject *resultobj;
20756 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20757 wxPrintData *arg2 = 0 ;
20758 PyObject * obj0 = 0 ;
20759 PyObject * obj1 = 0 ;
20760 char *kwnames[] = {
20761 (char *) "self",(char *) "printData", NULL
20762 };
20763
20764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
20765 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20766 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20767 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData,
20768 SWIG_POINTER_EXCEPTION | 0)) == -1)
20769 SWIG_fail;
20770 if (arg2 == NULL) {
20771 PyErr_SetString(PyExc_TypeError,"null reference");
20772 SWIG_fail;
20773 }
20774 {
20775 PyThreadState* __tstate = wxPyBeginAllowThreads();
20776 (arg1)->SetPrintData((wxPrintData const &)*arg2);
20777
20778 wxPyEndAllowThreads(__tstate);
20779 if (PyErr_Occurred()) SWIG_fail;
20780 }
20781 Py_INCREF(Py_None); resultobj = Py_None;
20782 return resultobj;
20783 fail:
20784 return NULL;
20785 }
20786
20787
20788 static PyObject * PageSetupDialogData_swigregister(PyObject *, PyObject *args) {
20789 PyObject *obj;
20790 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20791 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj);
20792 Py_INCREF(obj);
20793 return Py_BuildValue((char *)"");
20794 }
20795 static PyObject *_wrap_new_PageSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
20796 PyObject *resultobj;
20797 wxWindow *arg1 = (wxWindow *) 0 ;
20798 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
20799 wxPageSetupDialog *result;
20800 PyObject * obj0 = 0 ;
20801 PyObject * obj1 = 0 ;
20802 char *kwnames[] = {
20803 (char *) "parent",(char *) "data", NULL
20804 };
20805
20806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail;
20807 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
20808 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20809 if (obj1) {
20810 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPageSetupDialogData,
20811 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20812 }
20813 {
20814 if (!wxPyCheckForApp()) SWIG_fail;
20815 PyThreadState* __tstate = wxPyBeginAllowThreads();
20816 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
20817
20818 wxPyEndAllowThreads(__tstate);
20819 if (PyErr_Occurred()) SWIG_fail;
20820 }
20821 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialog, 1);
20822 return resultobj;
20823 fail:
20824 return NULL;
20825 }
20826
20827
20828 static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *, PyObject *args, PyObject *kwargs) {
20829 PyObject *resultobj;
20830 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
20831 wxPageSetupDialogData *result;
20832 PyObject * obj0 = 0 ;
20833 char *kwnames[] = {
20834 (char *) "self", NULL
20835 };
20836
20837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail;
20838 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog,
20839 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20840 {
20841 PyThreadState* __tstate = wxPyBeginAllowThreads();
20842 {
20843 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
20844 result = (wxPageSetupDialogData *) &_result_ref;
20845 }
20846
20847 wxPyEndAllowThreads(__tstate);
20848 if (PyErr_Occurred()) SWIG_fail;
20849 }
20850 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
20851 return resultobj;
20852 fail:
20853 return NULL;
20854 }
20855
20856
20857 static PyObject *_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
20858 PyObject *resultobj;
20859 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
20860 wxPageSetupDialogData *result;
20861 PyObject * obj0 = 0 ;
20862 char *kwnames[] = {
20863 (char *) "self", NULL
20864 };
20865
20866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupDialogData",kwnames,&obj0)) goto fail;
20867 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog,
20868 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20869 {
20870 PyThreadState* __tstate = wxPyBeginAllowThreads();
20871 {
20872 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupDialogData();
20873 result = (wxPageSetupDialogData *) &_result_ref;
20874 }
20875
20876 wxPyEndAllowThreads(__tstate);
20877 if (PyErr_Occurred()) SWIG_fail;
20878 }
20879 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
20880 return resultobj;
20881 fail:
20882 return NULL;
20883 }
20884
20885
20886 static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
20887 PyObject *resultobj;
20888 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
20889 int result;
20890 PyObject * obj0 = 0 ;
20891 char *kwnames[] = {
20892 (char *) "self", NULL
20893 };
20894
20895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail;
20896 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog,
20897 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20898 {
20899 PyThreadState* __tstate = wxPyBeginAllowThreads();
20900 result = (int)(arg1)->ShowModal();
20901
20902 wxPyEndAllowThreads(__tstate);
20903 if (PyErr_Occurred()) SWIG_fail;
20904 }
20905 resultobj = SWIG_From_int((int)result);
20906 return resultobj;
20907 fail:
20908 return NULL;
20909 }
20910
20911
20912 static PyObject * PageSetupDialog_swigregister(PyObject *, PyObject *args) {
20913 PyObject *obj;
20914 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20915 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj);
20916 Py_INCREF(obj);
20917 return Py_BuildValue((char *)"");
20918 }
20919 static PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *, PyObject *args) {
20920 PyObject *resultobj;
20921 wxPrintDialogData *result;
20922
20923 if(!PyArg_ParseTuple(args,(char *)":new_PrintDialogData")) goto fail;
20924 {
20925 PyThreadState* __tstate = wxPyBeginAllowThreads();
20926 result = (wxPrintDialogData *)new wxPrintDialogData();
20927
20928 wxPyEndAllowThreads(__tstate);
20929 if (PyErr_Occurred()) SWIG_fail;
20930 }
20931 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
20932 return resultobj;
20933 fail:
20934 return NULL;
20935 }
20936
20937
20938 static PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *, PyObject *args) {
20939 PyObject *resultobj;
20940 wxPrintData *arg1 = 0 ;
20941 wxPrintDialogData *result;
20942 PyObject * obj0 = 0 ;
20943
20944 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintDialogData",&obj0)) goto fail;
20945 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
20946 SWIG_POINTER_EXCEPTION | 0)) == -1)
20947 SWIG_fail;
20948 if (arg1 == NULL) {
20949 PyErr_SetString(PyExc_TypeError,"null reference");
20950 SWIG_fail;
20951 }
20952 {
20953 PyThreadState* __tstate = wxPyBeginAllowThreads();
20954 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
20955
20956 wxPyEndAllowThreads(__tstate);
20957 if (PyErr_Occurred()) SWIG_fail;
20958 }
20959 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
20960 return resultobj;
20961 fail:
20962 return NULL;
20963 }
20964
20965
20966 static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
20967 int argc;
20968 PyObject *argv[2];
20969 int ii;
20970
20971 argc = PyObject_Length(args);
20972 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
20973 argv[ii] = PyTuple_GetItem(args,ii);
20974 }
20975 if (argc == 0) {
20976 return _wrap_new_PrintDialogData__SWIG_0(self,args);
20977 }
20978 if (argc == 1) {
20979 int _v;
20980 {
20981 void *ptr;
20982 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
20983 _v = 0;
20984 PyErr_Clear();
20985 } else {
20986 _v = 1;
20987 }
20988 }
20989 if (_v) {
20990 return _wrap_new_PrintDialogData__SWIG_1(self,args);
20991 }
20992 }
20993
20994 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintDialogData'");
20995 return NULL;
20996 }
20997
20998
20999 static PyObject *_wrap_delete_PrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
21000 PyObject *resultobj;
21001 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21002 PyObject * obj0 = 0 ;
21003 char *kwnames[] = {
21004 (char *) "self", NULL
21005 };
21006
21007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail;
21008 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21009 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21010 {
21011 PyThreadState* __tstate = wxPyBeginAllowThreads();
21012 delete arg1;
21013
21014 wxPyEndAllowThreads(__tstate);
21015 if (PyErr_Occurred()) SWIG_fail;
21016 }
21017 Py_INCREF(Py_None); resultobj = Py_None;
21018 return resultobj;
21019 fail:
21020 return NULL;
21021 }
21022
21023
21024 static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
21025 PyObject *resultobj;
21026 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21027 int result;
21028 PyObject * obj0 = 0 ;
21029 char *kwnames[] = {
21030 (char *) "self", NULL
21031 };
21032
21033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail;
21034 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21035 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21036 {
21037 PyThreadState* __tstate = wxPyBeginAllowThreads();
21038 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
21039
21040 wxPyEndAllowThreads(__tstate);
21041 if (PyErr_Occurred()) SWIG_fail;
21042 }
21043 resultobj = SWIG_From_int((int)result);
21044 return resultobj;
21045 fail:
21046 return NULL;
21047 }
21048
21049
21050 static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *, PyObject *args, PyObject *kwargs) {
21051 PyObject *resultobj;
21052 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21053 int result;
21054 PyObject * obj0 = 0 ;
21055 char *kwnames[] = {
21056 (char *) "self", NULL
21057 };
21058
21059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail;
21060 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21061 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21062 {
21063 PyThreadState* __tstate = wxPyBeginAllowThreads();
21064 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
21065
21066 wxPyEndAllowThreads(__tstate);
21067 if (PyErr_Occurred()) SWIG_fail;
21068 }
21069 resultobj = SWIG_From_int((int)result);
21070 return resultobj;
21071 fail:
21072 return NULL;
21073 }
21074
21075
21076 static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
21077 PyObject *resultobj;
21078 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21079 int result;
21080 PyObject * obj0 = 0 ;
21081 char *kwnames[] = {
21082 (char *) "self", NULL
21083 };
21084
21085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail;
21086 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21087 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21088 {
21089 PyThreadState* __tstate = wxPyBeginAllowThreads();
21090 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
21091
21092 wxPyEndAllowThreads(__tstate);
21093 if (PyErr_Occurred()) SWIG_fail;
21094 }
21095 resultobj = SWIG_From_int((int)result);
21096 return resultobj;
21097 fail:
21098 return NULL;
21099 }
21100
21101
21102 static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
21103 PyObject *resultobj;
21104 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21105 int result;
21106 PyObject * obj0 = 0 ;
21107 char *kwnames[] = {
21108 (char *) "self", NULL
21109 };
21110
21111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail;
21112 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21113 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21114 {
21115 PyThreadState* __tstate = wxPyBeginAllowThreads();
21116 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
21117
21118 wxPyEndAllowThreads(__tstate);
21119 if (PyErr_Occurred()) SWIG_fail;
21120 }
21121 resultobj = SWIG_From_int((int)result);
21122 return resultobj;
21123 fail:
21124 return NULL;
21125 }
21126
21127
21128 static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
21129 PyObject *resultobj;
21130 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21131 int result;
21132 PyObject * obj0 = 0 ;
21133 char *kwnames[] = {
21134 (char *) "self", NULL
21135 };
21136
21137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail;
21138 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21139 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21140 {
21141 PyThreadState* __tstate = wxPyBeginAllowThreads();
21142 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
21143
21144 wxPyEndAllowThreads(__tstate);
21145 if (PyErr_Occurred()) SWIG_fail;
21146 }
21147 resultobj = SWIG_From_int((int)result);
21148 return resultobj;
21149 fail:
21150 return NULL;
21151 }
21152
21153
21154 static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
21155 PyObject *resultobj;
21156 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21157 bool result;
21158 PyObject * obj0 = 0 ;
21159 char *kwnames[] = {
21160 (char *) "self", NULL
21161 };
21162
21163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail;
21164 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21165 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21166 {
21167 PyThreadState* __tstate = wxPyBeginAllowThreads();
21168 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
21169
21170 wxPyEndAllowThreads(__tstate);
21171 if (PyErr_Occurred()) SWIG_fail;
21172 }
21173 {
21174 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21175 }
21176 return resultobj;
21177 fail:
21178 return NULL;
21179 }
21180
21181
21182 static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
21183 PyObject *resultobj;
21184 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21185 bool result;
21186 PyObject * obj0 = 0 ;
21187 char *kwnames[] = {
21188 (char *) "self", NULL
21189 };
21190
21191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail;
21192 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21193 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21194 {
21195 PyThreadState* __tstate = wxPyBeginAllowThreads();
21196 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
21197
21198 wxPyEndAllowThreads(__tstate);
21199 if (PyErr_Occurred()) SWIG_fail;
21200 }
21201 {
21202 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21203 }
21204 return resultobj;
21205 fail:
21206 return NULL;
21207 }
21208
21209
21210 static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
21211 PyObject *resultobj;
21212 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21213 bool result;
21214 PyObject * obj0 = 0 ;
21215 char *kwnames[] = {
21216 (char *) "self", NULL
21217 };
21218
21219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail;
21220 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21221 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21222 {
21223 PyThreadState* __tstate = wxPyBeginAllowThreads();
21224 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
21225
21226 wxPyEndAllowThreads(__tstate);
21227 if (PyErr_Occurred()) SWIG_fail;
21228 }
21229 {
21230 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21231 }
21232 return resultobj;
21233 fail:
21234 return NULL;
21235 }
21236
21237
21238 static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
21239 PyObject *resultobj;
21240 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21241 bool result;
21242 PyObject * obj0 = 0 ;
21243 char *kwnames[] = {
21244 (char *) "self", NULL
21245 };
21246
21247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail;
21248 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21249 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21250 {
21251 PyThreadState* __tstate = wxPyBeginAllowThreads();
21252 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
21253
21254 wxPyEndAllowThreads(__tstate);
21255 if (PyErr_Occurred()) SWIG_fail;
21256 }
21257 {
21258 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21259 }
21260 return resultobj;
21261 fail:
21262 return NULL;
21263 }
21264
21265
21266 static PyObject *_wrap_PrintDialogData_GetSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
21267 PyObject *resultobj;
21268 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21269 bool result;
21270 PyObject * obj0 = 0 ;
21271 char *kwnames[] = {
21272 (char *) "self", NULL
21273 };
21274
21275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSetupDialog",kwnames,&obj0)) goto fail;
21276 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21277 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21278 {
21279 PyThreadState* __tstate = wxPyBeginAllowThreads();
21280 result = (bool)((wxPrintDialogData const *)arg1)->GetSetupDialog();
21281
21282 wxPyEndAllowThreads(__tstate);
21283 if (PyErr_Occurred()) SWIG_fail;
21284 }
21285 {
21286 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21287 }
21288 return resultobj;
21289 fail:
21290 return NULL;
21291 }
21292
21293
21294 static PyObject *_wrap_PrintDialogData_SetSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
21295 PyObject *resultobj;
21296 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21297 bool arg2 ;
21298 PyObject * obj0 = 0 ;
21299 PyObject * obj1 = 0 ;
21300 char *kwnames[] = {
21301 (char *) "self",(char *) "flag", NULL
21302 };
21303
21304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames,&obj0,&obj1)) goto fail;
21305 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21306 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21307 arg2 = (bool)SWIG_As_bool(obj1);
21308 if (PyErr_Occurred()) SWIG_fail;
21309 {
21310 PyThreadState* __tstate = wxPyBeginAllowThreads();
21311 (arg1)->SetSetupDialog(arg2);
21312
21313 wxPyEndAllowThreads(__tstate);
21314 if (PyErr_Occurred()) SWIG_fail;
21315 }
21316 Py_INCREF(Py_None); resultobj = Py_None;
21317 return resultobj;
21318 fail:
21319 return NULL;
21320 }
21321
21322
21323 static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
21324 PyObject *resultobj;
21325 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21326 int arg2 ;
21327 PyObject * obj0 = 0 ;
21328 PyObject * obj1 = 0 ;
21329 char *kwnames[] = {
21330 (char *) "self",(char *) "v", NULL
21331 };
21332
21333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) goto fail;
21334 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21335 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21336 arg2 = (int)SWIG_As_int(obj1);
21337 if (PyErr_Occurred()) SWIG_fail;
21338 {
21339 PyThreadState* __tstate = wxPyBeginAllowThreads();
21340 (arg1)->SetFromPage(arg2);
21341
21342 wxPyEndAllowThreads(__tstate);
21343 if (PyErr_Occurred()) SWIG_fail;
21344 }
21345 Py_INCREF(Py_None); resultobj = Py_None;
21346 return resultobj;
21347 fail:
21348 return NULL;
21349 }
21350
21351
21352 static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *, PyObject *args, PyObject *kwargs) {
21353 PyObject *resultobj;
21354 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21355 int arg2 ;
21356 PyObject * obj0 = 0 ;
21357 PyObject * obj1 = 0 ;
21358 char *kwnames[] = {
21359 (char *) "self",(char *) "v", NULL
21360 };
21361
21362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) goto fail;
21363 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21364 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21365 arg2 = (int)SWIG_As_int(obj1);
21366 if (PyErr_Occurred()) SWIG_fail;
21367 {
21368 PyThreadState* __tstate = wxPyBeginAllowThreads();
21369 (arg1)->SetToPage(arg2);
21370
21371 wxPyEndAllowThreads(__tstate);
21372 if (PyErr_Occurred()) SWIG_fail;
21373 }
21374 Py_INCREF(Py_None); resultobj = Py_None;
21375 return resultobj;
21376 fail:
21377 return NULL;
21378 }
21379
21380
21381 static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
21382 PyObject *resultobj;
21383 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21384 int arg2 ;
21385 PyObject * obj0 = 0 ;
21386 PyObject * obj1 = 0 ;
21387 char *kwnames[] = {
21388 (char *) "self",(char *) "v", NULL
21389 };
21390
21391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) goto fail;
21392 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21393 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21394 arg2 = (int)SWIG_As_int(obj1);
21395 if (PyErr_Occurred()) SWIG_fail;
21396 {
21397 PyThreadState* __tstate = wxPyBeginAllowThreads();
21398 (arg1)->SetMinPage(arg2);
21399
21400 wxPyEndAllowThreads(__tstate);
21401 if (PyErr_Occurred()) SWIG_fail;
21402 }
21403 Py_INCREF(Py_None); resultobj = Py_None;
21404 return resultobj;
21405 fail:
21406 return NULL;
21407 }
21408
21409
21410 static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
21411 PyObject *resultobj;
21412 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21413 int arg2 ;
21414 PyObject * obj0 = 0 ;
21415 PyObject * obj1 = 0 ;
21416 char *kwnames[] = {
21417 (char *) "self",(char *) "v", NULL
21418 };
21419
21420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) goto fail;
21421 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21422 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21423 arg2 = (int)SWIG_As_int(obj1);
21424 if (PyErr_Occurred()) SWIG_fail;
21425 {
21426 PyThreadState* __tstate = wxPyBeginAllowThreads();
21427 (arg1)->SetMaxPage(arg2);
21428
21429 wxPyEndAllowThreads(__tstate);
21430 if (PyErr_Occurred()) SWIG_fail;
21431 }
21432 Py_INCREF(Py_None); resultobj = Py_None;
21433 return resultobj;
21434 fail:
21435 return NULL;
21436 }
21437
21438
21439 static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
21440 PyObject *resultobj;
21441 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21442 int arg2 ;
21443 PyObject * obj0 = 0 ;
21444 PyObject * obj1 = 0 ;
21445 char *kwnames[] = {
21446 (char *) "self",(char *) "v", NULL
21447 };
21448
21449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
21450 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21451 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21452 arg2 = (int)SWIG_As_int(obj1);
21453 if (PyErr_Occurred()) SWIG_fail;
21454 {
21455 PyThreadState* __tstate = wxPyBeginAllowThreads();
21456 (arg1)->SetNoCopies(arg2);
21457
21458 wxPyEndAllowThreads(__tstate);
21459 if (PyErr_Occurred()) SWIG_fail;
21460 }
21461 Py_INCREF(Py_None); resultobj = Py_None;
21462 return resultobj;
21463 fail:
21464 return NULL;
21465 }
21466
21467
21468 static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
21469 PyObject *resultobj;
21470 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21471 bool arg2 ;
21472 PyObject * obj0 = 0 ;
21473 PyObject * obj1 = 0 ;
21474 char *kwnames[] = {
21475 (char *) "self",(char *) "flag", NULL
21476 };
21477
21478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail;
21479 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21480 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21481 arg2 = (bool)SWIG_As_bool(obj1);
21482 if (PyErr_Occurred()) SWIG_fail;
21483 {
21484 PyThreadState* __tstate = wxPyBeginAllowThreads();
21485 (arg1)->SetAllPages(arg2);
21486
21487 wxPyEndAllowThreads(__tstate);
21488 if (PyErr_Occurred()) SWIG_fail;
21489 }
21490 Py_INCREF(Py_None); resultobj = Py_None;
21491 return resultobj;
21492 fail:
21493 return NULL;
21494 }
21495
21496
21497 static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
21498 PyObject *resultobj;
21499 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21500 bool arg2 ;
21501 PyObject * obj0 = 0 ;
21502 PyObject * obj1 = 0 ;
21503 char *kwnames[] = {
21504 (char *) "self",(char *) "flag", NULL
21505 };
21506
21507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail;
21508 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21509 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21510 arg2 = (bool)SWIG_As_bool(obj1);
21511 if (PyErr_Occurred()) SWIG_fail;
21512 {
21513 PyThreadState* __tstate = wxPyBeginAllowThreads();
21514 (arg1)->SetSelection(arg2);
21515
21516 wxPyEndAllowThreads(__tstate);
21517 if (PyErr_Occurred()) SWIG_fail;
21518 }
21519 Py_INCREF(Py_None); resultobj = Py_None;
21520 return resultobj;
21521 fail:
21522 return NULL;
21523 }
21524
21525
21526 static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
21527 PyObject *resultobj;
21528 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21529 bool arg2 ;
21530 PyObject * obj0 = 0 ;
21531 PyObject * obj1 = 0 ;
21532 char *kwnames[] = {
21533 (char *) "self",(char *) "flag", NULL
21534 };
21535
21536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
21537 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21538 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21539 arg2 = (bool)SWIG_As_bool(obj1);
21540 if (PyErr_Occurred()) SWIG_fail;
21541 {
21542 PyThreadState* __tstate = wxPyBeginAllowThreads();
21543 (arg1)->SetCollate(arg2);
21544
21545 wxPyEndAllowThreads(__tstate);
21546 if (PyErr_Occurred()) SWIG_fail;
21547 }
21548 Py_INCREF(Py_None); resultobj = Py_None;
21549 return resultobj;
21550 fail:
21551 return NULL;
21552 }
21553
21554
21555 static PyObject *_wrap_PrintDialogData_SetPrintToFile(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_SetPrintToFile",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)->SetPrintToFile(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_EnablePrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
21585 PyObject *resultobj;
21586 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21587 bool arg2 ;
21588 PyObject * obj0 = 0 ;
21589 PyObject * obj1 = 0 ;
21590 char *kwnames[] = {
21591 (char *) "self",(char *) "flag", NULL
21592 };
21593
21594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",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 = (bool)SWIG_As_bool(obj1);
21598 if (PyErr_Occurred()) SWIG_fail;
21599 {
21600 PyThreadState* __tstate = wxPyBeginAllowThreads();
21601 (arg1)->EnablePrintToFile(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_EnableSelection(PyObject *, PyObject *args, PyObject *kwargs) {
21614 PyObject *resultobj;
21615 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21616 bool arg2 ;
21617 PyObject * obj0 = 0 ;
21618 PyObject * obj1 = 0 ;
21619 char *kwnames[] = {
21620 (char *) "self",(char *) "flag", NULL
21621 };
21622
21623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",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 = (bool)SWIG_As_bool(obj1);
21627 if (PyErr_Occurred()) SWIG_fail;
21628 {
21629 PyThreadState* __tstate = wxPyBeginAllowThreads();
21630 (arg1)->EnableSelection(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_EnablePageNumbers(PyObject *, PyObject *args, PyObject *kwargs) {
21643 PyObject *resultobj;
21644 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21645 bool arg2 ;
21646 PyObject * obj0 = 0 ;
21647 PyObject * obj1 = 0 ;
21648 char *kwnames[] = {
21649 (char *) "self",(char *) "flag", NULL
21650 };
21651
21652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",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 = (bool)SWIG_As_bool(obj1);
21656 if (PyErr_Occurred()) SWIG_fail;
21657 {
21658 PyThreadState* __tstate = wxPyBeginAllowThreads();
21659 (arg1)->EnablePageNumbers(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_EnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
21672 PyObject *resultobj;
21673 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21674 bool arg2 ;
21675 PyObject * obj0 = 0 ;
21676 PyObject * obj1 = 0 ;
21677 char *kwnames[] = {
21678 (char *) "self",(char *) "flag", NULL
21679 };
21680
21681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",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 = (bool)SWIG_As_bool(obj1);
21685 if (PyErr_Occurred()) SWIG_fail;
21686 {
21687 PyThreadState* __tstate = wxPyBeginAllowThreads();
21688 (arg1)->EnableHelp(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_GetEnablePrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
21701 PyObject *resultobj;
21702 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21703 bool result;
21704 PyObject * obj0 = 0 ;
21705 char *kwnames[] = {
21706 (char *) "self", NULL
21707 };
21708
21709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail;
21710 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21711 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21712 {
21713 PyThreadState* __tstate = wxPyBeginAllowThreads();
21714 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
21715
21716 wxPyEndAllowThreads(__tstate);
21717 if (PyErr_Occurred()) SWIG_fail;
21718 }
21719 {
21720 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21721 }
21722 return resultobj;
21723 fail:
21724 return NULL;
21725 }
21726
21727
21728 static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *, PyObject *args, PyObject *kwargs) {
21729 PyObject *resultobj;
21730 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21731 bool result;
21732 PyObject * obj0 = 0 ;
21733 char *kwnames[] = {
21734 (char *) "self", NULL
21735 };
21736
21737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail;
21738 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21739 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21740 {
21741 PyThreadState* __tstate = wxPyBeginAllowThreads();
21742 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
21743
21744 wxPyEndAllowThreads(__tstate);
21745 if (PyErr_Occurred()) SWIG_fail;
21746 }
21747 {
21748 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21749 }
21750 return resultobj;
21751 fail:
21752 return NULL;
21753 }
21754
21755
21756 static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *, PyObject *args, PyObject *kwargs) {
21757 PyObject *resultobj;
21758 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21759 bool result;
21760 PyObject * obj0 = 0 ;
21761 char *kwnames[] = {
21762 (char *) "self", NULL
21763 };
21764
21765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail;
21766 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21767 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21768 {
21769 PyThreadState* __tstate = wxPyBeginAllowThreads();
21770 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
21771
21772 wxPyEndAllowThreads(__tstate);
21773 if (PyErr_Occurred()) SWIG_fail;
21774 }
21775 {
21776 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21777 }
21778 return resultobj;
21779 fail:
21780 return NULL;
21781 }
21782
21783
21784 static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
21785 PyObject *resultobj;
21786 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21787 bool result;
21788 PyObject * obj0 = 0 ;
21789 char *kwnames[] = {
21790 (char *) "self", NULL
21791 };
21792
21793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
21794 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21795 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21796 {
21797 PyThreadState* __tstate = wxPyBeginAllowThreads();
21798 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
21799
21800 wxPyEndAllowThreads(__tstate);
21801 if (PyErr_Occurred()) SWIG_fail;
21802 }
21803 {
21804 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21805 }
21806 return resultobj;
21807 fail:
21808 return NULL;
21809 }
21810
21811
21812 static PyObject *_wrap_PrintDialogData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
21813 PyObject *resultobj;
21814 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21815 bool result;
21816 PyObject * obj0 = 0 ;
21817 char *kwnames[] = {
21818 (char *) "self", NULL
21819 };
21820
21821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail;
21822 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21823 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21824 {
21825 PyThreadState* __tstate = wxPyBeginAllowThreads();
21826 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
21827
21828 wxPyEndAllowThreads(__tstate);
21829 if (PyErr_Occurred()) SWIG_fail;
21830 }
21831 {
21832 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21833 }
21834 return resultobj;
21835 fail:
21836 return NULL;
21837 }
21838
21839
21840 static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
21841 PyObject *resultobj;
21842 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21843 wxPrintData *result;
21844 PyObject * obj0 = 0 ;
21845 char *kwnames[] = {
21846 (char *) "self", NULL
21847 };
21848
21849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail;
21850 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21851 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21852 {
21853 PyThreadState* __tstate = wxPyBeginAllowThreads();
21854 {
21855 wxPrintData &_result_ref = (arg1)->GetPrintData();
21856 result = (wxPrintData *) &_result_ref;
21857 }
21858
21859 wxPyEndAllowThreads(__tstate);
21860 if (PyErr_Occurred()) SWIG_fail;
21861 }
21862 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
21863 return resultobj;
21864 fail:
21865 return NULL;
21866 }
21867
21868
21869 static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
21870 PyObject *resultobj;
21871 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21872 wxPrintData *arg2 = 0 ;
21873 PyObject * obj0 = 0 ;
21874 PyObject * obj1 = 0 ;
21875 char *kwnames[] = {
21876 (char *) "self",(char *) "printData", NULL
21877 };
21878
21879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
21880 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21881 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21882 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData,
21883 SWIG_POINTER_EXCEPTION | 0)) == -1)
21884 SWIG_fail;
21885 if (arg2 == NULL) {
21886 PyErr_SetString(PyExc_TypeError,"null reference");
21887 SWIG_fail;
21888 }
21889 {
21890 PyThreadState* __tstate = wxPyBeginAllowThreads();
21891 (arg1)->SetPrintData((wxPrintData const &)*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 * PrintDialogData_swigregister(PyObject *, PyObject *args) {
21904 PyObject *obj;
21905 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21906 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj);
21907 Py_INCREF(obj);
21908 return Py_BuildValue((char *)"");
21909 }
21910 static PyObject *_wrap_new_PrintDialog(PyObject *, PyObject *args, PyObject *kwargs) {
21911 PyObject *resultobj;
21912 wxWindow *arg1 = (wxWindow *) 0 ;
21913 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
21914 wxPrintDialog *result;
21915 PyObject * obj0 = 0 ;
21916 PyObject * obj1 = 0 ;
21917 char *kwnames[] = {
21918 (char *) "parent",(char *) "data", NULL
21919 };
21920
21921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
21922 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21923 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21924 if (obj1) {
21925 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintDialogData,
21926 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21927 }
21928 {
21929 if (!wxPyCheckForApp()) SWIG_fail;
21930 PyThreadState* __tstate = wxPyBeginAllowThreads();
21931 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
21932
21933 wxPyEndAllowThreads(__tstate);
21934 if (PyErr_Occurred()) SWIG_fail;
21935 }
21936 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialog, 1);
21937 return resultobj;
21938 fail:
21939 return NULL;
21940 }
21941
21942
21943 static PyObject *_wrap_PrintDialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
21944 PyObject *resultobj;
21945 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
21946 int result;
21947 PyObject * obj0 = 0 ;
21948 char *kwnames[] = {
21949 (char *) "self", NULL
21950 };
21951
21952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail;
21953 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
21954 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21955 {
21956 PyThreadState* __tstate = wxPyBeginAllowThreads();
21957 result = (int)(arg1)->ShowModal();
21958
21959 wxPyEndAllowThreads(__tstate);
21960 if (PyErr_Occurred()) SWIG_fail;
21961 }
21962 resultobj = SWIG_From_int((int)result);
21963 return resultobj;
21964 fail:
21965 return NULL;
21966 }
21967
21968
21969 static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
21970 PyObject *resultobj;
21971 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
21972 wxPrintDialogData *result;
21973 PyObject * obj0 = 0 ;
21974 char *kwnames[] = {
21975 (char *) "self", NULL
21976 };
21977
21978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail;
21979 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
21980 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21981 {
21982 PyThreadState* __tstate = wxPyBeginAllowThreads();
21983 {
21984 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
21985 result = (wxPrintDialogData *) &_result_ref;
21986 }
21987
21988 wxPyEndAllowThreads(__tstate);
21989 if (PyErr_Occurred()) SWIG_fail;
21990 }
21991 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
21992 return resultobj;
21993 fail:
21994 return NULL;
21995 }
21996
21997
21998 static PyObject *_wrap_PrintDialog_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
21999 PyObject *resultobj;
22000 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
22001 wxPrintData *result;
22002 PyObject * obj0 = 0 ;
22003 char *kwnames[] = {
22004 (char *) "self", NULL
22005 };
22006
22007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintData",kwnames,&obj0)) goto fail;
22008 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
22009 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22010 {
22011 PyThreadState* __tstate = wxPyBeginAllowThreads();
22012 {
22013 wxPrintData &_result_ref = (arg1)->GetPrintData();
22014 result = (wxPrintData *) &_result_ref;
22015 }
22016
22017 wxPyEndAllowThreads(__tstate);
22018 if (PyErr_Occurred()) SWIG_fail;
22019 }
22020 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
22021 return resultobj;
22022 fail:
22023 return NULL;
22024 }
22025
22026
22027 static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *, PyObject *args, PyObject *kwargs) {
22028 PyObject *resultobj;
22029 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
22030 wxDC *result;
22031 PyObject * obj0 = 0 ;
22032 char *kwnames[] = {
22033 (char *) "self", NULL
22034 };
22035
22036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail;
22037 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
22038 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22039 {
22040 PyThreadState* __tstate = wxPyBeginAllowThreads();
22041 result = (wxDC *)(arg1)->GetPrintDC();
22042
22043 wxPyEndAllowThreads(__tstate);
22044 if (PyErr_Occurred()) SWIG_fail;
22045 }
22046 {
22047 resultobj = wxPyMake_wxObject(result, 1);
22048 }
22049 return resultobj;
22050 fail:
22051 return NULL;
22052 }
22053
22054
22055 static PyObject * PrintDialog_swigregister(PyObject *, PyObject *args) {
22056 PyObject *obj;
22057 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22058 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj);
22059 Py_INCREF(obj);
22060 return Py_BuildValue((char *)"");
22061 }
22062 static PyObject *_wrap_new_Printer(PyObject *, PyObject *args, PyObject *kwargs) {
22063 PyObject *resultobj;
22064 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
22065 wxPrinter *result;
22066 PyObject * obj0 = 0 ;
22067 char *kwnames[] = {
22068 (char *) "data", NULL
22069 };
22070
22071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail;
22072 if (obj0) {
22073 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
22074 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22075 }
22076 {
22077 if (!wxPyCheckForApp()) SWIG_fail;
22078 PyThreadState* __tstate = wxPyBeginAllowThreads();
22079 result = (wxPrinter *)new wxPrinter(arg1);
22080
22081 wxPyEndAllowThreads(__tstate);
22082 if (PyErr_Occurred()) SWIG_fail;
22083 }
22084 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrinter, 1);
22085 return resultobj;
22086 fail:
22087 return NULL;
22088 }
22089
22090
22091 static PyObject *_wrap_delete_Printer(PyObject *, PyObject *args, PyObject *kwargs) {
22092 PyObject *resultobj;
22093 wxPrinter *arg1 = (wxPrinter *) 0 ;
22094 PyObject * obj0 = 0 ;
22095 char *kwnames[] = {
22096 (char *) "self", NULL
22097 };
22098
22099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail;
22100 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
22101 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22102 {
22103 PyThreadState* __tstate = wxPyBeginAllowThreads();
22104 delete arg1;
22105
22106 wxPyEndAllowThreads(__tstate);
22107 if (PyErr_Occurred()) SWIG_fail;
22108 }
22109 Py_INCREF(Py_None); resultobj = Py_None;
22110 return resultobj;
22111 fail:
22112 return NULL;
22113 }
22114
22115
22116 static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *, PyObject *args, PyObject *kwargs) {
22117 PyObject *resultobj;
22118 wxPrinter *arg1 = (wxPrinter *) 0 ;
22119 wxWindow *arg2 = (wxWindow *) 0 ;
22120 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
22121 wxWindow *result;
22122 PyObject * obj0 = 0 ;
22123 PyObject * obj1 = 0 ;
22124 PyObject * obj2 = 0 ;
22125 char *kwnames[] = {
22126 (char *) "self",(char *) "parent",(char *) "printout", NULL
22127 };
22128
22129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
22130 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
22131 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22132 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
22133 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22134 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
22135 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22136 {
22137 PyThreadState* __tstate = wxPyBeginAllowThreads();
22138 result = (wxWindow *)(arg1)->CreateAbortWindow(arg2,arg3);
22139
22140 wxPyEndAllowThreads(__tstate);
22141 if (PyErr_Occurred()) SWIG_fail;
22142 }
22143 {
22144 resultobj = wxPyMake_wxObject(result, 0);
22145 }
22146 return resultobj;
22147 fail:
22148 return NULL;
22149 }
22150
22151
22152 static PyObject *_wrap_Printer_ReportError(PyObject *, PyObject *args, PyObject *kwargs) {
22153 PyObject *resultobj;
22154 wxPrinter *arg1 = (wxPrinter *) 0 ;
22155 wxWindow *arg2 = (wxWindow *) 0 ;
22156 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
22157 wxString *arg4 = 0 ;
22158 bool temp4 = false ;
22159 PyObject * obj0 = 0 ;
22160 PyObject * obj1 = 0 ;
22161 PyObject * obj2 = 0 ;
22162 PyObject * obj3 = 0 ;
22163 char *kwnames[] = {
22164 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
22165 };
22166
22167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
22168 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
22169 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22170 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
22171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22172 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
22173 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22174 {
22175 arg4 = wxString_in_helper(obj3);
22176 if (arg4 == NULL) SWIG_fail;
22177 temp4 = true;
22178 }
22179 {
22180 PyThreadState* __tstate = wxPyBeginAllowThreads();
22181 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
22182
22183 wxPyEndAllowThreads(__tstate);
22184 if (PyErr_Occurred()) SWIG_fail;
22185 }
22186 Py_INCREF(Py_None); resultobj = Py_None;
22187 {
22188 if (temp4)
22189 delete arg4;
22190 }
22191 return resultobj;
22192 fail:
22193 {
22194 if (temp4)
22195 delete arg4;
22196 }
22197 return NULL;
22198 }
22199
22200
22201 static PyObject *_wrap_Printer_Setup(PyObject *, PyObject *args, PyObject *kwargs) {
22202 PyObject *resultobj;
22203 wxPrinter *arg1 = (wxPrinter *) 0 ;
22204 wxWindow *arg2 = (wxWindow *) 0 ;
22205 bool result;
22206 PyObject * obj0 = 0 ;
22207 PyObject * obj1 = 0 ;
22208 char *kwnames[] = {
22209 (char *) "self",(char *) "parent", NULL
22210 };
22211
22212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail;
22213 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
22214 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22215 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
22216 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22217 {
22218 PyThreadState* __tstate = wxPyBeginAllowThreads();
22219 result = (bool)(arg1)->Setup(arg2);
22220
22221 wxPyEndAllowThreads(__tstate);
22222 if (PyErr_Occurred()) SWIG_fail;
22223 }
22224 {
22225 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22226 }
22227 return resultobj;
22228 fail:
22229 return NULL;
22230 }
22231
22232
22233 static PyObject *_wrap_Printer_Print(PyObject *, PyObject *args, PyObject *kwargs) {
22234 PyObject *resultobj;
22235 wxPrinter *arg1 = (wxPrinter *) 0 ;
22236 wxWindow *arg2 = (wxWindow *) 0 ;
22237 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
22238 bool arg4 = (bool) true ;
22239 bool result;
22240 PyObject * obj0 = 0 ;
22241 PyObject * obj1 = 0 ;
22242 PyObject * obj2 = 0 ;
22243 PyObject * obj3 = 0 ;
22244 char *kwnames[] = {
22245 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
22246 };
22247
22248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
22249 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
22250 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22251 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
22252 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22253 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
22254 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22255 if (obj3) {
22256 arg4 = (bool)SWIG_As_bool(obj3);
22257 if (PyErr_Occurred()) SWIG_fail;
22258 }
22259 {
22260 PyThreadState* __tstate = wxPyBeginAllowThreads();
22261 result = (bool)(arg1)->Print(arg2,arg3,arg4);
22262
22263 wxPyEndAllowThreads(__tstate);
22264 if (PyErr_Occurred()) SWIG_fail;
22265 }
22266 {
22267 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22268 }
22269 return resultobj;
22270 fail:
22271 return NULL;
22272 }
22273
22274
22275 static PyObject *_wrap_Printer_PrintDialog(PyObject *, PyObject *args, PyObject *kwargs) {
22276 PyObject *resultobj;
22277 wxPrinter *arg1 = (wxPrinter *) 0 ;
22278 wxWindow *arg2 = (wxWindow *) 0 ;
22279 wxDC *result;
22280 PyObject * obj0 = 0 ;
22281 PyObject * obj1 = 0 ;
22282 char *kwnames[] = {
22283 (char *) "self",(char *) "parent", NULL
22284 };
22285
22286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
22287 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
22288 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22289 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
22290 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22291 {
22292 PyThreadState* __tstate = wxPyBeginAllowThreads();
22293 result = (wxDC *)(arg1)->PrintDialog(arg2);
22294
22295 wxPyEndAllowThreads(__tstate);
22296 if (PyErr_Occurred()) SWIG_fail;
22297 }
22298 {
22299 resultobj = wxPyMake_wxObject(result, 0);
22300 }
22301 return resultobj;
22302 fail:
22303 return NULL;
22304 }
22305
22306
22307 static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
22308 PyObject *resultobj;
22309 wxPrinter *arg1 = (wxPrinter *) 0 ;
22310 wxPrintDialogData *result;
22311 PyObject * obj0 = 0 ;
22312 char *kwnames[] = {
22313 (char *) "self", NULL
22314 };
22315
22316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail;
22317 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
22318 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22319 {
22320 PyThreadState* __tstate = wxPyBeginAllowThreads();
22321 {
22322 wxPrintDialogData &_result_ref = ((wxPrinter const *)arg1)->GetPrintDialogData();
22323 result = (wxPrintDialogData *) &_result_ref;
22324 }
22325
22326 wxPyEndAllowThreads(__tstate);
22327 if (PyErr_Occurred()) SWIG_fail;
22328 }
22329 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
22330 return resultobj;
22331 fail:
22332 return NULL;
22333 }
22334
22335
22336 static PyObject *_wrap_Printer_GetAbort(PyObject *, PyObject *args, PyObject *kwargs) {
22337 PyObject *resultobj;
22338 wxPrinter *arg1 = (wxPrinter *) 0 ;
22339 bool result;
22340 PyObject * obj0 = 0 ;
22341 char *kwnames[] = {
22342 (char *) "self", NULL
22343 };
22344
22345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail;
22346 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
22347 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22348 {
22349 PyThreadState* __tstate = wxPyBeginAllowThreads();
22350 result = (bool)(arg1)->GetAbort();
22351
22352 wxPyEndAllowThreads(__tstate);
22353 if (PyErr_Occurred()) SWIG_fail;
22354 }
22355 {
22356 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22357 }
22358 return resultobj;
22359 fail:
22360 return NULL;
22361 }
22362
22363
22364 static PyObject *_wrap_Printer_GetLastError(PyObject *, PyObject *args, PyObject *kwargs) {
22365 PyObject *resultobj;
22366 int result;
22367 char *kwnames[] = {
22368 NULL
22369 };
22370
22371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail;
22372 {
22373 PyThreadState* __tstate = wxPyBeginAllowThreads();
22374 result = (int)wxPrinter::GetLastError();
22375
22376 wxPyEndAllowThreads(__tstate);
22377 if (PyErr_Occurred()) SWIG_fail;
22378 }
22379 resultobj = SWIG_From_int((int)result);
22380 return resultobj;
22381 fail:
22382 return NULL;
22383 }
22384
22385
22386 static PyObject * Printer_swigregister(PyObject *, PyObject *args) {
22387 PyObject *obj;
22388 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22389 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj);
22390 Py_INCREF(obj);
22391 return Py_BuildValue((char *)"");
22392 }
22393 static PyObject *_wrap_new_Printout(PyObject *, PyObject *args, PyObject *kwargs) {
22394 PyObject *resultobj;
22395 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
22396 wxString *arg1 = (wxString *) &arg1_defvalue ;
22397 wxPyPrintout *result;
22398 bool temp1 = false ;
22399 PyObject * obj0 = 0 ;
22400 char *kwnames[] = {
22401 (char *) "title", NULL
22402 };
22403
22404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail;
22405 if (obj0) {
22406 {
22407 arg1 = wxString_in_helper(obj0);
22408 if (arg1 == NULL) SWIG_fail;
22409 temp1 = true;
22410 }
22411 }
22412 {
22413 if (!wxPyCheckForApp()) SWIG_fail;
22414 PyThreadState* __tstate = wxPyBeginAllowThreads();
22415 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
22416
22417 wxPyEndAllowThreads(__tstate);
22418 if (PyErr_Occurred()) SWIG_fail;
22419 }
22420 {
22421 resultobj = wxPyMake_wxObject(result, 1);
22422 }
22423 {
22424 if (temp1)
22425 delete arg1;
22426 }
22427 return resultobj;
22428 fail:
22429 {
22430 if (temp1)
22431 delete arg1;
22432 }
22433 return NULL;
22434 }
22435
22436
22437 static PyObject *_wrap_Printout__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
22438 PyObject *resultobj;
22439 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22440 PyObject *arg2 = (PyObject *) 0 ;
22441 PyObject *arg3 = (PyObject *) 0 ;
22442 PyObject * obj0 = 0 ;
22443 PyObject * obj1 = 0 ;
22444 PyObject * obj2 = 0 ;
22445 char *kwnames[] = {
22446 (char *) "self",(char *) "self",(char *) "_class", NULL
22447 };
22448
22449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
22450 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22451 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22452 arg2 = obj1;
22453 arg3 = obj2;
22454 {
22455 PyThreadState* __tstate = wxPyBeginAllowThreads();
22456 (arg1)->_setCallbackInfo(arg2,arg3);
22457
22458 wxPyEndAllowThreads(__tstate);
22459 if (PyErr_Occurred()) SWIG_fail;
22460 }
22461 Py_INCREF(Py_None); resultobj = Py_None;
22462 return resultobj;
22463 fail:
22464 return NULL;
22465 }
22466
22467
22468 static PyObject *_wrap_Printout_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
22469 PyObject *resultobj;
22470 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22471 wxString result;
22472 PyObject * obj0 = 0 ;
22473 char *kwnames[] = {
22474 (char *) "self", NULL
22475 };
22476
22477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail;
22478 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22479 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22480 {
22481 PyThreadState* __tstate = wxPyBeginAllowThreads();
22482 result = ((wxPyPrintout const *)arg1)->GetTitle();
22483
22484 wxPyEndAllowThreads(__tstate);
22485 if (PyErr_Occurred()) SWIG_fail;
22486 }
22487 {
22488 #if wxUSE_UNICODE
22489 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
22490 #else
22491 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
22492 #endif
22493 }
22494 return resultobj;
22495 fail:
22496 return NULL;
22497 }
22498
22499
22500 static PyObject *_wrap_Printout_GetDC(PyObject *, PyObject *args, PyObject *kwargs) {
22501 PyObject *resultobj;
22502 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22503 wxDC *result;
22504 PyObject * obj0 = 0 ;
22505 char *kwnames[] = {
22506 (char *) "self", NULL
22507 };
22508
22509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail;
22510 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22511 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22512 {
22513 PyThreadState* __tstate = wxPyBeginAllowThreads();
22514 result = (wxDC *)(arg1)->GetDC();
22515
22516 wxPyEndAllowThreads(__tstate);
22517 if (PyErr_Occurred()) SWIG_fail;
22518 }
22519 {
22520 resultobj = wxPyMake_wxObject(result, 0);
22521 }
22522 return resultobj;
22523 fail:
22524 return NULL;
22525 }
22526
22527
22528 static PyObject *_wrap_Printout_SetDC(PyObject *, PyObject *args, PyObject *kwargs) {
22529 PyObject *resultobj;
22530 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22531 wxDC *arg2 = (wxDC *) 0 ;
22532 PyObject * obj0 = 0 ;
22533 PyObject * obj1 = 0 ;
22534 char *kwnames[] = {
22535 (char *) "self",(char *) "dc", NULL
22536 };
22537
22538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail;
22539 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22540 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22541 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
22542 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22543 {
22544 PyThreadState* __tstate = wxPyBeginAllowThreads();
22545 (arg1)->SetDC(arg2);
22546
22547 wxPyEndAllowThreads(__tstate);
22548 if (PyErr_Occurred()) SWIG_fail;
22549 }
22550 Py_INCREF(Py_None); resultobj = Py_None;
22551 return resultobj;
22552 fail:
22553 return NULL;
22554 }
22555
22556
22557 static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *, PyObject *args, PyObject *kwargs) {
22558 PyObject *resultobj;
22559 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22560 int arg2 ;
22561 int arg3 ;
22562 PyObject * obj0 = 0 ;
22563 PyObject * obj1 = 0 ;
22564 PyObject * obj2 = 0 ;
22565 char *kwnames[] = {
22566 (char *) "self",(char *) "w",(char *) "h", NULL
22567 };
22568
22569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) goto fail;
22570 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22571 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22572 arg2 = (int)SWIG_As_int(obj1);
22573 if (PyErr_Occurred()) SWIG_fail;
22574 arg3 = (int)SWIG_As_int(obj2);
22575 if (PyErr_Occurred()) SWIG_fail;
22576 {
22577 PyThreadState* __tstate = wxPyBeginAllowThreads();
22578 (arg1)->SetPageSizePixels(arg2,arg3);
22579
22580 wxPyEndAllowThreads(__tstate);
22581 if (PyErr_Occurred()) SWIG_fail;
22582 }
22583 Py_INCREF(Py_None); resultobj = Py_None;
22584 return resultobj;
22585 fail:
22586 return NULL;
22587 }
22588
22589
22590 static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *, PyObject *args, PyObject *kwargs) {
22591 PyObject *resultobj;
22592 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22593 int *arg2 = (int *) 0 ;
22594 int *arg3 = (int *) 0 ;
22595 int temp2 ;
22596 int res2 = 0 ;
22597 int temp3 ;
22598 int res3 = 0 ;
22599 PyObject * obj0 = 0 ;
22600 char *kwnames[] = {
22601 (char *) "self", NULL
22602 };
22603
22604 arg2 = &temp2; res2 = SWIG_NEWOBJ;
22605 arg3 = &temp3; res3 = SWIG_NEWOBJ;
22606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail;
22607 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22608 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22609 {
22610 PyThreadState* __tstate = wxPyBeginAllowThreads();
22611 (arg1)->GetPageSizePixels(arg2,arg3);
22612
22613 wxPyEndAllowThreads(__tstate);
22614 if (PyErr_Occurred()) SWIG_fail;
22615 }
22616 Py_INCREF(Py_None); resultobj = Py_None;
22617 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
22618 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
22619 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
22620 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
22621 return resultobj;
22622 fail:
22623 return NULL;
22624 }
22625
22626
22627 static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
22628 PyObject *resultobj;
22629 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22630 int arg2 ;
22631 int arg3 ;
22632 PyObject * obj0 = 0 ;
22633 PyObject * obj1 = 0 ;
22634 PyObject * obj2 = 0 ;
22635 char *kwnames[] = {
22636 (char *) "self",(char *) "w",(char *) "h", NULL
22637 };
22638
22639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) goto fail;
22640 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22641 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22642 arg2 = (int)SWIG_As_int(obj1);
22643 if (PyErr_Occurred()) SWIG_fail;
22644 arg3 = (int)SWIG_As_int(obj2);
22645 if (PyErr_Occurred()) SWIG_fail;
22646 {
22647 PyThreadState* __tstate = wxPyBeginAllowThreads();
22648 (arg1)->SetPageSizeMM(arg2,arg3);
22649
22650 wxPyEndAllowThreads(__tstate);
22651 if (PyErr_Occurred()) SWIG_fail;
22652 }
22653 Py_INCREF(Py_None); resultobj = Py_None;
22654 return resultobj;
22655 fail:
22656 return NULL;
22657 }
22658
22659
22660 static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
22661 PyObject *resultobj;
22662 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22663 int *arg2 = (int *) 0 ;
22664 int *arg3 = (int *) 0 ;
22665 int temp2 ;
22666 int res2 = 0 ;
22667 int temp3 ;
22668 int res3 = 0 ;
22669 PyObject * obj0 = 0 ;
22670 char *kwnames[] = {
22671 (char *) "self", NULL
22672 };
22673
22674 arg2 = &temp2; res2 = SWIG_NEWOBJ;
22675 arg3 = &temp3; res3 = SWIG_NEWOBJ;
22676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail;
22677 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22678 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22679 {
22680 PyThreadState* __tstate = wxPyBeginAllowThreads();
22681 (arg1)->GetPageSizeMM(arg2,arg3);
22682
22683 wxPyEndAllowThreads(__tstate);
22684 if (PyErr_Occurred()) SWIG_fail;
22685 }
22686 Py_INCREF(Py_None); resultobj = Py_None;
22687 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
22688 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
22689 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
22690 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
22691 return resultobj;
22692 fail:
22693 return NULL;
22694 }
22695
22696
22697 static PyObject *_wrap_Printout_SetPPIScreen(PyObject *, PyObject *args, PyObject *kwargs) {
22698 PyObject *resultobj;
22699 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22700 int arg2 ;
22701 int arg3 ;
22702 PyObject * obj0 = 0 ;
22703 PyObject * obj1 = 0 ;
22704 PyObject * obj2 = 0 ;
22705 char *kwnames[] = {
22706 (char *) "self",(char *) "x",(char *) "y", NULL
22707 };
22708
22709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
22710 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22711 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22712 arg2 = (int)SWIG_As_int(obj1);
22713 if (PyErr_Occurred()) SWIG_fail;
22714 arg3 = (int)SWIG_As_int(obj2);
22715 if (PyErr_Occurred()) SWIG_fail;
22716 {
22717 PyThreadState* __tstate = wxPyBeginAllowThreads();
22718 (arg1)->SetPPIScreen(arg2,arg3);
22719
22720 wxPyEndAllowThreads(__tstate);
22721 if (PyErr_Occurred()) SWIG_fail;
22722 }
22723 Py_INCREF(Py_None); resultobj = Py_None;
22724 return resultobj;
22725 fail:
22726 return NULL;
22727 }
22728
22729
22730 static PyObject *_wrap_Printout_GetPPIScreen(PyObject *, PyObject *args, PyObject *kwargs) {
22731 PyObject *resultobj;
22732 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22733 int *arg2 = (int *) 0 ;
22734 int *arg3 = (int *) 0 ;
22735 int temp2 ;
22736 int res2 = 0 ;
22737 int temp3 ;
22738 int res3 = 0 ;
22739 PyObject * obj0 = 0 ;
22740 char *kwnames[] = {
22741 (char *) "self", NULL
22742 };
22743
22744 arg2 = &temp2; res2 = SWIG_NEWOBJ;
22745 arg3 = &temp3; res3 = SWIG_NEWOBJ;
22746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",kwnames,&obj0)) goto fail;
22747 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22748 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22749 {
22750 PyThreadState* __tstate = wxPyBeginAllowThreads();
22751 (arg1)->GetPPIScreen(arg2,arg3);
22752
22753 wxPyEndAllowThreads(__tstate);
22754 if (PyErr_Occurred()) SWIG_fail;
22755 }
22756 Py_INCREF(Py_None); resultobj = Py_None;
22757 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
22758 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
22759 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
22760 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
22761 return resultobj;
22762 fail:
22763 return NULL;
22764 }
22765
22766
22767 static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *, PyObject *args, PyObject *kwargs) {
22768 PyObject *resultobj;
22769 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22770 int arg2 ;
22771 int arg3 ;
22772 PyObject * obj0 = 0 ;
22773 PyObject * obj1 = 0 ;
22774 PyObject * obj2 = 0 ;
22775 char *kwnames[] = {
22776 (char *) "self",(char *) "x",(char *) "y", NULL
22777 };
22778
22779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) goto fail;
22780 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22781 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22782 arg2 = (int)SWIG_As_int(obj1);
22783 if (PyErr_Occurred()) SWIG_fail;
22784 arg3 = (int)SWIG_As_int(obj2);
22785 if (PyErr_Occurred()) SWIG_fail;
22786 {
22787 PyThreadState* __tstate = wxPyBeginAllowThreads();
22788 (arg1)->SetPPIPrinter(arg2,arg3);
22789
22790 wxPyEndAllowThreads(__tstate);
22791 if (PyErr_Occurred()) SWIG_fail;
22792 }
22793 Py_INCREF(Py_None); resultobj = Py_None;
22794 return resultobj;
22795 fail:
22796 return NULL;
22797 }
22798
22799
22800 static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *, PyObject *args, PyObject *kwargs) {
22801 PyObject *resultobj;
22802 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22803 int *arg2 = (int *) 0 ;
22804 int *arg3 = (int *) 0 ;
22805 int temp2 ;
22806 int res2 = 0 ;
22807 int temp3 ;
22808 int res3 = 0 ;
22809 PyObject * obj0 = 0 ;
22810 char *kwnames[] = {
22811 (char *) "self", NULL
22812 };
22813
22814 arg2 = &temp2; res2 = SWIG_NEWOBJ;
22815 arg3 = &temp3; res3 = SWIG_NEWOBJ;
22816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail;
22817 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22818 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22819 {
22820 PyThreadState* __tstate = wxPyBeginAllowThreads();
22821 (arg1)->GetPPIPrinter(arg2,arg3);
22822
22823 wxPyEndAllowThreads(__tstate);
22824 if (PyErr_Occurred()) SWIG_fail;
22825 }
22826 Py_INCREF(Py_None); resultobj = Py_None;
22827 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
22828 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
22829 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
22830 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
22831 return resultobj;
22832 fail:
22833 return NULL;
22834 }
22835
22836
22837 static PyObject *_wrap_Printout_IsPreview(PyObject *, PyObject *args, PyObject *kwargs) {
22838 PyObject *resultobj;
22839 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22840 bool result;
22841 PyObject * obj0 = 0 ;
22842 char *kwnames[] = {
22843 (char *) "self", NULL
22844 };
22845
22846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail;
22847 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22848 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22849 {
22850 PyThreadState* __tstate = wxPyBeginAllowThreads();
22851 result = (bool)(arg1)->IsPreview();
22852
22853 wxPyEndAllowThreads(__tstate);
22854 if (PyErr_Occurred()) SWIG_fail;
22855 }
22856 {
22857 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22858 }
22859 return resultobj;
22860 fail:
22861 return NULL;
22862 }
22863
22864
22865 static PyObject *_wrap_Printout_SetIsPreview(PyObject *, PyObject *args, PyObject *kwargs) {
22866 PyObject *resultobj;
22867 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22868 bool arg2 ;
22869 PyObject * obj0 = 0 ;
22870 PyObject * obj1 = 0 ;
22871 char *kwnames[] = {
22872 (char *) "self",(char *) "p", NULL
22873 };
22874
22875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail;
22876 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22877 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22878 arg2 = (bool)SWIG_As_bool(obj1);
22879 if (PyErr_Occurred()) SWIG_fail;
22880 {
22881 PyThreadState* __tstate = wxPyBeginAllowThreads();
22882 (arg1)->SetIsPreview(arg2);
22883
22884 wxPyEndAllowThreads(__tstate);
22885 if (PyErr_Occurred()) SWIG_fail;
22886 }
22887 Py_INCREF(Py_None); resultobj = Py_None;
22888 return resultobj;
22889 fail:
22890 return NULL;
22891 }
22892
22893
22894 static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *, PyObject *args, PyObject *kwargs) {
22895 PyObject *resultobj;
22896 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22897 int arg2 ;
22898 int arg3 ;
22899 bool result;
22900 PyObject * obj0 = 0 ;
22901 PyObject * obj1 = 0 ;
22902 PyObject * obj2 = 0 ;
22903 char *kwnames[] = {
22904 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
22905 };
22906
22907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_base_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) goto fail;
22908 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22909 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22910 arg2 = (int)SWIG_As_int(obj1);
22911 if (PyErr_Occurred()) SWIG_fail;
22912 arg3 = (int)SWIG_As_int(obj2);
22913 if (PyErr_Occurred()) SWIG_fail;
22914 {
22915 PyThreadState* __tstate = wxPyBeginAllowThreads();
22916 result = (bool)(arg1)->base_OnBeginDocument(arg2,arg3);
22917
22918 wxPyEndAllowThreads(__tstate);
22919 if (PyErr_Occurred()) SWIG_fail;
22920 }
22921 {
22922 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22923 }
22924 return resultobj;
22925 fail:
22926 return NULL;
22927 }
22928
22929
22930 static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *, PyObject *args, PyObject *kwargs) {
22931 PyObject *resultobj;
22932 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22933 PyObject * obj0 = 0 ;
22934 char *kwnames[] = {
22935 (char *) "self", NULL
22936 };
22937
22938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndDocument",kwnames,&obj0)) goto fail;
22939 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22940 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22941 {
22942 PyThreadState* __tstate = wxPyBeginAllowThreads();
22943 (arg1)->base_OnEndDocument();
22944
22945 wxPyEndAllowThreads(__tstate);
22946 if (PyErr_Occurred()) SWIG_fail;
22947 }
22948 Py_INCREF(Py_None); resultobj = Py_None;
22949 return resultobj;
22950 fail:
22951 return NULL;
22952 }
22953
22954
22955 static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
22956 PyObject *resultobj;
22957 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22958 PyObject * obj0 = 0 ;
22959 char *kwnames[] = {
22960 (char *) "self", NULL
22961 };
22962
22963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnBeginPrinting",kwnames,&obj0)) goto fail;
22964 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22965 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22966 {
22967 PyThreadState* __tstate = wxPyBeginAllowThreads();
22968 (arg1)->base_OnBeginPrinting();
22969
22970 wxPyEndAllowThreads(__tstate);
22971 if (PyErr_Occurred()) SWIG_fail;
22972 }
22973 Py_INCREF(Py_None); resultobj = Py_None;
22974 return resultobj;
22975 fail:
22976 return NULL;
22977 }
22978
22979
22980 static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
22981 PyObject *resultobj;
22982 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22983 PyObject * obj0 = 0 ;
22984 char *kwnames[] = {
22985 (char *) "self", NULL
22986 };
22987
22988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndPrinting",kwnames,&obj0)) goto fail;
22989 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22990 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22991 {
22992 PyThreadState* __tstate = wxPyBeginAllowThreads();
22993 (arg1)->base_OnEndPrinting();
22994
22995 wxPyEndAllowThreads(__tstate);
22996 if (PyErr_Occurred()) SWIG_fail;
22997 }
22998 Py_INCREF(Py_None); resultobj = Py_None;
22999 return resultobj;
23000 fail:
23001 return NULL;
23002 }
23003
23004
23005 static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *, PyObject *args, PyObject *kwargs) {
23006 PyObject *resultobj;
23007 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23008 PyObject * obj0 = 0 ;
23009 char *kwnames[] = {
23010 (char *) "self", NULL
23011 };
23012
23013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnPreparePrinting",kwnames,&obj0)) goto fail;
23014 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23015 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23016 {
23017 PyThreadState* __tstate = wxPyBeginAllowThreads();
23018 (arg1)->base_OnPreparePrinting();
23019
23020 wxPyEndAllowThreads(__tstate);
23021 if (PyErr_Occurred()) SWIG_fail;
23022 }
23023 Py_INCREF(Py_None); resultobj = Py_None;
23024 return resultobj;
23025 fail:
23026 return NULL;
23027 }
23028
23029
23030 static PyObject *_wrap_Printout_base_HasPage(PyObject *, PyObject *args, PyObject *kwargs) {
23031 PyObject *resultobj;
23032 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23033 int arg2 ;
23034 bool result;
23035 PyObject * obj0 = 0 ;
23036 PyObject * obj1 = 0 ;
23037 char *kwnames[] = {
23038 (char *) "self",(char *) "page", NULL
23039 };
23040
23041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_base_HasPage",kwnames,&obj0,&obj1)) goto fail;
23042 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23043 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23044 arg2 = (int)SWIG_As_int(obj1);
23045 if (PyErr_Occurred()) SWIG_fail;
23046 {
23047 PyThreadState* __tstate = wxPyBeginAllowThreads();
23048 result = (bool)(arg1)->base_HasPage(arg2);
23049
23050 wxPyEndAllowThreads(__tstate);
23051 if (PyErr_Occurred()) SWIG_fail;
23052 }
23053 {
23054 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23055 }
23056 return resultobj;
23057 fail:
23058 return NULL;
23059 }
23060
23061
23062 static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *, PyObject *args, PyObject *kwargs) {
23063 PyObject *resultobj;
23064 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23065 int *arg2 = (int *) 0 ;
23066 int *arg3 = (int *) 0 ;
23067 int *arg4 = (int *) 0 ;
23068 int *arg5 = (int *) 0 ;
23069 int temp2 ;
23070 int res2 = 0 ;
23071 int temp3 ;
23072 int res3 = 0 ;
23073 int temp4 ;
23074 int res4 = 0 ;
23075 int temp5 ;
23076 int res5 = 0 ;
23077 PyObject * obj0 = 0 ;
23078 char *kwnames[] = {
23079 (char *) "self", NULL
23080 };
23081
23082 arg2 = &temp2; res2 = SWIG_NEWOBJ;
23083 arg3 = &temp3; res3 = SWIG_NEWOBJ;
23084 arg4 = &temp4; res4 = SWIG_NEWOBJ;
23085 arg5 = &temp5; res5 = SWIG_NEWOBJ;
23086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_GetPageInfo",kwnames,&obj0)) goto fail;
23087 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23088 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23089 {
23090 PyThreadState* __tstate = wxPyBeginAllowThreads();
23091 (arg1)->base_GetPageInfo(arg2,arg3,arg4,arg5);
23092
23093 wxPyEndAllowThreads(__tstate);
23094 if (PyErr_Occurred()) SWIG_fail;
23095 }
23096 Py_INCREF(Py_None); resultobj = Py_None;
23097 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
23098 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
23099 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
23100 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
23101 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
23102 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
23103 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
23104 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
23105 return resultobj;
23106 fail:
23107 return NULL;
23108 }
23109
23110
23111 static PyObject * Printout_swigregister(PyObject *, PyObject *args) {
23112 PyObject *obj;
23113 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23114 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj);
23115 Py_INCREF(obj);
23116 return Py_BuildValue((char *)"");
23117 }
23118 static PyObject *_wrap_new_PreviewCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
23119 PyObject *resultobj;
23120 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23121 wxWindow *arg2 = (wxWindow *) 0 ;
23122 wxPoint const &arg3_defvalue = wxDefaultPosition ;
23123 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
23124 wxSize const &arg4_defvalue = wxDefaultSize ;
23125 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
23126 long arg5 = (long) 0 ;
23127 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
23128 wxString *arg6 = (wxString *) &arg6_defvalue ;
23129 wxPreviewCanvas *result;
23130 wxPoint temp3 ;
23131 wxSize temp4 ;
23132 bool temp6 = false ;
23133 PyObject * obj0 = 0 ;
23134 PyObject * obj1 = 0 ;
23135 PyObject * obj2 = 0 ;
23136 PyObject * obj3 = 0 ;
23137 PyObject * obj4 = 0 ;
23138 PyObject * obj5 = 0 ;
23139 char *kwnames[] = {
23140 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23141 };
23142
23143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
23144 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23145 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23146 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
23147 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23148 if (obj2) {
23149 {
23150 arg3 = &temp3;
23151 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
23152 }
23153 }
23154 if (obj3) {
23155 {
23156 arg4 = &temp4;
23157 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
23158 }
23159 }
23160 if (obj4) {
23161 arg5 = (long)SWIG_As_long(obj4);
23162 if (PyErr_Occurred()) SWIG_fail;
23163 }
23164 if (obj5) {
23165 {
23166 arg6 = wxString_in_helper(obj5);
23167 if (arg6 == NULL) SWIG_fail;
23168 temp6 = true;
23169 }
23170 }
23171 {
23172 if (!wxPyCheckForApp()) SWIG_fail;
23173 PyThreadState* __tstate = wxPyBeginAllowThreads();
23174 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
23175
23176 wxPyEndAllowThreads(__tstate);
23177 if (PyErr_Occurred()) SWIG_fail;
23178 }
23179 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 1);
23180 {
23181 if (temp6)
23182 delete arg6;
23183 }
23184 return resultobj;
23185 fail:
23186 {
23187 if (temp6)
23188 delete arg6;
23189 }
23190 return NULL;
23191 }
23192
23193
23194 static PyObject * PreviewCanvas_swigregister(PyObject *, PyObject *args) {
23195 PyObject *obj;
23196 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23197 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj);
23198 Py_INCREF(obj);
23199 return Py_BuildValue((char *)"");
23200 }
23201 static PyObject *_wrap_new_PreviewFrame(PyObject *, PyObject *args, PyObject *kwargs) {
23202 PyObject *resultobj;
23203 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23204 wxFrame *arg2 = (wxFrame *) 0 ;
23205 wxString *arg3 = 0 ;
23206 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23207 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23208 wxSize const &arg5_defvalue = wxDefaultSize ;
23209 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23210 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
23211 wxString const &arg7_defvalue = wxPyFrameNameStr ;
23212 wxString *arg7 = (wxString *) &arg7_defvalue ;
23213 wxPreviewFrame *result;
23214 bool temp3 = false ;
23215 wxPoint temp4 ;
23216 wxSize temp5 ;
23217 bool temp7 = false ;
23218 PyObject * obj0 = 0 ;
23219 PyObject * obj1 = 0 ;
23220 PyObject * obj2 = 0 ;
23221 PyObject * obj3 = 0 ;
23222 PyObject * obj4 = 0 ;
23223 PyObject * obj5 = 0 ;
23224 PyObject * obj6 = 0 ;
23225 char *kwnames[] = {
23226 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23227 };
23228
23229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
23230 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23231 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23232 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
23233 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23234 {
23235 arg3 = wxString_in_helper(obj2);
23236 if (arg3 == NULL) SWIG_fail;
23237 temp3 = true;
23238 }
23239 if (obj3) {
23240 {
23241 arg4 = &temp4;
23242 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23243 }
23244 }
23245 if (obj4) {
23246 {
23247 arg5 = &temp5;
23248 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23249 }
23250 }
23251 if (obj5) {
23252 arg6 = (long)SWIG_As_long(obj5);
23253 if (PyErr_Occurred()) SWIG_fail;
23254 }
23255 if (obj6) {
23256 {
23257 arg7 = wxString_in_helper(obj6);
23258 if (arg7 == NULL) SWIG_fail;
23259 temp7 = true;
23260 }
23261 }
23262 {
23263 if (!wxPyCheckForApp()) SWIG_fail;
23264 PyThreadState* __tstate = wxPyBeginAllowThreads();
23265 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
23266
23267 wxPyEndAllowThreads(__tstate);
23268 if (PyErr_Occurred()) SWIG_fail;
23269 }
23270 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewFrame, 1);
23271 {
23272 if (temp3)
23273 delete arg3;
23274 }
23275 {
23276 if (temp7)
23277 delete arg7;
23278 }
23279 return resultobj;
23280 fail:
23281 {
23282 if (temp3)
23283 delete arg3;
23284 }
23285 {
23286 if (temp7)
23287 delete arg7;
23288 }
23289 return NULL;
23290 }
23291
23292
23293 static PyObject *_wrap_PreviewFrame_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
23294 PyObject *resultobj;
23295 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
23296 PyObject * obj0 = 0 ;
23297 char *kwnames[] = {
23298 (char *) "self", NULL
23299 };
23300
23301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail;
23302 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
23303 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23304 {
23305 PyThreadState* __tstate = wxPyBeginAllowThreads();
23306 (arg1)->Initialize();
23307
23308 wxPyEndAllowThreads(__tstate);
23309 if (PyErr_Occurred()) SWIG_fail;
23310 }
23311 Py_INCREF(Py_None); resultobj = Py_None;
23312 return resultobj;
23313 fail:
23314 return NULL;
23315 }
23316
23317
23318 static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
23319 PyObject *resultobj;
23320 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
23321 PyObject * obj0 = 0 ;
23322 char *kwnames[] = {
23323 (char *) "self", NULL
23324 };
23325
23326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail;
23327 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
23328 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23329 {
23330 PyThreadState* __tstate = wxPyBeginAllowThreads();
23331 (arg1)->CreateControlBar();
23332
23333 wxPyEndAllowThreads(__tstate);
23334 if (PyErr_Occurred()) SWIG_fail;
23335 }
23336 Py_INCREF(Py_None); resultobj = Py_None;
23337 return resultobj;
23338 fail:
23339 return NULL;
23340 }
23341
23342
23343 static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
23344 PyObject *resultobj;
23345 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
23346 PyObject * obj0 = 0 ;
23347 char *kwnames[] = {
23348 (char *) "self", NULL
23349 };
23350
23351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail;
23352 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
23353 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23354 {
23355 PyThreadState* __tstate = wxPyBeginAllowThreads();
23356 (arg1)->CreateCanvas();
23357
23358 wxPyEndAllowThreads(__tstate);
23359 if (PyErr_Occurred()) SWIG_fail;
23360 }
23361 Py_INCREF(Py_None); resultobj = Py_None;
23362 return resultobj;
23363 fail:
23364 return NULL;
23365 }
23366
23367
23368 static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
23369 PyObject *resultobj;
23370 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
23371 wxPreviewControlBar *result;
23372 PyObject * obj0 = 0 ;
23373 char *kwnames[] = {
23374 (char *) "self", NULL
23375 };
23376
23377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail;
23378 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
23379 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23380 {
23381 PyThreadState* __tstate = wxPyBeginAllowThreads();
23382 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
23383
23384 wxPyEndAllowThreads(__tstate);
23385 if (PyErr_Occurred()) SWIG_fail;
23386 }
23387 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 0);
23388 return resultobj;
23389 fail:
23390 return NULL;
23391 }
23392
23393
23394 static PyObject * PreviewFrame_swigregister(PyObject *, PyObject *args) {
23395 PyObject *obj;
23396 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23397 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj);
23398 Py_INCREF(obj);
23399 return Py_BuildValue((char *)"");
23400 }
23401 static PyObject *_wrap_new_PreviewControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
23402 PyObject *resultobj;
23403 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23404 long arg2 ;
23405 wxWindow *arg3 = (wxWindow *) 0 ;
23406 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23407 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23408 wxSize const &arg5_defvalue = wxDefaultSize ;
23409 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23410 long arg6 = (long) wxTAB_TRAVERSAL ;
23411 wxString const &arg7_defvalue = wxPyPanelNameStr ;
23412 wxString *arg7 = (wxString *) &arg7_defvalue ;
23413 wxPreviewControlBar *result;
23414 wxPoint temp4 ;
23415 wxSize temp5 ;
23416 bool temp7 = false ;
23417 PyObject * obj0 = 0 ;
23418 PyObject * obj1 = 0 ;
23419 PyObject * obj2 = 0 ;
23420 PyObject * obj3 = 0 ;
23421 PyObject * obj4 = 0 ;
23422 PyObject * obj5 = 0 ;
23423 PyObject * obj6 = 0 ;
23424 char *kwnames[] = {
23425 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23426 };
23427
23428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
23429 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23430 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23431 arg2 = (long)SWIG_As_long(obj1);
23432 if (PyErr_Occurred()) SWIG_fail;
23433 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
23434 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23435 if (obj3) {
23436 {
23437 arg4 = &temp4;
23438 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23439 }
23440 }
23441 if (obj4) {
23442 {
23443 arg5 = &temp5;
23444 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23445 }
23446 }
23447 if (obj5) {
23448 arg6 = (long)SWIG_As_long(obj5);
23449 if (PyErr_Occurred()) SWIG_fail;
23450 }
23451 if (obj6) {
23452 {
23453 arg7 = wxString_in_helper(obj6);
23454 if (arg7 == NULL) SWIG_fail;
23455 temp7 = true;
23456 }
23457 }
23458 {
23459 if (!wxPyCheckForApp()) SWIG_fail;
23460 PyThreadState* __tstate = wxPyBeginAllowThreads();
23461 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
23462
23463 wxPyEndAllowThreads(__tstate);
23464 if (PyErr_Occurred()) SWIG_fail;
23465 }
23466 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 1);
23467 {
23468 if (temp7)
23469 delete arg7;
23470 }
23471 return resultobj;
23472 fail:
23473 {
23474 if (temp7)
23475 delete arg7;
23476 }
23477 return NULL;
23478 }
23479
23480
23481 static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
23482 PyObject *resultobj;
23483 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23484 int result;
23485 PyObject * obj0 = 0 ;
23486 char *kwnames[] = {
23487 (char *) "self", NULL
23488 };
23489
23490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail;
23491 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23492 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23493 {
23494 PyThreadState* __tstate = wxPyBeginAllowThreads();
23495 result = (int)(arg1)->GetZoomControl();
23496
23497 wxPyEndAllowThreads(__tstate);
23498 if (PyErr_Occurred()) SWIG_fail;
23499 }
23500 resultobj = SWIG_From_int((int)result);
23501 return resultobj;
23502 fail:
23503 return NULL;
23504 }
23505
23506
23507 static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
23508 PyObject *resultobj;
23509 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23510 int arg2 ;
23511 PyObject * obj0 = 0 ;
23512 PyObject * obj1 = 0 ;
23513 char *kwnames[] = {
23514 (char *) "self",(char *) "zoom", NULL
23515 };
23516
23517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
23518 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23519 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23520 arg2 = (int)SWIG_As_int(obj1);
23521 if (PyErr_Occurred()) SWIG_fail;
23522 {
23523 PyThreadState* __tstate = wxPyBeginAllowThreads();
23524 (arg1)->SetZoomControl(arg2);
23525
23526 wxPyEndAllowThreads(__tstate);
23527 if (PyErr_Occurred()) SWIG_fail;
23528 }
23529 Py_INCREF(Py_None); resultobj = Py_None;
23530 return resultobj;
23531 fail:
23532 return NULL;
23533 }
23534
23535
23536 static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *, PyObject *args, PyObject *kwargs) {
23537 PyObject *resultobj;
23538 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23539 wxPrintPreview *result;
23540 PyObject * obj0 = 0 ;
23541 char *kwnames[] = {
23542 (char *) "self", NULL
23543 };
23544
23545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail;
23546 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23547 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23548 {
23549 PyThreadState* __tstate = wxPyBeginAllowThreads();
23550 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
23551
23552 wxPyEndAllowThreads(__tstate);
23553 if (PyErr_Occurred()) SWIG_fail;
23554 }
23555 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 0);
23556 return resultobj;
23557 fail:
23558 return NULL;
23559 }
23560
23561
23562 static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *, PyObject *args, PyObject *kwargs) {
23563 PyObject *resultobj;
23564 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23565 PyObject * obj0 = 0 ;
23566 char *kwnames[] = {
23567 (char *) "self", NULL
23568 };
23569
23570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail;
23571 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23572 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23573 {
23574 PyThreadState* __tstate = wxPyBeginAllowThreads();
23575 (arg1)->OnNext();
23576
23577 wxPyEndAllowThreads(__tstate);
23578 if (PyErr_Occurred()) SWIG_fail;
23579 }
23580 Py_INCREF(Py_None); resultobj = Py_None;
23581 return resultobj;
23582 fail:
23583 return NULL;
23584 }
23585
23586
23587 static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *, PyObject *args, PyObject *kwargs) {
23588 PyObject *resultobj;
23589 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23590 PyObject * obj0 = 0 ;
23591 char *kwnames[] = {
23592 (char *) "self", NULL
23593 };
23594
23595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail;
23596 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23597 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23598 {
23599 PyThreadState* __tstate = wxPyBeginAllowThreads();
23600 (arg1)->OnPrevious();
23601
23602 wxPyEndAllowThreads(__tstate);
23603 if (PyErr_Occurred()) SWIG_fail;
23604 }
23605 Py_INCREF(Py_None); resultobj = Py_None;
23606 return resultobj;
23607 fail:
23608 return NULL;
23609 }
23610
23611
23612 static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *, PyObject *args, PyObject *kwargs) {
23613 PyObject *resultobj;
23614 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23615 PyObject * obj0 = 0 ;
23616 char *kwnames[] = {
23617 (char *) "self", NULL
23618 };
23619
23620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail;
23621 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23622 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23623 {
23624 PyThreadState* __tstate = wxPyBeginAllowThreads();
23625 (arg1)->OnFirst();
23626
23627 wxPyEndAllowThreads(__tstate);
23628 if (PyErr_Occurred()) SWIG_fail;
23629 }
23630 Py_INCREF(Py_None); resultobj = Py_None;
23631 return resultobj;
23632 fail:
23633 return NULL;
23634 }
23635
23636
23637 static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *, PyObject *args, PyObject *kwargs) {
23638 PyObject *resultobj;
23639 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23640 PyObject * obj0 = 0 ;
23641 char *kwnames[] = {
23642 (char *) "self", NULL
23643 };
23644
23645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail;
23646 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23647 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23648 {
23649 PyThreadState* __tstate = wxPyBeginAllowThreads();
23650 (arg1)->OnLast();
23651
23652 wxPyEndAllowThreads(__tstate);
23653 if (PyErr_Occurred()) SWIG_fail;
23654 }
23655 Py_INCREF(Py_None); resultobj = Py_None;
23656 return resultobj;
23657 fail:
23658 return NULL;
23659 }
23660
23661
23662 static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *, PyObject *args, PyObject *kwargs) {
23663 PyObject *resultobj;
23664 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23665 PyObject * obj0 = 0 ;
23666 char *kwnames[] = {
23667 (char *) "self", NULL
23668 };
23669
23670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail;
23671 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23672 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23673 {
23674 PyThreadState* __tstate = wxPyBeginAllowThreads();
23675 (arg1)->OnGoto();
23676
23677 wxPyEndAllowThreads(__tstate);
23678 if (PyErr_Occurred()) SWIG_fail;
23679 }
23680 Py_INCREF(Py_None); resultobj = Py_None;
23681 return resultobj;
23682 fail:
23683 return NULL;
23684 }
23685
23686
23687 static PyObject * PreviewControlBar_swigregister(PyObject *, PyObject *args) {
23688 PyObject *obj;
23689 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23690 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj);
23691 Py_INCREF(obj);
23692 return Py_BuildValue((char *)"");
23693 }
23694 static PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *, PyObject *args) {
23695 PyObject *resultobj;
23696 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23697 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23698 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
23699 wxPrintPreview *result;
23700 PyObject * obj0 = 0 ;
23701 PyObject * obj1 = 0 ;
23702 PyObject * obj2 = 0 ;
23703
23704 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
23705 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23706 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23707 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23708 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23709 if (obj2) {
23710 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintDialogData,
23711 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23712 }
23713 {
23714 if (!wxPyCheckForApp()) SWIG_fail;
23715 PyThreadState* __tstate = wxPyBeginAllowThreads();
23716 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
23717
23718 wxPyEndAllowThreads(__tstate);
23719 if (PyErr_Occurred()) SWIG_fail;
23720 }
23721 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
23722 return resultobj;
23723 fail:
23724 return NULL;
23725 }
23726
23727
23728 static PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *, PyObject *args) {
23729 PyObject *resultobj;
23730 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23731 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23732 wxPrintData *arg3 = (wxPrintData *) 0 ;
23733 wxPrintPreview *result;
23734 PyObject * obj0 = 0 ;
23735 PyObject * obj1 = 0 ;
23736 PyObject * obj2 = 0 ;
23737
23738 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
23739 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23740 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23741 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23742 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23743 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData,
23744 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23745 {
23746 if (!wxPyCheckForApp()) SWIG_fail;
23747 PyThreadState* __tstate = wxPyBeginAllowThreads();
23748 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
23749
23750 wxPyEndAllowThreads(__tstate);
23751 if (PyErr_Occurred()) SWIG_fail;
23752 }
23753 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
23754 return resultobj;
23755 fail:
23756 return NULL;
23757 }
23758
23759
23760 static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
23761 int argc;
23762 PyObject *argv[4];
23763 int ii;
23764
23765 argc = PyObject_Length(args);
23766 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
23767 argv[ii] = PyTuple_GetItem(args,ii);
23768 }
23769 if ((argc >= 2) && (argc <= 3)) {
23770 int _v;
23771 {
23772 void *ptr;
23773 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23774 _v = 0;
23775 PyErr_Clear();
23776 } else {
23777 _v = 1;
23778 }
23779 }
23780 if (_v) {
23781 {
23782 void *ptr;
23783 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23784 _v = 0;
23785 PyErr_Clear();
23786 } else {
23787 _v = 1;
23788 }
23789 }
23790 if (_v) {
23791 if (argc <= 2) {
23792 return _wrap_new_PrintPreview__SWIG_0(self,args);
23793 }
23794 {
23795 void *ptr;
23796 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
23797 _v = 0;
23798 PyErr_Clear();
23799 } else {
23800 _v = 1;
23801 }
23802 }
23803 if (_v) {
23804 return _wrap_new_PrintPreview__SWIG_0(self,args);
23805 }
23806 }
23807 }
23808 }
23809 if (argc == 3) {
23810 int _v;
23811 {
23812 void *ptr;
23813 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23814 _v = 0;
23815 PyErr_Clear();
23816 } else {
23817 _v = 1;
23818 }
23819 }
23820 if (_v) {
23821 {
23822 void *ptr;
23823 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23824 _v = 0;
23825 PyErr_Clear();
23826 } else {
23827 _v = 1;
23828 }
23829 }
23830 if (_v) {
23831 {
23832 void *ptr;
23833 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
23834 _v = 0;
23835 PyErr_Clear();
23836 } else {
23837 _v = 1;
23838 }
23839 }
23840 if (_v) {
23841 return _wrap_new_PrintPreview__SWIG_1(self,args);
23842 }
23843 }
23844 }
23845 }
23846
23847 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintPreview'");
23848 return NULL;
23849 }
23850
23851
23852 static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
23853 PyObject *resultobj;
23854 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23855 int arg2 ;
23856 bool result;
23857 PyObject * obj0 = 0 ;
23858 PyObject * obj1 = 0 ;
23859 char *kwnames[] = {
23860 (char *) "self",(char *) "pageNum", NULL
23861 };
23862
23863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
23864 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23865 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23866 arg2 = (int)SWIG_As_int(obj1);
23867 if (PyErr_Occurred()) SWIG_fail;
23868 {
23869 PyThreadState* __tstate = wxPyBeginAllowThreads();
23870 result = (bool)(arg1)->SetCurrentPage(arg2);
23871
23872 wxPyEndAllowThreads(__tstate);
23873 if (PyErr_Occurred()) SWIG_fail;
23874 }
23875 {
23876 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23877 }
23878 return resultobj;
23879 fail:
23880 return NULL;
23881 }
23882
23883
23884 static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
23885 PyObject *resultobj;
23886 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23887 int result;
23888 PyObject * obj0 = 0 ;
23889 char *kwnames[] = {
23890 (char *) "self", NULL
23891 };
23892
23893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail;
23894 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23895 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23896 {
23897 PyThreadState* __tstate = wxPyBeginAllowThreads();
23898 result = (int)(arg1)->GetCurrentPage();
23899
23900 wxPyEndAllowThreads(__tstate);
23901 if (PyErr_Occurred()) SWIG_fail;
23902 }
23903 resultobj = SWIG_From_int((int)result);
23904 return resultobj;
23905 fail:
23906 return NULL;
23907 }
23908
23909
23910 static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *, PyObject *args, PyObject *kwargs) {
23911 PyObject *resultobj;
23912 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23913 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23914 PyObject * obj0 = 0 ;
23915 PyObject * obj1 = 0 ;
23916 char *kwnames[] = {
23917 (char *) "self",(char *) "printout", NULL
23918 };
23919
23920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail;
23921 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23923 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23924 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23925 {
23926 PyThreadState* __tstate = wxPyBeginAllowThreads();
23927 (arg1)->SetPrintout(arg2);
23928
23929 wxPyEndAllowThreads(__tstate);
23930 if (PyErr_Occurred()) SWIG_fail;
23931 }
23932 Py_INCREF(Py_None); resultobj = Py_None;
23933 return resultobj;
23934 fail:
23935 return NULL;
23936 }
23937
23938
23939 static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *, PyObject *args, PyObject *kwargs) {
23940 PyObject *resultobj;
23941 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23942 wxPyPrintout *result;
23943 PyObject * obj0 = 0 ;
23944 char *kwnames[] = {
23945 (char *) "self", NULL
23946 };
23947
23948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail;
23949 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23950 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23951 {
23952 PyThreadState* __tstate = wxPyBeginAllowThreads();
23953 result = (wxPyPrintout *)(arg1)->GetPrintout();
23954
23955 wxPyEndAllowThreads(__tstate);
23956 if (PyErr_Occurred()) SWIG_fail;
23957 }
23958 {
23959 resultobj = wxPyMake_wxObject(result, 0);
23960 }
23961 return resultobj;
23962 fail:
23963 return NULL;
23964 }
23965
23966
23967 static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
23968 PyObject *resultobj;
23969 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23970 wxPyPrintout *result;
23971 PyObject * obj0 = 0 ;
23972 char *kwnames[] = {
23973 (char *) "self", NULL
23974 };
23975
23976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail;
23977 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23978 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23979 {
23980 PyThreadState* __tstate = wxPyBeginAllowThreads();
23981 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
23982
23983 wxPyEndAllowThreads(__tstate);
23984 if (PyErr_Occurred()) SWIG_fail;
23985 }
23986 {
23987 resultobj = wxPyMake_wxObject(result, 0);
23988 }
23989 return resultobj;
23990 fail:
23991 return NULL;
23992 }
23993
23994
23995 static PyObject *_wrap_PrintPreview_SetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
23996 PyObject *resultobj;
23997 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23998 wxFrame *arg2 = (wxFrame *) 0 ;
23999 PyObject * obj0 = 0 ;
24000 PyObject * obj1 = 0 ;
24001 char *kwnames[] = {
24002 (char *) "self",(char *) "frame", NULL
24003 };
24004
24005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail;
24006 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24007 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24008 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
24009 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24010 {
24011 PyThreadState* __tstate = wxPyBeginAllowThreads();
24012 (arg1)->SetFrame(arg2);
24013
24014 wxPyEndAllowThreads(__tstate);
24015 if (PyErr_Occurred()) SWIG_fail;
24016 }
24017 Py_INCREF(Py_None); resultobj = Py_None;
24018 return resultobj;
24019 fail:
24020 return NULL;
24021 }
24022
24023
24024 static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
24025 PyObject *resultobj;
24026 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24027 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
24028 PyObject * obj0 = 0 ;
24029 PyObject * obj1 = 0 ;
24030 char *kwnames[] = {
24031 (char *) "self",(char *) "canvas", NULL
24032 };
24033
24034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
24035 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24036 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24037 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
24038 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24039 {
24040 PyThreadState* __tstate = wxPyBeginAllowThreads();
24041 (arg1)->SetCanvas(arg2);
24042
24043 wxPyEndAllowThreads(__tstate);
24044 if (PyErr_Occurred()) SWIG_fail;
24045 }
24046 Py_INCREF(Py_None); resultobj = Py_None;
24047 return resultobj;
24048 fail:
24049 return NULL;
24050 }
24051
24052
24053 static PyObject *_wrap_PrintPreview_GetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
24054 PyObject *resultobj;
24055 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24056 wxFrame *result;
24057 PyObject * obj0 = 0 ;
24058 char *kwnames[] = {
24059 (char *) "self", NULL
24060 };
24061
24062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail;
24063 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24064 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24065 {
24066 PyThreadState* __tstate = wxPyBeginAllowThreads();
24067 result = (wxFrame *)(arg1)->GetFrame();
24068
24069 wxPyEndAllowThreads(__tstate);
24070 if (PyErr_Occurred()) SWIG_fail;
24071 }
24072 {
24073 resultobj = wxPyMake_wxObject(result, 0);
24074 }
24075 return resultobj;
24076 fail:
24077 return NULL;
24078 }
24079
24080
24081 static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
24082 PyObject *resultobj;
24083 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24084 wxPreviewCanvas *result;
24085 PyObject * obj0 = 0 ;
24086 char *kwnames[] = {
24087 (char *) "self", NULL
24088 };
24089
24090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail;
24091 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24092 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24093 {
24094 PyThreadState* __tstate = wxPyBeginAllowThreads();
24095 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
24096
24097 wxPyEndAllowThreads(__tstate);
24098 if (PyErr_Occurred()) SWIG_fail;
24099 }
24100 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 0);
24101 return resultobj;
24102 fail:
24103 return NULL;
24104 }
24105
24106
24107 static PyObject *_wrap_PrintPreview_PaintPage(PyObject *, PyObject *args, PyObject *kwargs) {
24108 PyObject *resultobj;
24109 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24110 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
24111 wxDC *arg3 = 0 ;
24112 bool result;
24113 PyObject * obj0 = 0 ;
24114 PyObject * obj1 = 0 ;
24115 PyObject * obj2 = 0 ;
24116 char *kwnames[] = {
24117 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24118 };
24119
24120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
24121 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24122 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24123 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
24124 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24125 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
24126 SWIG_POINTER_EXCEPTION | 0)) == -1)
24127 SWIG_fail;
24128 if (arg3 == NULL) {
24129 PyErr_SetString(PyExc_TypeError,"null reference");
24130 SWIG_fail;
24131 }
24132 {
24133 PyThreadState* __tstate = wxPyBeginAllowThreads();
24134 result = (bool)(arg1)->PaintPage(arg2,*arg3);
24135
24136 wxPyEndAllowThreads(__tstate);
24137 if (PyErr_Occurred()) SWIG_fail;
24138 }
24139 {
24140 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24141 }
24142 return resultobj;
24143 fail:
24144 return NULL;
24145 }
24146
24147
24148 static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *, PyObject *args, PyObject *kwargs) {
24149 PyObject *resultobj;
24150 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24151 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
24152 wxDC *arg3 = 0 ;
24153 bool result;
24154 PyObject * obj0 = 0 ;
24155 PyObject * obj1 = 0 ;
24156 PyObject * obj2 = 0 ;
24157 char *kwnames[] = {
24158 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24159 };
24160
24161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
24162 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24163 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24164 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
24165 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24166 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
24167 SWIG_POINTER_EXCEPTION | 0)) == -1)
24168 SWIG_fail;
24169 if (arg3 == NULL) {
24170 PyErr_SetString(PyExc_TypeError,"null reference");
24171 SWIG_fail;
24172 }
24173 {
24174 PyThreadState* __tstate = wxPyBeginAllowThreads();
24175 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
24176
24177 wxPyEndAllowThreads(__tstate);
24178 if (PyErr_Occurred()) SWIG_fail;
24179 }
24180 {
24181 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24182 }
24183 return resultobj;
24184 fail:
24185 return NULL;
24186 }
24187
24188
24189 static PyObject *_wrap_PrintPreview_RenderPage(PyObject *, PyObject *args, PyObject *kwargs) {
24190 PyObject *resultobj;
24191 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24192 int arg2 ;
24193 bool result;
24194 PyObject * obj0 = 0 ;
24195 PyObject * obj1 = 0 ;
24196 char *kwnames[] = {
24197 (char *) "self",(char *) "pageNum", NULL
24198 };
24199
24200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) goto fail;
24201 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24202 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24203 arg2 = (int)SWIG_As_int(obj1);
24204 if (PyErr_Occurred()) SWIG_fail;
24205 {
24206 PyThreadState* __tstate = wxPyBeginAllowThreads();
24207 result = (bool)(arg1)->RenderPage(arg2);
24208
24209 wxPyEndAllowThreads(__tstate);
24210 if (PyErr_Occurred()) SWIG_fail;
24211 }
24212 {
24213 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24214 }
24215 return resultobj;
24216 fail:
24217 return NULL;
24218 }
24219
24220
24221 static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
24222 PyObject *resultobj;
24223 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24224 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
24225 PyObject * obj0 = 0 ;
24226 PyObject * obj1 = 0 ;
24227 char *kwnames[] = {
24228 (char *) "self",(char *) "canvas", NULL
24229 };
24230
24231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail;
24232 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24233 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24234 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
24235 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24236 {
24237 PyThreadState* __tstate = wxPyBeginAllowThreads();
24238 (arg1)->AdjustScrollbars(arg2);
24239
24240 wxPyEndAllowThreads(__tstate);
24241 if (PyErr_Occurred()) SWIG_fail;
24242 }
24243 Py_INCREF(Py_None); resultobj = Py_None;
24244 return resultobj;
24245 fail:
24246 return NULL;
24247 }
24248
24249
24250 static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
24251 PyObject *resultobj;
24252 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24253 wxPrintDialogData *result;
24254 PyObject * obj0 = 0 ;
24255 char *kwnames[] = {
24256 (char *) "self", NULL
24257 };
24258
24259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail;
24260 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24261 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24262 {
24263 PyThreadState* __tstate = wxPyBeginAllowThreads();
24264 {
24265 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
24266 result = (wxPrintDialogData *) &_result_ref;
24267 }
24268
24269 wxPyEndAllowThreads(__tstate);
24270 if (PyErr_Occurred()) SWIG_fail;
24271 }
24272 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
24273 return resultobj;
24274 fail:
24275 return NULL;
24276 }
24277
24278
24279 static PyObject *_wrap_PrintPreview_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
24280 PyObject *resultobj;
24281 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24282 int arg2 ;
24283 PyObject * obj0 = 0 ;
24284 PyObject * obj1 = 0 ;
24285 char *kwnames[] = {
24286 (char *) "self",(char *) "percent", NULL
24287 };
24288
24289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) goto fail;
24290 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24291 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24292 arg2 = (int)SWIG_As_int(obj1);
24293 if (PyErr_Occurred()) SWIG_fail;
24294 {
24295 PyThreadState* __tstate = wxPyBeginAllowThreads();
24296 (arg1)->SetZoom(arg2);
24297
24298 wxPyEndAllowThreads(__tstate);
24299 if (PyErr_Occurred()) SWIG_fail;
24300 }
24301 Py_INCREF(Py_None); resultobj = Py_None;
24302 return resultobj;
24303 fail:
24304 return NULL;
24305 }
24306
24307
24308 static PyObject *_wrap_PrintPreview_GetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
24309 PyObject *resultobj;
24310 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24311 int result;
24312 PyObject * obj0 = 0 ;
24313 char *kwnames[] = {
24314 (char *) "self", NULL
24315 };
24316
24317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail;
24318 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24319 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24320 {
24321 PyThreadState* __tstate = wxPyBeginAllowThreads();
24322 result = (int)(arg1)->GetZoom();
24323
24324 wxPyEndAllowThreads(__tstate);
24325 if (PyErr_Occurred()) SWIG_fail;
24326 }
24327 resultobj = SWIG_From_int((int)result);
24328 return resultobj;
24329 fail:
24330 return NULL;
24331 }
24332
24333
24334 static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
24335 PyObject *resultobj;
24336 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24337 int result;
24338 PyObject * obj0 = 0 ;
24339 char *kwnames[] = {
24340 (char *) "self", NULL
24341 };
24342
24343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail;
24344 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24345 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24346 {
24347 PyThreadState* __tstate = wxPyBeginAllowThreads();
24348 result = (int)(arg1)->GetMaxPage();
24349
24350 wxPyEndAllowThreads(__tstate);
24351 if (PyErr_Occurred()) SWIG_fail;
24352 }
24353 resultobj = SWIG_From_int((int)result);
24354 return resultobj;
24355 fail:
24356 return NULL;
24357 }
24358
24359
24360 static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
24361 PyObject *resultobj;
24362 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24363 int result;
24364 PyObject * obj0 = 0 ;
24365 char *kwnames[] = {
24366 (char *) "self", NULL
24367 };
24368
24369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail;
24370 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24371 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24372 {
24373 PyThreadState* __tstate = wxPyBeginAllowThreads();
24374 result = (int)(arg1)->GetMinPage();
24375
24376 wxPyEndAllowThreads(__tstate);
24377 if (PyErr_Occurred()) SWIG_fail;
24378 }
24379 resultobj = SWIG_From_int((int)result);
24380 return resultobj;
24381 fail:
24382 return NULL;
24383 }
24384
24385
24386 static PyObject *_wrap_PrintPreview_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
24387 PyObject *resultobj;
24388 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24389 bool result;
24390 PyObject * obj0 = 0 ;
24391 char *kwnames[] = {
24392 (char *) "self", NULL
24393 };
24394
24395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail;
24396 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24397 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24398 {
24399 PyThreadState* __tstate = wxPyBeginAllowThreads();
24400 result = (bool)(arg1)->Ok();
24401
24402 wxPyEndAllowThreads(__tstate);
24403 if (PyErr_Occurred()) SWIG_fail;
24404 }
24405 {
24406 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24407 }
24408 return resultobj;
24409 fail:
24410 return NULL;
24411 }
24412
24413
24414 static PyObject *_wrap_PrintPreview_SetOk(PyObject *, PyObject *args, PyObject *kwargs) {
24415 PyObject *resultobj;
24416 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24417 bool arg2 ;
24418 PyObject * obj0 = 0 ;
24419 PyObject * obj1 = 0 ;
24420 char *kwnames[] = {
24421 (char *) "self",(char *) "ok", NULL
24422 };
24423
24424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail;
24425 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24426 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24427 arg2 = (bool)SWIG_As_bool(obj1);
24428 if (PyErr_Occurred()) SWIG_fail;
24429 {
24430 PyThreadState* __tstate = wxPyBeginAllowThreads();
24431 (arg1)->SetOk(arg2);
24432
24433 wxPyEndAllowThreads(__tstate);
24434 if (PyErr_Occurred()) SWIG_fail;
24435 }
24436 Py_INCREF(Py_None); resultobj = Py_None;
24437 return resultobj;
24438 fail:
24439 return NULL;
24440 }
24441
24442
24443 static PyObject *_wrap_PrintPreview_Print(PyObject *, PyObject *args, PyObject *kwargs) {
24444 PyObject *resultobj;
24445 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24446 bool arg2 ;
24447 bool result;
24448 PyObject * obj0 = 0 ;
24449 PyObject * obj1 = 0 ;
24450 char *kwnames[] = {
24451 (char *) "self",(char *) "interactive", NULL
24452 };
24453
24454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail;
24455 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24456 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24457 arg2 = (bool)SWIG_As_bool(obj1);
24458 if (PyErr_Occurred()) SWIG_fail;
24459 {
24460 PyThreadState* __tstate = wxPyBeginAllowThreads();
24461 result = (bool)(arg1)->Print(arg2);
24462
24463 wxPyEndAllowThreads(__tstate);
24464 if (PyErr_Occurred()) SWIG_fail;
24465 }
24466 {
24467 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24468 }
24469 return resultobj;
24470 fail:
24471 return NULL;
24472 }
24473
24474
24475 static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *, PyObject *args, PyObject *kwargs) {
24476 PyObject *resultobj;
24477 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24478 PyObject * obj0 = 0 ;
24479 char *kwnames[] = {
24480 (char *) "self", NULL
24481 };
24482
24483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail;
24484 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24485 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24486 {
24487 PyThreadState* __tstate = wxPyBeginAllowThreads();
24488 (arg1)->DetermineScaling();
24489
24490 wxPyEndAllowThreads(__tstate);
24491 if (PyErr_Occurred()) SWIG_fail;
24492 }
24493 Py_INCREF(Py_None); resultobj = Py_None;
24494 return resultobj;
24495 fail:
24496 return NULL;
24497 }
24498
24499
24500 static PyObject * PrintPreview_swigregister(PyObject *, PyObject *args) {
24501 PyObject *obj;
24502 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24503 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj);
24504 Py_INCREF(obj);
24505 return Py_BuildValue((char *)"");
24506 }
24507 static PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *, PyObject *args) {
24508 PyObject *resultobj;
24509 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24510 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
24511 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
24512 wxPyPrintPreview *result;
24513 PyObject * obj0 = 0 ;
24514 PyObject * obj1 = 0 ;
24515 PyObject * obj2 = 0 ;
24516
24517 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
24518 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
24519 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24520 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
24521 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24522 if (obj2) {
24523 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintDialogData,
24524 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24525 }
24526 {
24527 if (!wxPyCheckForApp()) SWIG_fail;
24528 PyThreadState* __tstate = wxPyBeginAllowThreads();
24529 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
24530
24531 wxPyEndAllowThreads(__tstate);
24532 if (PyErr_Occurred()) SWIG_fail;
24533 }
24534 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
24535 return resultobj;
24536 fail:
24537 return NULL;
24538 }
24539
24540
24541 static PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *, PyObject *args) {
24542 PyObject *resultobj;
24543 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24544 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
24545 wxPrintData *arg3 = (wxPrintData *) 0 ;
24546 wxPyPrintPreview *result;
24547 PyObject * obj0 = 0 ;
24548 PyObject * obj1 = 0 ;
24549 PyObject * obj2 = 0 ;
24550
24551 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
24552 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
24553 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24554 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
24555 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24556 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData,
24557 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24558 {
24559 if (!wxPyCheckForApp()) SWIG_fail;
24560 PyThreadState* __tstate = wxPyBeginAllowThreads();
24561 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
24562
24563 wxPyEndAllowThreads(__tstate);
24564 if (PyErr_Occurred()) SWIG_fail;
24565 }
24566 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
24567 return resultobj;
24568 fail:
24569 return NULL;
24570 }
24571
24572
24573 static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
24574 int argc;
24575 PyObject *argv[4];
24576 int ii;
24577
24578 argc = PyObject_Length(args);
24579 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
24580 argv[ii] = PyTuple_GetItem(args,ii);
24581 }
24582 if ((argc >= 2) && (argc <= 3)) {
24583 int _v;
24584 {
24585 void *ptr;
24586 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
24587 _v = 0;
24588 PyErr_Clear();
24589 } else {
24590 _v = 1;
24591 }
24592 }
24593 if (_v) {
24594 {
24595 void *ptr;
24596 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
24597 _v = 0;
24598 PyErr_Clear();
24599 } else {
24600 _v = 1;
24601 }
24602 }
24603 if (_v) {
24604 if (argc <= 2) {
24605 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
24606 }
24607 {
24608 void *ptr;
24609 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
24610 _v = 0;
24611 PyErr_Clear();
24612 } else {
24613 _v = 1;
24614 }
24615 }
24616 if (_v) {
24617 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
24618 }
24619 }
24620 }
24621 }
24622 if (argc == 3) {
24623 int _v;
24624 {
24625 void *ptr;
24626 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
24627 _v = 0;
24628 PyErr_Clear();
24629 } else {
24630 _v = 1;
24631 }
24632 }
24633 if (_v) {
24634 {
24635 void *ptr;
24636 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
24637 _v = 0;
24638 PyErr_Clear();
24639 } else {
24640 _v = 1;
24641 }
24642 }
24643 if (_v) {
24644 {
24645 void *ptr;
24646 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
24647 _v = 0;
24648 PyErr_Clear();
24649 } else {
24650 _v = 1;
24651 }
24652 }
24653 if (_v) {
24654 return _wrap_new_PyPrintPreview__SWIG_1(self,args);
24655 }
24656 }
24657 }
24658 }
24659
24660 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PyPrintPreview'");
24661 return NULL;
24662 }
24663
24664
24665 static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
24666 PyObject *resultobj;
24667 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24668 PyObject *arg2 = (PyObject *) 0 ;
24669 PyObject *arg3 = (PyObject *) 0 ;
24670 PyObject * obj0 = 0 ;
24671 PyObject * obj1 = 0 ;
24672 PyObject * obj2 = 0 ;
24673 char *kwnames[] = {
24674 (char *) "self",(char *) "self",(char *) "_class", NULL
24675 };
24676
24677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24678 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24679 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24680 arg2 = obj1;
24681 arg3 = obj2;
24682 {
24683 PyThreadState* __tstate = wxPyBeginAllowThreads();
24684 (arg1)->_setCallbackInfo(arg2,arg3);
24685
24686 wxPyEndAllowThreads(__tstate);
24687 if (PyErr_Occurred()) SWIG_fail;
24688 }
24689 Py_INCREF(Py_None); resultobj = Py_None;
24690 return resultobj;
24691 fail:
24692 return NULL;
24693 }
24694
24695
24696 static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
24697 PyObject *resultobj;
24698 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24699 int arg2 ;
24700 bool result;
24701 PyObject * obj0 = 0 ;
24702 PyObject * obj1 = 0 ;
24703 char *kwnames[] = {
24704 (char *) "self",(char *) "pageNum", NULL
24705 };
24706
24707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
24708 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24709 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24710 arg2 = (int)SWIG_As_int(obj1);
24711 if (PyErr_Occurred()) SWIG_fail;
24712 {
24713 PyThreadState* __tstate = wxPyBeginAllowThreads();
24714 result = (bool)(arg1)->base_SetCurrentPage(arg2);
24715
24716 wxPyEndAllowThreads(__tstate);
24717 if (PyErr_Occurred()) SWIG_fail;
24718 }
24719 {
24720 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24721 }
24722 return resultobj;
24723 fail:
24724 return NULL;
24725 }
24726
24727
24728 static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *, PyObject *args, PyObject *kwargs) {
24729 PyObject *resultobj;
24730 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24731 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
24732 wxDC *arg3 = 0 ;
24733 bool result;
24734 PyObject * obj0 = 0 ;
24735 PyObject * obj1 = 0 ;
24736 PyObject * obj2 = 0 ;
24737 char *kwnames[] = {
24738 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24739 };
24740
24741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
24742 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24743 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24744 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
24745 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24746 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
24747 SWIG_POINTER_EXCEPTION | 0)) == -1)
24748 SWIG_fail;
24749 if (arg3 == NULL) {
24750 PyErr_SetString(PyExc_TypeError,"null reference");
24751 SWIG_fail;
24752 }
24753 {
24754 PyThreadState* __tstate = wxPyBeginAllowThreads();
24755 result = (bool)(arg1)->base_PaintPage(arg2,*arg3);
24756
24757 wxPyEndAllowThreads(__tstate);
24758 if (PyErr_Occurred()) SWIG_fail;
24759 }
24760 {
24761 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24762 }
24763 return resultobj;
24764 fail:
24765 return NULL;
24766 }
24767
24768
24769 static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *, PyObject *args, PyObject *kwargs) {
24770 PyObject *resultobj;
24771 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24772 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
24773 wxDC *arg3 = 0 ;
24774 bool result;
24775 PyObject * obj0 = 0 ;
24776 PyObject * obj1 = 0 ;
24777 PyObject * obj2 = 0 ;
24778 char *kwnames[] = {
24779 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24780 };
24781
24782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
24783 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24784 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24785 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
24786 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24787 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
24788 SWIG_POINTER_EXCEPTION | 0)) == -1)
24789 SWIG_fail;
24790 if (arg3 == NULL) {
24791 PyErr_SetString(PyExc_TypeError,"null reference");
24792 SWIG_fail;
24793 }
24794 {
24795 PyThreadState* __tstate = wxPyBeginAllowThreads();
24796 result = (bool)(arg1)->base_DrawBlankPage(arg2,*arg3);
24797
24798 wxPyEndAllowThreads(__tstate);
24799 if (PyErr_Occurred()) SWIG_fail;
24800 }
24801 {
24802 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24803 }
24804 return resultobj;
24805 fail:
24806 return NULL;
24807 }
24808
24809
24810 static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *, PyObject *args, PyObject *kwargs) {
24811 PyObject *resultobj;
24812 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24813 int arg2 ;
24814 bool result;
24815 PyObject * obj0 = 0 ;
24816 PyObject * obj1 = 0 ;
24817 char *kwnames[] = {
24818 (char *) "self",(char *) "pageNum", NULL
24819 };
24820
24821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames,&obj0,&obj1)) goto fail;
24822 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24823 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24824 arg2 = (int)SWIG_As_int(obj1);
24825 if (PyErr_Occurred()) SWIG_fail;
24826 {
24827 PyThreadState* __tstate = wxPyBeginAllowThreads();
24828 result = (bool)(arg1)->base_RenderPage(arg2);
24829
24830 wxPyEndAllowThreads(__tstate);
24831 if (PyErr_Occurred()) SWIG_fail;
24832 }
24833 {
24834 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24835 }
24836 return resultobj;
24837 fail:
24838 return NULL;
24839 }
24840
24841
24842 static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
24843 PyObject *resultobj;
24844 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24845 int arg2 ;
24846 PyObject * obj0 = 0 ;
24847 PyObject * obj1 = 0 ;
24848 char *kwnames[] = {
24849 (char *) "self",(char *) "percent", NULL
24850 };
24851
24852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames,&obj0,&obj1)) goto fail;
24853 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24854 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24855 arg2 = (int)SWIG_As_int(obj1);
24856 if (PyErr_Occurred()) SWIG_fail;
24857 {
24858 PyThreadState* __tstate = wxPyBeginAllowThreads();
24859 (arg1)->base_SetZoom(arg2);
24860
24861 wxPyEndAllowThreads(__tstate);
24862 if (PyErr_Occurred()) SWIG_fail;
24863 }
24864 Py_INCREF(Py_None); resultobj = Py_None;
24865 return resultobj;
24866 fail:
24867 return NULL;
24868 }
24869
24870
24871 static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *, PyObject *args, PyObject *kwargs) {
24872 PyObject *resultobj;
24873 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24874 bool arg2 ;
24875 bool result;
24876 PyObject * obj0 = 0 ;
24877 PyObject * obj1 = 0 ;
24878 char *kwnames[] = {
24879 (char *) "self",(char *) "interactive", NULL
24880 };
24881
24882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_Print",kwnames,&obj0,&obj1)) goto fail;
24883 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24884 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24885 arg2 = (bool)SWIG_As_bool(obj1);
24886 if (PyErr_Occurred()) SWIG_fail;
24887 {
24888 PyThreadState* __tstate = wxPyBeginAllowThreads();
24889 result = (bool)(arg1)->base_Print(arg2);
24890
24891 wxPyEndAllowThreads(__tstate);
24892 if (PyErr_Occurred()) SWIG_fail;
24893 }
24894 {
24895 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24896 }
24897 return resultobj;
24898 fail:
24899 return NULL;
24900 }
24901
24902
24903 static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *, PyObject *args, PyObject *kwargs) {
24904 PyObject *resultobj;
24905 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24906 PyObject * obj0 = 0 ;
24907 char *kwnames[] = {
24908 (char *) "self", NULL
24909 };
24910
24911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames,&obj0)) goto fail;
24912 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24913 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24914 {
24915 PyThreadState* __tstate = wxPyBeginAllowThreads();
24916 (arg1)->base_DetermineScaling();
24917
24918 wxPyEndAllowThreads(__tstate);
24919 if (PyErr_Occurred()) SWIG_fail;
24920 }
24921 Py_INCREF(Py_None); resultobj = Py_None;
24922 return resultobj;
24923 fail:
24924 return NULL;
24925 }
24926
24927
24928 static PyObject * PyPrintPreview_swigregister(PyObject *, PyObject *args) {
24929 PyObject *obj;
24930 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24931 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj);
24932 Py_INCREF(obj);
24933 return Py_BuildValue((char *)"");
24934 }
24935 static PyObject *_wrap_new_PyPreviewFrame(PyObject *, PyObject *args, PyObject *kwargs) {
24936 PyObject *resultobj;
24937 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24938 wxFrame *arg2 = (wxFrame *) 0 ;
24939 wxString *arg3 = 0 ;
24940 wxPoint const &arg4_defvalue = wxDefaultPosition ;
24941 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
24942 wxSize const &arg5_defvalue = wxDefaultSize ;
24943 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
24944 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
24945 wxString const &arg7_defvalue = wxPyFrameNameStr ;
24946 wxString *arg7 = (wxString *) &arg7_defvalue ;
24947 wxPyPreviewFrame *result;
24948 bool temp3 = false ;
24949 wxPoint temp4 ;
24950 wxSize temp5 ;
24951 bool temp7 = false ;
24952 PyObject * obj0 = 0 ;
24953 PyObject * obj1 = 0 ;
24954 PyObject * obj2 = 0 ;
24955 PyObject * obj3 = 0 ;
24956 PyObject * obj4 = 0 ;
24957 PyObject * obj5 = 0 ;
24958 PyObject * obj6 = 0 ;
24959 char *kwnames[] = {
24960 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24961 };
24962
24963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
24964 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24965 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24966 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
24967 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24968 {
24969 arg3 = wxString_in_helper(obj2);
24970 if (arg3 == NULL) SWIG_fail;
24971 temp3 = true;
24972 }
24973 if (obj3) {
24974 {
24975 arg4 = &temp4;
24976 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
24977 }
24978 }
24979 if (obj4) {
24980 {
24981 arg5 = &temp5;
24982 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
24983 }
24984 }
24985 if (obj5) {
24986 arg6 = (long)SWIG_As_long(obj5);
24987 if (PyErr_Occurred()) SWIG_fail;
24988 }
24989 if (obj6) {
24990 {
24991 arg7 = wxString_in_helper(obj6);
24992 if (arg7 == NULL) SWIG_fail;
24993 temp7 = true;
24994 }
24995 }
24996 {
24997 if (!wxPyCheckForApp()) SWIG_fail;
24998 PyThreadState* __tstate = wxPyBeginAllowThreads();
24999 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
25000
25001 wxPyEndAllowThreads(__tstate);
25002 if (PyErr_Occurred()) SWIG_fail;
25003 }
25004 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewFrame, 1);
25005 {
25006 if (temp3)
25007 delete arg3;
25008 }
25009 {
25010 if (temp7)
25011 delete arg7;
25012 }
25013 return resultobj;
25014 fail:
25015 {
25016 if (temp3)
25017 delete arg3;
25018 }
25019 {
25020 if (temp7)
25021 delete arg7;
25022 }
25023 return NULL;
25024 }
25025
25026
25027 static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
25028 PyObject *resultobj;
25029 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
25030 PyObject *arg2 = (PyObject *) 0 ;
25031 PyObject *arg3 = (PyObject *) 0 ;
25032 PyObject * obj0 = 0 ;
25033 PyObject * obj1 = 0 ;
25034 PyObject * obj2 = 0 ;
25035 char *kwnames[] = {
25036 (char *) "self",(char *) "self",(char *) "_class", NULL
25037 };
25038
25039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
25040 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
25041 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25042 arg2 = obj1;
25043 arg3 = obj2;
25044 {
25045 PyThreadState* __tstate = wxPyBeginAllowThreads();
25046 (arg1)->_setCallbackInfo(arg2,arg3);
25047
25048 wxPyEndAllowThreads(__tstate);
25049 if (PyErr_Occurred()) SWIG_fail;
25050 }
25051 Py_INCREF(Py_None); resultobj = Py_None;
25052 return resultobj;
25053 fail:
25054 return NULL;
25055 }
25056
25057
25058 static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
25059 PyObject *resultobj;
25060 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
25061 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
25062 PyObject * obj0 = 0 ;
25063 PyObject * obj1 = 0 ;
25064 char *kwnames[] = {
25065 (char *) "self",(char *) "canvas", NULL
25066 };
25067
25068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail;
25069 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
25070 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25071 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
25072 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25073 {
25074 PyThreadState* __tstate = wxPyBeginAllowThreads();
25075 (arg1)->SetPreviewCanvas(arg2);
25076
25077 wxPyEndAllowThreads(__tstate);
25078 if (PyErr_Occurred()) SWIG_fail;
25079 }
25080 Py_INCREF(Py_None); resultobj = Py_None;
25081 return resultobj;
25082 fail:
25083 return NULL;
25084 }
25085
25086
25087 static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
25088 PyObject *resultobj;
25089 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
25090 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
25091 PyObject * obj0 = 0 ;
25092 PyObject * obj1 = 0 ;
25093 char *kwnames[] = {
25094 (char *) "self",(char *) "bar", NULL
25095 };
25096
25097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail;
25098 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
25099 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25100 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewControlBar,
25101 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25102 {
25103 PyThreadState* __tstate = wxPyBeginAllowThreads();
25104 (arg1)->SetControlBar(arg2);
25105
25106 wxPyEndAllowThreads(__tstate);
25107 if (PyErr_Occurred()) SWIG_fail;
25108 }
25109 Py_INCREF(Py_None); resultobj = Py_None;
25110 return resultobj;
25111 fail:
25112 return NULL;
25113 }
25114
25115
25116 static PyObject *_wrap_PyPreviewFrame_base_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
25117 PyObject *resultobj;
25118 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
25119 PyObject * obj0 = 0 ;
25120 char *kwnames[] = {
25121 (char *) "self", NULL
25122 };
25123
25124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_Initialize",kwnames,&obj0)) goto fail;
25125 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
25126 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25127 {
25128 PyThreadState* __tstate = wxPyBeginAllowThreads();
25129 (arg1)->base_Initialize();
25130
25131 wxPyEndAllowThreads(__tstate);
25132 if (PyErr_Occurred()) SWIG_fail;
25133 }
25134 Py_INCREF(Py_None); resultobj = Py_None;
25135 return resultobj;
25136 fail:
25137 return NULL;
25138 }
25139
25140
25141 static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
25142 PyObject *resultobj;
25143 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
25144 PyObject * obj0 = 0 ;
25145 char *kwnames[] = {
25146 (char *) "self", NULL
25147 };
25148
25149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames,&obj0)) goto fail;
25150 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
25151 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25152 {
25153 PyThreadState* __tstate = wxPyBeginAllowThreads();
25154 (arg1)->base_CreateCanvas();
25155
25156 wxPyEndAllowThreads(__tstate);
25157 if (PyErr_Occurred()) SWIG_fail;
25158 }
25159 Py_INCREF(Py_None); resultobj = Py_None;
25160 return resultobj;
25161 fail:
25162 return NULL;
25163 }
25164
25165
25166 static PyObject *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
25167 PyObject *resultobj;
25168 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
25169 PyObject * obj0 = 0 ;
25170 char *kwnames[] = {
25171 (char *) "self", NULL
25172 };
25173
25174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames,&obj0)) goto fail;
25175 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
25176 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25177 {
25178 PyThreadState* __tstate = wxPyBeginAllowThreads();
25179 (arg1)->base_CreateControlBar();
25180
25181 wxPyEndAllowThreads(__tstate);
25182 if (PyErr_Occurred()) SWIG_fail;
25183 }
25184 Py_INCREF(Py_None); resultobj = Py_None;
25185 return resultobj;
25186 fail:
25187 return NULL;
25188 }
25189
25190
25191 static PyObject * PyPreviewFrame_swigregister(PyObject *, PyObject *args) {
25192 PyObject *obj;
25193 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25194 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj);
25195 Py_INCREF(obj);
25196 return Py_BuildValue((char *)"");
25197 }
25198 static PyObject *_wrap_new_PyPreviewControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
25199 PyObject *resultobj;
25200 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25201 long arg2 ;
25202 wxWindow *arg3 = (wxWindow *) 0 ;
25203 wxPoint const &arg4_defvalue = wxDefaultPosition ;
25204 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
25205 wxSize const &arg5_defvalue = wxDefaultSize ;
25206 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
25207 long arg6 = (long) 0 ;
25208 wxString const &arg7_defvalue = wxPyPanelNameStr ;
25209 wxString *arg7 = (wxString *) &arg7_defvalue ;
25210 wxPyPreviewControlBar *result;
25211 wxPoint temp4 ;
25212 wxSize temp5 ;
25213 bool temp7 = false ;
25214 PyObject * obj0 = 0 ;
25215 PyObject * obj1 = 0 ;
25216 PyObject * obj2 = 0 ;
25217 PyObject * obj3 = 0 ;
25218 PyObject * obj4 = 0 ;
25219 PyObject * obj5 = 0 ;
25220 PyObject * obj6 = 0 ;
25221 char *kwnames[] = {
25222 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25223 };
25224
25225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
25226 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
25227 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25228 arg2 = (long)SWIG_As_long(obj1);
25229 if (PyErr_Occurred()) SWIG_fail;
25230 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
25231 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25232 if (obj3) {
25233 {
25234 arg4 = &temp4;
25235 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
25236 }
25237 }
25238 if (obj4) {
25239 {
25240 arg5 = &temp5;
25241 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
25242 }
25243 }
25244 if (obj5) {
25245 arg6 = (long)SWIG_As_long(obj5);
25246 if (PyErr_Occurred()) SWIG_fail;
25247 }
25248 if (obj6) {
25249 {
25250 arg7 = wxString_in_helper(obj6);
25251 if (arg7 == NULL) SWIG_fail;
25252 temp7 = true;
25253 }
25254 }
25255 {
25256 if (!wxPyCheckForApp()) SWIG_fail;
25257 PyThreadState* __tstate = wxPyBeginAllowThreads();
25258 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
25259
25260 wxPyEndAllowThreads(__tstate);
25261 if (PyErr_Occurred()) SWIG_fail;
25262 }
25263 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewControlBar, 1);
25264 {
25265 if (temp7)
25266 delete arg7;
25267 }
25268 return resultobj;
25269 fail:
25270 {
25271 if (temp7)
25272 delete arg7;
25273 }
25274 return NULL;
25275 }
25276
25277
25278 static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
25279 PyObject *resultobj;
25280 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
25281 PyObject *arg2 = (PyObject *) 0 ;
25282 PyObject *arg3 = (PyObject *) 0 ;
25283 PyObject * obj0 = 0 ;
25284 PyObject * obj1 = 0 ;
25285 PyObject * obj2 = 0 ;
25286 char *kwnames[] = {
25287 (char *) "self",(char *) "self",(char *) "_class", NULL
25288 };
25289
25290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
25291 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
25292 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25293 arg2 = obj1;
25294 arg3 = obj2;
25295 {
25296 PyThreadState* __tstate = wxPyBeginAllowThreads();
25297 (arg1)->_setCallbackInfo(arg2,arg3);
25298
25299 wxPyEndAllowThreads(__tstate);
25300 if (PyErr_Occurred()) SWIG_fail;
25301 }
25302 Py_INCREF(Py_None); resultobj = Py_None;
25303 return resultobj;
25304 fail:
25305 return NULL;
25306 }
25307
25308
25309 static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *, PyObject *args, PyObject *kwargs) {
25310 PyObject *resultobj;
25311 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
25312 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
25313 PyObject * obj0 = 0 ;
25314 PyObject * obj1 = 0 ;
25315 char *kwnames[] = {
25316 (char *) "self",(char *) "preview", NULL
25317 };
25318
25319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail;
25320 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
25321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25322 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintPreview,
25323 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25324 {
25325 PyThreadState* __tstate = wxPyBeginAllowThreads();
25326 (arg1)->SetPrintPreview(arg2);
25327
25328 wxPyEndAllowThreads(__tstate);
25329 if (PyErr_Occurred()) SWIG_fail;
25330 }
25331 Py_INCREF(Py_None); resultobj = Py_None;
25332 return resultobj;
25333 fail:
25334 return NULL;
25335 }
25336
25337
25338 static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *, PyObject *args, PyObject *kwargs) {
25339 PyObject *resultobj;
25340 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
25341 PyObject * obj0 = 0 ;
25342 char *kwnames[] = {
25343 (char *) "self", NULL
25344 };
25345
25346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames,&obj0)) goto fail;
25347 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
25348 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25349 {
25350 PyThreadState* __tstate = wxPyBeginAllowThreads();
25351 (arg1)->base_CreateButtons();
25352
25353 wxPyEndAllowThreads(__tstate);
25354 if (PyErr_Occurred()) SWIG_fail;
25355 }
25356 Py_INCREF(Py_None); resultobj = Py_None;
25357 return resultobj;
25358 fail:
25359 return NULL;
25360 }
25361
25362
25363 static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
25364 PyObject *resultobj;
25365 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
25366 int arg2 ;
25367 PyObject * obj0 = 0 ;
25368 PyObject * obj1 = 0 ;
25369 char *kwnames[] = {
25370 (char *) "self",(char *) "zoom", NULL
25371 };
25372
25373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
25374 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
25375 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25376 arg2 = (int)SWIG_As_int(obj1);
25377 if (PyErr_Occurred()) SWIG_fail;
25378 {
25379 PyThreadState* __tstate = wxPyBeginAllowThreads();
25380 (arg1)->base_SetZoomControl(arg2);
25381
25382 wxPyEndAllowThreads(__tstate);
25383 if (PyErr_Occurred()) SWIG_fail;
25384 }
25385 Py_INCREF(Py_None); resultobj = Py_None;
25386 return resultobj;
25387 fail:
25388 return NULL;
25389 }
25390
25391
25392 static PyObject * PyPreviewControlBar_swigregister(PyObject *, PyObject *args) {
25393 PyObject *obj;
25394 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25395 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj);
25396 Py_INCREF(obj);
25397 return Py_BuildValue((char *)"");
25398 }
25399 static PyMethodDef SwigMethods[] = {
25400 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS, NULL },
25401 { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS, NULL },
25402 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25403 { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25404 { (char *)"Panel_SetFocus", (PyCFunction) _wrap_Panel_SetFocus, METH_VARARGS | METH_KEYWORDS, NULL },
25405 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction) _wrap_Panel_SetFocusIgnoringChildren, METH_VARARGS | METH_KEYWORDS, NULL },
25406 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25407 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS, NULL },
25408 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25409 { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25410 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25411 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS, NULL },
25412 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS, NULL },
25413 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL },
25414 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL },
25415 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS, NULL },
25416 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS, NULL },
25417 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS, NULL },
25418 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS, NULL },
25419 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS, NULL },
25420 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS, NULL },
25421 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS, NULL },
25422 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS, NULL },
25423 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS, NULL },
25424 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL },
25425 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS, NULL },
25426 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25427 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25428 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS, NULL },
25429 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction) _wrap_ScrolledWindow_GetTargetRect, METH_VARARGS | METH_KEYWORDS, NULL },
25430 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction) _wrap_ScrolledWindow_DoPrepareDC, METH_VARARGS | METH_KEYWORDS, NULL },
25431 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25432 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS, NULL },
25433 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS, NULL },
25434 { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS, NULL },
25435 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS, NULL },
25436 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS, NULL },
25437 { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS, NULL },
25438 { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS, NULL },
25439 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL },
25440 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS, NULL },
25441 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS, NULL },
25442 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS, NULL },
25443 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL },
25444 { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL },
25445 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS, NULL },
25446 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction) _wrap_TopLevelWindow_RequestUserAttention, METH_VARARGS | METH_KEYWORDS, NULL },
25447 { (char *)"TopLevelWindow_IsActive", (PyCFunction) _wrap_TopLevelWindow_IsActive, METH_VARARGS | METH_KEYWORDS, NULL },
25448 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacSetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL },
25449 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacGetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL },
25450 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS, NULL },
25451 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS, NULL },
25452 { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25453 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25454 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS, NULL },
25455 { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS, NULL },
25456 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL },
25457 { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL },
25458 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS, NULL },
25459 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS, NULL },
25460 { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL },
25461 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL },
25462 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
25463 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL },
25464 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
25465 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
25466 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL },
25467 { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL },
25468 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
25469 { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
25470 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
25471 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS, NULL },
25472 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS, NULL },
25473 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25474 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS, NULL },
25475 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS, NULL },
25476 { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25477 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25478 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL },
25479 { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL },
25480 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS, NULL },
25481 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL },
25482 { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS, NULL },
25483 { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL },
25484 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS, NULL },
25485 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25486 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS, NULL },
25487 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25488 { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25489 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25490 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS, NULL },
25491 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25492 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
25493 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
25494 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS, NULL },
25495 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS, NULL },
25496 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS, NULL },
25497 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25498 { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS, NULL },
25499 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS, NULL },
25500 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS, NULL },
25501 { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS, NULL },
25502 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25503 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL },
25504 { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL },
25505 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
25506 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
25507 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
25508 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
25509 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL },
25510 { (char *)"StatusBar_SetStatusStyles", (PyCFunction) _wrap_StatusBar_SetStatusStyles, METH_VARARGS | METH_KEYWORDS, NULL },
25511 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS, NULL },
25512 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL },
25513 { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS, NULL },
25514 { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS, NULL },
25515 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25516 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS, NULL },
25517 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25518 { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25519 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25520 { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS, NULL },
25521 { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS, NULL },
25522 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL },
25523 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL },
25524 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS, NULL },
25525 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS, NULL },
25526 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS, NULL },
25527 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS, NULL },
25528 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25529 { (char *)"SplitterWindow_UpdateSize", (PyCFunction) _wrap_SplitterWindow_UpdateSize, METH_VARARGS | METH_KEYWORDS, NULL },
25530 { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS, NULL },
25531 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS, NULL },
25532 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
25533 { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS, NULL },
25534 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
25535 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL },
25536 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL },
25537 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction) _wrap_SplitterWindow_SetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL },
25538 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction) _wrap_SplitterWindow_GetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL },
25539 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL },
25540 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL },
25541 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL },
25542 { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS, NULL },
25543 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL },
25544 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL },
25545 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25546 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS, NULL },
25547 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS, NULL },
25548 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL },
25549 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL },
25550 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS, NULL },
25551 { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS, NULL },
25552 { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS, NULL },
25553 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS, NULL },
25554 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25555 { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25556 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25557 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL },
25558 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL },
25559 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS, NULL },
25560 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS, NULL },
25561 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS, NULL },
25562 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
25563 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
25564 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
25565 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
25566 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL },
25567 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL },
25568 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL },
25569 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL },
25570 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL },
25571 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL },
25572 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL },
25573 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL },
25574 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL },
25575 { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS, NULL },
25576 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS, NULL },
25577 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS, NULL },
25578 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL },
25579 { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS, NULL },
25580 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS, NULL },
25581 { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS, NULL },
25582 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL },
25583 { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL },
25584 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS, NULL },
25585 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS, NULL },
25586 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL },
25587 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL },
25588 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25589 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25590 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25591 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25592 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25593 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25594 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
25595 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
25596 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS, NULL },
25597 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS, NULL },
25598 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25599 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25600 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL },
25601 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS, NULL },
25602 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS, NULL },
25603 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25604 { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25605 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25606 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
25607 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25608 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
25609 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL },
25610 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25611 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS, NULL },
25612 { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS, NULL },
25613 { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS, NULL },
25614 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25615 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25616 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25617 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS, NULL },
25618 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25619 { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25620 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS, NULL },
25621 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25622 { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25623 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS, NULL },
25624 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25625 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL },
25626 { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS, NULL },
25627 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS, NULL },
25628 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25629 { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25630 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25631 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25632 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS, NULL },
25633 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL },
25634 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS, NULL },
25635 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS, NULL },
25636 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS, NULL },
25637 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS, NULL },
25638 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction) _wrap_VScrolledWindow_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL },
25639 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL },
25640 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS, NULL },
25641 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS, NULL },
25642 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL },
25643 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL },
25644 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL },
25645 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL },
25646 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL },
25647 { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS, NULL },
25648 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25649 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25650 { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS, NULL },
25651 { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25652 { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25653 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS, NULL },
25654 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL },
25655 { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS, NULL },
25656 { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS, NULL },
25657 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL },
25658 { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS, NULL },
25659 { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL },
25660 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL },
25661 { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS, NULL },
25662 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25663 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL },
25664 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS, NULL },
25665 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS, NULL },
25666 { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL },
25667 { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS, NULL },
25668 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL },
25669 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL },
25670 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL },
25671 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS, NULL },
25672 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL },
25673 { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL },
25674 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25675 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25676 { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS, NULL },
25677 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL },
25678 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction) _wrap_HtmlListBox_GetFileSystem, METH_VARARGS | METH_KEYWORDS, NULL },
25679 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS, NULL },
25680 { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS, NULL },
25681 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction) _wrap_TaskBarIcon__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25682 { (char *)"TaskBarIcon_Destroy", (PyCFunction) _wrap_TaskBarIcon_Destroy, METH_VARARGS | METH_KEYWORDS, NULL },
25683 { (char *)"TaskBarIcon_IsOk", (PyCFunction) _wrap_TaskBarIcon_IsOk, METH_VARARGS | METH_KEYWORDS, NULL },
25684 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction) _wrap_TaskBarIcon_IsIconInstalled, METH_VARARGS | METH_KEYWORDS, NULL },
25685 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL },
25686 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction) _wrap_TaskBarIcon_RemoveIcon, METH_VARARGS | METH_KEYWORDS, NULL },
25687 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL },
25688 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS, NULL },
25689 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS, NULL },
25690 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS, NULL },
25691 { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS, NULL },
25692 { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS, NULL },
25693 { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL },
25694 { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL },
25695 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL },
25696 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL },
25697 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL },
25698 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL },
25699 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS, NULL },
25700 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25701 { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS, NULL },
25702 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS, NULL },
25703 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25704 { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS, NULL },
25705 { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL },
25706 { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
25707 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL },
25708 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL },
25709 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS, NULL },
25710 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25711 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL },
25712 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL },
25713 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS, NULL },
25714 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL },
25715 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS, NULL },
25716 { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
25717 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL },
25718 { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL },
25719 { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS, NULL },
25720 { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS, NULL },
25721 { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS, NULL },
25722 { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS, NULL },
25723 { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
25724 { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL },
25725 { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS, NULL },
25726 { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS, NULL },
25727 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS, NULL },
25728 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25729 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS, NULL },
25730 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL },
25731 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS, NULL },
25732 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25733 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25734 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25735 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25736 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS, NULL },
25737 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25738 { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
25739 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS, NULL },
25740 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS, NULL },
25741 { (char *)"new_PasswordEntryDialog", (PyCFunction) _wrap_new_PasswordEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25742 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister, METH_VARARGS, NULL },
25743 { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS, NULL },
25744 { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS, NULL },
25745 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS, NULL },
25746 { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL },
25747 { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL },
25748 { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL },
25749 { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS, NULL },
25750 { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL },
25751 { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL },
25752 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL },
25753 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL },
25754 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL },
25755 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL },
25756 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS, NULL },
25757 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL },
25758 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS, NULL },
25759 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25760 { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS, NULL },
25761 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS, NULL },
25762 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25763 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS, NULL },
25764 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25765 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL },
25766 { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS, NULL },
25767 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL },
25768 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL },
25769 { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25770 { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS, NULL },
25771 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL },
25772 { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25773 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25774 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL },
25775 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL },
25776 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS, NULL },
25777 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL },
25778 { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL },
25779 { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS, NULL },
25780 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL },
25781 { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25782 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25783 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL },
25784 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL },
25785 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS, NULL },
25786 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25787 { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25788 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25789 { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS, NULL },
25790 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS, NULL },
25791 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS, NULL },
25792 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25793 { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25794 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25795 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS, NULL },
25796 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS, NULL },
25797 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS, NULL },
25798 { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS, NULL },
25799 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS, NULL },
25800 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25801 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
25802 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS, NULL },
25803 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS, NULL },
25804 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25805 { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25806 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25807 { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS, NULL },
25808 { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS, NULL },
25809 { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS, NULL },
25810 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS, NULL },
25811 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25812 { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25813 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25814 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS, NULL },
25815 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25816 { (char *)"new_PrePyWindow", (PyCFunction) _wrap_new_PrePyWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25817 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25818 { (char *)"PyWindow_SetBestSize", (PyCFunction) _wrap_PyWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
25819 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25820 { (char *)"PyWindow_base_DoSetSize", (PyCFunction) _wrap_PyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25821 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
25822 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
25823 { (char *)"PyWindow_base_DoGetSize", (PyCFunction) _wrap_PyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25824 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
25825 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction) _wrap_PyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
25826 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
25827 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
25828 { (char *)"PyWindow_base_InitDialog", (PyCFunction) _wrap_PyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25829 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25830 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25831 { (char *)"PyWindow_base_Validate", (PyCFunction) _wrap_PyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL },
25832 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL },
25833 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL },
25834 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction) _wrap_PyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL },
25835 { (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL },
25836 { (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL },
25837 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL },
25838 { (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL },
25839 { (char *)"PyWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25840 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL },
25841 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL },
25842 { (char *)"new_PrePyPanel", (PyCFunction) _wrap_new_PrePyPanel, METH_VARARGS | METH_KEYWORDS, NULL },
25843 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25844 { (char *)"PyPanel_SetBestSize", (PyCFunction) _wrap_PyPanel_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
25845 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction) _wrap_PyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25846 { (char *)"PyPanel_base_DoSetSize", (PyCFunction) _wrap_PyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25847 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction) _wrap_PyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
25848 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
25849 { (char *)"PyPanel_base_DoGetSize", (PyCFunction) _wrap_PyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25850 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction) _wrap_PyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
25851 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction) _wrap_PyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
25852 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
25853 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction) _wrap_PyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
25854 { (char *)"PyPanel_base_InitDialog", (PyCFunction) _wrap_PyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25855 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25856 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25857 { (char *)"PyPanel_base_Validate", (PyCFunction) _wrap_PyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL },
25858 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction) _wrap_PyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL },
25859 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL },
25860 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction) _wrap_PyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL },
25861 { (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL },
25862 { (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL },
25863 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction) _wrap_PyPanel_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL },
25864 { (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyPanel_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL },
25865 { (char *)"PyPanel_base_GetDefaultAttributes", (PyCFunction) _wrap_PyPanel_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25866 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL },
25867 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25868 { (char *)"new_PrePyScrolledWindow", (PyCFunction) _wrap_new_PrePyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25869 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25870 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction) _wrap_PyScrolledWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
25871 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25872 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25873 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
25874 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
25875 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25876 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
25877 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
25878 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
25879 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
25880 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction) _wrap_PyScrolledWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25881 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25882 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25883 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction) _wrap_PyScrolledWindow_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL },
25884 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL },
25885 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL },
25886 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction) _wrap_PyScrolledWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL },
25887 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction) _wrap_PyScrolledWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL },
25888 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction) _wrap_PyScrolledWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL },
25889 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyScrolledWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL },
25890 { (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL },
25891 { (char *)"PyScrolledWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyScrolledWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25892 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS, NULL },
25893 { (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS, NULL },
25894 { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS, NULL },
25895 { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL },
25896 { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS, NULL },
25897 { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25898 { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
25899 { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL },
25900 { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL },
25901 { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS, NULL },
25902 { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS, NULL },
25903 { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL },
25904 { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS, NULL },
25905 { (char *)"PrintData_GetBin", (PyCFunction) _wrap_PrintData_GetBin, METH_VARARGS | METH_KEYWORDS, NULL },
25906 { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL },
25907 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL },
25908 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL },
25909 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25910 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL },
25911 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL },
25912 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS, NULL },
25913 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL },
25914 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL },
25915 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS, NULL },
25916 { (char *)"PrintData_SetBin", (PyCFunction) _wrap_PrintData_SetBin, METH_VARARGS | METH_KEYWORDS, NULL },
25917 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL },
25918 { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS, NULL },
25919 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL },
25920 { (char *)"PrintData_GetPrinterCommand", (PyCFunction) _wrap_PrintData_GetPrinterCommand, METH_VARARGS | METH_KEYWORDS, NULL },
25921 { (char *)"PrintData_GetPrinterOptions", (PyCFunction) _wrap_PrintData_GetPrinterOptions, METH_VARARGS | METH_KEYWORDS, NULL },
25922 { (char *)"PrintData_GetPreviewCommand", (PyCFunction) _wrap_PrintData_GetPreviewCommand, METH_VARARGS | METH_KEYWORDS, NULL },
25923 { (char *)"PrintData_GetFontMetricPath", (PyCFunction) _wrap_PrintData_GetFontMetricPath, METH_VARARGS | METH_KEYWORDS, NULL },
25924 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction) _wrap_PrintData_GetPrinterScaleX, METH_VARARGS | METH_KEYWORDS, NULL },
25925 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction) _wrap_PrintData_GetPrinterScaleY, METH_VARARGS | METH_KEYWORDS, NULL },
25926 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction) _wrap_PrintData_GetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS, NULL },
25927 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction) _wrap_PrintData_GetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS, NULL },
25928 { (char *)"PrintData_SetPrinterCommand", (PyCFunction) _wrap_PrintData_SetPrinterCommand, METH_VARARGS | METH_KEYWORDS, NULL },
25929 { (char *)"PrintData_SetPrinterOptions", (PyCFunction) _wrap_PrintData_SetPrinterOptions, METH_VARARGS | METH_KEYWORDS, NULL },
25930 { (char *)"PrintData_SetPreviewCommand", (PyCFunction) _wrap_PrintData_SetPreviewCommand, METH_VARARGS | METH_KEYWORDS, NULL },
25931 { (char *)"PrintData_SetFontMetricPath", (PyCFunction) _wrap_PrintData_SetFontMetricPath, METH_VARARGS | METH_KEYWORDS, NULL },
25932 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction) _wrap_PrintData_SetPrinterScaleX, METH_VARARGS | METH_KEYWORDS, NULL },
25933 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction) _wrap_PrintData_SetPrinterScaleY, METH_VARARGS | METH_KEYWORDS, NULL },
25934 { (char *)"PrintData_SetPrinterScaling", (PyCFunction) _wrap_PrintData_SetPrinterScaling, METH_VARARGS | METH_KEYWORDS, NULL },
25935 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction) _wrap_PrintData_SetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS, NULL },
25936 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction) _wrap_PrintData_SetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS, NULL },
25937 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction) _wrap_PrintData_SetPrinterTranslation, METH_VARARGS | METH_KEYWORDS, NULL },
25938 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS, NULL },
25939 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData, METH_VARARGS, NULL },
25940 { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS, NULL },
25941 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL },
25942 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS, NULL },
25943 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25944 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS, NULL },
25945 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL },
25946 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL },
25947 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS, NULL },
25948 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25949 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS, NULL },
25950 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL },
25951 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS, NULL },
25952 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25953 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL },
25954 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL },
25955 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL },
25956 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL },
25957 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS, NULL },
25958 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL },
25959 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL },
25960 { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
25961 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25962 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL },
25963 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL },
25964 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL },
25965 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL },
25966 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL },
25967 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL },
25968 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL },
25969 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL },
25970 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS, NULL },
25971 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25972 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS, NULL },
25973 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupDialogData, METH_VARARGS | METH_KEYWORDS, NULL },
25974 { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL },
25975 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS, NULL },
25976 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS, NULL },
25977 { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL },
25978 { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS, NULL },
25979 { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS, NULL },
25980 { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS, NULL },
25981 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL },
25982 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL },
25983 { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS, NULL },
25984 { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25985 { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS, NULL },
25986 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL },
25987 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction) _wrap_PrintDialogData_GetSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25988 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction) _wrap_PrintDialogData_SetSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25989 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS, NULL },
25990 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS, NULL },
25991 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS, NULL },
25992 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL },
25993 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL },
25994 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS, NULL },
25995 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25996 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL },
25997 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL },
25998 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL },
25999 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS, NULL },
26000 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL },
26001 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL },
26002 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL },
26003 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS, NULL },
26004 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL },
26005 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS, NULL },
26006 { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
26007 { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL },
26008 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL },
26009 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS, NULL },
26010 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL },
26011 { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL },
26012 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL },
26013 { (char *)"PrintDialog_GetPrintData", (PyCFunction) _wrap_PrintDialog_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL },
26014 { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS, NULL },
26015 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS, NULL },
26016 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS, NULL },
26017 { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS, NULL },
26018 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS, NULL },
26019 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS, NULL },
26020 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS, NULL },
26021 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS, NULL },
26022 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL },
26023 { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL },
26024 { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS, NULL },
26025 { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS, NULL },
26026 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS, NULL },
26027 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS, NULL },
26028 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
26029 { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL },
26030 { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS, NULL },
26031 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS, NULL },
26032 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL },
26033 { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL },
26034 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL },
26035 { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL },
26036 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL },
26037 { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL },
26038 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL },
26039 { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL },
26040 { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS, NULL },
26041 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS, NULL },
26042 { (char *)"Printout_base_OnBeginDocument", (PyCFunction) _wrap_Printout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS, NULL },
26043 { (char *)"Printout_base_OnEndDocument", (PyCFunction) _wrap_Printout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS, NULL },
26044 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS, NULL },
26045 { (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS, NULL },
26046 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS, NULL },
26047 { (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS, NULL },
26048 { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS, NULL },
26049 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS, NULL },
26050 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
26051 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS, NULL },
26052 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL },
26053 { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS, NULL },
26054 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
26055 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
26056 { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
26057 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS, NULL },
26058 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
26059 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL },
26060 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL },
26061 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL },
26062 { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS, NULL },
26063 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS, NULL },
26064 { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS, NULL },
26065 { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS, NULL },
26066 { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS, NULL },
26067 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS, NULL },
26068 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS, NULL },
26069 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL },
26070 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL },
26071 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS, NULL },
26072 { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS, NULL },
26073 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS, NULL },
26074 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS, NULL },
26075 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
26076 { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS, NULL },
26077 { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
26078 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL },
26079 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL },
26080 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL },
26081 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL },
26082 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL },
26083 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL },
26084 { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS, NULL },
26085 { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL },
26086 { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS, NULL },
26087 { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
26088 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS, NULL },
26089 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL },
26090 { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS, NULL },
26091 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS, NULL },
26092 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS, NULL },
26093 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
26094 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL },
26095 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction) _wrap_PyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL },
26096 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL },
26097 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction) _wrap_PyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL },
26098 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction) _wrap_PyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL },
26099 { (char *)"PyPrintPreview_base_Print", (PyCFunction) _wrap_PyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS, NULL },
26100 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS, NULL },
26101 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS, NULL },
26102 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL },
26103 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
26104 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
26105 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
26106 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction) _wrap_PyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS, NULL },
26107 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
26108 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
26109 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS, NULL },
26110 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
26111 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
26112 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL },
26113 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS, NULL },
26114 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL },
26115 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS, NULL },
26116 { NULL, NULL, 0, NULL }
26117 };
26118
26119
26120 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
26121
26122 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
26123 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
26124 }
26125 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
26126 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
26127 }
26128 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
26129 return (void *)((wxEvent *) ((wxMenuEvent *) x));
26130 }
26131 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
26132 return (void *)((wxEvent *) ((wxCloseEvent *) x));
26133 }
26134 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
26135 return (void *)((wxEvent *) ((wxMouseEvent *) x));
26136 }
26137 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
26138 return (void *)((wxEvent *) ((wxEraseEvent *) x));
26139 }
26140 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
26141 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
26142 }
26143 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
26144 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
26145 }
26146 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
26147 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
26148 }
26149 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
26150 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
26151 }
26152 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
26153 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
26154 }
26155 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
26156 return (void *)((wxEvent *) ((wxPyEvent *) x));
26157 }
26158 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
26159 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
26160 }
26161 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
26162 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
26163 }
26164 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
26165 return (void *)((wxEvent *) ((wxIdleEvent *) x));
26166 }
26167 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
26168 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
26169 }
26170 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
26171 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
26172 }
26173 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
26174 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
26175 }
26176 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
26177 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
26178 }
26179 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
26180 return (void *)((wxEvent *) ((wxActivateEvent *) x));
26181 }
26182 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
26183 return (void *)((wxEvent *) ((wxSizeEvent *) x));
26184 }
26185 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
26186 return (void *)((wxEvent *) ((wxMoveEvent *) x));
26187 }
26188 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
26189 return (void *)((wxEvent *) ((wxPaintEvent *) x));
26190 }
26191 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
26192 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
26193 }
26194 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
26195 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
26196 }
26197 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
26198 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
26199 }
26200 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
26201 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
26202 }
26203 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
26204 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
26205 }
26206 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
26207 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
26208 }
26209 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
26210 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
26211 }
26212 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
26213 return (void *)((wxEvent *) ((wxFocusEvent *) x));
26214 }
26215 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
26216 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
26217 }
26218 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
26219 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
26220 }
26221 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
26222 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
26223 }
26224 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
26225 return (void *)((wxEvent *) ((wxShowEvent *) x));
26226 }
26227 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
26228 return (void *)((wxEvent *) ((wxCommandEvent *) x));
26229 }
26230 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
26231 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
26232 }
26233 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
26234 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
26235 }
26236 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
26237 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
26238 }
26239 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
26240 return (void *)((wxEvent *) ((wxKeyEvent *) x));
26241 }
26242 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
26243 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
26244 }
26245 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
26246 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
26247 }
26248 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
26249 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
26250 }
26251 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x) {
26252 return (void *)((wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
26253 }
26254 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
26255 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
26256 }
26257 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
26258 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
26259 }
26260 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
26261 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
26262 }
26263 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
26264 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
26265 }
26266 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
26267 return (void *)((wxEvtHandler *) ((wxValidator *) x));
26268 }
26269 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
26270 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
26271 }
26272 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
26273 return (void *)((wxEvtHandler *) ((wxMenu *) x));
26274 }
26275 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
26276 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
26277 }
26278 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
26279 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
26280 }
26281 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
26282 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
26283 }
26284 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
26285 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
26286 }
26287 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
26288 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
26289 }
26290 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
26291 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
26292 }
26293 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
26294 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
26295 }
26296 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
26297 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
26298 }
26299 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
26300 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
26301 }
26302 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
26303 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
26304 }
26305 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
26306 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
26307 }
26308 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
26309 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
26310 }
26311 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
26312 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
26313 }
26314 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
26315 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
26316 }
26317 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
26318 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
26319 }
26320 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
26321 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
26322 }
26323 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
26324 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
26325 }
26326 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
26327 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
26328 }
26329 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
26330 return (void *)((wxEvtHandler *) ((wxWindow *) x));
26331 }
26332 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
26333 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
26334 }
26335 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
26336 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
26337 }
26338 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
26339 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
26340 }
26341 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
26342 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
26343 }
26344 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
26345 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
26346 }
26347 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
26348 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
26349 }
26350 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
26351 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
26352 }
26353 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
26354 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
26355 }
26356 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
26357 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
26358 }
26359 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
26360 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
26361 }
26362 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
26363 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
26364 }
26365 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
26366 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
26367 }
26368 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
26369 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
26370 }
26371 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
26372 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26373 }
26374 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
26375 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
26376 }
26377 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
26378 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26379 }
26380 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
26381 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
26382 }
26383 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
26384 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
26385 }
26386 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
26387 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
26388 }
26389 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
26390 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
26391 }
26392 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
26393 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
26394 }
26395 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
26396 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
26397 }
26398 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
26399 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
26400 }
26401 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
26402 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
26403 }
26404 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
26405 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
26406 }
26407 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
26408 return (void *)((wxFrame *) ((wxProgressDialog *) x));
26409 }
26410 static void *_p_wxTipWindowTo_p_wxFrame(void *x) {
26411 return (void *)((wxFrame *) ((wxTipWindow *) x));
26412 }
26413 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
26414 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
26415 }
26416 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
26417 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
26418 }
26419 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
26420 return (void *)((wxFrame *) ((wxMiniFrame *) x));
26421 }
26422 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
26423 return (void *)((wxFrame *) ((wxSplashScreen *) x));
26424 }
26425 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
26426 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
26427 }
26428 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
26429 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
26430 }
26431 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
26432 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
26433 }
26434 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
26435 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
26436 }
26437 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
26438 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
26439 }
26440 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
26441 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
26442 }
26443 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
26444 return (void *)((wxObject *) ((wxSizerItem *) x));
26445 }
26446 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
26447 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
26448 }
26449 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
26450 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
26451 }
26452 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
26453 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
26454 }
26455 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
26456 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
26457 }
26458 static void *_p_wxSizerTo_p_wxObject(void *x) {
26459 return (void *)((wxObject *) ((wxSizer *) x));
26460 }
26461 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
26462 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
26463 }
26464 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
26465 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
26466 }
26467 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
26468 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
26469 }
26470 static void *_p_wxEventTo_p_wxObject(void *x) {
26471 return (void *)((wxObject *) ((wxEvent *) x));
26472 }
26473 static void *_p_wxFontDataTo_p_wxObject(void *x) {
26474 return (void *)((wxObject *) ((wxFontData *) x));
26475 }
26476 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
26477 return (void *)((wxObject *) ((wxPrintData *) x));
26478 }
26479 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
26480 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
26481 }
26482 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
26483 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
26484 }
26485 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
26486 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
26487 }
26488 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
26489 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
26490 }
26491 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
26492 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
26493 }
26494 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
26495 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
26496 }
26497 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
26498 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
26499 }
26500 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
26501 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
26502 }
26503 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
26504 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
26505 }
26506 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
26507 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
26508 }
26509 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
26510 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
26511 }
26512 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
26513 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
26514 }
26515 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
26516 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
26517 }
26518 static void *_p_wxControlTo_p_wxObject(void *x) {
26519 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
26520 }
26521 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
26522 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
26523 }
26524 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
26525 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
26526 }
26527 static void *_p_wxFSFileTo_p_wxObject(void *x) {
26528 return (void *)((wxObject *) ((wxFSFile *) x));
26529 }
26530 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
26531 return (void *)((wxObject *) ((wxFindReplaceData *) x));
26532 }
26533 static void *_p_wxPySizerTo_p_wxObject(void *x) {
26534 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
26535 }
26536 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
26537 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
26538 }
26539 static void *_p_wxColourDataTo_p_wxObject(void *x) {
26540 return (void *)((wxObject *) ((wxColourData *) x));
26541 }
26542 static void *_p_wxPyEventTo_p_wxObject(void *x) {
26543 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
26544 }
26545 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
26546 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
26547 }
26548 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
26549 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
26550 }
26551 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
26552 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
26553 }
26554 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
26555 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
26556 }
26557 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
26558 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
26559 }
26560 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
26561 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
26562 }
26563 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
26564 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
26565 }
26566 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
26567 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
26568 }
26569 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
26570 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
26571 }
26572 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
26573 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
26574 }
26575 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
26576 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
26577 }
26578 static void *_p_wxShowEventTo_p_wxObject(void *x) {
26579 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
26580 }
26581 static void *_p_wxPrinterTo_p_wxObject(void *x) {
26582 return (void *)((wxObject *) ((wxPrinter *) x));
26583 }
26584 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
26585 return (void *)((wxObject *) ((wxMenuItem *) x));
26586 }
26587 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
26588 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
26589 }
26590 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
26591 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
26592 }
26593 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
26594 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
26595 }
26596 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
26597 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
26598 }
26599 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
26600 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
26601 }
26602 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
26603 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
26604 }
26605 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
26606 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
26607 }
26608 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
26609 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
26610 }
26611 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
26612 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
26613 }
26614 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
26615 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
26616 }
26617 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
26618 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
26619 }
26620 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
26621 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
26622 }
26623 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
26624 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
26625 }
26626 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
26627 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
26628 }
26629 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
26630 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
26631 }
26632 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
26633 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
26634 }
26635 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
26636 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
26637 }
26638 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
26639 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
26640 }
26641 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
26642 return (void *)((wxObject *) ((wxImageHandler *) x));
26643 }
26644 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
26645 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
26646 }
26647 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
26648 return (void *)((wxObject *) ((wxEvtHandler *) x));
26649 }
26650 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
26651 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
26652 }
26653 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
26654 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26655 }
26656 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
26657 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
26658 }
26659 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
26660 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
26661 }
26662 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
26663 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
26664 }
26665 static void *_p_wxImageTo_p_wxObject(void *x) {
26666 return (void *)((wxObject *) ((wxImage *) x));
26667 }
26668 static void *_p_wxFrameTo_p_wxObject(void *x) {
26669 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
26670 }
26671 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
26672 return (void *)((wxObject *) ((wxPyPrintout *) x));
26673 }
26674 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
26675 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
26676 }
26677 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
26678 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
26679 }
26680 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
26681 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
26682 }
26683 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
26684 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
26685 }
26686 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
26687 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
26688 }
26689 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
26690 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
26691 }
26692 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
26693 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
26694 }
26695 static void *_p_wxWindowTo_p_wxObject(void *x) {
26696 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
26697 }
26698 static void *_p_wxMenuTo_p_wxObject(void *x) {
26699 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
26700 }
26701 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
26702 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
26703 }
26704 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
26705 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
26706 }
26707 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
26708 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
26709 }
26710 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
26711 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
26712 }
26713 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
26714 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
26715 }
26716 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
26717 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
26718 }
26719 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
26720 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
26721 }
26722 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
26723 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
26724 }
26725 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
26726 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
26727 }
26728 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
26729 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
26730 }
26731 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
26732 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
26733 }
26734 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
26735 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
26736 }
26737 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
26738 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
26739 }
26740 static void *_p_wxSashEventTo_p_wxObject(void *x) {
26741 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
26742 }
26743 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
26744 return (void *)((wxObject *) ((wxPrintPreview *) x));
26745 }
26746 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
26747 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
26748 }
26749 static void *_p_wxPanelTo_p_wxObject(void *x) {
26750 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
26751 }
26752 static void *_p_wxDialogTo_p_wxObject(void *x) {
26753 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
26754 }
26755 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
26756 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
26757 }
26758 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
26759 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
26760 }
26761 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
26762 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
26763 }
26764 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
26765 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
26766 }
26767 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
26768 return (void *)((wxObject *) ((wxPrintDialog *) x));
26769 }
26770 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
26771 return (void *)((wxObject *) ((wxFileSystem *) x));
26772 }
26773 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
26774 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
26775 }
26776 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
26777 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
26778 }
26779 static void *_p_wxPyAppTo_p_wxObject(void *x) {
26780 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
26781 }
26782 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
26783 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
26784 }
26785 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
26786 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
26787 }
26788 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
26789 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
26790 }
26791 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
26792 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
26793 }
26794 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
26795 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
26796 }
26797 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
26798 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
26799 }
26800 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
26801 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26802 }
26803 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
26804 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
26805 }
26806 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
26807 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
26808 }
26809 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
26810 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
26811 }
26812 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
26813 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
26814 }
26815 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
26816 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
26817 }
26818 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
26819 return (void *)((wxObject *) ((wxPrintDialogData *) x));
26820 }
26821 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
26822 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
26823 }
26824 static void *_p_wxValidatorTo_p_wxObject(void *x) {
26825 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
26826 }
26827 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
26828 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26829 }
26830 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
26831 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
26832 }
26833 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
26834 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
26835 }
26836 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
26837 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
26838 }
26839 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
26840 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
26841 }
26842 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
26843 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
26844 }
26845 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
26846 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
26847 }
26848 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
26849 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
26850 }
26851 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
26852 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
26853 }
26854 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
26855 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
26856 }
26857 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
26858 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
26859 }
26860 static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x) {
26861 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxTipWindow *) x));
26862 }
26863 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
26864 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
26865 }
26866 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
26867 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
26868 }
26869 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
26870 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
26871 }
26872 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
26873 return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
26874 }
26875 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
26876 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
26877 }
26878 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
26879 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
26880 }
26881 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
26882 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
26883 }
26884 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
26885 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
26886 }
26887 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
26888 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
26889 }
26890 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
26891 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
26892 }
26893 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
26894 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
26895 }
26896 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
26897 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
26898 }
26899 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
26900 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
26901 }
26902 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
26903 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
26904 }
26905 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
26906 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
26907 }
26908 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
26909 return (void *)((wxWindow *) ((wxMenuBar *) x));
26910 }
26911 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
26912 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
26913 }
26914 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
26915 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
26916 }
26917 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
26918 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
26919 }
26920 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
26921 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
26922 }
26923 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
26924 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
26925 }
26926 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
26927 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
26928 }
26929 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
26930 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
26931 }
26932 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
26933 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
26934 }
26935 static void *_p_wxPanelTo_p_wxWindow(void *x) {
26936 return (void *)((wxWindow *) ((wxPanel *) x));
26937 }
26938 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
26939 return (void *)((wxWindow *) ((wxStatusBar *) x));
26940 }
26941 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
26942 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
26943 }
26944 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
26945 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
26946 }
26947 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
26948 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
26949 }
26950 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
26951 return (void *)((wxWindow *) ((wxPopupWindow *) x));
26952 }
26953 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
26954 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
26955 }
26956 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
26957 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
26958 }
26959 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
26960 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
26961 }
26962 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
26963 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
26964 }
26965 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
26966 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
26967 }
26968 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
26969 return (void *)((wxWindow *) ((wxSashWindow *) x));
26970 }
26971 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
26972 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
26973 }
26974 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
26975 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
26976 }
26977 static void *_p_wxControlTo_p_wxWindow(void *x) {
26978 return (void *)((wxWindow *) ((wxControl *) x));
26979 }
26980 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
26981 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
26982 }
26983 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
26984 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
26985 }
26986 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
26987 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
26988 }
26989 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
26990 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
26991 }
26992 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
26993 return (void *)((wxWindow *) ((wxPyWindow *) x));
26994 }
26995 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
26996 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
26997 }
26998 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
26999 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
27000 }
27001 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
27002 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
27003 }
27004 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
27005 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
27006 }
27007 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
27008 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
27009 }
27010 static void *_p_wxFrameTo_p_wxWindow(void *x) {
27011 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
27012 }
27013 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
27014 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
27015 }
27016 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
27017 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
27018 }
27019 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
27020 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
27021 }
27022 static void *_p_wxDialogTo_p_wxWindow(void *x) {
27023 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
27024 }
27025 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
27026 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
27027 }
27028 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
27029 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
27030 }
27031 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
27032 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
27033 }
27034 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
27035 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
27036 }
27037 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
27038 return (void *)((wxDialog *) ((wxColourDialog *) x));
27039 }
27040 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
27041 return (void *)((wxDialog *) ((wxDirDialog *) x));
27042 }
27043 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
27044 return (void *)((wxDialog *) ((wxFontDialog *) x));
27045 }
27046 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
27047 return (void *)((wxDialog *) ((wxFileDialog *) x));
27048 }
27049 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
27050 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
27051 }
27052 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
27053 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
27054 }
27055 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
27056 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
27057 }
27058 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) {
27059 return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
27060 }
27061 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
27062 return (void *)((wxDialog *) ((wxMessageDialog *) x));
27063 }
27064 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
27065 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
27066 }
27067 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
27068 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
27069 }
27070 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
27071 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
27072 }
27073 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
27074 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
27075 }
27076 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
27077 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
27078 }
27079 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
27080 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
27081 }
27082 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
27083 return (void *)((wxPanel *) ((wxPyPanel *) x));
27084 }
27085 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
27086 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
27087 }
27088 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
27089 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
27090 }
27091 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
27092 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
27093 }
27094 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
27095 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
27096 }
27097 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
27098 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
27099 }
27100 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
27101 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
27102 }
27103 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
27104 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
27105 }
27106 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
27107 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
27108 }
27109 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
27110 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
27111 }
27112 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
27113 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
27114 }
27115 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
27116 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
27117 }
27118 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
27119 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
27120 }
27121 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
27122 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
27123 }
27124 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
27125 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
27126 }
27127 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
27128 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
27129 }
27130 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}};
27131 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}};
27132 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}};
27133 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}};
27134 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}};
27135 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}};
27136 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}};
27137 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}};
27138 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}};
27139 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}};
27140 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}};
27141 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}};
27142 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}};
27143 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}};
27144 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}};
27145 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}};
27146 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}};
27147 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}};
27148 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}};
27149 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}};
27150 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}};
27151 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}};
27152 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}};
27153 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}};
27154 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}};
27155 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}};
27156 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}};
27157 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}};
27158 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}};
27159 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}};
27160 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}};
27161 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}};
27162 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}};
27163 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}};
27164 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}};
27165 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}};
27166 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}};
27167 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}};
27168 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_wxTipWindow", _p_wxTipWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyTaskBarIcon", _p_wxPyTaskBarIconTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27169 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}};
27170 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}};
27171 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}};
27172 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}};
27173 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}};
27174 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}};
27175 static swig_type_info _swigt__p_wxFrame[] = {{"_p_wxFrame", 0, "wxFrame *", 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxFrame", 0, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27176 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}};
27177 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}};
27178 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}};
27179 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}};
27180 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}};
27181 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}};
27182 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_wxTipWindow", _p_wxTipWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_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}};
27183 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}};
27184 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}};
27185 static swig_type_info _swigt__p_wxPyPopupTransientWindow[] = {{"_p_wxPyPopupTransientWindow", 0, "wxPyPopupTransientWindow *", 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27186 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}};
27187 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}};
27188 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}};
27189 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}};
27190 static swig_type_info _swigt__p_wxPopupWindow[] = {{"_p_wxPopupWindow", 0, "wxPopupWindow *", 0, 0, 0, 0},{"_p_wxPopupWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxPopupWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27191 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}};
27192 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_wxTipWindow", _p_wxTipWindowTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", 0, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_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}};
27193 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_wxTipWindow", _p_wxTipWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_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_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}};
27194 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}};
27195 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}};
27196 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}};
27197 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}};
27198 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}};
27199 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}};
27200 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}};
27201 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}};
27202 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}};
27203 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}};
27204 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}};
27205 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}};
27206 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}};
27207 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}};
27208 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}};
27209 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}};
27210 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}};
27211 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}};
27212 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}};
27213 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}};
27214 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}};
27215 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}};
27216 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}};
27217
27218 static swig_type_info *swig_types_initial[] = {
27219 _swigt__p_wxQueryLayoutInfoEvent,
27220 _swigt__p_wxPreviewFrame,
27221 _swigt__p_wxPyPreviewFrame,
27222 _swigt__p_wxPyPanel,
27223 _swigt__p_wxMenu,
27224 _swigt__p_wxFontData,
27225 _swigt__p_wxEvent,
27226 _swigt__p_wxPrintData,
27227 _swigt__p_wxTaskBarIcon,
27228 _swigt__p_wxPyTaskBarIcon,
27229 _swigt__p_wxIconBundle,
27230 _swigt__p_wxLayoutAlgorithm,
27231 _swigt__p_wxFindDialogEvent,
27232 _swigt__p_wxPreviewCanvas,
27233 _swigt__p_wxFont,
27234 _swigt__p_wxSplitterEvent,
27235 _swigt__p_wxRegion,
27236 _swigt__p_wxFindReplaceData,
27237 _swigt__p_int,
27238 _swigt__p_wxSize,
27239 _swigt__p_wxDC,
27240 _swigt__p_wxIcon,
27241 _swigt__p_wxVisualAttributes,
27242 _swigt__p_wxMDIChildFrame,
27243 _swigt__p_wxColourData,
27244 _swigt__p_wxNotifyEvent,
27245 _swigt__p_wxPyWindow,
27246 _swigt__p_wxSplashScreen,
27247 _swigt__p_wxFindReplaceDialog,
27248 _swigt__p_wxProgressDialog,
27249 _swigt__p_wxMessageDialog,
27250 _swigt__p_wxPasswordEntryDialog,
27251 _swigt__p_wxSingleChoiceDialog,
27252 _swigt__p_wxMultiChoiceDialog,
27253 _swigt__p_wxFileDialog,
27254 _swigt__p_wxTextEntryDialog,
27255 _swigt__p_wxPrinter,
27256 _swigt__p_wxArrayInt,
27257 _swigt__p_wxEvtHandler,
27258 _swigt__p_wxCalculateLayoutEvent,
27259 _swigt__p_wxPyHtmlListBox,
27260 _swigt__p_wxPyVListBox,
27261 _swigt__p_wxRect,
27262 _swigt__p_char,
27263 _swigt__p_wxMiniFrame,
27264 _swigt__p_wxFrame,
27265 _swigt__p_wxPyPrintout,
27266 _swigt__p_wxTaskBarIconEvent,
27267 _swigt__p_wxScrollWinEvent,
27268 _swigt__p_wxStatusBar,
27269 _swigt__p_wxMDIParentFrame,
27270 _swigt__p_wxPoint,
27271 _swigt__p_wxObject,
27272 _swigt__p_wxMDIClientWindow,
27273 _swigt__p_wxTipWindow,
27274 _swigt__p_wxPyPopupTransientWindow,
27275 _swigt__p_wxSashLayoutWindow,
27276 _swigt__p_wxSplitterWindow,
27277 _swigt__p_wxSplashScreenWindow,
27278 _swigt__p_wxPyVScrolledWindow,
27279 _swigt__p_wxPopupWindow,
27280 _swigt__p_wxSashWindow,
27281 _swigt__p_wxTopLevelWindow,
27282 _swigt__p_wxWindow,
27283 _swigt__p_wxScrolledWindow,
27284 _swigt__p_wxMenuBar,
27285 _swigt__p_wxPyScrolledWindow,
27286 _swigt__p_wxPrintPreview,
27287 _swigt__p_wxSashEvent,
27288 _swigt__p_wxString,
27289 _swigt__p_wxPyPrintPreview,
27290 _swigt__p_wxFontDialog,
27291 _swigt__p_wxDirDialog,
27292 _swigt__p_wxColourDialog,
27293 _swigt__p_wxDialog,
27294 _swigt__p_wxPanel,
27295 _swigt__p_wxPageSetupDialog,
27296 _swigt__p_wxPrintDialog,
27297 _swigt__p_wxFileSystem,
27298 _swigt__p_wxBitmap,
27299 _swigt__p_wxCommandEvent,
27300 _swigt__p_wxPreviewControlBar,
27301 _swigt__p_wxPyPreviewControlBar,
27302 _swigt__p_wxColour,
27303 _swigt__p_wxToolBar,
27304 _swigt__p_wxPageSetupDialogData,
27305 _swigt__p_wxPrintDialogData,
27306 0
27307 };
27308
27309
27310 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
27311
27312 static swig_const_info swig_const_table[] = {
27313 {0, 0, 0, 0.0, 0, 0}};
27314
27315 #ifdef __cplusplus
27316 }
27317 #endif
27318
27319 #ifdef __cplusplus
27320 extern "C"
27321 #endif
27322 SWIGEXPORT(void) SWIG_init(void) {
27323 static PyObject *SWIG_globals = 0;
27324 static int typeinit = 0;
27325 PyObject *m, *d;
27326 int i;
27327 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
27328 m = Py_InitModule((char *) SWIG_name, SwigMethods);
27329 d = PyModule_GetDict(m);
27330
27331 if (!typeinit) {
27332 for (i = 0; swig_types_initial[i]; i++) {
27333 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
27334 }
27335 typeinit = 1;
27336 }
27337 SWIG_InstallConstants(d,swig_const_table);
27338
27339 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
27340 SWIG_addvarlink(SWIG_globals,(char*)"FrameNameStr",_wrap_FrameNameStr_get, _wrap_FrameNameStr_set);
27341 SWIG_addvarlink(SWIG_globals,(char*)"DialogNameStr",_wrap_DialogNameStr_get, _wrap_DialogNameStr_set);
27342 SWIG_addvarlink(SWIG_globals,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get, _wrap_StatusLineNameStr_set);
27343 SWIG_addvarlink(SWIG_globals,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get, _wrap_ToolBarNameStr_set);
27344 PyDict_SetItemString(d,"STAY_ON_TOP", SWIG_From_int((int)wxSTAY_ON_TOP));
27345 PyDict_SetItemString(d,"ICONIZE", SWIG_From_int((int)wxICONIZE));
27346 PyDict_SetItemString(d,"MINIMIZE", SWIG_From_int((int)wxMINIMIZE));
27347 PyDict_SetItemString(d,"MAXIMIZE", SWIG_From_int((int)wxMAXIMIZE));
27348 PyDict_SetItemString(d,"CLOSE_BOX", SWIG_From_int((int)wxCLOSE_BOX));
27349 PyDict_SetItemString(d,"THICK_FRAME", SWIG_From_int((int)wxTHICK_FRAME));
27350 PyDict_SetItemString(d,"SYSTEM_MENU", SWIG_From_int((int)wxSYSTEM_MENU));
27351 PyDict_SetItemString(d,"MINIMIZE_BOX", SWIG_From_int((int)wxMINIMIZE_BOX));
27352 PyDict_SetItemString(d,"MAXIMIZE_BOX", SWIG_From_int((int)wxMAXIMIZE_BOX));
27353 PyDict_SetItemString(d,"TINY_CAPTION_HORIZ", SWIG_From_int((int)wxTINY_CAPTION_HORIZ));
27354 PyDict_SetItemString(d,"TINY_CAPTION_VERT", SWIG_From_int((int)wxTINY_CAPTION_VERT));
27355 PyDict_SetItemString(d,"RESIZE_BOX", SWIG_From_int((int)wxRESIZE_BOX));
27356 PyDict_SetItemString(d,"RESIZE_BORDER", SWIG_From_int((int)wxRESIZE_BORDER));
27357 PyDict_SetItemString(d,"DIALOG_NO_PARENT", SWIG_From_int((int)wxDIALOG_NO_PARENT));
27358 PyDict_SetItemString(d,"DEFAULT_FRAME_STYLE", SWIG_From_int((int)wxDEFAULT_FRAME_STYLE));
27359 PyDict_SetItemString(d,"DEFAULT_DIALOG_STYLE", SWIG_From_int((int)wxDEFAULT_DIALOG_STYLE));
27360 PyDict_SetItemString(d,"FRAME_TOOL_WINDOW", SWIG_From_int((int)wxFRAME_TOOL_WINDOW));
27361 PyDict_SetItemString(d,"FRAME_FLOAT_ON_PARENT", SWIG_From_int((int)wxFRAME_FLOAT_ON_PARENT));
27362 PyDict_SetItemString(d,"FRAME_NO_WINDOW_MENU", SWIG_From_int((int)wxFRAME_NO_WINDOW_MENU));
27363 PyDict_SetItemString(d,"FRAME_NO_TASKBAR", SWIG_From_int((int)wxFRAME_NO_TASKBAR));
27364 PyDict_SetItemString(d,"FRAME_SHAPED", SWIG_From_int((int)wxFRAME_SHAPED));
27365 PyDict_SetItemString(d,"FRAME_DRAWER", SWIG_From_int((int)wxFRAME_DRAWER));
27366 PyDict_SetItemString(d,"DIALOG_MODAL", SWIG_From_int((int)wxDIALOG_MODAL));
27367 PyDict_SetItemString(d,"DIALOG_MODELESS", SWIG_From_int((int)wxDIALOG_MODELESS));
27368 PyDict_SetItemString(d,"USER_COLOURS", SWIG_From_int((int)wxUSER_COLOURS));
27369 PyDict_SetItemString(d,"NO_3D", SWIG_From_int((int)wxNO_3D));
27370 PyDict_SetItemString(d,"FULLSCREEN_NOMENUBAR", SWIG_From_int((int)wxFULLSCREEN_NOMENUBAR));
27371 PyDict_SetItemString(d,"FULLSCREEN_NOTOOLBAR", SWIG_From_int((int)wxFULLSCREEN_NOTOOLBAR));
27372 PyDict_SetItemString(d,"FULLSCREEN_NOSTATUSBAR", SWIG_From_int((int)wxFULLSCREEN_NOSTATUSBAR));
27373 PyDict_SetItemString(d,"FULLSCREEN_NOBORDER", SWIG_From_int((int)wxFULLSCREEN_NOBORDER));
27374 PyDict_SetItemString(d,"FULLSCREEN_NOCAPTION", SWIG_From_int((int)wxFULLSCREEN_NOCAPTION));
27375 PyDict_SetItemString(d,"FULLSCREEN_ALL", SWIG_From_int((int)wxFULLSCREEN_ALL));
27376 PyDict_SetItemString(d,"TOPLEVEL_EX_DIALOG", SWIG_From_int((int)wxTOPLEVEL_EX_DIALOG));
27377 PyDict_SetItemString(d,"USER_ATTENTION_INFO", SWIG_From_int((int)wxUSER_ATTENTION_INFO));
27378 PyDict_SetItemString(d,"USER_ATTENTION_ERROR", SWIG_From_int((int)wxUSER_ATTENTION_ERROR));
27379 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_PARENT", SWIG_From_int((int)wxSPLASH_CENTRE_ON_PARENT));
27380 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_SCREEN", SWIG_From_int((int)wxSPLASH_CENTRE_ON_SCREEN));
27381 PyDict_SetItemString(d,"SPLASH_NO_CENTRE", SWIG_From_int((int)wxSPLASH_NO_CENTRE));
27382 PyDict_SetItemString(d,"SPLASH_TIMEOUT", SWIG_From_int((int)wxSPLASH_TIMEOUT));
27383 PyDict_SetItemString(d,"SPLASH_NO_TIMEOUT", SWIG_From_int((int)wxSPLASH_NO_TIMEOUT));
27384 PyDict_SetItemString(d,"SB_NORMAL", SWIG_From_int((int)wxSB_NORMAL));
27385 PyDict_SetItemString(d,"SB_FLAT", SWIG_From_int((int)wxSB_FLAT));
27386 PyDict_SetItemString(d,"SB_RAISED", SWIG_From_int((int)wxSB_RAISED));
27387 SWIG_addvarlink(SWIG_globals,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get, _wrap_SplitterNameStr_set);
27388 PyDict_SetItemString(d,"SP_NOBORDER", SWIG_From_int((int)wxSP_NOBORDER));
27389 PyDict_SetItemString(d,"SP_NOSASH", SWIG_From_int((int)wxSP_NOSASH));
27390 PyDict_SetItemString(d,"SP_PERMIT_UNSPLIT", SWIG_From_int((int)wxSP_PERMIT_UNSPLIT));
27391 PyDict_SetItemString(d,"SP_LIVE_UPDATE", SWIG_From_int((int)wxSP_LIVE_UPDATE));
27392 PyDict_SetItemString(d,"SP_3DSASH", SWIG_From_int((int)wxSP_3DSASH));
27393 PyDict_SetItemString(d,"SP_3DBORDER", SWIG_From_int((int)wxSP_3DBORDER));
27394 PyDict_SetItemString(d,"SP_NO_XP_THEME", SWIG_From_int((int)wxSP_NO_XP_THEME));
27395 PyDict_SetItemString(d,"SP_BORDER", SWIG_From_int((int)wxSP_BORDER));
27396 PyDict_SetItemString(d,"SP_3D", SWIG_From_int((int)wxSP_3D));
27397 PyDict_SetItemString(d,"SPLIT_HORIZONTAL", SWIG_From_int((int)wxSPLIT_HORIZONTAL));
27398 PyDict_SetItemString(d,"SPLIT_VERTICAL", SWIG_From_int((int)wxSPLIT_VERTICAL));
27399 PyDict_SetItemString(d,"SPLIT_DRAG_NONE", SWIG_From_int((int)wxSPLIT_DRAG_NONE));
27400 PyDict_SetItemString(d,"SPLIT_DRAG_DRAGGING", SWIG_From_int((int)wxSPLIT_DRAG_DRAGGING));
27401 PyDict_SetItemString(d,"SPLIT_DRAG_LEFT_DOWN", SWIG_From_int((int)wxSPLIT_DRAG_LEFT_DOWN));
27402 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
27403 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
27404 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
27405 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
27406 SWIG_addvarlink(SWIG_globals,(char*)"SashNameStr",_wrap_SashNameStr_get, _wrap_SashNameStr_set);
27407 SWIG_addvarlink(SWIG_globals,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get, _wrap_SashLayoutNameStr_set);
27408 PyDict_SetItemString(d,"SASH_DRAG_NONE", SWIG_From_int((int)wxSASH_DRAG_NONE));
27409 PyDict_SetItemString(d,"SASH_DRAG_DRAGGING", SWIG_From_int((int)wxSASH_DRAG_DRAGGING));
27410 PyDict_SetItemString(d,"SASH_DRAG_LEFT_DOWN", SWIG_From_int((int)wxSASH_DRAG_LEFT_DOWN));
27411 PyDict_SetItemString(d,"SW_NOBORDER", SWIG_From_int((int)wxSW_NOBORDER));
27412 PyDict_SetItemString(d,"SW_BORDER", SWIG_From_int((int)wxSW_BORDER));
27413 PyDict_SetItemString(d,"SW_3DSASH", SWIG_From_int((int)wxSW_3DSASH));
27414 PyDict_SetItemString(d,"SW_3DBORDER", SWIG_From_int((int)wxSW_3DBORDER));
27415 PyDict_SetItemString(d,"SW_3D", SWIG_From_int((int)wxSW_3D));
27416 PyDict_SetItemString(d,"SASH_TOP", SWIG_From_int((int)wxSASH_TOP));
27417 PyDict_SetItemString(d,"SASH_RIGHT", SWIG_From_int((int)wxSASH_RIGHT));
27418 PyDict_SetItemString(d,"SASH_BOTTOM", SWIG_From_int((int)wxSASH_BOTTOM));
27419 PyDict_SetItemString(d,"SASH_LEFT", SWIG_From_int((int)wxSASH_LEFT));
27420 PyDict_SetItemString(d,"SASH_NONE", SWIG_From_int((int)wxSASH_NONE));
27421 PyDict_SetItemString(d,"SASH_STATUS_OK", SWIG_From_int((int)wxSASH_STATUS_OK));
27422 PyDict_SetItemString(d,"SASH_STATUS_OUT_OF_RANGE", SWIG_From_int((int)wxSASH_STATUS_OUT_OF_RANGE));
27423 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
27424 PyDict_SetItemString(d,"LAYOUT_HORIZONTAL", SWIG_From_int((int)wxLAYOUT_HORIZONTAL));
27425 PyDict_SetItemString(d,"LAYOUT_VERTICAL", SWIG_From_int((int)wxLAYOUT_VERTICAL));
27426 PyDict_SetItemString(d,"LAYOUT_NONE", SWIG_From_int((int)wxLAYOUT_NONE));
27427 PyDict_SetItemString(d,"LAYOUT_TOP", SWIG_From_int((int)wxLAYOUT_TOP));
27428 PyDict_SetItemString(d,"LAYOUT_LEFT", SWIG_From_int((int)wxLAYOUT_LEFT));
27429 PyDict_SetItemString(d,"LAYOUT_RIGHT", SWIG_From_int((int)wxLAYOUT_RIGHT));
27430 PyDict_SetItemString(d,"LAYOUT_BOTTOM", SWIG_From_int((int)wxLAYOUT_BOTTOM));
27431 PyDict_SetItemString(d,"LAYOUT_LENGTH_Y", SWIG_From_int((int)wxLAYOUT_LENGTH_Y));
27432 PyDict_SetItemString(d,"LAYOUT_LENGTH_X", SWIG_From_int((int)wxLAYOUT_LENGTH_X));
27433 PyDict_SetItemString(d,"LAYOUT_MRU_LENGTH", SWIG_From_int((int)wxLAYOUT_MRU_LENGTH));
27434 PyDict_SetItemString(d,"LAYOUT_QUERY", SWIG_From_int((int)wxLAYOUT_QUERY));
27435 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
27436 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
27437 SWIG_addvarlink(SWIG_globals,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get, _wrap_VListBoxNameStr_set);
27438
27439 // Map renamed classes back to their common name for OOR
27440 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
27441 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
27442 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
27443
27444 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
27445 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
27446 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
27447 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
27448 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
27449 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
27450 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
27451 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
27452 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
27453 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get, _wrap_DirDialogNameStr_set);
27454 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
27455 SWIG_addvarlink(SWIG_globals,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get, _wrap_GetTextFromUserPromptStr_set);
27456 SWIG_addvarlink(SWIG_globals,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get, _wrap_MessageBoxCaptionStr_set);
27457 PyDict_SetItemString(d,"CHOICEDLG_STYLE", SWIG_From_int((int)wxCHOICEDLG_STYLE));
27458 PyDict_SetItemString(d,"TextEntryDialogStyle", SWIG_From_int((int)wxTextEntryDialogStyle));
27459 SWIG_addvarlink(SWIG_globals,(char*)"GetPasswordFromUserPromptStr",_wrap_GetPasswordFromUserPromptStr_get, _wrap_GetPasswordFromUserPromptStr_set);
27460 PyDict_SetItemString(d,"FR_DOWN", SWIG_From_int((int)wxFR_DOWN));
27461 PyDict_SetItemString(d,"FR_WHOLEWORD", SWIG_From_int((int)wxFR_WHOLEWORD));
27462 PyDict_SetItemString(d,"FR_MATCHCASE", SWIG_From_int((int)wxFR_MATCHCASE));
27463 PyDict_SetItemString(d,"FR_REPLACEDIALOG", SWIG_From_int((int)wxFR_REPLACEDIALOG));
27464 PyDict_SetItemString(d,"FR_NOUPDOWN", SWIG_From_int((int)wxFR_NOUPDOWN));
27465 PyDict_SetItemString(d,"FR_NOMATCHCASE", SWIG_From_int((int)wxFR_NOMATCHCASE));
27466 PyDict_SetItemString(d,"FR_NOWHOLEWORD", SWIG_From_int((int)wxFR_NOWHOLEWORD));
27467 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
27468 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
27469 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
27470 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
27471 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
27472 PyDict_SetItemString(d,"IDM_WINDOWTILE", SWIG_From_int((int)4001));
27473 PyDict_SetItemString(d,"IDM_WINDOWTILEHOR", SWIG_From_int((int)4001));
27474 PyDict_SetItemString(d,"IDM_WINDOWCASCADE", SWIG_From_int((int)4002));
27475 PyDict_SetItemString(d,"IDM_WINDOWICONS", SWIG_From_int((int)4003));
27476 PyDict_SetItemString(d,"IDM_WINDOWNEXT", SWIG_From_int((int)4004));
27477 PyDict_SetItemString(d,"IDM_WINDOWTILEVERT", SWIG_From_int((int)4005));
27478 PyDict_SetItemString(d,"FIRST_MDI_CHILD", SWIG_From_int((int)4100));
27479 PyDict_SetItemString(d,"LAST_MDI_CHILD", SWIG_From_int((int)4600));
27480 SWIG_addvarlink(SWIG_globals,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get, _wrap_PrintoutTitleStr_set);
27481 SWIG_addvarlink(SWIG_globals,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get, _wrap_PreviewCanvasNameStr_set);
27482 PyDict_SetItemString(d,"PRINT_MODE_NONE", SWIG_From_int((int)wxPRINT_MODE_NONE));
27483 PyDict_SetItemString(d,"PRINT_MODE_PREVIEW", SWIG_From_int((int)wxPRINT_MODE_PREVIEW));
27484 PyDict_SetItemString(d,"PRINT_MODE_FILE", SWIG_From_int((int)wxPRINT_MODE_FILE));
27485 PyDict_SetItemString(d,"PRINT_MODE_PRINTER", SWIG_From_int((int)wxPRINT_MODE_PRINTER));
27486 PyDict_SetItemString(d,"PRINT_MODE_STREAM", SWIG_From_int((int)wxPRINT_MODE_STREAM));
27487 PyDict_SetItemString(d,"PRINTBIN_DEFAULT", SWIG_From_int((int)wxPRINTBIN_DEFAULT));
27488 PyDict_SetItemString(d,"PRINTBIN_ONLYONE", SWIG_From_int((int)wxPRINTBIN_ONLYONE));
27489 PyDict_SetItemString(d,"PRINTBIN_LOWER", SWIG_From_int((int)wxPRINTBIN_LOWER));
27490 PyDict_SetItemString(d,"PRINTBIN_MIDDLE", SWIG_From_int((int)wxPRINTBIN_MIDDLE));
27491 PyDict_SetItemString(d,"PRINTBIN_MANUAL", SWIG_From_int((int)wxPRINTBIN_MANUAL));
27492 PyDict_SetItemString(d,"PRINTBIN_ENVELOPE", SWIG_From_int((int)wxPRINTBIN_ENVELOPE));
27493 PyDict_SetItemString(d,"PRINTBIN_ENVMANUAL", SWIG_From_int((int)wxPRINTBIN_ENVMANUAL));
27494 PyDict_SetItemString(d,"PRINTBIN_AUTO", SWIG_From_int((int)wxPRINTBIN_AUTO));
27495 PyDict_SetItemString(d,"PRINTBIN_TRACTOR", SWIG_From_int((int)wxPRINTBIN_TRACTOR));
27496 PyDict_SetItemString(d,"PRINTBIN_SMALLFMT", SWIG_From_int((int)wxPRINTBIN_SMALLFMT));
27497 PyDict_SetItemString(d,"PRINTBIN_LARGEFMT", SWIG_From_int((int)wxPRINTBIN_LARGEFMT));
27498 PyDict_SetItemString(d,"PRINTBIN_LARGECAPACITY", SWIG_From_int((int)wxPRINTBIN_LARGECAPACITY));
27499 PyDict_SetItemString(d,"PRINTBIN_CASSETTE", SWIG_From_int((int)wxPRINTBIN_CASSETTE));
27500 PyDict_SetItemString(d,"PRINTBIN_FORMSOURCE", SWIG_From_int((int)wxPRINTBIN_FORMSOURCE));
27501 PyDict_SetItemString(d,"PRINTBIN_USER", SWIG_From_int((int)wxPRINTBIN_USER));
27502 PyDict_SetItemString(d,"PRINTER_NO_ERROR", SWIG_From_int((int)wxPRINTER_NO_ERROR));
27503 PyDict_SetItemString(d,"PRINTER_CANCELLED", SWIG_From_int((int)wxPRINTER_CANCELLED));
27504 PyDict_SetItemString(d,"PRINTER_ERROR", SWIG_From_int((int)wxPRINTER_ERROR));
27505 PyDict_SetItemString(d,"PREVIEW_PRINT", SWIG_From_int((int)wxPREVIEW_PRINT));
27506 PyDict_SetItemString(d,"PREVIEW_PREVIOUS", SWIG_From_int((int)wxPREVIEW_PREVIOUS));
27507 PyDict_SetItemString(d,"PREVIEW_NEXT", SWIG_From_int((int)wxPREVIEW_NEXT));
27508 PyDict_SetItemString(d,"PREVIEW_ZOOM", SWIG_From_int((int)wxPREVIEW_ZOOM));
27509 PyDict_SetItemString(d,"PREVIEW_FIRST", SWIG_From_int((int)wxPREVIEW_FIRST));
27510 PyDict_SetItemString(d,"PREVIEW_LAST", SWIG_From_int((int)wxPREVIEW_LAST));
27511 PyDict_SetItemString(d,"PREVIEW_GOTO", SWIG_From_int((int)wxPREVIEW_GOTO));
27512 PyDict_SetItemString(d,"PREVIEW_DEFAULT", SWIG_From_int((int)wxPREVIEW_DEFAULT));
27513 PyDict_SetItemString(d,"ID_PREVIEW_CLOSE", SWIG_From_int((int)wxID_PREVIEW_CLOSE));
27514 PyDict_SetItemString(d,"ID_PREVIEW_NEXT", SWIG_From_int((int)wxID_PREVIEW_NEXT));
27515 PyDict_SetItemString(d,"ID_PREVIEW_PREVIOUS", SWIG_From_int((int)wxID_PREVIEW_PREVIOUS));
27516 PyDict_SetItemString(d,"ID_PREVIEW_PRINT", SWIG_From_int((int)wxID_PREVIEW_PRINT));
27517 PyDict_SetItemString(d,"ID_PREVIEW_ZOOM", SWIG_From_int((int)wxID_PREVIEW_ZOOM));
27518 PyDict_SetItemString(d,"ID_PREVIEW_FIRST", SWIG_From_int((int)wxID_PREVIEW_FIRST));
27519 PyDict_SetItemString(d,"ID_PREVIEW_LAST", SWIG_From_int((int)wxID_PREVIEW_LAST));
27520 PyDict_SetItemString(d,"ID_PREVIEW_GOTO", SWIG_From_int((int)wxID_PREVIEW_GOTO));
27521
27522 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
27523
27524 }
27525