]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/msw/_windows_wrap.cpp
trying to make GetData() return data format more clear
[wxWidgets.git] / wxPython / src / msw / _windows_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.22
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12 #define SWIG_NOINCLUDE
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30
31 #include "Python.h"
32
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
35 *
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
38 *
39 ************************************************************************/
40
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypePrettyName SWIG_Python_TypePrettyName
47 #define SWIG_TypeQuery SWIG_Python_TypeQuery
48 #define SWIG_TypeClientData SWIG_Python_TypeClientData
49 #define SWIG_PackData SWIG_Python_PackData
50 #define SWIG_UnpackData SWIG_Python_UnpackData
51
52
53 /***********************************************************************
54 * common.swg for wxPython
55 *
56 * Include only the function prototypes and such from SWIG's common.swg,
57 * but not the runtime functions themselves. This helps keep the
58 * wrapper files clean of unnecessary stuff that is in the libpy.c file
59 * anyway.
60 *
61 ************************************************************************/
62
63 #include <string.h>
64
65 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
66 # if defined(_MSC_VER) || defined(__GNUC__)
67 # if defined(STATIC_LINKED)
68 # define SWIGEXPORT(a) a
69 # define SWIGIMPORT(a) extern a
70 # else
71 # define SWIGEXPORT(a) __declspec(dllexport) a
72 # define SWIGIMPORT(a) extern a
73 # endif
74 # else
75 # if defined(__BORLANDC__)
76 # define SWIGEXPORT(a) a _export
77 # define SWIGIMPORT(a) a _export
78 # else
79 # define SWIGEXPORT(a) a
80 # define SWIGIMPORT(a) a
81 # endif
82 # endif
83 #else
84 # define SWIGEXPORT(a) a
85 # define SWIGIMPORT(a) a
86 #endif
87
88 #ifdef SWIG_GLOBAL
89 # define SWIGRUNTIME(a) SWIGEXPORT(a)
90 #else
91 # define SWIGRUNTIME(a) static a
92 #endif
93
94 #ifdef __cplusplus
95 extern "C" {
96 #endif
97
98 typedef void *(*swig_converter_func)(void *);
99 typedef struct swig_type_info *(*swig_dycast_func)(void **);
100
101 typedef struct swig_type_info {
102 const char *name;
103 swig_converter_func converter;
104 const char *str;
105 void *clientdata;
106 swig_dycast_func dcast;
107 struct swig_type_info *next;
108 struct swig_type_info *prev;
109 } swig_type_info;
110
111
112 SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
113 SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
114 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
115 SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
116 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
117 SWIGIMPORT(const char *) SWIG_TypePrettyName(const swig_type_info *);
118 SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
119 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
120 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
121 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
122
123
124 #ifdef __cplusplus
125 }
126 #endif
127
128
129 /***********************************************************************
130 * pyrun.swg for wxPython
131 *
132 * Include only the function prototypes and such from SWIG's pyrun.swg,
133 * but not the runtime functions themselves. This helps keep the
134 * wrapper files clean of unnecessary stuff that is in the libpy.c file
135 * anyway.
136 *
137 ************************************************************************/
138
139 #ifdef __cplusplus
140 extern "C" {
141 #endif
142
143 #define SWIG_PY_INT 1
144 #define SWIG_PY_FLOAT 2
145 #define SWIG_PY_STRING 3
146 #define SWIG_PY_POINTER 4
147 #define SWIG_PY_BINARY 5
148
149 /* Flags for pointer conversion */
150
151 #define SWIG_POINTER_EXCEPTION 0x1
152 #define SWIG_POINTER_DISOWN 0x2
153
154 /* Exception handling in wrappers */
155 #define SWIG_fail goto fail
156
157 /* Constant information structure */
158 typedef struct swig_const_info {
159 int type;
160 char *name;
161 long lvalue;
162 double dvalue;
163 void *pvalue;
164 swig_type_info **ptype;
165 } swig_const_info;
166
167 /* Common SWIG API */
168 #define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170 #define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172 #define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174
175 /* Python-specific SWIG API */
176 #define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
182 #define SWIG_NewPackedObj(ptr, sz, type) \
183 SWIG_Python_NewPackedObj(ptr, sz, type)
184 #define SWIG_InstallConstants(d, constants) \
185 SWIG_Python_InstallConstants(d, constants)
186
187 typedef double (*py_objasdbl_conv)(PyObject *obj);
188
189 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
190 SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
191 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
192 SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
193 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
194 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
195 SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
196 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
197
198
199 /* Contract support */
200
201 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
202
203 #ifdef __cplusplus
204 }
205 #endif
206
207
208
209 /* -------- TYPES TABLE (BEGIN) -------- */
210
211 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[0]
212 #define SWIGTYPE_p_wxPreviewFrame swig_types[1]
213 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[2]
214 #define SWIGTYPE_p_wxPyPanel swig_types[3]
215 #define SWIGTYPE_p_wxMenu swig_types[4]
216 #define SWIGTYPE_p_wxFontData swig_types[5]
217 #define SWIGTYPE_p_wxEvent swig_types[6]
218 #define SWIGTYPE_p_wxPrintData swig_types[7]
219 #define SWIGTYPE_p_wxTaskBarIcon swig_types[8]
220 #define SWIGTYPE_p_wxIconBundle swig_types[9]
221 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[10]
222 #define SWIGTYPE_p_wxFindDialogEvent swig_types[11]
223 #define SWIGTYPE_p_wxPreviewCanvas swig_types[12]
224 #define SWIGTYPE_p_wxFont swig_types[13]
225 #define SWIGTYPE_p_wxSplitterEvent swig_types[14]
226 #define SWIGTYPE_p_wxRegion swig_types[15]
227 #define SWIGTYPE_p_wxFindReplaceData swig_types[16]
228 #define SWIGTYPE_p_int swig_types[17]
229 #define SWIGTYPE_p_wxSize swig_types[18]
230 #define SWIGTYPE_p_wxDC swig_types[19]
231 #define SWIGTYPE_p_wxIcon swig_types[20]
232 #define SWIGTYPE_p_wxVisualAttributes swig_types[21]
233 #define SWIGTYPE_p_wxMDIChildFrame swig_types[22]
234 #define SWIGTYPE_p_wxColourData swig_types[23]
235 #define SWIGTYPE_p_wxNotifyEvent swig_types[24]
236 #define SWIGTYPE_p_wxPyWindow swig_types[25]
237 #define SWIGTYPE_p_wxSplashScreen swig_types[26]
238 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[27]
239 #define SWIGTYPE_p_wxProgressDialog swig_types[28]
240 #define SWIGTYPE_p_wxMessageDialog swig_types[29]
241 #define SWIGTYPE_p_wxTextEntryDialog swig_types[30]
242 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[31]
243 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[32]
244 #define SWIGTYPE_p_wxFileDialog swig_types[33]
245 #define SWIGTYPE_p_wxPrinter swig_types[34]
246 #define SWIGTYPE_p_wxArrayInt swig_types[35]
247 #define SWIGTYPE_p_wxEvtHandler swig_types[36]
248 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[37]
249 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[38]
250 #define SWIGTYPE_p_wxPyVListBox swig_types[39]
251 #define SWIGTYPE_p_wxRect swig_types[40]
252 #define SWIGTYPE_p_char swig_types[41]
253 #define SWIGTYPE_p_wxMiniFrame swig_types[42]
254 #define SWIGTYPE_p_wxFrame swig_types[43]
255 #define SWIGTYPE_p_wxPyPrintout swig_types[44]
256 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[45]
257 #define SWIGTYPE_p_wxScrollWinEvent swig_types[46]
258 #define SWIGTYPE_p_wxStatusBar swig_types[47]
259 #define SWIGTYPE_p_wxMDIParentFrame swig_types[48]
260 #define SWIGTYPE_p_wxPoint swig_types[49]
261 #define SWIGTYPE_p_wxObject swig_types[50]
262 #define SWIGTYPE_p_wxOutputStream swig_types[51]
263 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[52]
264 #define SWIGTYPE_p_wxMDIClientWindow swig_types[53]
265 #define SWIGTYPE_p_wxTipWindow swig_types[54]
266 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[55]
267 #define SWIGTYPE_p_wxSplitterWindow swig_types[56]
268 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[57]
269 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[58]
270 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[59]
271 #define SWIGTYPE_p_wxPopupWindow swig_types[60]
272 #define SWIGTYPE_p_wxSashWindow swig_types[61]
273 #define SWIGTYPE_p_wxTopLevelWindow swig_types[62]
274 #define SWIGTYPE_p_wxWindow swig_types[63]
275 #define SWIGTYPE_p_wxScrolledWindow swig_types[64]
276 #define SWIGTYPE_p_wxMenuBar swig_types[65]
277 #define SWIGTYPE_p_wxPrintPreview swig_types[66]
278 #define SWIGTYPE_p_wxSashEvent swig_types[67]
279 #define SWIGTYPE_p_wxString swig_types[68]
280 #define SWIGTYPE_p_wxPyPrintPreview swig_types[69]
281 #define SWIGTYPE_p_wxFontDialog swig_types[70]
282 #define SWIGTYPE_p_wxDirDialog swig_types[71]
283 #define SWIGTYPE_p_wxColourDialog swig_types[72]
284 #define SWIGTYPE_p_wxDialog swig_types[73]
285 #define SWIGTYPE_p_wxPanel swig_types[74]
286 #define SWIGTYPE_p_wxPageSetupDialog swig_types[75]
287 #define SWIGTYPE_p_wxPrintDialog swig_types[76]
288 #define SWIGTYPE_p_wxFileSystem swig_types[77]
289 #define SWIGTYPE_p_wxBitmap swig_types[78]
290 #define SWIGTYPE_p_wxCommandEvent swig_types[79]
291 #define SWIGTYPE_p_wxPreviewControlBar swig_types[80]
292 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[81]
293 #define SWIGTYPE_p_wxColour swig_types[82]
294 #define SWIGTYPE_p_wxToolBar swig_types[83]
295 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[84]
296 #define SWIGTYPE_p_wxPrintDialogData swig_types[85]
297 static swig_type_info *swig_types[87];
298
299 /* -------- TYPES TABLE (END) -------- */
300
301
302 /*-----------------------------------------------
303 @(target):= _windows_.so
304 ------------------------------------------------*/
305 #define SWIG_init init_windows_
306
307 #define SWIG_name "_windows_"
308
309 /* Auxiliar swig macros that appear in the header */
310
311 #define SWIG_OLDOBJ 1
312 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
313 #define SWIG_PYSTR SWIG_NEWOBJ + 1
314
315 #ifdef __cplusplus
316 #define SWIGSTATICINLINE(a) static inline a
317 #define SWIGSTATIC(a) static a
318 #define swig_new_array(size,Type) (new Type[(size)])
319 #define swig_delete(cptr) delete cptr
320 #define swig_delete_array(cptr) delete[] cptr
321 #define swig_const_cast(a,Type) const_cast<Type >(a)
322 #define swig_static_cast(a,Type) static_cast<Type >(a)
323 #define swig_reinterpret_cast(a,Type) reinterpret_cast<Type >(a)
324 #define swig_new_copy(ptr,Type) (new Type(*ptr))
325 #define swig_numeric_cast(a,Type) static_cast<Type >(a)
326
327 #else /* C case */
328
329 #define SWIGSTATICINLINE(a) static a
330 #define SWIGSTATIC(a) static a
331 #define swig_new_array(size,Type) ((Type*) malloc((size)*sizeof(Type)))
332 #define swig_delete(cptr) free((char*)cptr)
333 #define swig_delete_array(cptr) free((char*)cptr)
334 #define swig_const_cast(a,Type) (Type)(a)
335 #define swig_static_cast(a,Type) (Type)(a)
336 #define swig_reinterpret_cast(a,Type) (Type)(a)
337 #define swig_numeric_cast(a,Type) (Type)(a)
338 #define swig_new_copy(ptr,Type) ((Type*)memcpy(malloc(sizeof(Type)),ptr,sizeof(Type)))
339
340 #endif /* __cplusplus */
341
342
343 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
344 #define SWIG_From_signed_SS_char PyInt_FromLong
345 /*@@*/
346 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
347 #define SWIG_From_unsigned_SS_char PyInt_FromLong
348 /*@@*/
349 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
350 #define SWIG_From_short PyInt_FromLong
351 /*@@*/
352 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
353 #define SWIG_From_unsigned_SS_short PyInt_FromLong
354 /*@@*/
355 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
356 #define SWIG_From_int PyInt_FromLong
357 /*@@*/
358 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
359 #define SWIG_From_long PyInt_FromLong
360 /*@@*/
361 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
362 #define SWIG_From_float PyFloat_FromDouble
363 /*@@*/
364 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
365 #define SWIG_From_double PyFloat_FromDouble
366 /*@@*/
367
368
369 #include "wx/wxPython/wxPython.h"
370 #include "wx/wxPython/pyclasses.h"
371
372
373 static const wxString wxPyEmptyString(wxEmptyString);
374 static const wxString wxPyPanelNameStr(wxPanelNameStr);
375
376
377
378 #include <limits.h>
379
380
381 SWIGSTATICINLINE(int)
382 SWIG_CheckLongInRange(long value, long min_value, long max_value,
383 const char *errmsg)
384 {
385 if (value < min_value) {
386 if (errmsg) {
387 PyErr_Format(PyExc_OverflowError,
388 "value %ld is less than '%s' minimum %ld",
389 value, errmsg, min_value);
390 }
391 return 0;
392 } else if (value > max_value) {
393 if (errmsg) {
394 PyErr_Format(PyExc_OverflowError,
395 "value %ld is greater than '%s' maximum %ld",
396 value, errmsg, max_value);
397 }
398 return 0;
399 }
400 return 1;
401 }
402
403
404 // See my_fragments.i
405 SWIGSTATICINLINE(int)
406 SWIG_AsVal_long(PyObject* obj, long* val)
407 {
408 if (PyNumber_Check(obj)) {
409 if (val) *val = PyInt_AsLong(obj);
410 return 1;
411 }
412 else {
413 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
414 obj->ob_type->tp_name);
415 PyErr_SetObject(PyExc_TypeError, errmsg);
416 Py_DECREF(errmsg);
417 }
418 return 0;
419 }
420
421
422 #if INT_MAX != LONG_MAX
423 SWIGSTATICINLINE(int)
424 SWIG_AsVal_int(PyObject *obj, int *val)
425 {
426 const char* errmsg = val ? "int" : 0;
427 long v;
428 if (SWIG_AsVal_long(obj, &v)) {
429 if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) {
430 if (val) *val = swig_numeric_cast(v, int);
431 return 1;
432 } else {
433 return 0;
434 }
435 } else {
436 PyErr_Clear();
437 }
438 if (val) {
439 PyErr_SetString(PyExc_TypeError, "an int is expected");
440 }
441 return 0;
442 }
443 #else
444 SWIGSTATICINLINE(int)
445 SWIG_AsVal_int(PyObject *obj, int *val)
446 {
447 return SWIG_AsVal_long(obj,(long*)val);
448 }
449 #endif
450
451
452 SWIGSTATICINLINE(int)
453 SWIG_As_int(PyObject* obj)
454 {
455 int v;
456 if (!SWIG_AsVal_int(obj, &v)) {
457 /*
458 this is needed to make valgrind/purify happier. the other
459 solution is throw an exception, but since this code should work
460 with plain C ....
461 */
462 memset((void*)&v, 0, sizeof(int));
463 }
464 return v;
465 }
466
467
468 SWIGSTATICINLINE(long)
469 SWIG_As_long(PyObject* obj)
470 {
471 long v;
472 if (!SWIG_AsVal_long(obj, &v)) {
473 /*
474 this is needed to make valgrind/purify happier. the other
475 solution is throw an exception, but since this code should work
476 with plain C ....
477 */
478 memset((void*)&v, 0, sizeof(long));
479 }
480 return v;
481 }
482
483
484 SWIGSTATICINLINE(int)
485 SWIG_Check_int(PyObject* obj)
486 {
487 return SWIG_AsVal_int(obj, (int*)0);
488 }
489
490
491 SWIGSTATICINLINE(int)
492 SWIG_Check_long(PyObject* obj)
493 {
494 return SWIG_AsVal_long(obj, (long*)0);
495 }
496
497
498 SWIGSTATICINLINE(int)
499 SWIG_AsVal_bool(PyObject *obj, bool *val)
500 {
501 /* if (val) *val = PyObject_IsTrue(obj); return 1; */
502 if (obj == Py_True) {
503 if (val) *val = true;
504 return 1;
505 }
506 if (obj == Py_False) {
507 if (val) *val = false;
508 return 1;
509 }
510 int res = 0;
511 if (SWIG_AsVal_int(obj, &res)) {
512 if (val) *val = (bool)res;
513 return 1;
514 }
515 if (val) {
516 PyErr_SetString(PyExc_TypeError, "a bool is expected");
517 }
518 return 0;
519 }
520
521
522 SWIGSTATICINLINE(bool)
523 SWIG_As_bool(PyObject* obj)
524 {
525 bool v;
526 if (!SWIG_AsVal_bool(obj, &v)) {
527 /*
528 this is needed to make valgrind/purify happier. the other
529 solution is throw an exception, but since this code should work
530 with plain C ....
531 */
532 memset((void*)&v, 0, sizeof(bool));
533 }
534 return v;
535 }
536
537
538 SWIGSTATICINLINE(int)
539 SWIG_Check_bool(PyObject* obj)
540 {
541 return SWIG_AsVal_bool(obj, (bool*)0);
542 }
543
544
545 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
546 PyObject* o2;
547 PyObject* o3;
548
549 if (!target) {
550 target = o;
551 } else if (target == Py_None) {
552 Py_DECREF(Py_None);
553 target = o;
554 } else {
555 if (!PyTuple_Check(target)) {
556 o2 = target;
557 target = PyTuple_New(1);
558 PyTuple_SetItem(target, 0, o2);
559 }
560 o3 = PyTuple_New(1);
561 PyTuple_SetItem(o3, 0, o);
562
563 o2 = target;
564 target = PySequence_Concat(o2, o3);
565 Py_DECREF(o2);
566 Py_DECREF(o3);
567 }
568 return target;
569 }
570
571
572
573 // See my_fragments.i
574 SWIGSTATICINLINE(int)
575 SWIG_AsVal_double(PyObject *obj, double* val)
576 {
577 if (PyNumber_Check(obj)) {
578 if (val) *val = PyFloat_AsDouble(obj);
579 return 1;
580 }
581 else {
582 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
583 obj->ob_type->tp_name);
584 PyErr_SetObject(PyExc_TypeError, errmsg);
585 Py_DECREF(errmsg);
586 }
587 return 0;
588 }
589
590
591 SWIGSTATICINLINE(double)
592 SWIG_As_double(PyObject* obj)
593 {
594 double v;
595 if (!SWIG_AsVal_double(obj, &v)) {
596 /*
597 this is needed to make valgrind/purify happier. the other
598 solution is throw an exception, but since this code should work
599 with plain C ....
600 */
601 memset((void*)&v, 0, sizeof(double));
602 }
603 return v;
604 }
605
606
607 SWIGSTATICINLINE(int)
608 SWIG_Check_double(PyObject* obj)
609 {
610 return SWIG_AsVal_double(obj, (double*)0);
611 }
612
613 static const wxString wxPyFrameNameStr(wxFrameNameStr);
614 static const wxString wxPyDialogNameStr(wxDialogNameStr);
615 static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr);
616 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
617
618
619 wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
620 wxRect r;
621 self->GetFieldRect(i, r);
622 return r;
623 }
624 static const wxString wxPySplitterNameStr(wxT("splitter"));
625 static const wxString wxPySashNameStr(wxT("sashWindow"));
626 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
627
628 #include <wx/popupwin.h>
629
630
631 class wxPyPopupTransientWindow : public wxPopupTransientWindow
632 {
633 public:
634 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
635 wxPyPopupTransientWindow(wxWindow* parent, int style = wxBORDER_NONE)
636 : wxPopupTransientWindow(parent, style) {}
637
638 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown);
639 DEC_PYCALLBACK__(OnDismiss);
640 DEC_PYCALLBACK_BOOL_(CanDismiss);
641 PYPRIVATE;
642 };
643
644
645 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow, wxPopupTransientWindow, ProcessLeftDown);
646 IMP_PYCALLBACK__(wxPyPopupTransientWindow, wxPopupTransientWindow, OnDismiss);
647 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow, wxPopupTransientWindow, CanDismiss);
648
649
650 #include <wx/tipwin.h>
651
652 wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength,wxRect *rectBound){
653 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
654 }
655
656 #include <wx/tipwin.h>
657
658
659 #include <wx/vscroll.h>
660
661
662 class wxPyVScrolledWindow : public wxVScrolledWindow
663 {
664 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow);
665 public:
666 wxPyVScrolledWindow() : wxVScrolledWindow() {}
667
668 wxPyVScrolledWindow(wxWindow *parent,
669 wxWindowID id = wxID_ANY,
670 const wxPoint& pos = wxDefaultPosition,
671 const wxSize& size = wxDefaultSize,
672 long style = 0,
673 const wxString& name = wxPyPanelNameStr)
674 : wxVScrolledWindow(parent, id, pos, size, style, name)
675 {}
676
677 // Overridable virtuals
678
679 // this function must be overridden in the derived class and it should
680 // return the height of the given line in pixels
681 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
682
683
684 // this function doesn't have to be overridden but it may be useful to do
685 // it if calculating the lines heights is a relatively expensive operation
686 // as it gives the user code a possibility to calculate several of them at
687 // once
688 //
689 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
690 // shouldn't rely on the latter being called for all lines in the interval
691 // specified here. It is also possible that OnGetLineHeight() will be
692 // called for the lines outside of this interval, so this is really just a
693 // hint, not a promise.
694 //
695 // finally note that lineMin is inclusive, while lineMax is exclusive, as
696 // usual
697 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
698
699
700 // when the number of lines changes, we try to estimate the total height
701 // of all lines which is a rather expensive operation in terms of lines
702 // access, so if the user code may estimate the average height
703 // better/faster than we do, it should override this function to implement
704 // its own logic
705 //
706 // this function should return the best guess for the total height it may
707 // make
708 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
709
710
711 // Also expose some other interesting protected methods
712
713
714 // find the index of the line we need to show at the top of the window such
715 // that the last (fully or partially) visible line is the given one
716 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = False)
717 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
718
719 // get the total height of the lines between lineMin (inclusive) and
720 // lineMax (exclusive)
721 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
722 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
723
724
725 PYPRIVATE;
726 };
727
728 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
729
730 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
731 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
732 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
733
734
735 // See my_fragments.i
736 SWIGSTATICINLINE(int)
737 SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val)
738 {
739 long v = 0;
740 if (SWIG_AsVal_long(obj, &v) && v < 0) {
741 PyErr_SetString(PyExc_TypeError, "negative value received for unsigned type");
742 return 0;
743 }
744 else if (val)
745 *val = (unsigned long)v;
746 return 1;
747 }
748
749
750 SWIGSTATICINLINE(unsigned long)
751 SWIG_As_unsigned_SS_long(PyObject* obj)
752 {
753 unsigned long v;
754 if (!SWIG_AsVal_unsigned_SS_long(obj, &v)) {
755 /*
756 this is needed to make valgrind/purify happier. the other
757 solution is throw an exception, but since this code should work
758 with plain C ....
759 */
760 memset((void*)&v, 0, sizeof(unsigned long));
761 }
762 return v;
763 }
764
765
766 SWIGSTATICINLINE(int)
767 SWIG_Check_unsigned_SS_long(PyObject* obj)
768 {
769 return SWIG_AsVal_unsigned_SS_long(obj, (unsigned long*)0);
770 }
771
772
773 SWIGSTATICINLINE(PyObject* )
774 SWIG_From_unsigned_SS_long(unsigned long value)
775 {
776 return (value > LONG_MAX) ?
777 PyLong_FromUnsignedLong(value)
778 : PyInt_FromLong(swig_numeric_cast(value,long));
779 }
780
781
782 #include <wx/vlbox.h>
783
784 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
785
786 class wxPyVListBox : public wxVListBox
787 {
788 DECLARE_ABSTRACT_CLASS(wxPyVListBox);
789 public:
790 wxPyVListBox() : wxVListBox() {}
791
792 wxPyVListBox(wxWindow *parent,
793 wxWindowID id = wxID_ANY,
794 const wxPoint& pos = wxDefaultPosition,
795 const wxSize& size = wxDefaultSize,
796 long style = 0,
797 const wxString& name = wxPyVListBoxNameStr)
798 : wxVListBox(parent, id, pos, size, style, name)
799 {}
800
801 // Overridable virtuals
802
803 // the derived class must implement this function to actually draw the item
804 // with the given index on the provided DC
805 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
806 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
807
808
809 // the derived class must implement this method to return the height of the
810 // specified item
811 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
812 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
813
814
815 // this method may be used to draw separators between the lines; note that
816 // the rectangle may be modified, typically to deflate it a bit before
817 // passing to OnDrawItem()
818 //
819 // the base class version doesn't do anything
820 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
821 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator);
822
823
824 // this method is used to draw the items background and, maybe, a border
825 // around it
826 //
827 // the base class version implements a reasonable default behaviour which
828 // consists in drawing the selected item with the standard background
829 // colour and drawing a border around the item if it is either selected or
830 // current
831 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
832 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
833
834
835 PYPRIVATE;
836 };
837
838 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
839
840 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
841 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
842 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawSeparator);
843 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
844
845
846 PyObject *wxPyVListBox_GetFirstSelected(wxPyVListBox *self){
847 unsigned long cookie = 0;
848 int selected = self->GetFirstSelected(cookie);
849 bool blocked = wxPyBeginBlockThreads();
850 PyObject* tup = PyTuple_New(2);
851 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
852 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
853 wxPyEndBlockThreads(blocked);
854 return tup;
855 }
856 PyObject *wxPyVListBox_GetNextSelected(wxPyVListBox *self,unsigned long cookie){
857 int selected = self->GetNextSelected(cookie);
858 bool blocked = wxPyBeginBlockThreads();
859 PyObject* tup = PyTuple_New(2);
860 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
861 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
862 wxPyEndBlockThreads(blocked);
863 return tup;
864 }
865
866 #include <wx/htmllbox.h>
867
868
869 class wxPyHtmlListBox : public wxHtmlListBox
870 {
871 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox);
872 public:
873 wxPyHtmlListBox() : wxHtmlListBox() {}
874
875 wxPyHtmlListBox(wxWindow *parent,
876 wxWindowID id = wxID_ANY,
877 const wxPoint& pos = wxDefaultPosition,
878 const wxSize& size = wxDefaultSize,
879 long style = 0,
880 const wxString& name = wxPyVListBoxNameStr)
881 : wxHtmlListBox(parent, id, pos, size, style, name)
882 {}
883
884 // Overridable virtuals
885
886 // this method must be implemented in the derived class and should return
887 // the body (i.e. without <html>) of the HTML for the given item
888 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
889
890 // this function may be overridden to decorate HTML returned by OnGetItem()
891 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
892
893 // TODO:
894 // // this method allows to customize the selection appearance: it may be used
895 // // to specify the colour of the text which normally has the given colour
896 // // colFg when it is inside the selection
897 // //
898 // // by default, the original colour is not used at all and all text has the
899 // // same (default for this system) colour inside selection
900 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
901
902 // // this is the same as GetSelectedTextColour() but allows to customize the
903 // // background colour -- this is even more rarely used as you can change it
904 // // globally using SetSelectionBackground()
905 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
906
907
908 PYPRIVATE;
909 };
910
911
912 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
913
914 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
915 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
916
917
918
919
920
921 #ifdef __WXMAC__
922 // implement dummy classes and such for wxMac
923
924 class wxTaskBarIcon : public wxEvtHandler
925 {
926 public:
927 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
928 };
929
930
931 class wxTaskBarIconEvent : public wxEvent
932 {
933 public:
934 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
935 { wxPyRaiseNotImplemented(); }
936 virtual wxEvent* Clone() const { return NULL; }
937 };
938
939 enum {
940 wxEVT_TASKBAR_MOVE = 0,
941 wxEVT_TASKBAR_LEFT_DOWN = 0,
942 wxEVT_TASKBAR_LEFT_UP = 0,
943 wxEVT_TASKBAR_RIGHT_DOWN = 0,
944 wxEVT_TASKBAR_RIGHT_UP = 0,
945 wxEVT_TASKBAR_LEFT_DCLICK = 0,
946 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
947 };
948
949
950 #else
951 // // Otherwise make a class that can virtualize CreatePopupMenu
952 // class wxPyTaskBarIcon : public wxTaskBarIcon
953 // {
954 // DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon);
955 // public:
956 // wxPyTaskBarIcon() : wxTaskBarIcon()
957 // {}
958
959 // wxMenu* CreatePopupMenu() {
960 // wxMenu *rval = NULL;
961 // bool found;
962 // bool blocked = wxPyBeginBlockThreads();
963 // if ((found = wxPyCBH_findCallback(m_myInst, "CreatePopupMenu"))) {
964 // PyObject* ro;
965 // wxMenu* ptr;
966 // ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
967 // if (ro) {
968 // if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxMenu")))
969 // rval = ptr;
970 // Py_DECREF(ro);
971 // }
972 // }
973 // wxPyEndBlockThreads(blocked);
974 // if (! found)
975 // rval = wxTaskBarIcon::CreatePopupMenu();
976 // return rval;
977 // }
978
979 // PYPRIVATE;
980 // };
981
982 // IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon);
983
984 #endif
985
986 void wxTaskBarIcon_Destroy(wxTaskBarIcon *self){
987
988 self->RemoveIcon();
989
990 }
991 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
992 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
993 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
994 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
995 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
996 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
997 PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
998 wxArrayString arr;
999 self->GetFilenames(arr);
1000 return wxArrayString2PyList_helper(arr);
1001 }
1002 PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
1003 wxArrayString arr;
1004 self->GetPaths(arr);
1005 return wxArrayString2PyList_helper(arr);
1006 }
1007 PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
1008 return wxArrayInt2PyList_helper(self->GetSelections());
1009 }
1010 wxSingleChoiceDialog *new_wxSingleChoiceDialog(wxWindow *parent,wxString const &message,wxString const &caption,int choices,wxString *choices_array,long style,wxPoint const &pos){
1011 return new wxSingleChoiceDialog(parent, message, caption,
1012 choices, choices_array, NULL, style, pos);
1013 }
1014
1015 #include <wx/mdi.h>
1016
1017 // C++ version of Python aware wxWindow
1018 class wxPyWindow : public wxWindow
1019 {
1020 DECLARE_DYNAMIC_CLASS(wxPyWindow)
1021 public:
1022 wxPyWindow() : wxWindow() {}
1023 wxPyWindow(wxWindow* parent, const wxWindowID id,
1024 const wxPoint& pos = wxDefaultPosition,
1025 const wxSize& size = wxDefaultSize,
1026 long style = 0,
1027 const wxString& name = wxPyPanelNameStr)
1028 : wxWindow(parent, id, pos, size, style, name) {}
1029
1030 void SetBestSize(const wxSize& size) { wxWindow::SetBestSize(size); }
1031
1032 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
1033 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
1034 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
1035 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
1036
1037 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
1038 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
1039 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
1040
1041 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
1042 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
1043
1044 DEC_PYCALLBACK__(InitDialog);
1045 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
1046 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
1047 DEC_PYCALLBACK_BOOL_(Validate);
1048
1049 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
1050 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
1051 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
1052
1053 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
1054 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
1055
1056 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
1057 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
1058 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
1059
1060 PYPRIVATE;
1061 };
1062
1063 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
1064
1065 IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
1066 IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
1067 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
1068 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
1069
1070 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
1071 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
1072 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
1073
1074 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
1075 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
1076
1077 IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
1078 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
1079 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
1080 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
1081
1082 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
1083 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
1084 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
1085
1086 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
1087 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
1088
1089 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, ShouldInheritColours);
1090 IMP_PYCALLBACK__COLOUR(wxPyWindow, wxWindow, ApplyParentThemeBackground);
1091 IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes);
1092
1093
1094 // C++ version of Python aware wxPanel
1095 class wxPyPanel : public wxPanel
1096 {
1097 DECLARE_DYNAMIC_CLASS(wxPyPanel)
1098 public:
1099 wxPyPanel() : wxPanel() {}
1100 wxPyPanel(wxWindow* parent, const wxWindowID id,
1101 const wxPoint& pos = wxDefaultPosition,
1102 const wxSize& size = wxDefaultSize,
1103 long style = 0,
1104 const wxString& name = wxPyPanelNameStr)
1105 : wxPanel(parent, id, pos, size, style, name) {}
1106
1107 void SetBestSize(const wxSize& size) { wxPanel::SetBestSize(size); }
1108
1109
1110 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
1111 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
1112 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
1113 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
1114
1115 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
1116 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
1117 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
1118
1119 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
1120 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
1121
1122 DEC_PYCALLBACK__(InitDialog);
1123 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
1124 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
1125 DEC_PYCALLBACK_BOOL_(Validate);
1126
1127 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
1128 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
1129 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
1130
1131 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
1132 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
1133
1134 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
1135 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
1136 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
1137
1138 PYPRIVATE;
1139 };
1140
1141 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
1142
1143 IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
1144 IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
1145 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
1146 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
1147
1148 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
1149 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
1150 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
1151
1152 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
1153 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
1154
1155 IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
1156 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
1157 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
1158 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
1159
1160 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
1161 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
1162 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
1163
1164 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
1165 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
1166
1167 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours);
1168 IMP_PYCALLBACK__COLOUR(wxPyPanel, wxPanel, ApplyParentThemeBackground);
1169 IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes);
1170
1171
1172 // C++ version of Python aware wxScrolledWindow
1173 class wxPyScrolledWindow : public wxScrolledWindow
1174 {
1175 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow)
1176 public:
1177 wxPyScrolledWindow() : wxScrolledWindow() {}
1178 wxPyScrolledWindow(wxWindow* parent, const wxWindowID id,
1179 const wxPoint& pos = wxDefaultPosition,
1180 const wxSize& size = wxDefaultSize,
1181 long style = 0,
1182 const wxString& name = wxPyPanelNameStr)
1183 : wxScrolledWindow(parent, id, pos, size, style, name) {}
1184
1185 void SetBestSize(const wxSize& size) { wxScrolledWindow::SetBestSize(size); }
1186
1187 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
1188 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
1189 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
1190 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
1191
1192 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
1193 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
1194 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
1195
1196 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
1197 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
1198
1199 DEC_PYCALLBACK__(InitDialog);
1200 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
1201 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
1202 DEC_PYCALLBACK_BOOL_(Validate);
1203
1204 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
1205 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
1206 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
1207
1208 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
1209 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
1210
1211 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
1212 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
1213 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
1214
1215 PYPRIVATE;
1216 };
1217
1218 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow);
1219
1220 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow);
1221 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize);
1222 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize);
1223 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize);
1224
1225 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize);
1226 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize);
1227 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition);
1228
1229 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize);
1230 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize);
1231
1232 IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog);
1233 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow);
1234 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow);
1235 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate);
1236
1237 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus);
1238 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard);
1239 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize);
1240
1241 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild);
1242 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
1243
1244 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
1245 IMP_PYCALLBACK__COLOUR(wxPyScrolledWindow, wxScrolledWindow, ApplyParentThemeBackground);
1246 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes);
1247
1248
1249
1250 #include "wx/wxPython/printfw.h"
1251
1252
1253 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
1254 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
1255
1256
1257
1258 // Since this one would be tough and ugly to do with the Macros...
1259 void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
1260 bool hadErr = False;
1261 bool found;
1262
1263 bool blocked = wxPyBeginBlockThreads();
1264 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
1265 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
1266 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
1267 PyObject* val;
1268
1269 val = PyTuple_GetItem(result, 0);
1270 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
1271 else hadErr = True;
1272
1273 val = PyTuple_GetItem(result, 1);
1274 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
1275 else hadErr = True;
1276
1277 val = PyTuple_GetItem(result, 2);
1278 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
1279 else hadErr = True;
1280
1281 val = PyTuple_GetItem(result, 3);
1282 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
1283 else hadErr = True;
1284 }
1285 else
1286 hadErr = True;
1287
1288 if (hadErr) {
1289 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
1290 PyErr_Print();
1291 }
1292 Py_DECREF(result);
1293 }
1294 wxPyEndBlockThreads(blocked);
1295 if (! found)
1296 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
1297 }
1298
1299 void wxPyPrintout::base_GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
1300 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
1301 }
1302
1303
1304 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
1305 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
1306 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
1307 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
1308 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
1309 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
1310 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
1311
1312
1313
1314
1315
1316 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
1317 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
1318 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
1319
1320
1321 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
1322 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1323 bool rval=False; \
1324 bool found; \
1325 bool blocked = wxPyBeginBlockThreads(); \
1326 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1327 PyObject* win = wxPyMake_wxObject(a,false); \
1328 PyObject* dc = wxPyMake_wxObject(&b,false); \
1329 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\
1330 Py_DECREF(win); \
1331 Py_DECREF(dc); \
1332 } \
1333 wxPyEndBlockThreads(blocked); \
1334 if (! found) \
1335 rval = PCLASS::CBNAME(a, b); \
1336 return rval; \
1337 } \
1338 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1339 return PCLASS::CBNAME(a, b); \
1340 }
1341
1342
1343
1344
1345 class wxPyPrintPreview : public wxPrintPreview
1346 {
1347 DECLARE_CLASS(wxPyPrintPreview)
1348 public:
1349 wxPyPrintPreview(wxPyPrintout* printout,
1350 wxPyPrintout* printoutForPrinting,
1351 wxPrintDialogData* data=NULL)
1352 : wxPrintPreview(printout, printoutForPrinting, data)
1353 {}
1354 wxPyPrintPreview(wxPyPrintout* printout,
1355 wxPyPrintout* printoutForPrinting,
1356 wxPrintData* data=NULL)
1357 : wxPrintPreview(printout, printoutForPrinting, data)
1358 {}
1359
1360 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
1361 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
1362 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
1363 DEC_PYCALLBACK_BOOL_INT(RenderPage);
1364 DEC_PYCALLBACK_VOID_INT(SetZoom);
1365 DEC_PYCALLBACK_BOOL_BOOL(Print);
1366 DEC_PYCALLBACK_VOID_(DetermineScaling);
1367
1368 PYPRIVATE;
1369 };
1370
1371 // Stupid renamed classes... Fix this in 2.5...
1372 #if defined(__WXMSW__)
1373 IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
1374 #elif defined(__WXMAC__)
1375 IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
1376 #else
1377 IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
1378 #endif
1379
1380 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
1381 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
1382 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
1383 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
1384 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
1385 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
1386 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
1387
1388
1389 class wxPyPreviewFrame : public wxPreviewFrame
1390 {
1391 DECLARE_CLASS(wxPyPreviewFrame);
1392 public:
1393 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
1394 const wxString& title,
1395 const wxPoint& pos = wxDefaultPosition,
1396 const wxSize& size = wxDefaultSize,
1397 long style = wxDEFAULT_FRAME_STYLE,
1398 const wxString& name = wxPyFrameNameStr)
1399 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
1400 {}
1401
1402 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
1403 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
1404
1405 DEC_PYCALLBACK_VOID_(Initialize);
1406 DEC_PYCALLBACK_VOID_(CreateCanvas);
1407 DEC_PYCALLBACK_VOID_(CreateControlBar);
1408
1409 PYPRIVATE;
1410 };
1411
1412 IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
1413
1414 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
1415 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
1416 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
1417
1418
1419 class wxPyPreviewControlBar : public wxPreviewControlBar
1420 {
1421 DECLARE_CLASS(wxPyPreviewControlBar);
1422 public:
1423 wxPyPreviewControlBar(wxPrintPreview *preview,
1424 long buttons,
1425 wxWindow *parent,
1426 const wxPoint& pos = wxDefaultPosition,
1427 const wxSize& size = wxDefaultSize,
1428 long style = 0,
1429 const wxString& name = wxPyPanelNameStr)
1430 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
1431 {}
1432
1433 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
1434
1435 DEC_PYCALLBACK_VOID_(CreateButtons);
1436 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
1437
1438 PYPRIVATE;
1439 };
1440
1441 IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
1442 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
1443 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
1444
1445 #ifdef __cplusplus
1446 extern "C" {
1447 #endif
1448 static PyObject *_wrap_new_Panel(PyObject *, PyObject *args, PyObject *kwargs) {
1449 PyObject *resultobj;
1450 wxWindow *arg1 = (wxWindow *) 0 ;
1451 int arg2 = (int) (int)-1 ;
1452 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1453 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1454 wxSize const &arg4_defvalue = wxDefaultSize ;
1455 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1456 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1457 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1458 wxString *arg6 = (wxString *) &arg6_defvalue ;
1459 wxPanel *result;
1460 wxPoint temp3 ;
1461 wxSize temp4 ;
1462 bool temp6 = False ;
1463 PyObject * obj0 = 0 ;
1464 PyObject * obj1 = 0 ;
1465 PyObject * obj2 = 0 ;
1466 PyObject * obj3 = 0 ;
1467 PyObject * obj4 = 0 ;
1468 PyObject * obj5 = 0 ;
1469 char *kwnames[] = {
1470 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1471 };
1472
1473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
1474 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1475 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1476 if (obj1) {
1477 arg2 = (int)SWIG_As_int(obj1);
1478 if (PyErr_Occurred()) SWIG_fail;
1479 }
1480 if (obj2) {
1481 {
1482 arg3 = &temp3;
1483 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1484 }
1485 }
1486 if (obj3) {
1487 {
1488 arg4 = &temp4;
1489 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1490 }
1491 }
1492 if (obj4) {
1493 arg5 = (long)SWIG_As_long(obj4);
1494 if (PyErr_Occurred()) SWIG_fail;
1495 }
1496 if (obj5) {
1497 {
1498 arg6 = wxString_in_helper(obj5);
1499 if (arg6 == NULL) SWIG_fail;
1500 temp6 = True;
1501 }
1502 }
1503 {
1504 if (!wxPyCheckForApp()) SWIG_fail;
1505 PyThreadState* __tstate = wxPyBeginAllowThreads();
1506 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1507
1508 wxPyEndAllowThreads(__tstate);
1509 if (PyErr_Occurred()) SWIG_fail;
1510 }
1511 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
1512 {
1513 if (temp6)
1514 delete arg6;
1515 }
1516 return resultobj;
1517 fail:
1518 {
1519 if (temp6)
1520 delete arg6;
1521 }
1522 return NULL;
1523 }
1524
1525
1526 static PyObject *_wrap_new_PrePanel(PyObject *, PyObject *args, PyObject *kwargs) {
1527 PyObject *resultobj;
1528 wxPanel *result;
1529 char *kwnames[] = {
1530 NULL
1531 };
1532
1533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePanel",kwnames)) goto fail;
1534 {
1535 if (!wxPyCheckForApp()) SWIG_fail;
1536 PyThreadState* __tstate = wxPyBeginAllowThreads();
1537 result = (wxPanel *)new wxPanel();
1538
1539 wxPyEndAllowThreads(__tstate);
1540 if (PyErr_Occurred()) SWIG_fail;
1541 }
1542 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
1543 return resultobj;
1544 fail:
1545 return NULL;
1546 }
1547
1548
1549 static PyObject *_wrap_Panel_Create(PyObject *, PyObject *args, PyObject *kwargs) {
1550 PyObject *resultobj;
1551 wxPanel *arg1 = (wxPanel *) 0 ;
1552 wxWindow *arg2 = (wxWindow *) 0 ;
1553 int arg3 = (int) (int)-1 ;
1554 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1555 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1556 wxSize const &arg5_defvalue = wxDefaultSize ;
1557 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1558 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1559 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1560 wxString *arg7 = (wxString *) &arg7_defvalue ;
1561 bool result;
1562 wxPoint temp4 ;
1563 wxSize temp5 ;
1564 bool temp7 = False ;
1565 PyObject * obj0 = 0 ;
1566 PyObject * obj1 = 0 ;
1567 PyObject * obj2 = 0 ;
1568 PyObject * obj3 = 0 ;
1569 PyObject * obj4 = 0 ;
1570 PyObject * obj5 = 0 ;
1571 PyObject * obj6 = 0 ;
1572 char *kwnames[] = {
1573 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1574 };
1575
1576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
1577 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPanel,
1578 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1579 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1580 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1581 if (obj2) {
1582 arg3 = (int)SWIG_As_int(obj2);
1583 if (PyErr_Occurred()) SWIG_fail;
1584 }
1585 if (obj3) {
1586 {
1587 arg4 = &temp4;
1588 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1589 }
1590 }
1591 if (obj4) {
1592 {
1593 arg5 = &temp5;
1594 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1595 }
1596 }
1597 if (obj5) {
1598 arg6 = (long)SWIG_As_long(obj5);
1599 if (PyErr_Occurred()) SWIG_fail;
1600 }
1601 if (obj6) {
1602 {
1603 arg7 = wxString_in_helper(obj6);
1604 if (arg7 == NULL) SWIG_fail;
1605 temp7 = True;
1606 }
1607 }
1608 {
1609 PyThreadState* __tstate = wxPyBeginAllowThreads();
1610 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1611
1612 wxPyEndAllowThreads(__tstate);
1613 if (PyErr_Occurred()) SWIG_fail;
1614 }
1615 {
1616 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1617 }
1618 {
1619 if (temp7)
1620 delete arg7;
1621 }
1622 return resultobj;
1623 fail:
1624 {
1625 if (temp7)
1626 delete arg7;
1627 }
1628 return NULL;
1629 }
1630
1631
1632 static PyObject *_wrap_Panel_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
1633 PyObject *resultobj;
1634 wxPanel *arg1 = (wxPanel *) 0 ;
1635 PyObject * obj0 = 0 ;
1636 char *kwnames[] = {
1637 (char *) "self", NULL
1638 };
1639
1640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_InitDialog",kwnames,&obj0)) goto fail;
1641 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPanel,
1642 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1643 {
1644 PyThreadState* __tstate = wxPyBeginAllowThreads();
1645 (arg1)->InitDialog();
1646
1647 wxPyEndAllowThreads(__tstate);
1648 if (PyErr_Occurred()) SWIG_fail;
1649 }
1650 Py_INCREF(Py_None); resultobj = Py_None;
1651 return resultobj;
1652 fail:
1653 return NULL;
1654 }
1655
1656
1657 static PyObject *_wrap_Panel_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
1658 PyObject *resultobj;
1659 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
1660 wxVisualAttributes result;
1661 PyObject * obj0 = 0 ;
1662 char *kwnames[] = {
1663 (char *) "variant", NULL
1664 };
1665
1666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
1667 if (obj0) {
1668 arg1 = (int)SWIG_As_int(obj0);
1669 if (PyErr_Occurred()) SWIG_fail;
1670 }
1671 {
1672 if (!wxPyCheckForApp()) SWIG_fail;
1673 PyThreadState* __tstate = wxPyBeginAllowThreads();
1674 result = wxPanel::GetClassDefaultAttributes((wxWindowVariant )arg1);
1675
1676 wxPyEndAllowThreads(__tstate);
1677 if (PyErr_Occurred()) SWIG_fail;
1678 }
1679 {
1680 wxVisualAttributes * resultptr;
1681 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
1682 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
1683 }
1684 return resultobj;
1685 fail:
1686 return NULL;
1687 }
1688
1689
1690 static PyObject * Panel_swigregister(PyObject *, PyObject *args) {
1691 PyObject *obj;
1692 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1693 SWIG_TypeClientData(SWIGTYPE_p_wxPanel, obj);
1694 Py_INCREF(obj);
1695 return Py_BuildValue((char *)"");
1696 }
1697 static PyObject *_wrap_new_ScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
1698 PyObject *resultobj;
1699 wxWindow *arg1 = (wxWindow *) 0 ;
1700 int arg2 = (int) (int)-1 ;
1701 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1702 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1703 wxSize const &arg4_defvalue = wxDefaultSize ;
1704 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1705 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
1706 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1707 wxString *arg6 = (wxString *) &arg6_defvalue ;
1708 wxScrolledWindow *result;
1709 wxPoint temp3 ;
1710 wxSize temp4 ;
1711 bool temp6 = False ;
1712 PyObject * obj0 = 0 ;
1713 PyObject * obj1 = 0 ;
1714 PyObject * obj2 = 0 ;
1715 PyObject * obj3 = 0 ;
1716 PyObject * obj4 = 0 ;
1717 PyObject * obj5 = 0 ;
1718 char *kwnames[] = {
1719 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1720 };
1721
1722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
1723 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1724 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1725 if (obj1) {
1726 arg2 = (int)SWIG_As_int(obj1);
1727 if (PyErr_Occurred()) SWIG_fail;
1728 }
1729 if (obj2) {
1730 {
1731 arg3 = &temp3;
1732 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1733 }
1734 }
1735 if (obj3) {
1736 {
1737 arg4 = &temp4;
1738 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1739 }
1740 }
1741 if (obj4) {
1742 arg5 = (long)SWIG_As_long(obj4);
1743 if (PyErr_Occurred()) SWIG_fail;
1744 }
1745 if (obj5) {
1746 {
1747 arg6 = wxString_in_helper(obj5);
1748 if (arg6 == NULL) SWIG_fail;
1749 temp6 = True;
1750 }
1751 }
1752 {
1753 if (!wxPyCheckForApp()) SWIG_fail;
1754 PyThreadState* __tstate = wxPyBeginAllowThreads();
1755 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1756
1757 wxPyEndAllowThreads(__tstate);
1758 if (PyErr_Occurred()) SWIG_fail;
1759 }
1760 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
1761 {
1762 if (temp6)
1763 delete arg6;
1764 }
1765 return resultobj;
1766 fail:
1767 {
1768 if (temp6)
1769 delete arg6;
1770 }
1771 return NULL;
1772 }
1773
1774
1775 static PyObject *_wrap_new_PreScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
1776 PyObject *resultobj;
1777 wxScrolledWindow *result;
1778 char *kwnames[] = {
1779 NULL
1780 };
1781
1782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrolledWindow",kwnames)) goto fail;
1783 {
1784 if (!wxPyCheckForApp()) SWIG_fail;
1785 PyThreadState* __tstate = wxPyBeginAllowThreads();
1786 result = (wxScrolledWindow *)new wxScrolledWindow();
1787
1788 wxPyEndAllowThreads(__tstate);
1789 if (PyErr_Occurred()) SWIG_fail;
1790 }
1791 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
1792 return resultobj;
1793 fail:
1794 return NULL;
1795 }
1796
1797
1798 static PyObject *_wrap_ScrolledWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
1799 PyObject *resultobj;
1800 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1801 wxWindow *arg2 = (wxWindow *) 0 ;
1802 int arg3 = (int) (int)-1 ;
1803 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1804 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1805 wxSize const &arg5_defvalue = wxDefaultSize ;
1806 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1807 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
1808 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1809 wxString *arg7 = (wxString *) &arg7_defvalue ;
1810 bool result;
1811 wxPoint temp4 ;
1812 wxSize temp5 ;
1813 bool temp7 = False ;
1814 PyObject * obj0 = 0 ;
1815 PyObject * obj1 = 0 ;
1816 PyObject * obj2 = 0 ;
1817 PyObject * obj3 = 0 ;
1818 PyObject * obj4 = 0 ;
1819 PyObject * obj5 = 0 ;
1820 PyObject * obj6 = 0 ;
1821 char *kwnames[] = {
1822 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1823 };
1824
1825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
1826 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1827 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1828 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1829 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1830 if (obj2) {
1831 arg3 = (int)SWIG_As_int(obj2);
1832 if (PyErr_Occurred()) SWIG_fail;
1833 }
1834 if (obj3) {
1835 {
1836 arg4 = &temp4;
1837 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1838 }
1839 }
1840 if (obj4) {
1841 {
1842 arg5 = &temp5;
1843 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1844 }
1845 }
1846 if (obj5) {
1847 arg6 = (long)SWIG_As_long(obj5);
1848 if (PyErr_Occurred()) SWIG_fail;
1849 }
1850 if (obj6) {
1851 {
1852 arg7 = wxString_in_helper(obj6);
1853 if (arg7 == NULL) SWIG_fail;
1854 temp7 = True;
1855 }
1856 }
1857 {
1858 PyThreadState* __tstate = wxPyBeginAllowThreads();
1859 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1860
1861 wxPyEndAllowThreads(__tstate);
1862 if (PyErr_Occurred()) SWIG_fail;
1863 }
1864 {
1865 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1866 }
1867 {
1868 if (temp7)
1869 delete arg7;
1870 }
1871 return resultobj;
1872 fail:
1873 {
1874 if (temp7)
1875 delete arg7;
1876 }
1877 return NULL;
1878 }
1879
1880
1881 static PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
1882 PyObject *resultobj;
1883 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1884 int arg2 ;
1885 int arg3 ;
1886 int arg4 ;
1887 int arg5 ;
1888 int arg6 = (int) 0 ;
1889 int arg7 = (int) 0 ;
1890 bool arg8 = (bool) False ;
1891 PyObject * obj0 = 0 ;
1892 PyObject * obj1 = 0 ;
1893 PyObject * obj2 = 0 ;
1894 PyObject * obj3 = 0 ;
1895 PyObject * obj4 = 0 ;
1896 PyObject * obj5 = 0 ;
1897 PyObject * obj6 = 0 ;
1898 PyObject * obj7 = 0 ;
1899 char *kwnames[] = {
1900 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1901 };
1902
1903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
1904 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1905 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1906 arg2 = (int)SWIG_As_int(obj1);
1907 if (PyErr_Occurred()) SWIG_fail;
1908 arg3 = (int)SWIG_As_int(obj2);
1909 if (PyErr_Occurred()) SWIG_fail;
1910 arg4 = (int)SWIG_As_int(obj3);
1911 if (PyErr_Occurred()) SWIG_fail;
1912 arg5 = (int)SWIG_As_int(obj4);
1913 if (PyErr_Occurred()) SWIG_fail;
1914 if (obj5) {
1915 arg6 = (int)SWIG_As_int(obj5);
1916 if (PyErr_Occurred()) SWIG_fail;
1917 }
1918 if (obj6) {
1919 arg7 = (int)SWIG_As_int(obj6);
1920 if (PyErr_Occurred()) SWIG_fail;
1921 }
1922 if (obj7) {
1923 arg8 = (bool)SWIG_As_bool(obj7);
1924 if (PyErr_Occurred()) SWIG_fail;
1925 }
1926 {
1927 PyThreadState* __tstate = wxPyBeginAllowThreads();
1928 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
1929
1930 wxPyEndAllowThreads(__tstate);
1931 if (PyErr_Occurred()) SWIG_fail;
1932 }
1933 Py_INCREF(Py_None); resultobj = Py_None;
1934 return resultobj;
1935 fail:
1936 return NULL;
1937 }
1938
1939
1940 static PyObject *_wrap_ScrolledWindow_Scroll(PyObject *, PyObject *args, PyObject *kwargs) {
1941 PyObject *resultobj;
1942 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1943 int arg2 ;
1944 int arg3 ;
1945 PyObject * obj0 = 0 ;
1946 PyObject * obj1 = 0 ;
1947 PyObject * obj2 = 0 ;
1948 char *kwnames[] = {
1949 (char *) "self",(char *) "x",(char *) "y", NULL
1950 };
1951
1952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) goto fail;
1953 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1954 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1955 arg2 = (int)SWIG_As_int(obj1);
1956 if (PyErr_Occurred()) SWIG_fail;
1957 arg3 = (int)SWIG_As_int(obj2);
1958 if (PyErr_Occurred()) SWIG_fail;
1959 {
1960 PyThreadState* __tstate = wxPyBeginAllowThreads();
1961 (arg1)->Scroll(arg2,arg3);
1962
1963 wxPyEndAllowThreads(__tstate);
1964 if (PyErr_Occurred()) SWIG_fail;
1965 }
1966 Py_INCREF(Py_None); resultobj = Py_None;
1967 return resultobj;
1968 fail:
1969 return NULL;
1970 }
1971
1972
1973 static PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
1974 PyObject *resultobj;
1975 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1976 int arg2 ;
1977 int result;
1978 PyObject * obj0 = 0 ;
1979 PyObject * obj1 = 0 ;
1980 char *kwnames[] = {
1981 (char *) "self",(char *) "orient", NULL
1982 };
1983
1984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) goto fail;
1985 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1986 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1987 arg2 = (int)SWIG_As_int(obj1);
1988 if (PyErr_Occurred()) SWIG_fail;
1989 {
1990 PyThreadState* __tstate = wxPyBeginAllowThreads();
1991 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
1992
1993 wxPyEndAllowThreads(__tstate);
1994 if (PyErr_Occurred()) SWIG_fail;
1995 }
1996 resultobj = SWIG_From_int((int)result);
1997 return resultobj;
1998 fail:
1999 return NULL;
2000 }
2001
2002
2003 static PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
2004 PyObject *resultobj;
2005 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2006 int arg2 ;
2007 int arg3 ;
2008 PyObject * obj0 = 0 ;
2009 PyObject * obj1 = 0 ;
2010 PyObject * obj2 = 0 ;
2011 char *kwnames[] = {
2012 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
2013 };
2014
2015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2016 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2017 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2018 arg2 = (int)SWIG_As_int(obj1);
2019 if (PyErr_Occurred()) SWIG_fail;
2020 arg3 = (int)SWIG_As_int(obj2);
2021 if (PyErr_Occurred()) SWIG_fail;
2022 {
2023 PyThreadState* __tstate = wxPyBeginAllowThreads();
2024 (arg1)->SetScrollPageSize(arg2,arg3);
2025
2026 wxPyEndAllowThreads(__tstate);
2027 if (PyErr_Occurred()) SWIG_fail;
2028 }
2029 Py_INCREF(Py_None); resultobj = Py_None;
2030 return resultobj;
2031 fail:
2032 return NULL;
2033 }
2034
2035
2036 static PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *, PyObject *args, PyObject *kwargs) {
2037 PyObject *resultobj;
2038 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2039 int arg2 ;
2040 int arg3 ;
2041 PyObject * obj0 = 0 ;
2042 PyObject * obj1 = 0 ;
2043 PyObject * obj2 = 0 ;
2044 char *kwnames[] = {
2045 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
2046 };
2047
2048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) goto fail;
2049 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2050 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2051 arg2 = (int)SWIG_As_int(obj1);
2052 if (PyErr_Occurred()) SWIG_fail;
2053 arg3 = (int)SWIG_As_int(obj2);
2054 if (PyErr_Occurred()) SWIG_fail;
2055 {
2056 PyThreadState* __tstate = wxPyBeginAllowThreads();
2057 (arg1)->SetScrollRate(arg2,arg3);
2058
2059 wxPyEndAllowThreads(__tstate);
2060 if (PyErr_Occurred()) SWIG_fail;
2061 }
2062 Py_INCREF(Py_None); resultobj = Py_None;
2063 return resultobj;
2064 fail:
2065 return NULL;
2066 }
2067
2068
2069 static PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *, PyObject *args, PyObject *kwargs) {
2070 PyObject *resultobj;
2071 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2072 int *arg2 = (int *) 0 ;
2073 int *arg3 = (int *) 0 ;
2074 int temp2 ;
2075 int res2 = 0 ;
2076 int temp3 ;
2077 int res3 = 0 ;
2078 PyObject * obj0 = 0 ;
2079 char *kwnames[] = {
2080 (char *) "self", NULL
2081 };
2082
2083 arg2 = &temp2; res2 = SWIG_NEWOBJ;
2084 arg3 = &temp3; res3 = SWIG_NEWOBJ;
2085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames,&obj0)) goto fail;
2086 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2087 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2088 {
2089 PyThreadState* __tstate = wxPyBeginAllowThreads();
2090 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
2091
2092 wxPyEndAllowThreads(__tstate);
2093 if (PyErr_Occurred()) SWIG_fail;
2094 }
2095 Py_INCREF(Py_None); resultobj = Py_None;
2096 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
2097 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
2098 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
2099 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
2100 return resultobj;
2101 fail:
2102 return NULL;
2103 }
2104
2105
2106 static PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *, PyObject *args, PyObject *kwargs) {
2107 PyObject *resultobj;
2108 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2109 bool arg2 ;
2110 bool arg3 ;
2111 PyObject * obj0 = 0 ;
2112 PyObject * obj1 = 0 ;
2113 PyObject * obj2 = 0 ;
2114 char *kwnames[] = {
2115 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
2116 };
2117
2118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) goto fail;
2119 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2120 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2121 arg2 = (bool)SWIG_As_bool(obj1);
2122 if (PyErr_Occurred()) SWIG_fail;
2123 arg3 = (bool)SWIG_As_bool(obj2);
2124 if (PyErr_Occurred()) SWIG_fail;
2125 {
2126 PyThreadState* __tstate = wxPyBeginAllowThreads();
2127 (arg1)->EnableScrolling(arg2,arg3);
2128
2129 wxPyEndAllowThreads(__tstate);
2130 if (PyErr_Occurred()) SWIG_fail;
2131 }
2132 Py_INCREF(Py_None); resultobj = Py_None;
2133 return resultobj;
2134 fail:
2135 return NULL;
2136 }
2137
2138
2139 static PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *, PyObject *args, PyObject *kwargs) {
2140 PyObject *resultobj;
2141 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2142 int *arg2 = (int *) 0 ;
2143 int *arg3 = (int *) 0 ;
2144 int temp2 ;
2145 int res2 = 0 ;
2146 int temp3 ;
2147 int res3 = 0 ;
2148 PyObject * obj0 = 0 ;
2149 char *kwnames[] = {
2150 (char *) "self", NULL
2151 };
2152
2153 arg2 = &temp2; res2 = SWIG_NEWOBJ;
2154 arg3 = &temp3; res3 = SWIG_NEWOBJ;
2155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetViewStart",kwnames,&obj0)) goto fail;
2156 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2157 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2158 {
2159 PyThreadState* __tstate = wxPyBeginAllowThreads();
2160 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
2161
2162 wxPyEndAllowThreads(__tstate);
2163 if (PyErr_Occurred()) SWIG_fail;
2164 }
2165 Py_INCREF(Py_None); resultobj = Py_None;
2166 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
2167 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
2168 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
2169 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
2170 return resultobj;
2171 fail:
2172 return NULL;
2173 }
2174
2175
2176 static PyObject *_wrap_ScrolledWindow_SetScale(PyObject *, PyObject *args, PyObject *kwargs) {
2177 PyObject *resultobj;
2178 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2179 double arg2 ;
2180 double arg3 ;
2181 PyObject * obj0 = 0 ;
2182 PyObject * obj1 = 0 ;
2183 PyObject * obj2 = 0 ;
2184 char *kwnames[] = {
2185 (char *) "self",(char *) "xs",(char *) "ys", NULL
2186 };
2187
2188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) goto fail;
2189 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2190 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2191 arg2 = (double)SWIG_As_double(obj1);
2192 if (PyErr_Occurred()) SWIG_fail;
2193 arg3 = (double)SWIG_As_double(obj2);
2194 if (PyErr_Occurred()) SWIG_fail;
2195 {
2196 PyThreadState* __tstate = wxPyBeginAllowThreads();
2197 (arg1)->SetScale(arg2,arg3);
2198
2199 wxPyEndAllowThreads(__tstate);
2200 if (PyErr_Occurred()) SWIG_fail;
2201 }
2202 Py_INCREF(Py_None); resultobj = Py_None;
2203 return resultobj;
2204 fail:
2205 return NULL;
2206 }
2207
2208
2209 static PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *, PyObject *args, PyObject *kwargs) {
2210 PyObject *resultobj;
2211 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2212 double result;
2213 PyObject * obj0 = 0 ;
2214 char *kwnames[] = {
2215 (char *) "self", NULL
2216 };
2217
2218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleX",kwnames,&obj0)) goto fail;
2219 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2220 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2221 {
2222 PyThreadState* __tstate = wxPyBeginAllowThreads();
2223 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
2224
2225 wxPyEndAllowThreads(__tstate);
2226 if (PyErr_Occurred()) SWIG_fail;
2227 }
2228 resultobj = SWIG_From_double((double)result);
2229 return resultobj;
2230 fail:
2231 return NULL;
2232 }
2233
2234
2235 static PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *, PyObject *args, PyObject *kwargs) {
2236 PyObject *resultobj;
2237 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2238 double result;
2239 PyObject * obj0 = 0 ;
2240 char *kwnames[] = {
2241 (char *) "self", NULL
2242 };
2243
2244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleY",kwnames,&obj0)) goto fail;
2245 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2246 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2247 {
2248 PyThreadState* __tstate = wxPyBeginAllowThreads();
2249 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
2250
2251 wxPyEndAllowThreads(__tstate);
2252 if (PyErr_Occurred()) SWIG_fail;
2253 }
2254 resultobj = SWIG_From_double((double)result);
2255 return resultobj;
2256 fail:
2257 return NULL;
2258 }
2259
2260
2261 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *, PyObject *args) {
2262 PyObject *resultobj;
2263 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2264 wxPoint *arg2 = 0 ;
2265 wxPoint result;
2266 wxPoint temp2 ;
2267 PyObject * obj0 = 0 ;
2268 PyObject * obj1 = 0 ;
2269
2270 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1)) goto fail;
2271 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2272 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2273 {
2274 arg2 = &temp2;
2275 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2276 }
2277 {
2278 PyThreadState* __tstate = wxPyBeginAllowThreads();
2279 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
2280
2281 wxPyEndAllowThreads(__tstate);
2282 if (PyErr_Occurred()) SWIG_fail;
2283 }
2284 {
2285 wxPoint * resultptr;
2286 resultptr = new wxPoint((wxPoint &) result);
2287 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
2288 }
2289 return resultobj;
2290 fail:
2291 return NULL;
2292 }
2293
2294
2295 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *, PyObject *args) {
2296 PyObject *resultobj;
2297 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2298 int arg2 ;
2299 int arg3 ;
2300 int *arg4 = (int *) 0 ;
2301 int *arg5 = (int *) 0 ;
2302 int temp4 ;
2303 int res4 = 0 ;
2304 int temp5 ;
2305 int res5 = 0 ;
2306 PyObject * obj0 = 0 ;
2307 PyObject * obj1 = 0 ;
2308 PyObject * obj2 = 0 ;
2309
2310 arg4 = &temp4; res4 = SWIG_NEWOBJ;
2311 arg5 = &temp5; res5 = SWIG_NEWOBJ;
2312 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1,&obj2)) goto fail;
2313 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2314 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2315 arg2 = (int)SWIG_As_int(obj1);
2316 if (PyErr_Occurred()) SWIG_fail;
2317 arg3 = (int)SWIG_As_int(obj2);
2318 if (PyErr_Occurred()) SWIG_fail;
2319 {
2320 PyThreadState* __tstate = wxPyBeginAllowThreads();
2321 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
2322
2323 wxPyEndAllowThreads(__tstate);
2324 if (PyErr_Occurred()) SWIG_fail;
2325 }
2326 Py_INCREF(Py_None); resultobj = Py_None;
2327 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
2328 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
2329 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
2330 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
2331 return resultobj;
2332 fail:
2333 return NULL;
2334 }
2335
2336
2337 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
2338 int argc;
2339 PyObject *argv[4];
2340 int ii;
2341
2342 argc = PyObject_Length(args);
2343 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
2344 argv[ii] = PyTuple_GetItem(args,ii);
2345 }
2346 if (argc == 2) {
2347 int _v;
2348 {
2349 void *ptr;
2350 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2351 _v = 0;
2352 PyErr_Clear();
2353 } else {
2354 _v = 1;
2355 }
2356 }
2357 if (_v) {
2358 {
2359 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
2360 }
2361 if (_v) {
2362 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self,args);
2363 }
2364 }
2365 }
2366 if (argc == 3) {
2367 int _v;
2368 {
2369 void *ptr;
2370 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2371 _v = 0;
2372 PyErr_Clear();
2373 } else {
2374 _v = 1;
2375 }
2376 }
2377 if (_v) {
2378 _v = SWIG_Check_int(argv[1]);
2379 if (_v) {
2380 _v = SWIG_Check_int(argv[2]);
2381 if (_v) {
2382 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self,args);
2383 }
2384 }
2385 }
2386 }
2387
2388 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
2389 return NULL;
2390 }
2391
2392
2393 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *, PyObject *args) {
2394 PyObject *resultobj;
2395 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2396 wxPoint *arg2 = 0 ;
2397 wxPoint result;
2398 wxPoint temp2 ;
2399 PyObject * obj0 = 0 ;
2400 PyObject * obj1 = 0 ;
2401
2402 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1)) goto fail;
2403 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2404 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2405 {
2406 arg2 = &temp2;
2407 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2408 }
2409 {
2410 PyThreadState* __tstate = wxPyBeginAllowThreads();
2411 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
2412
2413 wxPyEndAllowThreads(__tstate);
2414 if (PyErr_Occurred()) SWIG_fail;
2415 }
2416 {
2417 wxPoint * resultptr;
2418 resultptr = new wxPoint((wxPoint &) result);
2419 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
2420 }
2421 return resultobj;
2422 fail:
2423 return NULL;
2424 }
2425
2426
2427 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *, PyObject *args) {
2428 PyObject *resultobj;
2429 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2430 int arg2 ;
2431 int arg3 ;
2432 int *arg4 = (int *) 0 ;
2433 int *arg5 = (int *) 0 ;
2434 int temp4 ;
2435 int res4 = 0 ;
2436 int temp5 ;
2437 int res5 = 0 ;
2438 PyObject * obj0 = 0 ;
2439 PyObject * obj1 = 0 ;
2440 PyObject * obj2 = 0 ;
2441
2442 arg4 = &temp4; res4 = SWIG_NEWOBJ;
2443 arg5 = &temp5; res5 = SWIG_NEWOBJ;
2444 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1,&obj2)) goto fail;
2445 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2446 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2447 arg2 = (int)SWIG_As_int(obj1);
2448 if (PyErr_Occurred()) SWIG_fail;
2449 arg3 = (int)SWIG_As_int(obj2);
2450 if (PyErr_Occurred()) SWIG_fail;
2451 {
2452 PyThreadState* __tstate = wxPyBeginAllowThreads();
2453 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
2454
2455 wxPyEndAllowThreads(__tstate);
2456 if (PyErr_Occurred()) SWIG_fail;
2457 }
2458 Py_INCREF(Py_None); resultobj = Py_None;
2459 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
2460 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
2461 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
2462 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
2463 return resultobj;
2464 fail:
2465 return NULL;
2466 }
2467
2468
2469 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
2470 int argc;
2471 PyObject *argv[4];
2472 int ii;
2473
2474 argc = PyObject_Length(args);
2475 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
2476 argv[ii] = PyTuple_GetItem(args,ii);
2477 }
2478 if (argc == 2) {
2479 int _v;
2480 {
2481 void *ptr;
2482 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2483 _v = 0;
2484 PyErr_Clear();
2485 } else {
2486 _v = 1;
2487 }
2488 }
2489 if (_v) {
2490 {
2491 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
2492 }
2493 if (_v) {
2494 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self,args);
2495 }
2496 }
2497 }
2498 if (argc == 3) {
2499 int _v;
2500 {
2501 void *ptr;
2502 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2503 _v = 0;
2504 PyErr_Clear();
2505 } else {
2506 _v = 1;
2507 }
2508 }
2509 if (_v) {
2510 _v = SWIG_Check_int(argv[1]);
2511 if (_v) {
2512 _v = SWIG_Check_int(argv[2]);
2513 if (_v) {
2514 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self,args);
2515 }
2516 }
2517 }
2518 }
2519
2520 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
2521 return NULL;
2522 }
2523
2524
2525 static PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
2526 PyObject *resultobj;
2527 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2528 PyObject * obj0 = 0 ;
2529 char *kwnames[] = {
2530 (char *) "self", NULL
2531 };
2532
2533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames,&obj0)) goto fail;
2534 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2535 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2536 {
2537 PyThreadState* __tstate = wxPyBeginAllowThreads();
2538 (arg1)->AdjustScrollbars();
2539
2540 wxPyEndAllowThreads(__tstate);
2541 if (PyErr_Occurred()) SWIG_fail;
2542 }
2543 Py_INCREF(Py_None); resultobj = Py_None;
2544 return resultobj;
2545 fail:
2546 return NULL;
2547 }
2548
2549
2550 static PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *, PyObject *args, PyObject *kwargs) {
2551 PyObject *resultobj;
2552 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2553 wxScrollWinEvent *arg2 = 0 ;
2554 int result;
2555 PyObject * obj0 = 0 ;
2556 PyObject * obj1 = 0 ;
2557 char *kwnames[] = {
2558 (char *) "self",(char *) "event", NULL
2559 };
2560
2561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) goto fail;
2562 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2563 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2564 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxScrollWinEvent,
2565 SWIG_POINTER_EXCEPTION | 0)) == -1)
2566 SWIG_fail;
2567 if (arg2 == NULL) {
2568 PyErr_SetString(PyExc_TypeError,"null reference");
2569 SWIG_fail;
2570 }
2571 {
2572 PyThreadState* __tstate = wxPyBeginAllowThreads();
2573 result = (int)(arg1)->CalcScrollInc(*arg2);
2574
2575 wxPyEndAllowThreads(__tstate);
2576 if (PyErr_Occurred()) SWIG_fail;
2577 }
2578 resultobj = SWIG_From_int((int)result);
2579 return resultobj;
2580 fail:
2581 return NULL;
2582 }
2583
2584
2585 static PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
2586 PyObject *resultobj;
2587 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2588 wxWindow *arg2 = (wxWindow *) 0 ;
2589 PyObject * obj0 = 0 ;
2590 PyObject * obj1 = 0 ;
2591 char *kwnames[] = {
2592 (char *) "self",(char *) "target", NULL
2593 };
2594
2595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) goto fail;
2596 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2597 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2598 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
2599 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2600 {
2601 PyThreadState* __tstate = wxPyBeginAllowThreads();
2602 (arg1)->SetTargetWindow(arg2);
2603
2604 wxPyEndAllowThreads(__tstate);
2605 if (PyErr_Occurred()) SWIG_fail;
2606 }
2607 Py_INCREF(Py_None); resultobj = Py_None;
2608 return resultobj;
2609 fail:
2610 return NULL;
2611 }
2612
2613
2614 static PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
2615 PyObject *resultobj;
2616 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2617 wxWindow *result;
2618 PyObject * obj0 = 0 ;
2619 char *kwnames[] = {
2620 (char *) "self", NULL
2621 };
2622
2623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames,&obj0)) goto fail;
2624 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2625 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2626 {
2627 PyThreadState* __tstate = wxPyBeginAllowThreads();
2628 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
2629
2630 wxPyEndAllowThreads(__tstate);
2631 if (PyErr_Occurred()) SWIG_fail;
2632 }
2633 {
2634 resultobj = wxPyMake_wxObject(result, 0);
2635 }
2636 return resultobj;
2637 fail:
2638 return NULL;
2639 }
2640
2641
2642 static PyObject *_wrap_ScrolledWindow_SetTargetRect(PyObject *, PyObject *args, PyObject *kwargs) {
2643 PyObject *resultobj;
2644 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2645 wxRect *arg2 = 0 ;
2646 wxRect temp2 ;
2647 PyObject * obj0 = 0 ;
2648 PyObject * obj1 = 0 ;
2649 char *kwnames[] = {
2650 (char *) "self",(char *) "rect", NULL
2651 };
2652
2653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames,&obj0,&obj1)) goto fail;
2654 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2655 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2656 {
2657 arg2 = &temp2;
2658 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
2659 }
2660 {
2661 PyThreadState* __tstate = wxPyBeginAllowThreads();
2662 (arg1)->SetTargetRect((wxRect const &)*arg2);
2663
2664 wxPyEndAllowThreads(__tstate);
2665 if (PyErr_Occurred()) SWIG_fail;
2666 }
2667 Py_INCREF(Py_None); resultobj = Py_None;
2668 return resultobj;
2669 fail:
2670 return NULL;
2671 }
2672
2673
2674 static PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *, PyObject *args, PyObject *kwargs) {
2675 PyObject *resultobj;
2676 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2677 wxRect result;
2678 PyObject * obj0 = 0 ;
2679 char *kwnames[] = {
2680 (char *) "self", NULL
2681 };
2682
2683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetRect",kwnames,&obj0)) goto fail;
2684 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2685 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2686 {
2687 PyThreadState* __tstate = wxPyBeginAllowThreads();
2688 result = ((wxScrolledWindow const *)arg1)->GetTargetRect();
2689
2690 wxPyEndAllowThreads(__tstate);
2691 if (PyErr_Occurred()) SWIG_fail;
2692 }
2693 {
2694 wxRect * resultptr;
2695 resultptr = new wxRect((wxRect &) result);
2696 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
2697 }
2698 return resultobj;
2699 fail:
2700 return NULL;
2701 }
2702
2703
2704 static PyObject *_wrap_ScrolledWindow_DoPrepareDC(PyObject *, PyObject *args, PyObject *kwargs) {
2705 PyObject *resultobj;
2706 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2707 wxDC *arg2 = 0 ;
2708 PyObject * obj0 = 0 ;
2709 PyObject * obj1 = 0 ;
2710 char *kwnames[] = {
2711 (char *) "self",(char *) "dc", NULL
2712 };
2713
2714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames,&obj0,&obj1)) goto fail;
2715 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2716 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2717 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
2718 SWIG_POINTER_EXCEPTION | 0)) == -1)
2719 SWIG_fail;
2720 if (arg2 == NULL) {
2721 PyErr_SetString(PyExc_TypeError,"null reference");
2722 SWIG_fail;
2723 }
2724 {
2725 PyThreadState* __tstate = wxPyBeginAllowThreads();
2726 (arg1)->DoPrepareDC(*arg2);
2727
2728 wxPyEndAllowThreads(__tstate);
2729 if (PyErr_Occurred()) SWIG_fail;
2730 }
2731 Py_INCREF(Py_None); resultobj = Py_None;
2732 return resultobj;
2733 fail:
2734 return NULL;
2735 }
2736
2737
2738 static PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
2739 PyObject *resultobj;
2740 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
2741 wxVisualAttributes result;
2742 PyObject * obj0 = 0 ;
2743 char *kwnames[] = {
2744 (char *) "variant", NULL
2745 };
2746
2747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
2748 if (obj0) {
2749 arg1 = (int)SWIG_As_int(obj0);
2750 if (PyErr_Occurred()) SWIG_fail;
2751 }
2752 {
2753 if (!wxPyCheckForApp()) SWIG_fail;
2754 PyThreadState* __tstate = wxPyBeginAllowThreads();
2755 result = wxScrolledWindow::GetClassDefaultAttributes((wxWindowVariant )arg1);
2756
2757 wxPyEndAllowThreads(__tstate);
2758 if (PyErr_Occurred()) SWIG_fail;
2759 }
2760 {
2761 wxVisualAttributes * resultptr;
2762 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
2763 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
2764 }
2765 return resultobj;
2766 fail:
2767 return NULL;
2768 }
2769
2770
2771 static PyObject * ScrolledWindow_swigregister(PyObject *, PyObject *args) {
2772 PyObject *obj;
2773 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2774 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj);
2775 Py_INCREF(obj);
2776 return Py_BuildValue((char *)"");
2777 }
2778 static int _wrap_FrameNameStr_set(PyObject *) {
2779 PyErr_SetString(PyExc_TypeError,"Variable FrameNameStr is read-only.");
2780 return 1;
2781 }
2782
2783
2784 static PyObject *_wrap_FrameNameStr_get() {
2785 PyObject *pyobj;
2786
2787 {
2788 #if wxUSE_UNICODE
2789 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2790 #else
2791 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2792 #endif
2793 }
2794 return pyobj;
2795 }
2796
2797
2798 static int _wrap_DialogNameStr_set(PyObject *) {
2799 PyErr_SetString(PyExc_TypeError,"Variable DialogNameStr is read-only.");
2800 return 1;
2801 }
2802
2803
2804 static PyObject *_wrap_DialogNameStr_get() {
2805 PyObject *pyobj;
2806
2807 {
2808 #if wxUSE_UNICODE
2809 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2810 #else
2811 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2812 #endif
2813 }
2814 return pyobj;
2815 }
2816
2817
2818 static int _wrap_StatusLineNameStr_set(PyObject *) {
2819 PyErr_SetString(PyExc_TypeError,"Variable StatusLineNameStr is read-only.");
2820 return 1;
2821 }
2822
2823
2824 static PyObject *_wrap_StatusLineNameStr_get() {
2825 PyObject *pyobj;
2826
2827 {
2828 #if wxUSE_UNICODE
2829 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2830 #else
2831 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2832 #endif
2833 }
2834 return pyobj;
2835 }
2836
2837
2838 static int _wrap_ToolBarNameStr_set(PyObject *) {
2839 PyErr_SetString(PyExc_TypeError,"Variable ToolBarNameStr is read-only.");
2840 return 1;
2841 }
2842
2843
2844 static PyObject *_wrap_ToolBarNameStr_get() {
2845 PyObject *pyobj;
2846
2847 {
2848 #if wxUSE_UNICODE
2849 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2850 #else
2851 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2852 #endif
2853 }
2854 return pyobj;
2855 }
2856
2857
2858 static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *, PyObject *args, PyObject *kwargs) {
2859 PyObject *resultobj;
2860 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2861 bool arg2 = (bool) True ;
2862 PyObject * obj0 = 0 ;
2863 PyObject * obj1 = 0 ;
2864 char *kwnames[] = {
2865 (char *) "self",(char *) "maximize", NULL
2866 };
2867
2868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail;
2869 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2870 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2871 if (obj1) {
2872 arg2 = (bool)SWIG_As_bool(obj1);
2873 if (PyErr_Occurred()) SWIG_fail;
2874 }
2875 {
2876 PyThreadState* __tstate = wxPyBeginAllowThreads();
2877 (arg1)->Maximize(arg2);
2878
2879 wxPyEndAllowThreads(__tstate);
2880 if (PyErr_Occurred()) SWIG_fail;
2881 }
2882 Py_INCREF(Py_None); resultobj = Py_None;
2883 return resultobj;
2884 fail:
2885 return NULL;
2886 }
2887
2888
2889 static PyObject *_wrap_TopLevelWindow_Restore(PyObject *, PyObject *args, PyObject *kwargs) {
2890 PyObject *resultobj;
2891 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2892 PyObject * obj0 = 0 ;
2893 char *kwnames[] = {
2894 (char *) "self", NULL
2895 };
2896
2897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",kwnames,&obj0)) goto fail;
2898 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2899 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2900 {
2901 PyThreadState* __tstate = wxPyBeginAllowThreads();
2902 (arg1)->Restore();
2903
2904 wxPyEndAllowThreads(__tstate);
2905 if (PyErr_Occurred()) SWIG_fail;
2906 }
2907 Py_INCREF(Py_None); resultobj = Py_None;
2908 return resultobj;
2909 fail:
2910 return NULL;
2911 }
2912
2913
2914 static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *, PyObject *args, PyObject *kwargs) {
2915 PyObject *resultobj;
2916 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2917 bool arg2 = (bool) True ;
2918 PyObject * obj0 = 0 ;
2919 PyObject * obj1 = 0 ;
2920 char *kwnames[] = {
2921 (char *) "self",(char *) "iconize", NULL
2922 };
2923
2924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail;
2925 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2926 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2927 if (obj1) {
2928 arg2 = (bool)SWIG_As_bool(obj1);
2929 if (PyErr_Occurred()) SWIG_fail;
2930 }
2931 {
2932 PyThreadState* __tstate = wxPyBeginAllowThreads();
2933 (arg1)->Iconize(arg2);
2934
2935 wxPyEndAllowThreads(__tstate);
2936 if (PyErr_Occurred()) SWIG_fail;
2937 }
2938 Py_INCREF(Py_None); resultobj = Py_None;
2939 return resultobj;
2940 fail:
2941 return NULL;
2942 }
2943
2944
2945 static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *, PyObject *args, PyObject *kwargs) {
2946 PyObject *resultobj;
2947 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2948 bool result;
2949 PyObject * obj0 = 0 ;
2950 char *kwnames[] = {
2951 (char *) "self", NULL
2952 };
2953
2954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail;
2955 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2956 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2957 {
2958 PyThreadState* __tstate = wxPyBeginAllowThreads();
2959 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
2960
2961 wxPyEndAllowThreads(__tstate);
2962 if (PyErr_Occurred()) SWIG_fail;
2963 }
2964 {
2965 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2966 }
2967 return resultobj;
2968 fail:
2969 return NULL;
2970 }
2971
2972
2973 static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *, PyObject *args, PyObject *kwargs) {
2974 PyObject *resultobj;
2975 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2976 bool result;
2977 PyObject * obj0 = 0 ;
2978 char *kwnames[] = {
2979 (char *) "self", NULL
2980 };
2981
2982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail;
2983 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2984 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2985 {
2986 PyThreadState* __tstate = wxPyBeginAllowThreads();
2987 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
2988
2989 wxPyEndAllowThreads(__tstate);
2990 if (PyErr_Occurred()) SWIG_fail;
2991 }
2992 {
2993 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2994 }
2995 return resultobj;
2996 fail:
2997 return NULL;
2998 }
2999
3000
3001 static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
3002 PyObject *resultobj;
3003 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3004 wxIcon result;
3005 PyObject * obj0 = 0 ;
3006 char *kwnames[] = {
3007 (char *) "self", NULL
3008 };
3009
3010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail;
3011 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3012 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3013 {
3014 PyThreadState* __tstate = wxPyBeginAllowThreads();
3015 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
3016
3017 wxPyEndAllowThreads(__tstate);
3018 if (PyErr_Occurred()) SWIG_fail;
3019 }
3020 {
3021 wxIcon * resultptr;
3022 resultptr = new wxIcon((wxIcon &) result);
3023 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1);
3024 }
3025 return resultobj;
3026 fail:
3027 return NULL;
3028 }
3029
3030
3031 static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
3032 PyObject *resultobj;
3033 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3034 wxIcon *arg2 = 0 ;
3035 PyObject * obj0 = 0 ;
3036 PyObject * obj1 = 0 ;
3037 char *kwnames[] = {
3038 (char *) "self",(char *) "icon", NULL
3039 };
3040
3041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail;
3042 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3043 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3044 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
3045 SWIG_POINTER_EXCEPTION | 0)) == -1)
3046 SWIG_fail;
3047 if (arg2 == NULL) {
3048 PyErr_SetString(PyExc_TypeError,"null reference");
3049 SWIG_fail;
3050 }
3051 {
3052 PyThreadState* __tstate = wxPyBeginAllowThreads();
3053 (arg1)->SetIcon((wxIcon const &)*arg2);
3054
3055 wxPyEndAllowThreads(__tstate);
3056 if (PyErr_Occurred()) SWIG_fail;
3057 }
3058 Py_INCREF(Py_None); resultobj = Py_None;
3059 return resultobj;
3060 fail:
3061 return NULL;
3062 }
3063
3064
3065 static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *, PyObject *args, PyObject *kwargs) {
3066 PyObject *resultobj;
3067 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3068 wxIconBundle *arg2 = 0 ;
3069 PyObject * obj0 = 0 ;
3070 PyObject * obj1 = 0 ;
3071 char *kwnames[] = {
3072 (char *) "self",(char *) "icons", NULL
3073 };
3074
3075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail;
3076 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3077 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3078 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIconBundle,
3079 SWIG_POINTER_EXCEPTION | 0)) == -1)
3080 SWIG_fail;
3081 if (arg2 == NULL) {
3082 PyErr_SetString(PyExc_TypeError,"null reference");
3083 SWIG_fail;
3084 }
3085 {
3086 PyThreadState* __tstate = wxPyBeginAllowThreads();
3087 (arg1)->SetIcons((wxIconBundle const &)*arg2);
3088
3089 wxPyEndAllowThreads(__tstate);
3090 if (PyErr_Occurred()) SWIG_fail;
3091 }
3092 Py_INCREF(Py_None); resultobj = Py_None;
3093 return resultobj;
3094 fail:
3095 return NULL;
3096 }
3097
3098
3099 static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *, PyObject *args, PyObject *kwargs) {
3100 PyObject *resultobj;
3101 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3102 bool arg2 ;
3103 long arg3 = (long) wxFULLSCREEN_ALL ;
3104 bool result;
3105 PyObject * obj0 = 0 ;
3106 PyObject * obj1 = 0 ;
3107 PyObject * obj2 = 0 ;
3108 char *kwnames[] = {
3109 (char *) "self",(char *) "show",(char *) "style", NULL
3110 };
3111
3112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
3113 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3114 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3115 arg2 = (bool)SWIG_As_bool(obj1);
3116 if (PyErr_Occurred()) SWIG_fail;
3117 if (obj2) {
3118 arg3 = (long)SWIG_As_long(obj2);
3119 if (PyErr_Occurred()) SWIG_fail;
3120 }
3121 {
3122 PyThreadState* __tstate = wxPyBeginAllowThreads();
3123 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
3124
3125 wxPyEndAllowThreads(__tstate);
3126 if (PyErr_Occurred()) SWIG_fail;
3127 }
3128 {
3129 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3130 }
3131 return resultobj;
3132 fail:
3133 return NULL;
3134 }
3135
3136
3137 static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *, PyObject *args, PyObject *kwargs) {
3138 PyObject *resultobj;
3139 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3140 bool result;
3141 PyObject * obj0 = 0 ;
3142 char *kwnames[] = {
3143 (char *) "self", NULL
3144 };
3145
3146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail;
3147 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3148 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3149 {
3150 PyThreadState* __tstate = wxPyBeginAllowThreads();
3151 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
3152
3153 wxPyEndAllowThreads(__tstate);
3154 if (PyErr_Occurred()) SWIG_fail;
3155 }
3156 {
3157 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3158 }
3159 return resultobj;
3160 fail:
3161 return NULL;
3162 }
3163
3164
3165 static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
3166 PyObject *resultobj;
3167 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3168 wxString *arg2 = 0 ;
3169 bool temp2 = False ;
3170 PyObject * obj0 = 0 ;
3171 PyObject * obj1 = 0 ;
3172 char *kwnames[] = {
3173 (char *) "self",(char *) "title", NULL
3174 };
3175
3176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail;
3177 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3178 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3179 {
3180 arg2 = wxString_in_helper(obj1);
3181 if (arg2 == NULL) SWIG_fail;
3182 temp2 = True;
3183 }
3184 {
3185 PyThreadState* __tstate = wxPyBeginAllowThreads();
3186 (arg1)->SetTitle((wxString const &)*arg2);
3187
3188 wxPyEndAllowThreads(__tstate);
3189 if (PyErr_Occurred()) SWIG_fail;
3190 }
3191 Py_INCREF(Py_None); resultobj = Py_None;
3192 {
3193 if (temp2)
3194 delete arg2;
3195 }
3196 return resultobj;
3197 fail:
3198 {
3199 if (temp2)
3200 delete arg2;
3201 }
3202 return NULL;
3203 }
3204
3205
3206 static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
3207 PyObject *resultobj;
3208 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3209 wxString result;
3210 PyObject * obj0 = 0 ;
3211 char *kwnames[] = {
3212 (char *) "self", NULL
3213 };
3214
3215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail;
3216 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3217 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3218 {
3219 PyThreadState* __tstate = wxPyBeginAllowThreads();
3220 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
3221
3222 wxPyEndAllowThreads(__tstate);
3223 if (PyErr_Occurred()) SWIG_fail;
3224 }
3225 {
3226 #if wxUSE_UNICODE
3227 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3228 #else
3229 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3230 #endif
3231 }
3232 return resultobj;
3233 fail:
3234 return NULL;
3235 }
3236
3237
3238 static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *, PyObject *args, PyObject *kwargs) {
3239 PyObject *resultobj;
3240 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3241 wxRegion *arg2 = 0 ;
3242 bool result;
3243 PyObject * obj0 = 0 ;
3244 PyObject * obj1 = 0 ;
3245 char *kwnames[] = {
3246 (char *) "self",(char *) "region", NULL
3247 };
3248
3249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail;
3250 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3251 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3252 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRegion,
3253 SWIG_POINTER_EXCEPTION | 0)) == -1)
3254 SWIG_fail;
3255 if (arg2 == NULL) {
3256 PyErr_SetString(PyExc_TypeError,"null reference");
3257 SWIG_fail;
3258 }
3259 {
3260 PyThreadState* __tstate = wxPyBeginAllowThreads();
3261 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
3262
3263 wxPyEndAllowThreads(__tstate);
3264 if (PyErr_Occurred()) SWIG_fail;
3265 }
3266 {
3267 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3268 }
3269 return resultobj;
3270 fail:
3271 return NULL;
3272 }
3273
3274
3275 static PyObject *_wrap_TopLevelWindow_RequestUserAttention(PyObject *, PyObject *args, PyObject *kwargs) {
3276 PyObject *resultobj;
3277 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3278 int arg2 = (int) wxUSER_ATTENTION_INFO ;
3279 PyObject * obj0 = 0 ;
3280 PyObject * obj1 = 0 ;
3281 char *kwnames[] = {
3282 (char *) "self",(char *) "flags", NULL
3283 };
3284
3285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames,&obj0,&obj1)) goto fail;
3286 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3287 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3288 if (obj1) {
3289 arg2 = (int)SWIG_As_int(obj1);
3290 if (PyErr_Occurred()) SWIG_fail;
3291 }
3292 {
3293 PyThreadState* __tstate = wxPyBeginAllowThreads();
3294 (arg1)->RequestUserAttention(arg2);
3295
3296 wxPyEndAllowThreads(__tstate);
3297 if (PyErr_Occurred()) SWIG_fail;
3298 }
3299 Py_INCREF(Py_None); resultobj = Py_None;
3300 return resultobj;
3301 fail:
3302 return NULL;
3303 }
3304
3305
3306 static PyObject * TopLevelWindow_swigregister(PyObject *, PyObject *args) {
3307 PyObject *obj;
3308 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3309 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj);
3310 Py_INCREF(obj);
3311 return Py_BuildValue((char *)"");
3312 }
3313 static PyObject *_wrap_new_Frame(PyObject *, PyObject *args, PyObject *kwargs) {
3314 PyObject *resultobj;
3315 wxWindow *arg1 = (wxWindow *) 0 ;
3316 int arg2 = (int) (int)-1 ;
3317 wxString const &arg3_defvalue = wxPyEmptyString ;
3318 wxString *arg3 = (wxString *) &arg3_defvalue ;
3319 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3320 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3321 wxSize const &arg5_defvalue = wxDefaultSize ;
3322 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3323 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
3324 wxString const &arg7_defvalue = wxPyFrameNameStr ;
3325 wxString *arg7 = (wxString *) &arg7_defvalue ;
3326 wxFrame *result;
3327 bool temp3 = False ;
3328 wxPoint temp4 ;
3329 wxSize temp5 ;
3330 bool temp7 = False ;
3331 PyObject * obj0 = 0 ;
3332 PyObject * obj1 = 0 ;
3333 PyObject * obj2 = 0 ;
3334 PyObject * obj3 = 0 ;
3335 PyObject * obj4 = 0 ;
3336 PyObject * obj5 = 0 ;
3337 PyObject * obj6 = 0 ;
3338 char *kwnames[] = {
3339 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3340 };
3341
3342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
3343 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
3344 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3345 if (obj1) {
3346 arg2 = (int)SWIG_As_int(obj1);
3347 if (PyErr_Occurred()) SWIG_fail;
3348 }
3349 if (obj2) {
3350 {
3351 arg3 = wxString_in_helper(obj2);
3352 if (arg3 == NULL) SWIG_fail;
3353 temp3 = True;
3354 }
3355 }
3356 if (obj3) {
3357 {
3358 arg4 = &temp4;
3359 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3360 }
3361 }
3362 if (obj4) {
3363 {
3364 arg5 = &temp5;
3365 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3366 }
3367 }
3368 if (obj5) {
3369 arg6 = (long)SWIG_As_long(obj5);
3370 if (PyErr_Occurred()) SWIG_fail;
3371 }
3372 if (obj6) {
3373 {
3374 arg7 = wxString_in_helper(obj6);
3375 if (arg7 == NULL) SWIG_fail;
3376 temp7 = True;
3377 }
3378 }
3379 {
3380 if (!wxPyCheckForApp()) SWIG_fail;
3381 PyThreadState* __tstate = wxPyBeginAllowThreads();
3382 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3383
3384 wxPyEndAllowThreads(__tstate);
3385 if (PyErr_Occurred()) SWIG_fail;
3386 }
3387 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFrame, 1);
3388 {
3389 if (temp3)
3390 delete arg3;
3391 }
3392 {
3393 if (temp7)
3394 delete arg7;
3395 }
3396 return resultobj;
3397 fail:
3398 {
3399 if (temp3)
3400 delete arg3;
3401 }
3402 {
3403 if (temp7)
3404 delete arg7;
3405 }
3406 return NULL;
3407 }
3408
3409
3410 static PyObject *_wrap_new_PreFrame(PyObject *, PyObject *args, PyObject *kwargs) {
3411 PyObject *resultobj;
3412 wxFrame *result;
3413 char *kwnames[] = {
3414 NULL
3415 };
3416
3417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail;
3418 {
3419 if (!wxPyCheckForApp()) SWIG_fail;
3420 PyThreadState* __tstate = wxPyBeginAllowThreads();
3421 result = (wxFrame *)new wxFrame();
3422
3423 wxPyEndAllowThreads(__tstate);
3424 if (PyErr_Occurred()) SWIG_fail;
3425 }
3426 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFrame, 1);
3427 return resultobj;
3428 fail:
3429 return NULL;
3430 }
3431
3432
3433 static PyObject *_wrap_Frame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
3434 PyObject *resultobj;
3435 wxFrame *arg1 = (wxFrame *) 0 ;
3436 wxWindow *arg2 = (wxWindow *) 0 ;
3437 int arg3 = (int) (int)-1 ;
3438 wxString const &arg4_defvalue = wxPyEmptyString ;
3439 wxString *arg4 = (wxString *) &arg4_defvalue ;
3440 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3441 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3442 wxSize const &arg6_defvalue = wxDefaultSize ;
3443 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3444 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
3445 wxString const &arg8_defvalue = wxPyFrameNameStr ;
3446 wxString *arg8 = (wxString *) &arg8_defvalue ;
3447 bool result;
3448 bool temp4 = False ;
3449 wxPoint temp5 ;
3450 wxSize temp6 ;
3451 bool temp8 = False ;
3452 PyObject * obj0 = 0 ;
3453 PyObject * obj1 = 0 ;
3454 PyObject * obj2 = 0 ;
3455 PyObject * obj3 = 0 ;
3456 PyObject * obj4 = 0 ;
3457 PyObject * obj5 = 0 ;
3458 PyObject * obj6 = 0 ;
3459 PyObject * obj7 = 0 ;
3460 char *kwnames[] = {
3461 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3462 };
3463
3464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3465 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3466 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3467 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
3468 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3469 if (obj2) {
3470 arg3 = (int)SWIG_As_int(obj2);
3471 if (PyErr_Occurred()) SWIG_fail;
3472 }
3473 if (obj3) {
3474 {
3475 arg4 = wxString_in_helper(obj3);
3476 if (arg4 == NULL) SWIG_fail;
3477 temp4 = True;
3478 }
3479 }
3480 if (obj4) {
3481 {
3482 arg5 = &temp5;
3483 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3484 }
3485 }
3486 if (obj5) {
3487 {
3488 arg6 = &temp6;
3489 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3490 }
3491 }
3492 if (obj6) {
3493 arg7 = (long)SWIG_As_long(obj6);
3494 if (PyErr_Occurred()) SWIG_fail;
3495 }
3496 if (obj7) {
3497 {
3498 arg8 = wxString_in_helper(obj7);
3499 if (arg8 == NULL) SWIG_fail;
3500 temp8 = True;
3501 }
3502 }
3503 {
3504 PyThreadState* __tstate = wxPyBeginAllowThreads();
3505 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3506
3507 wxPyEndAllowThreads(__tstate);
3508 if (PyErr_Occurred()) SWIG_fail;
3509 }
3510 {
3511 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3512 }
3513 {
3514 if (temp4)
3515 delete arg4;
3516 }
3517 {
3518 if (temp8)
3519 delete arg8;
3520 }
3521 return resultobj;
3522 fail:
3523 {
3524 if (temp4)
3525 delete arg4;
3526 }
3527 {
3528 if (temp8)
3529 delete arg8;
3530 }
3531 return NULL;
3532 }
3533
3534
3535 static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *, PyObject *args, PyObject *kwargs) {
3536 PyObject *resultobj;
3537 wxFrame *arg1 = (wxFrame *) 0 ;
3538 wxPoint result;
3539 PyObject * obj0 = 0 ;
3540 char *kwnames[] = {
3541 (char *) "self", NULL
3542 };
3543
3544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
3545 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3546 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3547 {
3548 PyThreadState* __tstate = wxPyBeginAllowThreads();
3549 result = ((wxFrame const *)arg1)->GetClientAreaOrigin();
3550
3551 wxPyEndAllowThreads(__tstate);
3552 if (PyErr_Occurred()) SWIG_fail;
3553 }
3554 {
3555 wxPoint * resultptr;
3556 resultptr = new wxPoint((wxPoint &) result);
3557 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
3558 }
3559 return resultobj;
3560 fail:
3561 return NULL;
3562 }
3563
3564
3565 static PyObject *_wrap_Frame_SendSizeEvent(PyObject *, PyObject *args, PyObject *kwargs) {
3566 PyObject *resultobj;
3567 wxFrame *arg1 = (wxFrame *) 0 ;
3568 PyObject * obj0 = 0 ;
3569 char *kwnames[] = {
3570 (char *) "self", NULL
3571 };
3572
3573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail;
3574 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3575 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3576 {
3577 PyThreadState* __tstate = wxPyBeginAllowThreads();
3578 (arg1)->SendSizeEvent();
3579
3580 wxPyEndAllowThreads(__tstate);
3581 if (PyErr_Occurred()) SWIG_fail;
3582 }
3583 Py_INCREF(Py_None); resultobj = Py_None;
3584 return resultobj;
3585 fail:
3586 return NULL;
3587 }
3588
3589
3590 static PyObject *_wrap_Frame_SetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) {
3591 PyObject *resultobj;
3592 wxFrame *arg1 = (wxFrame *) 0 ;
3593 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
3594 PyObject * obj0 = 0 ;
3595 PyObject * obj1 = 0 ;
3596 char *kwnames[] = {
3597 (char *) "self",(char *) "menubar", NULL
3598 };
3599
3600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail;
3601 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3602 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3603 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuBar,
3604 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3605 {
3606 PyThreadState* __tstate = wxPyBeginAllowThreads();
3607 (arg1)->SetMenuBar(arg2);
3608
3609 wxPyEndAllowThreads(__tstate);
3610 if (PyErr_Occurred()) SWIG_fail;
3611 }
3612 Py_INCREF(Py_None); resultobj = Py_None;
3613 return resultobj;
3614 fail:
3615 return NULL;
3616 }
3617
3618
3619 static PyObject *_wrap_Frame_GetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) {
3620 PyObject *resultobj;
3621 wxFrame *arg1 = (wxFrame *) 0 ;
3622 wxMenuBar *result;
3623 PyObject * obj0 = 0 ;
3624 char *kwnames[] = {
3625 (char *) "self", NULL
3626 };
3627
3628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail;
3629 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3630 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3631 {
3632 PyThreadState* __tstate = wxPyBeginAllowThreads();
3633 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
3634
3635 wxPyEndAllowThreads(__tstate);
3636 if (PyErr_Occurred()) SWIG_fail;
3637 }
3638 {
3639 resultobj = wxPyMake_wxObject(result, 0);
3640 }
3641 return resultobj;
3642 fail:
3643 return NULL;
3644 }
3645
3646
3647 static PyObject *_wrap_Frame_ProcessCommand(PyObject *, PyObject *args, PyObject *kwargs) {
3648 PyObject *resultobj;
3649 wxFrame *arg1 = (wxFrame *) 0 ;
3650 int arg2 ;
3651 bool result;
3652 PyObject * obj0 = 0 ;
3653 PyObject * obj1 = 0 ;
3654 char *kwnames[] = {
3655 (char *) "self",(char *) "winid", NULL
3656 };
3657
3658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) goto fail;
3659 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3660 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3661 arg2 = (int)SWIG_As_int(obj1);
3662 if (PyErr_Occurred()) SWIG_fail;
3663 {
3664 PyThreadState* __tstate = wxPyBeginAllowThreads();
3665 result = (bool)(arg1)->ProcessCommand(arg2);
3666
3667 wxPyEndAllowThreads(__tstate);
3668 if (PyErr_Occurred()) SWIG_fail;
3669 }
3670 {
3671 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3672 }
3673 return resultobj;
3674 fail:
3675 return NULL;
3676 }
3677
3678
3679 static PyObject *_wrap_Frame_CreateStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
3680 PyObject *resultobj;
3681 wxFrame *arg1 = (wxFrame *) 0 ;
3682 int arg2 = (int) 1 ;
3683 long arg3 = (long) wxST_SIZEGRIP ;
3684 int arg4 = (int) 0 ;
3685 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
3686 wxString *arg5 = (wxString *) &arg5_defvalue ;
3687 wxStatusBar *result;
3688 bool temp5 = False ;
3689 PyObject * obj0 = 0 ;
3690 PyObject * obj1 = 0 ;
3691 PyObject * obj2 = 0 ;
3692 PyObject * obj3 = 0 ;
3693 PyObject * obj4 = 0 ;
3694 char *kwnames[] = {
3695 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3696 };
3697
3698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
3699 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3700 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3701 if (obj1) {
3702 arg2 = (int)SWIG_As_int(obj1);
3703 if (PyErr_Occurred()) SWIG_fail;
3704 }
3705 if (obj2) {
3706 arg3 = (long)SWIG_As_long(obj2);
3707 if (PyErr_Occurred()) SWIG_fail;
3708 }
3709 if (obj3) {
3710 arg4 = (int)SWIG_As_int(obj3);
3711 if (PyErr_Occurred()) SWIG_fail;
3712 }
3713 if (obj4) {
3714 {
3715 arg5 = wxString_in_helper(obj4);
3716 if (arg5 == NULL) SWIG_fail;
3717 temp5 = True;
3718 }
3719 }
3720 {
3721 PyThreadState* __tstate = wxPyBeginAllowThreads();
3722 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
3723
3724 wxPyEndAllowThreads(__tstate);
3725 if (PyErr_Occurred()) SWIG_fail;
3726 }
3727 {
3728 resultobj = wxPyMake_wxObject(result, 0);
3729 }
3730 {
3731 if (temp5)
3732 delete arg5;
3733 }
3734 return resultobj;
3735 fail:
3736 {
3737 if (temp5)
3738 delete arg5;
3739 }
3740 return NULL;
3741 }
3742
3743
3744 static PyObject *_wrap_Frame_GetStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
3745 PyObject *resultobj;
3746 wxFrame *arg1 = (wxFrame *) 0 ;
3747 wxStatusBar *result;
3748 PyObject * obj0 = 0 ;
3749 char *kwnames[] = {
3750 (char *) "self", NULL
3751 };
3752
3753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail;
3754 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3755 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3756 {
3757 PyThreadState* __tstate = wxPyBeginAllowThreads();
3758 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
3759
3760 wxPyEndAllowThreads(__tstate);
3761 if (PyErr_Occurred()) SWIG_fail;
3762 }
3763 {
3764 resultobj = wxPyMake_wxObject(result, 0);
3765 }
3766 return resultobj;
3767 fail:
3768 return NULL;
3769 }
3770
3771
3772 static PyObject *_wrap_Frame_SetStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
3773 PyObject *resultobj;
3774 wxFrame *arg1 = (wxFrame *) 0 ;
3775 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
3776 PyObject * obj0 = 0 ;
3777 PyObject * obj1 = 0 ;
3778 char *kwnames[] = {
3779 (char *) "self",(char *) "statBar", NULL
3780 };
3781
3782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail;
3783 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3784 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3785 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxStatusBar,
3786 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3787 {
3788 PyThreadState* __tstate = wxPyBeginAllowThreads();
3789 (arg1)->SetStatusBar(arg2);
3790
3791 wxPyEndAllowThreads(__tstate);
3792 if (PyErr_Occurred()) SWIG_fail;
3793 }
3794 Py_INCREF(Py_None); resultobj = Py_None;
3795 return resultobj;
3796 fail:
3797 return NULL;
3798 }
3799
3800
3801 static PyObject *_wrap_Frame_SetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
3802 PyObject *resultobj;
3803 wxFrame *arg1 = (wxFrame *) 0 ;
3804 wxString *arg2 = 0 ;
3805 int arg3 = (int) 0 ;
3806 bool temp2 = False ;
3807 PyObject * obj0 = 0 ;
3808 PyObject * obj1 = 0 ;
3809 PyObject * obj2 = 0 ;
3810 char *kwnames[] = {
3811 (char *) "self",(char *) "text",(char *) "number", NULL
3812 };
3813
3814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
3815 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3816 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3817 {
3818 arg2 = wxString_in_helper(obj1);
3819 if (arg2 == NULL) SWIG_fail;
3820 temp2 = True;
3821 }
3822 if (obj2) {
3823 arg3 = (int)SWIG_As_int(obj2);
3824 if (PyErr_Occurred()) SWIG_fail;
3825 }
3826 {
3827 PyThreadState* __tstate = wxPyBeginAllowThreads();
3828 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
3829
3830 wxPyEndAllowThreads(__tstate);
3831 if (PyErr_Occurred()) SWIG_fail;
3832 }
3833 Py_INCREF(Py_None); resultobj = Py_None;
3834 {
3835 if (temp2)
3836 delete arg2;
3837 }
3838 return resultobj;
3839 fail:
3840 {
3841 if (temp2)
3842 delete arg2;
3843 }
3844 return NULL;
3845 }
3846
3847
3848 static PyObject *_wrap_Frame_SetStatusWidths(PyObject *, PyObject *args, PyObject *kwargs) {
3849 PyObject *resultobj;
3850 wxFrame *arg1 = (wxFrame *) 0 ;
3851 int arg2 ;
3852 int *arg3 = (int *) 0 ;
3853 PyObject * obj0 = 0 ;
3854 PyObject * obj1 = 0 ;
3855 char *kwnames[] = {
3856 (char *) "self",(char *) "widths", NULL
3857 };
3858
3859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
3860 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3861 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3862 {
3863 arg2 = PyList_Size(obj1);
3864 arg3 = int_LIST_helper(obj1);
3865 if (arg3 == NULL) SWIG_fail;
3866 }
3867 {
3868 PyThreadState* __tstate = wxPyBeginAllowThreads();
3869 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
3870
3871 wxPyEndAllowThreads(__tstate);
3872 if (PyErr_Occurred()) SWIG_fail;
3873 }
3874 Py_INCREF(Py_None); resultobj = Py_None;
3875 {
3876 if (arg3) delete [] arg3;
3877 }
3878 return resultobj;
3879 fail:
3880 {
3881 if (arg3) delete [] arg3;
3882 }
3883 return NULL;
3884 }
3885
3886
3887 static PyObject *_wrap_Frame_PushStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
3888 PyObject *resultobj;
3889 wxFrame *arg1 = (wxFrame *) 0 ;
3890 wxString *arg2 = 0 ;
3891 int arg3 = (int) 0 ;
3892 bool temp2 = False ;
3893 PyObject * obj0 = 0 ;
3894 PyObject * obj1 = 0 ;
3895 PyObject * obj2 = 0 ;
3896 char *kwnames[] = {
3897 (char *) "self",(char *) "text",(char *) "number", NULL
3898 };
3899
3900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
3901 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3902 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3903 {
3904 arg2 = wxString_in_helper(obj1);
3905 if (arg2 == NULL) SWIG_fail;
3906 temp2 = True;
3907 }
3908 if (obj2) {
3909 arg3 = (int)SWIG_As_int(obj2);
3910 if (PyErr_Occurred()) SWIG_fail;
3911 }
3912 {
3913 PyThreadState* __tstate = wxPyBeginAllowThreads();
3914 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
3915
3916 wxPyEndAllowThreads(__tstate);
3917 if (PyErr_Occurred()) SWIG_fail;
3918 }
3919 Py_INCREF(Py_None); resultobj = Py_None;
3920 {
3921 if (temp2)
3922 delete arg2;
3923 }
3924 return resultobj;
3925 fail:
3926 {
3927 if (temp2)
3928 delete arg2;
3929 }
3930 return NULL;
3931 }
3932
3933
3934 static PyObject *_wrap_Frame_PopStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
3935 PyObject *resultobj;
3936 wxFrame *arg1 = (wxFrame *) 0 ;
3937 int arg2 = (int) 0 ;
3938 PyObject * obj0 = 0 ;
3939 PyObject * obj1 = 0 ;
3940 char *kwnames[] = {
3941 (char *) "self",(char *) "number", NULL
3942 };
3943
3944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
3945 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3946 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3947 if (obj1) {
3948 arg2 = (int)SWIG_As_int(obj1);
3949 if (PyErr_Occurred()) SWIG_fail;
3950 }
3951 {
3952 PyThreadState* __tstate = wxPyBeginAllowThreads();
3953 (arg1)->PopStatusText(arg2);
3954
3955 wxPyEndAllowThreads(__tstate);
3956 if (PyErr_Occurred()) SWIG_fail;
3957 }
3958 Py_INCREF(Py_None); resultobj = Py_None;
3959 return resultobj;
3960 fail:
3961 return NULL;
3962 }
3963
3964
3965 static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *, PyObject *args, PyObject *kwargs) {
3966 PyObject *resultobj;
3967 wxFrame *arg1 = (wxFrame *) 0 ;
3968 int arg2 ;
3969 PyObject * obj0 = 0 ;
3970 PyObject * obj1 = 0 ;
3971 char *kwnames[] = {
3972 (char *) "self",(char *) "n", NULL
3973 };
3974
3975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) goto fail;
3976 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3977 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3978 arg2 = (int)SWIG_As_int(obj1);
3979 if (PyErr_Occurred()) SWIG_fail;
3980 {
3981 PyThreadState* __tstate = wxPyBeginAllowThreads();
3982 (arg1)->SetStatusBarPane(arg2);
3983
3984 wxPyEndAllowThreads(__tstate);
3985 if (PyErr_Occurred()) SWIG_fail;
3986 }
3987 Py_INCREF(Py_None); resultobj = Py_None;
3988 return resultobj;
3989 fail:
3990 return NULL;
3991 }
3992
3993
3994 static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *, PyObject *args, PyObject *kwargs) {
3995 PyObject *resultobj;
3996 wxFrame *arg1 = (wxFrame *) 0 ;
3997 int result;
3998 PyObject * obj0 = 0 ;
3999 char *kwnames[] = {
4000 (char *) "self", NULL
4001 };
4002
4003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail;
4004 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4005 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4006 {
4007 PyThreadState* __tstate = wxPyBeginAllowThreads();
4008 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
4009
4010 wxPyEndAllowThreads(__tstate);
4011 if (PyErr_Occurred()) SWIG_fail;
4012 }
4013 resultobj = SWIG_From_int((int)result);
4014 return resultobj;
4015 fail:
4016 return NULL;
4017 }
4018
4019
4020 static PyObject *_wrap_Frame_CreateToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
4021 PyObject *resultobj;
4022 wxFrame *arg1 = (wxFrame *) 0 ;
4023 long arg2 = (long) -1 ;
4024 int arg3 = (int) -1 ;
4025 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
4026 wxString *arg4 = (wxString *) &arg4_defvalue ;
4027 wxToolBar *result;
4028 bool temp4 = False ;
4029 PyObject * obj0 = 0 ;
4030 PyObject * obj1 = 0 ;
4031 PyObject * obj2 = 0 ;
4032 PyObject * obj3 = 0 ;
4033 char *kwnames[] = {
4034 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
4035 };
4036
4037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
4038 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4039 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4040 if (obj1) {
4041 arg2 = (long)SWIG_As_long(obj1);
4042 if (PyErr_Occurred()) SWIG_fail;
4043 }
4044 if (obj2) {
4045 arg3 = (int)SWIG_As_int(obj2);
4046 if (PyErr_Occurred()) SWIG_fail;
4047 }
4048 if (obj3) {
4049 {
4050 arg4 = wxString_in_helper(obj3);
4051 if (arg4 == NULL) SWIG_fail;
4052 temp4 = True;
4053 }
4054 }
4055 {
4056 PyThreadState* __tstate = wxPyBeginAllowThreads();
4057 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
4058
4059 wxPyEndAllowThreads(__tstate);
4060 if (PyErr_Occurred()) SWIG_fail;
4061 }
4062 {
4063 resultobj = wxPyMake_wxObject(result, 0);
4064 }
4065 {
4066 if (temp4)
4067 delete arg4;
4068 }
4069 return resultobj;
4070 fail:
4071 {
4072 if (temp4)
4073 delete arg4;
4074 }
4075 return NULL;
4076 }
4077
4078
4079 static PyObject *_wrap_Frame_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
4080 PyObject *resultobj;
4081 wxFrame *arg1 = (wxFrame *) 0 ;
4082 wxToolBar *result;
4083 PyObject * obj0 = 0 ;
4084 char *kwnames[] = {
4085 (char *) "self", NULL
4086 };
4087
4088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail;
4089 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4090 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4091 {
4092 PyThreadState* __tstate = wxPyBeginAllowThreads();
4093 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
4094
4095 wxPyEndAllowThreads(__tstate);
4096 if (PyErr_Occurred()) SWIG_fail;
4097 }
4098 {
4099 resultobj = wxPyMake_wxObject(result, 0);
4100 }
4101 return resultobj;
4102 fail:
4103 return NULL;
4104 }
4105
4106
4107 static PyObject *_wrap_Frame_SetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
4108 PyObject *resultobj;
4109 wxFrame *arg1 = (wxFrame *) 0 ;
4110 wxToolBar *arg2 = (wxToolBar *) 0 ;
4111 PyObject * obj0 = 0 ;
4112 PyObject * obj1 = 0 ;
4113 char *kwnames[] = {
4114 (char *) "self",(char *) "toolbar", NULL
4115 };
4116
4117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
4118 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4119 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4120 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBar,
4121 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4122 {
4123 PyThreadState* __tstate = wxPyBeginAllowThreads();
4124 (arg1)->SetToolBar(arg2);
4125
4126 wxPyEndAllowThreads(__tstate);
4127 if (PyErr_Occurred()) SWIG_fail;
4128 }
4129 Py_INCREF(Py_None); resultobj = Py_None;
4130 return resultobj;
4131 fail:
4132 return NULL;
4133 }
4134
4135
4136 static PyObject *_wrap_Frame_DoGiveHelp(PyObject *, PyObject *args, PyObject *kwargs) {
4137 PyObject *resultobj;
4138 wxFrame *arg1 = (wxFrame *) 0 ;
4139 wxString *arg2 = 0 ;
4140 bool arg3 ;
4141 bool temp2 = False ;
4142 PyObject * obj0 = 0 ;
4143 PyObject * obj1 = 0 ;
4144 PyObject * obj2 = 0 ;
4145 char *kwnames[] = {
4146 (char *) "self",(char *) "text",(char *) "show", NULL
4147 };
4148
4149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
4150 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4151 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4152 {
4153 arg2 = wxString_in_helper(obj1);
4154 if (arg2 == NULL) SWIG_fail;
4155 temp2 = True;
4156 }
4157 arg3 = (bool)SWIG_As_bool(obj2);
4158 if (PyErr_Occurred()) SWIG_fail;
4159 {
4160 PyThreadState* __tstate = wxPyBeginAllowThreads();
4161 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
4162
4163 wxPyEndAllowThreads(__tstate);
4164 if (PyErr_Occurred()) SWIG_fail;
4165 }
4166 Py_INCREF(Py_None); resultobj = Py_None;
4167 {
4168 if (temp2)
4169 delete arg2;
4170 }
4171 return resultobj;
4172 fail:
4173 {
4174 if (temp2)
4175 delete arg2;
4176 }
4177 return NULL;
4178 }
4179
4180
4181 static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *, PyObject *args, PyObject *kwargs) {
4182 PyObject *resultobj;
4183 wxFrame *arg1 = (wxFrame *) 0 ;
4184 wxMenu *arg2 = (wxMenu *) NULL ;
4185 PyObject * obj0 = 0 ;
4186 PyObject * obj1 = 0 ;
4187 char *kwnames[] = {
4188 (char *) "self",(char *) "menu", NULL
4189 };
4190
4191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail;
4192 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4193 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4194 if (obj1) {
4195 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
4196 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4197 }
4198 {
4199 PyThreadState* __tstate = wxPyBeginAllowThreads();
4200 (arg1)->DoMenuUpdates(arg2);
4201
4202 wxPyEndAllowThreads(__tstate);
4203 if (PyErr_Occurred()) SWIG_fail;
4204 }
4205 Py_INCREF(Py_None); resultobj = Py_None;
4206 return resultobj;
4207 fail:
4208 return NULL;
4209 }
4210
4211
4212 static PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
4213 PyObject *resultobj;
4214 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
4215 wxVisualAttributes result;
4216 PyObject * obj0 = 0 ;
4217 char *kwnames[] = {
4218 (char *) "variant", NULL
4219 };
4220
4221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4222 if (obj0) {
4223 arg1 = (int)SWIG_As_int(obj0);
4224 if (PyErr_Occurred()) SWIG_fail;
4225 }
4226 {
4227 if (!wxPyCheckForApp()) SWIG_fail;
4228 PyThreadState* __tstate = wxPyBeginAllowThreads();
4229 result = wxFrame::GetClassDefaultAttributes((wxWindowVariant )arg1);
4230
4231 wxPyEndAllowThreads(__tstate);
4232 if (PyErr_Occurred()) SWIG_fail;
4233 }
4234 {
4235 wxVisualAttributes * resultptr;
4236 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
4237 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4238 }
4239 return resultobj;
4240 fail:
4241 return NULL;
4242 }
4243
4244
4245 static PyObject * Frame_swigregister(PyObject *, PyObject *args) {
4246 PyObject *obj;
4247 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4248 SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj);
4249 Py_INCREF(obj);
4250 return Py_BuildValue((char *)"");
4251 }
4252 static PyObject *_wrap_new_Dialog(PyObject *, PyObject *args, PyObject *kwargs) {
4253 PyObject *resultobj;
4254 wxWindow *arg1 = (wxWindow *) 0 ;
4255 int arg2 = (int) (int)-1 ;
4256 wxString const &arg3_defvalue = wxPyEmptyString ;
4257 wxString *arg3 = (wxString *) &arg3_defvalue ;
4258 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4259 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4260 wxSize const &arg5_defvalue = wxDefaultSize ;
4261 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4262 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
4263 wxString const &arg7_defvalue = wxPyDialogNameStr ;
4264 wxString *arg7 = (wxString *) &arg7_defvalue ;
4265 wxDialog *result;
4266 bool temp3 = False ;
4267 wxPoint temp4 ;
4268 wxSize temp5 ;
4269 bool temp7 = False ;
4270 PyObject * obj0 = 0 ;
4271 PyObject * obj1 = 0 ;
4272 PyObject * obj2 = 0 ;
4273 PyObject * obj3 = 0 ;
4274 PyObject * obj4 = 0 ;
4275 PyObject * obj5 = 0 ;
4276 PyObject * obj6 = 0 ;
4277 char *kwnames[] = {
4278 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4279 };
4280
4281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4282 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4283 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4284 if (obj1) {
4285 arg2 = (int)SWIG_As_int(obj1);
4286 if (PyErr_Occurred()) SWIG_fail;
4287 }
4288 if (obj2) {
4289 {
4290 arg3 = wxString_in_helper(obj2);
4291 if (arg3 == NULL) SWIG_fail;
4292 temp3 = True;
4293 }
4294 }
4295 if (obj3) {
4296 {
4297 arg4 = &temp4;
4298 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4299 }
4300 }
4301 if (obj4) {
4302 {
4303 arg5 = &temp5;
4304 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4305 }
4306 }
4307 if (obj5) {
4308 arg6 = (long)SWIG_As_long(obj5);
4309 if (PyErr_Occurred()) SWIG_fail;
4310 }
4311 if (obj6) {
4312 {
4313 arg7 = wxString_in_helper(obj6);
4314 if (arg7 == NULL) SWIG_fail;
4315 temp7 = True;
4316 }
4317 }
4318 {
4319 if (!wxPyCheckForApp()) SWIG_fail;
4320 PyThreadState* __tstate = wxPyBeginAllowThreads();
4321 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4322
4323 wxPyEndAllowThreads(__tstate);
4324 if (PyErr_Occurred()) SWIG_fail;
4325 }
4326 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
4327 {
4328 if (temp3)
4329 delete arg3;
4330 }
4331 {
4332 if (temp7)
4333 delete arg7;
4334 }
4335 return resultobj;
4336 fail:
4337 {
4338 if (temp3)
4339 delete arg3;
4340 }
4341 {
4342 if (temp7)
4343 delete arg7;
4344 }
4345 return NULL;
4346 }
4347
4348
4349 static PyObject *_wrap_new_PreDialog(PyObject *, PyObject *args, PyObject *kwargs) {
4350 PyObject *resultobj;
4351 wxDialog *result;
4352 char *kwnames[] = {
4353 NULL
4354 };
4355
4356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail;
4357 {
4358 if (!wxPyCheckForApp()) SWIG_fail;
4359 PyThreadState* __tstate = wxPyBeginAllowThreads();
4360 result = (wxDialog *)new wxDialog();
4361
4362 wxPyEndAllowThreads(__tstate);
4363 if (PyErr_Occurred()) SWIG_fail;
4364 }
4365 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
4366 return resultobj;
4367 fail:
4368 return NULL;
4369 }
4370
4371
4372 static PyObject *_wrap_Dialog_Create(PyObject *, PyObject *args, PyObject *kwargs) {
4373 PyObject *resultobj;
4374 wxDialog *arg1 = (wxDialog *) 0 ;
4375 wxWindow *arg2 = (wxWindow *) 0 ;
4376 int arg3 = (int) (int)-1 ;
4377 wxString const &arg4_defvalue = wxPyEmptyString ;
4378 wxString *arg4 = (wxString *) &arg4_defvalue ;
4379 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4380 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4381 wxSize const &arg6_defvalue = wxDefaultSize ;
4382 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4383 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
4384 wxString const &arg8_defvalue = wxPyDialogNameStr ;
4385 wxString *arg8 = (wxString *) &arg8_defvalue ;
4386 bool result;
4387 bool temp4 = False ;
4388 wxPoint temp5 ;
4389 wxSize temp6 ;
4390 bool temp8 = False ;
4391 PyObject * obj0 = 0 ;
4392 PyObject * obj1 = 0 ;
4393 PyObject * obj2 = 0 ;
4394 PyObject * obj3 = 0 ;
4395 PyObject * obj4 = 0 ;
4396 PyObject * obj5 = 0 ;
4397 PyObject * obj6 = 0 ;
4398 PyObject * obj7 = 0 ;
4399 char *kwnames[] = {
4400 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4401 };
4402
4403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4404 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4405 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4406 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4407 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4408 if (obj2) {
4409 arg3 = (int)SWIG_As_int(obj2);
4410 if (PyErr_Occurred()) SWIG_fail;
4411 }
4412 if (obj3) {
4413 {
4414 arg4 = wxString_in_helper(obj3);
4415 if (arg4 == NULL) SWIG_fail;
4416 temp4 = True;
4417 }
4418 }
4419 if (obj4) {
4420 {
4421 arg5 = &temp5;
4422 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4423 }
4424 }
4425 if (obj5) {
4426 {
4427 arg6 = &temp6;
4428 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4429 }
4430 }
4431 if (obj6) {
4432 arg7 = (long)SWIG_As_long(obj6);
4433 if (PyErr_Occurred()) SWIG_fail;
4434 }
4435 if (obj7) {
4436 {
4437 arg8 = wxString_in_helper(obj7);
4438 if (arg8 == NULL) SWIG_fail;
4439 temp8 = True;
4440 }
4441 }
4442 {
4443 PyThreadState* __tstate = wxPyBeginAllowThreads();
4444 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4445
4446 wxPyEndAllowThreads(__tstate);
4447 if (PyErr_Occurred()) SWIG_fail;
4448 }
4449 {
4450 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4451 }
4452 {
4453 if (temp4)
4454 delete arg4;
4455 }
4456 {
4457 if (temp8)
4458 delete arg8;
4459 }
4460 return resultobj;
4461 fail:
4462 {
4463 if (temp4)
4464 delete arg4;
4465 }
4466 {
4467 if (temp8)
4468 delete arg8;
4469 }
4470 return NULL;
4471 }
4472
4473
4474 static PyObject *_wrap_Dialog_SetReturnCode(PyObject *, PyObject *args, PyObject *kwargs) {
4475 PyObject *resultobj;
4476 wxDialog *arg1 = (wxDialog *) 0 ;
4477 int arg2 ;
4478 PyObject * obj0 = 0 ;
4479 PyObject * obj1 = 0 ;
4480 char *kwnames[] = {
4481 (char *) "self",(char *) "returnCode", NULL
4482 };
4483
4484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) goto fail;
4485 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4486 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4487 arg2 = (int)SWIG_As_int(obj1);
4488 if (PyErr_Occurred()) SWIG_fail;
4489 {
4490 PyThreadState* __tstate = wxPyBeginAllowThreads();
4491 (arg1)->SetReturnCode(arg2);
4492
4493 wxPyEndAllowThreads(__tstate);
4494 if (PyErr_Occurred()) SWIG_fail;
4495 }
4496 Py_INCREF(Py_None); resultobj = Py_None;
4497 return resultobj;
4498 fail:
4499 return NULL;
4500 }
4501
4502
4503 static PyObject *_wrap_Dialog_GetReturnCode(PyObject *, PyObject *args, PyObject *kwargs) {
4504 PyObject *resultobj;
4505 wxDialog *arg1 = (wxDialog *) 0 ;
4506 int result;
4507 PyObject * obj0 = 0 ;
4508 char *kwnames[] = {
4509 (char *) "self", NULL
4510 };
4511
4512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail;
4513 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4514 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4515 {
4516 PyThreadState* __tstate = wxPyBeginAllowThreads();
4517 result = (int)((wxDialog const *)arg1)->GetReturnCode();
4518
4519 wxPyEndAllowThreads(__tstate);
4520 if (PyErr_Occurred()) SWIG_fail;
4521 }
4522 resultobj = SWIG_From_int((int)result);
4523 return resultobj;
4524 fail:
4525 return NULL;
4526 }
4527
4528
4529 static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *, PyObject *args, PyObject *kwargs) {
4530 PyObject *resultobj;
4531 wxDialog *arg1 = (wxDialog *) 0 ;
4532 wxString *arg2 = 0 ;
4533 wxSizer *result;
4534 bool temp2 = False ;
4535 PyObject * obj0 = 0 ;
4536 PyObject * obj1 = 0 ;
4537 char *kwnames[] = {
4538 (char *) "self",(char *) "message", NULL
4539 };
4540
4541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail;
4542 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4543 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4544 {
4545 arg2 = wxString_in_helper(obj1);
4546 if (arg2 == NULL) SWIG_fail;
4547 temp2 = True;
4548 }
4549 {
4550 PyThreadState* __tstate = wxPyBeginAllowThreads();
4551 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
4552
4553 wxPyEndAllowThreads(__tstate);
4554 if (PyErr_Occurred()) SWIG_fail;
4555 }
4556 {
4557 resultobj = wxPyMake_wxSizer(result, 0);
4558 }
4559 {
4560 if (temp2)
4561 delete arg2;
4562 }
4563 return resultobj;
4564 fail:
4565 {
4566 if (temp2)
4567 delete arg2;
4568 }
4569 return NULL;
4570 }
4571
4572
4573 static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *, PyObject *args, PyObject *kwargs) {
4574 PyObject *resultobj;
4575 wxDialog *arg1 = (wxDialog *) 0 ;
4576 long arg2 ;
4577 wxSizer *result;
4578 PyObject * obj0 = 0 ;
4579 PyObject * obj1 = 0 ;
4580 char *kwnames[] = {
4581 (char *) "self",(char *) "flags", NULL
4582 };
4583
4584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1)) goto fail;
4585 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4586 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4587 arg2 = (long)SWIG_As_long(obj1);
4588 if (PyErr_Occurred()) SWIG_fail;
4589 {
4590 PyThreadState* __tstate = wxPyBeginAllowThreads();
4591 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
4592
4593 wxPyEndAllowThreads(__tstate);
4594 if (PyErr_Occurred()) SWIG_fail;
4595 }
4596 {
4597 resultobj = wxPyMake_wxSizer(result, 0);
4598 }
4599 return resultobj;
4600 fail:
4601 return NULL;
4602 }
4603
4604
4605 static PyObject *_wrap_Dialog_IsModal(PyObject *, PyObject *args, PyObject *kwargs) {
4606 PyObject *resultobj;
4607 wxDialog *arg1 = (wxDialog *) 0 ;
4608 bool result;
4609 PyObject * obj0 = 0 ;
4610 char *kwnames[] = {
4611 (char *) "self", NULL
4612 };
4613
4614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail;
4615 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4616 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4617 {
4618 PyThreadState* __tstate = wxPyBeginAllowThreads();
4619 result = (bool)((wxDialog const *)arg1)->IsModal();
4620
4621 wxPyEndAllowThreads(__tstate);
4622 if (PyErr_Occurred()) SWIG_fail;
4623 }
4624 {
4625 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4626 }
4627 return resultobj;
4628 fail:
4629 return NULL;
4630 }
4631
4632
4633 static PyObject *_wrap_Dialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
4634 PyObject *resultobj;
4635 wxDialog *arg1 = (wxDialog *) 0 ;
4636 int result;
4637 PyObject * obj0 = 0 ;
4638 char *kwnames[] = {
4639 (char *) "self", NULL
4640 };
4641
4642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail;
4643 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4644 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4645 {
4646 PyThreadState* __tstate = wxPyBeginAllowThreads();
4647 result = (int)(arg1)->ShowModal();
4648
4649 wxPyEndAllowThreads(__tstate);
4650 if (PyErr_Occurred()) SWIG_fail;
4651 }
4652 resultobj = SWIG_From_int((int)result);
4653 return resultobj;
4654 fail:
4655 return NULL;
4656 }
4657
4658
4659 static PyObject *_wrap_Dialog_EndModal(PyObject *, PyObject *args, PyObject *kwargs) {
4660 PyObject *resultobj;
4661 wxDialog *arg1 = (wxDialog *) 0 ;
4662 int arg2 ;
4663 PyObject * obj0 = 0 ;
4664 PyObject * obj1 = 0 ;
4665 char *kwnames[] = {
4666 (char *) "self",(char *) "retCode", NULL
4667 };
4668
4669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) goto fail;
4670 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4671 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4672 arg2 = (int)SWIG_As_int(obj1);
4673 if (PyErr_Occurred()) SWIG_fail;
4674 {
4675 PyThreadState* __tstate = wxPyBeginAllowThreads();
4676 (arg1)->EndModal(arg2);
4677
4678 wxPyEndAllowThreads(__tstate);
4679 if (PyErr_Occurred()) SWIG_fail;
4680 }
4681 Py_INCREF(Py_None); resultobj = Py_None;
4682 return resultobj;
4683 fail:
4684 return NULL;
4685 }
4686
4687
4688 static PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
4689 PyObject *resultobj;
4690 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
4691 wxVisualAttributes result;
4692 PyObject * obj0 = 0 ;
4693 char *kwnames[] = {
4694 (char *) "variant", NULL
4695 };
4696
4697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4698 if (obj0) {
4699 arg1 = (int)SWIG_As_int(obj0);
4700 if (PyErr_Occurred()) SWIG_fail;
4701 }
4702 {
4703 if (!wxPyCheckForApp()) SWIG_fail;
4704 PyThreadState* __tstate = wxPyBeginAllowThreads();
4705 result = wxDialog::GetClassDefaultAttributes((wxWindowVariant )arg1);
4706
4707 wxPyEndAllowThreads(__tstate);
4708 if (PyErr_Occurred()) SWIG_fail;
4709 }
4710 {
4711 wxVisualAttributes * resultptr;
4712 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
4713 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4714 }
4715 return resultobj;
4716 fail:
4717 return NULL;
4718 }
4719
4720
4721 static PyObject * Dialog_swigregister(PyObject *, PyObject *args) {
4722 PyObject *obj;
4723 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4724 SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj);
4725 Py_INCREF(obj);
4726 return Py_BuildValue((char *)"");
4727 }
4728 static PyObject *_wrap_new_MiniFrame(PyObject *, PyObject *args, PyObject *kwargs) {
4729 PyObject *resultobj;
4730 wxWindow *arg1 = (wxWindow *) 0 ;
4731 int arg2 = (int) (int)-1 ;
4732 wxString const &arg3_defvalue = wxPyEmptyString ;
4733 wxString *arg3 = (wxString *) &arg3_defvalue ;
4734 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4735 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4736 wxSize const &arg5_defvalue = wxDefaultSize ;
4737 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4738 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
4739 wxString const &arg7_defvalue = wxPyFrameNameStr ;
4740 wxString *arg7 = (wxString *) &arg7_defvalue ;
4741 wxMiniFrame *result;
4742 bool temp3 = False ;
4743 wxPoint temp4 ;
4744 wxSize temp5 ;
4745 bool temp7 = False ;
4746 PyObject * obj0 = 0 ;
4747 PyObject * obj1 = 0 ;
4748 PyObject * obj2 = 0 ;
4749 PyObject * obj3 = 0 ;
4750 PyObject * obj4 = 0 ;
4751 PyObject * obj5 = 0 ;
4752 PyObject * obj6 = 0 ;
4753 char *kwnames[] = {
4754 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4755 };
4756
4757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4758 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4759 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4760 if (obj1) {
4761 arg2 = (int)SWIG_As_int(obj1);
4762 if (PyErr_Occurred()) SWIG_fail;
4763 }
4764 if (obj2) {
4765 {
4766 arg3 = wxString_in_helper(obj2);
4767 if (arg3 == NULL) SWIG_fail;
4768 temp3 = True;
4769 }
4770 }
4771 if (obj3) {
4772 {
4773 arg4 = &temp4;
4774 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4775 }
4776 }
4777 if (obj4) {
4778 {
4779 arg5 = &temp5;
4780 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4781 }
4782 }
4783 if (obj5) {
4784 arg6 = (long)SWIG_As_long(obj5);
4785 if (PyErr_Occurred()) SWIG_fail;
4786 }
4787 if (obj6) {
4788 {
4789 arg7 = wxString_in_helper(obj6);
4790 if (arg7 == NULL) SWIG_fail;
4791 temp7 = True;
4792 }
4793 }
4794 {
4795 if (!wxPyCheckForApp()) SWIG_fail;
4796 PyThreadState* __tstate = wxPyBeginAllowThreads();
4797 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4798
4799 wxPyEndAllowThreads(__tstate);
4800 if (PyErr_Occurred()) SWIG_fail;
4801 }
4802 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
4803 {
4804 if (temp3)
4805 delete arg3;
4806 }
4807 {
4808 if (temp7)
4809 delete arg7;
4810 }
4811 return resultobj;
4812 fail:
4813 {
4814 if (temp3)
4815 delete arg3;
4816 }
4817 {
4818 if (temp7)
4819 delete arg7;
4820 }
4821 return NULL;
4822 }
4823
4824
4825 static PyObject *_wrap_new_PreMiniFrame(PyObject *, PyObject *args, PyObject *kwargs) {
4826 PyObject *resultobj;
4827 wxMiniFrame *result;
4828 char *kwnames[] = {
4829 NULL
4830 };
4831
4832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail;
4833 {
4834 if (!wxPyCheckForApp()) SWIG_fail;
4835 PyThreadState* __tstate = wxPyBeginAllowThreads();
4836 result = (wxMiniFrame *)new wxMiniFrame();
4837
4838 wxPyEndAllowThreads(__tstate);
4839 if (PyErr_Occurred()) SWIG_fail;
4840 }
4841 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
4842 return resultobj;
4843 fail:
4844 return NULL;
4845 }
4846
4847
4848 static PyObject *_wrap_MiniFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
4849 PyObject *resultobj;
4850 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
4851 wxWindow *arg2 = (wxWindow *) 0 ;
4852 int arg3 = (int) (int)-1 ;
4853 wxString const &arg4_defvalue = wxPyEmptyString ;
4854 wxString *arg4 = (wxString *) &arg4_defvalue ;
4855 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4856 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4857 wxSize const &arg6_defvalue = wxDefaultSize ;
4858 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4859 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
4860 wxString const &arg8_defvalue = wxPyFrameNameStr ;
4861 wxString *arg8 = (wxString *) &arg8_defvalue ;
4862 bool result;
4863 bool temp4 = False ;
4864 wxPoint temp5 ;
4865 wxSize temp6 ;
4866 bool temp8 = False ;
4867 PyObject * obj0 = 0 ;
4868 PyObject * obj1 = 0 ;
4869 PyObject * obj2 = 0 ;
4870 PyObject * obj3 = 0 ;
4871 PyObject * obj4 = 0 ;
4872 PyObject * obj5 = 0 ;
4873 PyObject * obj6 = 0 ;
4874 PyObject * obj7 = 0 ;
4875 char *kwnames[] = {
4876 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4877 };
4878
4879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4880 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMiniFrame,
4881 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4882 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4883 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4884 if (obj2) {
4885 arg3 = (int)SWIG_As_int(obj2);
4886 if (PyErr_Occurred()) SWIG_fail;
4887 }
4888 if (obj3) {
4889 {
4890 arg4 = wxString_in_helper(obj3);
4891 if (arg4 == NULL) SWIG_fail;
4892 temp4 = True;
4893 }
4894 }
4895 if (obj4) {
4896 {
4897 arg5 = &temp5;
4898 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4899 }
4900 }
4901 if (obj5) {
4902 {
4903 arg6 = &temp6;
4904 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4905 }
4906 }
4907 if (obj6) {
4908 arg7 = (long)SWIG_As_long(obj6);
4909 if (PyErr_Occurred()) SWIG_fail;
4910 }
4911 if (obj7) {
4912 {
4913 arg8 = wxString_in_helper(obj7);
4914 if (arg8 == NULL) SWIG_fail;
4915 temp8 = True;
4916 }
4917 }
4918 {
4919 PyThreadState* __tstate = wxPyBeginAllowThreads();
4920 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4921
4922 wxPyEndAllowThreads(__tstate);
4923 if (PyErr_Occurred()) SWIG_fail;
4924 }
4925 {
4926 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4927 }
4928 {
4929 if (temp4)
4930 delete arg4;
4931 }
4932 {
4933 if (temp8)
4934 delete arg8;
4935 }
4936 return resultobj;
4937 fail:
4938 {
4939 if (temp4)
4940 delete arg4;
4941 }
4942 {
4943 if (temp8)
4944 delete arg8;
4945 }
4946 return NULL;
4947 }
4948
4949
4950 static PyObject * MiniFrame_swigregister(PyObject *, PyObject *args) {
4951 PyObject *obj;
4952 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4953 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj);
4954 Py_INCREF(obj);
4955 return Py_BuildValue((char *)"");
4956 }
4957 static PyObject *_wrap_new_SplashScreenWindow(PyObject *, PyObject *args, PyObject *kwargs) {
4958 PyObject *resultobj;
4959 wxBitmap *arg1 = 0 ;
4960 wxWindow *arg2 = (wxWindow *) 0 ;
4961 int arg3 ;
4962 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4963 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4964 wxSize const &arg5_defvalue = wxDefaultSize ;
4965 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4966 long arg6 = (long) wxNO_BORDER ;
4967 wxSplashScreenWindow *result;
4968 wxPoint temp4 ;
4969 wxSize temp5 ;
4970 PyObject * obj0 = 0 ;
4971 PyObject * obj1 = 0 ;
4972 PyObject * obj2 = 0 ;
4973 PyObject * obj3 = 0 ;
4974 PyObject * obj4 = 0 ;
4975 PyObject * obj5 = 0 ;
4976 char *kwnames[] = {
4977 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4978 };
4979
4980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
4981 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
4982 SWIG_POINTER_EXCEPTION | 0)) == -1)
4983 SWIG_fail;
4984 if (arg1 == NULL) {
4985 PyErr_SetString(PyExc_TypeError,"null reference");
4986 SWIG_fail;
4987 }
4988 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4989 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4990 arg3 = (int)SWIG_As_int(obj2);
4991 if (PyErr_Occurred()) SWIG_fail;
4992 if (obj3) {
4993 {
4994 arg4 = &temp4;
4995 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4996 }
4997 }
4998 if (obj4) {
4999 {
5000 arg5 = &temp5;
5001 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5002 }
5003 }
5004 if (obj5) {
5005 arg6 = (long)SWIG_As_long(obj5);
5006 if (PyErr_Occurred()) SWIG_fail;
5007 }
5008 {
5009 if (!wxPyCheckForApp()) SWIG_fail;
5010 PyThreadState* __tstate = wxPyBeginAllowThreads();
5011 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
5012
5013 wxPyEndAllowThreads(__tstate);
5014 if (PyErr_Occurred()) SWIG_fail;
5015 }
5016 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 1);
5017 return resultobj;
5018 fail:
5019 return NULL;
5020 }
5021
5022
5023 static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
5024 PyObject *resultobj;
5025 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
5026 wxBitmap *arg2 = 0 ;
5027 PyObject * obj0 = 0 ;
5028 PyObject * obj1 = 0 ;
5029 char *kwnames[] = {
5030 (char *) "self",(char *) "bitmap", NULL
5031 };
5032
5033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
5034 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow,
5035 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5036 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
5037 SWIG_POINTER_EXCEPTION | 0)) == -1)
5038 SWIG_fail;
5039 if (arg2 == NULL) {
5040 PyErr_SetString(PyExc_TypeError,"null reference");
5041 SWIG_fail;
5042 }
5043 {
5044 PyThreadState* __tstate = wxPyBeginAllowThreads();
5045 (arg1)->SetBitmap((wxBitmap const &)*arg2);
5046
5047 wxPyEndAllowThreads(__tstate);
5048 if (PyErr_Occurred()) SWIG_fail;
5049 }
5050 Py_INCREF(Py_None); resultobj = Py_None;
5051 return resultobj;
5052 fail:
5053 return NULL;
5054 }
5055
5056
5057 static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
5058 PyObject *resultobj;
5059 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
5060 wxBitmap *result;
5061 PyObject * obj0 = 0 ;
5062 char *kwnames[] = {
5063 (char *) "self", NULL
5064 };
5065
5066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail;
5067 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow,
5068 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5069 {
5070 PyThreadState* __tstate = wxPyBeginAllowThreads();
5071 {
5072 wxBitmap &_result_ref = (arg1)->GetBitmap();
5073 result = (wxBitmap *) &_result_ref;
5074 }
5075
5076 wxPyEndAllowThreads(__tstate);
5077 if (PyErr_Occurred()) SWIG_fail;
5078 }
5079 {
5080 wxBitmap* resultptr = new wxBitmap(*result);
5081 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
5082 }
5083 return resultobj;
5084 fail:
5085 return NULL;
5086 }
5087
5088
5089 static PyObject * SplashScreenWindow_swigregister(PyObject *, PyObject *args) {
5090 PyObject *obj;
5091 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5092 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj);
5093 Py_INCREF(obj);
5094 return Py_BuildValue((char *)"");
5095 }
5096 static PyObject *_wrap_new_SplashScreen(PyObject *, PyObject *args, PyObject *kwargs) {
5097 PyObject *resultobj;
5098 wxBitmap *arg1 = 0 ;
5099 long arg2 ;
5100 int arg3 ;
5101 wxWindow *arg4 = (wxWindow *) 0 ;
5102 int arg5 = (int) -1 ;
5103 wxPoint const &arg6_defvalue = wxDefaultPosition ;
5104 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
5105 wxSize const &arg7_defvalue = wxDefaultSize ;
5106 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
5107 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
5108 wxSplashScreen *result;
5109 wxPoint temp6 ;
5110 wxSize temp7 ;
5111 PyObject * obj0 = 0 ;
5112 PyObject * obj1 = 0 ;
5113 PyObject * obj2 = 0 ;
5114 PyObject * obj3 = 0 ;
5115 PyObject * obj4 = 0 ;
5116 PyObject * obj5 = 0 ;
5117 PyObject * obj6 = 0 ;
5118 PyObject * obj7 = 0 ;
5119 char *kwnames[] = {
5120 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
5121 };
5122
5123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
5124 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
5125 SWIG_POINTER_EXCEPTION | 0)) == -1)
5126 SWIG_fail;
5127 if (arg1 == NULL) {
5128 PyErr_SetString(PyExc_TypeError,"null reference");
5129 SWIG_fail;
5130 }
5131 arg2 = (long)SWIG_As_long(obj1);
5132 if (PyErr_Occurred()) SWIG_fail;
5133 arg3 = (int)SWIG_As_int(obj2);
5134 if (PyErr_Occurred()) SWIG_fail;
5135 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
5136 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5137 if (obj4) {
5138 arg5 = (int)SWIG_As_int(obj4);
5139 if (PyErr_Occurred()) SWIG_fail;
5140 }
5141 if (obj5) {
5142 {
5143 arg6 = &temp6;
5144 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
5145 }
5146 }
5147 if (obj6) {
5148 {
5149 arg7 = &temp7;
5150 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
5151 }
5152 }
5153 if (obj7) {
5154 arg8 = (long)SWIG_As_long(obj7);
5155 if (PyErr_Occurred()) SWIG_fail;
5156 }
5157 {
5158 if (!wxPyCheckForApp()) SWIG_fail;
5159 PyThreadState* __tstate = wxPyBeginAllowThreads();
5160 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
5161
5162 wxPyEndAllowThreads(__tstate);
5163 if (PyErr_Occurred()) SWIG_fail;
5164 }
5165 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreen, 1);
5166 return resultobj;
5167 fail:
5168 return NULL;
5169 }
5170
5171
5172 static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *, PyObject *args, PyObject *kwargs) {
5173 PyObject *resultobj;
5174 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
5175 long result;
5176 PyObject * obj0 = 0 ;
5177 char *kwnames[] = {
5178 (char *) "self", NULL
5179 };
5180
5181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail;
5182 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
5183 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5184 {
5185 PyThreadState* __tstate = wxPyBeginAllowThreads();
5186 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
5187
5188 wxPyEndAllowThreads(__tstate);
5189 if (PyErr_Occurred()) SWIG_fail;
5190 }
5191 resultobj = SWIG_From_long((long)result);
5192 return resultobj;
5193 fail:
5194 return NULL;
5195 }
5196
5197
5198 static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
5199 PyObject *resultobj;
5200 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
5201 wxSplashScreenWindow *result;
5202 PyObject * obj0 = 0 ;
5203 char *kwnames[] = {
5204 (char *) "self", NULL
5205 };
5206
5207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail;
5208 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
5209 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5210 {
5211 PyThreadState* __tstate = wxPyBeginAllowThreads();
5212 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
5213
5214 wxPyEndAllowThreads(__tstate);
5215 if (PyErr_Occurred()) SWIG_fail;
5216 }
5217 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 0);
5218 return resultobj;
5219 fail:
5220 return NULL;
5221 }
5222
5223
5224 static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *, PyObject *args, PyObject *kwargs) {
5225 PyObject *resultobj;
5226 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
5227 int result;
5228 PyObject * obj0 = 0 ;
5229 char *kwnames[] = {
5230 (char *) "self", NULL
5231 };
5232
5233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail;
5234 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
5235 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5236 {
5237 PyThreadState* __tstate = wxPyBeginAllowThreads();
5238 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
5239
5240 wxPyEndAllowThreads(__tstate);
5241 if (PyErr_Occurred()) SWIG_fail;
5242 }
5243 resultobj = SWIG_From_int((int)result);
5244 return resultobj;
5245 fail:
5246 return NULL;
5247 }
5248
5249
5250 static PyObject * SplashScreen_swigregister(PyObject *, PyObject *args) {
5251 PyObject *obj;
5252 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5253 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj);
5254 Py_INCREF(obj);
5255 return Py_BuildValue((char *)"");
5256 }
5257 static PyObject *_wrap_new_StatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
5258 PyObject *resultobj;
5259 wxWindow *arg1 = (wxWindow *) 0 ;
5260 int arg2 = (int) -1 ;
5261 long arg3 = (long) wxST_SIZEGRIP ;
5262 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
5263 wxString *arg4 = (wxString *) &arg4_defvalue ;
5264 wxStatusBar *result;
5265 bool temp4 = False ;
5266 PyObject * obj0 = 0 ;
5267 PyObject * obj1 = 0 ;
5268 PyObject * obj2 = 0 ;
5269 PyObject * obj3 = 0 ;
5270 char *kwnames[] = {
5271 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5272 };
5273
5274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5275 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5276 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5277 if (obj1) {
5278 arg2 = (int)SWIG_As_int(obj1);
5279 if (PyErr_Occurred()) SWIG_fail;
5280 }
5281 if (obj2) {
5282 arg3 = (long)SWIG_As_long(obj2);
5283 if (PyErr_Occurred()) SWIG_fail;
5284 }
5285 if (obj3) {
5286 {
5287 arg4 = wxString_in_helper(obj3);
5288 if (arg4 == NULL) SWIG_fail;
5289 temp4 = True;
5290 }
5291 }
5292 {
5293 if (!wxPyCheckForApp()) SWIG_fail;
5294 PyThreadState* __tstate = wxPyBeginAllowThreads();
5295 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
5296
5297 wxPyEndAllowThreads(__tstate);
5298 if (PyErr_Occurred()) SWIG_fail;
5299 }
5300 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStatusBar, 1);
5301 {
5302 if (temp4)
5303 delete arg4;
5304 }
5305 return resultobj;
5306 fail:
5307 {
5308 if (temp4)
5309 delete arg4;
5310 }
5311 return NULL;
5312 }
5313
5314
5315 static PyObject *_wrap_new_PreStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
5316 PyObject *resultobj;
5317 wxStatusBar *result;
5318 char *kwnames[] = {
5319 NULL
5320 };
5321
5322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail;
5323 {
5324 if (!wxPyCheckForApp()) SWIG_fail;
5325 PyThreadState* __tstate = wxPyBeginAllowThreads();
5326 result = (wxStatusBar *)new wxStatusBar();
5327
5328 wxPyEndAllowThreads(__tstate);
5329 if (PyErr_Occurred()) SWIG_fail;
5330 }
5331 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStatusBar, 1);
5332 return resultobj;
5333 fail:
5334 return NULL;
5335 }
5336
5337
5338 static PyObject *_wrap_StatusBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
5339 PyObject *resultobj;
5340 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5341 wxWindow *arg2 = (wxWindow *) 0 ;
5342 int arg3 = (int) -1 ;
5343 long arg4 = (long) wxST_SIZEGRIP ;
5344 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
5345 wxString *arg5 = (wxString *) &arg5_defvalue ;
5346 bool result;
5347 bool temp5 = False ;
5348 PyObject * obj0 = 0 ;
5349 PyObject * obj1 = 0 ;
5350 PyObject * obj2 = 0 ;
5351 PyObject * obj3 = 0 ;
5352 PyObject * obj4 = 0 ;
5353 char *kwnames[] = {
5354 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5355 };
5356
5357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
5358 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5359 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5360 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5361 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5362 if (obj2) {
5363 arg3 = (int)SWIG_As_int(obj2);
5364 if (PyErr_Occurred()) SWIG_fail;
5365 }
5366 if (obj3) {
5367 arg4 = (long)SWIG_As_long(obj3);
5368 if (PyErr_Occurred()) SWIG_fail;
5369 }
5370 if (obj4) {
5371 {
5372 arg5 = wxString_in_helper(obj4);
5373 if (arg5 == NULL) SWIG_fail;
5374 temp5 = True;
5375 }
5376 }
5377 {
5378 PyThreadState* __tstate = wxPyBeginAllowThreads();
5379 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
5380
5381 wxPyEndAllowThreads(__tstate);
5382 if (PyErr_Occurred()) SWIG_fail;
5383 }
5384 {
5385 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5386 }
5387 {
5388 if (temp5)
5389 delete arg5;
5390 }
5391 return resultobj;
5392 fail:
5393 {
5394 if (temp5)
5395 delete arg5;
5396 }
5397 return NULL;
5398 }
5399
5400
5401 static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *, PyObject *args, PyObject *kwargs) {
5402 PyObject *resultobj;
5403 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5404 int arg2 = (int) 1 ;
5405 PyObject * obj0 = 0 ;
5406 PyObject * obj1 = 0 ;
5407 char *kwnames[] = {
5408 (char *) "self",(char *) "number", NULL
5409 };
5410
5411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) goto fail;
5412 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
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 {
5419 PyThreadState* __tstate = wxPyBeginAllowThreads();
5420 (arg1)->SetFieldsCount(arg2);
5421
5422 wxPyEndAllowThreads(__tstate);
5423 if (PyErr_Occurred()) SWIG_fail;
5424 }
5425 Py_INCREF(Py_None); resultobj = Py_None;
5426 return resultobj;
5427 fail:
5428 return NULL;
5429 }
5430
5431
5432 static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *, PyObject *args, PyObject *kwargs) {
5433 PyObject *resultobj;
5434 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5435 int result;
5436 PyObject * obj0 = 0 ;
5437 char *kwnames[] = {
5438 (char *) "self", NULL
5439 };
5440
5441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail;
5442 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5443 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5444 {
5445 PyThreadState* __tstate = wxPyBeginAllowThreads();
5446 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
5447
5448 wxPyEndAllowThreads(__tstate);
5449 if (PyErr_Occurred()) SWIG_fail;
5450 }
5451 resultobj = SWIG_From_int((int)result);
5452 return resultobj;
5453 fail:
5454 return NULL;
5455 }
5456
5457
5458 static PyObject *_wrap_StatusBar_SetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
5459 PyObject *resultobj;
5460 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5461 wxString *arg2 = 0 ;
5462 int arg3 = (int) 0 ;
5463 bool temp2 = False ;
5464 PyObject * obj0 = 0 ;
5465 PyObject * obj1 = 0 ;
5466 PyObject * obj2 = 0 ;
5467 char *kwnames[] = {
5468 (char *) "self",(char *) "text",(char *) "number", NULL
5469 };
5470
5471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5472 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5473 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5474 {
5475 arg2 = wxString_in_helper(obj1);
5476 if (arg2 == NULL) SWIG_fail;
5477 temp2 = True;
5478 }
5479 if (obj2) {
5480 arg3 = (int)SWIG_As_int(obj2);
5481 if (PyErr_Occurred()) SWIG_fail;
5482 }
5483 {
5484 PyThreadState* __tstate = wxPyBeginAllowThreads();
5485 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
5486
5487 wxPyEndAllowThreads(__tstate);
5488 if (PyErr_Occurred()) SWIG_fail;
5489 }
5490 Py_INCREF(Py_None); resultobj = Py_None;
5491 {
5492 if (temp2)
5493 delete arg2;
5494 }
5495 return resultobj;
5496 fail:
5497 {
5498 if (temp2)
5499 delete arg2;
5500 }
5501 return NULL;
5502 }
5503
5504
5505 static PyObject *_wrap_StatusBar_GetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
5506 PyObject *resultobj;
5507 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5508 int arg2 = (int) 0 ;
5509 wxString result;
5510 PyObject * obj0 = 0 ;
5511 PyObject * obj1 = 0 ;
5512 char *kwnames[] = {
5513 (char *) "self",(char *) "number", NULL
5514 };
5515
5516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) goto fail;
5517 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5518 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5519 if (obj1) {
5520 arg2 = (int)SWIG_As_int(obj1);
5521 if (PyErr_Occurred()) SWIG_fail;
5522 }
5523 {
5524 PyThreadState* __tstate = wxPyBeginAllowThreads();
5525 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
5526
5527 wxPyEndAllowThreads(__tstate);
5528 if (PyErr_Occurred()) SWIG_fail;
5529 }
5530 {
5531 #if wxUSE_UNICODE
5532 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5533 #else
5534 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5535 #endif
5536 }
5537 return resultobj;
5538 fail:
5539 return NULL;
5540 }
5541
5542
5543 static PyObject *_wrap_StatusBar_PushStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
5544 PyObject *resultobj;
5545 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5546 wxString *arg2 = 0 ;
5547 int arg3 = (int) 0 ;
5548 bool temp2 = False ;
5549 PyObject * obj0 = 0 ;
5550 PyObject * obj1 = 0 ;
5551 PyObject * obj2 = 0 ;
5552 char *kwnames[] = {
5553 (char *) "self",(char *) "text",(char *) "number", NULL
5554 };
5555
5556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5557 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5558 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5559 {
5560 arg2 = wxString_in_helper(obj1);
5561 if (arg2 == NULL) SWIG_fail;
5562 temp2 = True;
5563 }
5564 if (obj2) {
5565 arg3 = (int)SWIG_As_int(obj2);
5566 if (PyErr_Occurred()) SWIG_fail;
5567 }
5568 {
5569 PyThreadState* __tstate = wxPyBeginAllowThreads();
5570 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
5571
5572 wxPyEndAllowThreads(__tstate);
5573 if (PyErr_Occurred()) SWIG_fail;
5574 }
5575 Py_INCREF(Py_None); resultobj = Py_None;
5576 {
5577 if (temp2)
5578 delete arg2;
5579 }
5580 return resultobj;
5581 fail:
5582 {
5583 if (temp2)
5584 delete arg2;
5585 }
5586 return NULL;
5587 }
5588
5589
5590 static PyObject *_wrap_StatusBar_PopStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
5591 PyObject *resultobj;
5592 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5593 int arg2 = (int) 0 ;
5594 PyObject * obj0 = 0 ;
5595 PyObject * obj1 = 0 ;
5596 char *kwnames[] = {
5597 (char *) "self",(char *) "number", NULL
5598 };
5599
5600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
5601 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5602 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5603 if (obj1) {
5604 arg2 = (int)SWIG_As_int(obj1);
5605 if (PyErr_Occurred()) SWIG_fail;
5606 }
5607 {
5608 PyThreadState* __tstate = wxPyBeginAllowThreads();
5609 (arg1)->PopStatusText(arg2);
5610
5611 wxPyEndAllowThreads(__tstate);
5612 if (PyErr_Occurred()) SWIG_fail;
5613 }
5614 Py_INCREF(Py_None); resultobj = Py_None;
5615 return resultobj;
5616 fail:
5617 return NULL;
5618 }
5619
5620
5621 static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *, PyObject *args, PyObject *kwargs) {
5622 PyObject *resultobj;
5623 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5624 int arg2 ;
5625 int *arg3 = (int *) 0 ;
5626 PyObject * obj0 = 0 ;
5627 PyObject * obj1 = 0 ;
5628 char *kwnames[] = {
5629 (char *) "self",(char *) "widths", NULL
5630 };
5631
5632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
5633 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5634 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5635 {
5636 arg2 = PyList_Size(obj1);
5637 arg3 = int_LIST_helper(obj1);
5638 if (arg3 == NULL) SWIG_fail;
5639 }
5640 {
5641 PyThreadState* __tstate = wxPyBeginAllowThreads();
5642 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
5643
5644 wxPyEndAllowThreads(__tstate);
5645 if (PyErr_Occurred()) SWIG_fail;
5646 }
5647 Py_INCREF(Py_None); resultobj = Py_None;
5648 {
5649 if (arg3) delete [] arg3;
5650 }
5651 return resultobj;
5652 fail:
5653 {
5654 if (arg3) delete [] arg3;
5655 }
5656 return NULL;
5657 }
5658
5659
5660 static PyObject *_wrap_StatusBar_SetStatusStyles(PyObject *, PyObject *args, PyObject *kwargs) {
5661 PyObject *resultobj;
5662 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5663 int arg2 ;
5664 int *arg3 = (int *) 0 ;
5665 PyObject * obj0 = 0 ;
5666 PyObject * obj1 = 0 ;
5667 char *kwnames[] = {
5668 (char *) "self",(char *) "styles", NULL
5669 };
5670
5671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusStyles",kwnames,&obj0,&obj1)) goto fail;
5672 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5673 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5674 {
5675 arg2 = PyList_Size(obj1);
5676 arg3 = int_LIST_helper(obj1);
5677 if (arg3 == NULL) SWIG_fail;
5678 }
5679 {
5680 PyThreadState* __tstate = wxPyBeginAllowThreads();
5681 (arg1)->SetStatusStyles(arg2,(int const *)arg3);
5682
5683 wxPyEndAllowThreads(__tstate);
5684 if (PyErr_Occurred()) SWIG_fail;
5685 }
5686 Py_INCREF(Py_None); resultobj = Py_None;
5687 {
5688 if (arg3) delete [] arg3;
5689 }
5690 return resultobj;
5691 fail:
5692 {
5693 if (arg3) delete [] arg3;
5694 }
5695 return NULL;
5696 }
5697
5698
5699 static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *, PyObject *args, PyObject *kwargs) {
5700 PyObject *resultobj;
5701 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5702 int arg2 ;
5703 wxRect result;
5704 PyObject * obj0 = 0 ;
5705 PyObject * obj1 = 0 ;
5706 char *kwnames[] = {
5707 (char *) "self",(char *) "i", NULL
5708 };
5709
5710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) goto fail;
5711 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5712 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5713 arg2 = (int)SWIG_As_int(obj1);
5714 if (PyErr_Occurred()) SWIG_fail;
5715 {
5716 PyThreadState* __tstate = wxPyBeginAllowThreads();
5717 result = wxStatusBar_GetFieldRect(arg1,arg2);
5718
5719 wxPyEndAllowThreads(__tstate);
5720 if (PyErr_Occurred()) SWIG_fail;
5721 }
5722 {
5723 wxRect * resultptr;
5724 resultptr = new wxRect((wxRect &) result);
5725 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
5726 }
5727 return resultobj;
5728 fail:
5729 return NULL;
5730 }
5731
5732
5733 static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *, PyObject *args, PyObject *kwargs) {
5734 PyObject *resultobj;
5735 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5736 int arg2 ;
5737 PyObject * obj0 = 0 ;
5738 PyObject * obj1 = 0 ;
5739 char *kwnames[] = {
5740 (char *) "self",(char *) "height", NULL
5741 };
5742
5743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) goto fail;
5744 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5745 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5746 arg2 = (int)SWIG_As_int(obj1);
5747 if (PyErr_Occurred()) SWIG_fail;
5748 {
5749 PyThreadState* __tstate = wxPyBeginAllowThreads();
5750 (arg1)->SetMinHeight(arg2);
5751
5752 wxPyEndAllowThreads(__tstate);
5753 if (PyErr_Occurred()) SWIG_fail;
5754 }
5755 Py_INCREF(Py_None); resultobj = Py_None;
5756 return resultobj;
5757 fail:
5758 return NULL;
5759 }
5760
5761
5762 static PyObject *_wrap_StatusBar_GetBorderX(PyObject *, PyObject *args, PyObject *kwargs) {
5763 PyObject *resultobj;
5764 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5765 int result;
5766 PyObject * obj0 = 0 ;
5767 char *kwnames[] = {
5768 (char *) "self", NULL
5769 };
5770
5771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail;
5772 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5773 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5774 {
5775 PyThreadState* __tstate = wxPyBeginAllowThreads();
5776 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
5777
5778 wxPyEndAllowThreads(__tstate);
5779 if (PyErr_Occurred()) SWIG_fail;
5780 }
5781 resultobj = SWIG_From_int((int)result);
5782 return resultobj;
5783 fail:
5784 return NULL;
5785 }
5786
5787
5788 static PyObject *_wrap_StatusBar_GetBorderY(PyObject *, PyObject *args, PyObject *kwargs) {
5789 PyObject *resultobj;
5790 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5791 int result;
5792 PyObject * obj0 = 0 ;
5793 char *kwnames[] = {
5794 (char *) "self", NULL
5795 };
5796
5797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail;
5798 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5799 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5800 {
5801 PyThreadState* __tstate = wxPyBeginAllowThreads();
5802 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
5803
5804 wxPyEndAllowThreads(__tstate);
5805 if (PyErr_Occurred()) SWIG_fail;
5806 }
5807 resultobj = SWIG_From_int((int)result);
5808 return resultobj;
5809 fail:
5810 return NULL;
5811 }
5812
5813
5814 static PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
5815 PyObject *resultobj;
5816 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
5817 wxVisualAttributes result;
5818 PyObject * obj0 = 0 ;
5819 char *kwnames[] = {
5820 (char *) "variant", NULL
5821 };
5822
5823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5824 if (obj0) {
5825 arg1 = (int)SWIG_As_int(obj0);
5826 if (PyErr_Occurred()) SWIG_fail;
5827 }
5828 {
5829 if (!wxPyCheckForApp()) SWIG_fail;
5830 PyThreadState* __tstate = wxPyBeginAllowThreads();
5831 result = wxStatusBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
5832
5833 wxPyEndAllowThreads(__tstate);
5834 if (PyErr_Occurred()) SWIG_fail;
5835 }
5836 {
5837 wxVisualAttributes * resultptr;
5838 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
5839 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5840 }
5841 return resultobj;
5842 fail:
5843 return NULL;
5844 }
5845
5846
5847 static PyObject * StatusBar_swigregister(PyObject *, PyObject *args) {
5848 PyObject *obj;
5849 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5850 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj);
5851 Py_INCREF(obj);
5852 return Py_BuildValue((char *)"");
5853 }
5854 static int _wrap_SplitterNameStr_set(PyObject *) {
5855 PyErr_SetString(PyExc_TypeError,"Variable SplitterNameStr is read-only.");
5856 return 1;
5857 }
5858
5859
5860 static PyObject *_wrap_SplitterNameStr_get() {
5861 PyObject *pyobj;
5862
5863 {
5864 #if wxUSE_UNICODE
5865 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
5866 #else
5867 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
5868 #endif
5869 }
5870 return pyobj;
5871 }
5872
5873
5874 static PyObject *_wrap_new_SplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) {
5875 PyObject *resultobj;
5876 wxWindow *arg1 = (wxWindow *) 0 ;
5877 int arg2 = (int) -1 ;
5878 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5879 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5880 wxSize const &arg4_defvalue = wxDefaultSize ;
5881 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5882 long arg5 = (long) wxSP_3D ;
5883 wxString const &arg6_defvalue = wxPySplitterNameStr ;
5884 wxString *arg6 = (wxString *) &arg6_defvalue ;
5885 wxSplitterWindow *result;
5886 wxPoint temp3 ;
5887 wxSize temp4 ;
5888 bool temp6 = False ;
5889 PyObject * obj0 = 0 ;
5890 PyObject * obj1 = 0 ;
5891 PyObject * obj2 = 0 ;
5892 PyObject * obj3 = 0 ;
5893 PyObject * obj4 = 0 ;
5894 PyObject * obj5 = 0 ;
5895 char *kwnames[] = {
5896 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5897 };
5898
5899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
5900 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5901 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5902 if (obj1) {
5903 arg2 = (int)SWIG_As_int(obj1);
5904 if (PyErr_Occurred()) SWIG_fail;
5905 }
5906 if (obj2) {
5907 {
5908 arg3 = &temp3;
5909 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5910 }
5911 }
5912 if (obj3) {
5913 {
5914 arg4 = &temp4;
5915 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5916 }
5917 }
5918 if (obj4) {
5919 arg5 = (long)SWIG_As_long(obj4);
5920 if (PyErr_Occurred()) SWIG_fail;
5921 }
5922 if (obj5) {
5923 {
5924 arg6 = wxString_in_helper(obj5);
5925 if (arg6 == NULL) SWIG_fail;
5926 temp6 = True;
5927 }
5928 }
5929 {
5930 if (!wxPyCheckForApp()) SWIG_fail;
5931 PyThreadState* __tstate = wxPyBeginAllowThreads();
5932 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
5933
5934 wxPyEndAllowThreads(__tstate);
5935 if (PyErr_Occurred()) SWIG_fail;
5936 }
5937 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
5938 {
5939 if (temp6)
5940 delete arg6;
5941 }
5942 return resultobj;
5943 fail:
5944 {
5945 if (temp6)
5946 delete arg6;
5947 }
5948 return NULL;
5949 }
5950
5951
5952 static PyObject *_wrap_new_PreSplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) {
5953 PyObject *resultobj;
5954 wxSplitterWindow *result;
5955 char *kwnames[] = {
5956 NULL
5957 };
5958
5959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail;
5960 {
5961 if (!wxPyCheckForApp()) SWIG_fail;
5962 PyThreadState* __tstate = wxPyBeginAllowThreads();
5963 result = (wxSplitterWindow *)new wxSplitterWindow();
5964
5965 wxPyEndAllowThreads(__tstate);
5966 if (PyErr_Occurred()) SWIG_fail;
5967 }
5968 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
5969 return resultobj;
5970 fail:
5971 return NULL;
5972 }
5973
5974
5975 static PyObject *_wrap_SplitterWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
5976 PyObject *resultobj;
5977 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5978 wxWindow *arg2 = (wxWindow *) 0 ;
5979 int arg3 = (int) -1 ;
5980 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5981 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5982 wxSize const &arg5_defvalue = wxDefaultSize ;
5983 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5984 long arg6 = (long) wxSP_3D ;
5985 wxString const &arg7_defvalue = wxPySplitterNameStr ;
5986 wxString *arg7 = (wxString *) &arg7_defvalue ;
5987 bool result;
5988 wxPoint temp4 ;
5989 wxSize temp5 ;
5990 bool temp7 = False ;
5991 PyObject * obj0 = 0 ;
5992 PyObject * obj1 = 0 ;
5993 PyObject * obj2 = 0 ;
5994 PyObject * obj3 = 0 ;
5995 PyObject * obj4 = 0 ;
5996 PyObject * obj5 = 0 ;
5997 PyObject * obj6 = 0 ;
5998 char *kwnames[] = {
5999 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6000 };
6001
6002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
6003 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6004 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6005 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6006 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6007 if (obj2) {
6008 arg3 = (int)SWIG_As_int(obj2);
6009 if (PyErr_Occurred()) SWIG_fail;
6010 }
6011 if (obj3) {
6012 {
6013 arg4 = &temp4;
6014 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6015 }
6016 }
6017 if (obj4) {
6018 {
6019 arg5 = &temp5;
6020 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6021 }
6022 }
6023 if (obj5) {
6024 arg6 = (long)SWIG_As_long(obj5);
6025 if (PyErr_Occurred()) SWIG_fail;
6026 }
6027 if (obj6) {
6028 {
6029 arg7 = wxString_in_helper(obj6);
6030 if (arg7 == NULL) SWIG_fail;
6031 temp7 = True;
6032 }
6033 }
6034 {
6035 PyThreadState* __tstate = wxPyBeginAllowThreads();
6036 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6037
6038 wxPyEndAllowThreads(__tstate);
6039 if (PyErr_Occurred()) SWIG_fail;
6040 }
6041 {
6042 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6043 }
6044 {
6045 if (temp7)
6046 delete arg7;
6047 }
6048 return resultobj;
6049 fail:
6050 {
6051 if (temp7)
6052 delete arg7;
6053 }
6054 return NULL;
6055 }
6056
6057
6058 static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *, PyObject *args, PyObject *kwargs) {
6059 PyObject *resultobj;
6060 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6061 wxWindow *result;
6062 PyObject * obj0 = 0 ;
6063 char *kwnames[] = {
6064 (char *) "self", NULL
6065 };
6066
6067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail;
6068 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6069 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6070 {
6071 PyThreadState* __tstate = wxPyBeginAllowThreads();
6072 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
6073
6074 wxPyEndAllowThreads(__tstate);
6075 if (PyErr_Occurred()) SWIG_fail;
6076 }
6077 {
6078 resultobj = wxPyMake_wxObject(result, 0);
6079 }
6080 return resultobj;
6081 fail:
6082 return NULL;
6083 }
6084
6085
6086 static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *, PyObject *args, PyObject *kwargs) {
6087 PyObject *resultobj;
6088 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6089 wxWindow *result;
6090 PyObject * obj0 = 0 ;
6091 char *kwnames[] = {
6092 (char *) "self", NULL
6093 };
6094
6095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail;
6096 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6097 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6098 {
6099 PyThreadState* __tstate = wxPyBeginAllowThreads();
6100 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
6101
6102 wxPyEndAllowThreads(__tstate);
6103 if (PyErr_Occurred()) SWIG_fail;
6104 }
6105 {
6106 resultobj = wxPyMake_wxObject(result, 0);
6107 }
6108 return resultobj;
6109 fail:
6110 return NULL;
6111 }
6112
6113
6114 static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *, PyObject *args, PyObject *kwargs) {
6115 PyObject *resultobj;
6116 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6117 int arg2 ;
6118 PyObject * obj0 = 0 ;
6119 PyObject * obj1 = 0 ;
6120 char *kwnames[] = {
6121 (char *) "self",(char *) "mode", NULL
6122 };
6123
6124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) goto fail;
6125 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6126 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6127 arg2 = (int)SWIG_As_int(obj1);
6128 if (PyErr_Occurred()) SWIG_fail;
6129 {
6130 PyThreadState* __tstate = wxPyBeginAllowThreads();
6131 (arg1)->SetSplitMode(arg2);
6132
6133 wxPyEndAllowThreads(__tstate);
6134 if (PyErr_Occurred()) SWIG_fail;
6135 }
6136 Py_INCREF(Py_None); resultobj = Py_None;
6137 return resultobj;
6138 fail:
6139 return NULL;
6140 }
6141
6142
6143 static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *, PyObject *args, PyObject *kwargs) {
6144 PyObject *resultobj;
6145 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6146 int result;
6147 PyObject * obj0 = 0 ;
6148 char *kwnames[] = {
6149 (char *) "self", NULL
6150 };
6151
6152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail;
6153 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6154 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6155 {
6156 PyThreadState* __tstate = wxPyBeginAllowThreads();
6157 result = (int)((wxSplitterWindow const *)arg1)->GetSplitMode();
6158
6159 wxPyEndAllowThreads(__tstate);
6160 if (PyErr_Occurred()) SWIG_fail;
6161 }
6162 resultobj = SWIG_From_int((int)result);
6163 return resultobj;
6164 fail:
6165 return NULL;
6166 }
6167
6168
6169 static PyObject *_wrap_SplitterWindow_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
6170 PyObject *resultobj;
6171 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6172 wxWindow *arg2 = (wxWindow *) 0 ;
6173 PyObject * obj0 = 0 ;
6174 PyObject * obj1 = 0 ;
6175 char *kwnames[] = {
6176 (char *) "self",(char *) "window", NULL
6177 };
6178
6179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail;
6180 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6181 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6182 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6183 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6184 {
6185 PyThreadState* __tstate = wxPyBeginAllowThreads();
6186 (arg1)->Initialize(arg2);
6187
6188 wxPyEndAllowThreads(__tstate);
6189 if (PyErr_Occurred()) SWIG_fail;
6190 }
6191 Py_INCREF(Py_None); resultobj = Py_None;
6192 return resultobj;
6193 fail:
6194 return NULL;
6195 }
6196
6197
6198 static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *, PyObject *args, PyObject *kwargs) {
6199 PyObject *resultobj;
6200 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6201 wxWindow *arg2 = (wxWindow *) 0 ;
6202 wxWindow *arg3 = (wxWindow *) 0 ;
6203 int arg4 = (int) 0 ;
6204 bool result;
6205 PyObject * obj0 = 0 ;
6206 PyObject * obj1 = 0 ;
6207 PyObject * obj2 = 0 ;
6208 PyObject * obj3 = 0 ;
6209 char *kwnames[] = {
6210 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
6211 };
6212
6213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6214 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6215 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6216 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6217 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6218 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
6219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6220 if (obj3) {
6221 arg4 = (int)SWIG_As_int(obj3);
6222 if (PyErr_Occurred()) SWIG_fail;
6223 }
6224 {
6225 PyThreadState* __tstate = wxPyBeginAllowThreads();
6226 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
6227
6228 wxPyEndAllowThreads(__tstate);
6229 if (PyErr_Occurred()) SWIG_fail;
6230 }
6231 {
6232 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6233 }
6234 return resultobj;
6235 fail:
6236 return NULL;
6237 }
6238
6239
6240 static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *, PyObject *args, PyObject *kwargs) {
6241 PyObject *resultobj;
6242 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6243 wxWindow *arg2 = (wxWindow *) 0 ;
6244 wxWindow *arg3 = (wxWindow *) 0 ;
6245 int arg4 = (int) 0 ;
6246 bool result;
6247 PyObject * obj0 = 0 ;
6248 PyObject * obj1 = 0 ;
6249 PyObject * obj2 = 0 ;
6250 PyObject * obj3 = 0 ;
6251 char *kwnames[] = {
6252 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
6253 };
6254
6255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6256 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6257 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6258 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6259 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6260 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
6261 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6262 if (obj3) {
6263 arg4 = (int)SWIG_As_int(obj3);
6264 if (PyErr_Occurred()) SWIG_fail;
6265 }
6266 {
6267 PyThreadState* __tstate = wxPyBeginAllowThreads();
6268 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
6269
6270 wxPyEndAllowThreads(__tstate);
6271 if (PyErr_Occurred()) SWIG_fail;
6272 }
6273 {
6274 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6275 }
6276 return resultobj;
6277 fail:
6278 return NULL;
6279 }
6280
6281
6282 static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *, PyObject *args, PyObject *kwargs) {
6283 PyObject *resultobj;
6284 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6285 wxWindow *arg2 = (wxWindow *) NULL ;
6286 bool result;
6287 PyObject * obj0 = 0 ;
6288 PyObject * obj1 = 0 ;
6289 char *kwnames[] = {
6290 (char *) "self",(char *) "toRemove", NULL
6291 };
6292
6293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail;
6294 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6295 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6296 if (obj1) {
6297 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6299 }
6300 {
6301 PyThreadState* __tstate = wxPyBeginAllowThreads();
6302 result = (bool)(arg1)->Unsplit(arg2);
6303
6304 wxPyEndAllowThreads(__tstate);
6305 if (PyErr_Occurred()) SWIG_fail;
6306 }
6307 {
6308 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6309 }
6310 return resultobj;
6311 fail:
6312 return NULL;
6313 }
6314
6315
6316 static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *, PyObject *args, PyObject *kwargs) {
6317 PyObject *resultobj;
6318 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6319 wxWindow *arg2 = (wxWindow *) 0 ;
6320 wxWindow *arg3 = (wxWindow *) 0 ;
6321 bool result;
6322 PyObject * obj0 = 0 ;
6323 PyObject * obj1 = 0 ;
6324 PyObject * obj2 = 0 ;
6325 char *kwnames[] = {
6326 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
6327 };
6328
6329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
6330 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6331 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6332 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6333 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6334 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
6335 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6336 {
6337 PyThreadState* __tstate = wxPyBeginAllowThreads();
6338 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
6339
6340 wxPyEndAllowThreads(__tstate);
6341 if (PyErr_Occurred()) SWIG_fail;
6342 }
6343 {
6344 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6345 }
6346 return resultobj;
6347 fail:
6348 return NULL;
6349 }
6350
6351
6352 static PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *, PyObject *args, PyObject *kwargs) {
6353 PyObject *resultobj;
6354 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6355 PyObject * obj0 = 0 ;
6356 char *kwnames[] = {
6357 (char *) "self", NULL
6358 };
6359
6360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_UpdateSize",kwnames,&obj0)) goto fail;
6361 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6362 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6363 {
6364 PyThreadState* __tstate = wxPyBeginAllowThreads();
6365 (arg1)->UpdateSize();
6366
6367 wxPyEndAllowThreads(__tstate);
6368 if (PyErr_Occurred()) SWIG_fail;
6369 }
6370 Py_INCREF(Py_None); resultobj = Py_None;
6371 return resultobj;
6372 fail:
6373 return NULL;
6374 }
6375
6376
6377 static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *, PyObject *args, PyObject *kwargs) {
6378 PyObject *resultobj;
6379 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6380 bool result;
6381 PyObject * obj0 = 0 ;
6382 char *kwnames[] = {
6383 (char *) "self", NULL
6384 };
6385
6386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail;
6387 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6388 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6389 {
6390 PyThreadState* __tstate = wxPyBeginAllowThreads();
6391 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
6392
6393 wxPyEndAllowThreads(__tstate);
6394 if (PyErr_Occurred()) SWIG_fail;
6395 }
6396 {
6397 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6398 }
6399 return resultobj;
6400 fail:
6401 return NULL;
6402 }
6403
6404
6405 static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *, PyObject *args, PyObject *kwargs) {
6406 PyObject *resultobj;
6407 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6408 int arg2 ;
6409 PyObject * obj0 = 0 ;
6410 PyObject * obj1 = 0 ;
6411 char *kwnames[] = {
6412 (char *) "self",(char *) "width", NULL
6413 };
6414
6415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) goto fail;
6416 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6417 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6418 arg2 = (int)SWIG_As_int(obj1);
6419 if (PyErr_Occurred()) SWIG_fail;
6420 {
6421 PyThreadState* __tstate = wxPyBeginAllowThreads();
6422 (arg1)->SetSashSize(arg2);
6423
6424 wxPyEndAllowThreads(__tstate);
6425 if (PyErr_Occurred()) SWIG_fail;
6426 }
6427 Py_INCREF(Py_None); resultobj = Py_None;
6428 return resultobj;
6429 fail:
6430 return NULL;
6431 }
6432
6433
6434 static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
6435 PyObject *resultobj;
6436 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6437 int arg2 ;
6438 PyObject * obj0 = 0 ;
6439 PyObject * obj1 = 0 ;
6440 char *kwnames[] = {
6441 (char *) "self",(char *) "width", NULL
6442 };
6443
6444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) goto fail;
6445 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6446 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6447 arg2 = (int)SWIG_As_int(obj1);
6448 if (PyErr_Occurred()) SWIG_fail;
6449 {
6450 PyThreadState* __tstate = wxPyBeginAllowThreads();
6451 (arg1)->SetBorderSize(arg2);
6452
6453 wxPyEndAllowThreads(__tstate);
6454 if (PyErr_Occurred()) SWIG_fail;
6455 }
6456 Py_INCREF(Py_None); resultobj = Py_None;
6457 return resultobj;
6458 fail:
6459 return NULL;
6460 }
6461
6462
6463 static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *, PyObject *args, PyObject *kwargs) {
6464 PyObject *resultobj;
6465 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6466 int result;
6467 PyObject * obj0 = 0 ;
6468 char *kwnames[] = {
6469 (char *) "self", NULL
6470 };
6471
6472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail;
6473 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6474 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6475 {
6476 PyThreadState* __tstate = wxPyBeginAllowThreads();
6477 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
6478
6479 wxPyEndAllowThreads(__tstate);
6480 if (PyErr_Occurred()) SWIG_fail;
6481 }
6482 resultobj = SWIG_From_int((int)result);
6483 return resultobj;
6484 fail:
6485 return NULL;
6486 }
6487
6488
6489 static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
6490 PyObject *resultobj;
6491 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6492 int result;
6493 PyObject * obj0 = 0 ;
6494 char *kwnames[] = {
6495 (char *) "self", NULL
6496 };
6497
6498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail;
6499 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6500 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6501 {
6502 PyThreadState* __tstate = wxPyBeginAllowThreads();
6503 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
6504
6505 wxPyEndAllowThreads(__tstate);
6506 if (PyErr_Occurred()) SWIG_fail;
6507 }
6508 resultobj = SWIG_From_int((int)result);
6509 return resultobj;
6510 fail:
6511 return NULL;
6512 }
6513
6514
6515 static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
6516 PyObject *resultobj;
6517 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6518 int arg2 ;
6519 bool arg3 = (bool) True ;
6520 PyObject * obj0 = 0 ;
6521 PyObject * obj1 = 0 ;
6522 PyObject * obj2 = 0 ;
6523 char *kwnames[] = {
6524 (char *) "self",(char *) "position",(char *) "redraw", NULL
6525 };
6526
6527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
6528 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6529 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6530 arg2 = (int)SWIG_As_int(obj1);
6531 if (PyErr_Occurred()) SWIG_fail;
6532 if (obj2) {
6533 arg3 = (bool)SWIG_As_bool(obj2);
6534 if (PyErr_Occurred()) SWIG_fail;
6535 }
6536 {
6537 PyThreadState* __tstate = wxPyBeginAllowThreads();
6538 (arg1)->SetSashPosition(arg2,arg3);
6539
6540 wxPyEndAllowThreads(__tstate);
6541 if (PyErr_Occurred()) SWIG_fail;
6542 }
6543 Py_INCREF(Py_None); resultobj = Py_None;
6544 return resultobj;
6545 fail:
6546 return NULL;
6547 }
6548
6549
6550 static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
6551 PyObject *resultobj;
6552 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6553 int result;
6554 PyObject * obj0 = 0 ;
6555 char *kwnames[] = {
6556 (char *) "self", NULL
6557 };
6558
6559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail;
6560 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6561 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6562 {
6563 PyThreadState* __tstate = wxPyBeginAllowThreads();
6564 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
6565
6566 wxPyEndAllowThreads(__tstate);
6567 if (PyErr_Occurred()) SWIG_fail;
6568 }
6569 resultobj = SWIG_From_int((int)result);
6570 return resultobj;
6571 fail:
6572 return NULL;
6573 }
6574
6575
6576 static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *, PyObject *args, PyObject *kwargs) {
6577 PyObject *resultobj;
6578 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6579 int arg2 ;
6580 PyObject * obj0 = 0 ;
6581 PyObject * obj1 = 0 ;
6582 char *kwnames[] = {
6583 (char *) "self",(char *) "min", NULL
6584 };
6585
6586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) goto fail;
6587 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6588 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6589 arg2 = (int)SWIG_As_int(obj1);
6590 if (PyErr_Occurred()) SWIG_fail;
6591 {
6592 PyThreadState* __tstate = wxPyBeginAllowThreads();
6593 (arg1)->SetMinimumPaneSize(arg2);
6594
6595 wxPyEndAllowThreads(__tstate);
6596 if (PyErr_Occurred()) SWIG_fail;
6597 }
6598 Py_INCREF(Py_None); resultobj = Py_None;
6599 return resultobj;
6600 fail:
6601 return NULL;
6602 }
6603
6604
6605 static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *, PyObject *args, PyObject *kwargs) {
6606 PyObject *resultobj;
6607 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6608 int result;
6609 PyObject * obj0 = 0 ;
6610 char *kwnames[] = {
6611 (char *) "self", NULL
6612 };
6613
6614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail;
6615 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6616 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6617 {
6618 PyThreadState* __tstate = wxPyBeginAllowThreads();
6619 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
6620
6621 wxPyEndAllowThreads(__tstate);
6622 if (PyErr_Occurred()) SWIG_fail;
6623 }
6624 resultobj = SWIG_From_int((int)result);
6625 return resultobj;
6626 fail:
6627 return NULL;
6628 }
6629
6630
6631 static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *, PyObject *args, PyObject *kwargs) {
6632 PyObject *resultobj;
6633 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6634 int arg2 ;
6635 int arg3 ;
6636 int arg4 = (int) 5 ;
6637 bool result;
6638 PyObject * obj0 = 0 ;
6639 PyObject * obj1 = 0 ;
6640 PyObject * obj2 = 0 ;
6641 PyObject * obj3 = 0 ;
6642 char *kwnames[] = {
6643 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6644 };
6645
6646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6647 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6648 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6649 arg2 = (int)SWIG_As_int(obj1);
6650 if (PyErr_Occurred()) SWIG_fail;
6651 arg3 = (int)SWIG_As_int(obj2);
6652 if (PyErr_Occurred()) SWIG_fail;
6653 if (obj3) {
6654 arg4 = (int)SWIG_As_int(obj3);
6655 if (PyErr_Occurred()) SWIG_fail;
6656 }
6657 {
6658 PyThreadState* __tstate = wxPyBeginAllowThreads();
6659 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
6660
6661 wxPyEndAllowThreads(__tstate);
6662 if (PyErr_Occurred()) SWIG_fail;
6663 }
6664 {
6665 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6666 }
6667 return resultobj;
6668 fail:
6669 return NULL;
6670 }
6671
6672
6673 static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *, PyObject *args, PyObject *kwargs) {
6674 PyObject *resultobj;
6675 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6676 PyObject * obj0 = 0 ;
6677 char *kwnames[] = {
6678 (char *) "self", NULL
6679 };
6680
6681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail;
6682 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6683 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6684 {
6685 PyThreadState* __tstate = wxPyBeginAllowThreads();
6686 (arg1)->SizeWindows();
6687
6688 wxPyEndAllowThreads(__tstate);
6689 if (PyErr_Occurred()) SWIG_fail;
6690 }
6691 Py_INCREF(Py_None); resultobj = Py_None;
6692 return resultobj;
6693 fail:
6694 return NULL;
6695 }
6696
6697
6698 static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *, PyObject *args, PyObject *kwargs) {
6699 PyObject *resultobj;
6700 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6701 bool arg2 ;
6702 PyObject * obj0 = 0 ;
6703 PyObject * obj1 = 0 ;
6704 char *kwnames[] = {
6705 (char *) "self",(char *) "needUpdating", NULL
6706 };
6707
6708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail;
6709 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6710 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6711 arg2 = (bool)SWIG_As_bool(obj1);
6712 if (PyErr_Occurred()) SWIG_fail;
6713 {
6714 PyThreadState* __tstate = wxPyBeginAllowThreads();
6715 (arg1)->SetNeedUpdating(arg2);
6716
6717 wxPyEndAllowThreads(__tstate);
6718 if (PyErr_Occurred()) SWIG_fail;
6719 }
6720 Py_INCREF(Py_None); resultobj = Py_None;
6721 return resultobj;
6722 fail:
6723 return NULL;
6724 }
6725
6726
6727 static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *, PyObject *args, PyObject *kwargs) {
6728 PyObject *resultobj;
6729 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6730 bool result;
6731 PyObject * obj0 = 0 ;
6732 char *kwnames[] = {
6733 (char *) "self", NULL
6734 };
6735
6736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail;
6737 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6738 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6739 {
6740 PyThreadState* __tstate = wxPyBeginAllowThreads();
6741 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
6742
6743 wxPyEndAllowThreads(__tstate);
6744 if (PyErr_Occurred()) SWIG_fail;
6745 }
6746 {
6747 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6748 }
6749 return resultobj;
6750 fail:
6751 return NULL;
6752 }
6753
6754
6755 static PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
6756 PyObject *resultobj;
6757 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
6758 wxVisualAttributes result;
6759 PyObject * obj0 = 0 ;
6760 char *kwnames[] = {
6761 (char *) "variant", NULL
6762 };
6763
6764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6765 if (obj0) {
6766 arg1 = (int)SWIG_As_int(obj0);
6767 if (PyErr_Occurred()) SWIG_fail;
6768 }
6769 {
6770 if (!wxPyCheckForApp()) SWIG_fail;
6771 PyThreadState* __tstate = wxPyBeginAllowThreads();
6772 result = wxSplitterWindow::GetClassDefaultAttributes((wxWindowVariant )arg1);
6773
6774 wxPyEndAllowThreads(__tstate);
6775 if (PyErr_Occurred()) SWIG_fail;
6776 }
6777 {
6778 wxVisualAttributes * resultptr;
6779 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
6780 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6781 }
6782 return resultobj;
6783 fail:
6784 return NULL;
6785 }
6786
6787
6788 static PyObject * SplitterWindow_swigregister(PyObject *, PyObject *args) {
6789 PyObject *obj;
6790 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6791 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj);
6792 Py_INCREF(obj);
6793 return Py_BuildValue((char *)"");
6794 }
6795 static PyObject *_wrap_new_SplitterEvent(PyObject *, PyObject *args, PyObject *kwargs) {
6796 PyObject *resultobj;
6797 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
6798 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
6799 wxSplitterEvent *result;
6800 PyObject * obj0 = 0 ;
6801 PyObject * obj1 = 0 ;
6802 char *kwnames[] = {
6803 (char *) "type",(char *) "splitter", NULL
6804 };
6805
6806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) goto fail;
6807 if (obj0) {
6808 arg1 = (wxEventType)SWIG_As_int(obj0);
6809 if (PyErr_Occurred()) SWIG_fail;
6810 }
6811 if (obj1) {
6812 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSplitterWindow,
6813 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6814 }
6815 {
6816 PyThreadState* __tstate = wxPyBeginAllowThreads();
6817 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
6818
6819 wxPyEndAllowThreads(__tstate);
6820 if (PyErr_Occurred()) SWIG_fail;
6821 }
6822 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterEvent, 1);
6823 return resultobj;
6824 fail:
6825 return NULL;
6826 }
6827
6828
6829 static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
6830 PyObject *resultobj;
6831 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6832 int arg2 ;
6833 PyObject * obj0 = 0 ;
6834 PyObject * obj1 = 0 ;
6835 char *kwnames[] = {
6836 (char *) "self",(char *) "pos", NULL
6837 };
6838
6839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) goto fail;
6840 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6841 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6842 arg2 = (int)SWIG_As_int(obj1);
6843 if (PyErr_Occurred()) SWIG_fail;
6844 {
6845 PyThreadState* __tstate = wxPyBeginAllowThreads();
6846 (arg1)->SetSashPosition(arg2);
6847
6848 wxPyEndAllowThreads(__tstate);
6849 if (PyErr_Occurred()) SWIG_fail;
6850 }
6851 Py_INCREF(Py_None); resultobj = Py_None;
6852 return resultobj;
6853 fail:
6854 return NULL;
6855 }
6856
6857
6858 static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
6859 PyObject *resultobj;
6860 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6861 int result;
6862 PyObject * obj0 = 0 ;
6863 char *kwnames[] = {
6864 (char *) "self", NULL
6865 };
6866
6867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail;
6868 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6869 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6870 {
6871 PyThreadState* __tstate = wxPyBeginAllowThreads();
6872 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
6873
6874 wxPyEndAllowThreads(__tstate);
6875 if (PyErr_Occurred()) SWIG_fail;
6876 }
6877 resultobj = SWIG_From_int((int)result);
6878 return resultobj;
6879 fail:
6880 return NULL;
6881 }
6882
6883
6884 static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *, PyObject *args, PyObject *kwargs) {
6885 PyObject *resultobj;
6886 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6887 wxWindow *result;
6888 PyObject * obj0 = 0 ;
6889 char *kwnames[] = {
6890 (char *) "self", NULL
6891 };
6892
6893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail;
6894 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6895 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6896 {
6897 PyThreadState* __tstate = wxPyBeginAllowThreads();
6898 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
6899
6900 wxPyEndAllowThreads(__tstate);
6901 if (PyErr_Occurred()) SWIG_fail;
6902 }
6903 {
6904 resultobj = wxPyMake_wxObject(result, 0);
6905 }
6906 return resultobj;
6907 fail:
6908 return NULL;
6909 }
6910
6911
6912 static PyObject *_wrap_SplitterEvent_GetX(PyObject *, PyObject *args, PyObject *kwargs) {
6913 PyObject *resultobj;
6914 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6915 int result;
6916 PyObject * obj0 = 0 ;
6917 char *kwnames[] = {
6918 (char *) "self", NULL
6919 };
6920
6921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail;
6922 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6923 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6924 {
6925 PyThreadState* __tstate = wxPyBeginAllowThreads();
6926 result = (int)((wxSplitterEvent const *)arg1)->GetX();
6927
6928 wxPyEndAllowThreads(__tstate);
6929 if (PyErr_Occurred()) SWIG_fail;
6930 }
6931 resultobj = SWIG_From_int((int)result);
6932 return resultobj;
6933 fail:
6934 return NULL;
6935 }
6936
6937
6938 static PyObject *_wrap_SplitterEvent_GetY(PyObject *, PyObject *args, PyObject *kwargs) {
6939 PyObject *resultobj;
6940 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6941 int result;
6942 PyObject * obj0 = 0 ;
6943 char *kwnames[] = {
6944 (char *) "self", NULL
6945 };
6946
6947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail;
6948 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6949 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6950 {
6951 PyThreadState* __tstate = wxPyBeginAllowThreads();
6952 result = (int)((wxSplitterEvent const *)arg1)->GetY();
6953
6954 wxPyEndAllowThreads(__tstate);
6955 if (PyErr_Occurred()) SWIG_fail;
6956 }
6957 resultobj = SWIG_From_int((int)result);
6958 return resultobj;
6959 fail:
6960 return NULL;
6961 }
6962
6963
6964 static PyObject * SplitterEvent_swigregister(PyObject *, PyObject *args) {
6965 PyObject *obj;
6966 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6967 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj);
6968 Py_INCREF(obj);
6969 return Py_BuildValue((char *)"");
6970 }
6971 static int _wrap_SashNameStr_set(PyObject *) {
6972 PyErr_SetString(PyExc_TypeError,"Variable SashNameStr is read-only.");
6973 return 1;
6974 }
6975
6976
6977 static PyObject *_wrap_SashNameStr_get() {
6978 PyObject *pyobj;
6979
6980 {
6981 #if wxUSE_UNICODE
6982 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
6983 #else
6984 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
6985 #endif
6986 }
6987 return pyobj;
6988 }
6989
6990
6991 static int _wrap_SashLayoutNameStr_set(PyObject *) {
6992 PyErr_SetString(PyExc_TypeError,"Variable SashLayoutNameStr is read-only.");
6993 return 1;
6994 }
6995
6996
6997 static PyObject *_wrap_SashLayoutNameStr_get() {
6998 PyObject *pyobj;
6999
7000 {
7001 #if wxUSE_UNICODE
7002 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
7003 #else
7004 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
7005 #endif
7006 }
7007 return pyobj;
7008 }
7009
7010
7011 static PyObject *_wrap_new_SashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7012 PyObject *resultobj;
7013 wxWindow *arg1 = (wxWindow *) 0 ;
7014 int arg2 = (int) -1 ;
7015 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7016 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7017 wxSize const &arg4_defvalue = wxDefaultSize ;
7018 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7019 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
7020 wxString const &arg6_defvalue = wxPySashNameStr ;
7021 wxString *arg6 = (wxString *) &arg6_defvalue ;
7022 wxSashWindow *result;
7023 wxPoint temp3 ;
7024 wxSize temp4 ;
7025 bool temp6 = False ;
7026 PyObject * obj0 = 0 ;
7027 PyObject * obj1 = 0 ;
7028 PyObject * obj2 = 0 ;
7029 PyObject * obj3 = 0 ;
7030 PyObject * obj4 = 0 ;
7031 PyObject * obj5 = 0 ;
7032 char *kwnames[] = {
7033 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7034 };
7035
7036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
7037 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
7038 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7039 if (obj1) {
7040 arg2 = (int)SWIG_As_int(obj1);
7041 if (PyErr_Occurred()) SWIG_fail;
7042 }
7043 if (obj2) {
7044 {
7045 arg3 = &temp3;
7046 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7047 }
7048 }
7049 if (obj3) {
7050 {
7051 arg4 = &temp4;
7052 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7053 }
7054 }
7055 if (obj4) {
7056 arg5 = (long)SWIG_As_long(obj4);
7057 if (PyErr_Occurred()) SWIG_fail;
7058 }
7059 if (obj5) {
7060 {
7061 arg6 = wxString_in_helper(obj5);
7062 if (arg6 == NULL) SWIG_fail;
7063 temp6 = True;
7064 }
7065 }
7066 {
7067 if (!wxPyCheckForApp()) SWIG_fail;
7068 PyThreadState* __tstate = wxPyBeginAllowThreads();
7069 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7070
7071 wxPyEndAllowThreads(__tstate);
7072 if (PyErr_Occurred()) SWIG_fail;
7073 }
7074 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
7075 {
7076 if (temp6)
7077 delete arg6;
7078 }
7079 return resultobj;
7080 fail:
7081 {
7082 if (temp6)
7083 delete arg6;
7084 }
7085 return NULL;
7086 }
7087
7088
7089 static PyObject *_wrap_new_PreSashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7090 PyObject *resultobj;
7091 wxSashWindow *result;
7092 char *kwnames[] = {
7093 NULL
7094 };
7095
7096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail;
7097 {
7098 if (!wxPyCheckForApp()) SWIG_fail;
7099 PyThreadState* __tstate = wxPyBeginAllowThreads();
7100 result = (wxSashWindow *)new wxSashWindow();
7101
7102 wxPyEndAllowThreads(__tstate);
7103 if (PyErr_Occurred()) SWIG_fail;
7104 }
7105 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
7106 return resultobj;
7107 fail:
7108 return NULL;
7109 }
7110
7111
7112 static PyObject *_wrap_SashWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7113 PyObject *resultobj;
7114 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7115 wxWindow *arg2 = (wxWindow *) 0 ;
7116 int arg3 = (int) -1 ;
7117 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7118 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7119 wxSize const &arg5_defvalue = wxDefaultSize ;
7120 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7121 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
7122 wxString const &arg7_defvalue = wxPySashNameStr ;
7123 wxString *arg7 = (wxString *) &arg7_defvalue ;
7124 bool result;
7125 wxPoint temp4 ;
7126 wxSize temp5 ;
7127 bool temp7 = False ;
7128 PyObject * obj0 = 0 ;
7129 PyObject * obj1 = 0 ;
7130 PyObject * obj2 = 0 ;
7131 PyObject * obj3 = 0 ;
7132 PyObject * obj4 = 0 ;
7133 PyObject * obj5 = 0 ;
7134 PyObject * obj6 = 0 ;
7135 char *kwnames[] = {
7136 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7137 };
7138
7139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
7140 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7141 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7142 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
7143 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7144 if (obj2) {
7145 arg3 = (int)SWIG_As_int(obj2);
7146 if (PyErr_Occurred()) SWIG_fail;
7147 }
7148 if (obj3) {
7149 {
7150 arg4 = &temp4;
7151 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7152 }
7153 }
7154 if (obj4) {
7155 {
7156 arg5 = &temp5;
7157 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7158 }
7159 }
7160 if (obj5) {
7161 arg6 = (long)SWIG_As_long(obj5);
7162 if (PyErr_Occurred()) SWIG_fail;
7163 }
7164 if (obj6) {
7165 {
7166 arg7 = wxString_in_helper(obj6);
7167 if (arg7 == NULL) SWIG_fail;
7168 temp7 = True;
7169 }
7170 }
7171 {
7172 PyThreadState* __tstate = wxPyBeginAllowThreads();
7173 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7174
7175 wxPyEndAllowThreads(__tstate);
7176 if (PyErr_Occurred()) SWIG_fail;
7177 }
7178 {
7179 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7180 }
7181 {
7182 if (temp7)
7183 delete arg7;
7184 }
7185 return resultobj;
7186 fail:
7187 {
7188 if (temp7)
7189 delete arg7;
7190 }
7191 return NULL;
7192 }
7193
7194
7195 static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *, PyObject *args, PyObject *kwargs) {
7196 PyObject *resultobj;
7197 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7198 int arg2 ;
7199 bool arg3 ;
7200 PyObject * obj0 = 0 ;
7201 PyObject * obj1 = 0 ;
7202 PyObject * obj2 = 0 ;
7203 char *kwnames[] = {
7204 (char *) "self",(char *) "edge",(char *) "sash", NULL
7205 };
7206
7207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) goto fail;
7208 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7209 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7210 arg2 = (int)SWIG_As_int(obj1);
7211 if (PyErr_Occurred()) SWIG_fail;
7212 arg3 = (bool)SWIG_As_bool(obj2);
7213 if (PyErr_Occurred()) SWIG_fail;
7214 {
7215 PyThreadState* __tstate = wxPyBeginAllowThreads();
7216 (arg1)->SetSashVisible((wxSashEdgePosition )arg2,arg3);
7217
7218 wxPyEndAllowThreads(__tstate);
7219 if (PyErr_Occurred()) SWIG_fail;
7220 }
7221 Py_INCREF(Py_None); resultobj = Py_None;
7222 return resultobj;
7223 fail:
7224 return NULL;
7225 }
7226
7227
7228 static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *, PyObject *args, PyObject *kwargs) {
7229 PyObject *resultobj;
7230 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7231 int arg2 ;
7232 bool result;
7233 PyObject * obj0 = 0 ;
7234 PyObject * obj1 = 0 ;
7235 char *kwnames[] = {
7236 (char *) "self",(char *) "edge", NULL
7237 };
7238
7239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) goto fail;
7240 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7241 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7242 arg2 = (int)SWIG_As_int(obj1);
7243 if (PyErr_Occurred()) SWIG_fail;
7244 {
7245 PyThreadState* __tstate = wxPyBeginAllowThreads();
7246 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible((wxSashEdgePosition )arg2);
7247
7248 wxPyEndAllowThreads(__tstate);
7249 if (PyErr_Occurred()) SWIG_fail;
7250 }
7251 {
7252 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7253 }
7254 return resultobj;
7255 fail:
7256 return NULL;
7257 }
7258
7259
7260 static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *, PyObject *args, PyObject *kwargs) {
7261 PyObject *resultobj;
7262 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7263 int arg2 ;
7264 bool arg3 ;
7265 PyObject * obj0 = 0 ;
7266 PyObject * obj1 = 0 ;
7267 PyObject * obj2 = 0 ;
7268 char *kwnames[] = {
7269 (char *) "self",(char *) "edge",(char *) "border", NULL
7270 };
7271
7272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) goto fail;
7273 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7274 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7275 arg2 = (int)SWIG_As_int(obj1);
7276 if (PyErr_Occurred()) SWIG_fail;
7277 arg3 = (bool)SWIG_As_bool(obj2);
7278 if (PyErr_Occurred()) SWIG_fail;
7279 {
7280 PyThreadState* __tstate = wxPyBeginAllowThreads();
7281 (arg1)->SetSashBorder((wxSashEdgePosition )arg2,arg3);
7282
7283 wxPyEndAllowThreads(__tstate);
7284 if (PyErr_Occurred()) SWIG_fail;
7285 }
7286 Py_INCREF(Py_None); resultobj = Py_None;
7287 return resultobj;
7288 fail:
7289 return NULL;
7290 }
7291
7292
7293 static PyObject *_wrap_SashWindow_HasBorder(PyObject *, PyObject *args, PyObject *kwargs) {
7294 PyObject *resultobj;
7295 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7296 int arg2 ;
7297 bool result;
7298 PyObject * obj0 = 0 ;
7299 PyObject * obj1 = 0 ;
7300 char *kwnames[] = {
7301 (char *) "self",(char *) "edge", NULL
7302 };
7303
7304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) goto fail;
7305 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7306 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7307 arg2 = (int)SWIG_As_int(obj1);
7308 if (PyErr_Occurred()) SWIG_fail;
7309 {
7310 PyThreadState* __tstate = wxPyBeginAllowThreads();
7311 result = (bool)((wxSashWindow const *)arg1)->HasBorder((wxSashEdgePosition )arg2);
7312
7313 wxPyEndAllowThreads(__tstate);
7314 if (PyErr_Occurred()) SWIG_fail;
7315 }
7316 {
7317 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7318 }
7319 return resultobj;
7320 fail:
7321 return NULL;
7322 }
7323
7324
7325 static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *, PyObject *args, PyObject *kwargs) {
7326 PyObject *resultobj;
7327 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7328 int arg2 ;
7329 int result;
7330 PyObject * obj0 = 0 ;
7331 PyObject * obj1 = 0 ;
7332 char *kwnames[] = {
7333 (char *) "self",(char *) "edge", NULL
7334 };
7335
7336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) goto fail;
7337 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7338 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7339 arg2 = (int)SWIG_As_int(obj1);
7340 if (PyErr_Occurred()) SWIG_fail;
7341 {
7342 PyThreadState* __tstate = wxPyBeginAllowThreads();
7343 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin((wxSashEdgePosition )arg2);
7344
7345 wxPyEndAllowThreads(__tstate);
7346 if (PyErr_Occurred()) SWIG_fail;
7347 }
7348 resultobj = SWIG_From_int((int)result);
7349 return resultobj;
7350 fail:
7351 return NULL;
7352 }
7353
7354
7355 static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
7356 PyObject *resultobj;
7357 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7358 int arg2 ;
7359 PyObject * obj0 = 0 ;
7360 PyObject * obj1 = 0 ;
7361 char *kwnames[] = {
7362 (char *) "self",(char *) "width", NULL
7363 };
7364
7365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) goto fail;
7366 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7367 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7368 arg2 = (int)SWIG_As_int(obj1);
7369 if (PyErr_Occurred()) SWIG_fail;
7370 {
7371 PyThreadState* __tstate = wxPyBeginAllowThreads();
7372 (arg1)->SetDefaultBorderSize(arg2);
7373
7374 wxPyEndAllowThreads(__tstate);
7375 if (PyErr_Occurred()) SWIG_fail;
7376 }
7377 Py_INCREF(Py_None); resultobj = Py_None;
7378 return resultobj;
7379 fail:
7380 return NULL;
7381 }
7382
7383
7384 static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
7385 PyObject *resultobj;
7386 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7387 int result;
7388 PyObject * obj0 = 0 ;
7389 char *kwnames[] = {
7390 (char *) "self", NULL
7391 };
7392
7393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail;
7394 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7395 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7396 {
7397 PyThreadState* __tstate = wxPyBeginAllowThreads();
7398 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
7399
7400 wxPyEndAllowThreads(__tstate);
7401 if (PyErr_Occurred()) SWIG_fail;
7402 }
7403 resultobj = SWIG_From_int((int)result);
7404 return resultobj;
7405 fail:
7406 return NULL;
7407 }
7408
7409
7410 static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
7411 PyObject *resultobj;
7412 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7413 int arg2 ;
7414 PyObject * obj0 = 0 ;
7415 PyObject * obj1 = 0 ;
7416 char *kwnames[] = {
7417 (char *) "self",(char *) "width", NULL
7418 };
7419
7420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) goto fail;
7421 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7422 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7423 arg2 = (int)SWIG_As_int(obj1);
7424 if (PyErr_Occurred()) SWIG_fail;
7425 {
7426 PyThreadState* __tstate = wxPyBeginAllowThreads();
7427 (arg1)->SetExtraBorderSize(arg2);
7428
7429 wxPyEndAllowThreads(__tstate);
7430 if (PyErr_Occurred()) SWIG_fail;
7431 }
7432 Py_INCREF(Py_None); resultobj = Py_None;
7433 return resultobj;
7434 fail:
7435 return NULL;
7436 }
7437
7438
7439 static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
7440 PyObject *resultobj;
7441 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7442 int result;
7443 PyObject * obj0 = 0 ;
7444 char *kwnames[] = {
7445 (char *) "self", NULL
7446 };
7447
7448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail;
7449 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7450 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7451 {
7452 PyThreadState* __tstate = wxPyBeginAllowThreads();
7453 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
7454
7455 wxPyEndAllowThreads(__tstate);
7456 if (PyErr_Occurred()) SWIG_fail;
7457 }
7458 resultobj = SWIG_From_int((int)result);
7459 return resultobj;
7460 fail:
7461 return NULL;
7462 }
7463
7464
7465 static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
7466 PyObject *resultobj;
7467 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7468 int arg2 ;
7469 PyObject * obj0 = 0 ;
7470 PyObject * obj1 = 0 ;
7471 char *kwnames[] = {
7472 (char *) "self",(char *) "min", NULL
7473 };
7474
7475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) goto fail;
7476 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7477 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7478 arg2 = (int)SWIG_As_int(obj1);
7479 if (PyErr_Occurred()) SWIG_fail;
7480 {
7481 PyThreadState* __tstate = wxPyBeginAllowThreads();
7482 (arg1)->SetMinimumSizeX(arg2);
7483
7484 wxPyEndAllowThreads(__tstate);
7485 if (PyErr_Occurred()) SWIG_fail;
7486 }
7487 Py_INCREF(Py_None); resultobj = Py_None;
7488 return resultobj;
7489 fail:
7490 return NULL;
7491 }
7492
7493
7494 static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
7495 PyObject *resultobj;
7496 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7497 int arg2 ;
7498 PyObject * obj0 = 0 ;
7499 PyObject * obj1 = 0 ;
7500 char *kwnames[] = {
7501 (char *) "self",(char *) "min", NULL
7502 };
7503
7504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) goto fail;
7505 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7506 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7507 arg2 = (int)SWIG_As_int(obj1);
7508 if (PyErr_Occurred()) SWIG_fail;
7509 {
7510 PyThreadState* __tstate = wxPyBeginAllowThreads();
7511 (arg1)->SetMinimumSizeY(arg2);
7512
7513 wxPyEndAllowThreads(__tstate);
7514 if (PyErr_Occurred()) SWIG_fail;
7515 }
7516 Py_INCREF(Py_None); resultobj = Py_None;
7517 return resultobj;
7518 fail:
7519 return NULL;
7520 }
7521
7522
7523 static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
7524 PyObject *resultobj;
7525 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7526 int result;
7527 PyObject * obj0 = 0 ;
7528 char *kwnames[] = {
7529 (char *) "self", NULL
7530 };
7531
7532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail;
7533 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7534 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7535 {
7536 PyThreadState* __tstate = wxPyBeginAllowThreads();
7537 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
7538
7539 wxPyEndAllowThreads(__tstate);
7540 if (PyErr_Occurred()) SWIG_fail;
7541 }
7542 resultobj = SWIG_From_int((int)result);
7543 return resultobj;
7544 fail:
7545 return NULL;
7546 }
7547
7548
7549 static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
7550 PyObject *resultobj;
7551 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7552 int result;
7553 PyObject * obj0 = 0 ;
7554 char *kwnames[] = {
7555 (char *) "self", NULL
7556 };
7557
7558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail;
7559 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7560 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7561 {
7562 PyThreadState* __tstate = wxPyBeginAllowThreads();
7563 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
7564
7565 wxPyEndAllowThreads(__tstate);
7566 if (PyErr_Occurred()) SWIG_fail;
7567 }
7568 resultobj = SWIG_From_int((int)result);
7569 return resultobj;
7570 fail:
7571 return NULL;
7572 }
7573
7574
7575 static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
7576 PyObject *resultobj;
7577 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7578 int arg2 ;
7579 PyObject * obj0 = 0 ;
7580 PyObject * obj1 = 0 ;
7581 char *kwnames[] = {
7582 (char *) "self",(char *) "max", NULL
7583 };
7584
7585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) goto fail;
7586 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7587 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7588 arg2 = (int)SWIG_As_int(obj1);
7589 if (PyErr_Occurred()) SWIG_fail;
7590 {
7591 PyThreadState* __tstate = wxPyBeginAllowThreads();
7592 (arg1)->SetMaximumSizeX(arg2);
7593
7594 wxPyEndAllowThreads(__tstate);
7595 if (PyErr_Occurred()) SWIG_fail;
7596 }
7597 Py_INCREF(Py_None); resultobj = Py_None;
7598 return resultobj;
7599 fail:
7600 return NULL;
7601 }
7602
7603
7604 static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
7605 PyObject *resultobj;
7606 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7607 int arg2 ;
7608 PyObject * obj0 = 0 ;
7609 PyObject * obj1 = 0 ;
7610 char *kwnames[] = {
7611 (char *) "self",(char *) "max", NULL
7612 };
7613
7614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) goto fail;
7615 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7616 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7617 arg2 = (int)SWIG_As_int(obj1);
7618 if (PyErr_Occurred()) SWIG_fail;
7619 {
7620 PyThreadState* __tstate = wxPyBeginAllowThreads();
7621 (arg1)->SetMaximumSizeY(arg2);
7622
7623 wxPyEndAllowThreads(__tstate);
7624 if (PyErr_Occurred()) SWIG_fail;
7625 }
7626 Py_INCREF(Py_None); resultobj = Py_None;
7627 return resultobj;
7628 fail:
7629 return NULL;
7630 }
7631
7632
7633 static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
7634 PyObject *resultobj;
7635 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7636 int result;
7637 PyObject * obj0 = 0 ;
7638 char *kwnames[] = {
7639 (char *) "self", NULL
7640 };
7641
7642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail;
7643 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7644 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7645 {
7646 PyThreadState* __tstate = wxPyBeginAllowThreads();
7647 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
7648
7649 wxPyEndAllowThreads(__tstate);
7650 if (PyErr_Occurred()) SWIG_fail;
7651 }
7652 resultobj = SWIG_From_int((int)result);
7653 return resultobj;
7654 fail:
7655 return NULL;
7656 }
7657
7658
7659 static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
7660 PyObject *resultobj;
7661 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7662 int result;
7663 PyObject * obj0 = 0 ;
7664 char *kwnames[] = {
7665 (char *) "self", NULL
7666 };
7667
7668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail;
7669 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7670 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7671 {
7672 PyThreadState* __tstate = wxPyBeginAllowThreads();
7673 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
7674
7675 wxPyEndAllowThreads(__tstate);
7676 if (PyErr_Occurred()) SWIG_fail;
7677 }
7678 resultobj = SWIG_From_int((int)result);
7679 return resultobj;
7680 fail:
7681 return NULL;
7682 }
7683
7684
7685 static PyObject *_wrap_SashWindow_SashHitTest(PyObject *, PyObject *args, PyObject *kwargs) {
7686 PyObject *resultobj;
7687 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7688 int arg2 ;
7689 int arg3 ;
7690 int arg4 = (int) 2 ;
7691 int result;
7692 PyObject * obj0 = 0 ;
7693 PyObject * obj1 = 0 ;
7694 PyObject * obj2 = 0 ;
7695 PyObject * obj3 = 0 ;
7696 char *kwnames[] = {
7697 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
7698 };
7699
7700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7701 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7702 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7703 arg2 = (int)SWIG_As_int(obj1);
7704 if (PyErr_Occurred()) SWIG_fail;
7705 arg3 = (int)SWIG_As_int(obj2);
7706 if (PyErr_Occurred()) SWIG_fail;
7707 if (obj3) {
7708 arg4 = (int)SWIG_As_int(obj3);
7709 if (PyErr_Occurred()) SWIG_fail;
7710 }
7711 {
7712 PyThreadState* __tstate = wxPyBeginAllowThreads();
7713 result = (int)(arg1)->SashHitTest(arg2,arg3,arg4);
7714
7715 wxPyEndAllowThreads(__tstate);
7716 if (PyErr_Occurred()) SWIG_fail;
7717 }
7718 resultobj = SWIG_From_int((int)result);
7719 return resultobj;
7720 fail:
7721 return NULL;
7722 }
7723
7724
7725 static PyObject *_wrap_SashWindow_SizeWindows(PyObject *, PyObject *args, PyObject *kwargs) {
7726 PyObject *resultobj;
7727 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7728 PyObject * obj0 = 0 ;
7729 char *kwnames[] = {
7730 (char *) "self", NULL
7731 };
7732
7733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail;
7734 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7736 {
7737 PyThreadState* __tstate = wxPyBeginAllowThreads();
7738 (arg1)->SizeWindows();
7739
7740 wxPyEndAllowThreads(__tstate);
7741 if (PyErr_Occurred()) SWIG_fail;
7742 }
7743 Py_INCREF(Py_None); resultobj = Py_None;
7744 return resultobj;
7745 fail:
7746 return NULL;
7747 }
7748
7749
7750 static PyObject * SashWindow_swigregister(PyObject *, PyObject *args) {
7751 PyObject *obj;
7752 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7753 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj);
7754 Py_INCREF(obj);
7755 return Py_BuildValue((char *)"");
7756 }
7757 static PyObject *_wrap_new_SashEvent(PyObject *, PyObject *args, PyObject *kwargs) {
7758 PyObject *resultobj;
7759 int arg1 = (int) 0 ;
7760 int arg2 = (int) wxSASH_NONE ;
7761 wxSashEvent *result;
7762 PyObject * obj0 = 0 ;
7763 PyObject * obj1 = 0 ;
7764 char *kwnames[] = {
7765 (char *) "id",(char *) "edge", NULL
7766 };
7767
7768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) goto fail;
7769 if (obj0) {
7770 arg1 = (int)SWIG_As_int(obj0);
7771 if (PyErr_Occurred()) SWIG_fail;
7772 }
7773 if (obj1) {
7774 arg2 = (int)SWIG_As_int(obj1);
7775 if (PyErr_Occurred()) SWIG_fail;
7776 }
7777 {
7778 PyThreadState* __tstate = wxPyBeginAllowThreads();
7779 result = (wxSashEvent *)new wxSashEvent(arg1,(wxSashEdgePosition )arg2);
7780
7781 wxPyEndAllowThreads(__tstate);
7782 if (PyErr_Occurred()) SWIG_fail;
7783 }
7784 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashEvent, 1);
7785 return resultobj;
7786 fail:
7787 return NULL;
7788 }
7789
7790
7791 static PyObject *_wrap_SashEvent_SetEdge(PyObject *, PyObject *args, PyObject *kwargs) {
7792 PyObject *resultobj;
7793 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7794 int arg2 ;
7795 PyObject * obj0 = 0 ;
7796 PyObject * obj1 = 0 ;
7797 char *kwnames[] = {
7798 (char *) "self",(char *) "edge", NULL
7799 };
7800
7801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) goto fail;
7802 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7803 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7804 arg2 = (int)SWIG_As_int(obj1);
7805 if (PyErr_Occurred()) SWIG_fail;
7806 {
7807 PyThreadState* __tstate = wxPyBeginAllowThreads();
7808 (arg1)->SetEdge((wxSashEdgePosition )arg2);
7809
7810 wxPyEndAllowThreads(__tstate);
7811 if (PyErr_Occurred()) SWIG_fail;
7812 }
7813 Py_INCREF(Py_None); resultobj = Py_None;
7814 return resultobj;
7815 fail:
7816 return NULL;
7817 }
7818
7819
7820 static PyObject *_wrap_SashEvent_GetEdge(PyObject *, PyObject *args, PyObject *kwargs) {
7821 PyObject *resultobj;
7822 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7823 int result;
7824 PyObject * obj0 = 0 ;
7825 char *kwnames[] = {
7826 (char *) "self", NULL
7827 };
7828
7829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail;
7830 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7831 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7832 {
7833 PyThreadState* __tstate = wxPyBeginAllowThreads();
7834 result = (int)((wxSashEvent const *)arg1)->GetEdge();
7835
7836 wxPyEndAllowThreads(__tstate);
7837 if (PyErr_Occurred()) SWIG_fail;
7838 }
7839 resultobj = SWIG_From_int((int)result);
7840 return resultobj;
7841 fail:
7842 return NULL;
7843 }
7844
7845
7846 static PyObject *_wrap_SashEvent_SetDragRect(PyObject *, PyObject *args, PyObject *kwargs) {
7847 PyObject *resultobj;
7848 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7849 wxRect *arg2 = 0 ;
7850 wxRect temp2 ;
7851 PyObject * obj0 = 0 ;
7852 PyObject * obj1 = 0 ;
7853 char *kwnames[] = {
7854 (char *) "self",(char *) "rect", NULL
7855 };
7856
7857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail;
7858 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7859 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7860 {
7861 arg2 = &temp2;
7862 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7863 }
7864 {
7865 PyThreadState* __tstate = wxPyBeginAllowThreads();
7866 (arg1)->SetDragRect((wxRect const &)*arg2);
7867
7868 wxPyEndAllowThreads(__tstate);
7869 if (PyErr_Occurred()) SWIG_fail;
7870 }
7871 Py_INCREF(Py_None); resultobj = Py_None;
7872 return resultobj;
7873 fail:
7874 return NULL;
7875 }
7876
7877
7878 static PyObject *_wrap_SashEvent_GetDragRect(PyObject *, PyObject *args, PyObject *kwargs) {
7879 PyObject *resultobj;
7880 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7881 wxRect result;
7882 PyObject * obj0 = 0 ;
7883 char *kwnames[] = {
7884 (char *) "self", NULL
7885 };
7886
7887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail;
7888 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7889 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7890 {
7891 PyThreadState* __tstate = wxPyBeginAllowThreads();
7892 result = ((wxSashEvent const *)arg1)->GetDragRect();
7893
7894 wxPyEndAllowThreads(__tstate);
7895 if (PyErr_Occurred()) SWIG_fail;
7896 }
7897 {
7898 wxRect * resultptr;
7899 resultptr = new wxRect((wxRect &) result);
7900 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
7901 }
7902 return resultobj;
7903 fail:
7904 return NULL;
7905 }
7906
7907
7908 static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *, PyObject *args, PyObject *kwargs) {
7909 PyObject *resultobj;
7910 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7911 int arg2 ;
7912 PyObject * obj0 = 0 ;
7913 PyObject * obj1 = 0 ;
7914 char *kwnames[] = {
7915 (char *) "self",(char *) "status", NULL
7916 };
7917
7918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) goto fail;
7919 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7920 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7921 arg2 = (int)SWIG_As_int(obj1);
7922 if (PyErr_Occurred()) SWIG_fail;
7923 {
7924 PyThreadState* __tstate = wxPyBeginAllowThreads();
7925 (arg1)->SetDragStatus((wxSashDragStatus )arg2);
7926
7927 wxPyEndAllowThreads(__tstate);
7928 if (PyErr_Occurred()) SWIG_fail;
7929 }
7930 Py_INCREF(Py_None); resultobj = Py_None;
7931 return resultobj;
7932 fail:
7933 return NULL;
7934 }
7935
7936
7937 static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *, PyObject *args, PyObject *kwargs) {
7938 PyObject *resultobj;
7939 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7940 int result;
7941 PyObject * obj0 = 0 ;
7942 char *kwnames[] = {
7943 (char *) "self", NULL
7944 };
7945
7946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail;
7947 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7948 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7949 {
7950 PyThreadState* __tstate = wxPyBeginAllowThreads();
7951 result = (int)((wxSashEvent const *)arg1)->GetDragStatus();
7952
7953 wxPyEndAllowThreads(__tstate);
7954 if (PyErr_Occurred()) SWIG_fail;
7955 }
7956 resultobj = SWIG_From_int((int)result);
7957 return resultobj;
7958 fail:
7959 return NULL;
7960 }
7961
7962
7963 static PyObject * SashEvent_swigregister(PyObject *, PyObject *args) {
7964 PyObject *obj;
7965 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7966 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj);
7967 Py_INCREF(obj);
7968 return Py_BuildValue((char *)"");
7969 }
7970 static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *, PyObject *args, PyObject *kwargs) {
7971 PyObject *resultobj;
7972 int arg1 = (int) 0 ;
7973 wxQueryLayoutInfoEvent *result;
7974 PyObject * obj0 = 0 ;
7975 char *kwnames[] = {
7976 (char *) "id", NULL
7977 };
7978
7979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) goto fail;
7980 if (obj0) {
7981 arg1 = (int)SWIG_As_int(obj0);
7982 if (PyErr_Occurred()) SWIG_fail;
7983 }
7984 {
7985 PyThreadState* __tstate = wxPyBeginAllowThreads();
7986 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
7987
7988 wxPyEndAllowThreads(__tstate);
7989 if (PyErr_Occurred()) SWIG_fail;
7990 }
7991 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, 1);
7992 return resultobj;
7993 fail:
7994 return NULL;
7995 }
7996
7997
7998 static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *, PyObject *args, PyObject *kwargs) {
7999 PyObject *resultobj;
8000 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8001 int arg2 ;
8002 PyObject * obj0 = 0 ;
8003 PyObject * obj1 = 0 ;
8004 char *kwnames[] = {
8005 (char *) "self",(char *) "length", NULL
8006 };
8007
8008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) goto fail;
8009 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8010 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8011 arg2 = (int)SWIG_As_int(obj1);
8012 if (PyErr_Occurred()) SWIG_fail;
8013 {
8014 PyThreadState* __tstate = wxPyBeginAllowThreads();
8015 (arg1)->SetRequestedLength(arg2);
8016
8017 wxPyEndAllowThreads(__tstate);
8018 if (PyErr_Occurred()) SWIG_fail;
8019 }
8020 Py_INCREF(Py_None); resultobj = Py_None;
8021 return resultobj;
8022 fail:
8023 return NULL;
8024 }
8025
8026
8027 static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *, PyObject *args, PyObject *kwargs) {
8028 PyObject *resultobj;
8029 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8030 int result;
8031 PyObject * obj0 = 0 ;
8032 char *kwnames[] = {
8033 (char *) "self", NULL
8034 };
8035
8036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail;
8037 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8038 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8039 {
8040 PyThreadState* __tstate = wxPyBeginAllowThreads();
8041 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
8042
8043 wxPyEndAllowThreads(__tstate);
8044 if (PyErr_Occurred()) SWIG_fail;
8045 }
8046 resultobj = SWIG_From_int((int)result);
8047 return resultobj;
8048 fail:
8049 return NULL;
8050 }
8051
8052
8053 static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
8054 PyObject *resultobj;
8055 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8056 int arg2 ;
8057 PyObject * obj0 = 0 ;
8058 PyObject * obj1 = 0 ;
8059 char *kwnames[] = {
8060 (char *) "self",(char *) "flags", NULL
8061 };
8062
8063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
8064 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8065 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8066 arg2 = (int)SWIG_As_int(obj1);
8067 if (PyErr_Occurred()) SWIG_fail;
8068 {
8069 PyThreadState* __tstate = wxPyBeginAllowThreads();
8070 (arg1)->SetFlags(arg2);
8071
8072 wxPyEndAllowThreads(__tstate);
8073 if (PyErr_Occurred()) SWIG_fail;
8074 }
8075 Py_INCREF(Py_None); resultobj = Py_None;
8076 return resultobj;
8077 fail:
8078 return NULL;
8079 }
8080
8081
8082 static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
8083 PyObject *resultobj;
8084 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8085 int result;
8086 PyObject * obj0 = 0 ;
8087 char *kwnames[] = {
8088 (char *) "self", NULL
8089 };
8090
8091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail;
8092 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8093 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8094 {
8095 PyThreadState* __tstate = wxPyBeginAllowThreads();
8096 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
8097
8098 wxPyEndAllowThreads(__tstate);
8099 if (PyErr_Occurred()) SWIG_fail;
8100 }
8101 resultobj = SWIG_From_int((int)result);
8102 return resultobj;
8103 fail:
8104 return NULL;
8105 }
8106
8107
8108 static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
8109 PyObject *resultobj;
8110 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8111 wxSize *arg2 = 0 ;
8112 wxSize temp2 ;
8113 PyObject * obj0 = 0 ;
8114 PyObject * obj1 = 0 ;
8115 char *kwnames[] = {
8116 (char *) "self",(char *) "size", NULL
8117 };
8118
8119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
8120 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8121 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8122 {
8123 arg2 = &temp2;
8124 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
8125 }
8126 {
8127 PyThreadState* __tstate = wxPyBeginAllowThreads();
8128 (arg1)->SetSize((wxSize const &)*arg2);
8129
8130 wxPyEndAllowThreads(__tstate);
8131 if (PyErr_Occurred()) SWIG_fail;
8132 }
8133 Py_INCREF(Py_None); resultobj = Py_None;
8134 return resultobj;
8135 fail:
8136 return NULL;
8137 }
8138
8139
8140 static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
8141 PyObject *resultobj;
8142 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8143 wxSize result;
8144 PyObject * obj0 = 0 ;
8145 char *kwnames[] = {
8146 (char *) "self", NULL
8147 };
8148
8149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail;
8150 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8151 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8152 {
8153 PyThreadState* __tstate = wxPyBeginAllowThreads();
8154 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
8155
8156 wxPyEndAllowThreads(__tstate);
8157 if (PyErr_Occurred()) SWIG_fail;
8158 }
8159 {
8160 wxSize * resultptr;
8161 resultptr = new wxSize((wxSize &) result);
8162 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
8163 }
8164 return resultobj;
8165 fail:
8166 return NULL;
8167 }
8168
8169
8170 static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
8171 PyObject *resultobj;
8172 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8173 int arg2 ;
8174 PyObject * obj0 = 0 ;
8175 PyObject * obj1 = 0 ;
8176 char *kwnames[] = {
8177 (char *) "self",(char *) "orient", NULL
8178 };
8179
8180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
8181 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8182 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8183 arg2 = (int)SWIG_As_int(obj1);
8184 if (PyErr_Occurred()) SWIG_fail;
8185 {
8186 PyThreadState* __tstate = wxPyBeginAllowThreads();
8187 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
8188
8189 wxPyEndAllowThreads(__tstate);
8190 if (PyErr_Occurred()) SWIG_fail;
8191 }
8192 Py_INCREF(Py_None); resultobj = Py_None;
8193 return resultobj;
8194 fail:
8195 return NULL;
8196 }
8197
8198
8199 static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
8200 PyObject *resultobj;
8201 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8202 int result;
8203 PyObject * obj0 = 0 ;
8204 char *kwnames[] = {
8205 (char *) "self", NULL
8206 };
8207
8208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail;
8209 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8210 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8211 {
8212 PyThreadState* __tstate = wxPyBeginAllowThreads();
8213 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
8214
8215 wxPyEndAllowThreads(__tstate);
8216 if (PyErr_Occurred()) SWIG_fail;
8217 }
8218 resultobj = SWIG_From_int((int)result);
8219 return resultobj;
8220 fail:
8221 return NULL;
8222 }
8223
8224
8225 static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
8226 PyObject *resultobj;
8227 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8228 int arg2 ;
8229 PyObject * obj0 = 0 ;
8230 PyObject * obj1 = 0 ;
8231 char *kwnames[] = {
8232 (char *) "self",(char *) "align", NULL
8233 };
8234
8235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
8236 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8237 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8238 arg2 = (int)SWIG_As_int(obj1);
8239 if (PyErr_Occurred()) SWIG_fail;
8240 {
8241 PyThreadState* __tstate = wxPyBeginAllowThreads();
8242 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
8243
8244 wxPyEndAllowThreads(__tstate);
8245 if (PyErr_Occurred()) SWIG_fail;
8246 }
8247 Py_INCREF(Py_None); resultobj = Py_None;
8248 return resultobj;
8249 fail:
8250 return NULL;
8251 }
8252
8253
8254 static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
8255 PyObject *resultobj;
8256 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8257 int result;
8258 PyObject * obj0 = 0 ;
8259 char *kwnames[] = {
8260 (char *) "self", NULL
8261 };
8262
8263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail;
8264 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8266 {
8267 PyThreadState* __tstate = wxPyBeginAllowThreads();
8268 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
8269
8270 wxPyEndAllowThreads(__tstate);
8271 if (PyErr_Occurred()) SWIG_fail;
8272 }
8273 resultobj = SWIG_From_int((int)result);
8274 return resultobj;
8275 fail:
8276 return NULL;
8277 }
8278
8279
8280 static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *, PyObject *args) {
8281 PyObject *obj;
8282 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8283 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj);
8284 Py_INCREF(obj);
8285 return Py_BuildValue((char *)"");
8286 }
8287 static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *, PyObject *args, PyObject *kwargs) {
8288 PyObject *resultobj;
8289 int arg1 = (int) 0 ;
8290 wxCalculateLayoutEvent *result;
8291 PyObject * obj0 = 0 ;
8292 char *kwnames[] = {
8293 (char *) "id", NULL
8294 };
8295
8296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) goto fail;
8297 if (obj0) {
8298 arg1 = (int)SWIG_As_int(obj0);
8299 if (PyErr_Occurred()) SWIG_fail;
8300 }
8301 {
8302 PyThreadState* __tstate = wxPyBeginAllowThreads();
8303 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
8304
8305 wxPyEndAllowThreads(__tstate);
8306 if (PyErr_Occurred()) SWIG_fail;
8307 }
8308 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCalculateLayoutEvent, 1);
8309 return resultobj;
8310 fail:
8311 return NULL;
8312 }
8313
8314
8315 static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
8316 PyObject *resultobj;
8317 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
8318 int arg2 ;
8319 PyObject * obj0 = 0 ;
8320 PyObject * obj1 = 0 ;
8321 char *kwnames[] = {
8322 (char *) "self",(char *) "flags", NULL
8323 };
8324
8325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
8326 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
8327 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8328 arg2 = (int)SWIG_As_int(obj1);
8329 if (PyErr_Occurred()) SWIG_fail;
8330 {
8331 PyThreadState* __tstate = wxPyBeginAllowThreads();
8332 (arg1)->SetFlags(arg2);
8333
8334 wxPyEndAllowThreads(__tstate);
8335 if (PyErr_Occurred()) SWIG_fail;
8336 }
8337 Py_INCREF(Py_None); resultobj = Py_None;
8338 return resultobj;
8339 fail:
8340 return NULL;
8341 }
8342
8343
8344 static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
8345 PyObject *resultobj;
8346 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
8347 int result;
8348 PyObject * obj0 = 0 ;
8349 char *kwnames[] = {
8350 (char *) "self", NULL
8351 };
8352
8353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail;
8354 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
8355 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8356 {
8357 PyThreadState* __tstate = wxPyBeginAllowThreads();
8358 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
8359
8360 wxPyEndAllowThreads(__tstate);
8361 if (PyErr_Occurred()) SWIG_fail;
8362 }
8363 resultobj = SWIG_From_int((int)result);
8364 return resultobj;
8365 fail:
8366 return NULL;
8367 }
8368
8369
8370 static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *, PyObject *args, PyObject *kwargs) {
8371 PyObject *resultobj;
8372 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
8373 wxRect *arg2 = 0 ;
8374 wxRect temp2 ;
8375 PyObject * obj0 = 0 ;
8376 PyObject * obj1 = 0 ;
8377 char *kwnames[] = {
8378 (char *) "self",(char *) "rect", NULL
8379 };
8380
8381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
8382 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
8383 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8384 {
8385 arg2 = &temp2;
8386 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
8387 }
8388 {
8389 PyThreadState* __tstate = wxPyBeginAllowThreads();
8390 (arg1)->SetRect((wxRect const &)*arg2);
8391
8392 wxPyEndAllowThreads(__tstate);
8393 if (PyErr_Occurred()) SWIG_fail;
8394 }
8395 Py_INCREF(Py_None); resultobj = Py_None;
8396 return resultobj;
8397 fail:
8398 return NULL;
8399 }
8400
8401
8402 static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *, PyObject *args, PyObject *kwargs) {
8403 PyObject *resultobj;
8404 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
8405 wxRect result;
8406 PyObject * obj0 = 0 ;
8407 char *kwnames[] = {
8408 (char *) "self", NULL
8409 };
8410
8411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail;
8412 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
8413 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8414 {
8415 PyThreadState* __tstate = wxPyBeginAllowThreads();
8416 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
8417
8418 wxPyEndAllowThreads(__tstate);
8419 if (PyErr_Occurred()) SWIG_fail;
8420 }
8421 {
8422 wxRect * resultptr;
8423 resultptr = new wxRect((wxRect &) result);
8424 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
8425 }
8426 return resultobj;
8427 fail:
8428 return NULL;
8429 }
8430
8431
8432 static PyObject * CalculateLayoutEvent_swigregister(PyObject *, PyObject *args) {
8433 PyObject *obj;
8434 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8435 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj);
8436 Py_INCREF(obj);
8437 return Py_BuildValue((char *)"");
8438 }
8439 static PyObject *_wrap_new_SashLayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8440 PyObject *resultobj;
8441 wxWindow *arg1 = (wxWindow *) 0 ;
8442 int arg2 = (int) -1 ;
8443 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8444 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8445 wxSize const &arg4_defvalue = wxDefaultSize ;
8446 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8447 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
8448 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
8449 wxString *arg6 = (wxString *) &arg6_defvalue ;
8450 wxSashLayoutWindow *result;
8451 wxPoint temp3 ;
8452 wxSize temp4 ;
8453 bool temp6 = False ;
8454 PyObject * obj0 = 0 ;
8455 PyObject * obj1 = 0 ;
8456 PyObject * obj2 = 0 ;
8457 PyObject * obj3 = 0 ;
8458 PyObject * obj4 = 0 ;
8459 PyObject * obj5 = 0 ;
8460 char *kwnames[] = {
8461 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8462 };
8463
8464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
8465 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8466 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8467 if (obj1) {
8468 arg2 = (int)SWIG_As_int(obj1);
8469 if (PyErr_Occurred()) SWIG_fail;
8470 }
8471 if (obj2) {
8472 {
8473 arg3 = &temp3;
8474 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8475 }
8476 }
8477 if (obj3) {
8478 {
8479 arg4 = &temp4;
8480 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8481 }
8482 }
8483 if (obj4) {
8484 arg5 = (long)SWIG_As_long(obj4);
8485 if (PyErr_Occurred()) SWIG_fail;
8486 }
8487 if (obj5) {
8488 {
8489 arg6 = wxString_in_helper(obj5);
8490 if (arg6 == NULL) SWIG_fail;
8491 temp6 = True;
8492 }
8493 }
8494 {
8495 if (!wxPyCheckForApp()) SWIG_fail;
8496 PyThreadState* __tstate = wxPyBeginAllowThreads();
8497 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8498
8499 wxPyEndAllowThreads(__tstate);
8500 if (PyErr_Occurred()) SWIG_fail;
8501 }
8502 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
8503 {
8504 if (temp6)
8505 delete arg6;
8506 }
8507 return resultobj;
8508 fail:
8509 {
8510 if (temp6)
8511 delete arg6;
8512 }
8513 return NULL;
8514 }
8515
8516
8517 static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8518 PyObject *resultobj;
8519 wxSashLayoutWindow *result;
8520 char *kwnames[] = {
8521 NULL
8522 };
8523
8524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail;
8525 {
8526 if (!wxPyCheckForApp()) SWIG_fail;
8527 PyThreadState* __tstate = wxPyBeginAllowThreads();
8528 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
8529
8530 wxPyEndAllowThreads(__tstate);
8531 if (PyErr_Occurred()) SWIG_fail;
8532 }
8533 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
8534 return resultobj;
8535 fail:
8536 return NULL;
8537 }
8538
8539
8540 static PyObject *_wrap_SashLayoutWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
8541 PyObject *resultobj;
8542 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8543 wxWindow *arg2 = (wxWindow *) 0 ;
8544 int arg3 = (int) -1 ;
8545 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8546 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8547 wxSize const &arg5_defvalue = wxDefaultSize ;
8548 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8549 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
8550 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
8551 wxString *arg7 = (wxString *) &arg7_defvalue ;
8552 bool result;
8553 wxPoint temp4 ;
8554 wxSize temp5 ;
8555 bool temp7 = False ;
8556 PyObject * obj0 = 0 ;
8557 PyObject * obj1 = 0 ;
8558 PyObject * obj2 = 0 ;
8559 PyObject * obj3 = 0 ;
8560 PyObject * obj4 = 0 ;
8561 PyObject * obj5 = 0 ;
8562 PyObject * obj6 = 0 ;
8563 char *kwnames[] = {
8564 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8565 };
8566
8567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
8568 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8569 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8570 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8571 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8572 if (obj2) {
8573 arg3 = (int)SWIG_As_int(obj2);
8574 if (PyErr_Occurred()) SWIG_fail;
8575 }
8576 if (obj3) {
8577 {
8578 arg4 = &temp4;
8579 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8580 }
8581 }
8582 if (obj4) {
8583 {
8584 arg5 = &temp5;
8585 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8586 }
8587 }
8588 if (obj5) {
8589 arg6 = (long)SWIG_As_long(obj5);
8590 if (PyErr_Occurred()) SWIG_fail;
8591 }
8592 if (obj6) {
8593 {
8594 arg7 = wxString_in_helper(obj6);
8595 if (arg7 == NULL) SWIG_fail;
8596 temp7 = True;
8597 }
8598 }
8599 {
8600 PyThreadState* __tstate = wxPyBeginAllowThreads();
8601 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8602
8603 wxPyEndAllowThreads(__tstate);
8604 if (PyErr_Occurred()) SWIG_fail;
8605 }
8606 {
8607 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8608 }
8609 {
8610 if (temp7)
8611 delete arg7;
8612 }
8613 return resultobj;
8614 fail:
8615 {
8616 if (temp7)
8617 delete arg7;
8618 }
8619 return NULL;
8620 }
8621
8622
8623 static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
8624 PyObject *resultobj;
8625 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8626 int result;
8627 PyObject * obj0 = 0 ;
8628 char *kwnames[] = {
8629 (char *) "self", NULL
8630 };
8631
8632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail;
8633 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8634 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8635 {
8636 PyThreadState* __tstate = wxPyBeginAllowThreads();
8637 result = (int)(arg1)->GetAlignment();
8638
8639 wxPyEndAllowThreads(__tstate);
8640 if (PyErr_Occurred()) SWIG_fail;
8641 }
8642 resultobj = SWIG_From_int((int)result);
8643 return resultobj;
8644 fail:
8645 return NULL;
8646 }
8647
8648
8649 static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
8650 PyObject *resultobj;
8651 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8652 int result;
8653 PyObject * obj0 = 0 ;
8654 char *kwnames[] = {
8655 (char *) "self", NULL
8656 };
8657
8658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail;
8659 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8660 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8661 {
8662 PyThreadState* __tstate = wxPyBeginAllowThreads();
8663 result = (int)(arg1)->GetOrientation();
8664
8665 wxPyEndAllowThreads(__tstate);
8666 if (PyErr_Occurred()) SWIG_fail;
8667 }
8668 resultobj = SWIG_From_int((int)result);
8669 return resultobj;
8670 fail:
8671 return NULL;
8672 }
8673
8674
8675 static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
8676 PyObject *resultobj;
8677 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8678 int arg2 ;
8679 PyObject * obj0 = 0 ;
8680 PyObject * obj1 = 0 ;
8681 char *kwnames[] = {
8682 (char *) "self",(char *) "alignment", NULL
8683 };
8684
8685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
8686 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8687 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8688 arg2 = (int)SWIG_As_int(obj1);
8689 if (PyErr_Occurred()) SWIG_fail;
8690 {
8691 PyThreadState* __tstate = wxPyBeginAllowThreads();
8692 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
8693
8694 wxPyEndAllowThreads(__tstate);
8695 if (PyErr_Occurred()) SWIG_fail;
8696 }
8697 Py_INCREF(Py_None); resultobj = Py_None;
8698 return resultobj;
8699 fail:
8700 return NULL;
8701 }
8702
8703
8704 static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) {
8705 PyObject *resultobj;
8706 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8707 wxSize *arg2 = 0 ;
8708 wxSize temp2 ;
8709 PyObject * obj0 = 0 ;
8710 PyObject * obj1 = 0 ;
8711 char *kwnames[] = {
8712 (char *) "self",(char *) "size", NULL
8713 };
8714
8715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail;
8716 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8717 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8718 {
8719 arg2 = &temp2;
8720 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
8721 }
8722 {
8723 PyThreadState* __tstate = wxPyBeginAllowThreads();
8724 (arg1)->SetDefaultSize((wxSize const &)*arg2);
8725
8726 wxPyEndAllowThreads(__tstate);
8727 if (PyErr_Occurred()) SWIG_fail;
8728 }
8729 Py_INCREF(Py_None); resultobj = Py_None;
8730 return resultobj;
8731 fail:
8732 return NULL;
8733 }
8734
8735
8736 static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
8737 PyObject *resultobj;
8738 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8739 int arg2 ;
8740 PyObject * obj0 = 0 ;
8741 PyObject * obj1 = 0 ;
8742 char *kwnames[] = {
8743 (char *) "self",(char *) "orientation", NULL
8744 };
8745
8746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
8747 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8748 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8749 arg2 = (int)SWIG_As_int(obj1);
8750 if (PyErr_Occurred()) SWIG_fail;
8751 {
8752 PyThreadState* __tstate = wxPyBeginAllowThreads();
8753 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
8754
8755 wxPyEndAllowThreads(__tstate);
8756 if (PyErr_Occurred()) SWIG_fail;
8757 }
8758 Py_INCREF(Py_None); resultobj = Py_None;
8759 return resultobj;
8760 fail:
8761 return NULL;
8762 }
8763
8764
8765 static PyObject * SashLayoutWindow_swigregister(PyObject *, PyObject *args) {
8766 PyObject *obj;
8767 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8768 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj);
8769 Py_INCREF(obj);
8770 return Py_BuildValue((char *)"");
8771 }
8772 static PyObject *_wrap_new_LayoutAlgorithm(PyObject *, PyObject *args, PyObject *kwargs) {
8773 PyObject *resultobj;
8774 wxLayoutAlgorithm *result;
8775 char *kwnames[] = {
8776 NULL
8777 };
8778
8779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail;
8780 {
8781 PyThreadState* __tstate = wxPyBeginAllowThreads();
8782 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
8783
8784 wxPyEndAllowThreads(__tstate);
8785 if (PyErr_Occurred()) SWIG_fail;
8786 }
8787 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutAlgorithm, 1);
8788 return resultobj;
8789 fail:
8790 return NULL;
8791 }
8792
8793
8794 static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *, PyObject *args, PyObject *kwargs) {
8795 PyObject *resultobj;
8796 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8797 PyObject * obj0 = 0 ;
8798 char *kwnames[] = {
8799 (char *) "self", NULL
8800 };
8801
8802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail;
8803 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8804 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8805 {
8806 PyThreadState* __tstate = wxPyBeginAllowThreads();
8807 delete arg1;
8808
8809 wxPyEndAllowThreads(__tstate);
8810 if (PyErr_Occurred()) SWIG_fail;
8811 }
8812 Py_INCREF(Py_None); resultobj = Py_None;
8813 return resultobj;
8814 fail:
8815 return NULL;
8816 }
8817
8818
8819 static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *, PyObject *args, PyObject *kwargs) {
8820 PyObject *resultobj;
8821 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8822 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
8823 wxRect *arg3 = (wxRect *) NULL ;
8824 bool result;
8825 PyObject * obj0 = 0 ;
8826 PyObject * obj1 = 0 ;
8827 PyObject * obj2 = 0 ;
8828 char *kwnames[] = {
8829 (char *) "self",(char *) "frame",(char *) "rect", NULL
8830 };
8831
8832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
8833 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8834 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8835 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
8836 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8837 if (obj2) {
8838 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxRect,
8839 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8840 }
8841 {
8842 PyThreadState* __tstate = wxPyBeginAllowThreads();
8843 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
8844
8845 wxPyEndAllowThreads(__tstate);
8846 if (PyErr_Occurred()) SWIG_fail;
8847 }
8848 {
8849 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8850 }
8851 return resultobj;
8852 fail:
8853 return NULL;
8854 }
8855
8856
8857 static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *, PyObject *args, PyObject *kwargs) {
8858 PyObject *resultobj;
8859 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8860 wxFrame *arg2 = (wxFrame *) 0 ;
8861 wxWindow *arg3 = (wxWindow *) NULL ;
8862 bool result;
8863 PyObject * obj0 = 0 ;
8864 PyObject * obj1 = 0 ;
8865 PyObject * obj2 = 0 ;
8866 char *kwnames[] = {
8867 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
8868 };
8869
8870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
8871 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8872 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8873 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
8874 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8875 if (obj2) {
8876 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
8877 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8878 }
8879 {
8880 PyThreadState* __tstate = wxPyBeginAllowThreads();
8881 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
8882
8883 wxPyEndAllowThreads(__tstate);
8884 if (PyErr_Occurred()) SWIG_fail;
8885 }
8886 {
8887 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8888 }
8889 return resultobj;
8890 fail:
8891 return NULL;
8892 }
8893
8894
8895 static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8896 PyObject *resultobj;
8897 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8898 wxWindow *arg2 = (wxWindow *) 0 ;
8899 wxWindow *arg3 = (wxWindow *) NULL ;
8900 bool result;
8901 PyObject * obj0 = 0 ;
8902 PyObject * obj1 = 0 ;
8903 PyObject * obj2 = 0 ;
8904 char *kwnames[] = {
8905 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
8906 };
8907
8908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
8909 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8910 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8911 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8912 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8913 if (obj2) {
8914 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
8915 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8916 }
8917 {
8918 PyThreadState* __tstate = wxPyBeginAllowThreads();
8919 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
8920
8921 wxPyEndAllowThreads(__tstate);
8922 if (PyErr_Occurred()) SWIG_fail;
8923 }
8924 {
8925 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8926 }
8927 return resultobj;
8928 fail:
8929 return NULL;
8930 }
8931
8932
8933 static PyObject * LayoutAlgorithm_swigregister(PyObject *, PyObject *args) {
8934 PyObject *obj;
8935 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8936 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj);
8937 Py_INCREF(obj);
8938 return Py_BuildValue((char *)"");
8939 }
8940 static PyObject *_wrap_new_PopupWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8941 PyObject *resultobj;
8942 wxWindow *arg1 = (wxWindow *) 0 ;
8943 int arg2 = (int) wxBORDER_NONE ;
8944 wxPopupWindow *result;
8945 PyObject * obj0 = 0 ;
8946 PyObject * obj1 = 0 ;
8947 char *kwnames[] = {
8948 (char *) "parent",(char *) "flags", NULL
8949 };
8950
8951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) goto fail;
8952 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8953 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8954 if (obj1) {
8955 arg2 = (int)SWIG_As_int(obj1);
8956 if (PyErr_Occurred()) SWIG_fail;
8957 }
8958 {
8959 if (!wxPyCheckForApp()) SWIG_fail;
8960 PyThreadState* __tstate = wxPyBeginAllowThreads();
8961 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
8962
8963 wxPyEndAllowThreads(__tstate);
8964 if (PyErr_Occurred()) SWIG_fail;
8965 }
8966 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
8967 return resultobj;
8968 fail:
8969 return NULL;
8970 }
8971
8972
8973 static PyObject *_wrap_new_PrePopupWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8974 PyObject *resultobj;
8975 wxPopupWindow *result;
8976 char *kwnames[] = {
8977 NULL
8978 };
8979
8980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail;
8981 {
8982 if (!wxPyCheckForApp()) SWIG_fail;
8983 PyThreadState* __tstate = wxPyBeginAllowThreads();
8984 result = (wxPopupWindow *)new wxPopupWindow();
8985
8986 wxPyEndAllowThreads(__tstate);
8987 if (PyErr_Occurred()) SWIG_fail;
8988 }
8989 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
8990 return resultobj;
8991 fail:
8992 return NULL;
8993 }
8994
8995
8996 static PyObject *_wrap_PopupWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
8997 PyObject *resultobj;
8998 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
8999 wxWindow *arg2 = (wxWindow *) 0 ;
9000 int arg3 = (int) wxBORDER_NONE ;
9001 bool result;
9002 PyObject * obj0 = 0 ;
9003 PyObject * obj1 = 0 ;
9004 PyObject * obj2 = 0 ;
9005 char *kwnames[] = {
9006 (char *) "self",(char *) "parent",(char *) "flags", NULL
9007 };
9008
9009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PopupWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
9010 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPopupWindow,
9011 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9012 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
9013 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9014 if (obj2) {
9015 arg3 = (int)SWIG_As_int(obj2);
9016 if (PyErr_Occurred()) SWIG_fail;
9017 }
9018 {
9019 PyThreadState* __tstate = wxPyBeginAllowThreads();
9020 result = (bool)(arg1)->Create(arg2,arg3);
9021
9022 wxPyEndAllowThreads(__tstate);
9023 if (PyErr_Occurred()) SWIG_fail;
9024 }
9025 {
9026 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9027 }
9028 return resultobj;
9029 fail:
9030 return NULL;
9031 }
9032
9033
9034 static PyObject *_wrap_PopupWindow_Position(PyObject *, PyObject *args, PyObject *kwargs) {
9035 PyObject *resultobj;
9036 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
9037 wxPoint *arg2 = 0 ;
9038 wxSize *arg3 = 0 ;
9039 wxPoint temp2 ;
9040 wxSize temp3 ;
9041 PyObject * obj0 = 0 ;
9042 PyObject * obj1 = 0 ;
9043 PyObject * obj2 = 0 ;
9044 char *kwnames[] = {
9045 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
9046 };
9047
9048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) goto fail;
9049 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPopupWindow,
9050 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9051 {
9052 arg2 = &temp2;
9053 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9054 }
9055 {
9056 arg3 = &temp3;
9057 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
9058 }
9059 {
9060 PyThreadState* __tstate = wxPyBeginAllowThreads();
9061 (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3);
9062
9063 wxPyEndAllowThreads(__tstate);
9064 if (PyErr_Occurred()) SWIG_fail;
9065 }
9066 Py_INCREF(Py_None); resultobj = Py_None;
9067 return resultobj;
9068 fail:
9069 return NULL;
9070 }
9071
9072
9073 static PyObject * PopupWindow_swigregister(PyObject *, PyObject *args) {
9074 PyObject *obj;
9075 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9076 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj);
9077 Py_INCREF(obj);
9078 return Py_BuildValue((char *)"");
9079 }
9080 static PyObject *_wrap_new_PopupTransientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
9081 PyObject *resultobj;
9082 wxWindow *arg1 = (wxWindow *) 0 ;
9083 int arg2 = (int) wxBORDER_NONE ;
9084 wxPyPopupTransientWindow *result;
9085 PyObject * obj0 = 0 ;
9086 PyObject * obj1 = 0 ;
9087 char *kwnames[] = {
9088 (char *) "parent",(char *) "style", NULL
9089 };
9090
9091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) goto fail;
9092 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9093 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9094 if (obj1) {
9095 arg2 = (int)SWIG_As_int(obj1);
9096 if (PyErr_Occurred()) SWIG_fail;
9097 }
9098 {
9099 if (!wxPyCheckForApp()) SWIG_fail;
9100 PyThreadState* __tstate = wxPyBeginAllowThreads();
9101 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
9102
9103 wxPyEndAllowThreads(__tstate);
9104 if (PyErr_Occurred()) SWIG_fail;
9105 }
9106 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
9107 return resultobj;
9108 fail:
9109 return NULL;
9110 }
9111
9112
9113 static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
9114 PyObject *resultobj;
9115 wxPyPopupTransientWindow *result;
9116 char *kwnames[] = {
9117 NULL
9118 };
9119
9120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail;
9121 {
9122 if (!wxPyCheckForApp()) SWIG_fail;
9123 PyThreadState* __tstate = wxPyBeginAllowThreads();
9124 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
9125
9126 wxPyEndAllowThreads(__tstate);
9127 if (PyErr_Occurred()) SWIG_fail;
9128 }
9129 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
9130 return resultobj;
9131 fail:
9132 return NULL;
9133 }
9134
9135
9136 static PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
9137 PyObject *resultobj;
9138 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
9139 PyObject *arg2 = (PyObject *) 0 ;
9140 PyObject *arg3 = (PyObject *) 0 ;
9141 PyObject * obj0 = 0 ;
9142 PyObject * obj1 = 0 ;
9143 PyObject * obj2 = 0 ;
9144 char *kwnames[] = {
9145 (char *) "self",(char *) "self",(char *) "_class", NULL
9146 };
9147
9148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
9149 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow,
9150 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9151 arg2 = obj1;
9152 arg3 = obj2;
9153 {
9154 PyThreadState* __tstate = wxPyBeginAllowThreads();
9155 (arg1)->_setCallbackInfo(arg2,arg3);
9156
9157 wxPyEndAllowThreads(__tstate);
9158 if (PyErr_Occurred()) SWIG_fail;
9159 }
9160 Py_INCREF(Py_None); resultobj = Py_None;
9161 return resultobj;
9162 fail:
9163 return NULL;
9164 }
9165
9166
9167 static PyObject *_wrap_PopupTransientWindow_Popup(PyObject *, PyObject *args, PyObject *kwargs) {
9168 PyObject *resultobj;
9169 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
9170 wxWindow *arg2 = (wxWindow *) NULL ;
9171 PyObject * obj0 = 0 ;
9172 PyObject * obj1 = 0 ;
9173 char *kwnames[] = {
9174 (char *) "self",(char *) "focus", NULL
9175 };
9176
9177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) goto fail;
9178 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow,
9179 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9180 if (obj1) {
9181 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
9182 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9183 }
9184 {
9185 PyThreadState* __tstate = wxPyBeginAllowThreads();
9186 (arg1)->Popup(arg2);
9187
9188 wxPyEndAllowThreads(__tstate);
9189 if (PyErr_Occurred()) SWIG_fail;
9190 }
9191 Py_INCREF(Py_None); resultobj = Py_None;
9192 return resultobj;
9193 fail:
9194 return NULL;
9195 }
9196
9197
9198 static PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *, PyObject *args, PyObject *kwargs) {
9199 PyObject *resultobj;
9200 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
9201 PyObject * obj0 = 0 ;
9202 char *kwnames[] = {
9203 (char *) "self", NULL
9204 };
9205
9206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PopupTransientWindow_Dismiss",kwnames,&obj0)) goto fail;
9207 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow,
9208 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9209 {
9210 PyThreadState* __tstate = wxPyBeginAllowThreads();
9211 (arg1)->Dismiss();
9212
9213 wxPyEndAllowThreads(__tstate);
9214 if (PyErr_Occurred()) SWIG_fail;
9215 }
9216 Py_INCREF(Py_None); resultobj = Py_None;
9217 return resultobj;
9218 fail:
9219 return NULL;
9220 }
9221
9222
9223 static PyObject * PopupTransientWindow_swigregister(PyObject *, PyObject *args) {
9224 PyObject *obj;
9225 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9226 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj);
9227 Py_INCREF(obj);
9228 return Py_BuildValue((char *)"");
9229 }
9230 static PyObject *_wrap_new_TipWindow(PyObject *, PyObject *args, PyObject *kwargs) {
9231 PyObject *resultobj;
9232 wxWindow *arg1 = (wxWindow *) 0 ;
9233 wxString *arg2 = 0 ;
9234 int arg3 = (int) 100 ;
9235 wxRect *arg4 = (wxRect *) NULL ;
9236 wxTipWindow *result;
9237 bool temp2 = False ;
9238 PyObject * obj0 = 0 ;
9239 PyObject * obj1 = 0 ;
9240 PyObject * obj2 = 0 ;
9241 PyObject * obj3 = 0 ;
9242 char *kwnames[] = {
9243 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
9244 };
9245
9246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9247 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9248 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9249 {
9250 arg2 = wxString_in_helper(obj1);
9251 if (arg2 == NULL) SWIG_fail;
9252 temp2 = True;
9253 }
9254 if (obj2) {
9255 arg3 = (int)SWIG_As_int(obj2);
9256 if (PyErr_Occurred()) SWIG_fail;
9257 }
9258 if (obj3) {
9259 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxRect,
9260 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9261 }
9262 {
9263 if (!wxPyCheckForApp()) SWIG_fail;
9264 PyThreadState* __tstate = wxPyBeginAllowThreads();
9265 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
9266
9267 wxPyEndAllowThreads(__tstate);
9268 if (PyErr_Occurred()) SWIG_fail;
9269 }
9270 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTipWindow, 1);
9271 {
9272 if (temp2)
9273 delete arg2;
9274 }
9275 return resultobj;
9276 fail:
9277 {
9278 if (temp2)
9279 delete arg2;
9280 }
9281 return NULL;
9282 }
9283
9284
9285 static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *, PyObject *args, PyObject *kwargs) {
9286 PyObject *resultobj;
9287 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
9288 wxRect *arg2 = 0 ;
9289 wxRect temp2 ;
9290 PyObject * obj0 = 0 ;
9291 PyObject * obj1 = 0 ;
9292 char *kwnames[] = {
9293 (char *) "self",(char *) "rectBound", NULL
9294 };
9295
9296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail;
9297 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow,
9298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9299 {
9300 arg2 = &temp2;
9301 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
9302 }
9303 {
9304 PyThreadState* __tstate = wxPyBeginAllowThreads();
9305 (arg1)->SetBoundingRect((wxRect const &)*arg2);
9306
9307 wxPyEndAllowThreads(__tstate);
9308 if (PyErr_Occurred()) SWIG_fail;
9309 }
9310 Py_INCREF(Py_None); resultobj = Py_None;
9311 return resultobj;
9312 fail:
9313 return NULL;
9314 }
9315
9316
9317 static PyObject *_wrap_TipWindow_Close(PyObject *, PyObject *args, PyObject *kwargs) {
9318 PyObject *resultobj;
9319 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
9320 PyObject * obj0 = 0 ;
9321 char *kwnames[] = {
9322 (char *) "self", NULL
9323 };
9324
9325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail;
9326 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow,
9327 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9328 {
9329 PyThreadState* __tstate = wxPyBeginAllowThreads();
9330 (arg1)->Close();
9331
9332 wxPyEndAllowThreads(__tstate);
9333 if (PyErr_Occurred()) SWIG_fail;
9334 }
9335 Py_INCREF(Py_None); resultobj = Py_None;
9336 return resultobj;
9337 fail:
9338 return NULL;
9339 }
9340
9341
9342 static PyObject * TipWindow_swigregister(PyObject *, PyObject *args) {
9343 PyObject *obj;
9344 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9345 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj);
9346 Py_INCREF(obj);
9347 return Py_BuildValue((char *)"");
9348 }
9349 static PyObject *_wrap_new_VScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
9350 PyObject *resultobj;
9351 wxWindow *arg1 = (wxWindow *) 0 ;
9352 int arg2 = (int) wxID_ANY ;
9353 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9354 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9355 wxSize const &arg4_defvalue = wxDefaultSize ;
9356 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9357 long arg5 = (long) 0 ;
9358 wxString const &arg6_defvalue = wxPyPanelNameStr ;
9359 wxString *arg6 = (wxString *) &arg6_defvalue ;
9360 wxPyVScrolledWindow *result;
9361 wxPoint temp3 ;
9362 wxSize temp4 ;
9363 bool temp6 = False ;
9364 PyObject * obj0 = 0 ;
9365 PyObject * obj1 = 0 ;
9366 PyObject * obj2 = 0 ;
9367 PyObject * obj3 = 0 ;
9368 PyObject * obj4 = 0 ;
9369 PyObject * obj5 = 0 ;
9370 char *kwnames[] = {
9371 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9372 };
9373
9374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9375 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9376 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9377 if (obj1) {
9378 arg2 = (int)SWIG_As_int(obj1);
9379 if (PyErr_Occurred()) SWIG_fail;
9380 }
9381 if (obj2) {
9382 {
9383 arg3 = &temp3;
9384 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9385 }
9386 }
9387 if (obj3) {
9388 {
9389 arg4 = &temp4;
9390 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9391 }
9392 }
9393 if (obj4) {
9394 arg5 = (long)SWIG_As_long(obj4);
9395 if (PyErr_Occurred()) SWIG_fail;
9396 }
9397 if (obj5) {
9398 {
9399 arg6 = wxString_in_helper(obj5);
9400 if (arg6 == NULL) SWIG_fail;
9401 temp6 = True;
9402 }
9403 }
9404 {
9405 if (!wxPyCheckForApp()) SWIG_fail;
9406 PyThreadState* __tstate = wxPyBeginAllowThreads();
9407 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9408
9409 wxPyEndAllowThreads(__tstate);
9410 if (PyErr_Occurred()) SWIG_fail;
9411 }
9412 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
9413 {
9414 if (temp6)
9415 delete arg6;
9416 }
9417 return resultobj;
9418 fail:
9419 {
9420 if (temp6)
9421 delete arg6;
9422 }
9423 return NULL;
9424 }
9425
9426
9427 static PyObject *_wrap_new_PreVScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
9428 PyObject *resultobj;
9429 wxPyVScrolledWindow *result;
9430 char *kwnames[] = {
9431 NULL
9432 };
9433
9434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail;
9435 {
9436 if (!wxPyCheckForApp()) SWIG_fail;
9437 PyThreadState* __tstate = wxPyBeginAllowThreads();
9438 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
9439
9440 wxPyEndAllowThreads(__tstate);
9441 if (PyErr_Occurred()) SWIG_fail;
9442 }
9443 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
9444 return resultobj;
9445 fail:
9446 return NULL;
9447 }
9448
9449
9450 static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
9451 PyObject *resultobj;
9452 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9453 PyObject *arg2 = (PyObject *) 0 ;
9454 PyObject *arg3 = (PyObject *) 0 ;
9455 PyObject * obj0 = 0 ;
9456 PyObject * obj1 = 0 ;
9457 PyObject * obj2 = 0 ;
9458 char *kwnames[] = {
9459 (char *) "self",(char *) "self",(char *) "_class", NULL
9460 };
9461
9462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
9463 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9464 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9465 arg2 = obj1;
9466 arg3 = obj2;
9467 {
9468 PyThreadState* __tstate = wxPyBeginAllowThreads();
9469 (arg1)->_setCallbackInfo(arg2,arg3);
9470
9471 wxPyEndAllowThreads(__tstate);
9472 if (PyErr_Occurred()) SWIG_fail;
9473 }
9474 Py_INCREF(Py_None); resultobj = Py_None;
9475 return resultobj;
9476 fail:
9477 return NULL;
9478 }
9479
9480
9481 static PyObject *_wrap_VScrolledWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
9482 PyObject *resultobj;
9483 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9484 wxWindow *arg2 = (wxWindow *) 0 ;
9485 int arg3 = (int) wxID_ANY ;
9486 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9487 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9488 wxSize const &arg5_defvalue = wxDefaultSize ;
9489 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9490 long arg6 = (long) 0 ;
9491 wxString const &arg7_defvalue = wxPyPanelNameStr ;
9492 wxString *arg7 = (wxString *) &arg7_defvalue ;
9493 bool result;
9494 wxPoint temp4 ;
9495 wxSize temp5 ;
9496 bool temp7 = False ;
9497 PyObject * obj0 = 0 ;
9498 PyObject * obj1 = 0 ;
9499 PyObject * obj2 = 0 ;
9500 PyObject * obj3 = 0 ;
9501 PyObject * obj4 = 0 ;
9502 PyObject * obj5 = 0 ;
9503 PyObject * obj6 = 0 ;
9504 char *kwnames[] = {
9505 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9506 };
9507
9508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
9509 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9510 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9511 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
9512 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9513 if (obj2) {
9514 arg3 = (int)SWIG_As_int(obj2);
9515 if (PyErr_Occurred()) SWIG_fail;
9516 }
9517 if (obj3) {
9518 {
9519 arg4 = &temp4;
9520 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9521 }
9522 }
9523 if (obj4) {
9524 {
9525 arg5 = &temp5;
9526 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9527 }
9528 }
9529 if (obj5) {
9530 arg6 = (long)SWIG_As_long(obj5);
9531 if (PyErr_Occurred()) SWIG_fail;
9532 }
9533 if (obj6) {
9534 {
9535 arg7 = wxString_in_helper(obj6);
9536 if (arg7 == NULL) SWIG_fail;
9537 temp7 = True;
9538 }
9539 }
9540 {
9541 PyThreadState* __tstate = wxPyBeginAllowThreads();
9542 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9543
9544 wxPyEndAllowThreads(__tstate);
9545 if (PyErr_Occurred()) SWIG_fail;
9546 }
9547 {
9548 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9549 }
9550 {
9551 if (temp7)
9552 delete arg7;
9553 }
9554 return resultobj;
9555 fail:
9556 {
9557 if (temp7)
9558 delete arg7;
9559 }
9560 return NULL;
9561 }
9562
9563
9564 static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *, PyObject *args, PyObject *kwargs) {
9565 PyObject *resultobj;
9566 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9567 size_t arg2 ;
9568 PyObject * obj0 = 0 ;
9569 PyObject * obj1 = 0 ;
9570 char *kwnames[] = {
9571 (char *) "self",(char *) "count", NULL
9572 };
9573
9574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) goto fail;
9575 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9576 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9577 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
9578 if (PyErr_Occurred()) SWIG_fail;
9579 {
9580 PyThreadState* __tstate = wxPyBeginAllowThreads();
9581 (arg1)->SetLineCount(arg2);
9582
9583 wxPyEndAllowThreads(__tstate);
9584 if (PyErr_Occurred()) SWIG_fail;
9585 }
9586 Py_INCREF(Py_None); resultobj = Py_None;
9587 return resultobj;
9588 fail:
9589 return NULL;
9590 }
9591
9592
9593 static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *, PyObject *args, PyObject *kwargs) {
9594 PyObject *resultobj;
9595 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9596 size_t arg2 ;
9597 bool result;
9598 PyObject * obj0 = 0 ;
9599 PyObject * obj1 = 0 ;
9600 char *kwnames[] = {
9601 (char *) "self",(char *) "line", NULL
9602 };
9603
9604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail;
9605 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9606 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9607 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
9608 if (PyErr_Occurred()) SWIG_fail;
9609 {
9610 PyThreadState* __tstate = wxPyBeginAllowThreads();
9611 result = (bool)(arg1)->ScrollToLine(arg2);
9612
9613 wxPyEndAllowThreads(__tstate);
9614 if (PyErr_Occurred()) SWIG_fail;
9615 }
9616 {
9617 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9618 }
9619 return resultobj;
9620 fail:
9621 return NULL;
9622 }
9623
9624
9625 static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *, PyObject *args, PyObject *kwargs) {
9626 PyObject *resultobj;
9627 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9628 int arg2 ;
9629 bool result;
9630 PyObject * obj0 = 0 ;
9631 PyObject * obj1 = 0 ;
9632 char *kwnames[] = {
9633 (char *) "self",(char *) "lines", NULL
9634 };
9635
9636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollLines",kwnames,&obj0,&obj1)) goto fail;
9637 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9638 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9639 arg2 = (int)SWIG_As_int(obj1);
9640 if (PyErr_Occurred()) SWIG_fail;
9641 {
9642 PyThreadState* __tstate = wxPyBeginAllowThreads();
9643 result = (bool)(arg1)->ScrollLines(arg2);
9644
9645 wxPyEndAllowThreads(__tstate);
9646 if (PyErr_Occurred()) SWIG_fail;
9647 }
9648 {
9649 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9650 }
9651 return resultobj;
9652 fail:
9653 return NULL;
9654 }
9655
9656
9657 static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *, PyObject *args, PyObject *kwargs) {
9658 PyObject *resultobj;
9659 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9660 int arg2 ;
9661 bool result;
9662 PyObject * obj0 = 0 ;
9663 PyObject * obj1 = 0 ;
9664 char *kwnames[] = {
9665 (char *) "self",(char *) "pages", NULL
9666 };
9667
9668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollPages",kwnames,&obj0,&obj1)) goto fail;
9669 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9670 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9671 arg2 = (int)SWIG_As_int(obj1);
9672 if (PyErr_Occurred()) SWIG_fail;
9673 {
9674 PyThreadState* __tstate = wxPyBeginAllowThreads();
9675 result = (bool)(arg1)->ScrollPages(arg2);
9676
9677 wxPyEndAllowThreads(__tstate);
9678 if (PyErr_Occurred()) SWIG_fail;
9679 }
9680 {
9681 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9682 }
9683 return resultobj;
9684 fail:
9685 return NULL;
9686 }
9687
9688
9689 static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *, PyObject *args, PyObject *kwargs) {
9690 PyObject *resultobj;
9691 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9692 size_t arg2 ;
9693 PyObject * obj0 = 0 ;
9694 PyObject * obj1 = 0 ;
9695 char *kwnames[] = {
9696 (char *) "self",(char *) "line", NULL
9697 };
9698
9699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail;
9700 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9702 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
9703 if (PyErr_Occurred()) SWIG_fail;
9704 {
9705 PyThreadState* __tstate = wxPyBeginAllowThreads();
9706 (arg1)->RefreshLine(arg2);
9707
9708 wxPyEndAllowThreads(__tstate);
9709 if (PyErr_Occurred()) SWIG_fail;
9710 }
9711 Py_INCREF(Py_None); resultobj = Py_None;
9712 return resultobj;
9713 fail:
9714 return NULL;
9715 }
9716
9717
9718 static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *, PyObject *args, PyObject *kwargs) {
9719 PyObject *resultobj;
9720 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9721 size_t arg2 ;
9722 size_t arg3 ;
9723 PyObject * obj0 = 0 ;
9724 PyObject * obj1 = 0 ;
9725 PyObject * obj2 = 0 ;
9726 char *kwnames[] = {
9727 (char *) "self",(char *) "from",(char *) "to", NULL
9728 };
9729
9730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
9731 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9732 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9733 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
9734 if (PyErr_Occurred()) SWIG_fail;
9735 arg3 = (size_t)SWIG_As_unsigned_SS_long(obj2);
9736 if (PyErr_Occurred()) SWIG_fail;
9737 {
9738 PyThreadState* __tstate = wxPyBeginAllowThreads();
9739 (arg1)->RefreshLines(arg2,arg3);
9740
9741 wxPyEndAllowThreads(__tstate);
9742 if (PyErr_Occurred()) SWIG_fail;
9743 }
9744 Py_INCREF(Py_None); resultobj = Py_None;
9745 return resultobj;
9746 fail:
9747 return NULL;
9748 }
9749
9750
9751 static PyObject *_wrap_VScrolledWindow_HitTestXY(PyObject *, PyObject *args, PyObject *kwargs) {
9752 PyObject *resultobj;
9753 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9754 int arg2 ;
9755 int arg3 ;
9756 int result;
9757 PyObject * obj0 = 0 ;
9758 PyObject * obj1 = 0 ;
9759 PyObject * obj2 = 0 ;
9760 char *kwnames[] = {
9761 (char *) "self",(char *) "x",(char *) "y", NULL
9762 };
9763
9764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
9765 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9766 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9767 arg2 = (int)SWIG_As_int(obj1);
9768 if (PyErr_Occurred()) SWIG_fail;
9769 arg3 = (int)SWIG_As_int(obj2);
9770 if (PyErr_Occurred()) SWIG_fail;
9771 {
9772 PyThreadState* __tstate = wxPyBeginAllowThreads();
9773 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
9774
9775 wxPyEndAllowThreads(__tstate);
9776 if (PyErr_Occurred()) SWIG_fail;
9777 }
9778 resultobj = SWIG_From_int((int)result);
9779 return resultobj;
9780 fail:
9781 return NULL;
9782 }
9783
9784
9785 static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
9786 PyObject *resultobj;
9787 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9788 wxPoint *arg2 = 0 ;
9789 int result;
9790 wxPoint temp2 ;
9791 PyObject * obj0 = 0 ;
9792 PyObject * obj1 = 0 ;
9793 char *kwnames[] = {
9794 (char *) "self",(char *) "pt", NULL
9795 };
9796
9797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail;
9798 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9799 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9800 {
9801 arg2 = &temp2;
9802 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9803 }
9804 {
9805 PyThreadState* __tstate = wxPyBeginAllowThreads();
9806 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
9807
9808 wxPyEndAllowThreads(__tstate);
9809 if (PyErr_Occurred()) SWIG_fail;
9810 }
9811 resultobj = SWIG_From_int((int)result);
9812 return resultobj;
9813 fail:
9814 return NULL;
9815 }
9816
9817
9818 static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *, PyObject *args, PyObject *kwargs) {
9819 PyObject *resultobj;
9820 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9821 PyObject * obj0 = 0 ;
9822 char *kwnames[] = {
9823 (char *) "self", NULL
9824 };
9825
9826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail;
9827 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9828 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9829 {
9830 PyThreadState* __tstate = wxPyBeginAllowThreads();
9831 (arg1)->RefreshAll();
9832
9833 wxPyEndAllowThreads(__tstate);
9834 if (PyErr_Occurred()) SWIG_fail;
9835 }
9836 Py_INCREF(Py_None); resultobj = Py_None;
9837 return resultobj;
9838 fail:
9839 return NULL;
9840 }
9841
9842
9843 static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *, PyObject *args, PyObject *kwargs) {
9844 PyObject *resultobj;
9845 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9846 size_t result;
9847 PyObject * obj0 = 0 ;
9848 char *kwnames[] = {
9849 (char *) "self", NULL
9850 };
9851
9852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail;
9853 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9854 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9855 {
9856 PyThreadState* __tstate = wxPyBeginAllowThreads();
9857 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
9858
9859 wxPyEndAllowThreads(__tstate);
9860 if (PyErr_Occurred()) SWIG_fail;
9861 }
9862 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
9863 return resultobj;
9864 fail:
9865 return NULL;
9866 }
9867
9868
9869 static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) {
9870 PyObject *resultobj;
9871 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9872 size_t result;
9873 PyObject * obj0 = 0 ;
9874 char *kwnames[] = {
9875 (char *) "self", NULL
9876 };
9877
9878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
9879 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9880 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9881 {
9882 PyThreadState* __tstate = wxPyBeginAllowThreads();
9883 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
9884
9885 wxPyEndAllowThreads(__tstate);
9886 if (PyErr_Occurred()) SWIG_fail;
9887 }
9888 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
9889 return resultobj;
9890 fail:
9891 return NULL;
9892 }
9893
9894
9895 static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) {
9896 PyObject *resultobj;
9897 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9898 size_t result;
9899 PyObject * obj0 = 0 ;
9900 char *kwnames[] = {
9901 (char *) "self", NULL
9902 };
9903
9904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail;
9905 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9906 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9907 {
9908 PyThreadState* __tstate = wxPyBeginAllowThreads();
9909 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
9910
9911 wxPyEndAllowThreads(__tstate);
9912 if (PyErr_Occurred()) SWIG_fail;
9913 }
9914 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
9915 return resultobj;
9916 fail:
9917 return NULL;
9918 }
9919
9920
9921 static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) {
9922 PyObject *resultobj;
9923 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9924 size_t arg2 ;
9925 bool result;
9926 PyObject * obj0 = 0 ;
9927 PyObject * obj1 = 0 ;
9928 char *kwnames[] = {
9929 (char *) "self",(char *) "line", NULL
9930 };
9931
9932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail;
9933 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9934 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9935 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
9936 if (PyErr_Occurred()) SWIG_fail;
9937 {
9938 PyThreadState* __tstate = wxPyBeginAllowThreads();
9939 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
9940
9941 wxPyEndAllowThreads(__tstate);
9942 if (PyErr_Occurred()) SWIG_fail;
9943 }
9944 {
9945 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9946 }
9947 return resultobj;
9948 fail:
9949 return NULL;
9950 }
9951
9952
9953 static PyObject * VScrolledWindow_swigregister(PyObject *, PyObject *args) {
9954 PyObject *obj;
9955 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9956 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj);
9957 Py_INCREF(obj);
9958 return Py_BuildValue((char *)"");
9959 }
9960 static int _wrap_VListBoxNameStr_set(PyObject *) {
9961 PyErr_SetString(PyExc_TypeError,"Variable VListBoxNameStr is read-only.");
9962 return 1;
9963 }
9964
9965
9966 static PyObject *_wrap_VListBoxNameStr_get() {
9967 PyObject *pyobj;
9968
9969 {
9970 #if wxUSE_UNICODE
9971 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
9972 #else
9973 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
9974 #endif
9975 }
9976 return pyobj;
9977 }
9978
9979
9980 static PyObject *_wrap_new_VListBox(PyObject *, PyObject *args, PyObject *kwargs) {
9981 PyObject *resultobj;
9982 wxWindow *arg1 = (wxWindow *) 0 ;
9983 int arg2 = (int) wxID_ANY ;
9984 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9985 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9986 wxSize const &arg4_defvalue = wxDefaultSize ;
9987 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9988 long arg5 = (long) 0 ;
9989 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
9990 wxString *arg6 = (wxString *) &arg6_defvalue ;
9991 wxPyVListBox *result;
9992 wxPoint temp3 ;
9993 wxSize temp4 ;
9994 bool temp6 = False ;
9995 PyObject * obj0 = 0 ;
9996 PyObject * obj1 = 0 ;
9997 PyObject * obj2 = 0 ;
9998 PyObject * obj3 = 0 ;
9999 PyObject * obj4 = 0 ;
10000 PyObject * obj5 = 0 ;
10001 char *kwnames[] = {
10002 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10003 };
10004
10005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
10006 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10007 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10008 if (obj1) {
10009 arg2 = (int)SWIG_As_int(obj1);
10010 if (PyErr_Occurred()) SWIG_fail;
10011 }
10012 if (obj2) {
10013 {
10014 arg3 = &temp3;
10015 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10016 }
10017 }
10018 if (obj3) {
10019 {
10020 arg4 = &temp4;
10021 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10022 }
10023 }
10024 if (obj4) {
10025 arg5 = (long)SWIG_As_long(obj4);
10026 if (PyErr_Occurred()) SWIG_fail;
10027 }
10028 if (obj5) {
10029 {
10030 arg6 = wxString_in_helper(obj5);
10031 if (arg6 == NULL) SWIG_fail;
10032 temp6 = True;
10033 }
10034 }
10035 {
10036 if (!wxPyCheckForApp()) SWIG_fail;
10037 PyThreadState* __tstate = wxPyBeginAllowThreads();
10038 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10039
10040 wxPyEndAllowThreads(__tstate);
10041 if (PyErr_Occurred()) SWIG_fail;
10042 }
10043 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
10044 {
10045 if (temp6)
10046 delete arg6;
10047 }
10048 return resultobj;
10049 fail:
10050 {
10051 if (temp6)
10052 delete arg6;
10053 }
10054 return NULL;
10055 }
10056
10057
10058 static PyObject *_wrap_new_PreVListBox(PyObject *, PyObject *args, PyObject *kwargs) {
10059 PyObject *resultobj;
10060 wxPyVListBox *result;
10061 char *kwnames[] = {
10062 NULL
10063 };
10064
10065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail;
10066 {
10067 if (!wxPyCheckForApp()) SWIG_fail;
10068 PyThreadState* __tstate = wxPyBeginAllowThreads();
10069 result = (wxPyVListBox *)new wxPyVListBox();
10070
10071 wxPyEndAllowThreads(__tstate);
10072 if (PyErr_Occurred()) SWIG_fail;
10073 }
10074 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
10075 return resultobj;
10076 fail:
10077 return NULL;
10078 }
10079
10080
10081 static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
10082 PyObject *resultobj;
10083 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10084 PyObject *arg2 = (PyObject *) 0 ;
10085 PyObject *arg3 = (PyObject *) 0 ;
10086 PyObject * obj0 = 0 ;
10087 PyObject * obj1 = 0 ;
10088 PyObject * obj2 = 0 ;
10089 char *kwnames[] = {
10090 (char *) "self",(char *) "self",(char *) "_class", NULL
10091 };
10092
10093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
10094 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10095 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10096 arg2 = obj1;
10097 arg3 = obj2;
10098 {
10099 PyThreadState* __tstate = wxPyBeginAllowThreads();
10100 (arg1)->_setCallbackInfo(arg2,arg3);
10101
10102 wxPyEndAllowThreads(__tstate);
10103 if (PyErr_Occurred()) SWIG_fail;
10104 }
10105 Py_INCREF(Py_None); resultobj = Py_None;
10106 return resultobj;
10107 fail:
10108 return NULL;
10109 }
10110
10111
10112 static PyObject *_wrap_VListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
10113 PyObject *resultobj;
10114 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10115 wxWindow *arg2 = (wxWindow *) 0 ;
10116 int arg3 = (int) wxID_ANY ;
10117 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10118 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10119 wxSize const &arg5_defvalue = wxDefaultSize ;
10120 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10121 long arg6 = (long) 0 ;
10122 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
10123 wxString *arg7 = (wxString *) &arg7_defvalue ;
10124 bool result;
10125 wxPoint temp4 ;
10126 wxSize temp5 ;
10127 bool temp7 = False ;
10128 PyObject * obj0 = 0 ;
10129 PyObject * obj1 = 0 ;
10130 PyObject * obj2 = 0 ;
10131 PyObject * obj3 = 0 ;
10132 PyObject * obj4 = 0 ;
10133 PyObject * obj5 = 0 ;
10134 PyObject * obj6 = 0 ;
10135 char *kwnames[] = {
10136 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10137 };
10138
10139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
10140 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10141 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10142 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10143 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10144 if (obj2) {
10145 arg3 = (int)SWIG_As_int(obj2);
10146 if (PyErr_Occurred()) SWIG_fail;
10147 }
10148 if (obj3) {
10149 {
10150 arg4 = &temp4;
10151 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10152 }
10153 }
10154 if (obj4) {
10155 {
10156 arg5 = &temp5;
10157 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10158 }
10159 }
10160 if (obj5) {
10161 arg6 = (long)SWIG_As_long(obj5);
10162 if (PyErr_Occurred()) SWIG_fail;
10163 }
10164 if (obj6) {
10165 {
10166 arg7 = wxString_in_helper(obj6);
10167 if (arg7 == NULL) SWIG_fail;
10168 temp7 = True;
10169 }
10170 }
10171 {
10172 PyThreadState* __tstate = wxPyBeginAllowThreads();
10173 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10174
10175 wxPyEndAllowThreads(__tstate);
10176 if (PyErr_Occurred()) SWIG_fail;
10177 }
10178 {
10179 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10180 }
10181 {
10182 if (temp7)
10183 delete arg7;
10184 }
10185 return resultobj;
10186 fail:
10187 {
10188 if (temp7)
10189 delete arg7;
10190 }
10191 return NULL;
10192 }
10193
10194
10195 static PyObject *_wrap_VListBox_GetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
10196 PyObject *resultobj;
10197 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10198 size_t result;
10199 PyObject * obj0 = 0 ;
10200 char *kwnames[] = {
10201 (char *) "self", NULL
10202 };
10203
10204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail;
10205 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10206 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10207 {
10208 PyThreadState* __tstate = wxPyBeginAllowThreads();
10209 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
10210
10211 wxPyEndAllowThreads(__tstate);
10212 if (PyErr_Occurred()) SWIG_fail;
10213 }
10214 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
10215 return resultobj;
10216 fail:
10217 return NULL;
10218 }
10219
10220
10221 static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *, PyObject *args, PyObject *kwargs) {
10222 PyObject *resultobj;
10223 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10224 bool result;
10225 PyObject * obj0 = 0 ;
10226 char *kwnames[] = {
10227 (char *) "self", NULL
10228 };
10229
10230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail;
10231 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10232 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10233 {
10234 PyThreadState* __tstate = wxPyBeginAllowThreads();
10235 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
10236
10237 wxPyEndAllowThreads(__tstate);
10238 if (PyErr_Occurred()) SWIG_fail;
10239 }
10240 {
10241 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10242 }
10243 return resultobj;
10244 fail:
10245 return NULL;
10246 }
10247
10248
10249 static PyObject *_wrap_VListBox_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
10250 PyObject *resultobj;
10251 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10252 int result;
10253 PyObject * obj0 = 0 ;
10254 char *kwnames[] = {
10255 (char *) "self", NULL
10256 };
10257
10258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",kwnames,&obj0)) goto fail;
10259 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10260 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10261 {
10262 PyThreadState* __tstate = wxPyBeginAllowThreads();
10263 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
10264
10265 wxPyEndAllowThreads(__tstate);
10266 if (PyErr_Occurred()) SWIG_fail;
10267 }
10268 resultobj = SWIG_From_int((int)result);
10269 return resultobj;
10270 fail:
10271 return NULL;
10272 }
10273
10274
10275 static PyObject *_wrap_VListBox_IsCurrent(PyObject *, PyObject *args, PyObject *kwargs) {
10276 PyObject *resultobj;
10277 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10278 size_t arg2 ;
10279 bool result;
10280 PyObject * obj0 = 0 ;
10281 PyObject * obj1 = 0 ;
10282 char *kwnames[] = {
10283 (char *) "self",(char *) "item", NULL
10284 };
10285
10286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail;
10287 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10288 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10289 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
10290 if (PyErr_Occurred()) SWIG_fail;
10291 {
10292 PyThreadState* __tstate = wxPyBeginAllowThreads();
10293 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
10294
10295 wxPyEndAllowThreads(__tstate);
10296 if (PyErr_Occurred()) SWIG_fail;
10297 }
10298 {
10299 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10300 }
10301 return resultobj;
10302 fail:
10303 return NULL;
10304 }
10305
10306
10307 static PyObject *_wrap_VListBox_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
10308 PyObject *resultobj;
10309 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10310 size_t arg2 ;
10311 bool result;
10312 PyObject * obj0 = 0 ;
10313 PyObject * obj1 = 0 ;
10314 char *kwnames[] = {
10315 (char *) "self",(char *) "item", NULL
10316 };
10317
10318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
10319 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10320 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10321 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
10322 if (PyErr_Occurred()) SWIG_fail;
10323 {
10324 PyThreadState* __tstate = wxPyBeginAllowThreads();
10325 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
10326
10327 wxPyEndAllowThreads(__tstate);
10328 if (PyErr_Occurred()) SWIG_fail;
10329 }
10330 {
10331 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10332 }
10333 return resultobj;
10334 fail:
10335 return NULL;
10336 }
10337
10338
10339 static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *, PyObject *args, PyObject *kwargs) {
10340 PyObject *resultobj;
10341 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10342 size_t result;
10343 PyObject * obj0 = 0 ;
10344 char *kwnames[] = {
10345 (char *) "self", NULL
10346 };
10347
10348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail;
10349 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10350 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10351 {
10352 PyThreadState* __tstate = wxPyBeginAllowThreads();
10353 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
10354
10355 wxPyEndAllowThreads(__tstate);
10356 if (PyErr_Occurred()) SWIG_fail;
10357 }
10358 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
10359 return resultobj;
10360 fail:
10361 return NULL;
10362 }
10363
10364
10365 static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *, PyObject *args, PyObject *kwargs) {
10366 PyObject *resultobj;
10367 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10368 PyObject *result;
10369 PyObject * obj0 = 0 ;
10370 char *kwnames[] = {
10371 (char *) "self", NULL
10372 };
10373
10374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetFirstSelected",kwnames,&obj0)) goto fail;
10375 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10376 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10377 {
10378 PyThreadState* __tstate = wxPyBeginAllowThreads();
10379 result = (PyObject *)wxPyVListBox_GetFirstSelected(arg1);
10380
10381 wxPyEndAllowThreads(__tstate);
10382 if (PyErr_Occurred()) SWIG_fail;
10383 }
10384 resultobj = result;
10385 return resultobj;
10386 fail:
10387 return NULL;
10388 }
10389
10390
10391 static PyObject *_wrap_VListBox_GetNextSelected(PyObject *, PyObject *args, PyObject *kwargs) {
10392 PyObject *resultobj;
10393 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10394 unsigned long arg2 ;
10395 PyObject *result;
10396 PyObject * obj0 = 0 ;
10397 PyObject * obj1 = 0 ;
10398 char *kwnames[] = {
10399 (char *) "self",(char *) "cookie", NULL
10400 };
10401
10402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
10403 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10404 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10405 arg2 = (unsigned long)SWIG_As_unsigned_SS_long(obj1);
10406 if (PyErr_Occurred()) SWIG_fail;
10407 {
10408 PyThreadState* __tstate = wxPyBeginAllowThreads();
10409 result = (PyObject *)wxPyVListBox_GetNextSelected(arg1,arg2);
10410
10411 wxPyEndAllowThreads(__tstate);
10412 if (PyErr_Occurred()) SWIG_fail;
10413 }
10414 resultobj = result;
10415 return resultobj;
10416 fail:
10417 return NULL;
10418 }
10419
10420
10421 static PyObject *_wrap_VListBox_GetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
10422 PyObject *resultobj;
10423 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10424 wxPoint result;
10425 PyObject * obj0 = 0 ;
10426 char *kwnames[] = {
10427 (char *) "self", NULL
10428 };
10429
10430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail;
10431 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10432 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10433 {
10434 PyThreadState* __tstate = wxPyBeginAllowThreads();
10435 result = ((wxPyVListBox const *)arg1)->GetMargins();
10436
10437 wxPyEndAllowThreads(__tstate);
10438 if (PyErr_Occurred()) SWIG_fail;
10439 }
10440 {
10441 wxPoint * resultptr;
10442 resultptr = new wxPoint((wxPoint &) result);
10443 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
10444 }
10445 return resultobj;
10446 fail:
10447 return NULL;
10448 }
10449
10450
10451 static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) {
10452 PyObject *resultobj;
10453 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10454 wxColour *result;
10455 PyObject * obj0 = 0 ;
10456 char *kwnames[] = {
10457 (char *) "self", NULL
10458 };
10459
10460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail;
10461 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10462 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10463 {
10464 PyThreadState* __tstate = wxPyBeginAllowThreads();
10465 {
10466 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
10467 result = (wxColour *) &_result_ref;
10468 }
10469
10470 wxPyEndAllowThreads(__tstate);
10471 if (PyErr_Occurred()) SWIG_fail;
10472 }
10473 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
10474 return resultobj;
10475 fail:
10476 return NULL;
10477 }
10478
10479
10480 static PyObject *_wrap_VListBox_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
10481 PyObject *resultobj;
10482 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10483 size_t arg2 ;
10484 PyObject * obj0 = 0 ;
10485 PyObject * obj1 = 0 ;
10486 char *kwnames[] = {
10487 (char *) "self",(char *) "count", NULL
10488 };
10489
10490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
10491 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10492 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10493 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
10494 if (PyErr_Occurred()) SWIG_fail;
10495 {
10496 PyThreadState* __tstate = wxPyBeginAllowThreads();
10497 (arg1)->SetItemCount(arg2);
10498
10499 wxPyEndAllowThreads(__tstate);
10500 if (PyErr_Occurred()) SWIG_fail;
10501 }
10502 Py_INCREF(Py_None); resultobj = Py_None;
10503 return resultobj;
10504 fail:
10505 return NULL;
10506 }
10507
10508
10509 static PyObject *_wrap_VListBox_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
10510 PyObject *resultobj;
10511 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10512 PyObject * obj0 = 0 ;
10513 char *kwnames[] = {
10514 (char *) "self", NULL
10515 };
10516
10517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail;
10518 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10519 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10520 {
10521 PyThreadState* __tstate = wxPyBeginAllowThreads();
10522 (arg1)->Clear();
10523
10524 wxPyEndAllowThreads(__tstate);
10525 if (PyErr_Occurred()) SWIG_fail;
10526 }
10527 Py_INCREF(Py_None); resultobj = Py_None;
10528 return resultobj;
10529 fail:
10530 return NULL;
10531 }
10532
10533
10534 static PyObject *_wrap_VListBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
10535 PyObject *resultobj;
10536 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10537 int arg2 ;
10538 PyObject * obj0 = 0 ;
10539 PyObject * obj1 = 0 ;
10540 char *kwnames[] = {
10541 (char *) "self",(char *) "selection", NULL
10542 };
10543
10544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
10545 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10546 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10547 arg2 = (int)SWIG_As_int(obj1);
10548 if (PyErr_Occurred()) SWIG_fail;
10549 {
10550 PyThreadState* __tstate = wxPyBeginAllowThreads();
10551 (arg1)->SetSelection(arg2);
10552
10553 wxPyEndAllowThreads(__tstate);
10554 if (PyErr_Occurred()) SWIG_fail;
10555 }
10556 Py_INCREF(Py_None); resultobj = Py_None;
10557 return resultobj;
10558 fail:
10559 return NULL;
10560 }
10561
10562
10563 static PyObject *_wrap_VListBox_Select(PyObject *, PyObject *args, PyObject *kwargs) {
10564 PyObject *resultobj;
10565 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10566 size_t arg2 ;
10567 bool arg3 = (bool) True ;
10568 bool result;
10569 PyObject * obj0 = 0 ;
10570 PyObject * obj1 = 0 ;
10571 PyObject * obj2 = 0 ;
10572 char *kwnames[] = {
10573 (char *) "self",(char *) "item",(char *) "select", NULL
10574 };
10575
10576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
10577 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10578 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10579 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
10580 if (PyErr_Occurred()) SWIG_fail;
10581 if (obj2) {
10582 arg3 = (bool)SWIG_As_bool(obj2);
10583 if (PyErr_Occurred()) SWIG_fail;
10584 }
10585 {
10586 PyThreadState* __tstate = wxPyBeginAllowThreads();
10587 result = (bool)(arg1)->Select(arg2,arg3);
10588
10589 wxPyEndAllowThreads(__tstate);
10590 if (PyErr_Occurred()) SWIG_fail;
10591 }
10592 {
10593 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10594 }
10595 return resultobj;
10596 fail:
10597 return NULL;
10598 }
10599
10600
10601 static PyObject *_wrap_VListBox_SelectRange(PyObject *, PyObject *args, PyObject *kwargs) {
10602 PyObject *resultobj;
10603 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10604 size_t arg2 ;
10605 size_t arg3 ;
10606 bool result;
10607 PyObject * obj0 = 0 ;
10608 PyObject * obj1 = 0 ;
10609 PyObject * obj2 = 0 ;
10610 char *kwnames[] = {
10611 (char *) "self",(char *) "from",(char *) "to", NULL
10612 };
10613
10614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
10615 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10616 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10617 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
10618 if (PyErr_Occurred()) SWIG_fail;
10619 arg3 = (size_t)SWIG_As_unsigned_SS_long(obj2);
10620 if (PyErr_Occurred()) SWIG_fail;
10621 {
10622 PyThreadState* __tstate = wxPyBeginAllowThreads();
10623 result = (bool)(arg1)->SelectRange(arg2,arg3);
10624
10625 wxPyEndAllowThreads(__tstate);
10626 if (PyErr_Occurred()) SWIG_fail;
10627 }
10628 {
10629 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10630 }
10631 return resultobj;
10632 fail:
10633 return NULL;
10634 }
10635
10636
10637 static PyObject *_wrap_VListBox_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
10638 PyObject *resultobj;
10639 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10640 size_t arg2 ;
10641 PyObject * obj0 = 0 ;
10642 PyObject * obj1 = 0 ;
10643 char *kwnames[] = {
10644 (char *) "self",(char *) "item", NULL
10645 };
10646
10647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail;
10648 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10649 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10650 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
10651 if (PyErr_Occurred()) SWIG_fail;
10652 {
10653 PyThreadState* __tstate = wxPyBeginAllowThreads();
10654 (arg1)->Toggle(arg2);
10655
10656 wxPyEndAllowThreads(__tstate);
10657 if (PyErr_Occurred()) SWIG_fail;
10658 }
10659 Py_INCREF(Py_None); resultobj = Py_None;
10660 return resultobj;
10661 fail:
10662 return NULL;
10663 }
10664
10665
10666 static PyObject *_wrap_VListBox_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
10667 PyObject *resultobj;
10668 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10669 bool result;
10670 PyObject * obj0 = 0 ;
10671 char *kwnames[] = {
10672 (char *) "self", NULL
10673 };
10674
10675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail;
10676 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10677 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10678 {
10679 PyThreadState* __tstate = wxPyBeginAllowThreads();
10680 result = (bool)(arg1)->SelectAll();
10681
10682 wxPyEndAllowThreads(__tstate);
10683 if (PyErr_Occurred()) SWIG_fail;
10684 }
10685 {
10686 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10687 }
10688 return resultobj;
10689 fail:
10690 return NULL;
10691 }
10692
10693
10694 static PyObject *_wrap_VListBox_DeselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
10695 PyObject *resultobj;
10696 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10697 bool result;
10698 PyObject * obj0 = 0 ;
10699 char *kwnames[] = {
10700 (char *) "self", NULL
10701 };
10702
10703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail;
10704 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10705 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10706 {
10707 PyThreadState* __tstate = wxPyBeginAllowThreads();
10708 result = (bool)(arg1)->DeselectAll();
10709
10710 wxPyEndAllowThreads(__tstate);
10711 if (PyErr_Occurred()) SWIG_fail;
10712 }
10713 {
10714 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10715 }
10716 return resultobj;
10717 fail:
10718 return NULL;
10719 }
10720
10721
10722 static PyObject *_wrap_VListBox_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
10723 PyObject *resultobj;
10724 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10725 wxPoint *arg2 = 0 ;
10726 wxPoint temp2 ;
10727 PyObject * obj0 = 0 ;
10728 PyObject * obj1 = 0 ;
10729 char *kwnames[] = {
10730 (char *) "self",(char *) "pt", NULL
10731 };
10732
10733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail;
10734 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10736 {
10737 arg2 = &temp2;
10738 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10739 }
10740 {
10741 PyThreadState* __tstate = wxPyBeginAllowThreads();
10742 (arg1)->SetMargins((wxPoint const &)*arg2);
10743
10744 wxPyEndAllowThreads(__tstate);
10745 if (PyErr_Occurred()) SWIG_fail;
10746 }
10747 Py_INCREF(Py_None); resultobj = Py_None;
10748 return resultobj;
10749 fail:
10750 return NULL;
10751 }
10752
10753
10754 static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *, PyObject *args, PyObject *kwargs) {
10755 PyObject *resultobj;
10756 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10757 int arg2 ;
10758 int arg3 ;
10759 PyObject * obj0 = 0 ;
10760 PyObject * obj1 = 0 ;
10761 PyObject * obj2 = 0 ;
10762 char *kwnames[] = {
10763 (char *) "self",(char *) "x",(char *) "y", NULL
10764 };
10765
10766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
10767 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10768 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10769 arg2 = (int)SWIG_As_int(obj1);
10770 if (PyErr_Occurred()) SWIG_fail;
10771 arg3 = (int)SWIG_As_int(obj2);
10772 if (PyErr_Occurred()) SWIG_fail;
10773 {
10774 PyThreadState* __tstate = wxPyBeginAllowThreads();
10775 (arg1)->SetMargins(arg2,arg3);
10776
10777 wxPyEndAllowThreads(__tstate);
10778 if (PyErr_Occurred()) SWIG_fail;
10779 }
10780 Py_INCREF(Py_None); resultobj = Py_None;
10781 return resultobj;
10782 fail:
10783 return NULL;
10784 }
10785
10786
10787 static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) {
10788 PyObject *resultobj;
10789 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10790 wxColour *arg2 = 0 ;
10791 wxColour temp2 ;
10792 PyObject * obj0 = 0 ;
10793 PyObject * obj1 = 0 ;
10794 char *kwnames[] = {
10795 (char *) "self",(char *) "col", NULL
10796 };
10797
10798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail;
10799 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10800 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10801 {
10802 arg2 = &temp2;
10803 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10804 }
10805 {
10806 PyThreadState* __tstate = wxPyBeginAllowThreads();
10807 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
10808
10809 wxPyEndAllowThreads(__tstate);
10810 if (PyErr_Occurred()) SWIG_fail;
10811 }
10812 Py_INCREF(Py_None); resultobj = Py_None;
10813 return resultobj;
10814 fail:
10815 return NULL;
10816 }
10817
10818
10819 static PyObject * VListBox_swigregister(PyObject *, PyObject *args) {
10820 PyObject *obj;
10821 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10822 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj);
10823 Py_INCREF(obj);
10824 return Py_BuildValue((char *)"");
10825 }
10826 static PyObject *_wrap_new_HtmlListBox(PyObject *, PyObject *args, PyObject *kwargs) {
10827 PyObject *resultobj;
10828 wxWindow *arg1 = (wxWindow *) 0 ;
10829 int arg2 = (int) wxID_ANY ;
10830 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10831 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10832 wxSize const &arg4_defvalue = wxDefaultSize ;
10833 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10834 long arg5 = (long) 0 ;
10835 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
10836 wxString *arg6 = (wxString *) &arg6_defvalue ;
10837 wxPyHtmlListBox *result;
10838 wxPoint temp3 ;
10839 wxSize temp4 ;
10840 bool temp6 = False ;
10841 PyObject * obj0 = 0 ;
10842 PyObject * obj1 = 0 ;
10843 PyObject * obj2 = 0 ;
10844 PyObject * obj3 = 0 ;
10845 PyObject * obj4 = 0 ;
10846 PyObject * obj5 = 0 ;
10847 char *kwnames[] = {
10848 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10849 };
10850
10851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
10852 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10853 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10854 if (obj1) {
10855 arg2 = (int)SWIG_As_int(obj1);
10856 if (PyErr_Occurred()) SWIG_fail;
10857 }
10858 if (obj2) {
10859 {
10860 arg3 = &temp3;
10861 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10862 }
10863 }
10864 if (obj3) {
10865 {
10866 arg4 = &temp4;
10867 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10868 }
10869 }
10870 if (obj4) {
10871 arg5 = (long)SWIG_As_long(obj4);
10872 if (PyErr_Occurred()) SWIG_fail;
10873 }
10874 if (obj5) {
10875 {
10876 arg6 = wxString_in_helper(obj5);
10877 if (arg6 == NULL) SWIG_fail;
10878 temp6 = True;
10879 }
10880 }
10881 {
10882 if (!wxPyCheckForApp()) SWIG_fail;
10883 PyThreadState* __tstate = wxPyBeginAllowThreads();
10884 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10885
10886 wxPyEndAllowThreads(__tstate);
10887 if (PyErr_Occurred()) SWIG_fail;
10888 }
10889 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
10890 {
10891 if (temp6)
10892 delete arg6;
10893 }
10894 return resultobj;
10895 fail:
10896 {
10897 if (temp6)
10898 delete arg6;
10899 }
10900 return NULL;
10901 }
10902
10903
10904 static PyObject *_wrap_new_PreHtmlListBox(PyObject *, PyObject *args, PyObject *kwargs) {
10905 PyObject *resultobj;
10906 wxPyHtmlListBox *result;
10907 char *kwnames[] = {
10908 NULL
10909 };
10910
10911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail;
10912 {
10913 if (!wxPyCheckForApp()) SWIG_fail;
10914 PyThreadState* __tstate = wxPyBeginAllowThreads();
10915 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
10916
10917 wxPyEndAllowThreads(__tstate);
10918 if (PyErr_Occurred()) SWIG_fail;
10919 }
10920 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
10921 return resultobj;
10922 fail:
10923 return NULL;
10924 }
10925
10926
10927 static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
10928 PyObject *resultobj;
10929 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10930 PyObject *arg2 = (PyObject *) 0 ;
10931 PyObject *arg3 = (PyObject *) 0 ;
10932 PyObject * obj0 = 0 ;
10933 PyObject * obj1 = 0 ;
10934 PyObject * obj2 = 0 ;
10935 char *kwnames[] = {
10936 (char *) "self",(char *) "self",(char *) "_class", NULL
10937 };
10938
10939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
10940 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10941 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10942 arg2 = obj1;
10943 arg3 = obj2;
10944 {
10945 PyThreadState* __tstate = wxPyBeginAllowThreads();
10946 (arg1)->_setCallbackInfo(arg2,arg3);
10947
10948 wxPyEndAllowThreads(__tstate);
10949 if (PyErr_Occurred()) SWIG_fail;
10950 }
10951 Py_INCREF(Py_None); resultobj = Py_None;
10952 return resultobj;
10953 fail:
10954 return NULL;
10955 }
10956
10957
10958 static PyObject *_wrap_HtmlListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
10959 PyObject *resultobj;
10960 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10961 wxWindow *arg2 = (wxWindow *) 0 ;
10962 int arg3 = (int) wxID_ANY ;
10963 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10964 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10965 wxSize const &arg5_defvalue = wxDefaultSize ;
10966 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10967 long arg6 = (long) 0 ;
10968 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
10969 wxString *arg7 = (wxString *) &arg7_defvalue ;
10970 bool result;
10971 wxPoint temp4 ;
10972 wxSize temp5 ;
10973 bool temp7 = False ;
10974 PyObject * obj0 = 0 ;
10975 PyObject * obj1 = 0 ;
10976 PyObject * obj2 = 0 ;
10977 PyObject * obj3 = 0 ;
10978 PyObject * obj4 = 0 ;
10979 PyObject * obj5 = 0 ;
10980 PyObject * obj6 = 0 ;
10981 char *kwnames[] = {
10982 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10983 };
10984
10985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
10986 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10987 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10988 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10989 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10990 if (obj2) {
10991 arg3 = (int)SWIG_As_int(obj2);
10992 if (PyErr_Occurred()) SWIG_fail;
10993 }
10994 if (obj3) {
10995 {
10996 arg4 = &temp4;
10997 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10998 }
10999 }
11000 if (obj4) {
11001 {
11002 arg5 = &temp5;
11003 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11004 }
11005 }
11006 if (obj5) {
11007 arg6 = (long)SWIG_As_long(obj5);
11008 if (PyErr_Occurred()) SWIG_fail;
11009 }
11010 if (obj6) {
11011 {
11012 arg7 = wxString_in_helper(obj6);
11013 if (arg7 == NULL) SWIG_fail;
11014 temp7 = True;
11015 }
11016 }
11017 {
11018 PyThreadState* __tstate = wxPyBeginAllowThreads();
11019 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
11020
11021 wxPyEndAllowThreads(__tstate);
11022 if (PyErr_Occurred()) SWIG_fail;
11023 }
11024 {
11025 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11026 }
11027 {
11028 if (temp7)
11029 delete arg7;
11030 }
11031 return resultobj;
11032 fail:
11033 {
11034 if (temp7)
11035 delete arg7;
11036 }
11037 return NULL;
11038 }
11039
11040
11041 static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *, PyObject *args, PyObject *kwargs) {
11042 PyObject *resultobj;
11043 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
11044 PyObject * obj0 = 0 ;
11045 char *kwnames[] = {
11046 (char *) "self", NULL
11047 };
11048
11049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail;
11050 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
11051 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11052 {
11053 PyThreadState* __tstate = wxPyBeginAllowThreads();
11054 (arg1)->RefreshAll();
11055
11056 wxPyEndAllowThreads(__tstate);
11057 if (PyErr_Occurred()) SWIG_fail;
11058 }
11059 Py_INCREF(Py_None); resultobj = Py_None;
11060 return resultobj;
11061 fail:
11062 return NULL;
11063 }
11064
11065
11066 static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
11067 PyObject *resultobj;
11068 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
11069 size_t arg2 ;
11070 PyObject * obj0 = 0 ;
11071 PyObject * obj1 = 0 ;
11072 char *kwnames[] = {
11073 (char *) "self",(char *) "count", NULL
11074 };
11075
11076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
11077 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
11078 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11079 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
11080 if (PyErr_Occurred()) SWIG_fail;
11081 {
11082 PyThreadState* __tstate = wxPyBeginAllowThreads();
11083 (arg1)->SetItemCount(arg2);
11084
11085 wxPyEndAllowThreads(__tstate);
11086 if (PyErr_Occurred()) SWIG_fail;
11087 }
11088 Py_INCREF(Py_None); resultobj = Py_None;
11089 return resultobj;
11090 fail:
11091 return NULL;
11092 }
11093
11094
11095 static PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *, PyObject *args, PyObject *kwargs) {
11096 PyObject *resultobj;
11097 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
11098 wxFileSystem *result;
11099 PyObject * obj0 = 0 ;
11100 char *kwnames[] = {
11101 (char *) "self", NULL
11102 };
11103
11104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_GetFileSystem",kwnames,&obj0)) goto fail;
11105 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
11106 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11107 {
11108 PyThreadState* __tstate = wxPyBeginAllowThreads();
11109 {
11110 wxFileSystem &_result_ref = (arg1)->GetFileSystem();
11111 result = (wxFileSystem *) &_result_ref;
11112 }
11113
11114 wxPyEndAllowThreads(__tstate);
11115 if (PyErr_Occurred()) SWIG_fail;
11116 }
11117 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileSystem, 0);
11118 return resultobj;
11119 fail:
11120 return NULL;
11121 }
11122
11123
11124 static PyObject * HtmlListBox_swigregister(PyObject *, PyObject *args) {
11125 PyObject *obj;
11126 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11127 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj);
11128 Py_INCREF(obj);
11129 return Py_BuildValue((char *)"");
11130 }
11131 static PyObject *_wrap_new_TaskBarIcon(PyObject *, PyObject *args, PyObject *kwargs) {
11132 PyObject *resultobj;
11133 wxTaskBarIcon *result;
11134 char *kwnames[] = {
11135 NULL
11136 };
11137
11138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail;
11139 {
11140 if (!wxPyCheckForApp()) SWIG_fail;
11141 PyThreadState* __tstate = wxPyBeginAllowThreads();
11142 result = (wxTaskBarIcon *)new wxTaskBarIcon();
11143
11144 wxPyEndAllowThreads(__tstate);
11145 if (PyErr_Occurred()) SWIG_fail;
11146 }
11147 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIcon, 1);
11148 return resultobj;
11149 fail:
11150 return NULL;
11151 }
11152
11153
11154 static PyObject *_wrap_delete_TaskBarIcon(PyObject *, PyObject *args, PyObject *kwargs) {
11155 PyObject *resultobj;
11156 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
11157 PyObject * obj0 = 0 ;
11158 char *kwnames[] = {
11159 (char *) "self", NULL
11160 };
11161
11162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TaskBarIcon",kwnames,&obj0)) goto fail;
11163 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
11164 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11165 {
11166 PyThreadState* __tstate = wxPyBeginAllowThreads();
11167 delete arg1;
11168
11169 wxPyEndAllowThreads(__tstate);
11170 if (PyErr_Occurred()) SWIG_fail;
11171 }
11172 Py_INCREF(Py_None); resultobj = Py_None;
11173 return resultobj;
11174 fail:
11175 return NULL;
11176 }
11177
11178
11179 static PyObject *_wrap_TaskBarIcon_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
11180 PyObject *resultobj;
11181 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
11182 PyObject * obj0 = 0 ;
11183 char *kwnames[] = {
11184 (char *) "self", NULL
11185 };
11186
11187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_Destroy",kwnames,&obj0)) goto fail;
11188 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
11189 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11190 {
11191 PyThreadState* __tstate = wxPyBeginAllowThreads();
11192 wxTaskBarIcon_Destroy(arg1);
11193
11194 wxPyEndAllowThreads(__tstate);
11195 if (PyErr_Occurred()) SWIG_fail;
11196 }
11197 Py_INCREF(Py_None); resultobj = Py_None;
11198 return resultobj;
11199 fail:
11200 return NULL;
11201 }
11202
11203
11204 static PyObject *_wrap_TaskBarIcon_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
11205 PyObject *resultobj;
11206 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
11207 bool result;
11208 PyObject * obj0 = 0 ;
11209 char *kwnames[] = {
11210 (char *) "self", NULL
11211 };
11212
11213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsOk",kwnames,&obj0)) goto fail;
11214 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
11215 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11216 {
11217 PyThreadState* __tstate = wxPyBeginAllowThreads();
11218 result = (bool)((wxTaskBarIcon const *)arg1)->IsOk();
11219
11220 wxPyEndAllowThreads(__tstate);
11221 if (PyErr_Occurred()) SWIG_fail;
11222 }
11223 {
11224 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11225 }
11226 return resultobj;
11227 fail:
11228 return NULL;
11229 }
11230
11231
11232 static PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *, PyObject *args, PyObject *kwargs) {
11233 PyObject *resultobj;
11234 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
11235 bool result;
11236 PyObject * obj0 = 0 ;
11237 char *kwnames[] = {
11238 (char *) "self", NULL
11239 };
11240
11241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames,&obj0)) goto fail;
11242 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
11243 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11244 {
11245 PyThreadState* __tstate = wxPyBeginAllowThreads();
11246 result = (bool)((wxTaskBarIcon const *)arg1)->IsIconInstalled();
11247
11248 wxPyEndAllowThreads(__tstate);
11249 if (PyErr_Occurred()) SWIG_fail;
11250 }
11251 {
11252 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11253 }
11254 return resultobj;
11255 fail:
11256 return NULL;
11257 }
11258
11259
11260 static PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
11261 PyObject *resultobj;
11262 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
11263 wxIcon *arg2 = 0 ;
11264 wxString const &arg3_defvalue = wxPyEmptyString ;
11265 wxString *arg3 = (wxString *) &arg3_defvalue ;
11266 bool result;
11267 bool temp3 = False ;
11268 PyObject * obj0 = 0 ;
11269 PyObject * obj1 = 0 ;
11270 PyObject * obj2 = 0 ;
11271 char *kwnames[] = {
11272 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
11273 };
11274
11275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
11276 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
11277 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11278 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
11279 SWIG_POINTER_EXCEPTION | 0)) == -1)
11280 SWIG_fail;
11281 if (arg2 == NULL) {
11282 PyErr_SetString(PyExc_TypeError,"null reference");
11283 SWIG_fail;
11284 }
11285 if (obj2) {
11286 {
11287 arg3 = wxString_in_helper(obj2);
11288 if (arg3 == NULL) SWIG_fail;
11289 temp3 = True;
11290 }
11291 }
11292 {
11293 PyThreadState* __tstate = wxPyBeginAllowThreads();
11294 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
11295
11296 wxPyEndAllowThreads(__tstate);
11297 if (PyErr_Occurred()) SWIG_fail;
11298 }
11299 {
11300 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11301 }
11302 {
11303 if (temp3)
11304 delete arg3;
11305 }
11306 return resultobj;
11307 fail:
11308 {
11309 if (temp3)
11310 delete arg3;
11311 }
11312 return NULL;
11313 }
11314
11315
11316 static PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *, PyObject *args, PyObject *kwargs) {
11317 PyObject *resultobj;
11318 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
11319 bool result;
11320 PyObject * obj0 = 0 ;
11321 char *kwnames[] = {
11322 (char *) "self", NULL
11323 };
11324
11325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_RemoveIcon",kwnames,&obj0)) goto fail;
11326 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
11327 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11328 {
11329 PyThreadState* __tstate = wxPyBeginAllowThreads();
11330 result = (bool)(arg1)->RemoveIcon();
11331
11332 wxPyEndAllowThreads(__tstate);
11333 if (PyErr_Occurred()) SWIG_fail;
11334 }
11335 {
11336 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11337 }
11338 return resultobj;
11339 fail:
11340 return NULL;
11341 }
11342
11343
11344 static PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *, PyObject *args, PyObject *kwargs) {
11345 PyObject *resultobj;
11346 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
11347 wxMenu *arg2 = (wxMenu *) 0 ;
11348 bool result;
11349 PyObject * obj0 = 0 ;
11350 PyObject * obj1 = 0 ;
11351 char *kwnames[] = {
11352 (char *) "self",(char *) "menu", NULL
11353 };
11354
11355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) goto fail;
11356 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
11357 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11358 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
11359 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11360 {
11361 PyThreadState* __tstate = wxPyBeginAllowThreads();
11362 result = (bool)(arg1)->PopupMenu(arg2);
11363
11364 wxPyEndAllowThreads(__tstate);
11365 if (PyErr_Occurred()) SWIG_fail;
11366 }
11367 {
11368 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11369 }
11370 return resultobj;
11371 fail:
11372 return NULL;
11373 }
11374
11375
11376 static PyObject * TaskBarIcon_swigregister(PyObject *, PyObject *args) {
11377 PyObject *obj;
11378 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11379 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon, obj);
11380 Py_INCREF(obj);
11381 return Py_BuildValue((char *)"");
11382 }
11383 static PyObject *_wrap_new_TaskBarIconEvent(PyObject *, PyObject *args, PyObject *kwargs) {
11384 PyObject *resultobj;
11385 wxEventType arg1 ;
11386 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
11387 wxTaskBarIconEvent *result;
11388 PyObject * obj0 = 0 ;
11389 PyObject * obj1 = 0 ;
11390 char *kwnames[] = {
11391 (char *) "evtType",(char *) "tbIcon", NULL
11392 };
11393
11394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) goto fail;
11395 arg1 = (wxEventType)SWIG_As_int(obj0);
11396 if (PyErr_Occurred()) SWIG_fail;
11397 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTaskBarIcon,
11398 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11399 {
11400 PyThreadState* __tstate = wxPyBeginAllowThreads();
11401 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
11402
11403 wxPyEndAllowThreads(__tstate);
11404 if (PyErr_Occurred()) SWIG_fail;
11405 }
11406 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIconEvent, 1);
11407 return resultobj;
11408 fail:
11409 return NULL;
11410 }
11411
11412
11413 static PyObject * TaskBarIconEvent_swigregister(PyObject *, PyObject *args) {
11414 PyObject *obj;
11415 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11416 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj);
11417 Py_INCREF(obj);
11418 return Py_BuildValue((char *)"");
11419 }
11420 static int _wrap_FileSelectorPromptStr_set(PyObject *) {
11421 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
11422 return 1;
11423 }
11424
11425
11426 static PyObject *_wrap_FileSelectorPromptStr_get() {
11427 PyObject *pyobj;
11428
11429 {
11430 #if wxUSE_UNICODE
11431 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
11432 #else
11433 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
11434 #endif
11435 }
11436 return pyobj;
11437 }
11438
11439
11440 static int _wrap_DirSelectorPromptStr_set(PyObject *) {
11441 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
11442 return 1;
11443 }
11444
11445
11446 static PyObject *_wrap_DirSelectorPromptStr_get() {
11447 PyObject *pyobj;
11448
11449 {
11450 #if wxUSE_UNICODE
11451 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
11452 #else
11453 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
11454 #endif
11455 }
11456 return pyobj;
11457 }
11458
11459
11460 static int _wrap_DirDialogNameStr_set(PyObject *) {
11461 PyErr_SetString(PyExc_TypeError,"Variable DirDialogNameStr is read-only.");
11462 return 1;
11463 }
11464
11465
11466 static PyObject *_wrap_DirDialogNameStr_get() {
11467 PyObject *pyobj;
11468
11469 {
11470 #if wxUSE_UNICODE
11471 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
11472 #else
11473 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
11474 #endif
11475 }
11476 return pyobj;
11477 }
11478
11479
11480 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *) {
11481 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
11482 return 1;
11483 }
11484
11485
11486 static PyObject *_wrap_FileSelectorDefaultWildcardStr_get() {
11487 PyObject *pyobj;
11488
11489 {
11490 #if wxUSE_UNICODE
11491 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
11492 #else
11493 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
11494 #endif
11495 }
11496 return pyobj;
11497 }
11498
11499
11500 static int _wrap_GetTextFromUserPromptStr_set(PyObject *) {
11501 PyErr_SetString(PyExc_TypeError,"Variable GetTextFromUserPromptStr is read-only.");
11502 return 1;
11503 }
11504
11505
11506 static PyObject *_wrap_GetTextFromUserPromptStr_get() {
11507 PyObject *pyobj;
11508
11509 {
11510 #if wxUSE_UNICODE
11511 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
11512 #else
11513 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
11514 #endif
11515 }
11516 return pyobj;
11517 }
11518
11519
11520 static int _wrap_MessageBoxCaptionStr_set(PyObject *) {
11521 PyErr_SetString(PyExc_TypeError,"Variable MessageBoxCaptionStr is read-only.");
11522 return 1;
11523 }
11524
11525
11526 static PyObject *_wrap_MessageBoxCaptionStr_get() {
11527 PyObject *pyobj;
11528
11529 {
11530 #if wxUSE_UNICODE
11531 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
11532 #else
11533 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
11534 #endif
11535 }
11536 return pyobj;
11537 }
11538
11539
11540 static PyObject *_wrap_new_ColourData(PyObject *, PyObject *args, PyObject *kwargs) {
11541 PyObject *resultobj;
11542 wxColourData *result;
11543 char *kwnames[] = {
11544 NULL
11545 };
11546
11547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail;
11548 {
11549 PyThreadState* __tstate = wxPyBeginAllowThreads();
11550 result = (wxColourData *)new wxColourData();
11551
11552 wxPyEndAllowThreads(__tstate);
11553 if (PyErr_Occurred()) SWIG_fail;
11554 }
11555 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 1);
11556 return resultobj;
11557 fail:
11558 return NULL;
11559 }
11560
11561
11562 static PyObject *_wrap_delete_ColourData(PyObject *, PyObject *args, PyObject *kwargs) {
11563 PyObject *resultobj;
11564 wxColourData *arg1 = (wxColourData *) 0 ;
11565 PyObject * obj0 = 0 ;
11566 char *kwnames[] = {
11567 (char *) "self", NULL
11568 };
11569
11570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail;
11571 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11572 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11573 {
11574 PyThreadState* __tstate = wxPyBeginAllowThreads();
11575 delete arg1;
11576
11577 wxPyEndAllowThreads(__tstate);
11578 if (PyErr_Occurred()) SWIG_fail;
11579 }
11580 Py_INCREF(Py_None); resultobj = Py_None;
11581 return resultobj;
11582 fail:
11583 return NULL;
11584 }
11585
11586
11587 static PyObject *_wrap_ColourData_GetChooseFull(PyObject *, PyObject *args, PyObject *kwargs) {
11588 PyObject *resultobj;
11589 wxColourData *arg1 = (wxColourData *) 0 ;
11590 bool result;
11591 PyObject * obj0 = 0 ;
11592 char *kwnames[] = {
11593 (char *) "self", NULL
11594 };
11595
11596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail;
11597 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11598 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11599 {
11600 PyThreadState* __tstate = wxPyBeginAllowThreads();
11601 result = (bool)(arg1)->GetChooseFull();
11602
11603 wxPyEndAllowThreads(__tstate);
11604 if (PyErr_Occurred()) SWIG_fail;
11605 }
11606 {
11607 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11608 }
11609 return resultobj;
11610 fail:
11611 return NULL;
11612 }
11613
11614
11615 static PyObject *_wrap_ColourData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
11616 PyObject *resultobj;
11617 wxColourData *arg1 = (wxColourData *) 0 ;
11618 wxColour result;
11619 PyObject * obj0 = 0 ;
11620 char *kwnames[] = {
11621 (char *) "self", NULL
11622 };
11623
11624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail;
11625 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11626 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11627 {
11628 PyThreadState* __tstate = wxPyBeginAllowThreads();
11629 result = (arg1)->GetColour();
11630
11631 wxPyEndAllowThreads(__tstate);
11632 if (PyErr_Occurred()) SWIG_fail;
11633 }
11634 {
11635 wxColour * resultptr;
11636 resultptr = new wxColour((wxColour &) result);
11637 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
11638 }
11639 return resultobj;
11640 fail:
11641 return NULL;
11642 }
11643
11644
11645 static PyObject *_wrap_ColourData_GetCustomColour(PyObject *, PyObject *args, PyObject *kwargs) {
11646 PyObject *resultobj;
11647 wxColourData *arg1 = (wxColourData *) 0 ;
11648 int arg2 ;
11649 wxColour result;
11650 PyObject * obj0 = 0 ;
11651 PyObject * obj1 = 0 ;
11652 char *kwnames[] = {
11653 (char *) "self",(char *) "i", NULL
11654 };
11655
11656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) goto fail;
11657 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11658 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11659 arg2 = (int)SWIG_As_int(obj1);
11660 if (PyErr_Occurred()) SWIG_fail;
11661 {
11662 PyThreadState* __tstate = wxPyBeginAllowThreads();
11663 result = (arg1)->GetCustomColour(arg2);
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_SetChooseFull(PyObject *, PyObject *args, PyObject *kwargs) {
11680 PyObject *resultobj;
11681 wxColourData *arg1 = (wxColourData *) 0 ;
11682 int arg2 ;
11683 PyObject * obj0 = 0 ;
11684 PyObject * obj1 = 0 ;
11685 char *kwnames[] = {
11686 (char *) "self",(char *) "flag", NULL
11687 };
11688
11689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) goto fail;
11690 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11691 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11692 arg2 = (int)SWIG_As_int(obj1);
11693 if (PyErr_Occurred()) SWIG_fail;
11694 {
11695 PyThreadState* __tstate = wxPyBeginAllowThreads();
11696 (arg1)->SetChooseFull(arg2);
11697
11698 wxPyEndAllowThreads(__tstate);
11699 if (PyErr_Occurred()) SWIG_fail;
11700 }
11701 Py_INCREF(Py_None); resultobj = Py_None;
11702 return resultobj;
11703 fail:
11704 return NULL;
11705 }
11706
11707
11708 static PyObject *_wrap_ColourData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
11709 PyObject *resultobj;
11710 wxColourData *arg1 = (wxColourData *) 0 ;
11711 wxColour *arg2 = 0 ;
11712 wxColour temp2 ;
11713 PyObject * obj0 = 0 ;
11714 PyObject * obj1 = 0 ;
11715 char *kwnames[] = {
11716 (char *) "self",(char *) "colour", NULL
11717 };
11718
11719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail;
11720 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11721 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11722 {
11723 arg2 = &temp2;
11724 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
11725 }
11726 {
11727 PyThreadState* __tstate = wxPyBeginAllowThreads();
11728 (arg1)->SetColour((wxColour const &)*arg2);
11729
11730 wxPyEndAllowThreads(__tstate);
11731 if (PyErr_Occurred()) SWIG_fail;
11732 }
11733 Py_INCREF(Py_None); resultobj = Py_None;
11734 return resultobj;
11735 fail:
11736 return NULL;
11737 }
11738
11739
11740 static PyObject *_wrap_ColourData_SetCustomColour(PyObject *, PyObject *args, PyObject *kwargs) {
11741 PyObject *resultobj;
11742 wxColourData *arg1 = (wxColourData *) 0 ;
11743 int arg2 ;
11744 wxColour *arg3 = 0 ;
11745 wxColour temp3 ;
11746 PyObject * obj0 = 0 ;
11747 PyObject * obj1 = 0 ;
11748 PyObject * obj2 = 0 ;
11749 char *kwnames[] = {
11750 (char *) "self",(char *) "i",(char *) "colour", NULL
11751 };
11752
11753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
11754 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11755 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11756 arg2 = (int)SWIG_As_int(obj1);
11757 if (PyErr_Occurred()) SWIG_fail;
11758 {
11759 arg3 = &temp3;
11760 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
11761 }
11762 {
11763 PyThreadState* __tstate = wxPyBeginAllowThreads();
11764 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
11765
11766 wxPyEndAllowThreads(__tstate);
11767 if (PyErr_Occurred()) SWIG_fail;
11768 }
11769 Py_INCREF(Py_None); resultobj = Py_None;
11770 return resultobj;
11771 fail:
11772 return NULL;
11773 }
11774
11775
11776 static PyObject * ColourData_swigregister(PyObject *, PyObject *args) {
11777 PyObject *obj;
11778 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11779 SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj);
11780 Py_INCREF(obj);
11781 return Py_BuildValue((char *)"");
11782 }
11783 static PyObject *_wrap_new_ColourDialog(PyObject *, PyObject *args, PyObject *kwargs) {
11784 PyObject *resultobj;
11785 wxWindow *arg1 = (wxWindow *) 0 ;
11786 wxColourData *arg2 = (wxColourData *) NULL ;
11787 wxColourDialog *result;
11788 PyObject * obj0 = 0 ;
11789 PyObject * obj1 = 0 ;
11790 char *kwnames[] = {
11791 (char *) "parent",(char *) "data", NULL
11792 };
11793
11794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail;
11795 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11796 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11797 if (obj1) {
11798 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxColourData,
11799 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11800 }
11801 {
11802 if (!wxPyCheckForApp()) SWIG_fail;
11803 PyThreadState* __tstate = wxPyBeginAllowThreads();
11804 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
11805
11806 wxPyEndAllowThreads(__tstate);
11807 if (PyErr_Occurred()) SWIG_fail;
11808 }
11809 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourDialog, 1);
11810 return resultobj;
11811 fail:
11812 return NULL;
11813 }
11814
11815
11816 static PyObject *_wrap_ColourDialog_GetColourData(PyObject *, PyObject *args, PyObject *kwargs) {
11817 PyObject *resultobj;
11818 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
11819 wxColourData *result;
11820 PyObject * obj0 = 0 ;
11821 char *kwnames[] = {
11822 (char *) "self", NULL
11823 };
11824
11825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail;
11826 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourDialog,
11827 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11828 {
11829 PyThreadState* __tstate = wxPyBeginAllowThreads();
11830 {
11831 wxColourData &_result_ref = (arg1)->GetColourData();
11832 result = (wxColourData *) &_result_ref;
11833 }
11834
11835 wxPyEndAllowThreads(__tstate);
11836 if (PyErr_Occurred()) SWIG_fail;
11837 }
11838 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 0);
11839 return resultobj;
11840 fail:
11841 return NULL;
11842 }
11843
11844
11845 static PyObject * ColourDialog_swigregister(PyObject *, PyObject *args) {
11846 PyObject *obj;
11847 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11848 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj);
11849 Py_INCREF(obj);
11850 return Py_BuildValue((char *)"");
11851 }
11852 static PyObject *_wrap_new_DirDialog(PyObject *, PyObject *args, PyObject *kwargs) {
11853 PyObject *resultobj;
11854 wxWindow *arg1 = (wxWindow *) 0 ;
11855 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
11856 wxString *arg2 = (wxString *) &arg2_defvalue ;
11857 wxString const &arg3_defvalue = wxPyEmptyString ;
11858 wxString *arg3 = (wxString *) &arg3_defvalue ;
11859 long arg4 = (long) 0 ;
11860 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11861 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11862 wxSize const &arg6_defvalue = wxDefaultSize ;
11863 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11864 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
11865 wxString *arg7 = (wxString *) &arg7_defvalue ;
11866 wxDirDialog *result;
11867 bool temp2 = False ;
11868 bool temp3 = False ;
11869 wxPoint temp5 ;
11870 wxSize temp6 ;
11871 bool temp7 = False ;
11872 PyObject * obj0 = 0 ;
11873 PyObject * obj1 = 0 ;
11874 PyObject * obj2 = 0 ;
11875 PyObject * obj3 = 0 ;
11876 PyObject * obj4 = 0 ;
11877 PyObject * obj5 = 0 ;
11878 PyObject * obj6 = 0 ;
11879 char *kwnames[] = {
11880 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
11881 };
11882
11883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11884 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11885 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11886 if (obj1) {
11887 {
11888 arg2 = wxString_in_helper(obj1);
11889 if (arg2 == NULL) SWIG_fail;
11890 temp2 = True;
11891 }
11892 }
11893 if (obj2) {
11894 {
11895 arg3 = wxString_in_helper(obj2);
11896 if (arg3 == NULL) SWIG_fail;
11897 temp3 = True;
11898 }
11899 }
11900 if (obj3) {
11901 arg4 = (long)SWIG_As_long(obj3);
11902 if (PyErr_Occurred()) SWIG_fail;
11903 }
11904 if (obj4) {
11905 {
11906 arg5 = &temp5;
11907 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11908 }
11909 }
11910 if (obj5) {
11911 {
11912 arg6 = &temp6;
11913 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11914 }
11915 }
11916 if (obj6) {
11917 {
11918 arg7 = wxString_in_helper(obj6);
11919 if (arg7 == NULL) SWIG_fail;
11920 temp7 = True;
11921 }
11922 }
11923 {
11924 if (!wxPyCheckForApp()) SWIG_fail;
11925 PyThreadState* __tstate = wxPyBeginAllowThreads();
11926 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
11927
11928 wxPyEndAllowThreads(__tstate);
11929 if (PyErr_Occurred()) SWIG_fail;
11930 }
11931 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirDialog, 1);
11932 {
11933 if (temp2)
11934 delete arg2;
11935 }
11936 {
11937 if (temp3)
11938 delete arg3;
11939 }
11940 {
11941 if (temp7)
11942 delete arg7;
11943 }
11944 return resultobj;
11945 fail:
11946 {
11947 if (temp2)
11948 delete arg2;
11949 }
11950 {
11951 if (temp3)
11952 delete arg3;
11953 }
11954 {
11955 if (temp7)
11956 delete arg7;
11957 }
11958 return NULL;
11959 }
11960
11961
11962 static PyObject *_wrap_DirDialog_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
11963 PyObject *resultobj;
11964 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11965 wxString result;
11966 PyObject * obj0 = 0 ;
11967 char *kwnames[] = {
11968 (char *) "self", NULL
11969 };
11970
11971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail;
11972 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11973 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11974 {
11975 PyThreadState* __tstate = wxPyBeginAllowThreads();
11976 result = (arg1)->GetPath();
11977
11978 wxPyEndAllowThreads(__tstate);
11979 if (PyErr_Occurred()) SWIG_fail;
11980 }
11981 {
11982 #if wxUSE_UNICODE
11983 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11984 #else
11985 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11986 #endif
11987 }
11988 return resultobj;
11989 fail:
11990 return NULL;
11991 }
11992
11993
11994 static PyObject *_wrap_DirDialog_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
11995 PyObject *resultobj;
11996 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11997 wxString result;
11998 PyObject * obj0 = 0 ;
11999 char *kwnames[] = {
12000 (char *) "self", NULL
12001 };
12002
12003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail;
12004 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
12005 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12006 {
12007 PyThreadState* __tstate = wxPyBeginAllowThreads();
12008 result = (arg1)->GetMessage();
12009
12010 wxPyEndAllowThreads(__tstate);
12011 if (PyErr_Occurred()) SWIG_fail;
12012 }
12013 {
12014 #if wxUSE_UNICODE
12015 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12016 #else
12017 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12018 #endif
12019 }
12020 return resultobj;
12021 fail:
12022 return NULL;
12023 }
12024
12025
12026 static PyObject *_wrap_DirDialog_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
12027 PyObject *resultobj;
12028 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
12029 long result;
12030 PyObject * obj0 = 0 ;
12031 char *kwnames[] = {
12032 (char *) "self", NULL
12033 };
12034
12035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail;
12036 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
12037 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12038 {
12039 PyThreadState* __tstate = wxPyBeginAllowThreads();
12040 result = (long)(arg1)->GetStyle();
12041
12042 wxPyEndAllowThreads(__tstate);
12043 if (PyErr_Occurred()) SWIG_fail;
12044 }
12045 resultobj = SWIG_From_long((long)result);
12046 return resultobj;
12047 fail:
12048 return NULL;
12049 }
12050
12051
12052 static PyObject *_wrap_DirDialog_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
12053 PyObject *resultobj;
12054 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
12055 wxString *arg2 = 0 ;
12056 bool temp2 = False ;
12057 PyObject * obj0 = 0 ;
12058 PyObject * obj1 = 0 ;
12059 char *kwnames[] = {
12060 (char *) "self",(char *) "message", NULL
12061 };
12062
12063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
12064 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
12065 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12066 {
12067 arg2 = wxString_in_helper(obj1);
12068 if (arg2 == NULL) SWIG_fail;
12069 temp2 = True;
12070 }
12071 {
12072 PyThreadState* __tstate = wxPyBeginAllowThreads();
12073 (arg1)->SetMessage((wxString const &)*arg2);
12074
12075 wxPyEndAllowThreads(__tstate);
12076 if (PyErr_Occurred()) SWIG_fail;
12077 }
12078 Py_INCREF(Py_None); resultobj = Py_None;
12079 {
12080 if (temp2)
12081 delete arg2;
12082 }
12083 return resultobj;
12084 fail:
12085 {
12086 if (temp2)
12087 delete arg2;
12088 }
12089 return NULL;
12090 }
12091
12092
12093 static PyObject *_wrap_DirDialog_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
12094 PyObject *resultobj;
12095 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
12096 wxString *arg2 = 0 ;
12097 bool temp2 = False ;
12098 PyObject * obj0 = 0 ;
12099 PyObject * obj1 = 0 ;
12100 char *kwnames[] = {
12101 (char *) "self",(char *) "path", NULL
12102 };
12103
12104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
12105 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
12106 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12107 {
12108 arg2 = wxString_in_helper(obj1);
12109 if (arg2 == NULL) SWIG_fail;
12110 temp2 = True;
12111 }
12112 {
12113 PyThreadState* __tstate = wxPyBeginAllowThreads();
12114 (arg1)->SetPath((wxString const &)*arg2);
12115
12116 wxPyEndAllowThreads(__tstate);
12117 if (PyErr_Occurred()) SWIG_fail;
12118 }
12119 Py_INCREF(Py_None); resultobj = Py_None;
12120 {
12121 if (temp2)
12122 delete arg2;
12123 }
12124 return resultobj;
12125 fail:
12126 {
12127 if (temp2)
12128 delete arg2;
12129 }
12130 return NULL;
12131 }
12132
12133
12134 static PyObject * DirDialog_swigregister(PyObject *, PyObject *args) {
12135 PyObject *obj;
12136 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12137 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj);
12138 Py_INCREF(obj);
12139 return Py_BuildValue((char *)"");
12140 }
12141 static PyObject *_wrap_new_FileDialog(PyObject *, PyObject *args, PyObject *kwargs) {
12142 PyObject *resultobj;
12143 wxWindow *arg1 = (wxWindow *) 0 ;
12144 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
12145 wxString *arg2 = (wxString *) &arg2_defvalue ;
12146 wxString const &arg3_defvalue = wxPyEmptyString ;
12147 wxString *arg3 = (wxString *) &arg3_defvalue ;
12148 wxString const &arg4_defvalue = wxPyEmptyString ;
12149 wxString *arg4 = (wxString *) &arg4_defvalue ;
12150 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
12151 wxString *arg5 = (wxString *) &arg5_defvalue ;
12152 long arg6 = (long) 0 ;
12153 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12154 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12155 wxFileDialog *result;
12156 bool temp2 = False ;
12157 bool temp3 = False ;
12158 bool temp4 = False ;
12159 bool temp5 = False ;
12160 wxPoint temp7 ;
12161 PyObject * obj0 = 0 ;
12162 PyObject * obj1 = 0 ;
12163 PyObject * obj2 = 0 ;
12164 PyObject * obj3 = 0 ;
12165 PyObject * obj4 = 0 ;
12166 PyObject * obj5 = 0 ;
12167 PyObject * obj6 = 0 ;
12168 char *kwnames[] = {
12169 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
12170 };
12171
12172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
12173 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12174 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12175 if (obj1) {
12176 {
12177 arg2 = wxString_in_helper(obj1);
12178 if (arg2 == NULL) SWIG_fail;
12179 temp2 = True;
12180 }
12181 }
12182 if (obj2) {
12183 {
12184 arg3 = wxString_in_helper(obj2);
12185 if (arg3 == NULL) SWIG_fail;
12186 temp3 = True;
12187 }
12188 }
12189 if (obj3) {
12190 {
12191 arg4 = wxString_in_helper(obj3);
12192 if (arg4 == NULL) SWIG_fail;
12193 temp4 = True;
12194 }
12195 }
12196 if (obj4) {
12197 {
12198 arg5 = wxString_in_helper(obj4);
12199 if (arg5 == NULL) SWIG_fail;
12200 temp5 = True;
12201 }
12202 }
12203 if (obj5) {
12204 arg6 = (long)SWIG_As_long(obj5);
12205 if (PyErr_Occurred()) SWIG_fail;
12206 }
12207 if (obj6) {
12208 {
12209 arg7 = &temp7;
12210 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
12211 }
12212 }
12213 {
12214 if (!wxPyCheckForApp()) SWIG_fail;
12215 PyThreadState* __tstate = wxPyBeginAllowThreads();
12216 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
12217
12218 wxPyEndAllowThreads(__tstate);
12219 if (PyErr_Occurred()) SWIG_fail;
12220 }
12221 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileDialog, 1);
12222 {
12223 if (temp2)
12224 delete arg2;
12225 }
12226 {
12227 if (temp3)
12228 delete arg3;
12229 }
12230 {
12231 if (temp4)
12232 delete arg4;
12233 }
12234 {
12235 if (temp5)
12236 delete arg5;
12237 }
12238 return resultobj;
12239 fail:
12240 {
12241 if (temp2)
12242 delete arg2;
12243 }
12244 {
12245 if (temp3)
12246 delete arg3;
12247 }
12248 {
12249 if (temp4)
12250 delete arg4;
12251 }
12252 {
12253 if (temp5)
12254 delete arg5;
12255 }
12256 return NULL;
12257 }
12258
12259
12260 static PyObject *_wrap_FileDialog_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
12261 PyObject *resultobj;
12262 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12263 wxString *arg2 = 0 ;
12264 bool temp2 = False ;
12265 PyObject * obj0 = 0 ;
12266 PyObject * obj1 = 0 ;
12267 char *kwnames[] = {
12268 (char *) "self",(char *) "message", NULL
12269 };
12270
12271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
12272 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12273 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12274 {
12275 arg2 = wxString_in_helper(obj1);
12276 if (arg2 == NULL) SWIG_fail;
12277 temp2 = True;
12278 }
12279 {
12280 PyThreadState* __tstate = wxPyBeginAllowThreads();
12281 (arg1)->SetMessage((wxString const &)*arg2);
12282
12283 wxPyEndAllowThreads(__tstate);
12284 if (PyErr_Occurred()) SWIG_fail;
12285 }
12286 Py_INCREF(Py_None); resultobj = Py_None;
12287 {
12288 if (temp2)
12289 delete arg2;
12290 }
12291 return resultobj;
12292 fail:
12293 {
12294 if (temp2)
12295 delete arg2;
12296 }
12297 return NULL;
12298 }
12299
12300
12301 static PyObject *_wrap_FileDialog_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
12302 PyObject *resultobj;
12303 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12304 wxString *arg2 = 0 ;
12305 bool temp2 = False ;
12306 PyObject * obj0 = 0 ;
12307 PyObject * obj1 = 0 ;
12308 char *kwnames[] = {
12309 (char *) "self",(char *) "path", NULL
12310 };
12311
12312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
12313 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12314 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12315 {
12316 arg2 = wxString_in_helper(obj1);
12317 if (arg2 == NULL) SWIG_fail;
12318 temp2 = True;
12319 }
12320 {
12321 PyThreadState* __tstate = wxPyBeginAllowThreads();
12322 (arg1)->SetPath((wxString const &)*arg2);
12323
12324 wxPyEndAllowThreads(__tstate);
12325 if (PyErr_Occurred()) SWIG_fail;
12326 }
12327 Py_INCREF(Py_None); resultobj = Py_None;
12328 {
12329 if (temp2)
12330 delete arg2;
12331 }
12332 return resultobj;
12333 fail:
12334 {
12335 if (temp2)
12336 delete arg2;
12337 }
12338 return NULL;
12339 }
12340
12341
12342 static PyObject *_wrap_FileDialog_SetDirectory(PyObject *, PyObject *args, PyObject *kwargs) {
12343 PyObject *resultobj;
12344 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12345 wxString *arg2 = 0 ;
12346 bool temp2 = False ;
12347 PyObject * obj0 = 0 ;
12348 PyObject * obj1 = 0 ;
12349 char *kwnames[] = {
12350 (char *) "self",(char *) "dir", NULL
12351 };
12352
12353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail;
12354 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12355 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12356 {
12357 arg2 = wxString_in_helper(obj1);
12358 if (arg2 == NULL) SWIG_fail;
12359 temp2 = True;
12360 }
12361 {
12362 PyThreadState* __tstate = wxPyBeginAllowThreads();
12363 (arg1)->SetDirectory((wxString const &)*arg2);
12364
12365 wxPyEndAllowThreads(__tstate);
12366 if (PyErr_Occurred()) SWIG_fail;
12367 }
12368 Py_INCREF(Py_None); resultobj = Py_None;
12369 {
12370 if (temp2)
12371 delete arg2;
12372 }
12373 return resultobj;
12374 fail:
12375 {
12376 if (temp2)
12377 delete arg2;
12378 }
12379 return NULL;
12380 }
12381
12382
12383 static PyObject *_wrap_FileDialog_SetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
12384 PyObject *resultobj;
12385 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12386 wxString *arg2 = 0 ;
12387 bool temp2 = False ;
12388 PyObject * obj0 = 0 ;
12389 PyObject * obj1 = 0 ;
12390 char *kwnames[] = {
12391 (char *) "self",(char *) "name", NULL
12392 };
12393
12394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail;
12395 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12396 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12397 {
12398 arg2 = wxString_in_helper(obj1);
12399 if (arg2 == NULL) SWIG_fail;
12400 temp2 = True;
12401 }
12402 {
12403 PyThreadState* __tstate = wxPyBeginAllowThreads();
12404 (arg1)->SetFilename((wxString const &)*arg2);
12405
12406 wxPyEndAllowThreads(__tstate);
12407 if (PyErr_Occurred()) SWIG_fail;
12408 }
12409 Py_INCREF(Py_None); resultobj = Py_None;
12410 {
12411 if (temp2)
12412 delete arg2;
12413 }
12414 return resultobj;
12415 fail:
12416 {
12417 if (temp2)
12418 delete arg2;
12419 }
12420 return NULL;
12421 }
12422
12423
12424 static PyObject *_wrap_FileDialog_SetWildcard(PyObject *, PyObject *args, PyObject *kwargs) {
12425 PyObject *resultobj;
12426 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12427 wxString *arg2 = 0 ;
12428 bool temp2 = False ;
12429 PyObject * obj0 = 0 ;
12430 PyObject * obj1 = 0 ;
12431 char *kwnames[] = {
12432 (char *) "self",(char *) "wildCard", NULL
12433 };
12434
12435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail;
12436 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12437 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12438 {
12439 arg2 = wxString_in_helper(obj1);
12440 if (arg2 == NULL) SWIG_fail;
12441 temp2 = True;
12442 }
12443 {
12444 PyThreadState* __tstate = wxPyBeginAllowThreads();
12445 (arg1)->SetWildcard((wxString const &)*arg2);
12446
12447 wxPyEndAllowThreads(__tstate);
12448 if (PyErr_Occurred()) SWIG_fail;
12449 }
12450 Py_INCREF(Py_None); resultobj = Py_None;
12451 {
12452 if (temp2)
12453 delete arg2;
12454 }
12455 return resultobj;
12456 fail:
12457 {
12458 if (temp2)
12459 delete arg2;
12460 }
12461 return NULL;
12462 }
12463
12464
12465 static PyObject *_wrap_FileDialog_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
12466 PyObject *resultobj;
12467 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12468 long arg2 ;
12469 PyObject * obj0 = 0 ;
12470 PyObject * obj1 = 0 ;
12471 char *kwnames[] = {
12472 (char *) "self",(char *) "style", NULL
12473 };
12474
12475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetStyle",kwnames,&obj0,&obj1)) goto fail;
12476 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12477 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12478 arg2 = (long)SWIG_As_long(obj1);
12479 if (PyErr_Occurred()) SWIG_fail;
12480 {
12481 PyThreadState* __tstate = wxPyBeginAllowThreads();
12482 (arg1)->SetStyle(arg2);
12483
12484 wxPyEndAllowThreads(__tstate);
12485 if (PyErr_Occurred()) SWIG_fail;
12486 }
12487 Py_INCREF(Py_None); resultobj = Py_None;
12488 return resultobj;
12489 fail:
12490 return NULL;
12491 }
12492
12493
12494 static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
12495 PyObject *resultobj;
12496 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12497 int arg2 ;
12498 PyObject * obj0 = 0 ;
12499 PyObject * obj1 = 0 ;
12500 char *kwnames[] = {
12501 (char *) "self",(char *) "filterIndex", NULL
12502 };
12503
12504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
12505 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12506 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12507 arg2 = (int)SWIG_As_int(obj1);
12508 if (PyErr_Occurred()) SWIG_fail;
12509 {
12510 PyThreadState* __tstate = wxPyBeginAllowThreads();
12511 (arg1)->SetFilterIndex(arg2);
12512
12513 wxPyEndAllowThreads(__tstate);
12514 if (PyErr_Occurred()) SWIG_fail;
12515 }
12516 Py_INCREF(Py_None); resultobj = Py_None;
12517 return resultobj;
12518 fail:
12519 return NULL;
12520 }
12521
12522
12523 static PyObject *_wrap_FileDialog_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
12524 PyObject *resultobj;
12525 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12526 wxString result;
12527 PyObject * obj0 = 0 ;
12528 char *kwnames[] = {
12529 (char *) "self", NULL
12530 };
12531
12532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail;
12533 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12534 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12535 {
12536 PyThreadState* __tstate = wxPyBeginAllowThreads();
12537 result = ((wxFileDialog const *)arg1)->GetMessage();
12538
12539 wxPyEndAllowThreads(__tstate);
12540 if (PyErr_Occurred()) SWIG_fail;
12541 }
12542 {
12543 #if wxUSE_UNICODE
12544 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12545 #else
12546 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12547 #endif
12548 }
12549 return resultobj;
12550 fail:
12551 return NULL;
12552 }
12553
12554
12555 static PyObject *_wrap_FileDialog_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
12556 PyObject *resultobj;
12557 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12558 wxString result;
12559 PyObject * obj0 = 0 ;
12560 char *kwnames[] = {
12561 (char *) "self", NULL
12562 };
12563
12564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail;
12565 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12566 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12567 {
12568 PyThreadState* __tstate = wxPyBeginAllowThreads();
12569 result = ((wxFileDialog const *)arg1)->GetPath();
12570
12571 wxPyEndAllowThreads(__tstate);
12572 if (PyErr_Occurred()) SWIG_fail;
12573 }
12574 {
12575 #if wxUSE_UNICODE
12576 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12577 #else
12578 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12579 #endif
12580 }
12581 return resultobj;
12582 fail:
12583 return NULL;
12584 }
12585
12586
12587 static PyObject *_wrap_FileDialog_GetDirectory(PyObject *, PyObject *args, PyObject *kwargs) {
12588 PyObject *resultobj;
12589 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12590 wxString result;
12591 PyObject * obj0 = 0 ;
12592 char *kwnames[] = {
12593 (char *) "self", NULL
12594 };
12595
12596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail;
12597 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12598 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12599 {
12600 PyThreadState* __tstate = wxPyBeginAllowThreads();
12601 result = ((wxFileDialog const *)arg1)->GetDirectory();
12602
12603 wxPyEndAllowThreads(__tstate);
12604 if (PyErr_Occurred()) SWIG_fail;
12605 }
12606 {
12607 #if wxUSE_UNICODE
12608 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12609 #else
12610 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12611 #endif
12612 }
12613 return resultobj;
12614 fail:
12615 return NULL;
12616 }
12617
12618
12619 static PyObject *_wrap_FileDialog_GetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
12620 PyObject *resultobj;
12621 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12622 wxString result;
12623 PyObject * obj0 = 0 ;
12624 char *kwnames[] = {
12625 (char *) "self", NULL
12626 };
12627
12628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail;
12629 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12630 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12631 {
12632 PyThreadState* __tstate = wxPyBeginAllowThreads();
12633 result = ((wxFileDialog const *)arg1)->GetFilename();
12634
12635 wxPyEndAllowThreads(__tstate);
12636 if (PyErr_Occurred()) SWIG_fail;
12637 }
12638 {
12639 #if wxUSE_UNICODE
12640 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12641 #else
12642 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12643 #endif
12644 }
12645 return resultobj;
12646 fail:
12647 return NULL;
12648 }
12649
12650
12651 static PyObject *_wrap_FileDialog_GetWildcard(PyObject *, PyObject *args, PyObject *kwargs) {
12652 PyObject *resultobj;
12653 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12654 wxString result;
12655 PyObject * obj0 = 0 ;
12656 char *kwnames[] = {
12657 (char *) "self", NULL
12658 };
12659
12660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail;
12661 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12662 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12663 {
12664 PyThreadState* __tstate = wxPyBeginAllowThreads();
12665 result = ((wxFileDialog const *)arg1)->GetWildcard();
12666
12667 wxPyEndAllowThreads(__tstate);
12668 if (PyErr_Occurred()) SWIG_fail;
12669 }
12670 {
12671 #if wxUSE_UNICODE
12672 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12673 #else
12674 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12675 #endif
12676 }
12677 return resultobj;
12678 fail:
12679 return NULL;
12680 }
12681
12682
12683 static PyObject *_wrap_FileDialog_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
12684 PyObject *resultobj;
12685 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12686 long result;
12687 PyObject * obj0 = 0 ;
12688 char *kwnames[] = {
12689 (char *) "self", NULL
12690 };
12691
12692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail;
12693 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12694 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12695 {
12696 PyThreadState* __tstate = wxPyBeginAllowThreads();
12697 result = (long)((wxFileDialog const *)arg1)->GetStyle();
12698
12699 wxPyEndAllowThreads(__tstate);
12700 if (PyErr_Occurred()) SWIG_fail;
12701 }
12702 resultobj = SWIG_From_long((long)result);
12703 return resultobj;
12704 fail:
12705 return NULL;
12706 }
12707
12708
12709 static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
12710 PyObject *resultobj;
12711 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12712 int result;
12713 PyObject * obj0 = 0 ;
12714 char *kwnames[] = {
12715 (char *) "self", NULL
12716 };
12717
12718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail;
12719 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12720 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12721 {
12722 PyThreadState* __tstate = wxPyBeginAllowThreads();
12723 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
12724
12725 wxPyEndAllowThreads(__tstate);
12726 if (PyErr_Occurred()) SWIG_fail;
12727 }
12728 resultobj = SWIG_From_int((int)result);
12729 return resultobj;
12730 fail:
12731 return NULL;
12732 }
12733
12734
12735 static PyObject *_wrap_FileDialog_GetFilenames(PyObject *, PyObject *args, PyObject *kwargs) {
12736 PyObject *resultobj;
12737 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12738 PyObject *result;
12739 PyObject * obj0 = 0 ;
12740 char *kwnames[] = {
12741 (char *) "self", NULL
12742 };
12743
12744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail;
12745 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12746 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12747 {
12748 PyThreadState* __tstate = wxPyBeginAllowThreads();
12749 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
12750
12751 wxPyEndAllowThreads(__tstate);
12752 if (PyErr_Occurred()) SWIG_fail;
12753 }
12754 resultobj = result;
12755 return resultobj;
12756 fail:
12757 return NULL;
12758 }
12759
12760
12761 static PyObject *_wrap_FileDialog_GetPaths(PyObject *, PyObject *args, PyObject *kwargs) {
12762 PyObject *resultobj;
12763 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12764 PyObject *result;
12765 PyObject * obj0 = 0 ;
12766 char *kwnames[] = {
12767 (char *) "self", NULL
12768 };
12769
12770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail;
12771 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12772 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12773 {
12774 PyThreadState* __tstate = wxPyBeginAllowThreads();
12775 result = (PyObject *)wxFileDialog_GetPaths(arg1);
12776
12777 wxPyEndAllowThreads(__tstate);
12778 if (PyErr_Occurred()) SWIG_fail;
12779 }
12780 resultobj = result;
12781 return resultobj;
12782 fail:
12783 return NULL;
12784 }
12785
12786
12787 static PyObject * FileDialog_swigregister(PyObject *, PyObject *args) {
12788 PyObject *obj;
12789 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12790 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj);
12791 Py_INCREF(obj);
12792 return Py_BuildValue((char *)"");
12793 }
12794 static PyObject *_wrap_new_MultiChoiceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
12795 PyObject *resultobj;
12796 wxWindow *arg1 = (wxWindow *) 0 ;
12797 wxString *arg2 = 0 ;
12798 wxString *arg3 = 0 ;
12799 int arg4 = (int) 0 ;
12800 wxString *arg5 = (wxString *) NULL ;
12801 long arg6 = (long) wxCHOICEDLG_STYLE ;
12802 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12803 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12804 wxMultiChoiceDialog *result;
12805 bool temp2 = False ;
12806 bool temp3 = False ;
12807 wxPoint temp6 ;
12808 PyObject * obj0 = 0 ;
12809 PyObject * obj1 = 0 ;
12810 PyObject * obj2 = 0 ;
12811 PyObject * obj3 = 0 ;
12812 PyObject * obj4 = 0 ;
12813 PyObject * obj5 = 0 ;
12814 char *kwnames[] = {
12815 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12816 };
12817
12818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12819 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12820 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12821 {
12822 arg2 = wxString_in_helper(obj1);
12823 if (arg2 == NULL) SWIG_fail;
12824 temp2 = True;
12825 }
12826 {
12827 arg3 = wxString_in_helper(obj2);
12828 if (arg3 == NULL) SWIG_fail;
12829 temp3 = True;
12830 }
12831 if (obj3) {
12832 {
12833 arg4 = PyList_Size(obj3);
12834 arg5 = wxString_LIST_helper(obj3);
12835 if (arg5 == NULL) SWIG_fail;
12836 }
12837 }
12838 if (obj4) {
12839 arg6 = (long)SWIG_As_long(obj4);
12840 if (PyErr_Occurred()) SWIG_fail;
12841 }
12842 if (obj5) {
12843 {
12844 arg7 = &temp6;
12845 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
12846 }
12847 }
12848 {
12849 if (!wxPyCheckForApp()) SWIG_fail;
12850 PyThreadState* __tstate = wxPyBeginAllowThreads();
12851 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
12852
12853 wxPyEndAllowThreads(__tstate);
12854 if (PyErr_Occurred()) SWIG_fail;
12855 }
12856 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMultiChoiceDialog, 1);
12857 {
12858 if (temp2)
12859 delete arg2;
12860 }
12861 {
12862 if (temp3)
12863 delete arg3;
12864 }
12865 {
12866 if (arg5) delete [] arg5;
12867 }
12868 return resultobj;
12869 fail:
12870 {
12871 if (temp2)
12872 delete arg2;
12873 }
12874 {
12875 if (temp3)
12876 delete arg3;
12877 }
12878 {
12879 if (arg5) delete [] arg5;
12880 }
12881 return NULL;
12882 }
12883
12884
12885 static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
12886 PyObject *resultobj;
12887 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
12888 wxArrayInt *arg2 = 0 ;
12889 bool temp2 = False ;
12890 PyObject * obj0 = 0 ;
12891 PyObject * obj1 = 0 ;
12892 char *kwnames[] = {
12893 (char *) "self",(char *) "selections", NULL
12894 };
12895
12896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail;
12897 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog,
12898 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12899 {
12900 if (! PySequence_Check(obj1)) {
12901 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
12902 SWIG_fail;
12903 }
12904 arg2 = new wxArrayInt;
12905 temp2 = True;
12906 int i, len=PySequence_Length(obj1);
12907 for (i=0; i<len; i++) {
12908 PyObject* item = PySequence_GetItem(obj1, i);
12909 PyObject* number = PyNumber_Int(item);
12910 arg2->Add(PyInt_AS_LONG(number));
12911 Py_DECREF(item);
12912 Py_DECREF(number);
12913 }
12914 }
12915 {
12916 PyThreadState* __tstate = wxPyBeginAllowThreads();
12917 (arg1)->SetSelections((wxArrayInt const &)*arg2);
12918
12919 wxPyEndAllowThreads(__tstate);
12920 if (PyErr_Occurred()) SWIG_fail;
12921 }
12922 Py_INCREF(Py_None); resultobj = Py_None;
12923 {
12924 if (temp2) delete arg2;
12925 }
12926 return resultobj;
12927 fail:
12928 {
12929 if (temp2) delete arg2;
12930 }
12931 return NULL;
12932 }
12933
12934
12935 static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
12936 PyObject *resultobj;
12937 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
12938 PyObject *result;
12939 PyObject * obj0 = 0 ;
12940 char *kwnames[] = {
12941 (char *) "self", NULL
12942 };
12943
12944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail;
12945 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog,
12946 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12947 {
12948 PyThreadState* __tstate = wxPyBeginAllowThreads();
12949 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
12950
12951 wxPyEndAllowThreads(__tstate);
12952 if (PyErr_Occurred()) SWIG_fail;
12953 }
12954 resultobj = result;
12955 return resultobj;
12956 fail:
12957 return NULL;
12958 }
12959
12960
12961 static PyObject * MultiChoiceDialog_swigregister(PyObject *, PyObject *args) {
12962 PyObject *obj;
12963 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12964 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj);
12965 Py_INCREF(obj);
12966 return Py_BuildValue((char *)"");
12967 }
12968 static PyObject *_wrap_new_SingleChoiceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
12969 PyObject *resultobj;
12970 wxWindow *arg1 = (wxWindow *) 0 ;
12971 wxString *arg2 = 0 ;
12972 wxString *arg3 = 0 ;
12973 int arg4 ;
12974 wxString *arg5 = (wxString *) 0 ;
12975 long arg6 = (long) wxCHOICEDLG_STYLE ;
12976 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12977 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12978 wxSingleChoiceDialog *result;
12979 bool temp2 = False ;
12980 bool temp3 = False ;
12981 wxPoint temp6 ;
12982 PyObject * obj0 = 0 ;
12983 PyObject * obj1 = 0 ;
12984 PyObject * obj2 = 0 ;
12985 PyObject * obj3 = 0 ;
12986 PyObject * obj4 = 0 ;
12987 PyObject * obj5 = 0 ;
12988 char *kwnames[] = {
12989 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12990 };
12991
12992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12993 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12994 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12995 {
12996 arg2 = wxString_in_helper(obj1);
12997 if (arg2 == NULL) SWIG_fail;
12998 temp2 = True;
12999 }
13000 {
13001 arg3 = wxString_in_helper(obj2);
13002 if (arg3 == NULL) SWIG_fail;
13003 temp3 = True;
13004 }
13005 {
13006 arg4 = PyList_Size(obj3);
13007 arg5 = wxString_LIST_helper(obj3);
13008 if (arg5 == NULL) SWIG_fail;
13009 }
13010 if (obj4) {
13011 arg6 = (long)SWIG_As_long(obj4);
13012 if (PyErr_Occurred()) SWIG_fail;
13013 }
13014 if (obj5) {
13015 {
13016 arg7 = &temp6;
13017 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
13018 }
13019 }
13020 {
13021 if (!wxPyCheckForApp()) SWIG_fail;
13022 PyThreadState* __tstate = wxPyBeginAllowThreads();
13023 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
13024
13025 wxPyEndAllowThreads(__tstate);
13026 if (PyErr_Occurred()) SWIG_fail;
13027 }
13028 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleChoiceDialog, 1);
13029 {
13030 if (temp2)
13031 delete arg2;
13032 }
13033 {
13034 if (temp3)
13035 delete arg3;
13036 }
13037 {
13038 if (arg5) delete [] arg5;
13039 }
13040 return resultobj;
13041 fail:
13042 {
13043 if (temp2)
13044 delete arg2;
13045 }
13046 {
13047 if (temp3)
13048 delete arg3;
13049 }
13050 {
13051 if (arg5) delete [] arg5;
13052 }
13053 return NULL;
13054 }
13055
13056
13057 static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13058 PyObject *resultobj;
13059 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
13060 int result;
13061 PyObject * obj0 = 0 ;
13062 char *kwnames[] = {
13063 (char *) "self", NULL
13064 };
13065
13066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail;
13067 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
13068 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13069 {
13070 PyThreadState* __tstate = wxPyBeginAllowThreads();
13071 result = (int)(arg1)->GetSelection();
13072
13073 wxPyEndAllowThreads(__tstate);
13074 if (PyErr_Occurred()) SWIG_fail;
13075 }
13076 resultobj = SWIG_From_int((int)result);
13077 return resultobj;
13078 fail:
13079 return NULL;
13080 }
13081
13082
13083 static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13084 PyObject *resultobj;
13085 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
13086 wxString result;
13087 PyObject * obj0 = 0 ;
13088 char *kwnames[] = {
13089 (char *) "self", NULL
13090 };
13091
13092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail;
13093 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
13094 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13095 {
13096 PyThreadState* __tstate = wxPyBeginAllowThreads();
13097 result = (arg1)->GetStringSelection();
13098
13099 wxPyEndAllowThreads(__tstate);
13100 if (PyErr_Occurred()) SWIG_fail;
13101 }
13102 {
13103 #if wxUSE_UNICODE
13104 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13105 #else
13106 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13107 #endif
13108 }
13109 return resultobj;
13110 fail:
13111 return NULL;
13112 }
13113
13114
13115 static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13116 PyObject *resultobj;
13117 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
13118 int arg2 ;
13119 PyObject * obj0 = 0 ;
13120 PyObject * obj1 = 0 ;
13121 char *kwnames[] = {
13122 (char *) "self",(char *) "sel", NULL
13123 };
13124
13125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) goto fail;
13126 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
13127 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13128 arg2 = (int)SWIG_As_int(obj1);
13129 if (PyErr_Occurred()) SWIG_fail;
13130 {
13131 PyThreadState* __tstate = wxPyBeginAllowThreads();
13132 (arg1)->SetSelection(arg2);
13133
13134 wxPyEndAllowThreads(__tstate);
13135 if (PyErr_Occurred()) SWIG_fail;
13136 }
13137 Py_INCREF(Py_None); resultobj = Py_None;
13138 return resultobj;
13139 fail:
13140 return NULL;
13141 }
13142
13143
13144 static PyObject * SingleChoiceDialog_swigregister(PyObject *, PyObject *args) {
13145 PyObject *obj;
13146 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13147 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj);
13148 Py_INCREF(obj);
13149 return Py_BuildValue((char *)"");
13150 }
13151 static PyObject *_wrap_new_TextEntryDialog(PyObject *, PyObject *args, PyObject *kwargs) {
13152 PyObject *resultobj;
13153 wxWindow *arg1 = (wxWindow *) 0 ;
13154 wxString *arg2 = 0 ;
13155 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
13156 wxString *arg3 = (wxString *) &arg3_defvalue ;
13157 wxString const &arg4_defvalue = wxPyEmptyString ;
13158 wxString *arg4 = (wxString *) &arg4_defvalue ;
13159 long arg5 = (long) wxOK|wxCANCEL|wxCENTRE ;
13160 wxPoint const &arg6_defvalue = wxDefaultPosition ;
13161 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
13162 wxTextEntryDialog *result;
13163 bool temp2 = False ;
13164 bool temp3 = False ;
13165 bool temp4 = False ;
13166 wxPoint temp6 ;
13167 PyObject * obj0 = 0 ;
13168 PyObject * obj1 = 0 ;
13169 PyObject * obj2 = 0 ;
13170 PyObject * obj3 = 0 ;
13171 PyObject * obj4 = 0 ;
13172 PyObject * obj5 = 0 ;
13173 char *kwnames[] = {
13174 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
13175 };
13176
13177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
13178 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13179 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13180 {
13181 arg2 = wxString_in_helper(obj1);
13182 if (arg2 == NULL) SWIG_fail;
13183 temp2 = True;
13184 }
13185 if (obj2) {
13186 {
13187 arg3 = wxString_in_helper(obj2);
13188 if (arg3 == NULL) SWIG_fail;
13189 temp3 = True;
13190 }
13191 }
13192 if (obj3) {
13193 {
13194 arg4 = wxString_in_helper(obj3);
13195 if (arg4 == NULL) SWIG_fail;
13196 temp4 = True;
13197 }
13198 }
13199 if (obj4) {
13200 arg5 = (long)SWIG_As_long(obj4);
13201 if (PyErr_Occurred()) SWIG_fail;
13202 }
13203 if (obj5) {
13204 {
13205 arg6 = &temp6;
13206 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
13207 }
13208 }
13209 {
13210 if (!wxPyCheckForApp()) SWIG_fail;
13211 PyThreadState* __tstate = wxPyBeginAllowThreads();
13212 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
13213
13214 wxPyEndAllowThreads(__tstate);
13215 if (PyErr_Occurred()) SWIG_fail;
13216 }
13217 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextEntryDialog, 1);
13218 {
13219 if (temp2)
13220 delete arg2;
13221 }
13222 {
13223 if (temp3)
13224 delete arg3;
13225 }
13226 {
13227 if (temp4)
13228 delete arg4;
13229 }
13230 return resultobj;
13231 fail:
13232 {
13233 if (temp2)
13234 delete arg2;
13235 }
13236 {
13237 if (temp3)
13238 delete arg3;
13239 }
13240 {
13241 if (temp4)
13242 delete arg4;
13243 }
13244 return NULL;
13245 }
13246
13247
13248 static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
13249 PyObject *resultobj;
13250 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
13251 wxString result;
13252 PyObject * obj0 = 0 ;
13253 char *kwnames[] = {
13254 (char *) "self", NULL
13255 };
13256
13257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail;
13258 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog,
13259 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13260 {
13261 PyThreadState* __tstate = wxPyBeginAllowThreads();
13262 result = (arg1)->GetValue();
13263
13264 wxPyEndAllowThreads(__tstate);
13265 if (PyErr_Occurred()) SWIG_fail;
13266 }
13267 {
13268 #if wxUSE_UNICODE
13269 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13270 #else
13271 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13272 #endif
13273 }
13274 return resultobj;
13275 fail:
13276 return NULL;
13277 }
13278
13279
13280 static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
13281 PyObject *resultobj;
13282 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
13283 wxString *arg2 = 0 ;
13284 bool temp2 = False ;
13285 PyObject * obj0 = 0 ;
13286 PyObject * obj1 = 0 ;
13287 char *kwnames[] = {
13288 (char *) "self",(char *) "value", NULL
13289 };
13290
13291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail;
13292 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog,
13293 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13294 {
13295 arg2 = wxString_in_helper(obj1);
13296 if (arg2 == NULL) SWIG_fail;
13297 temp2 = True;
13298 }
13299 {
13300 PyThreadState* __tstate = wxPyBeginAllowThreads();
13301 (arg1)->SetValue((wxString const &)*arg2);
13302
13303 wxPyEndAllowThreads(__tstate);
13304 if (PyErr_Occurred()) SWIG_fail;
13305 }
13306 Py_INCREF(Py_None); resultobj = Py_None;
13307 {
13308 if (temp2)
13309 delete arg2;
13310 }
13311 return resultobj;
13312 fail:
13313 {
13314 if (temp2)
13315 delete arg2;
13316 }
13317 return NULL;
13318 }
13319
13320
13321 static PyObject * TextEntryDialog_swigregister(PyObject *, PyObject *args) {
13322 PyObject *obj;
13323 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13324 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj);
13325 Py_INCREF(obj);
13326 return Py_BuildValue((char *)"");
13327 }
13328 static PyObject *_wrap_new_FontData(PyObject *, PyObject *args, PyObject *kwargs) {
13329 PyObject *resultobj;
13330 wxFontData *result;
13331 char *kwnames[] = {
13332 NULL
13333 };
13334
13335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail;
13336 {
13337 PyThreadState* __tstate = wxPyBeginAllowThreads();
13338 result = (wxFontData *)new wxFontData();
13339
13340 wxPyEndAllowThreads(__tstate);
13341 if (PyErr_Occurred()) SWIG_fail;
13342 }
13343 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 1);
13344 return resultobj;
13345 fail:
13346 return NULL;
13347 }
13348
13349
13350 static PyObject *_wrap_delete_FontData(PyObject *, PyObject *args, PyObject *kwargs) {
13351 PyObject *resultobj;
13352 wxFontData *arg1 = (wxFontData *) 0 ;
13353 PyObject * obj0 = 0 ;
13354 char *kwnames[] = {
13355 (char *) "self", NULL
13356 };
13357
13358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail;
13359 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13360 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13361 {
13362 PyThreadState* __tstate = wxPyBeginAllowThreads();
13363 delete arg1;
13364
13365 wxPyEndAllowThreads(__tstate);
13366 if (PyErr_Occurred()) SWIG_fail;
13367 }
13368 Py_INCREF(Py_None); resultobj = Py_None;
13369 return resultobj;
13370 fail:
13371 return NULL;
13372 }
13373
13374
13375 static PyObject *_wrap_FontData_EnableEffects(PyObject *, PyObject *args, PyObject *kwargs) {
13376 PyObject *resultobj;
13377 wxFontData *arg1 = (wxFontData *) 0 ;
13378 bool arg2 ;
13379 PyObject * obj0 = 0 ;
13380 PyObject * obj1 = 0 ;
13381 char *kwnames[] = {
13382 (char *) "self",(char *) "enable", NULL
13383 };
13384
13385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail;
13386 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13387 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13388 arg2 = (bool)SWIG_As_bool(obj1);
13389 if (PyErr_Occurred()) SWIG_fail;
13390 {
13391 PyThreadState* __tstate = wxPyBeginAllowThreads();
13392 (arg1)->EnableEffects(arg2);
13393
13394 wxPyEndAllowThreads(__tstate);
13395 if (PyErr_Occurred()) SWIG_fail;
13396 }
13397 Py_INCREF(Py_None); resultobj = Py_None;
13398 return resultobj;
13399 fail:
13400 return NULL;
13401 }
13402
13403
13404 static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *, PyObject *args, PyObject *kwargs) {
13405 PyObject *resultobj;
13406 wxFontData *arg1 = (wxFontData *) 0 ;
13407 bool result;
13408 PyObject * obj0 = 0 ;
13409 char *kwnames[] = {
13410 (char *) "self", NULL
13411 };
13412
13413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail;
13414 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13415 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13416 {
13417 PyThreadState* __tstate = wxPyBeginAllowThreads();
13418 result = (bool)(arg1)->GetAllowSymbols();
13419
13420 wxPyEndAllowThreads(__tstate);
13421 if (PyErr_Occurred()) SWIG_fail;
13422 }
13423 {
13424 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13425 }
13426 return resultobj;
13427 fail:
13428 return NULL;
13429 }
13430
13431
13432 static PyObject *_wrap_FontData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
13433 PyObject *resultobj;
13434 wxFontData *arg1 = (wxFontData *) 0 ;
13435 wxColour result;
13436 PyObject * obj0 = 0 ;
13437 char *kwnames[] = {
13438 (char *) "self", NULL
13439 };
13440
13441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail;
13442 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13443 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13444 {
13445 PyThreadState* __tstate = wxPyBeginAllowThreads();
13446 result = (arg1)->GetColour();
13447
13448 wxPyEndAllowThreads(__tstate);
13449 if (PyErr_Occurred()) SWIG_fail;
13450 }
13451 {
13452 wxColour * resultptr;
13453 resultptr = new wxColour((wxColour &) result);
13454 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
13455 }
13456 return resultobj;
13457 fail:
13458 return NULL;
13459 }
13460
13461
13462 static PyObject *_wrap_FontData_GetChosenFont(PyObject *, PyObject *args, PyObject *kwargs) {
13463 PyObject *resultobj;
13464 wxFontData *arg1 = (wxFontData *) 0 ;
13465 wxFont result;
13466 PyObject * obj0 = 0 ;
13467 char *kwnames[] = {
13468 (char *) "self", NULL
13469 };
13470
13471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail;
13472 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13473 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13474 {
13475 PyThreadState* __tstate = wxPyBeginAllowThreads();
13476 result = (arg1)->GetChosenFont();
13477
13478 wxPyEndAllowThreads(__tstate);
13479 if (PyErr_Occurred()) SWIG_fail;
13480 }
13481 {
13482 wxFont * resultptr;
13483 resultptr = new wxFont((wxFont &) result);
13484 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
13485 }
13486 return resultobj;
13487 fail:
13488 return NULL;
13489 }
13490
13491
13492 static PyObject *_wrap_FontData_GetEnableEffects(PyObject *, PyObject *args, PyObject *kwargs) {
13493 PyObject *resultobj;
13494 wxFontData *arg1 = (wxFontData *) 0 ;
13495 bool result;
13496 PyObject * obj0 = 0 ;
13497 char *kwnames[] = {
13498 (char *) "self", NULL
13499 };
13500
13501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail;
13502 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13503 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13504 {
13505 PyThreadState* __tstate = wxPyBeginAllowThreads();
13506 result = (bool)(arg1)->GetEnableEffects();
13507
13508 wxPyEndAllowThreads(__tstate);
13509 if (PyErr_Occurred()) SWIG_fail;
13510 }
13511 {
13512 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13513 }
13514 return resultobj;
13515 fail:
13516 return NULL;
13517 }
13518
13519
13520 static PyObject *_wrap_FontData_GetInitialFont(PyObject *, PyObject *args, PyObject *kwargs) {
13521 PyObject *resultobj;
13522 wxFontData *arg1 = (wxFontData *) 0 ;
13523 wxFont result;
13524 PyObject * obj0 = 0 ;
13525 char *kwnames[] = {
13526 (char *) "self", NULL
13527 };
13528
13529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail;
13530 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13531 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13532 {
13533 PyThreadState* __tstate = wxPyBeginAllowThreads();
13534 result = (arg1)->GetInitialFont();
13535
13536 wxPyEndAllowThreads(__tstate);
13537 if (PyErr_Occurred()) SWIG_fail;
13538 }
13539 {
13540 wxFont * resultptr;
13541 resultptr = new wxFont((wxFont &) result);
13542 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
13543 }
13544 return resultobj;
13545 fail:
13546 return NULL;
13547 }
13548
13549
13550 static PyObject *_wrap_FontData_GetShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
13551 PyObject *resultobj;
13552 wxFontData *arg1 = (wxFontData *) 0 ;
13553 bool result;
13554 PyObject * obj0 = 0 ;
13555 char *kwnames[] = {
13556 (char *) "self", NULL
13557 };
13558
13559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail;
13560 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13561 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13562 {
13563 PyThreadState* __tstate = wxPyBeginAllowThreads();
13564 result = (bool)(arg1)->GetShowHelp();
13565
13566 wxPyEndAllowThreads(__tstate);
13567 if (PyErr_Occurred()) SWIG_fail;
13568 }
13569 {
13570 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13571 }
13572 return resultobj;
13573 fail:
13574 return NULL;
13575 }
13576
13577
13578 static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *, PyObject *args, PyObject *kwargs) {
13579 PyObject *resultobj;
13580 wxFontData *arg1 = (wxFontData *) 0 ;
13581 bool arg2 ;
13582 PyObject * obj0 = 0 ;
13583 PyObject * obj1 = 0 ;
13584 char *kwnames[] = {
13585 (char *) "self",(char *) "allowSymbols", NULL
13586 };
13587
13588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail;
13589 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13590 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13591 arg2 = (bool)SWIG_As_bool(obj1);
13592 if (PyErr_Occurred()) SWIG_fail;
13593 {
13594 PyThreadState* __tstate = wxPyBeginAllowThreads();
13595 (arg1)->SetAllowSymbols(arg2);
13596
13597 wxPyEndAllowThreads(__tstate);
13598 if (PyErr_Occurred()) SWIG_fail;
13599 }
13600 Py_INCREF(Py_None); resultobj = Py_None;
13601 return resultobj;
13602 fail:
13603 return NULL;
13604 }
13605
13606
13607 static PyObject *_wrap_FontData_SetChosenFont(PyObject *, PyObject *args, PyObject *kwargs) {
13608 PyObject *resultobj;
13609 wxFontData *arg1 = (wxFontData *) 0 ;
13610 wxFont *arg2 = 0 ;
13611 PyObject * obj0 = 0 ;
13612 PyObject * obj1 = 0 ;
13613 char *kwnames[] = {
13614 (char *) "self",(char *) "font", NULL
13615 };
13616
13617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail;
13618 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13619 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13620 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
13621 SWIG_POINTER_EXCEPTION | 0)) == -1)
13622 SWIG_fail;
13623 if (arg2 == NULL) {
13624 PyErr_SetString(PyExc_TypeError,"null reference");
13625 SWIG_fail;
13626 }
13627 {
13628 PyThreadState* __tstate = wxPyBeginAllowThreads();
13629 (arg1)->SetChosenFont((wxFont const &)*arg2);
13630
13631 wxPyEndAllowThreads(__tstate);
13632 if (PyErr_Occurred()) SWIG_fail;
13633 }
13634 Py_INCREF(Py_None); resultobj = Py_None;
13635 return resultobj;
13636 fail:
13637 return NULL;
13638 }
13639
13640
13641 static PyObject *_wrap_FontData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
13642 PyObject *resultobj;
13643 wxFontData *arg1 = (wxFontData *) 0 ;
13644 wxColour *arg2 = 0 ;
13645 wxColour temp2 ;
13646 PyObject * obj0 = 0 ;
13647 PyObject * obj1 = 0 ;
13648 char *kwnames[] = {
13649 (char *) "self",(char *) "colour", NULL
13650 };
13651
13652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail;
13653 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13654 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13655 {
13656 arg2 = &temp2;
13657 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
13658 }
13659 {
13660 PyThreadState* __tstate = wxPyBeginAllowThreads();
13661 (arg1)->SetColour((wxColour const &)*arg2);
13662
13663 wxPyEndAllowThreads(__tstate);
13664 if (PyErr_Occurred()) SWIG_fail;
13665 }
13666 Py_INCREF(Py_None); resultobj = Py_None;
13667 return resultobj;
13668 fail:
13669 return NULL;
13670 }
13671
13672
13673 static PyObject *_wrap_FontData_SetInitialFont(PyObject *, PyObject *args, PyObject *kwargs) {
13674 PyObject *resultobj;
13675 wxFontData *arg1 = (wxFontData *) 0 ;
13676 wxFont *arg2 = 0 ;
13677 PyObject * obj0 = 0 ;
13678 PyObject * obj1 = 0 ;
13679 char *kwnames[] = {
13680 (char *) "self",(char *) "font", NULL
13681 };
13682
13683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail;
13684 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13685 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13686 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
13687 SWIG_POINTER_EXCEPTION | 0)) == -1)
13688 SWIG_fail;
13689 if (arg2 == NULL) {
13690 PyErr_SetString(PyExc_TypeError,"null reference");
13691 SWIG_fail;
13692 }
13693 {
13694 PyThreadState* __tstate = wxPyBeginAllowThreads();
13695 (arg1)->SetInitialFont((wxFont const &)*arg2);
13696
13697 wxPyEndAllowThreads(__tstate);
13698 if (PyErr_Occurred()) SWIG_fail;
13699 }
13700 Py_INCREF(Py_None); resultobj = Py_None;
13701 return resultobj;
13702 fail:
13703 return NULL;
13704 }
13705
13706
13707 static PyObject *_wrap_FontData_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
13708 PyObject *resultobj;
13709 wxFontData *arg1 = (wxFontData *) 0 ;
13710 int arg2 ;
13711 int arg3 ;
13712 PyObject * obj0 = 0 ;
13713 PyObject * obj1 = 0 ;
13714 PyObject * obj2 = 0 ;
13715 char *kwnames[] = {
13716 (char *) "self",(char *) "min",(char *) "max", NULL
13717 };
13718
13719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
13720 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13721 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13722 arg2 = (int)SWIG_As_int(obj1);
13723 if (PyErr_Occurred()) SWIG_fail;
13724 arg3 = (int)SWIG_As_int(obj2);
13725 if (PyErr_Occurred()) SWIG_fail;
13726 {
13727 PyThreadState* __tstate = wxPyBeginAllowThreads();
13728 (arg1)->SetRange(arg2,arg3);
13729
13730 wxPyEndAllowThreads(__tstate);
13731 if (PyErr_Occurred()) SWIG_fail;
13732 }
13733 Py_INCREF(Py_None); resultobj = Py_None;
13734 return resultobj;
13735 fail:
13736 return NULL;
13737 }
13738
13739
13740 static PyObject *_wrap_FontData_SetShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
13741 PyObject *resultobj;
13742 wxFontData *arg1 = (wxFontData *) 0 ;
13743 bool arg2 ;
13744 PyObject * obj0 = 0 ;
13745 PyObject * obj1 = 0 ;
13746 char *kwnames[] = {
13747 (char *) "self",(char *) "showHelp", NULL
13748 };
13749
13750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail;
13751 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13752 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13753 arg2 = (bool)SWIG_As_bool(obj1);
13754 if (PyErr_Occurred()) SWIG_fail;
13755 {
13756 PyThreadState* __tstate = wxPyBeginAllowThreads();
13757 (arg1)->SetShowHelp(arg2);
13758
13759 wxPyEndAllowThreads(__tstate);
13760 if (PyErr_Occurred()) SWIG_fail;
13761 }
13762 Py_INCREF(Py_None); resultobj = Py_None;
13763 return resultobj;
13764 fail:
13765 return NULL;
13766 }
13767
13768
13769 static PyObject * FontData_swigregister(PyObject *, PyObject *args) {
13770 PyObject *obj;
13771 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13772 SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj);
13773 Py_INCREF(obj);
13774 return Py_BuildValue((char *)"");
13775 }
13776 static PyObject *_wrap_new_FontDialog(PyObject *, PyObject *args, PyObject *kwargs) {
13777 PyObject *resultobj;
13778 wxWindow *arg1 = (wxWindow *) 0 ;
13779 wxFontData *arg2 = 0 ;
13780 wxFontDialog *result;
13781 PyObject * obj0 = 0 ;
13782 PyObject * obj1 = 0 ;
13783 char *kwnames[] = {
13784 (char *) "parent",(char *) "data", NULL
13785 };
13786
13787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail;
13788 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13789 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13790 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFontData,
13791 SWIG_POINTER_EXCEPTION | 0)) == -1)
13792 SWIG_fail;
13793 if (arg2 == NULL) {
13794 PyErr_SetString(PyExc_TypeError,"null reference");
13795 SWIG_fail;
13796 }
13797 {
13798 if (!wxPyCheckForApp()) SWIG_fail;
13799 PyThreadState* __tstate = wxPyBeginAllowThreads();
13800 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
13801
13802 wxPyEndAllowThreads(__tstate);
13803 if (PyErr_Occurred()) SWIG_fail;
13804 }
13805 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontDialog, 1);
13806 return resultobj;
13807 fail:
13808 return NULL;
13809 }
13810
13811
13812 static PyObject *_wrap_FontDialog_GetFontData(PyObject *, PyObject *args, PyObject *kwargs) {
13813 PyObject *resultobj;
13814 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
13815 wxFontData *result;
13816 PyObject * obj0 = 0 ;
13817 char *kwnames[] = {
13818 (char *) "self", NULL
13819 };
13820
13821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail;
13822 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontDialog,
13823 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13824 {
13825 PyThreadState* __tstate = wxPyBeginAllowThreads();
13826 {
13827 wxFontData &_result_ref = (arg1)->GetFontData();
13828 result = (wxFontData *) &_result_ref;
13829 }
13830
13831 wxPyEndAllowThreads(__tstate);
13832 if (PyErr_Occurred()) SWIG_fail;
13833 }
13834 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 0);
13835 return resultobj;
13836 fail:
13837 return NULL;
13838 }
13839
13840
13841 static PyObject * FontDialog_swigregister(PyObject *, PyObject *args) {
13842 PyObject *obj;
13843 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13844 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj);
13845 Py_INCREF(obj);
13846 return Py_BuildValue((char *)"");
13847 }
13848 static PyObject *_wrap_new_MessageDialog(PyObject *, PyObject *args, PyObject *kwargs) {
13849 PyObject *resultobj;
13850 wxWindow *arg1 = (wxWindow *) 0 ;
13851 wxString *arg2 = 0 ;
13852 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
13853 wxString *arg3 = (wxString *) &arg3_defvalue ;
13854 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
13855 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13856 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13857 wxMessageDialog *result;
13858 bool temp2 = False ;
13859 bool temp3 = False ;
13860 wxPoint temp5 ;
13861 PyObject * obj0 = 0 ;
13862 PyObject * obj1 = 0 ;
13863 PyObject * obj2 = 0 ;
13864 PyObject * obj3 = 0 ;
13865 PyObject * obj4 = 0 ;
13866 char *kwnames[] = {
13867 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
13868 };
13869
13870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13871 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13872 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13873 {
13874 arg2 = wxString_in_helper(obj1);
13875 if (arg2 == NULL) SWIG_fail;
13876 temp2 = True;
13877 }
13878 if (obj2) {
13879 {
13880 arg3 = wxString_in_helper(obj2);
13881 if (arg3 == NULL) SWIG_fail;
13882 temp3 = True;
13883 }
13884 }
13885 if (obj3) {
13886 arg4 = (long)SWIG_As_long(obj3);
13887 if (PyErr_Occurred()) SWIG_fail;
13888 }
13889 if (obj4) {
13890 {
13891 arg5 = &temp5;
13892 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13893 }
13894 }
13895 {
13896 if (!wxPyCheckForApp()) SWIG_fail;
13897 PyThreadState* __tstate = wxPyBeginAllowThreads();
13898 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
13899
13900 wxPyEndAllowThreads(__tstate);
13901 if (PyErr_Occurred()) SWIG_fail;
13902 }
13903 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMessageDialog, 1);
13904 {
13905 if (temp2)
13906 delete arg2;
13907 }
13908 {
13909 if (temp3)
13910 delete arg3;
13911 }
13912 return resultobj;
13913 fail:
13914 {
13915 if (temp2)
13916 delete arg2;
13917 }
13918 {
13919 if (temp3)
13920 delete arg3;
13921 }
13922 return NULL;
13923 }
13924
13925
13926 static PyObject * MessageDialog_swigregister(PyObject *, PyObject *args) {
13927 PyObject *obj;
13928 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13929 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj);
13930 Py_INCREF(obj);
13931 return Py_BuildValue((char *)"");
13932 }
13933 static PyObject *_wrap_new_ProgressDialog(PyObject *, PyObject *args, PyObject *kwargs) {
13934 PyObject *resultobj;
13935 wxString *arg1 = 0 ;
13936 wxString *arg2 = 0 ;
13937 int arg3 = (int) 100 ;
13938 wxWindow *arg4 = (wxWindow *) NULL ;
13939 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
13940 wxProgressDialog *result;
13941 bool temp1 = False ;
13942 bool temp2 = False ;
13943 PyObject * obj0 = 0 ;
13944 PyObject * obj1 = 0 ;
13945 PyObject * obj2 = 0 ;
13946 PyObject * obj3 = 0 ;
13947 PyObject * obj4 = 0 ;
13948 char *kwnames[] = {
13949 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
13950 };
13951
13952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13953 {
13954 arg1 = wxString_in_helper(obj0);
13955 if (arg1 == NULL) SWIG_fail;
13956 temp1 = True;
13957 }
13958 {
13959 arg2 = wxString_in_helper(obj1);
13960 if (arg2 == NULL) SWIG_fail;
13961 temp2 = True;
13962 }
13963 if (obj2) {
13964 arg3 = (int)SWIG_As_int(obj2);
13965 if (PyErr_Occurred()) SWIG_fail;
13966 }
13967 if (obj3) {
13968 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
13969 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13970 }
13971 if (obj4) {
13972 arg5 = (int)SWIG_As_int(obj4);
13973 if (PyErr_Occurred()) SWIG_fail;
13974 }
13975 {
13976 if (!wxPyCheckForApp()) SWIG_fail;
13977 PyThreadState* __tstate = wxPyBeginAllowThreads();
13978 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
13979
13980 wxPyEndAllowThreads(__tstate);
13981 if (PyErr_Occurred()) SWIG_fail;
13982 }
13983 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxProgressDialog, 1);
13984 {
13985 if (temp1)
13986 delete arg1;
13987 }
13988 {
13989 if (temp2)
13990 delete arg2;
13991 }
13992 return resultobj;
13993 fail:
13994 {
13995 if (temp1)
13996 delete arg1;
13997 }
13998 {
13999 if (temp2)
14000 delete arg2;
14001 }
14002 return NULL;
14003 }
14004
14005
14006 static PyObject *_wrap_ProgressDialog_Update(PyObject *, PyObject *args, PyObject *kwargs) {
14007 PyObject *resultobj;
14008 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
14009 int arg2 ;
14010 wxString const &arg3_defvalue = wxPyEmptyString ;
14011 wxString *arg3 = (wxString *) &arg3_defvalue ;
14012 bool result;
14013 bool temp3 = False ;
14014 PyObject * obj0 = 0 ;
14015 PyObject * obj1 = 0 ;
14016 PyObject * obj2 = 0 ;
14017 char *kwnames[] = {
14018 (char *) "self",(char *) "value",(char *) "newmsg", NULL
14019 };
14020
14021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) goto fail;
14022 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog,
14023 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14024 arg2 = (int)SWIG_As_int(obj1);
14025 if (PyErr_Occurred()) SWIG_fail;
14026 if (obj2) {
14027 {
14028 arg3 = wxString_in_helper(obj2);
14029 if (arg3 == NULL) SWIG_fail;
14030 temp3 = True;
14031 }
14032 }
14033 {
14034 PyThreadState* __tstate = wxPyBeginAllowThreads();
14035 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3);
14036
14037 wxPyEndAllowThreads(__tstate);
14038 if (PyErr_Occurred()) SWIG_fail;
14039 }
14040 {
14041 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14042 }
14043 {
14044 if (temp3)
14045 delete arg3;
14046 }
14047 return resultobj;
14048 fail:
14049 {
14050 if (temp3)
14051 delete arg3;
14052 }
14053 return NULL;
14054 }
14055
14056
14057 static PyObject *_wrap_ProgressDialog_Resume(PyObject *, PyObject *args, PyObject *kwargs) {
14058 PyObject *resultobj;
14059 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
14060 PyObject * obj0 = 0 ;
14061 char *kwnames[] = {
14062 (char *) "self", NULL
14063 };
14064
14065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail;
14066 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog,
14067 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14068 {
14069 PyThreadState* __tstate = wxPyBeginAllowThreads();
14070 (arg1)->Resume();
14071
14072 wxPyEndAllowThreads(__tstate);
14073 if (PyErr_Occurred()) SWIG_fail;
14074 }
14075 Py_INCREF(Py_None); resultobj = Py_None;
14076 return resultobj;
14077 fail:
14078 return NULL;
14079 }
14080
14081
14082 static PyObject * ProgressDialog_swigregister(PyObject *, PyObject *args) {
14083 PyObject *obj;
14084 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14085 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj);
14086 Py_INCREF(obj);
14087 return Py_BuildValue((char *)"");
14088 }
14089 static PyObject *_wrap_new_FindDialogEvent(PyObject *, PyObject *args, PyObject *kwargs) {
14090 PyObject *resultobj;
14091 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
14092 int arg2 = (int) 0 ;
14093 wxFindDialogEvent *result;
14094 PyObject * obj0 = 0 ;
14095 PyObject * obj1 = 0 ;
14096 char *kwnames[] = {
14097 (char *) "commandType",(char *) "id", NULL
14098 };
14099
14100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) goto fail;
14101 if (obj0) {
14102 arg1 = (wxEventType)SWIG_As_int(obj0);
14103 if (PyErr_Occurred()) SWIG_fail;
14104 }
14105 if (obj1) {
14106 arg2 = (int)SWIG_As_int(obj1);
14107 if (PyErr_Occurred()) SWIG_fail;
14108 }
14109 {
14110 PyThreadState* __tstate = wxPyBeginAllowThreads();
14111 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
14112
14113 wxPyEndAllowThreads(__tstate);
14114 if (PyErr_Occurred()) SWIG_fail;
14115 }
14116 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindDialogEvent, 1);
14117 return resultobj;
14118 fail:
14119 return NULL;
14120 }
14121
14122
14123 static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
14124 PyObject *resultobj;
14125 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
14126 int result;
14127 PyObject * obj0 = 0 ;
14128 char *kwnames[] = {
14129 (char *) "self", NULL
14130 };
14131
14132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail;
14133 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14134 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14135 {
14136 PyThreadState* __tstate = wxPyBeginAllowThreads();
14137 result = (int)(arg1)->GetFlags();
14138
14139 wxPyEndAllowThreads(__tstate);
14140 if (PyErr_Occurred()) SWIG_fail;
14141 }
14142 resultobj = SWIG_From_int((int)result);
14143 return resultobj;
14144 fail:
14145 return NULL;
14146 }
14147
14148
14149 static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
14150 PyObject *resultobj;
14151 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
14152 wxString *result;
14153 PyObject * obj0 = 0 ;
14154 char *kwnames[] = {
14155 (char *) "self", NULL
14156 };
14157
14158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail;
14159 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14160 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14161 {
14162 PyThreadState* __tstate = wxPyBeginAllowThreads();
14163 {
14164 wxString const &_result_ref = (arg1)->GetFindString();
14165 result = (wxString *) &_result_ref;
14166 }
14167
14168 wxPyEndAllowThreads(__tstate);
14169 if (PyErr_Occurred()) SWIG_fail;
14170 }
14171 {
14172 #if wxUSE_UNICODE
14173 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14174 #else
14175 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14176 #endif
14177 }
14178 return resultobj;
14179 fail:
14180 return NULL;
14181 }
14182
14183
14184 static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
14185 PyObject *resultobj;
14186 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
14187 wxString *result;
14188 PyObject * obj0 = 0 ;
14189 char *kwnames[] = {
14190 (char *) "self", NULL
14191 };
14192
14193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail;
14194 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14195 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14196 {
14197 PyThreadState* __tstate = wxPyBeginAllowThreads();
14198 {
14199 wxString const &_result_ref = (arg1)->GetReplaceString();
14200 result = (wxString *) &_result_ref;
14201 }
14202
14203 wxPyEndAllowThreads(__tstate);
14204 if (PyErr_Occurred()) SWIG_fail;
14205 }
14206 {
14207 #if wxUSE_UNICODE
14208 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14209 #else
14210 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14211 #endif
14212 }
14213 return resultobj;
14214 fail:
14215 return NULL;
14216 }
14217
14218
14219 static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *, PyObject *args, PyObject *kwargs) {
14220 PyObject *resultobj;
14221 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
14222 wxFindReplaceDialog *result;
14223 PyObject * obj0 = 0 ;
14224 char *kwnames[] = {
14225 (char *) "self", NULL
14226 };
14227
14228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail;
14229 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14230 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14231 {
14232 PyThreadState* __tstate = wxPyBeginAllowThreads();
14233 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
14234
14235 wxPyEndAllowThreads(__tstate);
14236 if (PyErr_Occurred()) SWIG_fail;
14237 }
14238 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 0);
14239 return resultobj;
14240 fail:
14241 return NULL;
14242 }
14243
14244
14245 static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
14246 PyObject *resultobj;
14247 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
14248 int arg2 ;
14249 PyObject * obj0 = 0 ;
14250 PyObject * obj1 = 0 ;
14251 char *kwnames[] = {
14252 (char *) "self",(char *) "flags", NULL
14253 };
14254
14255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
14256 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14257 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14258 arg2 = (int)SWIG_As_int(obj1);
14259 if (PyErr_Occurred()) SWIG_fail;
14260 {
14261 PyThreadState* __tstate = wxPyBeginAllowThreads();
14262 (arg1)->SetFlags(arg2);
14263
14264 wxPyEndAllowThreads(__tstate);
14265 if (PyErr_Occurred()) SWIG_fail;
14266 }
14267 Py_INCREF(Py_None); resultobj = Py_None;
14268 return resultobj;
14269 fail:
14270 return NULL;
14271 }
14272
14273
14274 static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
14275 PyObject *resultobj;
14276 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
14277 wxString *arg2 = 0 ;
14278 bool temp2 = False ;
14279 PyObject * obj0 = 0 ;
14280 PyObject * obj1 = 0 ;
14281 char *kwnames[] = {
14282 (char *) "self",(char *) "str", NULL
14283 };
14284
14285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail;
14286 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14287 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14288 {
14289 arg2 = wxString_in_helper(obj1);
14290 if (arg2 == NULL) SWIG_fail;
14291 temp2 = True;
14292 }
14293 {
14294 PyThreadState* __tstate = wxPyBeginAllowThreads();
14295 (arg1)->SetFindString((wxString const &)*arg2);
14296
14297 wxPyEndAllowThreads(__tstate);
14298 if (PyErr_Occurred()) SWIG_fail;
14299 }
14300 Py_INCREF(Py_None); resultobj = Py_None;
14301 {
14302 if (temp2)
14303 delete arg2;
14304 }
14305 return resultobj;
14306 fail:
14307 {
14308 if (temp2)
14309 delete arg2;
14310 }
14311 return NULL;
14312 }
14313
14314
14315 static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
14316 PyObject *resultobj;
14317 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
14318 wxString *arg2 = 0 ;
14319 bool temp2 = False ;
14320 PyObject * obj0 = 0 ;
14321 PyObject * obj1 = 0 ;
14322 char *kwnames[] = {
14323 (char *) "self",(char *) "str", NULL
14324 };
14325
14326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
14327 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14328 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14329 {
14330 arg2 = wxString_in_helper(obj1);
14331 if (arg2 == NULL) SWIG_fail;
14332 temp2 = True;
14333 }
14334 {
14335 PyThreadState* __tstate = wxPyBeginAllowThreads();
14336 (arg1)->SetReplaceString((wxString const &)*arg2);
14337
14338 wxPyEndAllowThreads(__tstate);
14339 if (PyErr_Occurred()) SWIG_fail;
14340 }
14341 Py_INCREF(Py_None); resultobj = Py_None;
14342 {
14343 if (temp2)
14344 delete arg2;
14345 }
14346 return resultobj;
14347 fail:
14348 {
14349 if (temp2)
14350 delete arg2;
14351 }
14352 return NULL;
14353 }
14354
14355
14356 static PyObject * FindDialogEvent_swigregister(PyObject *, PyObject *args) {
14357 PyObject *obj;
14358 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14359 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj);
14360 Py_INCREF(obj);
14361 return Py_BuildValue((char *)"");
14362 }
14363 static PyObject *_wrap_new_FindReplaceData(PyObject *, PyObject *args, PyObject *kwargs) {
14364 PyObject *resultobj;
14365 int arg1 = (int) 0 ;
14366 wxFindReplaceData *result;
14367 PyObject * obj0 = 0 ;
14368 char *kwnames[] = {
14369 (char *) "flags", NULL
14370 };
14371
14372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) goto fail;
14373 if (obj0) {
14374 arg1 = (int)SWIG_As_int(obj0);
14375 if (PyErr_Occurred()) SWIG_fail;
14376 }
14377 {
14378 PyThreadState* __tstate = wxPyBeginAllowThreads();
14379 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
14380
14381 wxPyEndAllowThreads(__tstate);
14382 if (PyErr_Occurred()) SWIG_fail;
14383 }
14384 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 1);
14385 return resultobj;
14386 fail:
14387 return NULL;
14388 }
14389
14390
14391 static PyObject *_wrap_delete_FindReplaceData(PyObject *, PyObject *args, PyObject *kwargs) {
14392 PyObject *resultobj;
14393 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14394 PyObject * obj0 = 0 ;
14395 char *kwnames[] = {
14396 (char *) "self", NULL
14397 };
14398
14399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail;
14400 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14401 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14402 {
14403 PyThreadState* __tstate = wxPyBeginAllowThreads();
14404 delete arg1;
14405
14406 wxPyEndAllowThreads(__tstate);
14407 if (PyErr_Occurred()) SWIG_fail;
14408 }
14409 Py_INCREF(Py_None); resultobj = Py_None;
14410 return resultobj;
14411 fail:
14412 return NULL;
14413 }
14414
14415
14416 static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
14417 PyObject *resultobj;
14418 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14419 wxString *result;
14420 PyObject * obj0 = 0 ;
14421 char *kwnames[] = {
14422 (char *) "self", NULL
14423 };
14424
14425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail;
14426 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14427 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14428 {
14429 PyThreadState* __tstate = wxPyBeginAllowThreads();
14430 {
14431 wxString const &_result_ref = (arg1)->GetFindString();
14432 result = (wxString *) &_result_ref;
14433 }
14434
14435 wxPyEndAllowThreads(__tstate);
14436 if (PyErr_Occurred()) SWIG_fail;
14437 }
14438 {
14439 #if wxUSE_UNICODE
14440 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14441 #else
14442 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14443 #endif
14444 }
14445 return resultobj;
14446 fail:
14447 return NULL;
14448 }
14449
14450
14451 static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
14452 PyObject *resultobj;
14453 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14454 wxString *result;
14455 PyObject * obj0 = 0 ;
14456 char *kwnames[] = {
14457 (char *) "self", NULL
14458 };
14459
14460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail;
14461 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14462 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14463 {
14464 PyThreadState* __tstate = wxPyBeginAllowThreads();
14465 {
14466 wxString const &_result_ref = (arg1)->GetReplaceString();
14467 result = (wxString *) &_result_ref;
14468 }
14469
14470 wxPyEndAllowThreads(__tstate);
14471 if (PyErr_Occurred()) SWIG_fail;
14472 }
14473 {
14474 #if wxUSE_UNICODE
14475 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14476 #else
14477 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14478 #endif
14479 }
14480 return resultobj;
14481 fail:
14482 return NULL;
14483 }
14484
14485
14486 static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
14487 PyObject *resultobj;
14488 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14489 int result;
14490 PyObject * obj0 = 0 ;
14491 char *kwnames[] = {
14492 (char *) "self", NULL
14493 };
14494
14495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail;
14496 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14497 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14498 {
14499 PyThreadState* __tstate = wxPyBeginAllowThreads();
14500 result = (int)(arg1)->GetFlags();
14501
14502 wxPyEndAllowThreads(__tstate);
14503 if (PyErr_Occurred()) SWIG_fail;
14504 }
14505 resultobj = SWIG_From_int((int)result);
14506 return resultobj;
14507 fail:
14508 return NULL;
14509 }
14510
14511
14512 static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
14513 PyObject *resultobj;
14514 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14515 int arg2 ;
14516 PyObject * obj0 = 0 ;
14517 PyObject * obj1 = 0 ;
14518 char *kwnames[] = {
14519 (char *) "self",(char *) "flags", NULL
14520 };
14521
14522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) goto fail;
14523 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14524 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14525 arg2 = (int)SWIG_As_int(obj1);
14526 if (PyErr_Occurred()) SWIG_fail;
14527 {
14528 PyThreadState* __tstate = wxPyBeginAllowThreads();
14529 (arg1)->SetFlags(arg2);
14530
14531 wxPyEndAllowThreads(__tstate);
14532 if (PyErr_Occurred()) SWIG_fail;
14533 }
14534 Py_INCREF(Py_None); resultobj = Py_None;
14535 return resultobj;
14536 fail:
14537 return NULL;
14538 }
14539
14540
14541 static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
14542 PyObject *resultobj;
14543 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14544 wxString *arg2 = 0 ;
14545 bool temp2 = False ;
14546 PyObject * obj0 = 0 ;
14547 PyObject * obj1 = 0 ;
14548 char *kwnames[] = {
14549 (char *) "self",(char *) "str", NULL
14550 };
14551
14552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail;
14553 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14554 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14555 {
14556 arg2 = wxString_in_helper(obj1);
14557 if (arg2 == NULL) SWIG_fail;
14558 temp2 = True;
14559 }
14560 {
14561 PyThreadState* __tstate = wxPyBeginAllowThreads();
14562 (arg1)->SetFindString((wxString const &)*arg2);
14563
14564 wxPyEndAllowThreads(__tstate);
14565 if (PyErr_Occurred()) SWIG_fail;
14566 }
14567 Py_INCREF(Py_None); resultobj = Py_None;
14568 {
14569 if (temp2)
14570 delete arg2;
14571 }
14572 return resultobj;
14573 fail:
14574 {
14575 if (temp2)
14576 delete arg2;
14577 }
14578 return NULL;
14579 }
14580
14581
14582 static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
14583 PyObject *resultobj;
14584 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14585 wxString *arg2 = 0 ;
14586 bool temp2 = False ;
14587 PyObject * obj0 = 0 ;
14588 PyObject * obj1 = 0 ;
14589 char *kwnames[] = {
14590 (char *) "self",(char *) "str", NULL
14591 };
14592
14593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
14594 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14595 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14596 {
14597 arg2 = wxString_in_helper(obj1);
14598 if (arg2 == NULL) SWIG_fail;
14599 temp2 = True;
14600 }
14601 {
14602 PyThreadState* __tstate = wxPyBeginAllowThreads();
14603 (arg1)->SetReplaceString((wxString const &)*arg2);
14604
14605 wxPyEndAllowThreads(__tstate);
14606 if (PyErr_Occurred()) SWIG_fail;
14607 }
14608 Py_INCREF(Py_None); resultobj = Py_None;
14609 {
14610 if (temp2)
14611 delete arg2;
14612 }
14613 return resultobj;
14614 fail:
14615 {
14616 if (temp2)
14617 delete arg2;
14618 }
14619 return NULL;
14620 }
14621
14622
14623 static PyObject * FindReplaceData_swigregister(PyObject *, PyObject *args) {
14624 PyObject *obj;
14625 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14626 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj);
14627 Py_INCREF(obj);
14628 return Py_BuildValue((char *)"");
14629 }
14630 static PyObject *_wrap_new_FindReplaceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
14631 PyObject *resultobj;
14632 wxWindow *arg1 = (wxWindow *) 0 ;
14633 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
14634 wxString *arg3 = 0 ;
14635 int arg4 = (int) 0 ;
14636 wxFindReplaceDialog *result;
14637 bool temp3 = False ;
14638 PyObject * obj0 = 0 ;
14639 PyObject * obj1 = 0 ;
14640 PyObject * obj2 = 0 ;
14641 PyObject * obj3 = 0 ;
14642 char *kwnames[] = {
14643 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14644 };
14645
14646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14647 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14648 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14649 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData,
14650 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14651 {
14652 arg3 = wxString_in_helper(obj2);
14653 if (arg3 == NULL) SWIG_fail;
14654 temp3 = True;
14655 }
14656 if (obj3) {
14657 arg4 = (int)SWIG_As_int(obj3);
14658 if (PyErr_Occurred()) SWIG_fail;
14659 }
14660 {
14661 if (!wxPyCheckForApp()) SWIG_fail;
14662 PyThreadState* __tstate = wxPyBeginAllowThreads();
14663 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
14664
14665 wxPyEndAllowThreads(__tstate);
14666 if (PyErr_Occurred()) SWIG_fail;
14667 }
14668 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
14669 {
14670 if (temp3)
14671 delete arg3;
14672 }
14673 return resultobj;
14674 fail:
14675 {
14676 if (temp3)
14677 delete arg3;
14678 }
14679 return NULL;
14680 }
14681
14682
14683 static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
14684 PyObject *resultobj;
14685 wxFindReplaceDialog *result;
14686 char *kwnames[] = {
14687 NULL
14688 };
14689
14690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail;
14691 {
14692 if (!wxPyCheckForApp()) SWIG_fail;
14693 PyThreadState* __tstate = wxPyBeginAllowThreads();
14694 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
14695
14696 wxPyEndAllowThreads(__tstate);
14697 if (PyErr_Occurred()) SWIG_fail;
14698 }
14699 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
14700 return resultobj;
14701 fail:
14702 return NULL;
14703 }
14704
14705
14706 static PyObject *_wrap_FindReplaceDialog_Create(PyObject *, PyObject *args, PyObject *kwargs) {
14707 PyObject *resultobj;
14708 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14709 wxWindow *arg2 = (wxWindow *) 0 ;
14710 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
14711 wxString *arg4 = 0 ;
14712 int arg5 = (int) 0 ;
14713 bool result;
14714 bool temp4 = False ;
14715 PyObject * obj0 = 0 ;
14716 PyObject * obj1 = 0 ;
14717 PyObject * obj2 = 0 ;
14718 PyObject * obj3 = 0 ;
14719 PyObject * obj4 = 0 ;
14720 char *kwnames[] = {
14721 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14722 };
14723
14724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
14725 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14726 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14727 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14728 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14729 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFindReplaceData,
14730 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14731 {
14732 arg4 = wxString_in_helper(obj3);
14733 if (arg4 == NULL) SWIG_fail;
14734 temp4 = True;
14735 }
14736 if (obj4) {
14737 arg5 = (int)SWIG_As_int(obj4);
14738 if (PyErr_Occurred()) SWIG_fail;
14739 }
14740 {
14741 PyThreadState* __tstate = wxPyBeginAllowThreads();
14742 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
14743
14744 wxPyEndAllowThreads(__tstate);
14745 if (PyErr_Occurred()) SWIG_fail;
14746 }
14747 {
14748 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14749 }
14750 {
14751 if (temp4)
14752 delete arg4;
14753 }
14754 return resultobj;
14755 fail:
14756 {
14757 if (temp4)
14758 delete arg4;
14759 }
14760 return NULL;
14761 }
14762
14763
14764 static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
14765 PyObject *resultobj;
14766 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14767 wxFindReplaceData *result;
14768 PyObject * obj0 = 0 ;
14769 char *kwnames[] = {
14770 (char *) "self", NULL
14771 };
14772
14773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail;
14774 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14775 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14776 {
14777 PyThreadState* __tstate = wxPyBeginAllowThreads();
14778 result = (wxFindReplaceData *)(arg1)->GetData();
14779
14780 wxPyEndAllowThreads(__tstate);
14781 if (PyErr_Occurred()) SWIG_fail;
14782 }
14783 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 0);
14784 return resultobj;
14785 fail:
14786 return NULL;
14787 }
14788
14789
14790 static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
14791 PyObject *resultobj;
14792 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14793 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
14794 PyObject * obj0 = 0 ;
14795 PyObject * obj1 = 0 ;
14796 char *kwnames[] = {
14797 (char *) "self",(char *) "data", NULL
14798 };
14799
14800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail;
14801 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14802 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14803 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData,
14804 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14805 {
14806 PyThreadState* __tstate = wxPyBeginAllowThreads();
14807 (arg1)->SetData(arg2);
14808
14809 wxPyEndAllowThreads(__tstate);
14810 if (PyErr_Occurred()) SWIG_fail;
14811 }
14812 Py_INCREF(Py_None); resultobj = Py_None;
14813 return resultobj;
14814 fail:
14815 return NULL;
14816 }
14817
14818
14819 static PyObject * FindReplaceDialog_swigregister(PyObject *, PyObject *args) {
14820 PyObject *obj;
14821 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14822 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj);
14823 Py_INCREF(obj);
14824 return Py_BuildValue((char *)"");
14825 }
14826 static PyObject *_wrap_new_MDIParentFrame(PyObject *, PyObject *args, PyObject *kwargs) {
14827 PyObject *resultobj;
14828 wxWindow *arg1 = (wxWindow *) 0 ;
14829 int arg2 = (int) (int)-1 ;
14830 wxString const &arg3_defvalue = wxPyEmptyString ;
14831 wxString *arg3 = (wxString *) &arg3_defvalue ;
14832 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14833 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14834 wxSize const &arg5_defvalue = wxDefaultSize ;
14835 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14836 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
14837 wxString const &arg7_defvalue = wxPyFrameNameStr ;
14838 wxString *arg7 = (wxString *) &arg7_defvalue ;
14839 wxMDIParentFrame *result;
14840 bool temp3 = False ;
14841 wxPoint temp4 ;
14842 wxSize temp5 ;
14843 bool temp7 = False ;
14844 PyObject * obj0 = 0 ;
14845 PyObject * obj1 = 0 ;
14846 PyObject * obj2 = 0 ;
14847 PyObject * obj3 = 0 ;
14848 PyObject * obj4 = 0 ;
14849 PyObject * obj5 = 0 ;
14850 PyObject * obj6 = 0 ;
14851 char *kwnames[] = {
14852 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14853 };
14854
14855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
14856 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14857 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14858 if (obj1) {
14859 arg2 = (int)SWIG_As_int(obj1);
14860 if (PyErr_Occurred()) SWIG_fail;
14861 }
14862 if (obj2) {
14863 {
14864 arg3 = wxString_in_helper(obj2);
14865 if (arg3 == NULL) SWIG_fail;
14866 temp3 = True;
14867 }
14868 }
14869 if (obj3) {
14870 {
14871 arg4 = &temp4;
14872 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14873 }
14874 }
14875 if (obj4) {
14876 {
14877 arg5 = &temp5;
14878 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14879 }
14880 }
14881 if (obj5) {
14882 arg6 = (long)SWIG_As_long(obj5);
14883 if (PyErr_Occurred()) SWIG_fail;
14884 }
14885 if (obj6) {
14886 {
14887 arg7 = wxString_in_helper(obj6);
14888 if (arg7 == NULL) SWIG_fail;
14889 temp7 = True;
14890 }
14891 }
14892 {
14893 if (!wxPyCheckForApp()) SWIG_fail;
14894 PyThreadState* __tstate = wxPyBeginAllowThreads();
14895 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14896
14897 wxPyEndAllowThreads(__tstate);
14898 if (PyErr_Occurred()) SWIG_fail;
14899 }
14900 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
14901 {
14902 if (temp3)
14903 delete arg3;
14904 }
14905 {
14906 if (temp7)
14907 delete arg7;
14908 }
14909 return resultobj;
14910 fail:
14911 {
14912 if (temp3)
14913 delete arg3;
14914 }
14915 {
14916 if (temp7)
14917 delete arg7;
14918 }
14919 return NULL;
14920 }
14921
14922
14923 static PyObject *_wrap_new_PreMDIParentFrame(PyObject *, PyObject *args, PyObject *kwargs) {
14924 PyObject *resultobj;
14925 wxMDIParentFrame *result;
14926 char *kwnames[] = {
14927 NULL
14928 };
14929
14930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail;
14931 {
14932 if (!wxPyCheckForApp()) SWIG_fail;
14933 PyThreadState* __tstate = wxPyBeginAllowThreads();
14934 result = (wxMDIParentFrame *)new wxMDIParentFrame();
14935
14936 wxPyEndAllowThreads(__tstate);
14937 if (PyErr_Occurred()) SWIG_fail;
14938 }
14939 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
14940 return resultobj;
14941 fail:
14942 return NULL;
14943 }
14944
14945
14946 static PyObject *_wrap_MDIParentFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
14947 PyObject *resultobj;
14948 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14949 wxWindow *arg2 = (wxWindow *) 0 ;
14950 int arg3 = (int) (int)-1 ;
14951 wxString const &arg4_defvalue = wxPyEmptyString ;
14952 wxString *arg4 = (wxString *) &arg4_defvalue ;
14953 wxPoint const &arg5_defvalue = wxDefaultPosition ;
14954 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
14955 wxSize const &arg6_defvalue = wxDefaultSize ;
14956 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
14957 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
14958 wxString const &arg8_defvalue = wxPyFrameNameStr ;
14959 wxString *arg8 = (wxString *) &arg8_defvalue ;
14960 bool result;
14961 bool temp4 = False ;
14962 wxPoint temp5 ;
14963 wxSize temp6 ;
14964 bool temp8 = False ;
14965 PyObject * obj0 = 0 ;
14966 PyObject * obj1 = 0 ;
14967 PyObject * obj2 = 0 ;
14968 PyObject * obj3 = 0 ;
14969 PyObject * obj4 = 0 ;
14970 PyObject * obj5 = 0 ;
14971 PyObject * obj6 = 0 ;
14972 PyObject * obj7 = 0 ;
14973 char *kwnames[] = {
14974 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14975 };
14976
14977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
14978 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14979 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14980 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14981 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14982 if (obj2) {
14983 arg3 = (int)SWIG_As_int(obj2);
14984 if (PyErr_Occurred()) SWIG_fail;
14985 }
14986 if (obj3) {
14987 {
14988 arg4 = wxString_in_helper(obj3);
14989 if (arg4 == NULL) SWIG_fail;
14990 temp4 = True;
14991 }
14992 }
14993 if (obj4) {
14994 {
14995 arg5 = &temp5;
14996 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14997 }
14998 }
14999 if (obj5) {
15000 {
15001 arg6 = &temp6;
15002 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
15003 }
15004 }
15005 if (obj6) {
15006 arg7 = (long)SWIG_As_long(obj6);
15007 if (PyErr_Occurred()) SWIG_fail;
15008 }
15009 if (obj7) {
15010 {
15011 arg8 = wxString_in_helper(obj7);
15012 if (arg8 == NULL) SWIG_fail;
15013 temp8 = True;
15014 }
15015 }
15016 {
15017 PyThreadState* __tstate = wxPyBeginAllowThreads();
15018 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
15019
15020 wxPyEndAllowThreads(__tstate);
15021 if (PyErr_Occurred()) SWIG_fail;
15022 }
15023 {
15024 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15025 }
15026 {
15027 if (temp4)
15028 delete arg4;
15029 }
15030 {
15031 if (temp8)
15032 delete arg8;
15033 }
15034 return resultobj;
15035 fail:
15036 {
15037 if (temp4)
15038 delete arg4;
15039 }
15040 {
15041 if (temp8)
15042 delete arg8;
15043 }
15044 return NULL;
15045 }
15046
15047
15048 static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *, PyObject *args, PyObject *kwargs) {
15049 PyObject *resultobj;
15050 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15051 PyObject * obj0 = 0 ;
15052 char *kwnames[] = {
15053 (char *) "self", NULL
15054 };
15055
15056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail;
15057 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15058 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15059 {
15060 PyThreadState* __tstate = wxPyBeginAllowThreads();
15061 (arg1)->ActivateNext();
15062
15063 wxPyEndAllowThreads(__tstate);
15064 if (PyErr_Occurred()) SWIG_fail;
15065 }
15066 Py_INCREF(Py_None); resultobj = Py_None;
15067 return resultobj;
15068 fail:
15069 return NULL;
15070 }
15071
15072
15073 static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *, PyObject *args, PyObject *kwargs) {
15074 PyObject *resultobj;
15075 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15076 PyObject * obj0 = 0 ;
15077 char *kwnames[] = {
15078 (char *) "self", NULL
15079 };
15080
15081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail;
15082 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15083 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15084 {
15085 PyThreadState* __tstate = wxPyBeginAllowThreads();
15086 (arg1)->ActivatePrevious();
15087
15088 wxPyEndAllowThreads(__tstate);
15089 if (PyErr_Occurred()) SWIG_fail;
15090 }
15091 Py_INCREF(Py_None); resultobj = Py_None;
15092 return resultobj;
15093 fail:
15094 return NULL;
15095 }
15096
15097
15098 static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *, PyObject *args, PyObject *kwargs) {
15099 PyObject *resultobj;
15100 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15101 PyObject * obj0 = 0 ;
15102 char *kwnames[] = {
15103 (char *) "self", NULL
15104 };
15105
15106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail;
15107 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15108 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15109 {
15110 PyThreadState* __tstate = wxPyBeginAllowThreads();
15111 (arg1)->ArrangeIcons();
15112
15113 wxPyEndAllowThreads(__tstate);
15114 if (PyErr_Occurred()) SWIG_fail;
15115 }
15116 Py_INCREF(Py_None); resultobj = Py_None;
15117 return resultobj;
15118 fail:
15119 return NULL;
15120 }
15121
15122
15123 static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *, PyObject *args, PyObject *kwargs) {
15124 PyObject *resultobj;
15125 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15126 PyObject * obj0 = 0 ;
15127 char *kwnames[] = {
15128 (char *) "self", NULL
15129 };
15130
15131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail;
15132 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15133 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15134 {
15135 PyThreadState* __tstate = wxPyBeginAllowThreads();
15136 (arg1)->Cascade();
15137
15138 wxPyEndAllowThreads(__tstate);
15139 if (PyErr_Occurred()) SWIG_fail;
15140 }
15141 Py_INCREF(Py_None); resultobj = Py_None;
15142 return resultobj;
15143 fail:
15144 return NULL;
15145 }
15146
15147
15148 static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *, PyObject *args, PyObject *kwargs) {
15149 PyObject *resultobj;
15150 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15151 wxMDIChildFrame *result;
15152 PyObject * obj0 = 0 ;
15153 char *kwnames[] = {
15154 (char *) "self", NULL
15155 };
15156
15157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail;
15158 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15159 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15160 {
15161 PyThreadState* __tstate = wxPyBeginAllowThreads();
15162 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
15163
15164 wxPyEndAllowThreads(__tstate);
15165 if (PyErr_Occurred()) SWIG_fail;
15166 }
15167 {
15168 resultobj = wxPyMake_wxObject(result, 0);
15169 }
15170 return resultobj;
15171 fail:
15172 return NULL;
15173 }
15174
15175
15176 static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
15177 PyObject *resultobj;
15178 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15179 wxMDIClientWindow *result;
15180 PyObject * obj0 = 0 ;
15181 char *kwnames[] = {
15182 (char *) "self", NULL
15183 };
15184
15185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail;
15186 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15187 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15188 {
15189 PyThreadState* __tstate = wxPyBeginAllowThreads();
15190 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
15191
15192 wxPyEndAllowThreads(__tstate);
15193 if (PyErr_Occurred()) SWIG_fail;
15194 }
15195 {
15196 resultobj = wxPyMake_wxObject(result, 0);
15197 }
15198 return resultobj;
15199 fail:
15200 return NULL;
15201 }
15202
15203
15204 static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
15205 PyObject *resultobj;
15206 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15207 wxWindow *result;
15208 PyObject * obj0 = 0 ;
15209 char *kwnames[] = {
15210 (char *) "self", NULL
15211 };
15212
15213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",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 result = (wxWindow *)(arg1)->GetToolBar();
15219
15220 wxPyEndAllowThreads(__tstate);
15221 if (PyErr_Occurred()) SWIG_fail;
15222 }
15223 {
15224 resultobj = wxPyMake_wxObject(result, 0);
15225 }
15226 return resultobj;
15227 fail:
15228 return NULL;
15229 }
15230
15231
15232 static PyObject *_wrap_MDIParentFrame_GetWindowMenu(PyObject *, PyObject *args, PyObject *kwargs) {
15233 PyObject *resultobj;
15234 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15235 wxMenu *result;
15236 PyObject * obj0 = 0 ;
15237 char *kwnames[] = {
15238 (char *) "self", NULL
15239 };
15240
15241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetWindowMenu",kwnames,&obj0)) goto fail;
15242 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15243 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15244 {
15245 PyThreadState* __tstate = wxPyBeginAllowThreads();
15246 result = (wxMenu *)(arg1)->GetWindowMenu();
15247
15248 wxPyEndAllowThreads(__tstate);
15249 if (PyErr_Occurred()) SWIG_fail;
15250 }
15251 {
15252 resultobj = wxPyMake_wxObject(result, 0);
15253 }
15254 return resultobj;
15255 fail:
15256 return NULL;
15257 }
15258
15259
15260 static PyObject *_wrap_MDIParentFrame_SetWindowMenu(PyObject *, PyObject *args, PyObject *kwargs) {
15261 PyObject *resultobj;
15262 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15263 wxMenu *arg2 = (wxMenu *) 0 ;
15264 PyObject * obj0 = 0 ;
15265 PyObject * obj1 = 0 ;
15266 char *kwnames[] = {
15267 (char *) "self",(char *) "menu", NULL
15268 };
15269
15270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIParentFrame_SetWindowMenu",kwnames,&obj0,&obj1)) goto fail;
15271 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15272 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15273 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
15274 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15275 {
15276 PyThreadState* __tstate = wxPyBeginAllowThreads();
15277 (arg1)->SetWindowMenu(arg2);
15278
15279 wxPyEndAllowThreads(__tstate);
15280 if (PyErr_Occurred()) SWIG_fail;
15281 }
15282 Py_INCREF(Py_None); resultobj = Py_None;
15283 return resultobj;
15284 fail:
15285 return NULL;
15286 }
15287
15288
15289 static PyObject *_wrap_MDIParentFrame_SetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
15290 PyObject *resultobj;
15291 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15292 wxToolBar *arg2 = (wxToolBar *) 0 ;
15293 PyObject * obj0 = 0 ;
15294 PyObject * obj1 = 0 ;
15295 char *kwnames[] = {
15296 (char *) "self",(char *) "toolbar", NULL
15297 };
15298
15299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIParentFrame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
15300 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15301 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15302 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBar,
15303 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15304 {
15305 PyThreadState* __tstate = wxPyBeginAllowThreads();
15306 (arg1)->SetToolBar(arg2);
15307
15308 wxPyEndAllowThreads(__tstate);
15309 if (PyErr_Occurred()) SWIG_fail;
15310 }
15311 Py_INCREF(Py_None); resultobj = Py_None;
15312 return resultobj;
15313 fail:
15314 return NULL;
15315 }
15316
15317
15318 static PyObject *_wrap_MDIParentFrame_Tile(PyObject *, PyObject *args, PyObject *kwargs) {
15319 PyObject *resultobj;
15320 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15321 PyObject * obj0 = 0 ;
15322 char *kwnames[] = {
15323 (char *) "self", NULL
15324 };
15325
15326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Tile",kwnames,&obj0)) goto fail;
15327 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15328 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15329 {
15330 PyThreadState* __tstate = wxPyBeginAllowThreads();
15331 (arg1)->Tile();
15332
15333 wxPyEndAllowThreads(__tstate);
15334 if (PyErr_Occurred()) SWIG_fail;
15335 }
15336 Py_INCREF(Py_None); resultobj = Py_None;
15337 return resultobj;
15338 fail:
15339 return NULL;
15340 }
15341
15342
15343 static PyObject * MDIParentFrame_swigregister(PyObject *, PyObject *args) {
15344 PyObject *obj;
15345 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15346 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj);
15347 Py_INCREF(obj);
15348 return Py_BuildValue((char *)"");
15349 }
15350 static PyObject *_wrap_new_MDIChildFrame(PyObject *, PyObject *args, PyObject *kwargs) {
15351 PyObject *resultobj;
15352 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15353 int arg2 = (int) (int)-1 ;
15354 wxString const &arg3_defvalue = wxPyEmptyString ;
15355 wxString *arg3 = (wxString *) &arg3_defvalue ;
15356 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15357 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15358 wxSize const &arg5_defvalue = wxDefaultSize ;
15359 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15360 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
15361 wxString const &arg7_defvalue = wxPyFrameNameStr ;
15362 wxString *arg7 = (wxString *) &arg7_defvalue ;
15363 wxMDIChildFrame *result;
15364 bool temp3 = False ;
15365 wxPoint temp4 ;
15366 wxSize temp5 ;
15367 bool temp7 = False ;
15368 PyObject * obj0 = 0 ;
15369 PyObject * obj1 = 0 ;
15370 PyObject * obj2 = 0 ;
15371 PyObject * obj3 = 0 ;
15372 PyObject * obj4 = 0 ;
15373 PyObject * obj5 = 0 ;
15374 PyObject * obj6 = 0 ;
15375 char *kwnames[] = {
15376 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15377 };
15378
15379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15380 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15381 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15382 if (obj1) {
15383 arg2 = (int)SWIG_As_int(obj1);
15384 if (PyErr_Occurred()) SWIG_fail;
15385 }
15386 if (obj2) {
15387 {
15388 arg3 = wxString_in_helper(obj2);
15389 if (arg3 == NULL) SWIG_fail;
15390 temp3 = True;
15391 }
15392 }
15393 if (obj3) {
15394 {
15395 arg4 = &temp4;
15396 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15397 }
15398 }
15399 if (obj4) {
15400 {
15401 arg5 = &temp5;
15402 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15403 }
15404 }
15405 if (obj5) {
15406 arg6 = (long)SWIG_As_long(obj5);
15407 if (PyErr_Occurred()) SWIG_fail;
15408 }
15409 if (obj6) {
15410 {
15411 arg7 = wxString_in_helper(obj6);
15412 if (arg7 == NULL) SWIG_fail;
15413 temp7 = True;
15414 }
15415 }
15416 {
15417 if (!wxPyCheckForApp()) SWIG_fail;
15418 PyThreadState* __tstate = wxPyBeginAllowThreads();
15419 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15420
15421 wxPyEndAllowThreads(__tstate);
15422 if (PyErr_Occurred()) SWIG_fail;
15423 }
15424 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIChildFrame, 1);
15425 {
15426 if (temp3)
15427 delete arg3;
15428 }
15429 {
15430 if (temp7)
15431 delete arg7;
15432 }
15433 return resultobj;
15434 fail:
15435 {
15436 if (temp3)
15437 delete arg3;
15438 }
15439 {
15440 if (temp7)
15441 delete arg7;
15442 }
15443 return NULL;
15444 }
15445
15446
15447 static PyObject *_wrap_new_PreMDIChildFrame(PyObject *, PyObject *args, PyObject *kwargs) {
15448 PyObject *resultobj;
15449 wxMDIChildFrame *result;
15450 char *kwnames[] = {
15451 NULL
15452 };
15453
15454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail;
15455 {
15456 if (!wxPyCheckForApp()) SWIG_fail;
15457 PyThreadState* __tstate = wxPyBeginAllowThreads();
15458 result = (wxMDIChildFrame *)new wxMDIChildFrame();
15459
15460 wxPyEndAllowThreads(__tstate);
15461 if (PyErr_Occurred()) SWIG_fail;
15462 }
15463 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIChildFrame, 1);
15464 return resultobj;
15465 fail:
15466 return NULL;
15467 }
15468
15469
15470 static PyObject *_wrap_MDIChildFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
15471 PyObject *resultobj;
15472 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15473 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
15474 int arg3 = (int) (int)-1 ;
15475 wxString const &arg4_defvalue = wxPyEmptyString ;
15476 wxString *arg4 = (wxString *) &arg4_defvalue ;
15477 wxPoint const &arg5_defvalue = wxDefaultPosition ;
15478 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
15479 wxSize const &arg6_defvalue = wxDefaultSize ;
15480 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
15481 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
15482 wxString const &arg8_defvalue = wxPyFrameNameStr ;
15483 wxString *arg8 = (wxString *) &arg8_defvalue ;
15484 bool result;
15485 bool temp4 = False ;
15486 wxPoint temp5 ;
15487 wxSize temp6 ;
15488 bool temp8 = False ;
15489 PyObject * obj0 = 0 ;
15490 PyObject * obj1 = 0 ;
15491 PyObject * obj2 = 0 ;
15492 PyObject * obj3 = 0 ;
15493 PyObject * obj4 = 0 ;
15494 PyObject * obj5 = 0 ;
15495 PyObject * obj6 = 0 ;
15496 PyObject * obj7 = 0 ;
15497 char *kwnames[] = {
15498 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15499 };
15500
15501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15502 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15503 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15504 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
15505 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15506 if (obj2) {
15507 arg3 = (int)SWIG_As_int(obj2);
15508 if (PyErr_Occurred()) SWIG_fail;
15509 }
15510 if (obj3) {
15511 {
15512 arg4 = wxString_in_helper(obj3);
15513 if (arg4 == NULL) SWIG_fail;
15514 temp4 = True;
15515 }
15516 }
15517 if (obj4) {
15518 {
15519 arg5 = &temp5;
15520 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
15521 }
15522 }
15523 if (obj5) {
15524 {
15525 arg6 = &temp6;
15526 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
15527 }
15528 }
15529 if (obj6) {
15530 arg7 = (long)SWIG_As_long(obj6);
15531 if (PyErr_Occurred()) SWIG_fail;
15532 }
15533 if (obj7) {
15534 {
15535 arg8 = wxString_in_helper(obj7);
15536 if (arg8 == NULL) SWIG_fail;
15537 temp8 = True;
15538 }
15539 }
15540 {
15541 PyThreadState* __tstate = wxPyBeginAllowThreads();
15542 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
15543
15544 wxPyEndAllowThreads(__tstate);
15545 if (PyErr_Occurred()) SWIG_fail;
15546 }
15547 {
15548 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15549 }
15550 {
15551 if (temp4)
15552 delete arg4;
15553 }
15554 {
15555 if (temp8)
15556 delete arg8;
15557 }
15558 return resultobj;
15559 fail:
15560 {
15561 if (temp4)
15562 delete arg4;
15563 }
15564 {
15565 if (temp8)
15566 delete arg8;
15567 }
15568 return NULL;
15569 }
15570
15571
15572 static PyObject *_wrap_MDIChildFrame_Activate(PyObject *, PyObject *args, PyObject *kwargs) {
15573 PyObject *resultobj;
15574 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15575 PyObject * obj0 = 0 ;
15576 char *kwnames[] = {
15577 (char *) "self", NULL
15578 };
15579
15580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail;
15581 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15582 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15583 {
15584 PyThreadState* __tstate = wxPyBeginAllowThreads();
15585 (arg1)->Activate();
15586
15587 wxPyEndAllowThreads(__tstate);
15588 if (PyErr_Occurred()) SWIG_fail;
15589 }
15590 Py_INCREF(Py_None); resultobj = Py_None;
15591 return resultobj;
15592 fail:
15593 return NULL;
15594 }
15595
15596
15597 static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *, PyObject *args, PyObject *kwargs) {
15598 PyObject *resultobj;
15599 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15600 bool arg2 ;
15601 PyObject * obj0 = 0 ;
15602 PyObject * obj1 = 0 ;
15603 char *kwnames[] = {
15604 (char *) "self",(char *) "maximize", NULL
15605 };
15606
15607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail;
15608 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15609 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15610 arg2 = (bool)SWIG_As_bool(obj1);
15611 if (PyErr_Occurred()) SWIG_fail;
15612 {
15613 PyThreadState* __tstate = wxPyBeginAllowThreads();
15614 (arg1)->Maximize(arg2);
15615
15616 wxPyEndAllowThreads(__tstate);
15617 if (PyErr_Occurred()) SWIG_fail;
15618 }
15619 Py_INCREF(Py_None); resultobj = Py_None;
15620 return resultobj;
15621 fail:
15622 return NULL;
15623 }
15624
15625
15626 static PyObject *_wrap_MDIChildFrame_Restore(PyObject *, PyObject *args, PyObject *kwargs) {
15627 PyObject *resultobj;
15628 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15629 PyObject * obj0 = 0 ;
15630 char *kwnames[] = {
15631 (char *) "self", NULL
15632 };
15633
15634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail;
15635 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15636 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15637 {
15638 PyThreadState* __tstate = wxPyBeginAllowThreads();
15639 (arg1)->Restore();
15640
15641 wxPyEndAllowThreads(__tstate);
15642 if (PyErr_Occurred()) SWIG_fail;
15643 }
15644 Py_INCREF(Py_None); resultobj = Py_None;
15645 return resultobj;
15646 fail:
15647 return NULL;
15648 }
15649
15650
15651 static PyObject * MDIChildFrame_swigregister(PyObject *, PyObject *args) {
15652 PyObject *obj;
15653 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15654 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj);
15655 Py_INCREF(obj);
15656 return Py_BuildValue((char *)"");
15657 }
15658 static PyObject *_wrap_new_MDIClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
15659 PyObject *resultobj;
15660 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15661 long arg2 = (long) 0 ;
15662 wxMDIClientWindow *result;
15663 PyObject * obj0 = 0 ;
15664 PyObject * obj1 = 0 ;
15665 char *kwnames[] = {
15666 (char *) "parent",(char *) "style", NULL
15667 };
15668
15669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) goto fail;
15670 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15671 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15672 if (obj1) {
15673 arg2 = (long)SWIG_As_long(obj1);
15674 if (PyErr_Occurred()) SWIG_fail;
15675 }
15676 {
15677 if (!wxPyCheckForApp()) SWIG_fail;
15678 PyThreadState* __tstate = wxPyBeginAllowThreads();
15679 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
15680
15681 wxPyEndAllowThreads(__tstate);
15682 if (PyErr_Occurred()) SWIG_fail;
15683 }
15684 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIClientWindow, 1);
15685 return resultobj;
15686 fail:
15687 return NULL;
15688 }
15689
15690
15691 static PyObject *_wrap_new_PreMDIClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
15692 PyObject *resultobj;
15693 wxMDIClientWindow *result;
15694 char *kwnames[] = {
15695 NULL
15696 };
15697
15698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail;
15699 {
15700 if (!wxPyCheckForApp()) SWIG_fail;
15701 PyThreadState* __tstate = wxPyBeginAllowThreads();
15702 result = (wxMDIClientWindow *)new wxMDIClientWindow();
15703
15704 wxPyEndAllowThreads(__tstate);
15705 if (PyErr_Occurred()) SWIG_fail;
15706 }
15707 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIClientWindow, 1);
15708 return resultobj;
15709 fail:
15710 return NULL;
15711 }
15712
15713
15714 static PyObject *_wrap_MDIClientWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
15715 PyObject *resultobj;
15716 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
15717 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
15718 long arg3 = (long) 0 ;
15719 bool result;
15720 PyObject * obj0 = 0 ;
15721 PyObject * obj1 = 0 ;
15722 PyObject * obj2 = 0 ;
15723 char *kwnames[] = {
15724 (char *) "self",(char *) "parent",(char *) "style", NULL
15725 };
15726
15727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
15728 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIClientWindow,
15729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15730 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
15731 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15732 if (obj2) {
15733 arg3 = (long)SWIG_As_long(obj2);
15734 if (PyErr_Occurred()) SWIG_fail;
15735 }
15736 {
15737 PyThreadState* __tstate = wxPyBeginAllowThreads();
15738 result = (bool)(arg1)->Create(arg2,arg3);
15739
15740 wxPyEndAllowThreads(__tstate);
15741 if (PyErr_Occurred()) SWIG_fail;
15742 }
15743 {
15744 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15745 }
15746 return resultobj;
15747 fail:
15748 return NULL;
15749 }
15750
15751
15752 static PyObject * MDIClientWindow_swigregister(PyObject *, PyObject *args) {
15753 PyObject *obj;
15754 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15755 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj);
15756 Py_INCREF(obj);
15757 return Py_BuildValue((char *)"");
15758 }
15759 static PyObject *_wrap_new_PyWindow(PyObject *, PyObject *args, PyObject *kwargs) {
15760 PyObject *resultobj;
15761 wxWindow *arg1 = (wxWindow *) 0 ;
15762 int arg2 = (int) (int)-1 ;
15763 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15764 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15765 wxSize const &arg4_defvalue = wxDefaultSize ;
15766 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15767 long arg5 = (long) 0 ;
15768 wxString const &arg6_defvalue = wxPyPanelNameStr ;
15769 wxString *arg6 = (wxString *) &arg6_defvalue ;
15770 wxPyWindow *result;
15771 wxPoint temp3 ;
15772 wxSize temp4 ;
15773 bool temp6 = False ;
15774 PyObject * obj0 = 0 ;
15775 PyObject * obj1 = 0 ;
15776 PyObject * obj2 = 0 ;
15777 PyObject * obj3 = 0 ;
15778 PyObject * obj4 = 0 ;
15779 PyObject * obj5 = 0 ;
15780 char *kwnames[] = {
15781 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15782 };
15783
15784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15785 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
15786 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15787 if (obj1) {
15788 arg2 = (int)SWIG_As_int(obj1);
15789 if (PyErr_Occurred()) SWIG_fail;
15790 }
15791 if (obj2) {
15792 {
15793 arg3 = &temp3;
15794 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15795 }
15796 }
15797 if (obj3) {
15798 {
15799 arg4 = &temp4;
15800 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15801 }
15802 }
15803 if (obj4) {
15804 arg5 = (long)SWIG_As_long(obj4);
15805 if (PyErr_Occurred()) SWIG_fail;
15806 }
15807 if (obj5) {
15808 {
15809 arg6 = wxString_in_helper(obj5);
15810 if (arg6 == NULL) SWIG_fail;
15811 temp6 = True;
15812 }
15813 }
15814 {
15815 if (!wxPyCheckForApp()) SWIG_fail;
15816 PyThreadState* __tstate = wxPyBeginAllowThreads();
15817 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15818
15819 wxPyEndAllowThreads(__tstate);
15820 if (PyErr_Occurred()) SWIG_fail;
15821 }
15822 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
15823 {
15824 if (temp6)
15825 delete arg6;
15826 }
15827 return resultobj;
15828 fail:
15829 {
15830 if (temp6)
15831 delete arg6;
15832 }
15833 return NULL;
15834 }
15835
15836
15837 static PyObject *_wrap_new_PrePyWindow(PyObject *, PyObject *args, PyObject *kwargs) {
15838 PyObject *resultobj;
15839 wxPyWindow *result;
15840 char *kwnames[] = {
15841 NULL
15842 };
15843
15844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyWindow",kwnames)) goto fail;
15845 {
15846 if (!wxPyCheckForApp()) SWIG_fail;
15847 PyThreadState* __tstate = wxPyBeginAllowThreads();
15848 result = (wxPyWindow *)new wxPyWindow();
15849
15850 wxPyEndAllowThreads(__tstate);
15851 if (PyErr_Occurred()) SWIG_fail;
15852 }
15853 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
15854 return resultobj;
15855 fail:
15856 return NULL;
15857 }
15858
15859
15860 static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
15861 PyObject *resultobj;
15862 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15863 PyObject *arg2 = (PyObject *) 0 ;
15864 PyObject *arg3 = (PyObject *) 0 ;
15865 PyObject * obj0 = 0 ;
15866 PyObject * obj1 = 0 ;
15867 PyObject * obj2 = 0 ;
15868 char *kwnames[] = {
15869 (char *) "self",(char *) "self",(char *) "_class", NULL
15870 };
15871
15872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15873 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15874 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15875 arg2 = obj1;
15876 arg3 = obj2;
15877 {
15878 PyThreadState* __tstate = wxPyBeginAllowThreads();
15879 (arg1)->_setCallbackInfo(arg2,arg3);
15880
15881 wxPyEndAllowThreads(__tstate);
15882 if (PyErr_Occurred()) SWIG_fail;
15883 }
15884 Py_INCREF(Py_None); resultobj = Py_None;
15885 return resultobj;
15886 fail:
15887 return NULL;
15888 }
15889
15890
15891 static PyObject *_wrap_PyWindow_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
15892 PyObject *resultobj;
15893 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15894 wxSize *arg2 = 0 ;
15895 wxSize temp2 ;
15896 PyObject * obj0 = 0 ;
15897 PyObject * obj1 = 0 ;
15898 char *kwnames[] = {
15899 (char *) "self",(char *) "size", NULL
15900 };
15901
15902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
15903 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15904 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15905 {
15906 arg2 = &temp2;
15907 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
15908 }
15909 {
15910 PyThreadState* __tstate = wxPyBeginAllowThreads();
15911 (arg1)->SetBestSize((wxSize const &)*arg2);
15912
15913 wxPyEndAllowThreads(__tstate);
15914 if (PyErr_Occurred()) SWIG_fail;
15915 }
15916 Py_INCREF(Py_None); resultobj = Py_None;
15917 return resultobj;
15918 fail:
15919 return NULL;
15920 }
15921
15922
15923 static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
15924 PyObject *resultobj;
15925 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15926 int arg2 ;
15927 int arg3 ;
15928 int arg4 ;
15929 int arg5 ;
15930 PyObject * obj0 = 0 ;
15931 PyObject * obj1 = 0 ;
15932 PyObject * obj2 = 0 ;
15933 PyObject * obj3 = 0 ;
15934 PyObject * obj4 = 0 ;
15935 char *kwnames[] = {
15936 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15937 };
15938
15939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15940 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15941 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15942 arg2 = (int)SWIG_As_int(obj1);
15943 if (PyErr_Occurred()) SWIG_fail;
15944 arg3 = (int)SWIG_As_int(obj2);
15945 if (PyErr_Occurred()) SWIG_fail;
15946 arg4 = (int)SWIG_As_int(obj3);
15947 if (PyErr_Occurred()) SWIG_fail;
15948 arg5 = (int)SWIG_As_int(obj4);
15949 if (PyErr_Occurred()) SWIG_fail;
15950 {
15951 PyThreadState* __tstate = wxPyBeginAllowThreads();
15952 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
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_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
15965 PyObject *resultobj;
15966 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15967 int arg2 ;
15968 int arg3 ;
15969 int arg4 ;
15970 int arg5 ;
15971 int arg6 = (int) wxSIZE_AUTO ;
15972 PyObject * obj0 = 0 ;
15973 PyObject * obj1 = 0 ;
15974 PyObject * obj2 = 0 ;
15975 PyObject * obj3 = 0 ;
15976 PyObject * obj4 = 0 ;
15977 PyObject * obj5 = 0 ;
15978 char *kwnames[] = {
15979 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15980 };
15981
15982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15983 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15984 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15985 arg2 = (int)SWIG_As_int(obj1);
15986 if (PyErr_Occurred()) SWIG_fail;
15987 arg3 = (int)SWIG_As_int(obj2);
15988 if (PyErr_Occurred()) SWIG_fail;
15989 arg4 = (int)SWIG_As_int(obj3);
15990 if (PyErr_Occurred()) SWIG_fail;
15991 arg5 = (int)SWIG_As_int(obj4);
15992 if (PyErr_Occurred()) SWIG_fail;
15993 if (obj5) {
15994 arg6 = (int)SWIG_As_int(obj5);
15995 if (PyErr_Occurred()) SWIG_fail;
15996 }
15997 {
15998 PyThreadState* __tstate = wxPyBeginAllowThreads();
15999 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
16000
16001 wxPyEndAllowThreads(__tstate);
16002 if (PyErr_Occurred()) SWIG_fail;
16003 }
16004 Py_INCREF(Py_None); resultobj = Py_None;
16005 return resultobj;
16006 fail:
16007 return NULL;
16008 }
16009
16010
16011 static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
16012 PyObject *resultobj;
16013 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16014 int arg2 ;
16015 int arg3 ;
16016 PyObject * obj0 = 0 ;
16017 PyObject * obj1 = 0 ;
16018 PyObject * obj2 = 0 ;
16019 char *kwnames[] = {
16020 (char *) "self",(char *) "width",(char *) "height", NULL
16021 };
16022
16023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16024 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16025 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16026 arg2 = (int)SWIG_As_int(obj1);
16027 if (PyErr_Occurred()) SWIG_fail;
16028 arg3 = (int)SWIG_As_int(obj2);
16029 if (PyErr_Occurred()) SWIG_fail;
16030 {
16031 PyThreadState* __tstate = wxPyBeginAllowThreads();
16032 (arg1)->base_DoSetClientSize(arg2,arg3);
16033
16034 wxPyEndAllowThreads(__tstate);
16035 if (PyErr_Occurred()) SWIG_fail;
16036 }
16037 Py_INCREF(Py_None); resultobj = Py_None;
16038 return resultobj;
16039 fail:
16040 return NULL;
16041 }
16042
16043
16044 static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
16045 PyObject *resultobj;
16046 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16047 int arg2 ;
16048 int arg3 ;
16049 PyObject * obj0 = 0 ;
16050 PyObject * obj1 = 0 ;
16051 PyObject * obj2 = 0 ;
16052 char *kwnames[] = {
16053 (char *) "self",(char *) "x",(char *) "y", NULL
16054 };
16055
16056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16057 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16058 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16059 arg2 = (int)SWIG_As_int(obj1);
16060 if (PyErr_Occurred()) SWIG_fail;
16061 arg3 = (int)SWIG_As_int(obj2);
16062 if (PyErr_Occurred()) SWIG_fail;
16063 {
16064 PyThreadState* __tstate = wxPyBeginAllowThreads();
16065 (arg1)->base_DoSetVirtualSize(arg2,arg3);
16066
16067 wxPyEndAllowThreads(__tstate);
16068 if (PyErr_Occurred()) SWIG_fail;
16069 }
16070 Py_INCREF(Py_None); resultobj = Py_None;
16071 return resultobj;
16072 fail:
16073 return NULL;
16074 }
16075
16076
16077 static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
16078 PyObject *resultobj;
16079 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16080 int *arg2 = (int *) 0 ;
16081 int *arg3 = (int *) 0 ;
16082 int temp2 ;
16083 int res2 = 0 ;
16084 int temp3 ;
16085 int res3 = 0 ;
16086 PyObject * obj0 = 0 ;
16087 char *kwnames[] = {
16088 (char *) "self", NULL
16089 };
16090
16091 arg2 = &temp2; res2 = SWIG_NEWOBJ;
16092 arg3 = &temp3; res3 = SWIG_NEWOBJ;
16093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
16094 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16095 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16096 {
16097 PyThreadState* __tstate = wxPyBeginAllowThreads();
16098 ((wxPyWindow const *)arg1)->base_DoGetSize(arg2,arg3);
16099
16100 wxPyEndAllowThreads(__tstate);
16101 if (PyErr_Occurred()) SWIG_fail;
16102 }
16103 Py_INCREF(Py_None); resultobj = Py_None;
16104 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
16105 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
16106 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
16107 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
16108 return resultobj;
16109 fail:
16110 return NULL;
16111 }
16112
16113
16114 static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
16115 PyObject *resultobj;
16116 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16117 int *arg2 = (int *) 0 ;
16118 int *arg3 = (int *) 0 ;
16119 int temp2 ;
16120 int res2 = 0 ;
16121 int temp3 ;
16122 int res3 = 0 ;
16123 PyObject * obj0 = 0 ;
16124 char *kwnames[] = {
16125 (char *) "self", NULL
16126 };
16127
16128 arg2 = &temp2; res2 = SWIG_NEWOBJ;
16129 arg3 = &temp3; res3 = SWIG_NEWOBJ;
16130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
16131 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16132 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16133 {
16134 PyThreadState* __tstate = wxPyBeginAllowThreads();
16135 ((wxPyWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
16136
16137 wxPyEndAllowThreads(__tstate);
16138 if (PyErr_Occurred()) SWIG_fail;
16139 }
16140 Py_INCREF(Py_None); resultobj = Py_None;
16141 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
16142 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
16143 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
16144 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
16145 return resultobj;
16146 fail:
16147 return NULL;
16148 }
16149
16150
16151 static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
16152 PyObject *resultobj;
16153 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16154 int *arg2 = (int *) 0 ;
16155 int *arg3 = (int *) 0 ;
16156 int temp2 ;
16157 int res2 = 0 ;
16158 int temp3 ;
16159 int res3 = 0 ;
16160 PyObject * obj0 = 0 ;
16161 char *kwnames[] = {
16162 (char *) "self", NULL
16163 };
16164
16165 arg2 = &temp2; res2 = SWIG_NEWOBJ;
16166 arg3 = &temp3; res3 = SWIG_NEWOBJ;
16167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
16168 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16169 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16170 {
16171 PyThreadState* __tstate = wxPyBeginAllowThreads();
16172 ((wxPyWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
16173
16174 wxPyEndAllowThreads(__tstate);
16175 if (PyErr_Occurred()) SWIG_fail;
16176 }
16177 Py_INCREF(Py_None); resultobj = Py_None;
16178 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
16179 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
16180 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
16181 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
16182 return resultobj;
16183 fail:
16184 return NULL;
16185 }
16186
16187
16188 static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
16189 PyObject *resultobj;
16190 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16191 wxSize result;
16192 PyObject * obj0 = 0 ;
16193 char *kwnames[] = {
16194 (char *) "self", NULL
16195 };
16196
16197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
16198 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16199 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16200 {
16201 PyThreadState* __tstate = wxPyBeginAllowThreads();
16202 result = ((wxPyWindow const *)arg1)->base_DoGetVirtualSize();
16203
16204 wxPyEndAllowThreads(__tstate);
16205 if (PyErr_Occurred()) SWIG_fail;
16206 }
16207 {
16208 wxSize * resultptr;
16209 resultptr = new wxSize((wxSize &) result);
16210 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16211 }
16212 return resultobj;
16213 fail:
16214 return NULL;
16215 }
16216
16217
16218 static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
16219 PyObject *resultobj;
16220 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16221 wxSize result;
16222 PyObject * obj0 = 0 ;
16223 char *kwnames[] = {
16224 (char *) "self", NULL
16225 };
16226
16227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
16228 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16229 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16230 {
16231 PyThreadState* __tstate = wxPyBeginAllowThreads();
16232 result = ((wxPyWindow const *)arg1)->base_DoGetBestSize();
16233
16234 wxPyEndAllowThreads(__tstate);
16235 if (PyErr_Occurred()) SWIG_fail;
16236 }
16237 {
16238 wxSize * resultptr;
16239 resultptr = new wxSize((wxSize &) result);
16240 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16241 }
16242 return resultobj;
16243 fail:
16244 return NULL;
16245 }
16246
16247
16248 static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
16249 PyObject *resultobj;
16250 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16251 PyObject * obj0 = 0 ;
16252 char *kwnames[] = {
16253 (char *) "self", NULL
16254 };
16255
16256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_InitDialog",kwnames,&obj0)) goto fail;
16257 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16258 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16259 {
16260 PyThreadState* __tstate = wxPyBeginAllowThreads();
16261 (arg1)->base_InitDialog();
16262
16263 wxPyEndAllowThreads(__tstate);
16264 if (PyErr_Occurred()) SWIG_fail;
16265 }
16266 Py_INCREF(Py_None); resultobj = Py_None;
16267 return resultobj;
16268 fail:
16269 return NULL;
16270 }
16271
16272
16273 static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
16274 PyObject *resultobj;
16275 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16276 bool result;
16277 PyObject * obj0 = 0 ;
16278 char *kwnames[] = {
16279 (char *) "self", NULL
16280 };
16281
16282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
16283 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16284 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16285 {
16286 PyThreadState* __tstate = wxPyBeginAllowThreads();
16287 result = (bool)(arg1)->base_TransferDataToWindow();
16288
16289 wxPyEndAllowThreads(__tstate);
16290 if (PyErr_Occurred()) SWIG_fail;
16291 }
16292 {
16293 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16294 }
16295 return resultobj;
16296 fail:
16297 return NULL;
16298 }
16299
16300
16301 static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
16302 PyObject *resultobj;
16303 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16304 bool result;
16305 PyObject * obj0 = 0 ;
16306 char *kwnames[] = {
16307 (char *) "self", NULL
16308 };
16309
16310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
16311 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16312 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16313 {
16314 PyThreadState* __tstate = wxPyBeginAllowThreads();
16315 result = (bool)(arg1)->base_TransferDataFromWindow();
16316
16317 wxPyEndAllowThreads(__tstate);
16318 if (PyErr_Occurred()) SWIG_fail;
16319 }
16320 {
16321 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16322 }
16323 return resultobj;
16324 fail:
16325 return NULL;
16326 }
16327
16328
16329 static PyObject *_wrap_PyWindow_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
16330 PyObject *resultobj;
16331 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16332 bool result;
16333 PyObject * obj0 = 0 ;
16334 char *kwnames[] = {
16335 (char *) "self", NULL
16336 };
16337
16338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_Validate",kwnames,&obj0)) goto fail;
16339 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16340 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16341 {
16342 PyThreadState* __tstate = wxPyBeginAllowThreads();
16343 result = (bool)(arg1)->base_Validate();
16344
16345 wxPyEndAllowThreads(__tstate);
16346 if (PyErr_Occurred()) SWIG_fail;
16347 }
16348 {
16349 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16350 }
16351 return resultobj;
16352 fail:
16353 return NULL;
16354 }
16355
16356
16357 static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
16358 PyObject *resultobj;
16359 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16360 bool result;
16361 PyObject * obj0 = 0 ;
16362 char *kwnames[] = {
16363 (char *) "self", NULL
16364 };
16365
16366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
16367 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16368 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16369 {
16370 PyThreadState* __tstate = wxPyBeginAllowThreads();
16371 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocus();
16372
16373 wxPyEndAllowThreads(__tstate);
16374 if (PyErr_Occurred()) SWIG_fail;
16375 }
16376 {
16377 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16378 }
16379 return resultobj;
16380 fail:
16381 return NULL;
16382 }
16383
16384
16385 static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
16386 PyObject *resultobj;
16387 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16388 bool result;
16389 PyObject * obj0 = 0 ;
16390 char *kwnames[] = {
16391 (char *) "self", NULL
16392 };
16393
16394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
16395 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16396 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16397 {
16398 PyThreadState* __tstate = wxPyBeginAllowThreads();
16399 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
16400
16401 wxPyEndAllowThreads(__tstate);
16402 if (PyErr_Occurred()) SWIG_fail;
16403 }
16404 {
16405 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16406 }
16407 return resultobj;
16408 fail:
16409 return NULL;
16410 }
16411
16412
16413 static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
16414 PyObject *resultobj;
16415 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16416 wxSize result;
16417 PyObject * obj0 = 0 ;
16418 char *kwnames[] = {
16419 (char *) "self", NULL
16420 };
16421
16422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
16423 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16424 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16425 {
16426 PyThreadState* __tstate = wxPyBeginAllowThreads();
16427 result = ((wxPyWindow const *)arg1)->base_GetMaxSize();
16428
16429 wxPyEndAllowThreads(__tstate);
16430 if (PyErr_Occurred()) SWIG_fail;
16431 }
16432 {
16433 wxSize * resultptr;
16434 resultptr = new wxSize((wxSize &) result);
16435 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16436 }
16437 return resultobj;
16438 fail:
16439 return NULL;
16440 }
16441
16442
16443 static PyObject *_wrap_PyWindow_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
16444 PyObject *resultobj;
16445 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16446 wxWindow *arg2 = (wxWindow *) 0 ;
16447 PyObject * obj0 = 0 ;
16448 PyObject * obj1 = 0 ;
16449 char *kwnames[] = {
16450 (char *) "self",(char *) "child", NULL
16451 };
16452
16453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
16454 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16455 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16456 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16457 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16458 {
16459 PyThreadState* __tstate = wxPyBeginAllowThreads();
16460 (arg1)->base_AddChild(arg2);
16461
16462 wxPyEndAllowThreads(__tstate);
16463 if (PyErr_Occurred()) SWIG_fail;
16464 }
16465 Py_INCREF(Py_None); resultobj = Py_None;
16466 return resultobj;
16467 fail:
16468 return NULL;
16469 }
16470
16471
16472 static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
16473 PyObject *resultobj;
16474 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16475 wxWindow *arg2 = (wxWindow *) 0 ;
16476 PyObject * obj0 = 0 ;
16477 PyObject * obj1 = 0 ;
16478 char *kwnames[] = {
16479 (char *) "self",(char *) "child", NULL
16480 };
16481
16482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
16483 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16484 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16485 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16486 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16487 {
16488 PyThreadState* __tstate = wxPyBeginAllowThreads();
16489 (arg1)->base_RemoveChild(arg2);
16490
16491 wxPyEndAllowThreads(__tstate);
16492 if (PyErr_Occurred()) SWIG_fail;
16493 }
16494 Py_INCREF(Py_None); resultobj = Py_None;
16495 return resultobj;
16496 fail:
16497 return NULL;
16498 }
16499
16500
16501 static PyObject *_wrap_PyWindow_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
16502 PyObject *resultobj;
16503 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16504 bool result;
16505 PyObject * obj0 = 0 ;
16506 char *kwnames[] = {
16507 (char *) "self", NULL
16508 };
16509
16510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
16511 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16512 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16513 {
16514 PyThreadState* __tstate = wxPyBeginAllowThreads();
16515 result = (bool)((wxPyWindow const *)arg1)->base_ShouldInheritColours();
16516
16517 wxPyEndAllowThreads(__tstate);
16518 if (PyErr_Occurred()) SWIG_fail;
16519 }
16520 {
16521 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16522 }
16523 return resultobj;
16524 fail:
16525 return NULL;
16526 }
16527
16528
16529 static PyObject *_wrap_PyWindow_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) {
16530 PyObject *resultobj;
16531 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16532 wxColour *arg2 = 0 ;
16533 wxColour temp2 ;
16534 PyObject * obj0 = 0 ;
16535 PyObject * obj1 = 0 ;
16536 char *kwnames[] = {
16537 (char *) "self",(char *) "c", NULL
16538 };
16539
16540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
16541 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16542 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16543 {
16544 arg2 = &temp2;
16545 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16546 }
16547 {
16548 PyThreadState* __tstate = wxPyBeginAllowThreads();
16549 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
16550
16551 wxPyEndAllowThreads(__tstate);
16552 if (PyErr_Occurred()) SWIG_fail;
16553 }
16554 Py_INCREF(Py_None); resultobj = Py_None;
16555 return resultobj;
16556 fail:
16557 return NULL;
16558 }
16559
16560
16561 static PyObject *_wrap_PyWindow_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
16562 PyObject *resultobj;
16563 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16564 wxVisualAttributes result;
16565 PyObject * obj0 = 0 ;
16566 char *kwnames[] = {
16567 (char *) "self", NULL
16568 };
16569
16570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
16571 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16572 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16573 {
16574 PyThreadState* __tstate = wxPyBeginAllowThreads();
16575 result = (arg1)->base_GetDefaultAttributes();
16576
16577 wxPyEndAllowThreads(__tstate);
16578 if (PyErr_Occurred()) SWIG_fail;
16579 }
16580 {
16581 wxVisualAttributes * resultptr;
16582 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
16583 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
16584 }
16585 return resultobj;
16586 fail:
16587 return NULL;
16588 }
16589
16590
16591 static PyObject * PyWindow_swigregister(PyObject *, PyObject *args) {
16592 PyObject *obj;
16593 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16594 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj);
16595 Py_INCREF(obj);
16596 return Py_BuildValue((char *)"");
16597 }
16598 static PyObject *_wrap_new_PyPanel(PyObject *, PyObject *args, PyObject *kwargs) {
16599 PyObject *resultobj;
16600 wxWindow *arg1 = (wxWindow *) 0 ;
16601 int arg2 = (int) (int)-1 ;
16602 wxPoint const &arg3_defvalue = wxDefaultPosition ;
16603 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
16604 wxSize const &arg4_defvalue = wxDefaultSize ;
16605 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
16606 long arg5 = (long) 0 ;
16607 wxString const &arg6_defvalue = wxPyPanelNameStr ;
16608 wxString *arg6 = (wxString *) &arg6_defvalue ;
16609 wxPyPanel *result;
16610 wxPoint temp3 ;
16611 wxSize temp4 ;
16612 bool temp6 = False ;
16613 PyObject * obj0 = 0 ;
16614 PyObject * obj1 = 0 ;
16615 PyObject * obj2 = 0 ;
16616 PyObject * obj3 = 0 ;
16617 PyObject * obj4 = 0 ;
16618 PyObject * obj5 = 0 ;
16619 char *kwnames[] = {
16620 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16621 };
16622
16623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16624 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
16625 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16626 if (obj1) {
16627 arg2 = (int)SWIG_As_int(obj1);
16628 if (PyErr_Occurred()) SWIG_fail;
16629 }
16630 if (obj2) {
16631 {
16632 arg3 = &temp3;
16633 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
16634 }
16635 }
16636 if (obj3) {
16637 {
16638 arg4 = &temp4;
16639 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
16640 }
16641 }
16642 if (obj4) {
16643 arg5 = (long)SWIG_As_long(obj4);
16644 if (PyErr_Occurred()) SWIG_fail;
16645 }
16646 if (obj5) {
16647 {
16648 arg6 = wxString_in_helper(obj5);
16649 if (arg6 == NULL) SWIG_fail;
16650 temp6 = True;
16651 }
16652 }
16653 {
16654 if (!wxPyCheckForApp()) SWIG_fail;
16655 PyThreadState* __tstate = wxPyBeginAllowThreads();
16656 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
16657
16658 wxPyEndAllowThreads(__tstate);
16659 if (PyErr_Occurred()) SWIG_fail;
16660 }
16661 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
16662 {
16663 if (temp6)
16664 delete arg6;
16665 }
16666 return resultobj;
16667 fail:
16668 {
16669 if (temp6)
16670 delete arg6;
16671 }
16672 return NULL;
16673 }
16674
16675
16676 static PyObject *_wrap_new_PrePyPanel(PyObject *, PyObject *args, PyObject *kwargs) {
16677 PyObject *resultobj;
16678 wxPyPanel *result;
16679 char *kwnames[] = {
16680 NULL
16681 };
16682
16683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyPanel",kwnames)) goto fail;
16684 {
16685 if (!wxPyCheckForApp()) SWIG_fail;
16686 PyThreadState* __tstate = wxPyBeginAllowThreads();
16687 result = (wxPyPanel *)new wxPyPanel();
16688
16689 wxPyEndAllowThreads(__tstate);
16690 if (PyErr_Occurred()) SWIG_fail;
16691 }
16692 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
16693 return resultobj;
16694 fail:
16695 return NULL;
16696 }
16697
16698
16699 static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
16700 PyObject *resultobj;
16701 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16702 PyObject *arg2 = (PyObject *) 0 ;
16703 PyObject *arg3 = (PyObject *) 0 ;
16704 PyObject * obj0 = 0 ;
16705 PyObject * obj1 = 0 ;
16706 PyObject * obj2 = 0 ;
16707 char *kwnames[] = {
16708 (char *) "self",(char *) "self",(char *) "_class", NULL
16709 };
16710
16711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
16712 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16713 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16714 arg2 = obj1;
16715 arg3 = obj2;
16716 {
16717 PyThreadState* __tstate = wxPyBeginAllowThreads();
16718 (arg1)->_setCallbackInfo(arg2,arg3);
16719
16720 wxPyEndAllowThreads(__tstate);
16721 if (PyErr_Occurred()) SWIG_fail;
16722 }
16723 Py_INCREF(Py_None); resultobj = Py_None;
16724 return resultobj;
16725 fail:
16726 return NULL;
16727 }
16728
16729
16730 static PyObject *_wrap_PyPanel_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
16731 PyObject *resultobj;
16732 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16733 wxSize *arg2 = 0 ;
16734 wxSize temp2 ;
16735 PyObject * obj0 = 0 ;
16736 PyObject * obj1 = 0 ;
16737 char *kwnames[] = {
16738 (char *) "self",(char *) "size", NULL
16739 };
16740
16741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
16742 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16743 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16744 {
16745 arg2 = &temp2;
16746 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16747 }
16748 {
16749 PyThreadState* __tstate = wxPyBeginAllowThreads();
16750 (arg1)->SetBestSize((wxSize const &)*arg2);
16751
16752 wxPyEndAllowThreads(__tstate);
16753 if (PyErr_Occurred()) SWIG_fail;
16754 }
16755 Py_INCREF(Py_None); resultobj = Py_None;
16756 return resultobj;
16757 fail:
16758 return NULL;
16759 }
16760
16761
16762 static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
16763 PyObject *resultobj;
16764 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16765 int arg2 ;
16766 int arg3 ;
16767 int arg4 ;
16768 int arg5 ;
16769 PyObject * obj0 = 0 ;
16770 PyObject * obj1 = 0 ;
16771 PyObject * obj2 = 0 ;
16772 PyObject * obj3 = 0 ;
16773 PyObject * obj4 = 0 ;
16774 char *kwnames[] = {
16775 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16776 };
16777
16778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16779 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16780 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16781 arg2 = (int)SWIG_As_int(obj1);
16782 if (PyErr_Occurred()) SWIG_fail;
16783 arg3 = (int)SWIG_As_int(obj2);
16784 if (PyErr_Occurred()) SWIG_fail;
16785 arg4 = (int)SWIG_As_int(obj3);
16786 if (PyErr_Occurred()) SWIG_fail;
16787 arg5 = (int)SWIG_As_int(obj4);
16788 if (PyErr_Occurred()) SWIG_fail;
16789 {
16790 PyThreadState* __tstate = wxPyBeginAllowThreads();
16791 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
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_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
16804 PyObject *resultobj;
16805 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16806 int arg2 ;
16807 int arg3 ;
16808 int arg4 ;
16809 int arg5 ;
16810 int arg6 = (int) wxSIZE_AUTO ;
16811 PyObject * obj0 = 0 ;
16812 PyObject * obj1 = 0 ;
16813 PyObject * obj2 = 0 ;
16814 PyObject * obj3 = 0 ;
16815 PyObject * obj4 = 0 ;
16816 PyObject * obj5 = 0 ;
16817 char *kwnames[] = {
16818 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
16819 };
16820
16821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16822 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16823 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16824 arg2 = (int)SWIG_As_int(obj1);
16825 if (PyErr_Occurred()) SWIG_fail;
16826 arg3 = (int)SWIG_As_int(obj2);
16827 if (PyErr_Occurred()) SWIG_fail;
16828 arg4 = (int)SWIG_As_int(obj3);
16829 if (PyErr_Occurred()) SWIG_fail;
16830 arg5 = (int)SWIG_As_int(obj4);
16831 if (PyErr_Occurred()) SWIG_fail;
16832 if (obj5) {
16833 arg6 = (int)SWIG_As_int(obj5);
16834 if (PyErr_Occurred()) SWIG_fail;
16835 }
16836 {
16837 PyThreadState* __tstate = wxPyBeginAllowThreads();
16838 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
16839
16840 wxPyEndAllowThreads(__tstate);
16841 if (PyErr_Occurred()) SWIG_fail;
16842 }
16843 Py_INCREF(Py_None); resultobj = Py_None;
16844 return resultobj;
16845 fail:
16846 return NULL;
16847 }
16848
16849
16850 static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
16851 PyObject *resultobj;
16852 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16853 int arg2 ;
16854 int arg3 ;
16855 PyObject * obj0 = 0 ;
16856 PyObject * obj1 = 0 ;
16857 PyObject * obj2 = 0 ;
16858 char *kwnames[] = {
16859 (char *) "self",(char *) "width",(char *) "height", NULL
16860 };
16861
16862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16863 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16864 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16865 arg2 = (int)SWIG_As_int(obj1);
16866 if (PyErr_Occurred()) SWIG_fail;
16867 arg3 = (int)SWIG_As_int(obj2);
16868 if (PyErr_Occurred()) SWIG_fail;
16869 {
16870 PyThreadState* __tstate = wxPyBeginAllowThreads();
16871 (arg1)->base_DoSetClientSize(arg2,arg3);
16872
16873 wxPyEndAllowThreads(__tstate);
16874 if (PyErr_Occurred()) SWIG_fail;
16875 }
16876 Py_INCREF(Py_None); resultobj = Py_None;
16877 return resultobj;
16878 fail:
16879 return NULL;
16880 }
16881
16882
16883 static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
16884 PyObject *resultobj;
16885 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16886 int arg2 ;
16887 int arg3 ;
16888 PyObject * obj0 = 0 ;
16889 PyObject * obj1 = 0 ;
16890 PyObject * obj2 = 0 ;
16891 char *kwnames[] = {
16892 (char *) "self",(char *) "x",(char *) "y", NULL
16893 };
16894
16895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16896 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16897 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16898 arg2 = (int)SWIG_As_int(obj1);
16899 if (PyErr_Occurred()) SWIG_fail;
16900 arg3 = (int)SWIG_As_int(obj2);
16901 if (PyErr_Occurred()) SWIG_fail;
16902 {
16903 PyThreadState* __tstate = wxPyBeginAllowThreads();
16904 (arg1)->base_DoSetVirtualSize(arg2,arg3);
16905
16906 wxPyEndAllowThreads(__tstate);
16907 if (PyErr_Occurred()) SWIG_fail;
16908 }
16909 Py_INCREF(Py_None); resultobj = Py_None;
16910 return resultobj;
16911 fail:
16912 return NULL;
16913 }
16914
16915
16916 static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
16917 PyObject *resultobj;
16918 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16919 int *arg2 = (int *) 0 ;
16920 int *arg3 = (int *) 0 ;
16921 int temp2 ;
16922 int res2 = 0 ;
16923 int temp3 ;
16924 int res3 = 0 ;
16925 PyObject * obj0 = 0 ;
16926 char *kwnames[] = {
16927 (char *) "self", NULL
16928 };
16929
16930 arg2 = &temp2; res2 = SWIG_NEWOBJ;
16931 arg3 = &temp3; res3 = SWIG_NEWOBJ;
16932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetSize",kwnames,&obj0)) goto fail;
16933 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16934 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16935 {
16936 PyThreadState* __tstate = wxPyBeginAllowThreads();
16937 ((wxPyPanel const *)arg1)->base_DoGetSize(arg2,arg3);
16938
16939 wxPyEndAllowThreads(__tstate);
16940 if (PyErr_Occurred()) SWIG_fail;
16941 }
16942 Py_INCREF(Py_None); resultobj = Py_None;
16943 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
16944 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
16945 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
16946 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
16947 return resultobj;
16948 fail:
16949 return NULL;
16950 }
16951
16952
16953 static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
16954 PyObject *resultobj;
16955 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16956 int *arg2 = (int *) 0 ;
16957 int *arg3 = (int *) 0 ;
16958 int temp2 ;
16959 int res2 = 0 ;
16960 int temp3 ;
16961 int res3 = 0 ;
16962 PyObject * obj0 = 0 ;
16963 char *kwnames[] = {
16964 (char *) "self", NULL
16965 };
16966
16967 arg2 = &temp2; res2 = SWIG_NEWOBJ;
16968 arg3 = &temp3; res3 = SWIG_NEWOBJ;
16969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetClientSize",kwnames,&obj0)) goto fail;
16970 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16971 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16972 {
16973 PyThreadState* __tstate = wxPyBeginAllowThreads();
16974 ((wxPyPanel const *)arg1)->base_DoGetClientSize(arg2,arg3);
16975
16976 wxPyEndAllowThreads(__tstate);
16977 if (PyErr_Occurred()) SWIG_fail;
16978 }
16979 Py_INCREF(Py_None); resultobj = Py_None;
16980 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
16981 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
16982 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
16983 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
16984 return resultobj;
16985 fail:
16986 return NULL;
16987 }
16988
16989
16990 static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
16991 PyObject *resultobj;
16992 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16993 int *arg2 = (int *) 0 ;
16994 int *arg3 = (int *) 0 ;
16995 int temp2 ;
16996 int res2 = 0 ;
16997 int temp3 ;
16998 int res3 = 0 ;
16999 PyObject * obj0 = 0 ;
17000 char *kwnames[] = {
17001 (char *) "self", NULL
17002 };
17003
17004 arg2 = &temp2; res2 = SWIG_NEWOBJ;
17005 arg3 = &temp3; res3 = SWIG_NEWOBJ;
17006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetPosition",kwnames,&obj0)) goto fail;
17007 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17008 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17009 {
17010 PyThreadState* __tstate = wxPyBeginAllowThreads();
17011 ((wxPyPanel const *)arg1)->base_DoGetPosition(arg2,arg3);
17012
17013 wxPyEndAllowThreads(__tstate);
17014 if (PyErr_Occurred()) SWIG_fail;
17015 }
17016 Py_INCREF(Py_None); resultobj = Py_None;
17017 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
17018 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
17019 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
17020 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
17021 return resultobj;
17022 fail:
17023 return NULL;
17024 }
17025
17026
17027 static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
17028 PyObject *resultobj;
17029 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17030 wxSize result;
17031 PyObject * obj0 = 0 ;
17032 char *kwnames[] = {
17033 (char *) "self", NULL
17034 };
17035
17036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
17037 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17038 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17039 {
17040 PyThreadState* __tstate = wxPyBeginAllowThreads();
17041 result = ((wxPyPanel const *)arg1)->base_DoGetVirtualSize();
17042
17043 wxPyEndAllowThreads(__tstate);
17044 if (PyErr_Occurred()) SWIG_fail;
17045 }
17046 {
17047 wxSize * resultptr;
17048 resultptr = new wxSize((wxSize &) result);
17049 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17050 }
17051 return resultobj;
17052 fail:
17053 return NULL;
17054 }
17055
17056
17057 static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
17058 PyObject *resultobj;
17059 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17060 wxSize result;
17061 PyObject * obj0 = 0 ;
17062 char *kwnames[] = {
17063 (char *) "self", NULL
17064 };
17065
17066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetBestSize",kwnames,&obj0)) goto fail;
17067 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17068 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17069 {
17070 PyThreadState* __tstate = wxPyBeginAllowThreads();
17071 result = ((wxPyPanel const *)arg1)->base_DoGetBestSize();
17072
17073 wxPyEndAllowThreads(__tstate);
17074 if (PyErr_Occurred()) SWIG_fail;
17075 }
17076 {
17077 wxSize * resultptr;
17078 resultptr = new wxSize((wxSize &) result);
17079 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17080 }
17081 return resultobj;
17082 fail:
17083 return NULL;
17084 }
17085
17086
17087 static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
17088 PyObject *resultobj;
17089 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17090 PyObject * obj0 = 0 ;
17091 char *kwnames[] = {
17092 (char *) "self", NULL
17093 };
17094
17095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_InitDialog",kwnames,&obj0)) goto fail;
17096 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17097 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17098 {
17099 PyThreadState* __tstate = wxPyBeginAllowThreads();
17100 (arg1)->base_InitDialog();
17101
17102 wxPyEndAllowThreads(__tstate);
17103 if (PyErr_Occurred()) SWIG_fail;
17104 }
17105 Py_INCREF(Py_None); resultobj = Py_None;
17106 return resultobj;
17107 fail:
17108 return NULL;
17109 }
17110
17111
17112 static PyObject *_wrap_PyPanel_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17113 PyObject *resultobj;
17114 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17115 bool result;
17116 PyObject * obj0 = 0 ;
17117 char *kwnames[] = {
17118 (char *) "self", NULL
17119 };
17120
17121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
17122 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17123 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17124 {
17125 PyThreadState* __tstate = wxPyBeginAllowThreads();
17126 result = (bool)(arg1)->base_TransferDataToWindow();
17127
17128 wxPyEndAllowThreads(__tstate);
17129 if (PyErr_Occurred()) SWIG_fail;
17130 }
17131 {
17132 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17133 }
17134 return resultobj;
17135 fail:
17136 return NULL;
17137 }
17138
17139
17140 static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17141 PyObject *resultobj;
17142 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17143 bool result;
17144 PyObject * obj0 = 0 ;
17145 char *kwnames[] = {
17146 (char *) "self", NULL
17147 };
17148
17149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
17150 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17151 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17152 {
17153 PyThreadState* __tstate = wxPyBeginAllowThreads();
17154 result = (bool)(arg1)->base_TransferDataFromWindow();
17155
17156 wxPyEndAllowThreads(__tstate);
17157 if (PyErr_Occurred()) SWIG_fail;
17158 }
17159 {
17160 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17161 }
17162 return resultobj;
17163 fail:
17164 return NULL;
17165 }
17166
17167
17168 static PyObject *_wrap_PyPanel_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
17169 PyObject *resultobj;
17170 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17171 bool result;
17172 PyObject * obj0 = 0 ;
17173 char *kwnames[] = {
17174 (char *) "self", NULL
17175 };
17176
17177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_Validate",kwnames,&obj0)) goto fail;
17178 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17179 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17180 {
17181 PyThreadState* __tstate = wxPyBeginAllowThreads();
17182 result = (bool)(arg1)->base_Validate();
17183
17184 wxPyEndAllowThreads(__tstate);
17185 if (PyErr_Occurred()) SWIG_fail;
17186 }
17187 {
17188 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17189 }
17190 return resultobj;
17191 fail:
17192 return NULL;
17193 }
17194
17195
17196 static PyObject *_wrap_PyPanel_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
17197 PyObject *resultobj;
17198 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17199 bool result;
17200 PyObject * obj0 = 0 ;
17201 char *kwnames[] = {
17202 (char *) "self", NULL
17203 };
17204
17205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocus",kwnames,&obj0)) goto fail;
17206 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17207 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17208 {
17209 PyThreadState* __tstate = wxPyBeginAllowThreads();
17210 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocus();
17211
17212 wxPyEndAllowThreads(__tstate);
17213 if (PyErr_Occurred()) SWIG_fail;
17214 }
17215 {
17216 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17217 }
17218 return resultobj;
17219 fail:
17220 return NULL;
17221 }
17222
17223
17224 static PyObject *_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
17225 PyObject *resultobj;
17226 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17227 bool result;
17228 PyObject * obj0 = 0 ;
17229 char *kwnames[] = {
17230 (char *) "self", NULL
17231 };
17232
17233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
17234 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17235 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17236 {
17237 PyThreadState* __tstate = wxPyBeginAllowThreads();
17238 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocusFromKeyboard();
17239
17240 wxPyEndAllowThreads(__tstate);
17241 if (PyErr_Occurred()) SWIG_fail;
17242 }
17243 {
17244 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17245 }
17246 return resultobj;
17247 fail:
17248 return NULL;
17249 }
17250
17251
17252 static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
17253 PyObject *resultobj;
17254 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17255 wxSize result;
17256 PyObject * obj0 = 0 ;
17257 char *kwnames[] = {
17258 (char *) "self", NULL
17259 };
17260
17261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetMaxSize",kwnames,&obj0)) goto fail;
17262 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17263 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17264 {
17265 PyThreadState* __tstate = wxPyBeginAllowThreads();
17266 result = ((wxPyPanel const *)arg1)->base_GetMaxSize();
17267
17268 wxPyEndAllowThreads(__tstate);
17269 if (PyErr_Occurred()) SWIG_fail;
17270 }
17271 {
17272 wxSize * resultptr;
17273 resultptr = new wxSize((wxSize &) result);
17274 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17275 }
17276 return resultobj;
17277 fail:
17278 return NULL;
17279 }
17280
17281
17282 static PyObject *_wrap_PyPanel_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
17283 PyObject *resultobj;
17284 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17285 wxWindow *arg2 = (wxWindow *) 0 ;
17286 PyObject * obj0 = 0 ;
17287 PyObject * obj1 = 0 ;
17288 char *kwnames[] = {
17289 (char *) "self",(char *) "child", NULL
17290 };
17291
17292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
17293 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17294 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17295 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17296 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17297 {
17298 PyThreadState* __tstate = wxPyBeginAllowThreads();
17299 (arg1)->base_AddChild(arg2);
17300
17301 wxPyEndAllowThreads(__tstate);
17302 if (PyErr_Occurred()) SWIG_fail;
17303 }
17304 Py_INCREF(Py_None); resultobj = Py_None;
17305 return resultobj;
17306 fail:
17307 return NULL;
17308 }
17309
17310
17311 static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
17312 PyObject *resultobj;
17313 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17314 wxWindow *arg2 = (wxWindow *) 0 ;
17315 PyObject * obj0 = 0 ;
17316 PyObject * obj1 = 0 ;
17317 char *kwnames[] = {
17318 (char *) "self",(char *) "child", NULL
17319 };
17320
17321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
17322 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17323 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17324 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17325 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17326 {
17327 PyThreadState* __tstate = wxPyBeginAllowThreads();
17328 (arg1)->base_RemoveChild(arg2);
17329
17330 wxPyEndAllowThreads(__tstate);
17331 if (PyErr_Occurred()) SWIG_fail;
17332 }
17333 Py_INCREF(Py_None); resultobj = Py_None;
17334 return resultobj;
17335 fail:
17336 return NULL;
17337 }
17338
17339
17340 static PyObject *_wrap_PyPanel_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
17341 PyObject *resultobj;
17342 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17343 bool result;
17344 PyObject * obj0 = 0 ;
17345 char *kwnames[] = {
17346 (char *) "self", NULL
17347 };
17348
17349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
17350 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17351 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17352 {
17353 PyThreadState* __tstate = wxPyBeginAllowThreads();
17354 result = (bool)((wxPyPanel const *)arg1)->base_ShouldInheritColours();
17355
17356 wxPyEndAllowThreads(__tstate);
17357 if (PyErr_Occurred()) SWIG_fail;
17358 }
17359 {
17360 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17361 }
17362 return resultobj;
17363 fail:
17364 return NULL;
17365 }
17366
17367
17368 static PyObject *_wrap_PyPanel_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) {
17369 PyObject *resultobj;
17370 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17371 wxColour *arg2 = 0 ;
17372 wxColour temp2 ;
17373 PyObject * obj0 = 0 ;
17374 PyObject * obj1 = 0 ;
17375 char *kwnames[] = {
17376 (char *) "self",(char *) "c", NULL
17377 };
17378
17379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
17380 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17381 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17382 {
17383 arg2 = &temp2;
17384 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17385 }
17386 {
17387 PyThreadState* __tstate = wxPyBeginAllowThreads();
17388 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
17389
17390 wxPyEndAllowThreads(__tstate);
17391 if (PyErr_Occurred()) SWIG_fail;
17392 }
17393 Py_INCREF(Py_None); resultobj = Py_None;
17394 return resultobj;
17395 fail:
17396 return NULL;
17397 }
17398
17399
17400 static PyObject *_wrap_PyPanel_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
17401 PyObject *resultobj;
17402 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17403 wxVisualAttributes result;
17404 PyObject * obj0 = 0 ;
17405 char *kwnames[] = {
17406 (char *) "self", NULL
17407 };
17408
17409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
17410 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17411 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17412 {
17413 PyThreadState* __tstate = wxPyBeginAllowThreads();
17414 result = (arg1)->base_GetDefaultAttributes();
17415
17416 wxPyEndAllowThreads(__tstate);
17417 if (PyErr_Occurred()) SWIG_fail;
17418 }
17419 {
17420 wxVisualAttributes * resultptr;
17421 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
17422 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
17423 }
17424 return resultobj;
17425 fail:
17426 return NULL;
17427 }
17428
17429
17430 static PyObject * PyPanel_swigregister(PyObject *, PyObject *args) {
17431 PyObject *obj;
17432 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17433 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj);
17434 Py_INCREF(obj);
17435 return Py_BuildValue((char *)"");
17436 }
17437 static PyObject *_wrap_new_PyScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17438 PyObject *resultobj;
17439 wxWindow *arg1 = (wxWindow *) 0 ;
17440 int arg2 = (int) (int)-1 ;
17441 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17442 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17443 wxSize const &arg4_defvalue = wxDefaultSize ;
17444 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17445 long arg5 = (long) 0 ;
17446 wxString const &arg6_defvalue = wxPyPanelNameStr ;
17447 wxString *arg6 = (wxString *) &arg6_defvalue ;
17448 wxPyScrolledWindow *result;
17449 wxPoint temp3 ;
17450 wxSize temp4 ;
17451 bool temp6 = False ;
17452 PyObject * obj0 = 0 ;
17453 PyObject * obj1 = 0 ;
17454 PyObject * obj2 = 0 ;
17455 PyObject * obj3 = 0 ;
17456 PyObject * obj4 = 0 ;
17457 PyObject * obj5 = 0 ;
17458 char *kwnames[] = {
17459 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17460 };
17461
17462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17463 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
17464 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17465 if (obj1) {
17466 arg2 = (int)SWIG_As_int(obj1);
17467 if (PyErr_Occurred()) SWIG_fail;
17468 }
17469 if (obj2) {
17470 {
17471 arg3 = &temp3;
17472 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17473 }
17474 }
17475 if (obj3) {
17476 {
17477 arg4 = &temp4;
17478 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17479 }
17480 }
17481 if (obj4) {
17482 arg5 = (long)SWIG_As_long(obj4);
17483 if (PyErr_Occurred()) SWIG_fail;
17484 }
17485 if (obj5) {
17486 {
17487 arg6 = wxString_in_helper(obj5);
17488 if (arg6 == NULL) SWIG_fail;
17489 temp6 = True;
17490 }
17491 }
17492 {
17493 if (!wxPyCheckForApp()) SWIG_fail;
17494 PyThreadState* __tstate = wxPyBeginAllowThreads();
17495 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17496
17497 wxPyEndAllowThreads(__tstate);
17498 if (PyErr_Occurred()) SWIG_fail;
17499 }
17500 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
17501 {
17502 if (temp6)
17503 delete arg6;
17504 }
17505 return resultobj;
17506 fail:
17507 {
17508 if (temp6)
17509 delete arg6;
17510 }
17511 return NULL;
17512 }
17513
17514
17515 static PyObject *_wrap_new_PrePyScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17516 PyObject *resultobj;
17517 wxPyScrolledWindow *result;
17518 char *kwnames[] = {
17519 NULL
17520 };
17521
17522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyScrolledWindow",kwnames)) goto fail;
17523 {
17524 if (!wxPyCheckForApp()) SWIG_fail;
17525 PyThreadState* __tstate = wxPyBeginAllowThreads();
17526 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
17527
17528 wxPyEndAllowThreads(__tstate);
17529 if (PyErr_Occurred()) SWIG_fail;
17530 }
17531 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
17532 return resultobj;
17533 fail:
17534 return NULL;
17535 }
17536
17537
17538 static PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
17539 PyObject *resultobj;
17540 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17541 PyObject *arg2 = (PyObject *) 0 ;
17542 PyObject *arg3 = (PyObject *) 0 ;
17543 PyObject * obj0 = 0 ;
17544 PyObject * obj1 = 0 ;
17545 PyObject * obj2 = 0 ;
17546 char *kwnames[] = {
17547 (char *) "self",(char *) "self",(char *) "_class", NULL
17548 };
17549
17550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
17551 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17552 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17553 arg2 = obj1;
17554 arg3 = obj2;
17555 {
17556 PyThreadState* __tstate = wxPyBeginAllowThreads();
17557 (arg1)->_setCallbackInfo(arg2,arg3);
17558
17559 wxPyEndAllowThreads(__tstate);
17560 if (PyErr_Occurred()) SWIG_fail;
17561 }
17562 Py_INCREF(Py_None); resultobj = Py_None;
17563 return resultobj;
17564 fail:
17565 return NULL;
17566 }
17567
17568
17569 static PyObject *_wrap_PyScrolledWindow_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
17570 PyObject *resultobj;
17571 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17572 wxSize *arg2 = 0 ;
17573 wxSize temp2 ;
17574 PyObject * obj0 = 0 ;
17575 PyObject * obj1 = 0 ;
17576 char *kwnames[] = {
17577 (char *) "self",(char *) "size", NULL
17578 };
17579
17580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
17581 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17582 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17583 {
17584 arg2 = &temp2;
17585 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17586 }
17587 {
17588 PyThreadState* __tstate = wxPyBeginAllowThreads();
17589 (arg1)->SetBestSize((wxSize const &)*arg2);
17590
17591 wxPyEndAllowThreads(__tstate);
17592 if (PyErr_Occurred()) SWIG_fail;
17593 }
17594 Py_INCREF(Py_None); resultobj = Py_None;
17595 return resultobj;
17596 fail:
17597 return NULL;
17598 }
17599
17600
17601 static PyObject *_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17602 PyObject *resultobj;
17603 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17604 int arg2 ;
17605 int arg3 ;
17606 int arg4 ;
17607 int arg5 ;
17608 PyObject * obj0 = 0 ;
17609 PyObject * obj1 = 0 ;
17610 PyObject * obj2 = 0 ;
17611 PyObject * obj3 = 0 ;
17612 PyObject * obj4 = 0 ;
17613 char *kwnames[] = {
17614 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
17615 };
17616
17617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
17618 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17619 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17620 arg2 = (int)SWIG_As_int(obj1);
17621 if (PyErr_Occurred()) SWIG_fail;
17622 arg3 = (int)SWIG_As_int(obj2);
17623 if (PyErr_Occurred()) SWIG_fail;
17624 arg4 = (int)SWIG_As_int(obj3);
17625 if (PyErr_Occurred()) SWIG_fail;
17626 arg5 = (int)SWIG_As_int(obj4);
17627 if (PyErr_Occurred()) SWIG_fail;
17628 {
17629 PyThreadState* __tstate = wxPyBeginAllowThreads();
17630 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
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_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
17643 PyObject *resultobj;
17644 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17645 int arg2 ;
17646 int arg3 ;
17647 int arg4 ;
17648 int arg5 ;
17649 int arg6 = (int) wxSIZE_AUTO ;
17650 PyObject * obj0 = 0 ;
17651 PyObject * obj1 = 0 ;
17652 PyObject * obj2 = 0 ;
17653 PyObject * obj3 = 0 ;
17654 PyObject * obj4 = 0 ;
17655 PyObject * obj5 = 0 ;
17656 char *kwnames[] = {
17657 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
17658 };
17659
17660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17661 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17662 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17663 arg2 = (int)SWIG_As_int(obj1);
17664 if (PyErr_Occurred()) SWIG_fail;
17665 arg3 = (int)SWIG_As_int(obj2);
17666 if (PyErr_Occurred()) SWIG_fail;
17667 arg4 = (int)SWIG_As_int(obj3);
17668 if (PyErr_Occurred()) SWIG_fail;
17669 arg5 = (int)SWIG_As_int(obj4);
17670 if (PyErr_Occurred()) SWIG_fail;
17671 if (obj5) {
17672 arg6 = (int)SWIG_As_int(obj5);
17673 if (PyErr_Occurred()) SWIG_fail;
17674 }
17675 {
17676 PyThreadState* __tstate = wxPyBeginAllowThreads();
17677 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
17678
17679 wxPyEndAllowThreads(__tstate);
17680 if (PyErr_Occurred()) SWIG_fail;
17681 }
17682 Py_INCREF(Py_None); resultobj = Py_None;
17683 return resultobj;
17684 fail:
17685 return NULL;
17686 }
17687
17688
17689 static PyObject *_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
17690 PyObject *resultobj;
17691 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17692 int arg2 ;
17693 int arg3 ;
17694 PyObject * obj0 = 0 ;
17695 PyObject * obj1 = 0 ;
17696 PyObject * obj2 = 0 ;
17697 char *kwnames[] = {
17698 (char *) "self",(char *) "width",(char *) "height", NULL
17699 };
17700
17701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
17702 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17703 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17704 arg2 = (int)SWIG_As_int(obj1);
17705 if (PyErr_Occurred()) SWIG_fail;
17706 arg3 = (int)SWIG_As_int(obj2);
17707 if (PyErr_Occurred()) SWIG_fail;
17708 {
17709 PyThreadState* __tstate = wxPyBeginAllowThreads();
17710 (arg1)->base_DoSetClientSize(arg2,arg3);
17711
17712 wxPyEndAllowThreads(__tstate);
17713 if (PyErr_Occurred()) SWIG_fail;
17714 }
17715 Py_INCREF(Py_None); resultobj = Py_None;
17716 return resultobj;
17717 fail:
17718 return NULL;
17719 }
17720
17721
17722 static PyObject *_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
17723 PyObject *resultobj;
17724 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17725 int arg2 ;
17726 int arg3 ;
17727 PyObject * obj0 = 0 ;
17728 PyObject * obj1 = 0 ;
17729 PyObject * obj2 = 0 ;
17730 char *kwnames[] = {
17731 (char *) "self",(char *) "x",(char *) "y", NULL
17732 };
17733
17734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
17735 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17736 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17737 arg2 = (int)SWIG_As_int(obj1);
17738 if (PyErr_Occurred()) SWIG_fail;
17739 arg3 = (int)SWIG_As_int(obj2);
17740 if (PyErr_Occurred()) SWIG_fail;
17741 {
17742 PyThreadState* __tstate = wxPyBeginAllowThreads();
17743 (arg1)->base_DoSetVirtualSize(arg2,arg3);
17744
17745 wxPyEndAllowThreads(__tstate);
17746 if (PyErr_Occurred()) SWIG_fail;
17747 }
17748 Py_INCREF(Py_None); resultobj = Py_None;
17749 return resultobj;
17750 fail:
17751 return NULL;
17752 }
17753
17754
17755 static PyObject *_wrap_PyScrolledWindow_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
17756 PyObject *resultobj;
17757 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17758 int *arg2 = (int *) 0 ;
17759 int *arg3 = (int *) 0 ;
17760 int temp2 ;
17761 int res2 = 0 ;
17762 int temp3 ;
17763 int res3 = 0 ;
17764 PyObject * obj0 = 0 ;
17765 char *kwnames[] = {
17766 (char *) "self", NULL
17767 };
17768
17769 arg2 = &temp2; res2 = SWIG_NEWOBJ;
17770 arg3 = &temp3; res3 = SWIG_NEWOBJ;
17771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
17772 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17773 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17774 {
17775 PyThreadState* __tstate = wxPyBeginAllowThreads();
17776 ((wxPyScrolledWindow const *)arg1)->base_DoGetSize(arg2,arg3);
17777
17778 wxPyEndAllowThreads(__tstate);
17779 if (PyErr_Occurred()) SWIG_fail;
17780 }
17781 Py_INCREF(Py_None); resultobj = Py_None;
17782 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
17783 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
17784 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
17785 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
17786 return resultobj;
17787 fail:
17788 return NULL;
17789 }
17790
17791
17792 static PyObject *_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
17793 PyObject *resultobj;
17794 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17795 int *arg2 = (int *) 0 ;
17796 int *arg3 = (int *) 0 ;
17797 int temp2 ;
17798 int res2 = 0 ;
17799 int temp3 ;
17800 int res3 = 0 ;
17801 PyObject * obj0 = 0 ;
17802 char *kwnames[] = {
17803 (char *) "self", NULL
17804 };
17805
17806 arg2 = &temp2; res2 = SWIG_NEWOBJ;
17807 arg3 = &temp3; res3 = SWIG_NEWOBJ;
17808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
17809 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17810 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17811 {
17812 PyThreadState* __tstate = wxPyBeginAllowThreads();
17813 ((wxPyScrolledWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
17814
17815 wxPyEndAllowThreads(__tstate);
17816 if (PyErr_Occurred()) SWIG_fail;
17817 }
17818 Py_INCREF(Py_None); resultobj = Py_None;
17819 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
17820 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
17821 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
17822 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
17823 return resultobj;
17824 fail:
17825 return NULL;
17826 }
17827
17828
17829 static PyObject *_wrap_PyScrolledWindow_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
17830 PyObject *resultobj;
17831 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17832 int *arg2 = (int *) 0 ;
17833 int *arg3 = (int *) 0 ;
17834 int temp2 ;
17835 int res2 = 0 ;
17836 int temp3 ;
17837 int res3 = 0 ;
17838 PyObject * obj0 = 0 ;
17839 char *kwnames[] = {
17840 (char *) "self", NULL
17841 };
17842
17843 arg2 = &temp2; res2 = SWIG_NEWOBJ;
17844 arg3 = &temp3; res3 = SWIG_NEWOBJ;
17845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
17846 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17847 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17848 {
17849 PyThreadState* __tstate = wxPyBeginAllowThreads();
17850 ((wxPyScrolledWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
17851
17852 wxPyEndAllowThreads(__tstate);
17853 if (PyErr_Occurred()) SWIG_fail;
17854 }
17855 Py_INCREF(Py_None); resultobj = Py_None;
17856 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
17857 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
17858 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
17859 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
17860 return resultobj;
17861 fail:
17862 return NULL;
17863 }
17864
17865
17866 static PyObject *_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
17867 PyObject *resultobj;
17868 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17869 wxSize result;
17870 PyObject * obj0 = 0 ;
17871 char *kwnames[] = {
17872 (char *) "self", NULL
17873 };
17874
17875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
17876 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17877 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17878 {
17879 PyThreadState* __tstate = wxPyBeginAllowThreads();
17880 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetVirtualSize();
17881
17882 wxPyEndAllowThreads(__tstate);
17883 if (PyErr_Occurred()) SWIG_fail;
17884 }
17885 {
17886 wxSize * resultptr;
17887 resultptr = new wxSize((wxSize &) result);
17888 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17889 }
17890 return resultobj;
17891 fail:
17892 return NULL;
17893 }
17894
17895
17896 static PyObject *_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
17897 PyObject *resultobj;
17898 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17899 wxSize result;
17900 PyObject * obj0 = 0 ;
17901 char *kwnames[] = {
17902 (char *) "self", NULL
17903 };
17904
17905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
17906 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17907 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17908 {
17909 PyThreadState* __tstate = wxPyBeginAllowThreads();
17910 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetBestSize();
17911
17912 wxPyEndAllowThreads(__tstate);
17913 if (PyErr_Occurred()) SWIG_fail;
17914 }
17915 {
17916 wxSize * resultptr;
17917 resultptr = new wxSize((wxSize &) result);
17918 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17919 }
17920 return resultobj;
17921 fail:
17922 return NULL;
17923 }
17924
17925
17926 static PyObject *_wrap_PyScrolledWindow_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
17927 PyObject *resultobj;
17928 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17929 PyObject * obj0 = 0 ;
17930 char *kwnames[] = {
17931 (char *) "self", NULL
17932 };
17933
17934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames,&obj0)) goto fail;
17935 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17936 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17937 {
17938 PyThreadState* __tstate = wxPyBeginAllowThreads();
17939 (arg1)->base_InitDialog();
17940
17941 wxPyEndAllowThreads(__tstate);
17942 if (PyErr_Occurred()) SWIG_fail;
17943 }
17944 Py_INCREF(Py_None); resultobj = Py_None;
17945 return resultobj;
17946 fail:
17947 return NULL;
17948 }
17949
17950
17951 static PyObject *_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17952 PyObject *resultobj;
17953 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17954 bool result;
17955 PyObject * obj0 = 0 ;
17956 char *kwnames[] = {
17957 (char *) "self", NULL
17958 };
17959
17960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
17961 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17962 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17963 {
17964 PyThreadState* __tstate = wxPyBeginAllowThreads();
17965 result = (bool)(arg1)->base_TransferDataToWindow();
17966
17967 wxPyEndAllowThreads(__tstate);
17968 if (PyErr_Occurred()) SWIG_fail;
17969 }
17970 {
17971 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17972 }
17973 return resultobj;
17974 fail:
17975 return NULL;
17976 }
17977
17978
17979 static PyObject *_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17980 PyObject *resultobj;
17981 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17982 bool result;
17983 PyObject * obj0 = 0 ;
17984 char *kwnames[] = {
17985 (char *) "self", NULL
17986 };
17987
17988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
17989 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17990 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17991 {
17992 PyThreadState* __tstate = wxPyBeginAllowThreads();
17993 result = (bool)(arg1)->base_TransferDataFromWindow();
17994
17995 wxPyEndAllowThreads(__tstate);
17996 if (PyErr_Occurred()) SWIG_fail;
17997 }
17998 {
17999 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18000 }
18001 return resultobj;
18002 fail:
18003 return NULL;
18004 }
18005
18006
18007 static PyObject *_wrap_PyScrolledWindow_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
18008 PyObject *resultobj;
18009 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18010 bool result;
18011 PyObject * obj0 = 0 ;
18012 char *kwnames[] = {
18013 (char *) "self", NULL
18014 };
18015
18016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_Validate",kwnames,&obj0)) goto fail;
18017 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18018 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18019 {
18020 PyThreadState* __tstate = wxPyBeginAllowThreads();
18021 result = (bool)(arg1)->base_Validate();
18022
18023 wxPyEndAllowThreads(__tstate);
18024 if (PyErr_Occurred()) SWIG_fail;
18025 }
18026 {
18027 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18028 }
18029 return resultobj;
18030 fail:
18031 return NULL;
18032 }
18033
18034
18035 static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
18036 PyObject *resultobj;
18037 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18038 bool result;
18039 PyObject * obj0 = 0 ;
18040 char *kwnames[] = {
18041 (char *) "self", NULL
18042 };
18043
18044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
18045 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18046 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18047 {
18048 PyThreadState* __tstate = wxPyBeginAllowThreads();
18049 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocus();
18050
18051 wxPyEndAllowThreads(__tstate);
18052 if (PyErr_Occurred()) SWIG_fail;
18053 }
18054 {
18055 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18056 }
18057 return resultobj;
18058 fail:
18059 return NULL;
18060 }
18061
18062
18063 static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
18064 PyObject *resultobj;
18065 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18066 bool result;
18067 PyObject * obj0 = 0 ;
18068 char *kwnames[] = {
18069 (char *) "self", NULL
18070 };
18071
18072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
18073 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18074 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18075 {
18076 PyThreadState* __tstate = wxPyBeginAllowThreads();
18077 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
18078
18079 wxPyEndAllowThreads(__tstate);
18080 if (PyErr_Occurred()) SWIG_fail;
18081 }
18082 {
18083 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18084 }
18085 return resultobj;
18086 fail:
18087 return NULL;
18088 }
18089
18090
18091 static PyObject *_wrap_PyScrolledWindow_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
18092 PyObject *resultobj;
18093 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18094 wxSize result;
18095 PyObject * obj0 = 0 ;
18096 char *kwnames[] = {
18097 (char *) "self", NULL
18098 };
18099
18100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
18101 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18102 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18103 {
18104 PyThreadState* __tstate = wxPyBeginAllowThreads();
18105 result = ((wxPyScrolledWindow const *)arg1)->base_GetMaxSize();
18106
18107 wxPyEndAllowThreads(__tstate);
18108 if (PyErr_Occurred()) SWIG_fail;
18109 }
18110 {
18111 wxSize * resultptr;
18112 resultptr = new wxSize((wxSize &) result);
18113 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18114 }
18115 return resultobj;
18116 fail:
18117 return NULL;
18118 }
18119
18120
18121 static PyObject *_wrap_PyScrolledWindow_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
18122 PyObject *resultobj;
18123 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18124 wxWindow *arg2 = (wxWindow *) 0 ;
18125 PyObject * obj0 = 0 ;
18126 PyObject * obj1 = 0 ;
18127 char *kwnames[] = {
18128 (char *) "self",(char *) "child", NULL
18129 };
18130
18131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
18132 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18133 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18134 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
18135 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18136 {
18137 PyThreadState* __tstate = wxPyBeginAllowThreads();
18138 (arg1)->base_AddChild(arg2);
18139
18140 wxPyEndAllowThreads(__tstate);
18141 if (PyErr_Occurred()) SWIG_fail;
18142 }
18143 Py_INCREF(Py_None); resultobj = Py_None;
18144 return resultobj;
18145 fail:
18146 return NULL;
18147 }
18148
18149
18150 static PyObject *_wrap_PyScrolledWindow_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
18151 PyObject *resultobj;
18152 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18153 wxWindow *arg2 = (wxWindow *) 0 ;
18154 PyObject * obj0 = 0 ;
18155 PyObject * obj1 = 0 ;
18156 char *kwnames[] = {
18157 (char *) "self",(char *) "child", NULL
18158 };
18159
18160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
18161 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18162 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18163 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
18164 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18165 {
18166 PyThreadState* __tstate = wxPyBeginAllowThreads();
18167 (arg1)->base_RemoveChild(arg2);
18168
18169 wxPyEndAllowThreads(__tstate);
18170 if (PyErr_Occurred()) SWIG_fail;
18171 }
18172 Py_INCREF(Py_None); resultobj = Py_None;
18173 return resultobj;
18174 fail:
18175 return NULL;
18176 }
18177
18178
18179 static PyObject *_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
18180 PyObject *resultobj;
18181 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18182 bool result;
18183 PyObject * obj0 = 0 ;
18184 char *kwnames[] = {
18185 (char *) "self", NULL
18186 };
18187
18188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
18189 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18190 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18191 {
18192 PyThreadState* __tstate = wxPyBeginAllowThreads();
18193 result = (bool)((wxPyScrolledWindow const *)arg1)->base_ShouldInheritColours();
18194
18195 wxPyEndAllowThreads(__tstate);
18196 if (PyErr_Occurred()) SWIG_fail;
18197 }
18198 {
18199 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18200 }
18201 return resultobj;
18202 fail:
18203 return NULL;
18204 }
18205
18206
18207 static PyObject *_wrap_PyScrolledWindow_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) {
18208 PyObject *resultobj;
18209 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18210 wxColour *arg2 = 0 ;
18211 wxColour temp2 ;
18212 PyObject * obj0 = 0 ;
18213 PyObject * obj1 = 0 ;
18214 char *kwnames[] = {
18215 (char *) "self",(char *) "c", NULL
18216 };
18217
18218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
18219 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18220 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18221 {
18222 arg2 = &temp2;
18223 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18224 }
18225 {
18226 PyThreadState* __tstate = wxPyBeginAllowThreads();
18227 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
18228
18229 wxPyEndAllowThreads(__tstate);
18230 if (PyErr_Occurred()) SWIG_fail;
18231 }
18232 Py_INCREF(Py_None); resultobj = Py_None;
18233 return resultobj;
18234 fail:
18235 return NULL;
18236 }
18237
18238
18239 static PyObject *_wrap_PyScrolledWindow_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
18240 PyObject *resultobj;
18241 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18242 wxVisualAttributes result;
18243 PyObject * obj0 = 0 ;
18244 char *kwnames[] = {
18245 (char *) "self", NULL
18246 };
18247
18248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
18249 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18250 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18251 {
18252 PyThreadState* __tstate = wxPyBeginAllowThreads();
18253 result = (arg1)->base_GetDefaultAttributes();
18254
18255 wxPyEndAllowThreads(__tstate);
18256 if (PyErr_Occurred()) SWIG_fail;
18257 }
18258 {
18259 wxVisualAttributes * resultptr;
18260 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
18261 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
18262 }
18263 return resultobj;
18264 fail:
18265 return NULL;
18266 }
18267
18268
18269 static PyObject * PyScrolledWindow_swigregister(PyObject *, PyObject *args) {
18270 PyObject *obj;
18271 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18272 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow, obj);
18273 Py_INCREF(obj);
18274 return Py_BuildValue((char *)"");
18275 }
18276 static int _wrap_PrintoutTitleStr_set(PyObject *) {
18277 PyErr_SetString(PyExc_TypeError,"Variable PrintoutTitleStr is read-only.");
18278 return 1;
18279 }
18280
18281
18282 static PyObject *_wrap_PrintoutTitleStr_get() {
18283 PyObject *pyobj;
18284
18285 {
18286 #if wxUSE_UNICODE
18287 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
18288 #else
18289 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
18290 #endif
18291 }
18292 return pyobj;
18293 }
18294
18295
18296 static int _wrap_PreviewCanvasNameStr_set(PyObject *) {
18297 PyErr_SetString(PyExc_TypeError,"Variable PreviewCanvasNameStr is read-only.");
18298 return 1;
18299 }
18300
18301
18302 static PyObject *_wrap_PreviewCanvasNameStr_get() {
18303 PyObject *pyobj;
18304
18305 {
18306 #if wxUSE_UNICODE
18307 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
18308 #else
18309 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
18310 #endif
18311 }
18312 return pyobj;
18313 }
18314
18315
18316 static PyObject *_wrap_new_PrintData__SWIG_0(PyObject *, PyObject *args) {
18317 PyObject *resultobj;
18318 wxPrintData *result;
18319
18320 if(!PyArg_ParseTuple(args,(char *)":new_PrintData")) goto fail;
18321 {
18322 PyThreadState* __tstate = wxPyBeginAllowThreads();
18323 result = (wxPrintData *)new wxPrintData();
18324
18325 wxPyEndAllowThreads(__tstate);
18326 if (PyErr_Occurred()) SWIG_fail;
18327 }
18328 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
18329 return resultobj;
18330 fail:
18331 return NULL;
18332 }
18333
18334
18335 static PyObject *_wrap_new_PrintData__SWIG_1(PyObject *, PyObject *args) {
18336 PyObject *resultobj;
18337 wxPrintData *arg1 = 0 ;
18338 wxPrintData *result;
18339 PyObject * obj0 = 0 ;
18340
18341 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintData",&obj0)) goto fail;
18342 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18343 SWIG_POINTER_EXCEPTION | 0)) == -1)
18344 SWIG_fail;
18345 if (arg1 == NULL) {
18346 PyErr_SetString(PyExc_TypeError,"null reference");
18347 SWIG_fail;
18348 }
18349 {
18350 PyThreadState* __tstate = wxPyBeginAllowThreads();
18351 result = (wxPrintData *)new wxPrintData((wxPrintData const &)*arg1);
18352
18353 wxPyEndAllowThreads(__tstate);
18354 if (PyErr_Occurred()) SWIG_fail;
18355 }
18356 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
18357 return resultobj;
18358 fail:
18359 return NULL;
18360 }
18361
18362
18363 static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args) {
18364 int argc;
18365 PyObject *argv[2];
18366 int ii;
18367
18368 argc = PyObject_Length(args);
18369 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
18370 argv[ii] = PyTuple_GetItem(args,ii);
18371 }
18372 if (argc == 0) {
18373 return _wrap_new_PrintData__SWIG_0(self,args);
18374 }
18375 if (argc == 1) {
18376 int _v;
18377 {
18378 void *ptr;
18379 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
18380 _v = 0;
18381 PyErr_Clear();
18382 } else {
18383 _v = 1;
18384 }
18385 }
18386 if (_v) {
18387 return _wrap_new_PrintData__SWIG_1(self,args);
18388 }
18389 }
18390
18391 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintData'");
18392 return NULL;
18393 }
18394
18395
18396 static PyObject *_wrap_delete_PrintData(PyObject *, PyObject *args, PyObject *kwargs) {
18397 PyObject *resultobj;
18398 wxPrintData *arg1 = (wxPrintData *) 0 ;
18399 PyObject * obj0 = 0 ;
18400 char *kwnames[] = {
18401 (char *) "self", NULL
18402 };
18403
18404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail;
18405 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18406 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18407 {
18408 PyThreadState* __tstate = wxPyBeginAllowThreads();
18409 delete arg1;
18410
18411 wxPyEndAllowThreads(__tstate);
18412 if (PyErr_Occurred()) SWIG_fail;
18413 }
18414 Py_INCREF(Py_None); resultobj = Py_None;
18415 return resultobj;
18416 fail:
18417 return NULL;
18418 }
18419
18420
18421 static PyObject *_wrap_PrintData_GetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
18422 PyObject *resultobj;
18423 wxPrintData *arg1 = (wxPrintData *) 0 ;
18424 int result;
18425 PyObject * obj0 = 0 ;
18426 char *kwnames[] = {
18427 (char *) "self", NULL
18428 };
18429
18430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail;
18431 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18432 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18433 {
18434 PyThreadState* __tstate = wxPyBeginAllowThreads();
18435 result = (int)(arg1)->GetNoCopies();
18436
18437 wxPyEndAllowThreads(__tstate);
18438 if (PyErr_Occurred()) SWIG_fail;
18439 }
18440 resultobj = SWIG_From_int((int)result);
18441 return resultobj;
18442 fail:
18443 return NULL;
18444 }
18445
18446
18447 static PyObject *_wrap_PrintData_GetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
18448 PyObject *resultobj;
18449 wxPrintData *arg1 = (wxPrintData *) 0 ;
18450 bool result;
18451 PyObject * obj0 = 0 ;
18452 char *kwnames[] = {
18453 (char *) "self", NULL
18454 };
18455
18456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail;
18457 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18458 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18459 {
18460 PyThreadState* __tstate = wxPyBeginAllowThreads();
18461 result = (bool)(arg1)->GetCollate();
18462
18463 wxPyEndAllowThreads(__tstate);
18464 if (PyErr_Occurred()) SWIG_fail;
18465 }
18466 {
18467 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18468 }
18469 return resultobj;
18470 fail:
18471 return NULL;
18472 }
18473
18474
18475 static PyObject *_wrap_PrintData_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
18476 PyObject *resultobj;
18477 wxPrintData *arg1 = (wxPrintData *) 0 ;
18478 int result;
18479 PyObject * obj0 = 0 ;
18480 char *kwnames[] = {
18481 (char *) "self", NULL
18482 };
18483
18484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",kwnames,&obj0)) goto fail;
18485 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18486 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18487 {
18488 PyThreadState* __tstate = wxPyBeginAllowThreads();
18489 result = (int)(arg1)->GetOrientation();
18490
18491 wxPyEndAllowThreads(__tstate);
18492 if (PyErr_Occurred()) SWIG_fail;
18493 }
18494 resultobj = SWIG_From_int((int)result);
18495 return resultobj;
18496 fail:
18497 return NULL;
18498 }
18499
18500
18501 static PyObject *_wrap_PrintData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
18502 PyObject *resultobj;
18503 wxPrintData *arg1 = (wxPrintData *) 0 ;
18504 bool result;
18505 PyObject * obj0 = 0 ;
18506 char *kwnames[] = {
18507 (char *) "self", NULL
18508 };
18509
18510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail;
18511 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18512 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18513 {
18514 PyThreadState* __tstate = wxPyBeginAllowThreads();
18515 result = (bool)(arg1)->Ok();
18516
18517 wxPyEndAllowThreads(__tstate);
18518 if (PyErr_Occurred()) SWIG_fail;
18519 }
18520 {
18521 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18522 }
18523 return resultobj;
18524 fail:
18525 return NULL;
18526 }
18527
18528
18529 static PyObject *_wrap_PrintData_GetPrinterName(PyObject *, PyObject *args, PyObject *kwargs) {
18530 PyObject *resultobj;
18531 wxPrintData *arg1 = (wxPrintData *) 0 ;
18532 wxString *result;
18533 PyObject * obj0 = 0 ;
18534 char *kwnames[] = {
18535 (char *) "self", NULL
18536 };
18537
18538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",kwnames,&obj0)) goto fail;
18539 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18540 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18541 {
18542 PyThreadState* __tstate = wxPyBeginAllowThreads();
18543 {
18544 wxString const &_result_ref = (arg1)->GetPrinterName();
18545 result = (wxString *) &_result_ref;
18546 }
18547
18548 wxPyEndAllowThreads(__tstate);
18549 if (PyErr_Occurred()) SWIG_fail;
18550 }
18551 {
18552 #if wxUSE_UNICODE
18553 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18554 #else
18555 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18556 #endif
18557 }
18558 return resultobj;
18559 fail:
18560 return NULL;
18561 }
18562
18563
18564 static PyObject *_wrap_PrintData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
18565 PyObject *resultobj;
18566 wxPrintData *arg1 = (wxPrintData *) 0 ;
18567 bool result;
18568 PyObject * obj0 = 0 ;
18569 char *kwnames[] = {
18570 (char *) "self", NULL
18571 };
18572
18573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail;
18574 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18575 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18576 {
18577 PyThreadState* __tstate = wxPyBeginAllowThreads();
18578 result = (bool)(arg1)->GetColour();
18579
18580 wxPyEndAllowThreads(__tstate);
18581 if (PyErr_Occurred()) SWIG_fail;
18582 }
18583 {
18584 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18585 }
18586 return resultobj;
18587 fail:
18588 return NULL;
18589 }
18590
18591
18592 static PyObject *_wrap_PrintData_GetDuplex(PyObject *, PyObject *args, PyObject *kwargs) {
18593 PyObject *resultobj;
18594 wxPrintData *arg1 = (wxPrintData *) 0 ;
18595 int result;
18596 PyObject * obj0 = 0 ;
18597 char *kwnames[] = {
18598 (char *) "self", NULL
18599 };
18600
18601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail;
18602 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18603 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18604 {
18605 PyThreadState* __tstate = wxPyBeginAllowThreads();
18606 result = (int)(arg1)->GetDuplex();
18607
18608 wxPyEndAllowThreads(__tstate);
18609 if (PyErr_Occurred()) SWIG_fail;
18610 }
18611 resultobj = SWIG_From_int((int)result);
18612 return resultobj;
18613 fail:
18614 return NULL;
18615 }
18616
18617
18618 static PyObject *_wrap_PrintData_GetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
18619 PyObject *resultobj;
18620 wxPrintData *arg1 = (wxPrintData *) 0 ;
18621 int result;
18622 PyObject * obj0 = 0 ;
18623 char *kwnames[] = {
18624 (char *) "self", NULL
18625 };
18626
18627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail;
18628 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18629 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18630 {
18631 PyThreadState* __tstate = wxPyBeginAllowThreads();
18632 result = (int)(arg1)->GetPaperId();
18633
18634 wxPyEndAllowThreads(__tstate);
18635 if (PyErr_Occurred()) SWIG_fail;
18636 }
18637 resultobj = SWIG_From_int((int)result);
18638 return resultobj;
18639 fail:
18640 return NULL;
18641 }
18642
18643
18644 static PyObject *_wrap_PrintData_GetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
18645 PyObject *resultobj;
18646 wxPrintData *arg1 = (wxPrintData *) 0 ;
18647 wxSize *result;
18648 PyObject * obj0 = 0 ;
18649 char *kwnames[] = {
18650 (char *) "self", NULL
18651 };
18652
18653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail;
18654 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18655 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18656 {
18657 PyThreadState* __tstate = wxPyBeginAllowThreads();
18658 {
18659 wxSize const &_result_ref = (arg1)->GetPaperSize();
18660 result = (wxSize *) &_result_ref;
18661 }
18662
18663 wxPyEndAllowThreads(__tstate);
18664 if (PyErr_Occurred()) SWIG_fail;
18665 }
18666 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0);
18667 return resultobj;
18668 fail:
18669 return NULL;
18670 }
18671
18672
18673 static PyObject *_wrap_PrintData_GetQuality(PyObject *, PyObject *args, PyObject *kwargs) {
18674 PyObject *resultobj;
18675 wxPrintData *arg1 = (wxPrintData *) 0 ;
18676 int result;
18677 PyObject * obj0 = 0 ;
18678 char *kwnames[] = {
18679 (char *) "self", NULL
18680 };
18681
18682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail;
18683 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18684 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18685 {
18686 PyThreadState* __tstate = wxPyBeginAllowThreads();
18687 result = (int)(arg1)->GetQuality();
18688
18689 wxPyEndAllowThreads(__tstate);
18690 if (PyErr_Occurred()) SWIG_fail;
18691 }
18692 resultobj = SWIG_From_int((int)result);
18693 return resultobj;
18694 fail:
18695 return NULL;
18696 }
18697
18698
18699 static PyObject *_wrap_PrintData_SetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
18700 PyObject *resultobj;
18701 wxPrintData *arg1 = (wxPrintData *) 0 ;
18702 int arg2 ;
18703 PyObject * obj0 = 0 ;
18704 PyObject * obj1 = 0 ;
18705 char *kwnames[] = {
18706 (char *) "self",(char *) "v", NULL
18707 };
18708
18709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
18710 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18711 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18712 arg2 = (int)SWIG_As_int(obj1);
18713 if (PyErr_Occurred()) SWIG_fail;
18714 {
18715 PyThreadState* __tstate = wxPyBeginAllowThreads();
18716 (arg1)->SetNoCopies(arg2);
18717
18718 wxPyEndAllowThreads(__tstate);
18719 if (PyErr_Occurred()) SWIG_fail;
18720 }
18721 Py_INCREF(Py_None); resultobj = Py_None;
18722 return resultobj;
18723 fail:
18724 return NULL;
18725 }
18726
18727
18728 static PyObject *_wrap_PrintData_SetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
18729 PyObject *resultobj;
18730 wxPrintData *arg1 = (wxPrintData *) 0 ;
18731 bool arg2 ;
18732 PyObject * obj0 = 0 ;
18733 PyObject * obj1 = 0 ;
18734 char *kwnames[] = {
18735 (char *) "self",(char *) "flag", NULL
18736 };
18737
18738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
18739 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18740 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18741 arg2 = (bool)SWIG_As_bool(obj1);
18742 if (PyErr_Occurred()) SWIG_fail;
18743 {
18744 PyThreadState* __tstate = wxPyBeginAllowThreads();
18745 (arg1)->SetCollate(arg2);
18746
18747 wxPyEndAllowThreads(__tstate);
18748 if (PyErr_Occurred()) SWIG_fail;
18749 }
18750 Py_INCREF(Py_None); resultobj = Py_None;
18751 return resultobj;
18752 fail:
18753 return NULL;
18754 }
18755
18756
18757 static PyObject *_wrap_PrintData_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
18758 PyObject *resultobj;
18759 wxPrintData *arg1 = (wxPrintData *) 0 ;
18760 int arg2 ;
18761 PyObject * obj0 = 0 ;
18762 PyObject * obj1 = 0 ;
18763 char *kwnames[] = {
18764 (char *) "self",(char *) "orient", NULL
18765 };
18766
18767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
18768 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18769 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18770 arg2 = (int)SWIG_As_int(obj1);
18771 if (PyErr_Occurred()) SWIG_fail;
18772 {
18773 PyThreadState* __tstate = wxPyBeginAllowThreads();
18774 (arg1)->SetOrientation(arg2);
18775
18776 wxPyEndAllowThreads(__tstate);
18777 if (PyErr_Occurred()) SWIG_fail;
18778 }
18779 Py_INCREF(Py_None); resultobj = Py_None;
18780 return resultobj;
18781 fail:
18782 return NULL;
18783 }
18784
18785
18786 static PyObject *_wrap_PrintData_SetPrinterName(PyObject *, PyObject *args, PyObject *kwargs) {
18787 PyObject *resultobj;
18788 wxPrintData *arg1 = (wxPrintData *) 0 ;
18789 wxString *arg2 = 0 ;
18790 bool temp2 = False ;
18791 PyObject * obj0 = 0 ;
18792 PyObject * obj1 = 0 ;
18793 char *kwnames[] = {
18794 (char *) "self",(char *) "name", NULL
18795 };
18796
18797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail;
18798 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18799 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18800 {
18801 arg2 = wxString_in_helper(obj1);
18802 if (arg2 == NULL) SWIG_fail;
18803 temp2 = True;
18804 }
18805 {
18806 PyThreadState* __tstate = wxPyBeginAllowThreads();
18807 (arg1)->SetPrinterName((wxString const &)*arg2);
18808
18809 wxPyEndAllowThreads(__tstate);
18810 if (PyErr_Occurred()) SWIG_fail;
18811 }
18812 Py_INCREF(Py_None); resultobj = Py_None;
18813 {
18814 if (temp2)
18815 delete arg2;
18816 }
18817 return resultobj;
18818 fail:
18819 {
18820 if (temp2)
18821 delete arg2;
18822 }
18823 return NULL;
18824 }
18825
18826
18827 static PyObject *_wrap_PrintData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
18828 PyObject *resultobj;
18829 wxPrintData *arg1 = (wxPrintData *) 0 ;
18830 bool arg2 ;
18831 PyObject * obj0 = 0 ;
18832 PyObject * obj1 = 0 ;
18833 char *kwnames[] = {
18834 (char *) "self",(char *) "colour", NULL
18835 };
18836
18837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail;
18838 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18839 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18840 arg2 = (bool)SWIG_As_bool(obj1);
18841 if (PyErr_Occurred()) SWIG_fail;
18842 {
18843 PyThreadState* __tstate = wxPyBeginAllowThreads();
18844 (arg1)->SetColour(arg2);
18845
18846 wxPyEndAllowThreads(__tstate);
18847 if (PyErr_Occurred()) SWIG_fail;
18848 }
18849 Py_INCREF(Py_None); resultobj = Py_None;
18850 return resultobj;
18851 fail:
18852 return NULL;
18853 }
18854
18855
18856 static PyObject *_wrap_PrintData_SetDuplex(PyObject *, PyObject *args, PyObject *kwargs) {
18857 PyObject *resultobj;
18858 wxPrintData *arg1 = (wxPrintData *) 0 ;
18859 int arg2 ;
18860 PyObject * obj0 = 0 ;
18861 PyObject * obj1 = 0 ;
18862 char *kwnames[] = {
18863 (char *) "self",(char *) "duplex", NULL
18864 };
18865
18866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) goto fail;
18867 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18868 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18869 arg2 = (int)SWIG_As_int(obj1);
18870 if (PyErr_Occurred()) SWIG_fail;
18871 {
18872 PyThreadState* __tstate = wxPyBeginAllowThreads();
18873 (arg1)->SetDuplex((wxDuplexMode )arg2);
18874
18875 wxPyEndAllowThreads(__tstate);
18876 if (PyErr_Occurred()) SWIG_fail;
18877 }
18878 Py_INCREF(Py_None); resultobj = Py_None;
18879 return resultobj;
18880 fail:
18881 return NULL;
18882 }
18883
18884
18885 static PyObject *_wrap_PrintData_SetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
18886 PyObject *resultobj;
18887 wxPrintData *arg1 = (wxPrintData *) 0 ;
18888 int arg2 ;
18889 PyObject * obj0 = 0 ;
18890 PyObject * obj1 = 0 ;
18891 char *kwnames[] = {
18892 (char *) "self",(char *) "sizeId", NULL
18893 };
18894
18895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
18896 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18897 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18898 arg2 = (int)SWIG_As_int(obj1);
18899 if (PyErr_Occurred()) SWIG_fail;
18900 {
18901 PyThreadState* __tstate = wxPyBeginAllowThreads();
18902 (arg1)->SetPaperId((wxPaperSize )arg2);
18903
18904 wxPyEndAllowThreads(__tstate);
18905 if (PyErr_Occurred()) SWIG_fail;
18906 }
18907 Py_INCREF(Py_None); resultobj = Py_None;
18908 return resultobj;
18909 fail:
18910 return NULL;
18911 }
18912
18913
18914 static PyObject *_wrap_PrintData_SetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
18915 PyObject *resultobj;
18916 wxPrintData *arg1 = (wxPrintData *) 0 ;
18917 wxSize *arg2 = 0 ;
18918 wxSize temp2 ;
18919 PyObject * obj0 = 0 ;
18920 PyObject * obj1 = 0 ;
18921 char *kwnames[] = {
18922 (char *) "self",(char *) "sz", NULL
18923 };
18924
18925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
18926 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18927 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18928 {
18929 arg2 = &temp2;
18930 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
18931 }
18932 {
18933 PyThreadState* __tstate = wxPyBeginAllowThreads();
18934 (arg1)->SetPaperSize((wxSize const &)*arg2);
18935
18936 wxPyEndAllowThreads(__tstate);
18937 if (PyErr_Occurred()) SWIG_fail;
18938 }
18939 Py_INCREF(Py_None); resultobj = Py_None;
18940 return resultobj;
18941 fail:
18942 return NULL;
18943 }
18944
18945
18946 static PyObject *_wrap_PrintData_SetQuality(PyObject *, PyObject *args, PyObject *kwargs) {
18947 PyObject *resultobj;
18948 wxPrintData *arg1 = (wxPrintData *) 0 ;
18949 int arg2 ;
18950 PyObject * obj0 = 0 ;
18951 PyObject * obj1 = 0 ;
18952 char *kwnames[] = {
18953 (char *) "self",(char *) "quality", NULL
18954 };
18955
18956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) goto fail;
18957 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18958 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18959 arg2 = (int)SWIG_As_int(obj1);
18960 if (PyErr_Occurred()) SWIG_fail;
18961 {
18962 PyThreadState* __tstate = wxPyBeginAllowThreads();
18963 (arg1)->SetQuality(arg2);
18964
18965 wxPyEndAllowThreads(__tstate);
18966 if (PyErr_Occurred()) SWIG_fail;
18967 }
18968 Py_INCREF(Py_None); resultobj = Py_None;
18969 return resultobj;
18970 fail:
18971 return NULL;
18972 }
18973
18974
18975 static PyObject *_wrap_PrintData_GetPrinterCommand(PyObject *, PyObject *args, PyObject *kwargs) {
18976 PyObject *resultobj;
18977 wxPrintData *arg1 = (wxPrintData *) 0 ;
18978 wxString *result;
18979 PyObject * obj0 = 0 ;
18980 char *kwnames[] = {
18981 (char *) "self", NULL
18982 };
18983
18984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterCommand",kwnames,&obj0)) goto fail;
18985 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18986 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18987 {
18988 PyThreadState* __tstate = wxPyBeginAllowThreads();
18989 {
18990 wxString const &_result_ref = (arg1)->GetPrinterCommand();
18991 result = (wxString *) &_result_ref;
18992 }
18993
18994 wxPyEndAllowThreads(__tstate);
18995 if (PyErr_Occurred()) SWIG_fail;
18996 }
18997 {
18998 #if wxUSE_UNICODE
18999 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19000 #else
19001 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19002 #endif
19003 }
19004 return resultobj;
19005 fail:
19006 return NULL;
19007 }
19008
19009
19010 static PyObject *_wrap_PrintData_GetPrinterOptions(PyObject *, PyObject *args, PyObject *kwargs) {
19011 PyObject *resultobj;
19012 wxPrintData *arg1 = (wxPrintData *) 0 ;
19013 wxString *result;
19014 PyObject * obj0 = 0 ;
19015 char *kwnames[] = {
19016 (char *) "self", NULL
19017 };
19018
19019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterOptions",kwnames,&obj0)) goto fail;
19020 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19021 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19022 {
19023 PyThreadState* __tstate = wxPyBeginAllowThreads();
19024 {
19025 wxString const &_result_ref = (arg1)->GetPrinterOptions();
19026 result = (wxString *) &_result_ref;
19027 }
19028
19029 wxPyEndAllowThreads(__tstate);
19030 if (PyErr_Occurred()) SWIG_fail;
19031 }
19032 {
19033 #if wxUSE_UNICODE
19034 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19035 #else
19036 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19037 #endif
19038 }
19039 return resultobj;
19040 fail:
19041 return NULL;
19042 }
19043
19044
19045 static PyObject *_wrap_PrintData_GetPreviewCommand(PyObject *, PyObject *args, PyObject *kwargs) {
19046 PyObject *resultobj;
19047 wxPrintData *arg1 = (wxPrintData *) 0 ;
19048 wxString *result;
19049 PyObject * obj0 = 0 ;
19050 char *kwnames[] = {
19051 (char *) "self", NULL
19052 };
19053
19054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPreviewCommand",kwnames,&obj0)) goto fail;
19055 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19056 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19057 {
19058 PyThreadState* __tstate = wxPyBeginAllowThreads();
19059 {
19060 wxString const &_result_ref = (arg1)->GetPreviewCommand();
19061 result = (wxString *) &_result_ref;
19062 }
19063
19064 wxPyEndAllowThreads(__tstate);
19065 if (PyErr_Occurred()) SWIG_fail;
19066 }
19067 {
19068 #if wxUSE_UNICODE
19069 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19070 #else
19071 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19072 #endif
19073 }
19074 return resultobj;
19075 fail:
19076 return NULL;
19077 }
19078
19079
19080 static PyObject *_wrap_PrintData_GetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
19081 PyObject *resultobj;
19082 wxPrintData *arg1 = (wxPrintData *) 0 ;
19083 wxString *result;
19084 PyObject * obj0 = 0 ;
19085 char *kwnames[] = {
19086 (char *) "self", NULL
19087 };
19088
19089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail;
19090 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19091 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19092 {
19093 PyThreadState* __tstate = wxPyBeginAllowThreads();
19094 {
19095 wxString const &_result_ref = (arg1)->GetFilename();
19096 result = (wxString *) &_result_ref;
19097 }
19098
19099 wxPyEndAllowThreads(__tstate);
19100 if (PyErr_Occurred()) SWIG_fail;
19101 }
19102 {
19103 #if wxUSE_UNICODE
19104 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19105 #else
19106 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19107 #endif
19108 }
19109 return resultobj;
19110 fail:
19111 return NULL;
19112 }
19113
19114
19115 static PyObject *_wrap_PrintData_GetFontMetricPath(PyObject *, PyObject *args, PyObject *kwargs) {
19116 PyObject *resultobj;
19117 wxPrintData *arg1 = (wxPrintData *) 0 ;
19118 wxString *result;
19119 PyObject * obj0 = 0 ;
19120 char *kwnames[] = {
19121 (char *) "self", NULL
19122 };
19123
19124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFontMetricPath",kwnames,&obj0)) goto fail;
19125 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19126 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19127 {
19128 PyThreadState* __tstate = wxPyBeginAllowThreads();
19129 {
19130 wxString const &_result_ref = (arg1)->GetFontMetricPath();
19131 result = (wxString *) &_result_ref;
19132 }
19133
19134 wxPyEndAllowThreads(__tstate);
19135 if (PyErr_Occurred()) SWIG_fail;
19136 }
19137 {
19138 #if wxUSE_UNICODE
19139 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19140 #else
19141 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19142 #endif
19143 }
19144 return resultobj;
19145 fail:
19146 return NULL;
19147 }
19148
19149
19150 static PyObject *_wrap_PrintData_GetPrinterScaleX(PyObject *, PyObject *args, PyObject *kwargs) {
19151 PyObject *resultobj;
19152 wxPrintData *arg1 = (wxPrintData *) 0 ;
19153 double result;
19154 PyObject * obj0 = 0 ;
19155 char *kwnames[] = {
19156 (char *) "self", NULL
19157 };
19158
19159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleX",kwnames,&obj0)) goto fail;
19160 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19161 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19162 {
19163 PyThreadState* __tstate = wxPyBeginAllowThreads();
19164 result = (double)(arg1)->GetPrinterScaleX();
19165
19166 wxPyEndAllowThreads(__tstate);
19167 if (PyErr_Occurred()) SWIG_fail;
19168 }
19169 resultobj = SWIG_From_double((double)result);
19170 return resultobj;
19171 fail:
19172 return NULL;
19173 }
19174
19175
19176 static PyObject *_wrap_PrintData_GetPrinterScaleY(PyObject *, PyObject *args, PyObject *kwargs) {
19177 PyObject *resultobj;
19178 wxPrintData *arg1 = (wxPrintData *) 0 ;
19179 double result;
19180 PyObject * obj0 = 0 ;
19181 char *kwnames[] = {
19182 (char *) "self", NULL
19183 };
19184
19185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleY",kwnames,&obj0)) goto fail;
19186 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19187 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19188 {
19189 PyThreadState* __tstate = wxPyBeginAllowThreads();
19190 result = (double)(arg1)->GetPrinterScaleY();
19191
19192 wxPyEndAllowThreads(__tstate);
19193 if (PyErr_Occurred()) SWIG_fail;
19194 }
19195 resultobj = SWIG_From_double((double)result);
19196 return resultobj;
19197 fail:
19198 return NULL;
19199 }
19200
19201
19202 static PyObject *_wrap_PrintData_GetPrinterTranslateX(PyObject *, PyObject *args, PyObject *kwargs) {
19203 PyObject *resultobj;
19204 wxPrintData *arg1 = (wxPrintData *) 0 ;
19205 long result;
19206 PyObject * obj0 = 0 ;
19207 char *kwnames[] = {
19208 (char *) "self", NULL
19209 };
19210
19211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateX",kwnames,&obj0)) goto fail;
19212 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19213 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19214 {
19215 PyThreadState* __tstate = wxPyBeginAllowThreads();
19216 result = (long)(arg1)->GetPrinterTranslateX();
19217
19218 wxPyEndAllowThreads(__tstate);
19219 if (PyErr_Occurred()) SWIG_fail;
19220 }
19221 resultobj = SWIG_From_long((long)result);
19222 return resultobj;
19223 fail:
19224 return NULL;
19225 }
19226
19227
19228 static PyObject *_wrap_PrintData_GetPrinterTranslateY(PyObject *, PyObject *args, PyObject *kwargs) {
19229 PyObject *resultobj;
19230 wxPrintData *arg1 = (wxPrintData *) 0 ;
19231 long result;
19232 PyObject * obj0 = 0 ;
19233 char *kwnames[] = {
19234 (char *) "self", NULL
19235 };
19236
19237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateY",kwnames,&obj0)) goto fail;
19238 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19239 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19240 {
19241 PyThreadState* __tstate = wxPyBeginAllowThreads();
19242 result = (long)(arg1)->GetPrinterTranslateY();
19243
19244 wxPyEndAllowThreads(__tstate);
19245 if (PyErr_Occurred()) SWIG_fail;
19246 }
19247 resultobj = SWIG_From_long((long)result);
19248 return resultobj;
19249 fail:
19250 return NULL;
19251 }
19252
19253
19254 static PyObject *_wrap_PrintData_GetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) {
19255 PyObject *resultobj;
19256 wxPrintData *arg1 = (wxPrintData *) 0 ;
19257 int result;
19258 PyObject * obj0 = 0 ;
19259 char *kwnames[] = {
19260 (char *) "self", NULL
19261 };
19262
19263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail;
19264 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19266 {
19267 PyThreadState* __tstate = wxPyBeginAllowThreads();
19268 result = (int)(arg1)->GetPrintMode();
19269
19270 wxPyEndAllowThreads(__tstate);
19271 if (PyErr_Occurred()) SWIG_fail;
19272 }
19273 resultobj = SWIG_From_int((int)result);
19274 return resultobj;
19275 fail:
19276 return NULL;
19277 }
19278
19279
19280 static PyObject *_wrap_PrintData_SetPrinterCommand(PyObject *, PyObject *args, PyObject *kwargs) {
19281 PyObject *resultobj;
19282 wxPrintData *arg1 = (wxPrintData *) 0 ;
19283 wxString *arg2 = 0 ;
19284 bool temp2 = False ;
19285 PyObject * obj0 = 0 ;
19286 PyObject * obj1 = 0 ;
19287 char *kwnames[] = {
19288 (char *) "self",(char *) "command", NULL
19289 };
19290
19291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterCommand",kwnames,&obj0,&obj1)) goto fail;
19292 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19293 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19294 {
19295 arg2 = wxString_in_helper(obj1);
19296 if (arg2 == NULL) SWIG_fail;
19297 temp2 = True;
19298 }
19299 {
19300 PyThreadState* __tstate = wxPyBeginAllowThreads();
19301 (arg1)->SetPrinterCommand((wxString const &)*arg2);
19302
19303 wxPyEndAllowThreads(__tstate);
19304 if (PyErr_Occurred()) SWIG_fail;
19305 }
19306 Py_INCREF(Py_None); resultobj = Py_None;
19307 {
19308 if (temp2)
19309 delete arg2;
19310 }
19311 return resultobj;
19312 fail:
19313 {
19314 if (temp2)
19315 delete arg2;
19316 }
19317 return NULL;
19318 }
19319
19320
19321 static PyObject *_wrap_PrintData_SetPrinterOptions(PyObject *, PyObject *args, PyObject *kwargs) {
19322 PyObject *resultobj;
19323 wxPrintData *arg1 = (wxPrintData *) 0 ;
19324 wxString *arg2 = 0 ;
19325 bool temp2 = False ;
19326 PyObject * obj0 = 0 ;
19327 PyObject * obj1 = 0 ;
19328 char *kwnames[] = {
19329 (char *) "self",(char *) "options", NULL
19330 };
19331
19332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterOptions",kwnames,&obj0,&obj1)) goto fail;
19333 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19334 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19335 {
19336 arg2 = wxString_in_helper(obj1);
19337 if (arg2 == NULL) SWIG_fail;
19338 temp2 = True;
19339 }
19340 {
19341 PyThreadState* __tstate = wxPyBeginAllowThreads();
19342 (arg1)->SetPrinterOptions((wxString const &)*arg2);
19343
19344 wxPyEndAllowThreads(__tstate);
19345 if (PyErr_Occurred()) SWIG_fail;
19346 }
19347 Py_INCREF(Py_None); resultobj = Py_None;
19348 {
19349 if (temp2)
19350 delete arg2;
19351 }
19352 return resultobj;
19353 fail:
19354 {
19355 if (temp2)
19356 delete arg2;
19357 }
19358 return NULL;
19359 }
19360
19361
19362 static PyObject *_wrap_PrintData_SetPreviewCommand(PyObject *, PyObject *args, PyObject *kwargs) {
19363 PyObject *resultobj;
19364 wxPrintData *arg1 = (wxPrintData *) 0 ;
19365 wxString *arg2 = 0 ;
19366 bool temp2 = False ;
19367 PyObject * obj0 = 0 ;
19368 PyObject * obj1 = 0 ;
19369 char *kwnames[] = {
19370 (char *) "self",(char *) "command", NULL
19371 };
19372
19373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPreviewCommand",kwnames,&obj0,&obj1)) goto fail;
19374 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19375 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19376 {
19377 arg2 = wxString_in_helper(obj1);
19378 if (arg2 == NULL) SWIG_fail;
19379 temp2 = True;
19380 }
19381 {
19382 PyThreadState* __tstate = wxPyBeginAllowThreads();
19383 (arg1)->SetPreviewCommand((wxString const &)*arg2);
19384
19385 wxPyEndAllowThreads(__tstate);
19386 if (PyErr_Occurred()) SWIG_fail;
19387 }
19388 Py_INCREF(Py_None); resultobj = Py_None;
19389 {
19390 if (temp2)
19391 delete arg2;
19392 }
19393 return resultobj;
19394 fail:
19395 {
19396 if (temp2)
19397 delete arg2;
19398 }
19399 return NULL;
19400 }
19401
19402
19403 static PyObject *_wrap_PrintData_SetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
19404 PyObject *resultobj;
19405 wxPrintData *arg1 = (wxPrintData *) 0 ;
19406 wxString *arg2 = 0 ;
19407 bool temp2 = False ;
19408 PyObject * obj0 = 0 ;
19409 PyObject * obj1 = 0 ;
19410 char *kwnames[] = {
19411 (char *) "self",(char *) "filename", NULL
19412 };
19413
19414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail;
19415 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19416 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19417 {
19418 arg2 = wxString_in_helper(obj1);
19419 if (arg2 == NULL) SWIG_fail;
19420 temp2 = True;
19421 }
19422 {
19423 PyThreadState* __tstate = wxPyBeginAllowThreads();
19424 (arg1)->SetFilename((wxString const &)*arg2);
19425
19426 wxPyEndAllowThreads(__tstate);
19427 if (PyErr_Occurred()) SWIG_fail;
19428 }
19429 Py_INCREF(Py_None); resultobj = Py_None;
19430 {
19431 if (temp2)
19432 delete arg2;
19433 }
19434 return resultobj;
19435 fail:
19436 {
19437 if (temp2)
19438 delete arg2;
19439 }
19440 return NULL;
19441 }
19442
19443
19444 static PyObject *_wrap_PrintData_SetFontMetricPath(PyObject *, PyObject *args, PyObject *kwargs) {
19445 PyObject *resultobj;
19446 wxPrintData *arg1 = (wxPrintData *) 0 ;
19447 wxString *arg2 = 0 ;
19448 bool temp2 = False ;
19449 PyObject * obj0 = 0 ;
19450 PyObject * obj1 = 0 ;
19451 char *kwnames[] = {
19452 (char *) "self",(char *) "path", NULL
19453 };
19454
19455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFontMetricPath",kwnames,&obj0,&obj1)) goto fail;
19456 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19457 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19458 {
19459 arg2 = wxString_in_helper(obj1);
19460 if (arg2 == NULL) SWIG_fail;
19461 temp2 = True;
19462 }
19463 {
19464 PyThreadState* __tstate = wxPyBeginAllowThreads();
19465 (arg1)->SetFontMetricPath((wxString const &)*arg2);
19466
19467 wxPyEndAllowThreads(__tstate);
19468 if (PyErr_Occurred()) SWIG_fail;
19469 }
19470 Py_INCREF(Py_None); resultobj = Py_None;
19471 {
19472 if (temp2)
19473 delete arg2;
19474 }
19475 return resultobj;
19476 fail:
19477 {
19478 if (temp2)
19479 delete arg2;
19480 }
19481 return NULL;
19482 }
19483
19484
19485 static PyObject *_wrap_PrintData_SetPrinterScaleX(PyObject *, PyObject *args, PyObject *kwargs) {
19486 PyObject *resultobj;
19487 wxPrintData *arg1 = (wxPrintData *) 0 ;
19488 double arg2 ;
19489 PyObject * obj0 = 0 ;
19490 PyObject * obj1 = 0 ;
19491 char *kwnames[] = {
19492 (char *) "self",(char *) "x", NULL
19493 };
19494
19495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleX",kwnames,&obj0,&obj1)) goto fail;
19496 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19497 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19498 arg2 = (double)SWIG_As_double(obj1);
19499 if (PyErr_Occurred()) SWIG_fail;
19500 {
19501 PyThreadState* __tstate = wxPyBeginAllowThreads();
19502 (arg1)->SetPrinterScaleX(arg2);
19503
19504 wxPyEndAllowThreads(__tstate);
19505 if (PyErr_Occurred()) SWIG_fail;
19506 }
19507 Py_INCREF(Py_None); resultobj = Py_None;
19508 return resultobj;
19509 fail:
19510 return NULL;
19511 }
19512
19513
19514 static PyObject *_wrap_PrintData_SetPrinterScaleY(PyObject *, PyObject *args, PyObject *kwargs) {
19515 PyObject *resultobj;
19516 wxPrintData *arg1 = (wxPrintData *) 0 ;
19517 double arg2 ;
19518 PyObject * obj0 = 0 ;
19519 PyObject * obj1 = 0 ;
19520 char *kwnames[] = {
19521 (char *) "self",(char *) "y", NULL
19522 };
19523
19524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleY",kwnames,&obj0,&obj1)) goto fail;
19525 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19526 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19527 arg2 = (double)SWIG_As_double(obj1);
19528 if (PyErr_Occurred()) SWIG_fail;
19529 {
19530 PyThreadState* __tstate = wxPyBeginAllowThreads();
19531 (arg1)->SetPrinterScaleY(arg2);
19532
19533 wxPyEndAllowThreads(__tstate);
19534 if (PyErr_Occurred()) SWIG_fail;
19535 }
19536 Py_INCREF(Py_None); resultobj = Py_None;
19537 return resultobj;
19538 fail:
19539 return NULL;
19540 }
19541
19542
19543 static PyObject *_wrap_PrintData_SetPrinterScaling(PyObject *, PyObject *args, PyObject *kwargs) {
19544 PyObject *resultobj;
19545 wxPrintData *arg1 = (wxPrintData *) 0 ;
19546 double arg2 ;
19547 double arg3 ;
19548 PyObject * obj0 = 0 ;
19549 PyObject * obj1 = 0 ;
19550 PyObject * obj2 = 0 ;
19551 char *kwnames[] = {
19552 (char *) "self",(char *) "x",(char *) "y", NULL
19553 };
19554
19555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterScaling",kwnames,&obj0,&obj1,&obj2)) goto fail;
19556 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19557 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19558 arg2 = (double)SWIG_As_double(obj1);
19559 if (PyErr_Occurred()) SWIG_fail;
19560 arg3 = (double)SWIG_As_double(obj2);
19561 if (PyErr_Occurred()) SWIG_fail;
19562 {
19563 PyThreadState* __tstate = wxPyBeginAllowThreads();
19564 (arg1)->SetPrinterScaling(arg2,arg3);
19565
19566 wxPyEndAllowThreads(__tstate);
19567 if (PyErr_Occurred()) SWIG_fail;
19568 }
19569 Py_INCREF(Py_None); resultobj = Py_None;
19570 return resultobj;
19571 fail:
19572 return NULL;
19573 }
19574
19575
19576 static PyObject *_wrap_PrintData_SetPrinterTranslateX(PyObject *, PyObject *args, PyObject *kwargs) {
19577 PyObject *resultobj;
19578 wxPrintData *arg1 = (wxPrintData *) 0 ;
19579 long arg2 ;
19580 PyObject * obj0 = 0 ;
19581 PyObject * obj1 = 0 ;
19582 char *kwnames[] = {
19583 (char *) "self",(char *) "x", NULL
19584 };
19585
19586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames,&obj0,&obj1)) goto fail;
19587 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19588 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19589 arg2 = (long)SWIG_As_long(obj1);
19590 if (PyErr_Occurred()) SWIG_fail;
19591 {
19592 PyThreadState* __tstate = wxPyBeginAllowThreads();
19593 (arg1)->SetPrinterTranslateX(arg2);
19594
19595 wxPyEndAllowThreads(__tstate);
19596 if (PyErr_Occurred()) SWIG_fail;
19597 }
19598 Py_INCREF(Py_None); resultobj = Py_None;
19599 return resultobj;
19600 fail:
19601 return NULL;
19602 }
19603
19604
19605 static PyObject *_wrap_PrintData_SetPrinterTranslateY(PyObject *, PyObject *args, PyObject *kwargs) {
19606 PyObject *resultobj;
19607 wxPrintData *arg1 = (wxPrintData *) 0 ;
19608 long arg2 ;
19609 PyObject * obj0 = 0 ;
19610 PyObject * obj1 = 0 ;
19611 char *kwnames[] = {
19612 (char *) "self",(char *) "y", NULL
19613 };
19614
19615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames,&obj0,&obj1)) goto fail;
19616 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19617 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19618 arg2 = (long)SWIG_As_long(obj1);
19619 if (PyErr_Occurred()) SWIG_fail;
19620 {
19621 PyThreadState* __tstate = wxPyBeginAllowThreads();
19622 (arg1)->SetPrinterTranslateY(arg2);
19623
19624 wxPyEndAllowThreads(__tstate);
19625 if (PyErr_Occurred()) SWIG_fail;
19626 }
19627 Py_INCREF(Py_None); resultobj = Py_None;
19628 return resultobj;
19629 fail:
19630 return NULL;
19631 }
19632
19633
19634 static PyObject *_wrap_PrintData_SetPrinterTranslation(PyObject *, PyObject *args, PyObject *kwargs) {
19635 PyObject *resultobj;
19636 wxPrintData *arg1 = (wxPrintData *) 0 ;
19637 long arg2 ;
19638 long arg3 ;
19639 PyObject * obj0 = 0 ;
19640 PyObject * obj1 = 0 ;
19641 PyObject * obj2 = 0 ;
19642 char *kwnames[] = {
19643 (char *) "self",(char *) "x",(char *) "y", NULL
19644 };
19645
19646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames,&obj0,&obj1,&obj2)) goto fail;
19647 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19648 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19649 arg2 = (long)SWIG_As_long(obj1);
19650 if (PyErr_Occurred()) SWIG_fail;
19651 arg3 = (long)SWIG_As_long(obj2);
19652 if (PyErr_Occurred()) SWIG_fail;
19653 {
19654 PyThreadState* __tstate = wxPyBeginAllowThreads();
19655 (arg1)->SetPrinterTranslation(arg2,arg3);
19656
19657 wxPyEndAllowThreads(__tstate);
19658 if (PyErr_Occurred()) SWIG_fail;
19659 }
19660 Py_INCREF(Py_None); resultobj = Py_None;
19661 return resultobj;
19662 fail:
19663 return NULL;
19664 }
19665
19666
19667 static PyObject *_wrap_PrintData_SetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) {
19668 PyObject *resultobj;
19669 wxPrintData *arg1 = (wxPrintData *) 0 ;
19670 int arg2 ;
19671 PyObject * obj0 = 0 ;
19672 PyObject * obj1 = 0 ;
19673 char *kwnames[] = {
19674 (char *) "self",(char *) "printMode", NULL
19675 };
19676
19677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) goto fail;
19678 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19679 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19680 arg2 = (int)SWIG_As_int(obj1);
19681 if (PyErr_Occurred()) SWIG_fail;
19682 {
19683 PyThreadState* __tstate = wxPyBeginAllowThreads();
19684 (arg1)->SetPrintMode((wxPrintMode )arg2);
19685
19686 wxPyEndAllowThreads(__tstate);
19687 if (PyErr_Occurred()) SWIG_fail;
19688 }
19689 Py_INCREF(Py_None); resultobj = Py_None;
19690 return resultobj;
19691 fail:
19692 return NULL;
19693 }
19694
19695
19696 static PyObject *_wrap_PrintData_GetOutputStream(PyObject *, PyObject *args, PyObject *kwargs) {
19697 PyObject *resultobj;
19698 wxPrintData *arg1 = (wxPrintData *) 0 ;
19699 wxOutputStream *result;
19700 PyObject * obj0 = 0 ;
19701 char *kwnames[] = {
19702 (char *) "self", NULL
19703 };
19704
19705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOutputStream",kwnames,&obj0)) goto fail;
19706 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19707 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19708 {
19709 PyThreadState* __tstate = wxPyBeginAllowThreads();
19710 result = (wxOutputStream *)(arg1)->GetOutputStream();
19711
19712 wxPyEndAllowThreads(__tstate);
19713 if (PyErr_Occurred()) SWIG_fail;
19714 }
19715 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxOutputStream, 0);
19716 return resultobj;
19717 fail:
19718 return NULL;
19719 }
19720
19721
19722 static PyObject *_wrap_PrintData_SetOutputStream(PyObject *, PyObject *args, PyObject *kwargs) {
19723 PyObject *resultobj;
19724 wxPrintData *arg1 = (wxPrintData *) 0 ;
19725 wxOutputStream *arg2 = (wxOutputStream *) 0 ;
19726 PyObject * obj0 = 0 ;
19727 PyObject * obj1 = 0 ;
19728 char *kwnames[] = {
19729 (char *) "self",(char *) "outputstream", NULL
19730 };
19731
19732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOutputStream",kwnames,&obj0,&obj1)) goto fail;
19733 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19734 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19735 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxOutputStream,
19736 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19737 {
19738 PyThreadState* __tstate = wxPyBeginAllowThreads();
19739 (arg1)->SetOutputStream(arg2);
19740
19741 wxPyEndAllowThreads(__tstate);
19742 if (PyErr_Occurred()) SWIG_fail;
19743 }
19744 Py_INCREF(Py_None); resultobj = Py_None;
19745 return resultobj;
19746 fail:
19747 return NULL;
19748 }
19749
19750
19751 static PyObject * PrintData_swigregister(PyObject *, PyObject *args) {
19752 PyObject *obj;
19753 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19754 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj);
19755 Py_INCREF(obj);
19756 return Py_BuildValue((char *)"");
19757 }
19758 static PyObject *_wrap_new_PageSetupDialogData__SWIG_0(PyObject *, PyObject *args) {
19759 PyObject *resultobj;
19760 wxPageSetupDialogData *result;
19761
19762 if(!PyArg_ParseTuple(args,(char *)":new_PageSetupDialogData")) goto fail;
19763 {
19764 PyThreadState* __tstate = wxPyBeginAllowThreads();
19765 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
19766
19767 wxPyEndAllowThreads(__tstate);
19768 if (PyErr_Occurred()) SWIG_fail;
19769 }
19770 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
19771 return resultobj;
19772 fail:
19773 return NULL;
19774 }
19775
19776
19777 static PyObject *_wrap_new_PageSetupDialogData__SWIG_1(PyObject *, PyObject *args) {
19778 PyObject *resultobj;
19779 wxPageSetupDialogData *arg1 = 0 ;
19780 wxPageSetupDialogData *result;
19781 PyObject * obj0 = 0 ;
19782
19783 if(!PyArg_ParseTuple(args,(char *)"O:new_PageSetupDialogData",&obj0)) goto fail;
19784 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19785 SWIG_POINTER_EXCEPTION | 0)) == -1)
19786 SWIG_fail;
19787 if (arg1 == NULL) {
19788 PyErr_SetString(PyExc_TypeError,"null reference");
19789 SWIG_fail;
19790 }
19791 {
19792 PyThreadState* __tstate = wxPyBeginAllowThreads();
19793 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPageSetupDialogData const &)*arg1);
19794
19795 wxPyEndAllowThreads(__tstate);
19796 if (PyErr_Occurred()) SWIG_fail;
19797 }
19798 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
19799 return resultobj;
19800 fail:
19801 return NULL;
19802 }
19803
19804
19805 static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args) {
19806 int argc;
19807 PyObject *argv[2];
19808 int ii;
19809
19810 argc = PyObject_Length(args);
19811 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
19812 argv[ii] = PyTuple_GetItem(args,ii);
19813 }
19814 if (argc == 0) {
19815 return _wrap_new_PageSetupDialogData__SWIG_0(self,args);
19816 }
19817 if (argc == 1) {
19818 int _v;
19819 {
19820 void *ptr;
19821 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPageSetupDialogData, 0) == -1) {
19822 _v = 0;
19823 PyErr_Clear();
19824 } else {
19825 _v = 1;
19826 }
19827 }
19828 if (_v) {
19829 return _wrap_new_PageSetupDialogData__SWIG_1(self,args);
19830 }
19831 }
19832
19833 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PageSetupDialogData'");
19834 return NULL;
19835 }
19836
19837
19838 static PyObject *_wrap_delete_PageSetupDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
19839 PyObject *resultobj;
19840 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19841 PyObject * obj0 = 0 ;
19842 char *kwnames[] = {
19843 (char *) "self", NULL
19844 };
19845
19846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail;
19847 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19848 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19849 {
19850 PyThreadState* __tstate = wxPyBeginAllowThreads();
19851 delete arg1;
19852
19853 wxPyEndAllowThreads(__tstate);
19854 if (PyErr_Occurred()) SWIG_fail;
19855 }
19856 Py_INCREF(Py_None); resultobj = Py_None;
19857 return resultobj;
19858 fail:
19859 return NULL;
19860 }
19861
19862
19863 static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
19864 PyObject *resultobj;
19865 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19866 bool arg2 ;
19867 PyObject * obj0 = 0 ;
19868 PyObject * obj1 = 0 ;
19869 char *kwnames[] = {
19870 (char *) "self",(char *) "flag", NULL
19871 };
19872
19873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
19874 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19875 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19876 arg2 = (bool)SWIG_As_bool(obj1);
19877 if (PyErr_Occurred()) SWIG_fail;
19878 {
19879 PyThreadState* __tstate = wxPyBeginAllowThreads();
19880 (arg1)->EnableHelp(arg2);
19881
19882 wxPyEndAllowThreads(__tstate);
19883 if (PyErr_Occurred()) SWIG_fail;
19884 }
19885 Py_INCREF(Py_None); resultobj = Py_None;
19886 return resultobj;
19887 fail:
19888 return NULL;
19889 }
19890
19891
19892 static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *, PyObject *args, PyObject *kwargs) {
19893 PyObject *resultobj;
19894 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19895 bool arg2 ;
19896 PyObject * obj0 = 0 ;
19897 PyObject * obj1 = 0 ;
19898 char *kwnames[] = {
19899 (char *) "self",(char *) "flag", NULL
19900 };
19901
19902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail;
19903 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19904 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19905 arg2 = (bool)SWIG_As_bool(obj1);
19906 if (PyErr_Occurred()) SWIG_fail;
19907 {
19908 PyThreadState* __tstate = wxPyBeginAllowThreads();
19909 (arg1)->EnableMargins(arg2);
19910
19911 wxPyEndAllowThreads(__tstate);
19912 if (PyErr_Occurred()) SWIG_fail;
19913 }
19914 Py_INCREF(Py_None); resultobj = Py_None;
19915 return resultobj;
19916 fail:
19917 return NULL;
19918 }
19919
19920
19921 static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
19922 PyObject *resultobj;
19923 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19924 bool arg2 ;
19925 PyObject * obj0 = 0 ;
19926 PyObject * obj1 = 0 ;
19927 char *kwnames[] = {
19928 (char *) "self",(char *) "flag", NULL
19929 };
19930
19931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail;
19932 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19933 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19934 arg2 = (bool)SWIG_As_bool(obj1);
19935 if (PyErr_Occurred()) SWIG_fail;
19936 {
19937 PyThreadState* __tstate = wxPyBeginAllowThreads();
19938 (arg1)->EnableOrientation(arg2);
19939
19940 wxPyEndAllowThreads(__tstate);
19941 if (PyErr_Occurred()) SWIG_fail;
19942 }
19943 Py_INCREF(Py_None); resultobj = Py_None;
19944 return resultobj;
19945 fail:
19946 return NULL;
19947 }
19948
19949
19950 static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *, PyObject *args, PyObject *kwargs) {
19951 PyObject *resultobj;
19952 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19953 bool arg2 ;
19954 PyObject * obj0 = 0 ;
19955 PyObject * obj1 = 0 ;
19956 char *kwnames[] = {
19957 (char *) "self",(char *) "flag", NULL
19958 };
19959
19960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail;
19961 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19962 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19963 arg2 = (bool)SWIG_As_bool(obj1);
19964 if (PyErr_Occurred()) SWIG_fail;
19965 {
19966 PyThreadState* __tstate = wxPyBeginAllowThreads();
19967 (arg1)->EnablePaper(arg2);
19968
19969 wxPyEndAllowThreads(__tstate);
19970 if (PyErr_Occurred()) SWIG_fail;
19971 }
19972 Py_INCREF(Py_None); resultobj = Py_None;
19973 return resultobj;
19974 fail:
19975 return NULL;
19976 }
19977
19978
19979 static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *, PyObject *args, PyObject *kwargs) {
19980 PyObject *resultobj;
19981 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19982 bool arg2 ;
19983 PyObject * obj0 = 0 ;
19984 PyObject * obj1 = 0 ;
19985 char *kwnames[] = {
19986 (char *) "self",(char *) "flag", NULL
19987 };
19988
19989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail;
19990 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19991 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19992 arg2 = (bool)SWIG_As_bool(obj1);
19993 if (PyErr_Occurred()) SWIG_fail;
19994 {
19995 PyThreadState* __tstate = wxPyBeginAllowThreads();
19996 (arg1)->EnablePrinter(arg2);
19997
19998 wxPyEndAllowThreads(__tstate);
19999 if (PyErr_Occurred()) SWIG_fail;
20000 }
20001 Py_INCREF(Py_None); resultobj = Py_None;
20002 return resultobj;
20003 fail:
20004 return NULL;
20005 }
20006
20007
20008 static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *, PyObject *args, PyObject *kwargs) {
20009 PyObject *resultobj;
20010 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20011 bool result;
20012 PyObject * obj0 = 0 ;
20013 char *kwnames[] = {
20014 (char *) "self", NULL
20015 };
20016
20017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames,&obj0)) goto fail;
20018 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20019 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20020 {
20021 PyThreadState* __tstate = wxPyBeginAllowThreads();
20022 result = (bool)(arg1)->GetDefaultMinMargins();
20023
20024 wxPyEndAllowThreads(__tstate);
20025 if (PyErr_Occurred()) SWIG_fail;
20026 }
20027 {
20028 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20029 }
20030 return resultobj;
20031 fail:
20032 return NULL;
20033 }
20034
20035
20036 static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *, PyObject *args, PyObject *kwargs) {
20037 PyObject *resultobj;
20038 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20039 bool result;
20040 PyObject * obj0 = 0 ;
20041 char *kwnames[] = {
20042 (char *) "self", NULL
20043 };
20044
20045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail;
20046 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20047 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20048 {
20049 PyThreadState* __tstate = wxPyBeginAllowThreads();
20050 result = (bool)(arg1)->GetEnableMargins();
20051
20052 wxPyEndAllowThreads(__tstate);
20053 if (PyErr_Occurred()) SWIG_fail;
20054 }
20055 {
20056 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20057 }
20058 return resultobj;
20059 fail:
20060 return NULL;
20061 }
20062
20063
20064 static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
20065 PyObject *resultobj;
20066 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20067 bool result;
20068 PyObject * obj0 = 0 ;
20069 char *kwnames[] = {
20070 (char *) "self", NULL
20071 };
20072
20073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail;
20074 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20075 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20076 {
20077 PyThreadState* __tstate = wxPyBeginAllowThreads();
20078 result = (bool)(arg1)->GetEnableOrientation();
20079
20080 wxPyEndAllowThreads(__tstate);
20081 if (PyErr_Occurred()) SWIG_fail;
20082 }
20083 {
20084 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20085 }
20086 return resultobj;
20087 fail:
20088 return NULL;
20089 }
20090
20091
20092 static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *, PyObject *args, PyObject *kwargs) {
20093 PyObject *resultobj;
20094 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20095 bool result;
20096 PyObject * obj0 = 0 ;
20097 char *kwnames[] = {
20098 (char *) "self", NULL
20099 };
20100
20101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail;
20102 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20103 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20104 {
20105 PyThreadState* __tstate = wxPyBeginAllowThreads();
20106 result = (bool)(arg1)->GetEnablePaper();
20107
20108 wxPyEndAllowThreads(__tstate);
20109 if (PyErr_Occurred()) SWIG_fail;
20110 }
20111 {
20112 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20113 }
20114 return resultobj;
20115 fail:
20116 return NULL;
20117 }
20118
20119
20120 static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *, PyObject *args, PyObject *kwargs) {
20121 PyObject *resultobj;
20122 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20123 bool result;
20124 PyObject * obj0 = 0 ;
20125 char *kwnames[] = {
20126 (char *) "self", NULL
20127 };
20128
20129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail;
20130 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20131 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20132 {
20133 PyThreadState* __tstate = wxPyBeginAllowThreads();
20134 result = (bool)(arg1)->GetEnablePrinter();
20135
20136 wxPyEndAllowThreads(__tstate);
20137 if (PyErr_Occurred()) SWIG_fail;
20138 }
20139 {
20140 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20141 }
20142 return resultobj;
20143 fail:
20144 return NULL;
20145 }
20146
20147
20148 static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
20149 PyObject *resultobj;
20150 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20151 bool result;
20152 PyObject * obj0 = 0 ;
20153 char *kwnames[] = {
20154 (char *) "self", NULL
20155 };
20156
20157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
20158 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20159 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20160 {
20161 PyThreadState* __tstate = wxPyBeginAllowThreads();
20162 result = (bool)(arg1)->GetEnableHelp();
20163
20164 wxPyEndAllowThreads(__tstate);
20165 if (PyErr_Occurred()) SWIG_fail;
20166 }
20167 {
20168 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20169 }
20170 return resultobj;
20171 fail:
20172 return NULL;
20173 }
20174
20175
20176 static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *, PyObject *args, PyObject *kwargs) {
20177 PyObject *resultobj;
20178 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20179 bool result;
20180 PyObject * obj0 = 0 ;
20181 char *kwnames[] = {
20182 (char *) "self", NULL
20183 };
20184
20185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames,&obj0)) goto fail;
20186 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20187 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20188 {
20189 PyThreadState* __tstate = wxPyBeginAllowThreads();
20190 result = (bool)(arg1)->GetDefaultInfo();
20191
20192 wxPyEndAllowThreads(__tstate);
20193 if (PyErr_Occurred()) SWIG_fail;
20194 }
20195 {
20196 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20197 }
20198 return resultobj;
20199 fail:
20200 return NULL;
20201 }
20202
20203
20204 static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
20205 PyObject *resultobj;
20206 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20207 wxPoint result;
20208 PyObject * obj0 = 0 ;
20209 char *kwnames[] = {
20210 (char *) "self", NULL
20211 };
20212
20213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail;
20214 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20215 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20216 {
20217 PyThreadState* __tstate = wxPyBeginAllowThreads();
20218 result = (arg1)->GetMarginTopLeft();
20219
20220 wxPyEndAllowThreads(__tstate);
20221 if (PyErr_Occurred()) SWIG_fail;
20222 }
20223 {
20224 wxPoint * resultptr;
20225 resultptr = new wxPoint((wxPoint &) result);
20226 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
20227 }
20228 return resultobj;
20229 fail:
20230 return NULL;
20231 }
20232
20233
20234 static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
20235 PyObject *resultobj;
20236 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20237 wxPoint result;
20238 PyObject * obj0 = 0 ;
20239 char *kwnames[] = {
20240 (char *) "self", NULL
20241 };
20242
20243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail;
20244 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20245 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20246 {
20247 PyThreadState* __tstate = wxPyBeginAllowThreads();
20248 result = (arg1)->GetMarginBottomRight();
20249
20250 wxPyEndAllowThreads(__tstate);
20251 if (PyErr_Occurred()) SWIG_fail;
20252 }
20253 {
20254 wxPoint * resultptr;
20255 resultptr = new wxPoint((wxPoint &) result);
20256 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
20257 }
20258 return resultobj;
20259 fail:
20260 return NULL;
20261 }
20262
20263
20264 static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
20265 PyObject *resultobj;
20266 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20267 wxPoint result;
20268 PyObject * obj0 = 0 ;
20269 char *kwnames[] = {
20270 (char *) "self", NULL
20271 };
20272
20273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail;
20274 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20275 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20276 {
20277 PyThreadState* __tstate = wxPyBeginAllowThreads();
20278 result = (arg1)->GetMinMarginTopLeft();
20279
20280 wxPyEndAllowThreads(__tstate);
20281 if (PyErr_Occurred()) SWIG_fail;
20282 }
20283 {
20284 wxPoint * resultptr;
20285 resultptr = new wxPoint((wxPoint &) result);
20286 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
20287 }
20288 return resultobj;
20289 fail:
20290 return NULL;
20291 }
20292
20293
20294 static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
20295 PyObject *resultobj;
20296 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20297 wxPoint result;
20298 PyObject * obj0 = 0 ;
20299 char *kwnames[] = {
20300 (char *) "self", NULL
20301 };
20302
20303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail;
20304 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20305 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20306 {
20307 PyThreadState* __tstate = wxPyBeginAllowThreads();
20308 result = (arg1)->GetMinMarginBottomRight();
20309
20310 wxPyEndAllowThreads(__tstate);
20311 if (PyErr_Occurred()) SWIG_fail;
20312 }
20313 {
20314 wxPoint * resultptr;
20315 resultptr = new wxPoint((wxPoint &) result);
20316 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
20317 }
20318 return resultobj;
20319 fail:
20320 return NULL;
20321 }
20322
20323
20324 static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
20325 PyObject *resultobj;
20326 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20327 int result;
20328 PyObject * obj0 = 0 ;
20329 char *kwnames[] = {
20330 (char *) "self", NULL
20331 };
20332
20333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",kwnames,&obj0)) goto fail;
20334 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20335 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20336 {
20337 PyThreadState* __tstate = wxPyBeginAllowThreads();
20338 result = (int)(arg1)->GetPaperId();
20339
20340 wxPyEndAllowThreads(__tstate);
20341 if (PyErr_Occurred()) SWIG_fail;
20342 }
20343 resultobj = SWIG_From_int((int)result);
20344 return resultobj;
20345 fail:
20346 return NULL;
20347 }
20348
20349
20350 static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
20351 PyObject *resultobj;
20352 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20353 wxSize result;
20354 PyObject * obj0 = 0 ;
20355 char *kwnames[] = {
20356 (char *) "self", NULL
20357 };
20358
20359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail;
20360 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20361 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20362 {
20363 PyThreadState* __tstate = wxPyBeginAllowThreads();
20364 result = (arg1)->GetPaperSize();
20365
20366 wxPyEndAllowThreads(__tstate);
20367 if (PyErr_Occurred()) SWIG_fail;
20368 }
20369 {
20370 wxSize * resultptr;
20371 resultptr = new wxSize((wxSize &) result);
20372 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20373 }
20374 return resultobj;
20375 fail:
20376 return NULL;
20377 }
20378
20379
20380 static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
20381 PyObject *resultobj;
20382 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20383 wxPrintData *result;
20384 PyObject * obj0 = 0 ;
20385 char *kwnames[] = {
20386 (char *) "self", NULL
20387 };
20388
20389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail;
20390 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20391 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20392 {
20393 PyThreadState* __tstate = wxPyBeginAllowThreads();
20394 {
20395 wxPrintData &_result_ref = (arg1)->GetPrintData();
20396 result = (wxPrintData *) &_result_ref;
20397 }
20398
20399 wxPyEndAllowThreads(__tstate);
20400 if (PyErr_Occurred()) SWIG_fail;
20401 }
20402 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
20403 return resultobj;
20404 fail:
20405 return NULL;
20406 }
20407
20408
20409 static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
20410 PyObject *resultobj;
20411 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20412 bool result;
20413 PyObject * obj0 = 0 ;
20414 char *kwnames[] = {
20415 (char *) "self", NULL
20416 };
20417
20418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_Ok",kwnames,&obj0)) goto fail;
20419 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20420 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20421 {
20422 PyThreadState* __tstate = wxPyBeginAllowThreads();
20423 result = (bool)(arg1)->Ok();
20424
20425 wxPyEndAllowThreads(__tstate);
20426 if (PyErr_Occurred()) SWIG_fail;
20427 }
20428 {
20429 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20430 }
20431 return resultobj;
20432 fail:
20433 return NULL;
20434 }
20435
20436
20437 static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *, PyObject *args, PyObject *kwargs) {
20438 PyObject *resultobj;
20439 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20440 bool arg2 ;
20441 PyObject * obj0 = 0 ;
20442 PyObject * obj1 = 0 ;
20443 char *kwnames[] = {
20444 (char *) "self",(char *) "flag", NULL
20445 };
20446
20447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail;
20448 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20449 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20450 arg2 = (bool)SWIG_As_bool(obj1);
20451 if (PyErr_Occurred()) SWIG_fail;
20452 {
20453 PyThreadState* __tstate = wxPyBeginAllowThreads();
20454 (arg1)->SetDefaultInfo(arg2);
20455
20456 wxPyEndAllowThreads(__tstate);
20457 if (PyErr_Occurred()) SWIG_fail;
20458 }
20459 Py_INCREF(Py_None); resultobj = Py_None;
20460 return resultobj;
20461 fail:
20462 return NULL;
20463 }
20464
20465
20466 static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *, PyObject *args, PyObject *kwargs) {
20467 PyObject *resultobj;
20468 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20469 bool arg2 ;
20470 PyObject * obj0 = 0 ;
20471 PyObject * obj1 = 0 ;
20472 char *kwnames[] = {
20473 (char *) "self",(char *) "flag", NULL
20474 };
20475
20476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail;
20477 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20478 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20479 arg2 = (bool)SWIG_As_bool(obj1);
20480 if (PyErr_Occurred()) SWIG_fail;
20481 {
20482 PyThreadState* __tstate = wxPyBeginAllowThreads();
20483 (arg1)->SetDefaultMinMargins(arg2);
20484
20485 wxPyEndAllowThreads(__tstate);
20486 if (PyErr_Occurred()) SWIG_fail;
20487 }
20488 Py_INCREF(Py_None); resultobj = Py_None;
20489 return resultobj;
20490 fail:
20491 return NULL;
20492 }
20493
20494
20495 static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
20496 PyObject *resultobj;
20497 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20498 wxPoint *arg2 = 0 ;
20499 wxPoint temp2 ;
20500 PyObject * obj0 = 0 ;
20501 PyObject * obj1 = 0 ;
20502 char *kwnames[] = {
20503 (char *) "self",(char *) "pt", NULL
20504 };
20505
20506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
20507 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20508 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20509 {
20510 arg2 = &temp2;
20511 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20512 }
20513 {
20514 PyThreadState* __tstate = wxPyBeginAllowThreads();
20515 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
20516
20517 wxPyEndAllowThreads(__tstate);
20518 if (PyErr_Occurred()) SWIG_fail;
20519 }
20520 Py_INCREF(Py_None); resultobj = Py_None;
20521 return resultobj;
20522 fail:
20523 return NULL;
20524 }
20525
20526
20527 static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
20528 PyObject *resultobj;
20529 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20530 wxPoint *arg2 = 0 ;
20531 wxPoint temp2 ;
20532 PyObject * obj0 = 0 ;
20533 PyObject * obj1 = 0 ;
20534 char *kwnames[] = {
20535 (char *) "self",(char *) "pt", NULL
20536 };
20537
20538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
20539 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20540 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20541 {
20542 arg2 = &temp2;
20543 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20544 }
20545 {
20546 PyThreadState* __tstate = wxPyBeginAllowThreads();
20547 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
20548
20549 wxPyEndAllowThreads(__tstate);
20550 if (PyErr_Occurred()) SWIG_fail;
20551 }
20552 Py_INCREF(Py_None); resultobj = Py_None;
20553 return resultobj;
20554 fail:
20555 return NULL;
20556 }
20557
20558
20559 static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
20560 PyObject *resultobj;
20561 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20562 wxPoint *arg2 = 0 ;
20563 wxPoint temp2 ;
20564 PyObject * obj0 = 0 ;
20565 PyObject * obj1 = 0 ;
20566 char *kwnames[] = {
20567 (char *) "self",(char *) "pt", NULL
20568 };
20569
20570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
20571 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20572 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20573 {
20574 arg2 = &temp2;
20575 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20576 }
20577 {
20578 PyThreadState* __tstate = wxPyBeginAllowThreads();
20579 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
20580
20581 wxPyEndAllowThreads(__tstate);
20582 if (PyErr_Occurred()) SWIG_fail;
20583 }
20584 Py_INCREF(Py_None); resultobj = Py_None;
20585 return resultobj;
20586 fail:
20587 return NULL;
20588 }
20589
20590
20591 static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
20592 PyObject *resultobj;
20593 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20594 wxPoint *arg2 = 0 ;
20595 wxPoint temp2 ;
20596 PyObject * obj0 = 0 ;
20597 PyObject * obj1 = 0 ;
20598 char *kwnames[] = {
20599 (char *) "self",(char *) "pt", NULL
20600 };
20601
20602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
20603 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20604 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20605 {
20606 arg2 = &temp2;
20607 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20608 }
20609 {
20610 PyThreadState* __tstate = wxPyBeginAllowThreads();
20611 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
20612
20613 wxPyEndAllowThreads(__tstate);
20614 if (PyErr_Occurred()) SWIG_fail;
20615 }
20616 Py_INCREF(Py_None); resultobj = Py_None;
20617 return resultobj;
20618 fail:
20619 return NULL;
20620 }
20621
20622
20623 static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
20624 PyObject *resultobj;
20625 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20626 int arg2 ;
20627 PyObject * obj0 = 0 ;
20628 PyObject * obj1 = 0 ;
20629 char *kwnames[] = {
20630 (char *) "self",(char *) "id", NULL
20631 };
20632
20633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
20634 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20635 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20636 arg2 = (int)SWIG_As_int(obj1);
20637 if (PyErr_Occurred()) SWIG_fail;
20638 {
20639 PyThreadState* __tstate = wxPyBeginAllowThreads();
20640 (arg1)->SetPaperId((wxPaperSize )arg2);
20641
20642 wxPyEndAllowThreads(__tstate);
20643 if (PyErr_Occurred()) SWIG_fail;
20644 }
20645 Py_INCREF(Py_None); resultobj = Py_None;
20646 return resultobj;
20647 fail:
20648 return NULL;
20649 }
20650
20651
20652 static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
20653 PyObject *resultobj;
20654 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20655 wxSize *arg2 = 0 ;
20656 wxSize temp2 ;
20657 PyObject * obj0 = 0 ;
20658 PyObject * obj1 = 0 ;
20659 char *kwnames[] = {
20660 (char *) "self",(char *) "size", NULL
20661 };
20662
20663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
20664 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20665 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20666 {
20667 arg2 = &temp2;
20668 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
20669 }
20670 {
20671 PyThreadState* __tstate = wxPyBeginAllowThreads();
20672 (arg1)->SetPaperSize((wxSize const &)*arg2);
20673
20674 wxPyEndAllowThreads(__tstate);
20675 if (PyErr_Occurred()) SWIG_fail;
20676 }
20677 Py_INCREF(Py_None); resultobj = Py_None;
20678 return resultobj;
20679 fail:
20680 return NULL;
20681 }
20682
20683
20684 static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
20685 PyObject *resultobj;
20686 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20687 wxPrintData *arg2 = 0 ;
20688 PyObject * obj0 = 0 ;
20689 PyObject * obj1 = 0 ;
20690 char *kwnames[] = {
20691 (char *) "self",(char *) "printData", NULL
20692 };
20693
20694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
20695 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20696 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20697 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData,
20698 SWIG_POINTER_EXCEPTION | 0)) == -1)
20699 SWIG_fail;
20700 if (arg2 == NULL) {
20701 PyErr_SetString(PyExc_TypeError,"null reference");
20702 SWIG_fail;
20703 }
20704 {
20705 PyThreadState* __tstate = wxPyBeginAllowThreads();
20706 (arg1)->SetPrintData((wxPrintData const &)*arg2);
20707
20708 wxPyEndAllowThreads(__tstate);
20709 if (PyErr_Occurred()) SWIG_fail;
20710 }
20711 Py_INCREF(Py_None); resultobj = Py_None;
20712 return resultobj;
20713 fail:
20714 return NULL;
20715 }
20716
20717
20718 static PyObject * PageSetupDialogData_swigregister(PyObject *, PyObject *args) {
20719 PyObject *obj;
20720 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20721 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj);
20722 Py_INCREF(obj);
20723 return Py_BuildValue((char *)"");
20724 }
20725 static PyObject *_wrap_new_PageSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
20726 PyObject *resultobj;
20727 wxWindow *arg1 = (wxWindow *) 0 ;
20728 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
20729 wxPageSetupDialog *result;
20730 PyObject * obj0 = 0 ;
20731 PyObject * obj1 = 0 ;
20732 char *kwnames[] = {
20733 (char *) "parent",(char *) "data", NULL
20734 };
20735
20736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail;
20737 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
20738 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20739 if (obj1) {
20740 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPageSetupDialogData,
20741 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20742 }
20743 {
20744 if (!wxPyCheckForApp()) SWIG_fail;
20745 PyThreadState* __tstate = wxPyBeginAllowThreads();
20746 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
20747
20748 wxPyEndAllowThreads(__tstate);
20749 if (PyErr_Occurred()) SWIG_fail;
20750 }
20751 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialog, 1);
20752 return resultobj;
20753 fail:
20754 return NULL;
20755 }
20756
20757
20758 static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *, PyObject *args, PyObject *kwargs) {
20759 PyObject *resultobj;
20760 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
20761 wxPageSetupDialogData *result;
20762 PyObject * obj0 = 0 ;
20763 char *kwnames[] = {
20764 (char *) "self", NULL
20765 };
20766
20767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail;
20768 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog,
20769 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20770 {
20771 PyThreadState* __tstate = wxPyBeginAllowThreads();
20772 {
20773 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
20774 result = (wxPageSetupDialogData *) &_result_ref;
20775 }
20776
20777 wxPyEndAllowThreads(__tstate);
20778 if (PyErr_Occurred()) SWIG_fail;
20779 }
20780 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
20781 return resultobj;
20782 fail:
20783 return NULL;
20784 }
20785
20786
20787 static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
20788 PyObject *resultobj;
20789 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
20790 int result;
20791 PyObject * obj0 = 0 ;
20792 char *kwnames[] = {
20793 (char *) "self", NULL
20794 };
20795
20796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail;
20797 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog,
20798 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20799 {
20800 PyThreadState* __tstate = wxPyBeginAllowThreads();
20801 result = (int)(arg1)->ShowModal();
20802
20803 wxPyEndAllowThreads(__tstate);
20804 if (PyErr_Occurred()) SWIG_fail;
20805 }
20806 resultobj = SWIG_From_int((int)result);
20807 return resultobj;
20808 fail:
20809 return NULL;
20810 }
20811
20812
20813 static PyObject * PageSetupDialog_swigregister(PyObject *, PyObject *args) {
20814 PyObject *obj;
20815 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20816 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj);
20817 Py_INCREF(obj);
20818 return Py_BuildValue((char *)"");
20819 }
20820 static PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *, PyObject *args) {
20821 PyObject *resultobj;
20822 wxPrintDialogData *result;
20823
20824 if(!PyArg_ParseTuple(args,(char *)":new_PrintDialogData")) goto fail;
20825 {
20826 PyThreadState* __tstate = wxPyBeginAllowThreads();
20827 result = (wxPrintDialogData *)new wxPrintDialogData();
20828
20829 wxPyEndAllowThreads(__tstate);
20830 if (PyErr_Occurred()) SWIG_fail;
20831 }
20832 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
20833 return resultobj;
20834 fail:
20835 return NULL;
20836 }
20837
20838
20839 static PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *, PyObject *args) {
20840 PyObject *resultobj;
20841 wxPrintData *arg1 = 0 ;
20842 wxPrintDialogData *result;
20843 PyObject * obj0 = 0 ;
20844
20845 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintDialogData",&obj0)) goto fail;
20846 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
20847 SWIG_POINTER_EXCEPTION | 0)) == -1)
20848 SWIG_fail;
20849 if (arg1 == NULL) {
20850 PyErr_SetString(PyExc_TypeError,"null reference");
20851 SWIG_fail;
20852 }
20853 {
20854 PyThreadState* __tstate = wxPyBeginAllowThreads();
20855 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
20856
20857 wxPyEndAllowThreads(__tstate);
20858 if (PyErr_Occurred()) SWIG_fail;
20859 }
20860 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
20861 return resultobj;
20862 fail:
20863 return NULL;
20864 }
20865
20866
20867 static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
20868 int argc;
20869 PyObject *argv[2];
20870 int ii;
20871
20872 argc = PyObject_Length(args);
20873 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
20874 argv[ii] = PyTuple_GetItem(args,ii);
20875 }
20876 if (argc == 0) {
20877 return _wrap_new_PrintDialogData__SWIG_0(self,args);
20878 }
20879 if (argc == 1) {
20880 int _v;
20881 {
20882 void *ptr;
20883 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
20884 _v = 0;
20885 PyErr_Clear();
20886 } else {
20887 _v = 1;
20888 }
20889 }
20890 if (_v) {
20891 return _wrap_new_PrintDialogData__SWIG_1(self,args);
20892 }
20893 }
20894
20895 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintDialogData'");
20896 return NULL;
20897 }
20898
20899
20900 static PyObject *_wrap_delete_PrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
20901 PyObject *resultobj;
20902 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20903 PyObject * obj0 = 0 ;
20904 char *kwnames[] = {
20905 (char *) "self", NULL
20906 };
20907
20908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail;
20909 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20910 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20911 {
20912 PyThreadState* __tstate = wxPyBeginAllowThreads();
20913 delete arg1;
20914
20915 wxPyEndAllowThreads(__tstate);
20916 if (PyErr_Occurred()) SWIG_fail;
20917 }
20918 Py_INCREF(Py_None); resultobj = Py_None;
20919 return resultobj;
20920 fail:
20921 return NULL;
20922 }
20923
20924
20925 static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
20926 PyObject *resultobj;
20927 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20928 int result;
20929 PyObject * obj0 = 0 ;
20930 char *kwnames[] = {
20931 (char *) "self", NULL
20932 };
20933
20934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail;
20935 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20936 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20937 {
20938 PyThreadState* __tstate = wxPyBeginAllowThreads();
20939 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
20940
20941 wxPyEndAllowThreads(__tstate);
20942 if (PyErr_Occurred()) SWIG_fail;
20943 }
20944 resultobj = SWIG_From_int((int)result);
20945 return resultobj;
20946 fail:
20947 return NULL;
20948 }
20949
20950
20951 static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *, PyObject *args, PyObject *kwargs) {
20952 PyObject *resultobj;
20953 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20954 int result;
20955 PyObject * obj0 = 0 ;
20956 char *kwnames[] = {
20957 (char *) "self", NULL
20958 };
20959
20960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail;
20961 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20962 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20963 {
20964 PyThreadState* __tstate = wxPyBeginAllowThreads();
20965 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
20966
20967 wxPyEndAllowThreads(__tstate);
20968 if (PyErr_Occurred()) SWIG_fail;
20969 }
20970 resultobj = SWIG_From_int((int)result);
20971 return resultobj;
20972 fail:
20973 return NULL;
20974 }
20975
20976
20977 static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
20978 PyObject *resultobj;
20979 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20980 int result;
20981 PyObject * obj0 = 0 ;
20982 char *kwnames[] = {
20983 (char *) "self", NULL
20984 };
20985
20986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail;
20987 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20989 {
20990 PyThreadState* __tstate = wxPyBeginAllowThreads();
20991 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
20992
20993 wxPyEndAllowThreads(__tstate);
20994 if (PyErr_Occurred()) SWIG_fail;
20995 }
20996 resultobj = SWIG_From_int((int)result);
20997 return resultobj;
20998 fail:
20999 return NULL;
21000 }
21001
21002
21003 static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
21004 PyObject *resultobj;
21005 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21006 int result;
21007 PyObject * obj0 = 0 ;
21008 char *kwnames[] = {
21009 (char *) "self", NULL
21010 };
21011
21012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail;
21013 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21014 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21015 {
21016 PyThreadState* __tstate = wxPyBeginAllowThreads();
21017 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
21018
21019 wxPyEndAllowThreads(__tstate);
21020 if (PyErr_Occurred()) SWIG_fail;
21021 }
21022 resultobj = SWIG_From_int((int)result);
21023 return resultobj;
21024 fail:
21025 return NULL;
21026 }
21027
21028
21029 static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
21030 PyObject *resultobj;
21031 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21032 int result;
21033 PyObject * obj0 = 0 ;
21034 char *kwnames[] = {
21035 (char *) "self", NULL
21036 };
21037
21038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail;
21039 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21040 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21041 {
21042 PyThreadState* __tstate = wxPyBeginAllowThreads();
21043 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
21044
21045 wxPyEndAllowThreads(__tstate);
21046 if (PyErr_Occurred()) SWIG_fail;
21047 }
21048 resultobj = SWIG_From_int((int)result);
21049 return resultobj;
21050 fail:
21051 return NULL;
21052 }
21053
21054
21055 static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
21056 PyObject *resultobj;
21057 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21058 bool result;
21059 PyObject * obj0 = 0 ;
21060 char *kwnames[] = {
21061 (char *) "self", NULL
21062 };
21063
21064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail;
21065 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21066 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21067 {
21068 PyThreadState* __tstate = wxPyBeginAllowThreads();
21069 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
21070
21071 wxPyEndAllowThreads(__tstate);
21072 if (PyErr_Occurred()) SWIG_fail;
21073 }
21074 {
21075 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21076 }
21077 return resultobj;
21078 fail:
21079 return NULL;
21080 }
21081
21082
21083 static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
21084 PyObject *resultobj;
21085 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21086 bool result;
21087 PyObject * obj0 = 0 ;
21088 char *kwnames[] = {
21089 (char *) "self", NULL
21090 };
21091
21092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail;
21093 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21094 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21095 {
21096 PyThreadState* __tstate = wxPyBeginAllowThreads();
21097 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
21098
21099 wxPyEndAllowThreads(__tstate);
21100 if (PyErr_Occurred()) SWIG_fail;
21101 }
21102 {
21103 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21104 }
21105 return resultobj;
21106 fail:
21107 return NULL;
21108 }
21109
21110
21111 static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
21112 PyObject *resultobj;
21113 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21114 bool result;
21115 PyObject * obj0 = 0 ;
21116 char *kwnames[] = {
21117 (char *) "self", NULL
21118 };
21119
21120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail;
21121 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21122 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21123 {
21124 PyThreadState* __tstate = wxPyBeginAllowThreads();
21125 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
21126
21127 wxPyEndAllowThreads(__tstate);
21128 if (PyErr_Occurred()) SWIG_fail;
21129 }
21130 {
21131 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21132 }
21133 return resultobj;
21134 fail:
21135 return NULL;
21136 }
21137
21138
21139 static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
21140 PyObject *resultobj;
21141 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21142 bool result;
21143 PyObject * obj0 = 0 ;
21144 char *kwnames[] = {
21145 (char *) "self", NULL
21146 };
21147
21148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail;
21149 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21150 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21151 {
21152 PyThreadState* __tstate = wxPyBeginAllowThreads();
21153 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
21154
21155 wxPyEndAllowThreads(__tstate);
21156 if (PyErr_Occurred()) SWIG_fail;
21157 }
21158 {
21159 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21160 }
21161 return resultobj;
21162 fail:
21163 return NULL;
21164 }
21165
21166
21167 static PyObject *_wrap_PrintDialogData_GetSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
21168 PyObject *resultobj;
21169 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21170 bool result;
21171 PyObject * obj0 = 0 ;
21172 char *kwnames[] = {
21173 (char *) "self", NULL
21174 };
21175
21176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSetupDialog",kwnames,&obj0)) goto fail;
21177 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21178 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21179 {
21180 PyThreadState* __tstate = wxPyBeginAllowThreads();
21181 result = (bool)((wxPrintDialogData const *)arg1)->GetSetupDialog();
21182
21183 wxPyEndAllowThreads(__tstate);
21184 if (PyErr_Occurred()) SWIG_fail;
21185 }
21186 {
21187 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21188 }
21189 return resultobj;
21190 fail:
21191 return NULL;
21192 }
21193
21194
21195 static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
21196 PyObject *resultobj;
21197 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21198 int arg2 ;
21199 PyObject * obj0 = 0 ;
21200 PyObject * obj1 = 0 ;
21201 char *kwnames[] = {
21202 (char *) "self",(char *) "v", NULL
21203 };
21204
21205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) goto fail;
21206 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21207 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21208 arg2 = (int)SWIG_As_int(obj1);
21209 if (PyErr_Occurred()) SWIG_fail;
21210 {
21211 PyThreadState* __tstate = wxPyBeginAllowThreads();
21212 (arg1)->SetFromPage(arg2);
21213
21214 wxPyEndAllowThreads(__tstate);
21215 if (PyErr_Occurred()) SWIG_fail;
21216 }
21217 Py_INCREF(Py_None); resultobj = Py_None;
21218 return resultobj;
21219 fail:
21220 return NULL;
21221 }
21222
21223
21224 static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *, PyObject *args, PyObject *kwargs) {
21225 PyObject *resultobj;
21226 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21227 int arg2 ;
21228 PyObject * obj0 = 0 ;
21229 PyObject * obj1 = 0 ;
21230 char *kwnames[] = {
21231 (char *) "self",(char *) "v", NULL
21232 };
21233
21234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) goto fail;
21235 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21236 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21237 arg2 = (int)SWIG_As_int(obj1);
21238 if (PyErr_Occurred()) SWIG_fail;
21239 {
21240 PyThreadState* __tstate = wxPyBeginAllowThreads();
21241 (arg1)->SetToPage(arg2);
21242
21243 wxPyEndAllowThreads(__tstate);
21244 if (PyErr_Occurred()) SWIG_fail;
21245 }
21246 Py_INCREF(Py_None); resultobj = Py_None;
21247 return resultobj;
21248 fail:
21249 return NULL;
21250 }
21251
21252
21253 static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
21254 PyObject *resultobj;
21255 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21256 int arg2 ;
21257 PyObject * obj0 = 0 ;
21258 PyObject * obj1 = 0 ;
21259 char *kwnames[] = {
21260 (char *) "self",(char *) "v", NULL
21261 };
21262
21263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) goto fail;
21264 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21266 arg2 = (int)SWIG_As_int(obj1);
21267 if (PyErr_Occurred()) SWIG_fail;
21268 {
21269 PyThreadState* __tstate = wxPyBeginAllowThreads();
21270 (arg1)->SetMinPage(arg2);
21271
21272 wxPyEndAllowThreads(__tstate);
21273 if (PyErr_Occurred()) SWIG_fail;
21274 }
21275 Py_INCREF(Py_None); resultobj = Py_None;
21276 return resultobj;
21277 fail:
21278 return NULL;
21279 }
21280
21281
21282 static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
21283 PyObject *resultobj;
21284 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21285 int arg2 ;
21286 PyObject * obj0 = 0 ;
21287 PyObject * obj1 = 0 ;
21288 char *kwnames[] = {
21289 (char *) "self",(char *) "v", NULL
21290 };
21291
21292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) goto fail;
21293 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21294 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21295 arg2 = (int)SWIG_As_int(obj1);
21296 if (PyErr_Occurred()) SWIG_fail;
21297 {
21298 PyThreadState* __tstate = wxPyBeginAllowThreads();
21299 (arg1)->SetMaxPage(arg2);
21300
21301 wxPyEndAllowThreads(__tstate);
21302 if (PyErr_Occurred()) SWIG_fail;
21303 }
21304 Py_INCREF(Py_None); resultobj = Py_None;
21305 return resultobj;
21306 fail:
21307 return NULL;
21308 }
21309
21310
21311 static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
21312 PyObject *resultobj;
21313 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21314 int arg2 ;
21315 PyObject * obj0 = 0 ;
21316 PyObject * obj1 = 0 ;
21317 char *kwnames[] = {
21318 (char *) "self",(char *) "v", NULL
21319 };
21320
21321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
21322 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21323 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21324 arg2 = (int)SWIG_As_int(obj1);
21325 if (PyErr_Occurred()) SWIG_fail;
21326 {
21327 PyThreadState* __tstate = wxPyBeginAllowThreads();
21328 (arg1)->SetNoCopies(arg2);
21329
21330 wxPyEndAllowThreads(__tstate);
21331 if (PyErr_Occurred()) SWIG_fail;
21332 }
21333 Py_INCREF(Py_None); resultobj = Py_None;
21334 return resultobj;
21335 fail:
21336 return NULL;
21337 }
21338
21339
21340 static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
21341 PyObject *resultobj;
21342 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21343 bool arg2 ;
21344 PyObject * obj0 = 0 ;
21345 PyObject * obj1 = 0 ;
21346 char *kwnames[] = {
21347 (char *) "self",(char *) "flag", NULL
21348 };
21349
21350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail;
21351 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21352 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21353 arg2 = (bool)SWIG_As_bool(obj1);
21354 if (PyErr_Occurred()) SWIG_fail;
21355 {
21356 PyThreadState* __tstate = wxPyBeginAllowThreads();
21357 (arg1)->SetAllPages(arg2);
21358
21359 wxPyEndAllowThreads(__tstate);
21360 if (PyErr_Occurred()) SWIG_fail;
21361 }
21362 Py_INCREF(Py_None); resultobj = Py_None;
21363 return resultobj;
21364 fail:
21365 return NULL;
21366 }
21367
21368
21369 static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
21370 PyObject *resultobj;
21371 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21372 bool arg2 ;
21373 PyObject * obj0 = 0 ;
21374 PyObject * obj1 = 0 ;
21375 char *kwnames[] = {
21376 (char *) "self",(char *) "flag", NULL
21377 };
21378
21379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail;
21380 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21381 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21382 arg2 = (bool)SWIG_As_bool(obj1);
21383 if (PyErr_Occurred()) SWIG_fail;
21384 {
21385 PyThreadState* __tstate = wxPyBeginAllowThreads();
21386 (arg1)->SetSelection(arg2);
21387
21388 wxPyEndAllowThreads(__tstate);
21389 if (PyErr_Occurred()) SWIG_fail;
21390 }
21391 Py_INCREF(Py_None); resultobj = Py_None;
21392 return resultobj;
21393 fail:
21394 return NULL;
21395 }
21396
21397
21398 static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
21399 PyObject *resultobj;
21400 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21401 bool arg2 ;
21402 PyObject * obj0 = 0 ;
21403 PyObject * obj1 = 0 ;
21404 char *kwnames[] = {
21405 (char *) "self",(char *) "flag", NULL
21406 };
21407
21408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
21409 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21410 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21411 arg2 = (bool)SWIG_As_bool(obj1);
21412 if (PyErr_Occurred()) SWIG_fail;
21413 {
21414 PyThreadState* __tstate = wxPyBeginAllowThreads();
21415 (arg1)->SetCollate(arg2);
21416
21417 wxPyEndAllowThreads(__tstate);
21418 if (PyErr_Occurred()) SWIG_fail;
21419 }
21420 Py_INCREF(Py_None); resultobj = Py_None;
21421 return resultobj;
21422 fail:
21423 return NULL;
21424 }
21425
21426
21427 static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
21428 PyObject *resultobj;
21429 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21430 bool arg2 ;
21431 PyObject * obj0 = 0 ;
21432 PyObject * obj1 = 0 ;
21433 char *kwnames[] = {
21434 (char *) "self",(char *) "flag", NULL
21435 };
21436
21437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail;
21438 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21439 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21440 arg2 = (bool)SWIG_As_bool(obj1);
21441 if (PyErr_Occurred()) SWIG_fail;
21442 {
21443 PyThreadState* __tstate = wxPyBeginAllowThreads();
21444 (arg1)->SetPrintToFile(arg2);
21445
21446 wxPyEndAllowThreads(__tstate);
21447 if (PyErr_Occurred()) SWIG_fail;
21448 }
21449 Py_INCREF(Py_None); resultobj = Py_None;
21450 return resultobj;
21451 fail:
21452 return NULL;
21453 }
21454
21455
21456 static PyObject *_wrap_PrintDialogData_SetSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
21457 PyObject *resultobj;
21458 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21459 bool arg2 ;
21460 PyObject * obj0 = 0 ;
21461 PyObject * obj1 = 0 ;
21462 char *kwnames[] = {
21463 (char *) "self",(char *) "flag", NULL
21464 };
21465
21466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames,&obj0,&obj1)) goto fail;
21467 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21468 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21469 arg2 = (bool)SWIG_As_bool(obj1);
21470 if (PyErr_Occurred()) SWIG_fail;
21471 {
21472 PyThreadState* __tstate = wxPyBeginAllowThreads();
21473 (arg1)->SetSetupDialog(arg2);
21474
21475 wxPyEndAllowThreads(__tstate);
21476 if (PyErr_Occurred()) SWIG_fail;
21477 }
21478 Py_INCREF(Py_None); resultobj = Py_None;
21479 return resultobj;
21480 fail:
21481 return NULL;
21482 }
21483
21484
21485 static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
21486 PyObject *resultobj;
21487 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21488 bool arg2 ;
21489 PyObject * obj0 = 0 ;
21490 PyObject * obj1 = 0 ;
21491 char *kwnames[] = {
21492 (char *) "self",(char *) "flag", NULL
21493 };
21494
21495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail;
21496 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21497 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21498 arg2 = (bool)SWIG_As_bool(obj1);
21499 if (PyErr_Occurred()) SWIG_fail;
21500 {
21501 PyThreadState* __tstate = wxPyBeginAllowThreads();
21502 (arg1)->EnablePrintToFile(arg2);
21503
21504 wxPyEndAllowThreads(__tstate);
21505 if (PyErr_Occurred()) SWIG_fail;
21506 }
21507 Py_INCREF(Py_None); resultobj = Py_None;
21508 return resultobj;
21509 fail:
21510 return NULL;
21511 }
21512
21513
21514 static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *, PyObject *args, PyObject *kwargs) {
21515 PyObject *resultobj;
21516 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21517 bool arg2 ;
21518 PyObject * obj0 = 0 ;
21519 PyObject * obj1 = 0 ;
21520 char *kwnames[] = {
21521 (char *) "self",(char *) "flag", NULL
21522 };
21523
21524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail;
21525 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21526 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21527 arg2 = (bool)SWIG_As_bool(obj1);
21528 if (PyErr_Occurred()) SWIG_fail;
21529 {
21530 PyThreadState* __tstate = wxPyBeginAllowThreads();
21531 (arg1)->EnableSelection(arg2);
21532
21533 wxPyEndAllowThreads(__tstate);
21534 if (PyErr_Occurred()) SWIG_fail;
21535 }
21536 Py_INCREF(Py_None); resultobj = Py_None;
21537 return resultobj;
21538 fail:
21539 return NULL;
21540 }
21541
21542
21543 static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *, PyObject *args, PyObject *kwargs) {
21544 PyObject *resultobj;
21545 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21546 bool arg2 ;
21547 PyObject * obj0 = 0 ;
21548 PyObject * obj1 = 0 ;
21549 char *kwnames[] = {
21550 (char *) "self",(char *) "flag", NULL
21551 };
21552
21553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail;
21554 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21555 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21556 arg2 = (bool)SWIG_As_bool(obj1);
21557 if (PyErr_Occurred()) SWIG_fail;
21558 {
21559 PyThreadState* __tstate = wxPyBeginAllowThreads();
21560 (arg1)->EnablePageNumbers(arg2);
21561
21562 wxPyEndAllowThreads(__tstate);
21563 if (PyErr_Occurred()) SWIG_fail;
21564 }
21565 Py_INCREF(Py_None); resultobj = Py_None;
21566 return resultobj;
21567 fail:
21568 return NULL;
21569 }
21570
21571
21572 static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
21573 PyObject *resultobj;
21574 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21575 bool arg2 ;
21576 PyObject * obj0 = 0 ;
21577 PyObject * obj1 = 0 ;
21578 char *kwnames[] = {
21579 (char *) "self",(char *) "flag", NULL
21580 };
21581
21582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
21583 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21584 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21585 arg2 = (bool)SWIG_As_bool(obj1);
21586 if (PyErr_Occurred()) SWIG_fail;
21587 {
21588 PyThreadState* __tstate = wxPyBeginAllowThreads();
21589 (arg1)->EnableHelp(arg2);
21590
21591 wxPyEndAllowThreads(__tstate);
21592 if (PyErr_Occurred()) SWIG_fail;
21593 }
21594 Py_INCREF(Py_None); resultobj = Py_None;
21595 return resultobj;
21596 fail:
21597 return NULL;
21598 }
21599
21600
21601 static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
21602 PyObject *resultobj;
21603 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21604 bool result;
21605 PyObject * obj0 = 0 ;
21606 char *kwnames[] = {
21607 (char *) "self", NULL
21608 };
21609
21610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail;
21611 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21612 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21613 {
21614 PyThreadState* __tstate = wxPyBeginAllowThreads();
21615 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
21616
21617 wxPyEndAllowThreads(__tstate);
21618 if (PyErr_Occurred()) SWIG_fail;
21619 }
21620 {
21621 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21622 }
21623 return resultobj;
21624 fail:
21625 return NULL;
21626 }
21627
21628
21629 static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *, PyObject *args, PyObject *kwargs) {
21630 PyObject *resultobj;
21631 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21632 bool result;
21633 PyObject * obj0 = 0 ;
21634 char *kwnames[] = {
21635 (char *) "self", NULL
21636 };
21637
21638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail;
21639 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21640 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21641 {
21642 PyThreadState* __tstate = wxPyBeginAllowThreads();
21643 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
21644
21645 wxPyEndAllowThreads(__tstate);
21646 if (PyErr_Occurred()) SWIG_fail;
21647 }
21648 {
21649 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21650 }
21651 return resultobj;
21652 fail:
21653 return NULL;
21654 }
21655
21656
21657 static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *, PyObject *args, PyObject *kwargs) {
21658 PyObject *resultobj;
21659 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21660 bool result;
21661 PyObject * obj0 = 0 ;
21662 char *kwnames[] = {
21663 (char *) "self", NULL
21664 };
21665
21666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail;
21667 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21668 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21669 {
21670 PyThreadState* __tstate = wxPyBeginAllowThreads();
21671 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
21672
21673 wxPyEndAllowThreads(__tstate);
21674 if (PyErr_Occurred()) SWIG_fail;
21675 }
21676 {
21677 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21678 }
21679 return resultobj;
21680 fail:
21681 return NULL;
21682 }
21683
21684
21685 static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
21686 PyObject *resultobj;
21687 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21688 bool result;
21689 PyObject * obj0 = 0 ;
21690 char *kwnames[] = {
21691 (char *) "self", NULL
21692 };
21693
21694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
21695 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21696 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21697 {
21698 PyThreadState* __tstate = wxPyBeginAllowThreads();
21699 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
21700
21701 wxPyEndAllowThreads(__tstate);
21702 if (PyErr_Occurred()) SWIG_fail;
21703 }
21704 {
21705 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21706 }
21707 return resultobj;
21708 fail:
21709 return NULL;
21710 }
21711
21712
21713 static PyObject *_wrap_PrintDialogData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
21714 PyObject *resultobj;
21715 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21716 bool result;
21717 PyObject * obj0 = 0 ;
21718 char *kwnames[] = {
21719 (char *) "self", NULL
21720 };
21721
21722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail;
21723 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21724 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21725 {
21726 PyThreadState* __tstate = wxPyBeginAllowThreads();
21727 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
21728
21729 wxPyEndAllowThreads(__tstate);
21730 if (PyErr_Occurred()) SWIG_fail;
21731 }
21732 {
21733 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21734 }
21735 return resultobj;
21736 fail:
21737 return NULL;
21738 }
21739
21740
21741 static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
21742 PyObject *resultobj;
21743 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21744 wxPrintData *result;
21745 PyObject * obj0 = 0 ;
21746 char *kwnames[] = {
21747 (char *) "self", NULL
21748 };
21749
21750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail;
21751 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21752 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21753 {
21754 PyThreadState* __tstate = wxPyBeginAllowThreads();
21755 {
21756 wxPrintData &_result_ref = (arg1)->GetPrintData();
21757 result = (wxPrintData *) &_result_ref;
21758 }
21759
21760 wxPyEndAllowThreads(__tstate);
21761 if (PyErr_Occurred()) SWIG_fail;
21762 }
21763 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
21764 return resultobj;
21765 fail:
21766 return NULL;
21767 }
21768
21769
21770 static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
21771 PyObject *resultobj;
21772 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21773 wxPrintData *arg2 = 0 ;
21774 PyObject * obj0 = 0 ;
21775 PyObject * obj1 = 0 ;
21776 char *kwnames[] = {
21777 (char *) "self",(char *) "printData", NULL
21778 };
21779
21780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
21781 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21782 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21783 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData,
21784 SWIG_POINTER_EXCEPTION | 0)) == -1)
21785 SWIG_fail;
21786 if (arg2 == NULL) {
21787 PyErr_SetString(PyExc_TypeError,"null reference");
21788 SWIG_fail;
21789 }
21790 {
21791 PyThreadState* __tstate = wxPyBeginAllowThreads();
21792 (arg1)->SetPrintData((wxPrintData const &)*arg2);
21793
21794 wxPyEndAllowThreads(__tstate);
21795 if (PyErr_Occurred()) SWIG_fail;
21796 }
21797 Py_INCREF(Py_None); resultobj = Py_None;
21798 return resultobj;
21799 fail:
21800 return NULL;
21801 }
21802
21803
21804 static PyObject * PrintDialogData_swigregister(PyObject *, PyObject *args) {
21805 PyObject *obj;
21806 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21807 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj);
21808 Py_INCREF(obj);
21809 return Py_BuildValue((char *)"");
21810 }
21811 static PyObject *_wrap_new_PrintDialog(PyObject *, PyObject *args, PyObject *kwargs) {
21812 PyObject *resultobj;
21813 wxWindow *arg1 = (wxWindow *) 0 ;
21814 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
21815 wxPrintDialog *result;
21816 PyObject * obj0 = 0 ;
21817 PyObject * obj1 = 0 ;
21818 char *kwnames[] = {
21819 (char *) "parent",(char *) "data", NULL
21820 };
21821
21822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
21823 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21824 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21825 if (obj1) {
21826 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintDialogData,
21827 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21828 }
21829 {
21830 if (!wxPyCheckForApp()) SWIG_fail;
21831 PyThreadState* __tstate = wxPyBeginAllowThreads();
21832 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
21833
21834 wxPyEndAllowThreads(__tstate);
21835 if (PyErr_Occurred()) SWIG_fail;
21836 }
21837 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialog, 1);
21838 return resultobj;
21839 fail:
21840 return NULL;
21841 }
21842
21843
21844 static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
21845 PyObject *resultobj;
21846 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
21847 wxPrintDialogData *result;
21848 PyObject * obj0 = 0 ;
21849 char *kwnames[] = {
21850 (char *) "self", NULL
21851 };
21852
21853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail;
21854 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
21855 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21856 {
21857 PyThreadState* __tstate = wxPyBeginAllowThreads();
21858 {
21859 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
21860 result = (wxPrintDialogData *) &_result_ref;
21861 }
21862
21863 wxPyEndAllowThreads(__tstate);
21864 if (PyErr_Occurred()) SWIG_fail;
21865 }
21866 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
21867 return resultobj;
21868 fail:
21869 return NULL;
21870 }
21871
21872
21873 static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *, PyObject *args, PyObject *kwargs) {
21874 PyObject *resultobj;
21875 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
21876 wxDC *result;
21877 PyObject * obj0 = 0 ;
21878 char *kwnames[] = {
21879 (char *) "self", NULL
21880 };
21881
21882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail;
21883 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
21884 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21885 {
21886 PyThreadState* __tstate = wxPyBeginAllowThreads();
21887 result = (wxDC *)(arg1)->GetPrintDC();
21888
21889 wxPyEndAllowThreads(__tstate);
21890 if (PyErr_Occurred()) SWIG_fail;
21891 }
21892 {
21893 resultobj = wxPyMake_wxObject(result, 1);
21894 }
21895 return resultobj;
21896 fail:
21897 return NULL;
21898 }
21899
21900
21901 static PyObject *_wrap_PrintDialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
21902 PyObject *resultobj;
21903 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
21904 int result;
21905 PyObject * obj0 = 0 ;
21906 char *kwnames[] = {
21907 (char *) "self", NULL
21908 };
21909
21910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail;
21911 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
21912 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21913 {
21914 PyThreadState* __tstate = wxPyBeginAllowThreads();
21915 result = (int)(arg1)->ShowModal();
21916
21917 wxPyEndAllowThreads(__tstate);
21918 if (PyErr_Occurred()) SWIG_fail;
21919 }
21920 resultobj = SWIG_From_int((int)result);
21921 return resultobj;
21922 fail:
21923 return NULL;
21924 }
21925
21926
21927 static PyObject * PrintDialog_swigregister(PyObject *, PyObject *args) {
21928 PyObject *obj;
21929 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21930 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj);
21931 Py_INCREF(obj);
21932 return Py_BuildValue((char *)"");
21933 }
21934 static PyObject *_wrap_new_Printer(PyObject *, PyObject *args, PyObject *kwargs) {
21935 PyObject *resultobj;
21936 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
21937 wxPrinter *result;
21938 PyObject * obj0 = 0 ;
21939 char *kwnames[] = {
21940 (char *) "data", NULL
21941 };
21942
21943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail;
21944 if (obj0) {
21945 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21946 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21947 }
21948 {
21949 if (!wxPyCheckForApp()) SWIG_fail;
21950 PyThreadState* __tstate = wxPyBeginAllowThreads();
21951 result = (wxPrinter *)new wxPrinter(arg1);
21952
21953 wxPyEndAllowThreads(__tstate);
21954 if (PyErr_Occurred()) SWIG_fail;
21955 }
21956 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrinter, 1);
21957 return resultobj;
21958 fail:
21959 return NULL;
21960 }
21961
21962
21963 static PyObject *_wrap_delete_Printer(PyObject *, PyObject *args, PyObject *kwargs) {
21964 PyObject *resultobj;
21965 wxPrinter *arg1 = (wxPrinter *) 0 ;
21966 PyObject * obj0 = 0 ;
21967 char *kwnames[] = {
21968 (char *) "self", NULL
21969 };
21970
21971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail;
21972 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21973 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21974 {
21975 PyThreadState* __tstate = wxPyBeginAllowThreads();
21976 delete arg1;
21977
21978 wxPyEndAllowThreads(__tstate);
21979 if (PyErr_Occurred()) SWIG_fail;
21980 }
21981 Py_INCREF(Py_None); resultobj = Py_None;
21982 return resultobj;
21983 fail:
21984 return NULL;
21985 }
21986
21987
21988 static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *, PyObject *args, PyObject *kwargs) {
21989 PyObject *resultobj;
21990 wxPrinter *arg1 = (wxPrinter *) 0 ;
21991 wxWindow *arg2 = (wxWindow *) 0 ;
21992 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
21993 PyObject * obj0 = 0 ;
21994 PyObject * obj1 = 0 ;
21995 PyObject * obj2 = 0 ;
21996 char *kwnames[] = {
21997 (char *) "self",(char *) "parent",(char *) "printout", NULL
21998 };
21999
22000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
22001 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
22002 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22003 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
22004 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22005 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
22006 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22007 {
22008 PyThreadState* __tstate = wxPyBeginAllowThreads();
22009 (arg1)->CreateAbortWindow(arg2,arg3);
22010
22011 wxPyEndAllowThreads(__tstate);
22012 if (PyErr_Occurred()) SWIG_fail;
22013 }
22014 Py_INCREF(Py_None); resultobj = Py_None;
22015 return resultobj;
22016 fail:
22017 return NULL;
22018 }
22019
22020
22021 static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
22022 PyObject *resultobj;
22023 wxPrinter *arg1 = (wxPrinter *) 0 ;
22024 wxPrintDialogData *result;
22025 PyObject * obj0 = 0 ;
22026 char *kwnames[] = {
22027 (char *) "self", NULL
22028 };
22029
22030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail;
22031 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
22032 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22033 {
22034 PyThreadState* __tstate = wxPyBeginAllowThreads();
22035 {
22036 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
22037 result = (wxPrintDialogData *) &_result_ref;
22038 }
22039
22040 wxPyEndAllowThreads(__tstate);
22041 if (PyErr_Occurred()) SWIG_fail;
22042 }
22043 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
22044 return resultobj;
22045 fail:
22046 return NULL;
22047 }
22048
22049
22050 static PyObject *_wrap_Printer_Print(PyObject *, PyObject *args, PyObject *kwargs) {
22051 PyObject *resultobj;
22052 wxPrinter *arg1 = (wxPrinter *) 0 ;
22053 wxWindow *arg2 = (wxWindow *) 0 ;
22054 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
22055 int arg4 = (int) True ;
22056 bool result;
22057 PyObject * obj0 = 0 ;
22058 PyObject * obj1 = 0 ;
22059 PyObject * obj2 = 0 ;
22060 PyObject * obj3 = 0 ;
22061 char *kwnames[] = {
22062 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
22063 };
22064
22065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
22066 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
22067 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22068 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
22069 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22070 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
22071 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22072 if (obj3) {
22073 arg4 = (int)SWIG_As_int(obj3);
22074 if (PyErr_Occurred()) SWIG_fail;
22075 }
22076 {
22077 PyThreadState* __tstate = wxPyBeginAllowThreads();
22078 result = (bool)(arg1)->Print(arg2,arg3,arg4);
22079
22080 wxPyEndAllowThreads(__tstate);
22081 if (PyErr_Occurred()) SWIG_fail;
22082 }
22083 {
22084 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22085 }
22086 return resultobj;
22087 fail:
22088 return NULL;
22089 }
22090
22091
22092 static PyObject *_wrap_Printer_PrintDialog(PyObject *, PyObject *args, PyObject *kwargs) {
22093 PyObject *resultobj;
22094 wxPrinter *arg1 = (wxPrinter *) 0 ;
22095 wxWindow *arg2 = (wxWindow *) 0 ;
22096 wxDC *result;
22097 PyObject * obj0 = 0 ;
22098 PyObject * obj1 = 0 ;
22099 char *kwnames[] = {
22100 (char *) "self",(char *) "parent", NULL
22101 };
22102
22103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
22104 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
22105 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22106 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
22107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22108 {
22109 PyThreadState* __tstate = wxPyBeginAllowThreads();
22110 result = (wxDC *)(arg1)->PrintDialog(arg2);
22111
22112 wxPyEndAllowThreads(__tstate);
22113 if (PyErr_Occurred()) SWIG_fail;
22114 }
22115 {
22116 resultobj = wxPyMake_wxObject(result, 0);
22117 }
22118 return resultobj;
22119 fail:
22120 return NULL;
22121 }
22122
22123
22124 static PyObject *_wrap_Printer_ReportError(PyObject *, PyObject *args, PyObject *kwargs) {
22125 PyObject *resultobj;
22126 wxPrinter *arg1 = (wxPrinter *) 0 ;
22127 wxWindow *arg2 = (wxWindow *) 0 ;
22128 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
22129 wxString *arg4 = 0 ;
22130 bool temp4 = False ;
22131 PyObject * obj0 = 0 ;
22132 PyObject * obj1 = 0 ;
22133 PyObject * obj2 = 0 ;
22134 PyObject * obj3 = 0 ;
22135 char *kwnames[] = {
22136 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
22137 };
22138
22139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
22140 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
22141 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22142 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
22143 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22144 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
22145 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22146 {
22147 arg4 = wxString_in_helper(obj3);
22148 if (arg4 == NULL) SWIG_fail;
22149 temp4 = True;
22150 }
22151 {
22152 PyThreadState* __tstate = wxPyBeginAllowThreads();
22153 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
22154
22155 wxPyEndAllowThreads(__tstate);
22156 if (PyErr_Occurred()) SWIG_fail;
22157 }
22158 Py_INCREF(Py_None); resultobj = Py_None;
22159 {
22160 if (temp4)
22161 delete arg4;
22162 }
22163 return resultobj;
22164 fail:
22165 {
22166 if (temp4)
22167 delete arg4;
22168 }
22169 return NULL;
22170 }
22171
22172
22173 static PyObject *_wrap_Printer_Setup(PyObject *, PyObject *args, PyObject *kwargs) {
22174 PyObject *resultobj;
22175 wxPrinter *arg1 = (wxPrinter *) 0 ;
22176 wxWindow *arg2 = (wxWindow *) 0 ;
22177 bool result;
22178 PyObject * obj0 = 0 ;
22179 PyObject * obj1 = 0 ;
22180 char *kwnames[] = {
22181 (char *) "self",(char *) "parent", NULL
22182 };
22183
22184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail;
22185 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
22186 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22187 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
22188 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22189 {
22190 PyThreadState* __tstate = wxPyBeginAllowThreads();
22191 result = (bool)(arg1)->Setup(arg2);
22192
22193 wxPyEndAllowThreads(__tstate);
22194 if (PyErr_Occurred()) SWIG_fail;
22195 }
22196 {
22197 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22198 }
22199 return resultobj;
22200 fail:
22201 return NULL;
22202 }
22203
22204
22205 static PyObject *_wrap_Printer_GetAbort(PyObject *, PyObject *args, PyObject *kwargs) {
22206 PyObject *resultobj;
22207 wxPrinter *arg1 = (wxPrinter *) 0 ;
22208 bool result;
22209 PyObject * obj0 = 0 ;
22210 char *kwnames[] = {
22211 (char *) "self", NULL
22212 };
22213
22214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail;
22215 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
22216 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22217 {
22218 PyThreadState* __tstate = wxPyBeginAllowThreads();
22219 result = (bool)(arg1)->GetAbort();
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_GetLastError(PyObject *, PyObject *args, PyObject *kwargs) {
22234 PyObject *resultobj;
22235 int result;
22236 char *kwnames[] = {
22237 NULL
22238 };
22239
22240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail;
22241 {
22242 PyThreadState* __tstate = wxPyBeginAllowThreads();
22243 result = (int)wxPrinter::GetLastError();
22244
22245 wxPyEndAllowThreads(__tstate);
22246 if (PyErr_Occurred()) SWIG_fail;
22247 }
22248 resultobj = SWIG_From_int((int)result);
22249 return resultobj;
22250 fail:
22251 return NULL;
22252 }
22253
22254
22255 static PyObject * Printer_swigregister(PyObject *, PyObject *args) {
22256 PyObject *obj;
22257 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22258 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj);
22259 Py_INCREF(obj);
22260 return Py_BuildValue((char *)"");
22261 }
22262 static PyObject *_wrap_new_Printout(PyObject *, PyObject *args, PyObject *kwargs) {
22263 PyObject *resultobj;
22264 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
22265 wxString *arg1 = (wxString *) &arg1_defvalue ;
22266 wxPyPrintout *result;
22267 bool temp1 = False ;
22268 PyObject * obj0 = 0 ;
22269 char *kwnames[] = {
22270 (char *) "title", NULL
22271 };
22272
22273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail;
22274 if (obj0) {
22275 {
22276 arg1 = wxString_in_helper(obj0);
22277 if (arg1 == NULL) SWIG_fail;
22278 temp1 = True;
22279 }
22280 }
22281 {
22282 if (!wxPyCheckForApp()) SWIG_fail;
22283 PyThreadState* __tstate = wxPyBeginAllowThreads();
22284 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
22285
22286 wxPyEndAllowThreads(__tstate);
22287 if (PyErr_Occurred()) SWIG_fail;
22288 }
22289 {
22290 resultobj = wxPyMake_wxObject(result, 1);
22291 }
22292 {
22293 if (temp1)
22294 delete arg1;
22295 }
22296 return resultobj;
22297 fail:
22298 {
22299 if (temp1)
22300 delete arg1;
22301 }
22302 return NULL;
22303 }
22304
22305
22306 static PyObject *_wrap_Printout__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
22307 PyObject *resultobj;
22308 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22309 PyObject *arg2 = (PyObject *) 0 ;
22310 PyObject *arg3 = (PyObject *) 0 ;
22311 PyObject * obj0 = 0 ;
22312 PyObject * obj1 = 0 ;
22313 PyObject * obj2 = 0 ;
22314 char *kwnames[] = {
22315 (char *) "self",(char *) "self",(char *) "_class", NULL
22316 };
22317
22318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
22319 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22320 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22321 arg2 = obj1;
22322 arg3 = obj2;
22323 {
22324 PyThreadState* __tstate = wxPyBeginAllowThreads();
22325 (arg1)->_setCallbackInfo(arg2,arg3);
22326
22327 wxPyEndAllowThreads(__tstate);
22328 if (PyErr_Occurred()) SWIG_fail;
22329 }
22330 Py_INCREF(Py_None); resultobj = Py_None;
22331 return resultobj;
22332 fail:
22333 return NULL;
22334 }
22335
22336
22337 static PyObject *_wrap_Printout_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
22338 PyObject *resultobj;
22339 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22340 wxString result;
22341 PyObject * obj0 = 0 ;
22342 char *kwnames[] = {
22343 (char *) "self", NULL
22344 };
22345
22346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail;
22347 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22348 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22349 {
22350 PyThreadState* __tstate = wxPyBeginAllowThreads();
22351 result = ((wxPyPrintout const *)arg1)->GetTitle();
22352
22353 wxPyEndAllowThreads(__tstate);
22354 if (PyErr_Occurred()) SWIG_fail;
22355 }
22356 {
22357 #if wxUSE_UNICODE
22358 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
22359 #else
22360 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
22361 #endif
22362 }
22363 return resultobj;
22364 fail:
22365 return NULL;
22366 }
22367
22368
22369 static PyObject *_wrap_Printout_GetDC(PyObject *, PyObject *args, PyObject *kwargs) {
22370 PyObject *resultobj;
22371 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22372 wxDC *result;
22373 PyObject * obj0 = 0 ;
22374 char *kwnames[] = {
22375 (char *) "self", NULL
22376 };
22377
22378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail;
22379 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22380 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22381 {
22382 PyThreadState* __tstate = wxPyBeginAllowThreads();
22383 result = (wxDC *)(arg1)->GetDC();
22384
22385 wxPyEndAllowThreads(__tstate);
22386 if (PyErr_Occurred()) SWIG_fail;
22387 }
22388 {
22389 resultobj = wxPyMake_wxObject(result, 0);
22390 }
22391 return resultobj;
22392 fail:
22393 return NULL;
22394 }
22395
22396
22397 static PyObject *_wrap_Printout_SetDC(PyObject *, PyObject *args, PyObject *kwargs) {
22398 PyObject *resultobj;
22399 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22400 wxDC *arg2 = (wxDC *) 0 ;
22401 PyObject * obj0 = 0 ;
22402 PyObject * obj1 = 0 ;
22403 char *kwnames[] = {
22404 (char *) "self",(char *) "dc", NULL
22405 };
22406
22407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail;
22408 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22409 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22410 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
22411 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22412 {
22413 PyThreadState* __tstate = wxPyBeginAllowThreads();
22414 (arg1)->SetDC(arg2);
22415
22416 wxPyEndAllowThreads(__tstate);
22417 if (PyErr_Occurred()) SWIG_fail;
22418 }
22419 Py_INCREF(Py_None); resultobj = Py_None;
22420 return resultobj;
22421 fail:
22422 return NULL;
22423 }
22424
22425
22426 static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *, PyObject *args, PyObject *kwargs) {
22427 PyObject *resultobj;
22428 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22429 int arg2 ;
22430 int arg3 ;
22431 PyObject * obj0 = 0 ;
22432 PyObject * obj1 = 0 ;
22433 PyObject * obj2 = 0 ;
22434 char *kwnames[] = {
22435 (char *) "self",(char *) "w",(char *) "h", NULL
22436 };
22437
22438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) goto fail;
22439 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22440 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22441 arg2 = (int)SWIG_As_int(obj1);
22442 if (PyErr_Occurred()) SWIG_fail;
22443 arg3 = (int)SWIG_As_int(obj2);
22444 if (PyErr_Occurred()) SWIG_fail;
22445 {
22446 PyThreadState* __tstate = wxPyBeginAllowThreads();
22447 (arg1)->SetPageSizePixels(arg2,arg3);
22448
22449 wxPyEndAllowThreads(__tstate);
22450 if (PyErr_Occurred()) SWIG_fail;
22451 }
22452 Py_INCREF(Py_None); resultobj = Py_None;
22453 return resultobj;
22454 fail:
22455 return NULL;
22456 }
22457
22458
22459 static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *, PyObject *args, PyObject *kwargs) {
22460 PyObject *resultobj;
22461 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22462 int *arg2 = (int *) 0 ;
22463 int *arg3 = (int *) 0 ;
22464 int temp2 ;
22465 int res2 = 0 ;
22466 int temp3 ;
22467 int res3 = 0 ;
22468 PyObject * obj0 = 0 ;
22469 char *kwnames[] = {
22470 (char *) "self", NULL
22471 };
22472
22473 arg2 = &temp2; res2 = SWIG_NEWOBJ;
22474 arg3 = &temp3; res3 = SWIG_NEWOBJ;
22475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail;
22476 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22477 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22478 {
22479 PyThreadState* __tstate = wxPyBeginAllowThreads();
22480 (arg1)->GetPageSizePixels(arg2,arg3);
22481
22482 wxPyEndAllowThreads(__tstate);
22483 if (PyErr_Occurred()) SWIG_fail;
22484 }
22485 Py_INCREF(Py_None); resultobj = Py_None;
22486 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
22487 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
22488 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
22489 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
22490 return resultobj;
22491 fail:
22492 return NULL;
22493 }
22494
22495
22496 static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
22497 PyObject *resultobj;
22498 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22499 int arg2 ;
22500 int arg3 ;
22501 PyObject * obj0 = 0 ;
22502 PyObject * obj1 = 0 ;
22503 PyObject * obj2 = 0 ;
22504 char *kwnames[] = {
22505 (char *) "self",(char *) "w",(char *) "h", NULL
22506 };
22507
22508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) goto fail;
22509 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22510 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22511 arg2 = (int)SWIG_As_int(obj1);
22512 if (PyErr_Occurred()) SWIG_fail;
22513 arg3 = (int)SWIG_As_int(obj2);
22514 if (PyErr_Occurred()) SWIG_fail;
22515 {
22516 PyThreadState* __tstate = wxPyBeginAllowThreads();
22517 (arg1)->SetPageSizeMM(arg2,arg3);
22518
22519 wxPyEndAllowThreads(__tstate);
22520 if (PyErr_Occurred()) SWIG_fail;
22521 }
22522 Py_INCREF(Py_None); resultobj = Py_None;
22523 return resultobj;
22524 fail:
22525 return NULL;
22526 }
22527
22528
22529 static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
22530 PyObject *resultobj;
22531 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22532 int *arg2 = (int *) 0 ;
22533 int *arg3 = (int *) 0 ;
22534 int temp2 ;
22535 int res2 = 0 ;
22536 int temp3 ;
22537 int res3 = 0 ;
22538 PyObject * obj0 = 0 ;
22539 char *kwnames[] = {
22540 (char *) "self", NULL
22541 };
22542
22543 arg2 = &temp2; res2 = SWIG_NEWOBJ;
22544 arg3 = &temp3; res3 = SWIG_NEWOBJ;
22545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail;
22546 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22547 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22548 {
22549 PyThreadState* __tstate = wxPyBeginAllowThreads();
22550 (arg1)->GetPageSizeMM(arg2,arg3);
22551
22552 wxPyEndAllowThreads(__tstate);
22553 if (PyErr_Occurred()) SWIG_fail;
22554 }
22555 Py_INCREF(Py_None); resultobj = Py_None;
22556 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
22557 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
22558 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
22559 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
22560 return resultobj;
22561 fail:
22562 return NULL;
22563 }
22564
22565
22566 static PyObject *_wrap_Printout_SetPPIScreen(PyObject *, PyObject *args, PyObject *kwargs) {
22567 PyObject *resultobj;
22568 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22569 int arg2 ;
22570 int arg3 ;
22571 PyObject * obj0 = 0 ;
22572 PyObject * obj1 = 0 ;
22573 PyObject * obj2 = 0 ;
22574 char *kwnames[] = {
22575 (char *) "self",(char *) "x",(char *) "y", NULL
22576 };
22577
22578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
22579 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22580 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22581 arg2 = (int)SWIG_As_int(obj1);
22582 if (PyErr_Occurred()) SWIG_fail;
22583 arg3 = (int)SWIG_As_int(obj2);
22584 if (PyErr_Occurred()) SWIG_fail;
22585 {
22586 PyThreadState* __tstate = wxPyBeginAllowThreads();
22587 (arg1)->SetPPIScreen(arg2,arg3);
22588
22589 wxPyEndAllowThreads(__tstate);
22590 if (PyErr_Occurred()) SWIG_fail;
22591 }
22592 Py_INCREF(Py_None); resultobj = Py_None;
22593 return resultobj;
22594 fail:
22595 return NULL;
22596 }
22597
22598
22599 static PyObject *_wrap_Printout_GetPPIScreen(PyObject *, PyObject *args, PyObject *kwargs) {
22600 PyObject *resultobj;
22601 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22602 int *arg2 = (int *) 0 ;
22603 int *arg3 = (int *) 0 ;
22604 int temp2 ;
22605 int res2 = 0 ;
22606 int temp3 ;
22607 int res3 = 0 ;
22608 PyObject * obj0 = 0 ;
22609 char *kwnames[] = {
22610 (char *) "self", NULL
22611 };
22612
22613 arg2 = &temp2; res2 = SWIG_NEWOBJ;
22614 arg3 = &temp3; res3 = SWIG_NEWOBJ;
22615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",kwnames,&obj0)) goto fail;
22616 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22617 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22618 {
22619 PyThreadState* __tstate = wxPyBeginAllowThreads();
22620 (arg1)->GetPPIScreen(arg2,arg3);
22621
22622 wxPyEndAllowThreads(__tstate);
22623 if (PyErr_Occurred()) SWIG_fail;
22624 }
22625 Py_INCREF(Py_None); resultobj = Py_None;
22626 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
22627 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
22628 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
22629 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
22630 return resultobj;
22631 fail:
22632 return NULL;
22633 }
22634
22635
22636 static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *, PyObject *args, PyObject *kwargs) {
22637 PyObject *resultobj;
22638 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22639 int arg2 ;
22640 int arg3 ;
22641 PyObject * obj0 = 0 ;
22642 PyObject * obj1 = 0 ;
22643 PyObject * obj2 = 0 ;
22644 char *kwnames[] = {
22645 (char *) "self",(char *) "x",(char *) "y", NULL
22646 };
22647
22648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) goto fail;
22649 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22650 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22651 arg2 = (int)SWIG_As_int(obj1);
22652 if (PyErr_Occurred()) SWIG_fail;
22653 arg3 = (int)SWIG_As_int(obj2);
22654 if (PyErr_Occurred()) SWIG_fail;
22655 {
22656 PyThreadState* __tstate = wxPyBeginAllowThreads();
22657 (arg1)->SetPPIPrinter(arg2,arg3);
22658
22659 wxPyEndAllowThreads(__tstate);
22660 if (PyErr_Occurred()) SWIG_fail;
22661 }
22662 Py_INCREF(Py_None); resultobj = Py_None;
22663 return resultobj;
22664 fail:
22665 return NULL;
22666 }
22667
22668
22669 static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *, PyObject *args, PyObject *kwargs) {
22670 PyObject *resultobj;
22671 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22672 int *arg2 = (int *) 0 ;
22673 int *arg3 = (int *) 0 ;
22674 int temp2 ;
22675 int res2 = 0 ;
22676 int temp3 ;
22677 int res3 = 0 ;
22678 PyObject * obj0 = 0 ;
22679 char *kwnames[] = {
22680 (char *) "self", NULL
22681 };
22682
22683 arg2 = &temp2; res2 = SWIG_NEWOBJ;
22684 arg3 = &temp3; res3 = SWIG_NEWOBJ;
22685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail;
22686 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22687 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22688 {
22689 PyThreadState* __tstate = wxPyBeginAllowThreads();
22690 (arg1)->GetPPIPrinter(arg2,arg3);
22691
22692 wxPyEndAllowThreads(__tstate);
22693 if (PyErr_Occurred()) SWIG_fail;
22694 }
22695 Py_INCREF(Py_None); resultobj = Py_None;
22696 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
22697 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
22698 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
22699 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
22700 return resultobj;
22701 fail:
22702 return NULL;
22703 }
22704
22705
22706 static PyObject *_wrap_Printout_IsPreview(PyObject *, PyObject *args, PyObject *kwargs) {
22707 PyObject *resultobj;
22708 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22709 bool result;
22710 PyObject * obj0 = 0 ;
22711 char *kwnames[] = {
22712 (char *) "self", NULL
22713 };
22714
22715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail;
22716 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22717 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22718 {
22719 PyThreadState* __tstate = wxPyBeginAllowThreads();
22720 result = (bool)(arg1)->IsPreview();
22721
22722 wxPyEndAllowThreads(__tstate);
22723 if (PyErr_Occurred()) SWIG_fail;
22724 }
22725 {
22726 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22727 }
22728 return resultobj;
22729 fail:
22730 return NULL;
22731 }
22732
22733
22734 static PyObject *_wrap_Printout_SetIsPreview(PyObject *, PyObject *args, PyObject *kwargs) {
22735 PyObject *resultobj;
22736 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22737 bool arg2 ;
22738 PyObject * obj0 = 0 ;
22739 PyObject * obj1 = 0 ;
22740 char *kwnames[] = {
22741 (char *) "self",(char *) "p", NULL
22742 };
22743
22744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail;
22745 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22746 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22747 arg2 = (bool)SWIG_As_bool(obj1);
22748 if (PyErr_Occurred()) SWIG_fail;
22749 {
22750 PyThreadState* __tstate = wxPyBeginAllowThreads();
22751 (arg1)->SetIsPreview(arg2);
22752
22753 wxPyEndAllowThreads(__tstate);
22754 if (PyErr_Occurred()) SWIG_fail;
22755 }
22756 Py_INCREF(Py_None); resultobj = Py_None;
22757 return resultobj;
22758 fail:
22759 return NULL;
22760 }
22761
22762
22763 static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *, PyObject *args, PyObject *kwargs) {
22764 PyObject *resultobj;
22765 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22766 int arg2 ;
22767 int arg3 ;
22768 bool result;
22769 PyObject * obj0 = 0 ;
22770 PyObject * obj1 = 0 ;
22771 PyObject * obj2 = 0 ;
22772 char *kwnames[] = {
22773 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
22774 };
22775
22776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_base_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) goto fail;
22777 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22778 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22779 arg2 = (int)SWIG_As_int(obj1);
22780 if (PyErr_Occurred()) SWIG_fail;
22781 arg3 = (int)SWIG_As_int(obj2);
22782 if (PyErr_Occurred()) SWIG_fail;
22783 {
22784 PyThreadState* __tstate = wxPyBeginAllowThreads();
22785 result = (bool)(arg1)->base_OnBeginDocument(arg2,arg3);
22786
22787 wxPyEndAllowThreads(__tstate);
22788 if (PyErr_Occurred()) SWIG_fail;
22789 }
22790 {
22791 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22792 }
22793 return resultobj;
22794 fail:
22795 return NULL;
22796 }
22797
22798
22799 static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *, PyObject *args, PyObject *kwargs) {
22800 PyObject *resultobj;
22801 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22802 PyObject * obj0 = 0 ;
22803 char *kwnames[] = {
22804 (char *) "self", NULL
22805 };
22806
22807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndDocument",kwnames,&obj0)) goto fail;
22808 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22809 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22810 {
22811 PyThreadState* __tstate = wxPyBeginAllowThreads();
22812 (arg1)->base_OnEndDocument();
22813
22814 wxPyEndAllowThreads(__tstate);
22815 if (PyErr_Occurred()) SWIG_fail;
22816 }
22817 Py_INCREF(Py_None); resultobj = Py_None;
22818 return resultobj;
22819 fail:
22820 return NULL;
22821 }
22822
22823
22824 static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
22825 PyObject *resultobj;
22826 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22827 PyObject * obj0 = 0 ;
22828 char *kwnames[] = {
22829 (char *) "self", NULL
22830 };
22831
22832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnBeginPrinting",kwnames,&obj0)) goto fail;
22833 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22834 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22835 {
22836 PyThreadState* __tstate = wxPyBeginAllowThreads();
22837 (arg1)->base_OnBeginPrinting();
22838
22839 wxPyEndAllowThreads(__tstate);
22840 if (PyErr_Occurred()) SWIG_fail;
22841 }
22842 Py_INCREF(Py_None); resultobj = Py_None;
22843 return resultobj;
22844 fail:
22845 return NULL;
22846 }
22847
22848
22849 static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
22850 PyObject *resultobj;
22851 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22852 PyObject * obj0 = 0 ;
22853 char *kwnames[] = {
22854 (char *) "self", NULL
22855 };
22856
22857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndPrinting",kwnames,&obj0)) goto fail;
22858 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22859 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22860 {
22861 PyThreadState* __tstate = wxPyBeginAllowThreads();
22862 (arg1)->base_OnEndPrinting();
22863
22864 wxPyEndAllowThreads(__tstate);
22865 if (PyErr_Occurred()) SWIG_fail;
22866 }
22867 Py_INCREF(Py_None); resultobj = Py_None;
22868 return resultobj;
22869 fail:
22870 return NULL;
22871 }
22872
22873
22874 static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *, PyObject *args, PyObject *kwargs) {
22875 PyObject *resultobj;
22876 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22877 PyObject * obj0 = 0 ;
22878 char *kwnames[] = {
22879 (char *) "self", NULL
22880 };
22881
22882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnPreparePrinting",kwnames,&obj0)) goto fail;
22883 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22884 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22885 {
22886 PyThreadState* __tstate = wxPyBeginAllowThreads();
22887 (arg1)->base_OnPreparePrinting();
22888
22889 wxPyEndAllowThreads(__tstate);
22890 if (PyErr_Occurred()) SWIG_fail;
22891 }
22892 Py_INCREF(Py_None); resultobj = Py_None;
22893 return resultobj;
22894 fail:
22895 return NULL;
22896 }
22897
22898
22899 static PyObject *_wrap_Printout_base_HasPage(PyObject *, PyObject *args, PyObject *kwargs) {
22900 PyObject *resultobj;
22901 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22902 int arg2 ;
22903 bool result;
22904 PyObject * obj0 = 0 ;
22905 PyObject * obj1 = 0 ;
22906 char *kwnames[] = {
22907 (char *) "self",(char *) "page", NULL
22908 };
22909
22910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_base_HasPage",kwnames,&obj0,&obj1)) goto fail;
22911 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22912 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22913 arg2 = (int)SWIG_As_int(obj1);
22914 if (PyErr_Occurred()) SWIG_fail;
22915 {
22916 PyThreadState* __tstate = wxPyBeginAllowThreads();
22917 result = (bool)(arg1)->base_HasPage(arg2);
22918
22919 wxPyEndAllowThreads(__tstate);
22920 if (PyErr_Occurred()) SWIG_fail;
22921 }
22922 {
22923 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22924 }
22925 return resultobj;
22926 fail:
22927 return NULL;
22928 }
22929
22930
22931 static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *, PyObject *args, PyObject *kwargs) {
22932 PyObject *resultobj;
22933 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22934 int *arg2 = (int *) 0 ;
22935 int *arg3 = (int *) 0 ;
22936 int *arg4 = (int *) 0 ;
22937 int *arg5 = (int *) 0 ;
22938 int temp2 ;
22939 int res2 = 0 ;
22940 int temp3 ;
22941 int res3 = 0 ;
22942 int temp4 ;
22943 int res4 = 0 ;
22944 int temp5 ;
22945 int res5 = 0 ;
22946 PyObject * obj0 = 0 ;
22947 char *kwnames[] = {
22948 (char *) "self", NULL
22949 };
22950
22951 arg2 = &temp2; res2 = SWIG_NEWOBJ;
22952 arg3 = &temp3; res3 = SWIG_NEWOBJ;
22953 arg4 = &temp4; res4 = SWIG_NEWOBJ;
22954 arg5 = &temp5; res5 = SWIG_NEWOBJ;
22955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_GetPageInfo",kwnames,&obj0)) goto fail;
22956 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22957 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22958 {
22959 PyThreadState* __tstate = wxPyBeginAllowThreads();
22960 (arg1)->base_GetPageInfo(arg2,arg3,arg4,arg5);
22961
22962 wxPyEndAllowThreads(__tstate);
22963 if (PyErr_Occurred()) SWIG_fail;
22964 }
22965 Py_INCREF(Py_None); resultobj = Py_None;
22966 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
22967 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
22968 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
22969 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
22970 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
22971 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
22972 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
22973 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
22974 return resultobj;
22975 fail:
22976 return NULL;
22977 }
22978
22979
22980 static PyObject * Printout_swigregister(PyObject *, PyObject *args) {
22981 PyObject *obj;
22982 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22983 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj);
22984 Py_INCREF(obj);
22985 return Py_BuildValue((char *)"");
22986 }
22987 static PyObject *_wrap_new_PreviewCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
22988 PyObject *resultobj;
22989 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22990 wxWindow *arg2 = (wxWindow *) 0 ;
22991 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22992 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22993 wxSize const &arg4_defvalue = wxDefaultSize ;
22994 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22995 long arg5 = (long) 0 ;
22996 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
22997 wxString *arg6 = (wxString *) &arg6_defvalue ;
22998 wxPreviewCanvas *result;
22999 wxPoint temp3 ;
23000 wxSize temp4 ;
23001 bool temp6 = False ;
23002 PyObject * obj0 = 0 ;
23003 PyObject * obj1 = 0 ;
23004 PyObject * obj2 = 0 ;
23005 PyObject * obj3 = 0 ;
23006 PyObject * obj4 = 0 ;
23007 PyObject * obj5 = 0 ;
23008 char *kwnames[] = {
23009 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23010 };
23011
23012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
23013 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23014 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23015 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
23016 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23017 if (obj2) {
23018 {
23019 arg3 = &temp3;
23020 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
23021 }
23022 }
23023 if (obj3) {
23024 {
23025 arg4 = &temp4;
23026 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
23027 }
23028 }
23029 if (obj4) {
23030 arg5 = (long)SWIG_As_long(obj4);
23031 if (PyErr_Occurred()) SWIG_fail;
23032 }
23033 if (obj5) {
23034 {
23035 arg6 = wxString_in_helper(obj5);
23036 if (arg6 == NULL) SWIG_fail;
23037 temp6 = True;
23038 }
23039 }
23040 {
23041 if (!wxPyCheckForApp()) SWIG_fail;
23042 PyThreadState* __tstate = wxPyBeginAllowThreads();
23043 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
23044
23045 wxPyEndAllowThreads(__tstate);
23046 if (PyErr_Occurred()) SWIG_fail;
23047 }
23048 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 1);
23049 {
23050 if (temp6)
23051 delete arg6;
23052 }
23053 return resultobj;
23054 fail:
23055 {
23056 if (temp6)
23057 delete arg6;
23058 }
23059 return NULL;
23060 }
23061
23062
23063 static PyObject * PreviewCanvas_swigregister(PyObject *, PyObject *args) {
23064 PyObject *obj;
23065 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23066 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj);
23067 Py_INCREF(obj);
23068 return Py_BuildValue((char *)"");
23069 }
23070 static PyObject *_wrap_new_PreviewFrame(PyObject *, PyObject *args, PyObject *kwargs) {
23071 PyObject *resultobj;
23072 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23073 wxFrame *arg2 = (wxFrame *) 0 ;
23074 wxString *arg3 = 0 ;
23075 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23076 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23077 wxSize const &arg5_defvalue = wxDefaultSize ;
23078 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23079 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
23080 wxString const &arg7_defvalue = wxPyFrameNameStr ;
23081 wxString *arg7 = (wxString *) &arg7_defvalue ;
23082 wxPreviewFrame *result;
23083 bool temp3 = False ;
23084 wxPoint temp4 ;
23085 wxSize temp5 ;
23086 bool temp7 = False ;
23087 PyObject * obj0 = 0 ;
23088 PyObject * obj1 = 0 ;
23089 PyObject * obj2 = 0 ;
23090 PyObject * obj3 = 0 ;
23091 PyObject * obj4 = 0 ;
23092 PyObject * obj5 = 0 ;
23093 PyObject * obj6 = 0 ;
23094 char *kwnames[] = {
23095 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23096 };
23097
23098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
23099 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23100 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23101 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
23102 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23103 {
23104 arg3 = wxString_in_helper(obj2);
23105 if (arg3 == NULL) SWIG_fail;
23106 temp3 = True;
23107 }
23108 if (obj3) {
23109 {
23110 arg4 = &temp4;
23111 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23112 }
23113 }
23114 if (obj4) {
23115 {
23116 arg5 = &temp5;
23117 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23118 }
23119 }
23120 if (obj5) {
23121 arg6 = (long)SWIG_As_long(obj5);
23122 if (PyErr_Occurred()) SWIG_fail;
23123 }
23124 if (obj6) {
23125 {
23126 arg7 = wxString_in_helper(obj6);
23127 if (arg7 == NULL) SWIG_fail;
23128 temp7 = True;
23129 }
23130 }
23131 {
23132 if (!wxPyCheckForApp()) SWIG_fail;
23133 PyThreadState* __tstate = wxPyBeginAllowThreads();
23134 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
23135
23136 wxPyEndAllowThreads(__tstate);
23137 if (PyErr_Occurred()) SWIG_fail;
23138 }
23139 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewFrame, 1);
23140 {
23141 if (temp3)
23142 delete arg3;
23143 }
23144 {
23145 if (temp7)
23146 delete arg7;
23147 }
23148 return resultobj;
23149 fail:
23150 {
23151 if (temp3)
23152 delete arg3;
23153 }
23154 {
23155 if (temp7)
23156 delete arg7;
23157 }
23158 return NULL;
23159 }
23160
23161
23162 static PyObject *_wrap_PreviewFrame_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
23163 PyObject *resultobj;
23164 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
23165 PyObject * obj0 = 0 ;
23166 char *kwnames[] = {
23167 (char *) "self", NULL
23168 };
23169
23170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail;
23171 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
23172 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23173 {
23174 PyThreadState* __tstate = wxPyBeginAllowThreads();
23175 (arg1)->Initialize();
23176
23177 wxPyEndAllowThreads(__tstate);
23178 if (PyErr_Occurred()) SWIG_fail;
23179 }
23180 Py_INCREF(Py_None); resultobj = Py_None;
23181 return resultobj;
23182 fail:
23183 return NULL;
23184 }
23185
23186
23187 static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
23188 PyObject *resultobj;
23189 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
23190 PyObject * obj0 = 0 ;
23191 char *kwnames[] = {
23192 (char *) "self", NULL
23193 };
23194
23195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail;
23196 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
23197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23198 {
23199 PyThreadState* __tstate = wxPyBeginAllowThreads();
23200 (arg1)->CreateControlBar();
23201
23202 wxPyEndAllowThreads(__tstate);
23203 if (PyErr_Occurred()) SWIG_fail;
23204 }
23205 Py_INCREF(Py_None); resultobj = Py_None;
23206 return resultobj;
23207 fail:
23208 return NULL;
23209 }
23210
23211
23212 static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
23213 PyObject *resultobj;
23214 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
23215 PyObject * obj0 = 0 ;
23216 char *kwnames[] = {
23217 (char *) "self", NULL
23218 };
23219
23220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail;
23221 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
23222 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23223 {
23224 PyThreadState* __tstate = wxPyBeginAllowThreads();
23225 (arg1)->CreateCanvas();
23226
23227 wxPyEndAllowThreads(__tstate);
23228 if (PyErr_Occurred()) SWIG_fail;
23229 }
23230 Py_INCREF(Py_None); resultobj = Py_None;
23231 return resultobj;
23232 fail:
23233 return NULL;
23234 }
23235
23236
23237 static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
23238 PyObject *resultobj;
23239 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
23240 wxPreviewControlBar *result;
23241 PyObject * obj0 = 0 ;
23242 char *kwnames[] = {
23243 (char *) "self", NULL
23244 };
23245
23246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail;
23247 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
23248 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23249 {
23250 PyThreadState* __tstate = wxPyBeginAllowThreads();
23251 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
23252
23253 wxPyEndAllowThreads(__tstate);
23254 if (PyErr_Occurred()) SWIG_fail;
23255 }
23256 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 0);
23257 return resultobj;
23258 fail:
23259 return NULL;
23260 }
23261
23262
23263 static PyObject * PreviewFrame_swigregister(PyObject *, PyObject *args) {
23264 PyObject *obj;
23265 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23266 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj);
23267 Py_INCREF(obj);
23268 return Py_BuildValue((char *)"");
23269 }
23270 static PyObject *_wrap_new_PreviewControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
23271 PyObject *resultobj;
23272 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23273 long arg2 ;
23274 wxWindow *arg3 = (wxWindow *) 0 ;
23275 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23276 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23277 wxSize const &arg5_defvalue = wxDefaultSize ;
23278 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23279 long arg6 = (long) wxTAB_TRAVERSAL ;
23280 wxString const &arg7_defvalue = wxPyPanelNameStr ;
23281 wxString *arg7 = (wxString *) &arg7_defvalue ;
23282 wxPreviewControlBar *result;
23283 wxPoint temp4 ;
23284 wxSize temp5 ;
23285 bool temp7 = False ;
23286 PyObject * obj0 = 0 ;
23287 PyObject * obj1 = 0 ;
23288 PyObject * obj2 = 0 ;
23289 PyObject * obj3 = 0 ;
23290 PyObject * obj4 = 0 ;
23291 PyObject * obj5 = 0 ;
23292 PyObject * obj6 = 0 ;
23293 char *kwnames[] = {
23294 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23295 };
23296
23297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
23298 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23299 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23300 arg2 = (long)SWIG_As_long(obj1);
23301 if (PyErr_Occurred()) SWIG_fail;
23302 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
23303 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23304 if (obj3) {
23305 {
23306 arg4 = &temp4;
23307 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23308 }
23309 }
23310 if (obj4) {
23311 {
23312 arg5 = &temp5;
23313 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23314 }
23315 }
23316 if (obj5) {
23317 arg6 = (long)SWIG_As_long(obj5);
23318 if (PyErr_Occurred()) SWIG_fail;
23319 }
23320 if (obj6) {
23321 {
23322 arg7 = wxString_in_helper(obj6);
23323 if (arg7 == NULL) SWIG_fail;
23324 temp7 = True;
23325 }
23326 }
23327 {
23328 if (!wxPyCheckForApp()) SWIG_fail;
23329 PyThreadState* __tstate = wxPyBeginAllowThreads();
23330 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
23331
23332 wxPyEndAllowThreads(__tstate);
23333 if (PyErr_Occurred()) SWIG_fail;
23334 }
23335 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 1);
23336 {
23337 if (temp7)
23338 delete arg7;
23339 }
23340 return resultobj;
23341 fail:
23342 {
23343 if (temp7)
23344 delete arg7;
23345 }
23346 return NULL;
23347 }
23348
23349
23350 static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
23351 PyObject *resultobj;
23352 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23353 int result;
23354 PyObject * obj0 = 0 ;
23355 char *kwnames[] = {
23356 (char *) "self", NULL
23357 };
23358
23359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail;
23360 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23361 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23362 {
23363 PyThreadState* __tstate = wxPyBeginAllowThreads();
23364 result = (int)(arg1)->GetZoomControl();
23365
23366 wxPyEndAllowThreads(__tstate);
23367 if (PyErr_Occurred()) SWIG_fail;
23368 }
23369 resultobj = SWIG_From_int((int)result);
23370 return resultobj;
23371 fail:
23372 return NULL;
23373 }
23374
23375
23376 static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
23377 PyObject *resultobj;
23378 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23379 int arg2 ;
23380 PyObject * obj0 = 0 ;
23381 PyObject * obj1 = 0 ;
23382 char *kwnames[] = {
23383 (char *) "self",(char *) "zoom", NULL
23384 };
23385
23386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
23387 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23388 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23389 arg2 = (int)SWIG_As_int(obj1);
23390 if (PyErr_Occurred()) SWIG_fail;
23391 {
23392 PyThreadState* __tstate = wxPyBeginAllowThreads();
23393 (arg1)->SetZoomControl(arg2);
23394
23395 wxPyEndAllowThreads(__tstate);
23396 if (PyErr_Occurred()) SWIG_fail;
23397 }
23398 Py_INCREF(Py_None); resultobj = Py_None;
23399 return resultobj;
23400 fail:
23401 return NULL;
23402 }
23403
23404
23405 static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *, PyObject *args, PyObject *kwargs) {
23406 PyObject *resultobj;
23407 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23408 wxPrintPreview *result;
23409 PyObject * obj0 = 0 ;
23410 char *kwnames[] = {
23411 (char *) "self", NULL
23412 };
23413
23414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail;
23415 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23416 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23417 {
23418 PyThreadState* __tstate = wxPyBeginAllowThreads();
23419 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
23420
23421 wxPyEndAllowThreads(__tstate);
23422 if (PyErr_Occurred()) SWIG_fail;
23423 }
23424 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 0);
23425 return resultobj;
23426 fail:
23427 return NULL;
23428 }
23429
23430
23431 static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *, PyObject *args, PyObject *kwargs) {
23432 PyObject *resultobj;
23433 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23434 PyObject * obj0 = 0 ;
23435 char *kwnames[] = {
23436 (char *) "self", NULL
23437 };
23438
23439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail;
23440 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23441 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23442 {
23443 PyThreadState* __tstate = wxPyBeginAllowThreads();
23444 (arg1)->OnNext();
23445
23446 wxPyEndAllowThreads(__tstate);
23447 if (PyErr_Occurred()) SWIG_fail;
23448 }
23449 Py_INCREF(Py_None); resultobj = Py_None;
23450 return resultobj;
23451 fail:
23452 return NULL;
23453 }
23454
23455
23456 static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *, PyObject *args, PyObject *kwargs) {
23457 PyObject *resultobj;
23458 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23459 PyObject * obj0 = 0 ;
23460 char *kwnames[] = {
23461 (char *) "self", NULL
23462 };
23463
23464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail;
23465 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23466 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23467 {
23468 PyThreadState* __tstate = wxPyBeginAllowThreads();
23469 (arg1)->OnPrevious();
23470
23471 wxPyEndAllowThreads(__tstate);
23472 if (PyErr_Occurred()) SWIG_fail;
23473 }
23474 Py_INCREF(Py_None); resultobj = Py_None;
23475 return resultobj;
23476 fail:
23477 return NULL;
23478 }
23479
23480
23481 static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *, PyObject *args, PyObject *kwargs) {
23482 PyObject *resultobj;
23483 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23484 PyObject * obj0 = 0 ;
23485 char *kwnames[] = {
23486 (char *) "self", NULL
23487 };
23488
23489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail;
23490 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23491 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23492 {
23493 PyThreadState* __tstate = wxPyBeginAllowThreads();
23494 (arg1)->OnFirst();
23495
23496 wxPyEndAllowThreads(__tstate);
23497 if (PyErr_Occurred()) SWIG_fail;
23498 }
23499 Py_INCREF(Py_None); resultobj = Py_None;
23500 return resultobj;
23501 fail:
23502 return NULL;
23503 }
23504
23505
23506 static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *, PyObject *args, PyObject *kwargs) {
23507 PyObject *resultobj;
23508 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23509 PyObject * obj0 = 0 ;
23510 char *kwnames[] = {
23511 (char *) "self", NULL
23512 };
23513
23514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail;
23515 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23516 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23517 {
23518 PyThreadState* __tstate = wxPyBeginAllowThreads();
23519 (arg1)->OnLast();
23520
23521 wxPyEndAllowThreads(__tstate);
23522 if (PyErr_Occurred()) SWIG_fail;
23523 }
23524 Py_INCREF(Py_None); resultobj = Py_None;
23525 return resultobj;
23526 fail:
23527 return NULL;
23528 }
23529
23530
23531 static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *, PyObject *args, PyObject *kwargs) {
23532 PyObject *resultobj;
23533 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23534 PyObject * obj0 = 0 ;
23535 char *kwnames[] = {
23536 (char *) "self", NULL
23537 };
23538
23539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail;
23540 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23541 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23542 {
23543 PyThreadState* __tstate = wxPyBeginAllowThreads();
23544 (arg1)->OnGoto();
23545
23546 wxPyEndAllowThreads(__tstate);
23547 if (PyErr_Occurred()) SWIG_fail;
23548 }
23549 Py_INCREF(Py_None); resultobj = Py_None;
23550 return resultobj;
23551 fail:
23552 return NULL;
23553 }
23554
23555
23556 static PyObject * PreviewControlBar_swigregister(PyObject *, PyObject *args) {
23557 PyObject *obj;
23558 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23559 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj);
23560 Py_INCREF(obj);
23561 return Py_BuildValue((char *)"");
23562 }
23563 static PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *, PyObject *args) {
23564 PyObject *resultobj;
23565 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23566 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23567 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
23568 wxPrintPreview *result;
23569 PyObject * obj0 = 0 ;
23570 PyObject * obj1 = 0 ;
23571 PyObject * obj2 = 0 ;
23572
23573 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
23574 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23575 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23576 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23577 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23578 if (obj2) {
23579 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintDialogData,
23580 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23581 }
23582 {
23583 if (!wxPyCheckForApp()) SWIG_fail;
23584 PyThreadState* __tstate = wxPyBeginAllowThreads();
23585 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
23586
23587 wxPyEndAllowThreads(__tstate);
23588 if (PyErr_Occurred()) SWIG_fail;
23589 }
23590 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
23591 return resultobj;
23592 fail:
23593 return NULL;
23594 }
23595
23596
23597 static PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *, PyObject *args) {
23598 PyObject *resultobj;
23599 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23600 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23601 wxPrintData *arg3 = (wxPrintData *) 0 ;
23602 wxPrintPreview *result;
23603 PyObject * obj0 = 0 ;
23604 PyObject * obj1 = 0 ;
23605 PyObject * obj2 = 0 ;
23606
23607 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
23608 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23609 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23610 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23611 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23612 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData,
23613 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23614 {
23615 if (!wxPyCheckForApp()) SWIG_fail;
23616 PyThreadState* __tstate = wxPyBeginAllowThreads();
23617 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
23618
23619 wxPyEndAllowThreads(__tstate);
23620 if (PyErr_Occurred()) SWIG_fail;
23621 }
23622 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
23623 return resultobj;
23624 fail:
23625 return NULL;
23626 }
23627
23628
23629 static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
23630 int argc;
23631 PyObject *argv[4];
23632 int ii;
23633
23634 argc = PyObject_Length(args);
23635 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
23636 argv[ii] = PyTuple_GetItem(args,ii);
23637 }
23638 if ((argc >= 2) && (argc <= 3)) {
23639 int _v;
23640 {
23641 void *ptr;
23642 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23643 _v = 0;
23644 PyErr_Clear();
23645 } else {
23646 _v = 1;
23647 }
23648 }
23649 if (_v) {
23650 {
23651 void *ptr;
23652 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23653 _v = 0;
23654 PyErr_Clear();
23655 } else {
23656 _v = 1;
23657 }
23658 }
23659 if (_v) {
23660 if (argc <= 2) {
23661 return _wrap_new_PrintPreview__SWIG_0(self,args);
23662 }
23663 {
23664 void *ptr;
23665 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
23666 _v = 0;
23667 PyErr_Clear();
23668 } else {
23669 _v = 1;
23670 }
23671 }
23672 if (_v) {
23673 return _wrap_new_PrintPreview__SWIG_0(self,args);
23674 }
23675 }
23676 }
23677 }
23678 if (argc == 3) {
23679 int _v;
23680 {
23681 void *ptr;
23682 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23683 _v = 0;
23684 PyErr_Clear();
23685 } else {
23686 _v = 1;
23687 }
23688 }
23689 if (_v) {
23690 {
23691 void *ptr;
23692 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23693 _v = 0;
23694 PyErr_Clear();
23695 } else {
23696 _v = 1;
23697 }
23698 }
23699 if (_v) {
23700 {
23701 void *ptr;
23702 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
23703 _v = 0;
23704 PyErr_Clear();
23705 } else {
23706 _v = 1;
23707 }
23708 }
23709 if (_v) {
23710 return _wrap_new_PrintPreview__SWIG_1(self,args);
23711 }
23712 }
23713 }
23714 }
23715
23716 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintPreview'");
23717 return NULL;
23718 }
23719
23720
23721 static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
23722 PyObject *resultobj;
23723 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23724 int arg2 ;
23725 bool result;
23726 PyObject * obj0 = 0 ;
23727 PyObject * obj1 = 0 ;
23728 char *kwnames[] = {
23729 (char *) "self",(char *) "pageNum", NULL
23730 };
23731
23732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
23733 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23734 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23735 arg2 = (int)SWIG_As_int(obj1);
23736 if (PyErr_Occurred()) SWIG_fail;
23737 {
23738 PyThreadState* __tstate = wxPyBeginAllowThreads();
23739 result = (bool)(arg1)->SetCurrentPage(arg2);
23740
23741 wxPyEndAllowThreads(__tstate);
23742 if (PyErr_Occurred()) SWIG_fail;
23743 }
23744 {
23745 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23746 }
23747 return resultobj;
23748 fail:
23749 return NULL;
23750 }
23751
23752
23753 static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
23754 PyObject *resultobj;
23755 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23756 int result;
23757 PyObject * obj0 = 0 ;
23758 char *kwnames[] = {
23759 (char *) "self", NULL
23760 };
23761
23762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail;
23763 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23764 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23765 {
23766 PyThreadState* __tstate = wxPyBeginAllowThreads();
23767 result = (int)(arg1)->GetCurrentPage();
23768
23769 wxPyEndAllowThreads(__tstate);
23770 if (PyErr_Occurred()) SWIG_fail;
23771 }
23772 resultobj = SWIG_From_int((int)result);
23773 return resultobj;
23774 fail:
23775 return NULL;
23776 }
23777
23778
23779 static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *, PyObject *args, PyObject *kwargs) {
23780 PyObject *resultobj;
23781 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23782 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23783 PyObject * obj0 = 0 ;
23784 PyObject * obj1 = 0 ;
23785 char *kwnames[] = {
23786 (char *) "self",(char *) "printout", NULL
23787 };
23788
23789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail;
23790 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23791 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23792 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23793 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23794 {
23795 PyThreadState* __tstate = wxPyBeginAllowThreads();
23796 (arg1)->SetPrintout(arg2);
23797
23798 wxPyEndAllowThreads(__tstate);
23799 if (PyErr_Occurred()) SWIG_fail;
23800 }
23801 Py_INCREF(Py_None); resultobj = Py_None;
23802 return resultobj;
23803 fail:
23804 return NULL;
23805 }
23806
23807
23808 static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *, PyObject *args, PyObject *kwargs) {
23809 PyObject *resultobj;
23810 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23811 wxPyPrintout *result;
23812 PyObject * obj0 = 0 ;
23813 char *kwnames[] = {
23814 (char *) "self", NULL
23815 };
23816
23817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail;
23818 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23819 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23820 {
23821 PyThreadState* __tstate = wxPyBeginAllowThreads();
23822 result = (wxPyPrintout *)(arg1)->GetPrintout();
23823
23824 wxPyEndAllowThreads(__tstate);
23825 if (PyErr_Occurred()) SWIG_fail;
23826 }
23827 {
23828 resultobj = wxPyMake_wxObject(result, 0);
23829 }
23830 return resultobj;
23831 fail:
23832 return NULL;
23833 }
23834
23835
23836 static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
23837 PyObject *resultobj;
23838 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23839 wxPyPrintout *result;
23840 PyObject * obj0 = 0 ;
23841 char *kwnames[] = {
23842 (char *) "self", NULL
23843 };
23844
23845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail;
23846 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23847 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23848 {
23849 PyThreadState* __tstate = wxPyBeginAllowThreads();
23850 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
23851
23852 wxPyEndAllowThreads(__tstate);
23853 if (PyErr_Occurred()) SWIG_fail;
23854 }
23855 {
23856 resultobj = wxPyMake_wxObject(result, 0);
23857 }
23858 return resultobj;
23859 fail:
23860 return NULL;
23861 }
23862
23863
23864 static PyObject *_wrap_PrintPreview_SetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
23865 PyObject *resultobj;
23866 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23867 wxFrame *arg2 = (wxFrame *) 0 ;
23868 PyObject * obj0 = 0 ;
23869 PyObject * obj1 = 0 ;
23870 char *kwnames[] = {
23871 (char *) "self",(char *) "frame", NULL
23872 };
23873
23874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail;
23875 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23876 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23877 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
23878 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23879 {
23880 PyThreadState* __tstate = wxPyBeginAllowThreads();
23881 (arg1)->SetFrame(arg2);
23882
23883 wxPyEndAllowThreads(__tstate);
23884 if (PyErr_Occurred()) SWIG_fail;
23885 }
23886 Py_INCREF(Py_None); resultobj = Py_None;
23887 return resultobj;
23888 fail:
23889 return NULL;
23890 }
23891
23892
23893 static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
23894 PyObject *resultobj;
23895 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23896 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23897 PyObject * obj0 = 0 ;
23898 PyObject * obj1 = 0 ;
23899 char *kwnames[] = {
23900 (char *) "self",(char *) "canvas", NULL
23901 };
23902
23903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
23904 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23905 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23906 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23907 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23908 {
23909 PyThreadState* __tstate = wxPyBeginAllowThreads();
23910 (arg1)->SetCanvas(arg2);
23911
23912 wxPyEndAllowThreads(__tstate);
23913 if (PyErr_Occurred()) SWIG_fail;
23914 }
23915 Py_INCREF(Py_None); resultobj = Py_None;
23916 return resultobj;
23917 fail:
23918 return NULL;
23919 }
23920
23921
23922 static PyObject *_wrap_PrintPreview_GetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
23923 PyObject *resultobj;
23924 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23925 wxFrame *result;
23926 PyObject * obj0 = 0 ;
23927 char *kwnames[] = {
23928 (char *) "self", NULL
23929 };
23930
23931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail;
23932 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23933 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23934 {
23935 PyThreadState* __tstate = wxPyBeginAllowThreads();
23936 result = (wxFrame *)(arg1)->GetFrame();
23937
23938 wxPyEndAllowThreads(__tstate);
23939 if (PyErr_Occurred()) SWIG_fail;
23940 }
23941 {
23942 resultobj = wxPyMake_wxObject(result, 0);
23943 }
23944 return resultobj;
23945 fail:
23946 return NULL;
23947 }
23948
23949
23950 static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
23951 PyObject *resultobj;
23952 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23953 wxPreviewCanvas *result;
23954 PyObject * obj0 = 0 ;
23955 char *kwnames[] = {
23956 (char *) "self", NULL
23957 };
23958
23959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail;
23960 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23961 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23962 {
23963 PyThreadState* __tstate = wxPyBeginAllowThreads();
23964 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
23965
23966 wxPyEndAllowThreads(__tstate);
23967 if (PyErr_Occurred()) SWIG_fail;
23968 }
23969 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 0);
23970 return resultobj;
23971 fail:
23972 return NULL;
23973 }
23974
23975
23976 static PyObject *_wrap_PrintPreview_PaintPage(PyObject *, PyObject *args, PyObject *kwargs) {
23977 PyObject *resultobj;
23978 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23979 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23980 wxDC *arg3 = 0 ;
23981 bool result;
23982 PyObject * obj0 = 0 ;
23983 PyObject * obj1 = 0 ;
23984 PyObject * obj2 = 0 ;
23985 char *kwnames[] = {
23986 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23987 };
23988
23989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
23990 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23991 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23992 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23993 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23994 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
23995 SWIG_POINTER_EXCEPTION | 0)) == -1)
23996 SWIG_fail;
23997 if (arg3 == NULL) {
23998 PyErr_SetString(PyExc_TypeError,"null reference");
23999 SWIG_fail;
24000 }
24001 {
24002 PyThreadState* __tstate = wxPyBeginAllowThreads();
24003 result = (bool)(arg1)->PaintPage(arg2,*arg3);
24004
24005 wxPyEndAllowThreads(__tstate);
24006 if (PyErr_Occurred()) SWIG_fail;
24007 }
24008 {
24009 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24010 }
24011 return resultobj;
24012 fail:
24013 return NULL;
24014 }
24015
24016
24017 static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *, PyObject *args, PyObject *kwargs) {
24018 PyObject *resultobj;
24019 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24020 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
24021 wxDC *arg3 = 0 ;
24022 bool result;
24023 PyObject * obj0 = 0 ;
24024 PyObject * obj1 = 0 ;
24025 PyObject * obj2 = 0 ;
24026 char *kwnames[] = {
24027 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24028 };
24029
24030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
24031 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24032 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24033 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
24034 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24035 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
24036 SWIG_POINTER_EXCEPTION | 0)) == -1)
24037 SWIG_fail;
24038 if (arg3 == NULL) {
24039 PyErr_SetString(PyExc_TypeError,"null reference");
24040 SWIG_fail;
24041 }
24042 {
24043 PyThreadState* __tstate = wxPyBeginAllowThreads();
24044 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
24045
24046 wxPyEndAllowThreads(__tstate);
24047 if (PyErr_Occurred()) SWIG_fail;
24048 }
24049 {
24050 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24051 }
24052 return resultobj;
24053 fail:
24054 return NULL;
24055 }
24056
24057
24058 static PyObject *_wrap_PrintPreview_RenderPage(PyObject *, PyObject *args, PyObject *kwargs) {
24059 PyObject *resultobj;
24060 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24061 int arg2 ;
24062 bool result;
24063 PyObject * obj0 = 0 ;
24064 PyObject * obj1 = 0 ;
24065 char *kwnames[] = {
24066 (char *) "self",(char *) "pageNum", NULL
24067 };
24068
24069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) goto fail;
24070 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24071 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24072 arg2 = (int)SWIG_As_int(obj1);
24073 if (PyErr_Occurred()) SWIG_fail;
24074 {
24075 PyThreadState* __tstate = wxPyBeginAllowThreads();
24076 result = (bool)(arg1)->RenderPage(arg2);
24077
24078 wxPyEndAllowThreads(__tstate);
24079 if (PyErr_Occurred()) SWIG_fail;
24080 }
24081 {
24082 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24083 }
24084 return resultobj;
24085 fail:
24086 return NULL;
24087 }
24088
24089
24090 static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
24091 PyObject *resultobj;
24092 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24093 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
24094 PyObject * obj0 = 0 ;
24095 PyObject * obj1 = 0 ;
24096 char *kwnames[] = {
24097 (char *) "self",(char *) "canvas", NULL
24098 };
24099
24100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail;
24101 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24102 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24103 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
24104 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24105 {
24106 PyThreadState* __tstate = wxPyBeginAllowThreads();
24107 (arg1)->AdjustScrollbars(arg2);
24108
24109 wxPyEndAllowThreads(__tstate);
24110 if (PyErr_Occurred()) SWIG_fail;
24111 }
24112 Py_INCREF(Py_None); resultobj = Py_None;
24113 return resultobj;
24114 fail:
24115 return NULL;
24116 }
24117
24118
24119 static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
24120 PyObject *resultobj;
24121 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24122 wxPrintDialogData *result;
24123 PyObject * obj0 = 0 ;
24124 char *kwnames[] = {
24125 (char *) "self", NULL
24126 };
24127
24128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail;
24129 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24130 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24131 {
24132 PyThreadState* __tstate = wxPyBeginAllowThreads();
24133 {
24134 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
24135 result = (wxPrintDialogData *) &_result_ref;
24136 }
24137
24138 wxPyEndAllowThreads(__tstate);
24139 if (PyErr_Occurred()) SWIG_fail;
24140 }
24141 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
24142 return resultobj;
24143 fail:
24144 return NULL;
24145 }
24146
24147
24148 static PyObject *_wrap_PrintPreview_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
24149 PyObject *resultobj;
24150 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24151 int arg2 ;
24152 PyObject * obj0 = 0 ;
24153 PyObject * obj1 = 0 ;
24154 char *kwnames[] = {
24155 (char *) "self",(char *) "percent", NULL
24156 };
24157
24158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) goto fail;
24159 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24160 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24161 arg2 = (int)SWIG_As_int(obj1);
24162 if (PyErr_Occurred()) SWIG_fail;
24163 {
24164 PyThreadState* __tstate = wxPyBeginAllowThreads();
24165 (arg1)->SetZoom(arg2);
24166
24167 wxPyEndAllowThreads(__tstate);
24168 if (PyErr_Occurred()) SWIG_fail;
24169 }
24170 Py_INCREF(Py_None); resultobj = Py_None;
24171 return resultobj;
24172 fail:
24173 return NULL;
24174 }
24175
24176
24177 static PyObject *_wrap_PrintPreview_GetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
24178 PyObject *resultobj;
24179 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24180 int result;
24181 PyObject * obj0 = 0 ;
24182 char *kwnames[] = {
24183 (char *) "self", NULL
24184 };
24185
24186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail;
24187 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24188 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24189 {
24190 PyThreadState* __tstate = wxPyBeginAllowThreads();
24191 result = (int)(arg1)->GetZoom();
24192
24193 wxPyEndAllowThreads(__tstate);
24194 if (PyErr_Occurred()) SWIG_fail;
24195 }
24196 resultobj = SWIG_From_int((int)result);
24197 return resultobj;
24198 fail:
24199 return NULL;
24200 }
24201
24202
24203 static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
24204 PyObject *resultobj;
24205 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24206 int result;
24207 PyObject * obj0 = 0 ;
24208 char *kwnames[] = {
24209 (char *) "self", NULL
24210 };
24211
24212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail;
24213 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24214 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24215 {
24216 PyThreadState* __tstate = wxPyBeginAllowThreads();
24217 result = (int)(arg1)->GetMaxPage();
24218
24219 wxPyEndAllowThreads(__tstate);
24220 if (PyErr_Occurred()) SWIG_fail;
24221 }
24222 resultobj = SWIG_From_int((int)result);
24223 return resultobj;
24224 fail:
24225 return NULL;
24226 }
24227
24228
24229 static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
24230 PyObject *resultobj;
24231 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24232 int result;
24233 PyObject * obj0 = 0 ;
24234 char *kwnames[] = {
24235 (char *) "self", NULL
24236 };
24237
24238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail;
24239 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24240 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24241 {
24242 PyThreadState* __tstate = wxPyBeginAllowThreads();
24243 result = (int)(arg1)->GetMinPage();
24244
24245 wxPyEndAllowThreads(__tstate);
24246 if (PyErr_Occurred()) SWIG_fail;
24247 }
24248 resultobj = SWIG_From_int((int)result);
24249 return resultobj;
24250 fail:
24251 return NULL;
24252 }
24253
24254
24255 static PyObject *_wrap_PrintPreview_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
24256 PyObject *resultobj;
24257 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24258 bool result;
24259 PyObject * obj0 = 0 ;
24260 char *kwnames[] = {
24261 (char *) "self", NULL
24262 };
24263
24264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail;
24265 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24266 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24267 {
24268 PyThreadState* __tstate = wxPyBeginAllowThreads();
24269 result = (bool)(arg1)->Ok();
24270
24271 wxPyEndAllowThreads(__tstate);
24272 if (PyErr_Occurred()) SWIG_fail;
24273 }
24274 {
24275 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24276 }
24277 return resultobj;
24278 fail:
24279 return NULL;
24280 }
24281
24282
24283 static PyObject *_wrap_PrintPreview_SetOk(PyObject *, PyObject *args, PyObject *kwargs) {
24284 PyObject *resultobj;
24285 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24286 bool arg2 ;
24287 PyObject * obj0 = 0 ;
24288 PyObject * obj1 = 0 ;
24289 char *kwnames[] = {
24290 (char *) "self",(char *) "ok", NULL
24291 };
24292
24293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail;
24294 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24295 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24296 arg2 = (bool)SWIG_As_bool(obj1);
24297 if (PyErr_Occurred()) SWIG_fail;
24298 {
24299 PyThreadState* __tstate = wxPyBeginAllowThreads();
24300 (arg1)->SetOk(arg2);
24301
24302 wxPyEndAllowThreads(__tstate);
24303 if (PyErr_Occurred()) SWIG_fail;
24304 }
24305 Py_INCREF(Py_None); resultobj = Py_None;
24306 return resultobj;
24307 fail:
24308 return NULL;
24309 }
24310
24311
24312 static PyObject *_wrap_PrintPreview_Print(PyObject *, PyObject *args, PyObject *kwargs) {
24313 PyObject *resultobj;
24314 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24315 bool arg2 ;
24316 bool result;
24317 PyObject * obj0 = 0 ;
24318 PyObject * obj1 = 0 ;
24319 char *kwnames[] = {
24320 (char *) "self",(char *) "interactive", NULL
24321 };
24322
24323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail;
24324 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24325 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24326 arg2 = (bool)SWIG_As_bool(obj1);
24327 if (PyErr_Occurred()) SWIG_fail;
24328 {
24329 PyThreadState* __tstate = wxPyBeginAllowThreads();
24330 result = (bool)(arg1)->Print(arg2);
24331
24332 wxPyEndAllowThreads(__tstate);
24333 if (PyErr_Occurred()) SWIG_fail;
24334 }
24335 {
24336 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24337 }
24338 return resultobj;
24339 fail:
24340 return NULL;
24341 }
24342
24343
24344 static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *, PyObject *args, PyObject *kwargs) {
24345 PyObject *resultobj;
24346 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24347 PyObject * obj0 = 0 ;
24348 char *kwnames[] = {
24349 (char *) "self", NULL
24350 };
24351
24352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail;
24353 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24354 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24355 {
24356 PyThreadState* __tstate = wxPyBeginAllowThreads();
24357 (arg1)->DetermineScaling();
24358
24359 wxPyEndAllowThreads(__tstate);
24360 if (PyErr_Occurred()) SWIG_fail;
24361 }
24362 Py_INCREF(Py_None); resultobj = Py_None;
24363 return resultobj;
24364 fail:
24365 return NULL;
24366 }
24367
24368
24369 static PyObject * PrintPreview_swigregister(PyObject *, PyObject *args) {
24370 PyObject *obj;
24371 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24372 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj);
24373 Py_INCREF(obj);
24374 return Py_BuildValue((char *)"");
24375 }
24376 static PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *, PyObject *args) {
24377 PyObject *resultobj;
24378 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24379 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
24380 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
24381 wxPyPrintPreview *result;
24382 PyObject * obj0 = 0 ;
24383 PyObject * obj1 = 0 ;
24384 PyObject * obj2 = 0 ;
24385
24386 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
24387 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
24388 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24389 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
24390 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24391 if (obj2) {
24392 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintDialogData,
24393 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24394 }
24395 {
24396 if (!wxPyCheckForApp()) SWIG_fail;
24397 PyThreadState* __tstate = wxPyBeginAllowThreads();
24398 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
24399
24400 wxPyEndAllowThreads(__tstate);
24401 if (PyErr_Occurred()) SWIG_fail;
24402 }
24403 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
24404 return resultobj;
24405 fail:
24406 return NULL;
24407 }
24408
24409
24410 static PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *, PyObject *args) {
24411 PyObject *resultobj;
24412 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24413 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
24414 wxPrintData *arg3 = (wxPrintData *) 0 ;
24415 wxPyPrintPreview *result;
24416 PyObject * obj0 = 0 ;
24417 PyObject * obj1 = 0 ;
24418 PyObject * obj2 = 0 ;
24419
24420 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
24421 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
24422 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24423 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
24424 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24425 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData,
24426 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24427 {
24428 if (!wxPyCheckForApp()) SWIG_fail;
24429 PyThreadState* __tstate = wxPyBeginAllowThreads();
24430 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
24431
24432 wxPyEndAllowThreads(__tstate);
24433 if (PyErr_Occurred()) SWIG_fail;
24434 }
24435 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
24436 return resultobj;
24437 fail:
24438 return NULL;
24439 }
24440
24441
24442 static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
24443 int argc;
24444 PyObject *argv[4];
24445 int ii;
24446
24447 argc = PyObject_Length(args);
24448 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
24449 argv[ii] = PyTuple_GetItem(args,ii);
24450 }
24451 if ((argc >= 2) && (argc <= 3)) {
24452 int _v;
24453 {
24454 void *ptr;
24455 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
24456 _v = 0;
24457 PyErr_Clear();
24458 } else {
24459 _v = 1;
24460 }
24461 }
24462 if (_v) {
24463 {
24464 void *ptr;
24465 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
24466 _v = 0;
24467 PyErr_Clear();
24468 } else {
24469 _v = 1;
24470 }
24471 }
24472 if (_v) {
24473 if (argc <= 2) {
24474 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
24475 }
24476 {
24477 void *ptr;
24478 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
24479 _v = 0;
24480 PyErr_Clear();
24481 } else {
24482 _v = 1;
24483 }
24484 }
24485 if (_v) {
24486 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
24487 }
24488 }
24489 }
24490 }
24491 if (argc == 3) {
24492 int _v;
24493 {
24494 void *ptr;
24495 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
24496 _v = 0;
24497 PyErr_Clear();
24498 } else {
24499 _v = 1;
24500 }
24501 }
24502 if (_v) {
24503 {
24504 void *ptr;
24505 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
24506 _v = 0;
24507 PyErr_Clear();
24508 } else {
24509 _v = 1;
24510 }
24511 }
24512 if (_v) {
24513 {
24514 void *ptr;
24515 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
24516 _v = 0;
24517 PyErr_Clear();
24518 } else {
24519 _v = 1;
24520 }
24521 }
24522 if (_v) {
24523 return _wrap_new_PyPrintPreview__SWIG_1(self,args);
24524 }
24525 }
24526 }
24527 }
24528
24529 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PyPrintPreview'");
24530 return NULL;
24531 }
24532
24533
24534 static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
24535 PyObject *resultobj;
24536 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24537 PyObject *arg2 = (PyObject *) 0 ;
24538 PyObject *arg3 = (PyObject *) 0 ;
24539 PyObject * obj0 = 0 ;
24540 PyObject * obj1 = 0 ;
24541 PyObject * obj2 = 0 ;
24542 char *kwnames[] = {
24543 (char *) "self",(char *) "self",(char *) "_class", NULL
24544 };
24545
24546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24547 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24548 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24549 arg2 = obj1;
24550 arg3 = obj2;
24551 {
24552 PyThreadState* __tstate = wxPyBeginAllowThreads();
24553 (arg1)->_setCallbackInfo(arg2,arg3);
24554
24555 wxPyEndAllowThreads(__tstate);
24556 if (PyErr_Occurred()) SWIG_fail;
24557 }
24558 Py_INCREF(Py_None); resultobj = Py_None;
24559 return resultobj;
24560 fail:
24561 return NULL;
24562 }
24563
24564
24565 static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
24566 PyObject *resultobj;
24567 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24568 int arg2 ;
24569 bool result;
24570 PyObject * obj0 = 0 ;
24571 PyObject * obj1 = 0 ;
24572 char *kwnames[] = {
24573 (char *) "self",(char *) "pageNum", NULL
24574 };
24575
24576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
24577 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24578 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24579 arg2 = (int)SWIG_As_int(obj1);
24580 if (PyErr_Occurred()) SWIG_fail;
24581 {
24582 PyThreadState* __tstate = wxPyBeginAllowThreads();
24583 result = (bool)(arg1)->base_SetCurrentPage(arg2);
24584
24585 wxPyEndAllowThreads(__tstate);
24586 if (PyErr_Occurred()) SWIG_fail;
24587 }
24588 {
24589 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24590 }
24591 return resultobj;
24592 fail:
24593 return NULL;
24594 }
24595
24596
24597 static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *, PyObject *args, PyObject *kwargs) {
24598 PyObject *resultobj;
24599 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24600 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
24601 wxDC *arg3 = 0 ;
24602 bool result;
24603 PyObject * obj0 = 0 ;
24604 PyObject * obj1 = 0 ;
24605 PyObject * obj2 = 0 ;
24606 char *kwnames[] = {
24607 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24608 };
24609
24610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
24611 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24612 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24613 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
24614 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24615 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
24616 SWIG_POINTER_EXCEPTION | 0)) == -1)
24617 SWIG_fail;
24618 if (arg3 == NULL) {
24619 PyErr_SetString(PyExc_TypeError,"null reference");
24620 SWIG_fail;
24621 }
24622 {
24623 PyThreadState* __tstate = wxPyBeginAllowThreads();
24624 result = (bool)(arg1)->base_PaintPage(arg2,*arg3);
24625
24626 wxPyEndAllowThreads(__tstate);
24627 if (PyErr_Occurred()) SWIG_fail;
24628 }
24629 {
24630 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24631 }
24632 return resultobj;
24633 fail:
24634 return NULL;
24635 }
24636
24637
24638 static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *, PyObject *args, PyObject *kwargs) {
24639 PyObject *resultobj;
24640 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24641 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
24642 wxDC *arg3 = 0 ;
24643 bool result;
24644 PyObject * obj0 = 0 ;
24645 PyObject * obj1 = 0 ;
24646 PyObject * obj2 = 0 ;
24647 char *kwnames[] = {
24648 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24649 };
24650
24651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
24652 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24653 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24654 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
24655 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24656 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
24657 SWIG_POINTER_EXCEPTION | 0)) == -1)
24658 SWIG_fail;
24659 if (arg3 == NULL) {
24660 PyErr_SetString(PyExc_TypeError,"null reference");
24661 SWIG_fail;
24662 }
24663 {
24664 PyThreadState* __tstate = wxPyBeginAllowThreads();
24665 result = (bool)(arg1)->base_DrawBlankPage(arg2,*arg3);
24666
24667 wxPyEndAllowThreads(__tstate);
24668 if (PyErr_Occurred()) SWIG_fail;
24669 }
24670 {
24671 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24672 }
24673 return resultobj;
24674 fail:
24675 return NULL;
24676 }
24677
24678
24679 static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *, PyObject *args, PyObject *kwargs) {
24680 PyObject *resultobj;
24681 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24682 int arg2 ;
24683 bool result;
24684 PyObject * obj0 = 0 ;
24685 PyObject * obj1 = 0 ;
24686 char *kwnames[] = {
24687 (char *) "self",(char *) "pageNum", NULL
24688 };
24689
24690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames,&obj0,&obj1)) goto fail;
24691 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24692 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24693 arg2 = (int)SWIG_As_int(obj1);
24694 if (PyErr_Occurred()) SWIG_fail;
24695 {
24696 PyThreadState* __tstate = wxPyBeginAllowThreads();
24697 result = (bool)(arg1)->base_RenderPage(arg2);
24698
24699 wxPyEndAllowThreads(__tstate);
24700 if (PyErr_Occurred()) SWIG_fail;
24701 }
24702 {
24703 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24704 }
24705 return resultobj;
24706 fail:
24707 return NULL;
24708 }
24709
24710
24711 static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
24712 PyObject *resultobj;
24713 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24714 int arg2 ;
24715 PyObject * obj0 = 0 ;
24716 PyObject * obj1 = 0 ;
24717 char *kwnames[] = {
24718 (char *) "self",(char *) "percent", NULL
24719 };
24720
24721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames,&obj0,&obj1)) goto fail;
24722 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24723 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24724 arg2 = (int)SWIG_As_int(obj1);
24725 if (PyErr_Occurred()) SWIG_fail;
24726 {
24727 PyThreadState* __tstate = wxPyBeginAllowThreads();
24728 (arg1)->base_SetZoom(arg2);
24729
24730 wxPyEndAllowThreads(__tstate);
24731 if (PyErr_Occurred()) SWIG_fail;
24732 }
24733 Py_INCREF(Py_None); resultobj = Py_None;
24734 return resultobj;
24735 fail:
24736 return NULL;
24737 }
24738
24739
24740 static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *, PyObject *args, PyObject *kwargs) {
24741 PyObject *resultobj;
24742 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24743 bool arg2 ;
24744 bool result;
24745 PyObject * obj0 = 0 ;
24746 PyObject * obj1 = 0 ;
24747 char *kwnames[] = {
24748 (char *) "self",(char *) "interactive", NULL
24749 };
24750
24751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_Print",kwnames,&obj0,&obj1)) goto fail;
24752 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24753 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24754 arg2 = (bool)SWIG_As_bool(obj1);
24755 if (PyErr_Occurred()) SWIG_fail;
24756 {
24757 PyThreadState* __tstate = wxPyBeginAllowThreads();
24758 result = (bool)(arg1)->base_Print(arg2);
24759
24760 wxPyEndAllowThreads(__tstate);
24761 if (PyErr_Occurred()) SWIG_fail;
24762 }
24763 {
24764 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24765 }
24766 return resultobj;
24767 fail:
24768 return NULL;
24769 }
24770
24771
24772 static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *, PyObject *args, PyObject *kwargs) {
24773 PyObject *resultobj;
24774 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24775 PyObject * obj0 = 0 ;
24776 char *kwnames[] = {
24777 (char *) "self", NULL
24778 };
24779
24780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames,&obj0)) goto fail;
24781 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24782 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24783 {
24784 PyThreadState* __tstate = wxPyBeginAllowThreads();
24785 (arg1)->base_DetermineScaling();
24786
24787 wxPyEndAllowThreads(__tstate);
24788 if (PyErr_Occurred()) SWIG_fail;
24789 }
24790 Py_INCREF(Py_None); resultobj = Py_None;
24791 return resultobj;
24792 fail:
24793 return NULL;
24794 }
24795
24796
24797 static PyObject * PyPrintPreview_swigregister(PyObject *, PyObject *args) {
24798 PyObject *obj;
24799 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24800 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj);
24801 Py_INCREF(obj);
24802 return Py_BuildValue((char *)"");
24803 }
24804 static PyObject *_wrap_new_PyPreviewFrame(PyObject *, PyObject *args, PyObject *kwargs) {
24805 PyObject *resultobj;
24806 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24807 wxFrame *arg2 = (wxFrame *) 0 ;
24808 wxString *arg3 = 0 ;
24809 wxPoint const &arg4_defvalue = wxDefaultPosition ;
24810 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
24811 wxSize const &arg5_defvalue = wxDefaultSize ;
24812 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
24813 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
24814 wxString const &arg7_defvalue = wxPyFrameNameStr ;
24815 wxString *arg7 = (wxString *) &arg7_defvalue ;
24816 wxPyPreviewFrame *result;
24817 bool temp3 = False ;
24818 wxPoint temp4 ;
24819 wxSize temp5 ;
24820 bool temp7 = False ;
24821 PyObject * obj0 = 0 ;
24822 PyObject * obj1 = 0 ;
24823 PyObject * obj2 = 0 ;
24824 PyObject * obj3 = 0 ;
24825 PyObject * obj4 = 0 ;
24826 PyObject * obj5 = 0 ;
24827 PyObject * obj6 = 0 ;
24828 char *kwnames[] = {
24829 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24830 };
24831
24832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
24833 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24834 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24835 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
24836 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24837 {
24838 arg3 = wxString_in_helper(obj2);
24839 if (arg3 == NULL) SWIG_fail;
24840 temp3 = True;
24841 }
24842 if (obj3) {
24843 {
24844 arg4 = &temp4;
24845 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
24846 }
24847 }
24848 if (obj4) {
24849 {
24850 arg5 = &temp5;
24851 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
24852 }
24853 }
24854 if (obj5) {
24855 arg6 = (long)SWIG_As_long(obj5);
24856 if (PyErr_Occurred()) SWIG_fail;
24857 }
24858 if (obj6) {
24859 {
24860 arg7 = wxString_in_helper(obj6);
24861 if (arg7 == NULL) SWIG_fail;
24862 temp7 = True;
24863 }
24864 }
24865 {
24866 if (!wxPyCheckForApp()) SWIG_fail;
24867 PyThreadState* __tstate = wxPyBeginAllowThreads();
24868 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
24869
24870 wxPyEndAllowThreads(__tstate);
24871 if (PyErr_Occurred()) SWIG_fail;
24872 }
24873 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewFrame, 1);
24874 {
24875 if (temp3)
24876 delete arg3;
24877 }
24878 {
24879 if (temp7)
24880 delete arg7;
24881 }
24882 return resultobj;
24883 fail:
24884 {
24885 if (temp3)
24886 delete arg3;
24887 }
24888 {
24889 if (temp7)
24890 delete arg7;
24891 }
24892 return NULL;
24893 }
24894
24895
24896 static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
24897 PyObject *resultobj;
24898 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24899 PyObject *arg2 = (PyObject *) 0 ;
24900 PyObject *arg3 = (PyObject *) 0 ;
24901 PyObject * obj0 = 0 ;
24902 PyObject * obj1 = 0 ;
24903 PyObject * obj2 = 0 ;
24904 char *kwnames[] = {
24905 (char *) "self",(char *) "self",(char *) "_class", NULL
24906 };
24907
24908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24909 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24910 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24911 arg2 = obj1;
24912 arg3 = obj2;
24913 {
24914 PyThreadState* __tstate = wxPyBeginAllowThreads();
24915 (arg1)->_setCallbackInfo(arg2,arg3);
24916
24917 wxPyEndAllowThreads(__tstate);
24918 if (PyErr_Occurred()) SWIG_fail;
24919 }
24920 Py_INCREF(Py_None); resultobj = Py_None;
24921 return resultobj;
24922 fail:
24923 return NULL;
24924 }
24925
24926
24927 static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
24928 PyObject *resultobj;
24929 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24930 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
24931 PyObject * obj0 = 0 ;
24932 PyObject * obj1 = 0 ;
24933 char *kwnames[] = {
24934 (char *) "self",(char *) "canvas", NULL
24935 };
24936
24937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail;
24938 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24939 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24940 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
24941 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24942 {
24943 PyThreadState* __tstate = wxPyBeginAllowThreads();
24944 (arg1)->SetPreviewCanvas(arg2);
24945
24946 wxPyEndAllowThreads(__tstate);
24947 if (PyErr_Occurred()) SWIG_fail;
24948 }
24949 Py_INCREF(Py_None); resultobj = Py_None;
24950 return resultobj;
24951 fail:
24952 return NULL;
24953 }
24954
24955
24956 static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
24957 PyObject *resultobj;
24958 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24959 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
24960 PyObject * obj0 = 0 ;
24961 PyObject * obj1 = 0 ;
24962 char *kwnames[] = {
24963 (char *) "self",(char *) "bar", NULL
24964 };
24965
24966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail;
24967 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24968 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24969 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewControlBar,
24970 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24971 {
24972 PyThreadState* __tstate = wxPyBeginAllowThreads();
24973 (arg1)->SetControlBar(arg2);
24974
24975 wxPyEndAllowThreads(__tstate);
24976 if (PyErr_Occurred()) SWIG_fail;
24977 }
24978 Py_INCREF(Py_None); resultobj = Py_None;
24979 return resultobj;
24980 fail:
24981 return NULL;
24982 }
24983
24984
24985 static PyObject *_wrap_PyPreviewFrame_base_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
24986 PyObject *resultobj;
24987 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24988 PyObject * obj0 = 0 ;
24989 char *kwnames[] = {
24990 (char *) "self", NULL
24991 };
24992
24993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_Initialize",kwnames,&obj0)) goto fail;
24994 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24995 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24996 {
24997 PyThreadState* __tstate = wxPyBeginAllowThreads();
24998 (arg1)->base_Initialize();
24999
25000 wxPyEndAllowThreads(__tstate);
25001 if (PyErr_Occurred()) SWIG_fail;
25002 }
25003 Py_INCREF(Py_None); resultobj = Py_None;
25004 return resultobj;
25005 fail:
25006 return NULL;
25007 }
25008
25009
25010 static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
25011 PyObject *resultobj;
25012 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
25013 PyObject * obj0 = 0 ;
25014 char *kwnames[] = {
25015 (char *) "self", NULL
25016 };
25017
25018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames,&obj0)) goto fail;
25019 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
25020 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25021 {
25022 PyThreadState* __tstate = wxPyBeginAllowThreads();
25023 (arg1)->base_CreateCanvas();
25024
25025 wxPyEndAllowThreads(__tstate);
25026 if (PyErr_Occurred()) SWIG_fail;
25027 }
25028 Py_INCREF(Py_None); resultobj = Py_None;
25029 return resultobj;
25030 fail:
25031 return NULL;
25032 }
25033
25034
25035 static PyObject *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
25036 PyObject *resultobj;
25037 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
25038 PyObject * obj0 = 0 ;
25039 char *kwnames[] = {
25040 (char *) "self", NULL
25041 };
25042
25043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames,&obj0)) goto fail;
25044 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
25045 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25046 {
25047 PyThreadState* __tstate = wxPyBeginAllowThreads();
25048 (arg1)->base_CreateControlBar();
25049
25050 wxPyEndAllowThreads(__tstate);
25051 if (PyErr_Occurred()) SWIG_fail;
25052 }
25053 Py_INCREF(Py_None); resultobj = Py_None;
25054 return resultobj;
25055 fail:
25056 return NULL;
25057 }
25058
25059
25060 static PyObject * PyPreviewFrame_swigregister(PyObject *, PyObject *args) {
25061 PyObject *obj;
25062 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25063 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj);
25064 Py_INCREF(obj);
25065 return Py_BuildValue((char *)"");
25066 }
25067 static PyObject *_wrap_new_PyPreviewControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
25068 PyObject *resultobj;
25069 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25070 long arg2 ;
25071 wxWindow *arg3 = (wxWindow *) 0 ;
25072 wxPoint const &arg4_defvalue = wxDefaultPosition ;
25073 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
25074 wxSize const &arg5_defvalue = wxDefaultSize ;
25075 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
25076 long arg6 = (long) 0 ;
25077 wxString const &arg7_defvalue = wxPyPanelNameStr ;
25078 wxString *arg7 = (wxString *) &arg7_defvalue ;
25079 wxPyPreviewControlBar *result;
25080 wxPoint temp4 ;
25081 wxSize temp5 ;
25082 bool temp7 = False ;
25083 PyObject * obj0 = 0 ;
25084 PyObject * obj1 = 0 ;
25085 PyObject * obj2 = 0 ;
25086 PyObject * obj3 = 0 ;
25087 PyObject * obj4 = 0 ;
25088 PyObject * obj5 = 0 ;
25089 PyObject * obj6 = 0 ;
25090 char *kwnames[] = {
25091 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25092 };
25093
25094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
25095 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
25096 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25097 arg2 = (long)SWIG_As_long(obj1);
25098 if (PyErr_Occurred()) SWIG_fail;
25099 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
25100 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25101 if (obj3) {
25102 {
25103 arg4 = &temp4;
25104 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
25105 }
25106 }
25107 if (obj4) {
25108 {
25109 arg5 = &temp5;
25110 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
25111 }
25112 }
25113 if (obj5) {
25114 arg6 = (long)SWIG_As_long(obj5);
25115 if (PyErr_Occurred()) SWIG_fail;
25116 }
25117 if (obj6) {
25118 {
25119 arg7 = wxString_in_helper(obj6);
25120 if (arg7 == NULL) SWIG_fail;
25121 temp7 = True;
25122 }
25123 }
25124 {
25125 if (!wxPyCheckForApp()) SWIG_fail;
25126 PyThreadState* __tstate = wxPyBeginAllowThreads();
25127 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
25128
25129 wxPyEndAllowThreads(__tstate);
25130 if (PyErr_Occurred()) SWIG_fail;
25131 }
25132 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewControlBar, 1);
25133 {
25134 if (temp7)
25135 delete arg7;
25136 }
25137 return resultobj;
25138 fail:
25139 {
25140 if (temp7)
25141 delete arg7;
25142 }
25143 return NULL;
25144 }
25145
25146
25147 static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
25148 PyObject *resultobj;
25149 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
25150 PyObject *arg2 = (PyObject *) 0 ;
25151 PyObject *arg3 = (PyObject *) 0 ;
25152 PyObject * obj0 = 0 ;
25153 PyObject * obj1 = 0 ;
25154 PyObject * obj2 = 0 ;
25155 char *kwnames[] = {
25156 (char *) "self",(char *) "self",(char *) "_class", NULL
25157 };
25158
25159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
25160 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
25161 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25162 arg2 = obj1;
25163 arg3 = obj2;
25164 {
25165 PyThreadState* __tstate = wxPyBeginAllowThreads();
25166 (arg1)->_setCallbackInfo(arg2,arg3);
25167
25168 wxPyEndAllowThreads(__tstate);
25169 if (PyErr_Occurred()) SWIG_fail;
25170 }
25171 Py_INCREF(Py_None); resultobj = Py_None;
25172 return resultobj;
25173 fail:
25174 return NULL;
25175 }
25176
25177
25178 static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *, PyObject *args, PyObject *kwargs) {
25179 PyObject *resultobj;
25180 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
25181 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
25182 PyObject * obj0 = 0 ;
25183 PyObject * obj1 = 0 ;
25184 char *kwnames[] = {
25185 (char *) "self",(char *) "preview", NULL
25186 };
25187
25188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail;
25189 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
25190 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25191 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintPreview,
25192 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25193 {
25194 PyThreadState* __tstate = wxPyBeginAllowThreads();
25195 (arg1)->SetPrintPreview(arg2);
25196
25197 wxPyEndAllowThreads(__tstate);
25198 if (PyErr_Occurred()) SWIG_fail;
25199 }
25200 Py_INCREF(Py_None); resultobj = Py_None;
25201 return resultobj;
25202 fail:
25203 return NULL;
25204 }
25205
25206
25207 static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *, PyObject *args, PyObject *kwargs) {
25208 PyObject *resultobj;
25209 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
25210 PyObject * obj0 = 0 ;
25211 char *kwnames[] = {
25212 (char *) "self", NULL
25213 };
25214
25215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames,&obj0)) goto fail;
25216 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
25217 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25218 {
25219 PyThreadState* __tstate = wxPyBeginAllowThreads();
25220 (arg1)->base_CreateButtons();
25221
25222 wxPyEndAllowThreads(__tstate);
25223 if (PyErr_Occurred()) SWIG_fail;
25224 }
25225 Py_INCREF(Py_None); resultobj = Py_None;
25226 return resultobj;
25227 fail:
25228 return NULL;
25229 }
25230
25231
25232 static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
25233 PyObject *resultobj;
25234 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
25235 int arg2 ;
25236 PyObject * obj0 = 0 ;
25237 PyObject * obj1 = 0 ;
25238 char *kwnames[] = {
25239 (char *) "self",(char *) "zoom", NULL
25240 };
25241
25242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
25243 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
25244 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25245 arg2 = (int)SWIG_As_int(obj1);
25246 if (PyErr_Occurred()) SWIG_fail;
25247 {
25248 PyThreadState* __tstate = wxPyBeginAllowThreads();
25249 (arg1)->base_SetZoomControl(arg2);
25250
25251 wxPyEndAllowThreads(__tstate);
25252 if (PyErr_Occurred()) SWIG_fail;
25253 }
25254 Py_INCREF(Py_None); resultobj = Py_None;
25255 return resultobj;
25256 fail:
25257 return NULL;
25258 }
25259
25260
25261 static PyObject * PyPreviewControlBar_swigregister(PyObject *, PyObject *args) {
25262 PyObject *obj;
25263 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25264 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj);
25265 Py_INCREF(obj);
25266 return Py_BuildValue((char *)"");
25267 }
25268 static PyMethodDef SwigMethods[] = {
25269 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS, NULL },
25270 { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS, NULL },
25271 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25272 { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25273 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25274 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS, NULL },
25275 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25276 { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25277 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25278 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS, NULL },
25279 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS, NULL },
25280 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL },
25281 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL },
25282 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS, NULL },
25283 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS, NULL },
25284 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS, NULL },
25285 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS, NULL },
25286 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS, NULL },
25287 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS, NULL },
25288 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS, NULL },
25289 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS, NULL },
25290 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS, NULL },
25291 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL },
25292 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS, NULL },
25293 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25294 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25295 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS, NULL },
25296 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction) _wrap_ScrolledWindow_GetTargetRect, METH_VARARGS | METH_KEYWORDS, NULL },
25297 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction) _wrap_ScrolledWindow_DoPrepareDC, METH_VARARGS | METH_KEYWORDS, NULL },
25298 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25299 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS, NULL },
25300 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS, NULL },
25301 { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS, NULL },
25302 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS, NULL },
25303 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS, NULL },
25304 { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS, NULL },
25305 { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS, NULL },
25306 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL },
25307 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS, NULL },
25308 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS, NULL },
25309 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS, NULL },
25310 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL },
25311 { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL },
25312 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS, NULL },
25313 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction) _wrap_TopLevelWindow_RequestUserAttention, METH_VARARGS | METH_KEYWORDS, NULL },
25314 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS, NULL },
25315 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS, NULL },
25316 { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25317 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25318 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS, NULL },
25319 { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS, NULL },
25320 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL },
25321 { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL },
25322 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS, NULL },
25323 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS, NULL },
25324 { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL },
25325 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL },
25326 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
25327 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL },
25328 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
25329 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
25330 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL },
25331 { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL },
25332 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
25333 { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
25334 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
25335 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS, NULL },
25336 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS, NULL },
25337 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25338 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS, NULL },
25339 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS, NULL },
25340 { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25341 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25342 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL },
25343 { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL },
25344 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS, NULL },
25345 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL },
25346 { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS, NULL },
25347 { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL },
25348 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS, NULL },
25349 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25350 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS, NULL },
25351 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25352 { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25353 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25354 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS, NULL },
25355 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25356 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
25357 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
25358 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS, NULL },
25359 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS, NULL },
25360 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS, NULL },
25361 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25362 { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS, NULL },
25363 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS, NULL },
25364 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS, NULL },
25365 { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS, NULL },
25366 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25367 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL },
25368 { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL },
25369 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
25370 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
25371 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
25372 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
25373 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL },
25374 { (char *)"StatusBar_SetStatusStyles", (PyCFunction) _wrap_StatusBar_SetStatusStyles, METH_VARARGS | METH_KEYWORDS, NULL },
25375 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS, NULL },
25376 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL },
25377 { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS, NULL },
25378 { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS, NULL },
25379 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25380 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS, NULL },
25381 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25382 { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25383 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25384 { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS, NULL },
25385 { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS, NULL },
25386 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL },
25387 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL },
25388 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS, NULL },
25389 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS, NULL },
25390 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS, NULL },
25391 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS, NULL },
25392 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25393 { (char *)"SplitterWindow_UpdateSize", (PyCFunction) _wrap_SplitterWindow_UpdateSize, METH_VARARGS | METH_KEYWORDS, NULL },
25394 { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS, NULL },
25395 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS, NULL },
25396 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
25397 { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS, NULL },
25398 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
25399 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL },
25400 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL },
25401 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL },
25402 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL },
25403 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL },
25404 { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS, NULL },
25405 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL },
25406 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL },
25407 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25408 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS, NULL },
25409 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS, NULL },
25410 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL },
25411 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL },
25412 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS, NULL },
25413 { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS, NULL },
25414 { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS, NULL },
25415 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS, NULL },
25416 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25417 { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25418 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25419 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL },
25420 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL },
25421 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS, NULL },
25422 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS, NULL },
25423 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS, NULL },
25424 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
25425 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
25426 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
25427 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
25428 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL },
25429 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL },
25430 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL },
25431 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL },
25432 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL },
25433 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL },
25434 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL },
25435 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL },
25436 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL },
25437 { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS, NULL },
25438 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS, NULL },
25439 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS, NULL },
25440 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL },
25441 { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS, NULL },
25442 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS, NULL },
25443 { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS, NULL },
25444 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL },
25445 { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL },
25446 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS, NULL },
25447 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS, NULL },
25448 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL },
25449 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL },
25450 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25451 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25452 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25453 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25454 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25455 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25456 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
25457 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
25458 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS, NULL },
25459 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS, NULL },
25460 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25461 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25462 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL },
25463 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS, NULL },
25464 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS, NULL },
25465 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25466 { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25467 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25468 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
25469 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25470 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
25471 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL },
25472 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25473 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS, NULL },
25474 { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS, NULL },
25475 { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS, NULL },
25476 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25477 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25478 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25479 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS, NULL },
25480 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25481 { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25482 { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25483 { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS, NULL },
25484 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS, NULL },
25485 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25486 { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25487 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25488 { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS, NULL },
25489 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction) _wrap_PopupTransientWindow_Dismiss, METH_VARARGS | METH_KEYWORDS, NULL },
25490 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS, NULL },
25491 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25492 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL },
25493 { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS, NULL },
25494 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS, NULL },
25495 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25496 { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25497 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25498 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25499 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS, NULL },
25500 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL },
25501 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS, NULL },
25502 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS, NULL },
25503 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS, NULL },
25504 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS, NULL },
25505 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction) _wrap_VScrolledWindow_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL },
25506 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL },
25507 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS, NULL },
25508 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS, NULL },
25509 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL },
25510 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL },
25511 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL },
25512 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL },
25513 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL },
25514 { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS, NULL },
25515 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25516 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25517 { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS, NULL },
25518 { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25519 { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25520 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS, NULL },
25521 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL },
25522 { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS, NULL },
25523 { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS, NULL },
25524 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL },
25525 { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS, NULL },
25526 { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL },
25527 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL },
25528 { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS, NULL },
25529 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25530 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL },
25531 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS, NULL },
25532 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS, NULL },
25533 { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL },
25534 { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS, NULL },
25535 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL },
25536 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL },
25537 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL },
25538 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS, NULL },
25539 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL },
25540 { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL },
25541 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25542 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25543 { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS, NULL },
25544 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL },
25545 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction) _wrap_HtmlListBox_GetFileSystem, METH_VARARGS | METH_KEYWORDS, NULL },
25546 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS, NULL },
25547 { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS, NULL },
25548 { (char *)"delete_TaskBarIcon", (PyCFunction) _wrap_delete_TaskBarIcon, METH_VARARGS | METH_KEYWORDS, NULL },
25549 { (char *)"TaskBarIcon_Destroy", (PyCFunction) _wrap_TaskBarIcon_Destroy, METH_VARARGS | METH_KEYWORDS, NULL },
25550 { (char *)"TaskBarIcon_IsOk", (PyCFunction) _wrap_TaskBarIcon_IsOk, METH_VARARGS | METH_KEYWORDS, NULL },
25551 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction) _wrap_TaskBarIcon_IsIconInstalled, METH_VARARGS | METH_KEYWORDS, NULL },
25552 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL },
25553 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction) _wrap_TaskBarIcon_RemoveIcon, METH_VARARGS | METH_KEYWORDS, NULL },
25554 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL },
25555 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS, NULL },
25556 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS, NULL },
25557 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS, NULL },
25558 { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS, NULL },
25559 { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS, NULL },
25560 { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL },
25561 { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL },
25562 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL },
25563 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL },
25564 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL },
25565 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL },
25566 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS, NULL },
25567 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25568 { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS, NULL },
25569 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS, NULL },
25570 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25571 { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS, NULL },
25572 { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL },
25573 { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
25574 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL },
25575 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL },
25576 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS, NULL },
25577 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25578 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL },
25579 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL },
25580 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS, NULL },
25581 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL },
25582 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS, NULL },
25583 { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
25584 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL },
25585 { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL },
25586 { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS, NULL },
25587 { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS, NULL },
25588 { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS, NULL },
25589 { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS, NULL },
25590 { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
25591 { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL },
25592 { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS, NULL },
25593 { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS, NULL },
25594 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS, NULL },
25595 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25596 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS, NULL },
25597 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL },
25598 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS, NULL },
25599 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25600 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25601 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25602 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25603 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS, NULL },
25604 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25605 { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
25606 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS, NULL },
25607 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS, NULL },
25608 { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS, NULL },
25609 { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS, NULL },
25610 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS, NULL },
25611 { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL },
25612 { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL },
25613 { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL },
25614 { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS, NULL },
25615 { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL },
25616 { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL },
25617 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL },
25618 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL },
25619 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL },
25620 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL },
25621 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS, NULL },
25622 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL },
25623 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS, NULL },
25624 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25625 { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS, NULL },
25626 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS, NULL },
25627 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25628 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS, NULL },
25629 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25630 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL },
25631 { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS, NULL },
25632 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL },
25633 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL },
25634 { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25635 { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS, NULL },
25636 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL },
25637 { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25638 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25639 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL },
25640 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL },
25641 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS, NULL },
25642 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL },
25643 { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL },
25644 { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS, NULL },
25645 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL },
25646 { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25647 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25648 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL },
25649 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL },
25650 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS, NULL },
25651 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25652 { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25653 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25654 { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS, NULL },
25655 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS, NULL },
25656 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS, NULL },
25657 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25658 { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25659 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25660 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS, NULL },
25661 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS, NULL },
25662 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS, NULL },
25663 { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS, NULL },
25664 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS, NULL },
25665 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25666 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
25667 { (char *)"MDIParentFrame_GetWindowMenu", (PyCFunction) _wrap_MDIParentFrame_GetWindowMenu, METH_VARARGS | METH_KEYWORDS, NULL },
25668 { (char *)"MDIParentFrame_SetWindowMenu", (PyCFunction) _wrap_MDIParentFrame_SetWindowMenu, METH_VARARGS | METH_KEYWORDS, NULL },
25669 { (char *)"MDIParentFrame_SetToolBar", (PyCFunction) _wrap_MDIParentFrame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
25670 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS, NULL },
25671 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS, NULL },
25672 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25673 { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25674 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25675 { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS, NULL },
25676 { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS, NULL },
25677 { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS, NULL },
25678 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS, NULL },
25679 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25680 { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25681 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25682 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS, NULL },
25683 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25684 { (char *)"new_PrePyWindow", (PyCFunction) _wrap_new_PrePyWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25685 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25686 { (char *)"PyWindow_SetBestSize", (PyCFunction) _wrap_PyWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
25687 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25688 { (char *)"PyWindow_base_DoSetSize", (PyCFunction) _wrap_PyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25689 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
25690 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
25691 { (char *)"PyWindow_base_DoGetSize", (PyCFunction) _wrap_PyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25692 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
25693 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction) _wrap_PyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
25694 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
25695 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
25696 { (char *)"PyWindow_base_InitDialog", (PyCFunction) _wrap_PyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25697 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25698 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25699 { (char *)"PyWindow_base_Validate", (PyCFunction) _wrap_PyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL },
25700 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL },
25701 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL },
25702 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction) _wrap_PyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL },
25703 { (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL },
25704 { (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL },
25705 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL },
25706 { (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL },
25707 { (char *)"PyWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25708 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL },
25709 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL },
25710 { (char *)"new_PrePyPanel", (PyCFunction) _wrap_new_PrePyPanel, METH_VARARGS | METH_KEYWORDS, NULL },
25711 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25712 { (char *)"PyPanel_SetBestSize", (PyCFunction) _wrap_PyPanel_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
25713 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction) _wrap_PyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25714 { (char *)"PyPanel_base_DoSetSize", (PyCFunction) _wrap_PyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25715 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction) _wrap_PyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
25716 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
25717 { (char *)"PyPanel_base_DoGetSize", (PyCFunction) _wrap_PyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25718 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction) _wrap_PyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
25719 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction) _wrap_PyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
25720 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
25721 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction) _wrap_PyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
25722 { (char *)"PyPanel_base_InitDialog", (PyCFunction) _wrap_PyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25723 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25724 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25725 { (char *)"PyPanel_base_Validate", (PyCFunction) _wrap_PyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL },
25726 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction) _wrap_PyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL },
25727 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL },
25728 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction) _wrap_PyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL },
25729 { (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL },
25730 { (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL },
25731 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction) _wrap_PyPanel_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL },
25732 { (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyPanel_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL },
25733 { (char *)"PyPanel_base_GetDefaultAttributes", (PyCFunction) _wrap_PyPanel_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25734 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL },
25735 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25736 { (char *)"new_PrePyScrolledWindow", (PyCFunction) _wrap_new_PrePyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25737 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25738 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction) _wrap_PyScrolledWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
25739 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25740 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25741 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
25742 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
25743 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25744 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
25745 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
25746 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
25747 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
25748 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction) _wrap_PyScrolledWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25749 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25750 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25751 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction) _wrap_PyScrolledWindow_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL },
25752 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL },
25753 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL },
25754 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction) _wrap_PyScrolledWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL },
25755 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction) _wrap_PyScrolledWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL },
25756 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction) _wrap_PyScrolledWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL },
25757 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyScrolledWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL },
25758 { (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL },
25759 { (char *)"PyScrolledWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyScrolledWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25760 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS, NULL },
25761 { (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS, NULL },
25762 { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS, NULL },
25763 { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL },
25764 { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS, NULL },
25765 { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25766 { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
25767 { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL },
25768 { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL },
25769 { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS, NULL },
25770 { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS, NULL },
25771 { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL },
25772 { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS, NULL },
25773 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL },
25774 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL },
25775 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25776 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL },
25777 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL },
25778 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS, NULL },
25779 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL },
25780 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL },
25781 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS, NULL },
25782 { (char *)"PrintData_GetPrinterCommand", (PyCFunction) _wrap_PrintData_GetPrinterCommand, METH_VARARGS | METH_KEYWORDS, NULL },
25783 { (char *)"PrintData_GetPrinterOptions", (PyCFunction) _wrap_PrintData_GetPrinterOptions, METH_VARARGS | METH_KEYWORDS, NULL },
25784 { (char *)"PrintData_GetPreviewCommand", (PyCFunction) _wrap_PrintData_GetPreviewCommand, METH_VARARGS | METH_KEYWORDS, NULL },
25785 { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS, NULL },
25786 { (char *)"PrintData_GetFontMetricPath", (PyCFunction) _wrap_PrintData_GetFontMetricPath, METH_VARARGS | METH_KEYWORDS, NULL },
25787 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction) _wrap_PrintData_GetPrinterScaleX, METH_VARARGS | METH_KEYWORDS, NULL },
25788 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction) _wrap_PrintData_GetPrinterScaleY, METH_VARARGS | METH_KEYWORDS, NULL },
25789 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction) _wrap_PrintData_GetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS, NULL },
25790 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction) _wrap_PrintData_GetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS, NULL },
25791 { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL },
25792 { (char *)"PrintData_SetPrinterCommand", (PyCFunction) _wrap_PrintData_SetPrinterCommand, METH_VARARGS | METH_KEYWORDS, NULL },
25793 { (char *)"PrintData_SetPrinterOptions", (PyCFunction) _wrap_PrintData_SetPrinterOptions, METH_VARARGS | METH_KEYWORDS, NULL },
25794 { (char *)"PrintData_SetPreviewCommand", (PyCFunction) _wrap_PrintData_SetPreviewCommand, METH_VARARGS | METH_KEYWORDS, NULL },
25795 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL },
25796 { (char *)"PrintData_SetFontMetricPath", (PyCFunction) _wrap_PrintData_SetFontMetricPath, METH_VARARGS | METH_KEYWORDS, NULL },
25797 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction) _wrap_PrintData_SetPrinterScaleX, METH_VARARGS | METH_KEYWORDS, NULL },
25798 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction) _wrap_PrintData_SetPrinterScaleY, METH_VARARGS | METH_KEYWORDS, NULL },
25799 { (char *)"PrintData_SetPrinterScaling", (PyCFunction) _wrap_PrintData_SetPrinterScaling, METH_VARARGS | METH_KEYWORDS, NULL },
25800 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction) _wrap_PrintData_SetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS, NULL },
25801 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction) _wrap_PrintData_SetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS, NULL },
25802 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction) _wrap_PrintData_SetPrinterTranslation, METH_VARARGS | METH_KEYWORDS, NULL },
25803 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL },
25804 { (char *)"PrintData_GetOutputStream", (PyCFunction) _wrap_PrintData_GetOutputStream, METH_VARARGS | METH_KEYWORDS, NULL },
25805 { (char *)"PrintData_SetOutputStream", (PyCFunction) _wrap_PrintData_SetOutputStream, METH_VARARGS | METH_KEYWORDS, NULL },
25806 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS, NULL },
25807 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData, METH_VARARGS, NULL },
25808 { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS, NULL },
25809 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL },
25810 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS, NULL },
25811 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25812 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS, NULL },
25813 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL },
25814 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL },
25815 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS, NULL },
25816 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25817 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS, NULL },
25818 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL },
25819 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS, NULL },
25820 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25821 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL },
25822 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL },
25823 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL },
25824 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL },
25825 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS, NULL },
25826 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL },
25827 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL },
25828 { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
25829 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25830 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL },
25831 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL },
25832 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL },
25833 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL },
25834 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL },
25835 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL },
25836 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL },
25837 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL },
25838 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS, NULL },
25839 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25840 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS, NULL },
25841 { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL },
25842 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS, NULL },
25843 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS, NULL },
25844 { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL },
25845 { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS, NULL },
25846 { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS, NULL },
25847 { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS, NULL },
25848 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL },
25849 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL },
25850 { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS, NULL },
25851 { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25852 { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS, NULL },
25853 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL },
25854 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction) _wrap_PrintDialogData_GetSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25855 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS, NULL },
25856 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS, NULL },
25857 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS, NULL },
25858 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL },
25859 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL },
25860 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS, NULL },
25861 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25862 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL },
25863 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL },
25864 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction) _wrap_PrintDialogData_SetSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25865 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL },
25866 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25867 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL },
25868 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL },
25869 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL },
25870 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25871 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL },
25872 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS, NULL },
25873 { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
25874 { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL },
25875 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL },
25876 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS, NULL },
25877 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25878 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL },
25879 { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS, NULL },
25880 { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL },
25881 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS, NULL },
25882 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS, NULL },
25883 { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS, NULL },
25884 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25885 { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL },
25886 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS, NULL },
25887 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25888 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS, NULL },
25889 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS, NULL },
25890 { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS, NULL },
25891 { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS, NULL },
25892 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS, NULL },
25893 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS, NULL },
25894 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25895 { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL },
25896 { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS, NULL },
25897 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS, NULL },
25898 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL },
25899 { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL },
25900 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL },
25901 { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL },
25902 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL },
25903 { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL },
25904 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL },
25905 { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL },
25906 { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS, NULL },
25907 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS, NULL },
25908 { (char *)"Printout_base_OnBeginDocument", (PyCFunction) _wrap_Printout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS, NULL },
25909 { (char *)"Printout_base_OnEndDocument", (PyCFunction) _wrap_Printout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS, NULL },
25910 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS, NULL },
25911 { (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS, NULL },
25912 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS, NULL },
25913 { (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS, NULL },
25914 { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25915 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS, NULL },
25916 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
25917 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS, NULL },
25918 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25919 { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS, NULL },
25920 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
25921 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
25922 { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
25923 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS, NULL },
25924 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
25925 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL },
25926 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL },
25927 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL },
25928 { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS, NULL },
25929 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS, NULL },
25930 { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS, NULL },
25931 { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS, NULL },
25932 { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS, NULL },
25933 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS, NULL },
25934 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS, NULL },
25935 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL },
25936 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL },
25937 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS, NULL },
25938 { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS, NULL },
25939 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS, NULL },
25940 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25941 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
25942 { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25943 { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
25944 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL },
25945 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL },
25946 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL },
25947 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL },
25948 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL },
25949 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL },
25950 { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS, NULL },
25951 { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL },
25952 { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS, NULL },
25953 { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
25954 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS, NULL },
25955 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL },
25956 { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS, NULL },
25957 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS, NULL },
25958 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS, NULL },
25959 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25960 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL },
25961 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction) _wrap_PyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL },
25962 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL },
25963 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction) _wrap_PyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL },
25964 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction) _wrap_PyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL },
25965 { (char *)"PyPrintPreview_base_Print", (PyCFunction) _wrap_PyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS, NULL },
25966 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS, NULL },
25967 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS, NULL },
25968 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25969 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25970 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
25971 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
25972 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction) _wrap_PyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS, NULL },
25973 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
25974 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
25975 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS, NULL },
25976 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
25977 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25978 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL },
25979 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS, NULL },
25980 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL },
25981 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS, NULL },
25982 { NULL, NULL, 0, NULL }
25983 };
25984
25985
25986 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
25987
25988 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
25989 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25990 }
25991 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
25992 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
25993 }
25994 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
25995 return (void *)((wxEvent *) ((wxMenuEvent *) x));
25996 }
25997 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
25998 return (void *)((wxEvent *) ((wxCloseEvent *) x));
25999 }
26000 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
26001 return (void *)((wxEvent *) ((wxMouseEvent *) x));
26002 }
26003 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
26004 return (void *)((wxEvent *) ((wxEraseEvent *) x));
26005 }
26006 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
26007 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
26008 }
26009 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
26010 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
26011 }
26012 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
26013 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
26014 }
26015 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
26016 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
26017 }
26018 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
26019 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
26020 }
26021 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
26022 return (void *)((wxEvent *) ((wxPyEvent *) x));
26023 }
26024 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
26025 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
26026 }
26027 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
26028 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
26029 }
26030 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
26031 return (void *)((wxEvent *) ((wxIdleEvent *) x));
26032 }
26033 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
26034 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
26035 }
26036 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
26037 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
26038 }
26039 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
26040 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
26041 }
26042 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
26043 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
26044 }
26045 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
26046 return (void *)((wxEvent *) ((wxActivateEvent *) x));
26047 }
26048 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
26049 return (void *)((wxEvent *) ((wxSizeEvent *) x));
26050 }
26051 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
26052 return (void *)((wxEvent *) ((wxMoveEvent *) x));
26053 }
26054 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
26055 return (void *)((wxEvent *) ((wxPaintEvent *) x));
26056 }
26057 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
26058 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
26059 }
26060 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
26061 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
26062 }
26063 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
26064 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
26065 }
26066 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
26067 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
26068 }
26069 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
26070 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
26071 }
26072 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
26073 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
26074 }
26075 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
26076 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
26077 }
26078 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
26079 return (void *)((wxEvent *) ((wxFocusEvent *) x));
26080 }
26081 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
26082 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
26083 }
26084 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
26085 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
26086 }
26087 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
26088 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
26089 }
26090 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
26091 return (void *)((wxEvent *) ((wxShowEvent *) x));
26092 }
26093 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
26094 return (void *)((wxEvent *) ((wxCommandEvent *) x));
26095 }
26096 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
26097 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
26098 }
26099 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
26100 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
26101 }
26102 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
26103 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
26104 }
26105 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
26106 return (void *)((wxEvent *) ((wxKeyEvent *) x));
26107 }
26108 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
26109 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
26110 }
26111 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
26112 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
26113 }
26114 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
26115 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
26116 }
26117 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
26118 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
26119 }
26120 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
26121 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
26122 }
26123 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
26124 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
26125 }
26126 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
26127 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
26128 }
26129 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
26130 return (void *)((wxEvtHandler *) ((wxValidator *) x));
26131 }
26132 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
26133 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
26134 }
26135 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
26136 return (void *)((wxEvtHandler *) ((wxMenu *) x));
26137 }
26138 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
26139 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
26140 }
26141 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
26142 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
26143 }
26144 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
26145 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
26146 }
26147 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
26148 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
26149 }
26150 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
26151 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
26152 }
26153 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
26154 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
26155 }
26156 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
26157 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
26158 }
26159 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
26160 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
26161 }
26162 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
26163 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
26164 }
26165 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
26166 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
26167 }
26168 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
26169 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
26170 }
26171 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
26172 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
26173 }
26174 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
26175 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
26176 }
26177 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
26178 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
26179 }
26180 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
26181 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
26182 }
26183 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
26184 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
26185 }
26186 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
26187 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
26188 }
26189 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
26190 return (void *)((wxEvtHandler *) ((wxWindow *) x));
26191 }
26192 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
26193 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
26194 }
26195 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
26196 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
26197 }
26198 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
26199 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
26200 }
26201 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
26202 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
26203 }
26204 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
26205 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
26206 }
26207 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
26208 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
26209 }
26210 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
26211 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
26212 }
26213 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
26214 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
26215 }
26216 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
26217 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
26218 }
26219 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
26220 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
26221 }
26222 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
26223 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
26224 }
26225 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
26226 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
26227 }
26228 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
26229 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
26230 }
26231 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
26232 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26233 }
26234 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
26235 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
26236 }
26237 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
26238 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26239 }
26240 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) {
26241 return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x));
26242 }
26243 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
26244 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
26245 }
26246 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
26247 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
26248 }
26249 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
26250 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
26251 }
26252 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
26253 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
26254 }
26255 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
26256 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
26257 }
26258 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) {
26259 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
26260 }
26261 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) {
26262 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
26263 }
26264 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
26265 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
26266 }
26267 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
26268 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
26269 }
26270 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
26271 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
26272 }
26273 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
26274 return (void *)((wxFrame *) ((wxProgressDialog *) x));
26275 }
26276 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
26277 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
26278 }
26279 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
26280 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
26281 }
26282 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
26283 return (void *)((wxFrame *) ((wxMiniFrame *) x));
26284 }
26285 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
26286 return (void *)((wxFrame *) ((wxSplashScreen *) x));
26287 }
26288 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
26289 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
26290 }
26291 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
26292 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
26293 }
26294 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
26295 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
26296 }
26297 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
26298 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
26299 }
26300 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
26301 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
26302 }
26303 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
26304 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
26305 }
26306 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
26307 return (void *)((wxObject *) ((wxSizerItem *) x));
26308 }
26309 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
26310 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
26311 }
26312 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
26313 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
26314 }
26315 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
26316 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
26317 }
26318 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
26319 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
26320 }
26321 static void *_p_wxSizerTo_p_wxObject(void *x) {
26322 return (void *)((wxObject *) ((wxSizer *) x));
26323 }
26324 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
26325 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
26326 }
26327 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
26328 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
26329 }
26330 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
26331 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
26332 }
26333 static void *_p_wxEventTo_p_wxObject(void *x) {
26334 return (void *)((wxObject *) ((wxEvent *) x));
26335 }
26336 static void *_p_wxFontDataTo_p_wxObject(void *x) {
26337 return (void *)((wxObject *) ((wxFontData *) x));
26338 }
26339 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
26340 return (void *)((wxObject *) ((wxPrintData *) x));
26341 }
26342 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
26343 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
26344 }
26345 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
26346 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
26347 }
26348 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
26349 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
26350 }
26351 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
26352 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
26353 }
26354 static void *_p_wxTaskBarIconTo_p_wxObject(void *x) {
26355 return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x));
26356 }
26357 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
26358 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
26359 }
26360 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
26361 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
26362 }
26363 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
26364 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
26365 }
26366 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
26367 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
26368 }
26369 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
26370 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
26371 }
26372 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
26373 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
26374 }
26375 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
26376 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
26377 }
26378 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
26379 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
26380 }
26381 static void *_p_wxControlTo_p_wxObject(void *x) {
26382 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
26383 }
26384 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
26385 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
26386 }
26387 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
26388 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
26389 }
26390 static void *_p_wxFSFileTo_p_wxObject(void *x) {
26391 return (void *)((wxObject *) ((wxFSFile *) x));
26392 }
26393 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
26394 return (void *)((wxObject *) ((wxFindReplaceData *) x));
26395 }
26396 static void *_p_wxPySizerTo_p_wxObject(void *x) {
26397 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
26398 }
26399 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
26400 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
26401 }
26402 static void *_p_wxColourDataTo_p_wxObject(void *x) {
26403 return (void *)((wxObject *) ((wxColourData *) x));
26404 }
26405 static void *_p_wxPyEventTo_p_wxObject(void *x) {
26406 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
26407 }
26408 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
26409 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
26410 }
26411 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
26412 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
26413 }
26414 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
26415 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
26416 }
26417 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
26418 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
26419 }
26420 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
26421 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
26422 }
26423 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
26424 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
26425 }
26426 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
26427 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
26428 }
26429 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
26430 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
26431 }
26432 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
26433 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
26434 }
26435 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
26436 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
26437 }
26438 static void *_p_wxShowEventTo_p_wxObject(void *x) {
26439 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
26440 }
26441 static void *_p_wxPrinterTo_p_wxObject(void *x) {
26442 return (void *)((wxObject *) ((wxPrinter *) x));
26443 }
26444 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
26445 return (void *)((wxObject *) ((wxMenuItem *) x));
26446 }
26447 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
26448 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
26449 }
26450 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
26451 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
26452 }
26453 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
26454 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
26455 }
26456 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
26457 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
26458 }
26459 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
26460 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
26461 }
26462 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
26463 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
26464 }
26465 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
26466 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
26467 }
26468 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
26469 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
26470 }
26471 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
26472 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
26473 }
26474 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
26475 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
26476 }
26477 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
26478 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
26479 }
26480 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
26481 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
26482 }
26483 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
26484 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
26485 }
26486 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
26487 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
26488 }
26489 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
26490 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
26491 }
26492 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
26493 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
26494 }
26495 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
26496 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
26497 }
26498 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
26499 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
26500 }
26501 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
26502 return (void *)((wxObject *) ((wxImageHandler *) x));
26503 }
26504 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
26505 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
26506 }
26507 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
26508 return (void *)((wxObject *) ((wxEvtHandler *) x));
26509 }
26510 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
26511 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
26512 }
26513 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
26514 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26515 }
26516 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
26517 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
26518 }
26519 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
26520 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
26521 }
26522 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
26523 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
26524 }
26525 static void *_p_wxImageTo_p_wxObject(void *x) {
26526 return (void *)((wxObject *) ((wxImage *) x));
26527 }
26528 static void *_p_wxFrameTo_p_wxObject(void *x) {
26529 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
26530 }
26531 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
26532 return (void *)((wxObject *) ((wxPyPrintout *) x));
26533 }
26534 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
26535 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
26536 }
26537 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
26538 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
26539 }
26540 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
26541 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
26542 }
26543 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
26544 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
26545 }
26546 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
26547 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
26548 }
26549 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
26550 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
26551 }
26552 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
26553 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
26554 }
26555 static void *_p_wxWindowTo_p_wxObject(void *x) {
26556 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
26557 }
26558 static void *_p_wxMenuTo_p_wxObject(void *x) {
26559 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
26560 }
26561 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
26562 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
26563 }
26564 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
26565 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
26566 }
26567 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
26568 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
26569 }
26570 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
26571 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
26572 }
26573 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
26574 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
26575 }
26576 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
26577 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
26578 }
26579 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
26580 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
26581 }
26582 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
26583 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
26584 }
26585 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
26586 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
26587 }
26588 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
26589 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
26590 }
26591 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
26592 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
26593 }
26594 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
26595 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
26596 }
26597 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
26598 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
26599 }
26600 static void *_p_wxSashEventTo_p_wxObject(void *x) {
26601 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
26602 }
26603 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
26604 return (void *)((wxObject *) ((wxPrintPreview *) x));
26605 }
26606 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
26607 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
26608 }
26609 static void *_p_wxPanelTo_p_wxObject(void *x) {
26610 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
26611 }
26612 static void *_p_wxDialogTo_p_wxObject(void *x) {
26613 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
26614 }
26615 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
26616 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
26617 }
26618 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
26619 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
26620 }
26621 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
26622 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
26623 }
26624 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
26625 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
26626 }
26627 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
26628 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
26629 }
26630 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
26631 return (void *)((wxObject *) ((wxFileSystem *) x));
26632 }
26633 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
26634 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
26635 }
26636 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
26637 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
26638 }
26639 static void *_p_wxPyAppTo_p_wxObject(void *x) {
26640 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
26641 }
26642 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
26643 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
26644 }
26645 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
26646 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
26647 }
26648 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
26649 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
26650 }
26651 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
26652 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
26653 }
26654 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
26655 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
26656 }
26657 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
26658 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
26659 }
26660 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
26661 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26662 }
26663 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
26664 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
26665 }
26666 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
26667 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
26668 }
26669 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
26670 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
26671 }
26672 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
26673 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
26674 }
26675 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
26676 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
26677 }
26678 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
26679 return (void *)((wxObject *) ((wxPrintDialogData *) x));
26680 }
26681 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
26682 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
26683 }
26684 static void *_p_wxValidatorTo_p_wxObject(void *x) {
26685 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
26686 }
26687 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
26688 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26689 }
26690 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
26691 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
26692 }
26693 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) {
26694 return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x));
26695 }
26696 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
26697 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
26698 }
26699 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) {
26700 return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x));
26701 }
26702 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
26703 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
26704 }
26705 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
26706 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
26707 }
26708 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
26709 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
26710 }
26711 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
26712 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
26713 }
26714 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
26715 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
26716 }
26717 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
26718 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
26719 }
26720 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
26721 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
26722 }
26723 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x) {
26724 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPageSetupDialog *) x));
26725 }
26726 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x) {
26727 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPrintDialog *) x));
26728 }
26729 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
26730 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
26731 }
26732 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
26733 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
26734 }
26735 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
26736 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
26737 }
26738 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
26739 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
26740 }
26741 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
26742 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
26743 }
26744 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
26745 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
26746 }
26747 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
26748 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
26749 }
26750 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
26751 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
26752 }
26753 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
26754 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
26755 }
26756 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
26757 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
26758 }
26759 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
26760 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
26761 }
26762 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
26763 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
26764 }
26765 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
26766 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
26767 }
26768 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
26769 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
26770 }
26771 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
26772 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
26773 }
26774 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
26775 return (void *)((wxWindow *) ((wxMenuBar *) x));
26776 }
26777 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
26778 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
26779 }
26780 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
26781 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
26782 }
26783 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
26784 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
26785 }
26786 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
26787 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
26788 }
26789 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
26790 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
26791 }
26792 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
26793 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
26794 }
26795 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
26796 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
26797 }
26798 static void *_p_wxPanelTo_p_wxWindow(void *x) {
26799 return (void *)((wxWindow *) ((wxPanel *) x));
26800 }
26801 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
26802 return (void *)((wxWindow *) ((wxStatusBar *) x));
26803 }
26804 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
26805 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
26806 }
26807 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
26808 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
26809 }
26810 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
26811 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
26812 }
26813 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
26814 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
26815 }
26816 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
26817 return (void *)((wxWindow *) ((wxPopupWindow *) x));
26818 }
26819 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
26820 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
26821 }
26822 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
26823 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
26824 }
26825 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
26826 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
26827 }
26828 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
26829 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
26830 }
26831 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
26832 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
26833 }
26834 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
26835 return (void *)((wxWindow *) ((wxSashWindow *) x));
26836 }
26837 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
26838 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
26839 }
26840 static void *_p_wxControlTo_p_wxWindow(void *x) {
26841 return (void *)((wxWindow *) ((wxControl *) x));
26842 }
26843 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
26844 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
26845 }
26846 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
26847 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
26848 }
26849 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
26850 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
26851 }
26852 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
26853 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
26854 }
26855 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
26856 return (void *)((wxWindow *) ((wxPyWindow *) x));
26857 }
26858 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
26859 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
26860 }
26861 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
26862 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
26863 }
26864 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
26865 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26866 }
26867 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
26868 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
26869 }
26870 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
26871 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26872 }
26873 static void *_p_wxFrameTo_p_wxWindow(void *x) {
26874 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
26875 }
26876 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
26877 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
26878 }
26879 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
26880 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
26881 }
26882 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
26883 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
26884 }
26885 static void *_p_wxDialogTo_p_wxWindow(void *x) {
26886 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
26887 }
26888 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) {
26889 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
26890 }
26891 static void *_p_wxPrintDialogTo_p_wxWindow(void *x) {
26892 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
26893 }
26894 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
26895 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
26896 }
26897 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
26898 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
26899 }
26900 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
26901 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
26902 }
26903 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
26904 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
26905 }
26906 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
26907 return (void *)((wxDialog *) ((wxColourDialog *) x));
26908 }
26909 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
26910 return (void *)((wxDialog *) ((wxDirDialog *) x));
26911 }
26912 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
26913 return (void *)((wxDialog *) ((wxFontDialog *) x));
26914 }
26915 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x) {
26916 return (void *)((wxDialog *) ((wxPageSetupDialog *) x));
26917 }
26918 static void *_p_wxPrintDialogTo_p_wxDialog(void *x) {
26919 return (void *)((wxDialog *) ((wxPrintDialog *) x));
26920 }
26921 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
26922 return (void *)((wxDialog *) ((wxFileDialog *) x));
26923 }
26924 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
26925 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
26926 }
26927 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
26928 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
26929 }
26930 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
26931 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
26932 }
26933 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
26934 return (void *)((wxDialog *) ((wxMessageDialog *) x));
26935 }
26936 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
26937 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
26938 }
26939 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
26940 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
26941 }
26942 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
26943 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
26944 }
26945 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
26946 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
26947 }
26948 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
26949 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26950 }
26951 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
26952 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
26953 }
26954 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
26955 return (void *)((wxPanel *) ((wxPyPanel *) x));
26956 }
26957 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
26958 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
26959 }
26960 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
26961 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
26962 }
26963 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
26964 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26965 }
26966 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
26967 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
26968 }
26969 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
26970 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
26971 }
26972 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
26973 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
26974 }
26975 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
26976 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
26977 }
26978 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
26979 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
26980 }
26981 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
26982 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
26983 }
26984 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
26985 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
26986 }
26987 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
26988 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
26989 }
26990 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
26991 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
26992 }
26993 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
26994 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
26995 }
26996 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
26997 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
26998 }
26999 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
27000 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
27001 }
27002 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}};
27003 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}};
27004 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}};
27005 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}};
27006 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}};
27007 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}};
27008 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}};
27009 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}};
27010 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}};
27011 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}};
27012 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}};
27013 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}};
27014 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}};
27015 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}};
27016 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}};
27017 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}};
27018 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}};
27019 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}};
27020 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}};
27021 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}};
27022 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}};
27023 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}};
27024 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}};
27025 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}};
27026 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}};
27027 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}};
27028 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}};
27029 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}};
27030 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}};
27031 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}};
27032 static swig_type_info _swigt__p_wxTextEntryDialog[] = {{"_p_wxTextEntryDialog", 0, "wxTextEntryDialog *", 0, 0, 0, 0},{"_p_wxTextEntryDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27033 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}};
27034 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}};
27035 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}};
27036 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}};
27037 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}};
27038 static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_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_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_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}};
27039 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}};
27040 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}};
27041 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}};
27042 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}};
27043 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}};
27044 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}};
27045 static swig_type_info _swigt__p_wxFrame[] = {{"_p_wxFrame", 0, "wxFrame *", 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxFrame", 0, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27046 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}};
27047 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}};
27048 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}};
27049 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}};
27050 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}};
27051 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}};
27052 static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFontData", _p_wxFontDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintData", _p_wxPrintDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxLayoutAlgorithm", _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindReplaceData", _p_wxFindReplaceDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxColourData", _p_wxColourDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrinter", _p_wxPrinterTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPrintout", _p_wxPyPrintoutTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_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}};
27053 static swig_type_info _swigt__p_wxOutputStream[] = {{"_p_wxOutputStream", 0, "wxOutputStream *", 0, 0, 0, 0},{"_p_wxOutputStream", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27054 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}};
27055 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}};
27056 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}};
27057 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}};
27058 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}};
27059 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}};
27060 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}};
27061 static swig_type_info _swigt__p_wxPyPopupTransientWindow[] = {{"_p_wxPyPopupTransientWindow", 0, "wxPyPopupTransientWindow *", 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxPyPopupTransientWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27062 static swig_type_info _swigt__p_wxPopupWindow[] = {{"_p_wxPopupWindow", 0, "wxPopupWindow *", 0, 0, 0, 0},{"_p_wxPopupWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxPopupWindow, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxPopupWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27063 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}};
27064 static swig_type_info _swigt__p_wxTopLevelWindow[] = {{"_p_wxTopLevelWindow", 0, "wxTopLevelWindow *", 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", 0, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_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}};
27065 static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_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}};
27066 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}};
27067 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}};
27068 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}};
27069 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}};
27070 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}};
27071 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}};
27072 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}};
27073 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}};
27074 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}};
27075 static swig_type_info _swigt__p_wxDialog[] = {{"_p_wxDialog", 0, "wxDialog *", 0, 0, 0, 0},{"_p_wxDialog", 0, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27076 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}};
27077 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}};
27078 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}};
27079 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}};
27080 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}};
27081 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}};
27082 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}};
27083 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}};
27084 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}};
27085 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}};
27086 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}};
27087 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}};
27088
27089 static swig_type_info *swig_types_initial[] = {
27090 _swigt__p_wxQueryLayoutInfoEvent,
27091 _swigt__p_wxPreviewFrame,
27092 _swigt__p_wxPyPreviewFrame,
27093 _swigt__p_wxPyPanel,
27094 _swigt__p_wxMenu,
27095 _swigt__p_wxFontData,
27096 _swigt__p_wxEvent,
27097 _swigt__p_wxPrintData,
27098 _swigt__p_wxTaskBarIcon,
27099 _swigt__p_wxIconBundle,
27100 _swigt__p_wxLayoutAlgorithm,
27101 _swigt__p_wxFindDialogEvent,
27102 _swigt__p_wxPreviewCanvas,
27103 _swigt__p_wxFont,
27104 _swigt__p_wxSplitterEvent,
27105 _swigt__p_wxRegion,
27106 _swigt__p_wxFindReplaceData,
27107 _swigt__p_int,
27108 _swigt__p_wxSize,
27109 _swigt__p_wxDC,
27110 _swigt__p_wxIcon,
27111 _swigt__p_wxVisualAttributes,
27112 _swigt__p_wxMDIChildFrame,
27113 _swigt__p_wxColourData,
27114 _swigt__p_wxNotifyEvent,
27115 _swigt__p_wxPyWindow,
27116 _swigt__p_wxSplashScreen,
27117 _swigt__p_wxFindReplaceDialog,
27118 _swigt__p_wxProgressDialog,
27119 _swigt__p_wxMessageDialog,
27120 _swigt__p_wxTextEntryDialog,
27121 _swigt__p_wxSingleChoiceDialog,
27122 _swigt__p_wxMultiChoiceDialog,
27123 _swigt__p_wxFileDialog,
27124 _swigt__p_wxPrinter,
27125 _swigt__p_wxArrayInt,
27126 _swigt__p_wxEvtHandler,
27127 _swigt__p_wxCalculateLayoutEvent,
27128 _swigt__p_wxPyHtmlListBox,
27129 _swigt__p_wxPyVListBox,
27130 _swigt__p_wxRect,
27131 _swigt__p_char,
27132 _swigt__p_wxMiniFrame,
27133 _swigt__p_wxFrame,
27134 _swigt__p_wxPyPrintout,
27135 _swigt__p_wxTaskBarIconEvent,
27136 _swigt__p_wxScrollWinEvent,
27137 _swigt__p_wxStatusBar,
27138 _swigt__p_wxMDIParentFrame,
27139 _swigt__p_wxPoint,
27140 _swigt__p_wxObject,
27141 _swigt__p_wxOutputStream,
27142 _swigt__p_wxPyScrolledWindow,
27143 _swigt__p_wxMDIClientWindow,
27144 _swigt__p_wxTipWindow,
27145 _swigt__p_wxSashLayoutWindow,
27146 _swigt__p_wxSplitterWindow,
27147 _swigt__p_wxSplashScreenWindow,
27148 _swigt__p_wxPyVScrolledWindow,
27149 _swigt__p_wxPyPopupTransientWindow,
27150 _swigt__p_wxPopupWindow,
27151 _swigt__p_wxSashWindow,
27152 _swigt__p_wxTopLevelWindow,
27153 _swigt__p_wxWindow,
27154 _swigt__p_wxScrolledWindow,
27155 _swigt__p_wxMenuBar,
27156 _swigt__p_wxPrintPreview,
27157 _swigt__p_wxSashEvent,
27158 _swigt__p_wxString,
27159 _swigt__p_wxPyPrintPreview,
27160 _swigt__p_wxFontDialog,
27161 _swigt__p_wxDirDialog,
27162 _swigt__p_wxColourDialog,
27163 _swigt__p_wxDialog,
27164 _swigt__p_wxPanel,
27165 _swigt__p_wxPageSetupDialog,
27166 _swigt__p_wxPrintDialog,
27167 _swigt__p_wxFileSystem,
27168 _swigt__p_wxBitmap,
27169 _swigt__p_wxCommandEvent,
27170 _swigt__p_wxPreviewControlBar,
27171 _swigt__p_wxPyPreviewControlBar,
27172 _swigt__p_wxColour,
27173 _swigt__p_wxToolBar,
27174 _swigt__p_wxPageSetupDialogData,
27175 _swigt__p_wxPrintDialogData,
27176 0
27177 };
27178
27179
27180 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
27181
27182 static swig_const_info swig_const_table[] = {
27183 {0, 0, 0, 0.0, 0, 0}};
27184
27185 #ifdef __cplusplus
27186 }
27187 #endif
27188
27189 #ifdef __cplusplus
27190 extern "C"
27191 #endif
27192 SWIGEXPORT(void) SWIG_init(void) {
27193 static PyObject *SWIG_globals = 0;
27194 static int typeinit = 0;
27195 PyObject *m, *d;
27196 int i;
27197 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
27198 m = Py_InitModule((char *) SWIG_name, SwigMethods);
27199 d = PyModule_GetDict(m);
27200
27201 if (!typeinit) {
27202 for (i = 0; swig_types_initial[i]; i++) {
27203 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
27204 }
27205 typeinit = 1;
27206 }
27207 SWIG_InstallConstants(d,swig_const_table);
27208
27209 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
27210 SWIG_addvarlink(SWIG_globals,(char*)"FrameNameStr",_wrap_FrameNameStr_get, _wrap_FrameNameStr_set);
27211 SWIG_addvarlink(SWIG_globals,(char*)"DialogNameStr",_wrap_DialogNameStr_get, _wrap_DialogNameStr_set);
27212 SWIG_addvarlink(SWIG_globals,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get, _wrap_StatusLineNameStr_set);
27213 SWIG_addvarlink(SWIG_globals,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get, _wrap_ToolBarNameStr_set);
27214 PyDict_SetItemString(d,"STAY_ON_TOP", SWIG_From_int((int)wxSTAY_ON_TOP));
27215 PyDict_SetItemString(d,"ICONIZE", SWIG_From_int((int)wxICONIZE));
27216 PyDict_SetItemString(d,"MINIMIZE", SWIG_From_int((int)wxMINIMIZE));
27217 PyDict_SetItemString(d,"MAXIMIZE", SWIG_From_int((int)wxMAXIMIZE));
27218 PyDict_SetItemString(d,"CLOSE_BOX", SWIG_From_int((int)wxCLOSE_BOX));
27219 PyDict_SetItemString(d,"THICK_FRAME", SWIG_From_int((int)wxTHICK_FRAME));
27220 PyDict_SetItemString(d,"SYSTEM_MENU", SWIG_From_int((int)wxSYSTEM_MENU));
27221 PyDict_SetItemString(d,"MINIMIZE_BOX", SWIG_From_int((int)wxMINIMIZE_BOX));
27222 PyDict_SetItemString(d,"MAXIMIZE_BOX", SWIG_From_int((int)wxMAXIMIZE_BOX));
27223 PyDict_SetItemString(d,"TINY_CAPTION_HORIZ", SWIG_From_int((int)wxTINY_CAPTION_HORIZ));
27224 PyDict_SetItemString(d,"TINY_CAPTION_VERT", SWIG_From_int((int)wxTINY_CAPTION_VERT));
27225 PyDict_SetItemString(d,"RESIZE_BOX", SWIG_From_int((int)wxRESIZE_BOX));
27226 PyDict_SetItemString(d,"RESIZE_BORDER", SWIG_From_int((int)wxRESIZE_BORDER));
27227 PyDict_SetItemString(d,"DIALOG_NO_PARENT", SWIG_From_int((int)wxDIALOG_NO_PARENT));
27228 PyDict_SetItemString(d,"DEFAULT_FRAME_STYLE", SWIG_From_int((int)wxDEFAULT_FRAME_STYLE));
27229 PyDict_SetItemString(d,"DEFAULT_DIALOG_STYLE", SWIG_From_int((int)wxDEFAULT_DIALOG_STYLE));
27230 PyDict_SetItemString(d,"FRAME_TOOL_WINDOW", SWIG_From_int((int)wxFRAME_TOOL_WINDOW));
27231 PyDict_SetItemString(d,"FRAME_FLOAT_ON_PARENT", SWIG_From_int((int)wxFRAME_FLOAT_ON_PARENT));
27232 PyDict_SetItemString(d,"FRAME_NO_WINDOW_MENU", SWIG_From_int((int)wxFRAME_NO_WINDOW_MENU));
27233 PyDict_SetItemString(d,"FRAME_NO_TASKBAR", SWIG_From_int((int)wxFRAME_NO_TASKBAR));
27234 PyDict_SetItemString(d,"FRAME_SHAPED", SWIG_From_int((int)wxFRAME_SHAPED));
27235 PyDict_SetItemString(d,"DIALOG_MODAL", SWIG_From_int((int)wxDIALOG_MODAL));
27236 PyDict_SetItemString(d,"DIALOG_MODELESS", SWIG_From_int((int)wxDIALOG_MODELESS));
27237 PyDict_SetItemString(d,"USER_COLOURS", SWIG_From_int((int)wxUSER_COLOURS));
27238 PyDict_SetItemString(d,"NO_3D", SWIG_From_int((int)wxNO_3D));
27239 PyDict_SetItemString(d,"FULLSCREEN_NOMENUBAR", SWIG_From_int((int)wxFULLSCREEN_NOMENUBAR));
27240 PyDict_SetItemString(d,"FULLSCREEN_NOTOOLBAR", SWIG_From_int((int)wxFULLSCREEN_NOTOOLBAR));
27241 PyDict_SetItemString(d,"FULLSCREEN_NOSTATUSBAR", SWIG_From_int((int)wxFULLSCREEN_NOSTATUSBAR));
27242 PyDict_SetItemString(d,"FULLSCREEN_NOBORDER", SWIG_From_int((int)wxFULLSCREEN_NOBORDER));
27243 PyDict_SetItemString(d,"FULLSCREEN_NOCAPTION", SWIG_From_int((int)wxFULLSCREEN_NOCAPTION));
27244 PyDict_SetItemString(d,"FULLSCREEN_ALL", SWIG_From_int((int)wxFULLSCREEN_ALL));
27245 PyDict_SetItemString(d,"TOPLEVEL_EX_DIALOG", SWIG_From_int((int)wxTOPLEVEL_EX_DIALOG));
27246 PyDict_SetItemString(d,"USER_ATTENTION_INFO", SWIG_From_int((int)wxUSER_ATTENTION_INFO));
27247 PyDict_SetItemString(d,"USER_ATTENTION_ERROR", SWIG_From_int((int)wxUSER_ATTENTION_ERROR));
27248 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_PARENT", SWIG_From_int((int)wxSPLASH_CENTRE_ON_PARENT));
27249 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_SCREEN", SWIG_From_int((int)wxSPLASH_CENTRE_ON_SCREEN));
27250 PyDict_SetItemString(d,"SPLASH_NO_CENTRE", SWIG_From_int((int)wxSPLASH_NO_CENTRE));
27251 PyDict_SetItemString(d,"SPLASH_TIMEOUT", SWIG_From_int((int)wxSPLASH_TIMEOUT));
27252 PyDict_SetItemString(d,"SPLASH_NO_TIMEOUT", SWIG_From_int((int)wxSPLASH_NO_TIMEOUT));
27253 PyDict_SetItemString(d,"SB_NORMAL", SWIG_From_int((int)wxSB_NORMAL));
27254 PyDict_SetItemString(d,"SB_FLAT", SWIG_From_int((int)wxSB_FLAT));
27255 PyDict_SetItemString(d,"SB_RAISED", SWIG_From_int((int)wxSB_RAISED));
27256 SWIG_addvarlink(SWIG_globals,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get, _wrap_SplitterNameStr_set);
27257 PyDict_SetItemString(d,"SP_NOBORDER", SWIG_From_int((int)wxSP_NOBORDER));
27258 PyDict_SetItemString(d,"SP_NOSASH", SWIG_From_int((int)wxSP_NOSASH));
27259 PyDict_SetItemString(d,"SP_PERMIT_UNSPLIT", SWIG_From_int((int)wxSP_PERMIT_UNSPLIT));
27260 PyDict_SetItemString(d,"SP_LIVE_UPDATE", SWIG_From_int((int)wxSP_LIVE_UPDATE));
27261 PyDict_SetItemString(d,"SP_3DSASH", SWIG_From_int((int)wxSP_3DSASH));
27262 PyDict_SetItemString(d,"SP_3DBORDER", SWIG_From_int((int)wxSP_3DBORDER));
27263 PyDict_SetItemString(d,"SP_NO_XP_THEME", SWIG_From_int((int)wxSP_NO_XP_THEME));
27264 PyDict_SetItemString(d,"SP_BORDER", SWIG_From_int((int)wxSP_BORDER));
27265 PyDict_SetItemString(d,"SP_3D", SWIG_From_int((int)wxSP_3D));
27266 PyDict_SetItemString(d,"SPLIT_HORIZONTAL", SWIG_From_int((int)wxSPLIT_HORIZONTAL));
27267 PyDict_SetItemString(d,"SPLIT_VERTICAL", SWIG_From_int((int)wxSPLIT_VERTICAL));
27268 PyDict_SetItemString(d,"SPLIT_DRAG_NONE", SWIG_From_int((int)wxSPLIT_DRAG_NONE));
27269 PyDict_SetItemString(d,"SPLIT_DRAG_DRAGGING", SWIG_From_int((int)wxSPLIT_DRAG_DRAGGING));
27270 PyDict_SetItemString(d,"SPLIT_DRAG_LEFT_DOWN", SWIG_From_int((int)wxSPLIT_DRAG_LEFT_DOWN));
27271 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
27272 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
27273 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
27274 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
27275 SWIG_addvarlink(SWIG_globals,(char*)"SashNameStr",_wrap_SashNameStr_get, _wrap_SashNameStr_set);
27276 SWIG_addvarlink(SWIG_globals,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get, _wrap_SashLayoutNameStr_set);
27277 PyDict_SetItemString(d,"SASH_DRAG_NONE", SWIG_From_int((int)wxSASH_DRAG_NONE));
27278 PyDict_SetItemString(d,"SASH_DRAG_DRAGGING", SWIG_From_int((int)wxSASH_DRAG_DRAGGING));
27279 PyDict_SetItemString(d,"SASH_DRAG_LEFT_DOWN", SWIG_From_int((int)wxSASH_DRAG_LEFT_DOWN));
27280 PyDict_SetItemString(d,"SW_NOBORDER", SWIG_From_int((int)wxSW_NOBORDER));
27281 PyDict_SetItemString(d,"SW_BORDER", SWIG_From_int((int)wxSW_BORDER));
27282 PyDict_SetItemString(d,"SW_3DSASH", SWIG_From_int((int)wxSW_3DSASH));
27283 PyDict_SetItemString(d,"SW_3DBORDER", SWIG_From_int((int)wxSW_3DBORDER));
27284 PyDict_SetItemString(d,"SW_3D", SWIG_From_int((int)wxSW_3D));
27285 PyDict_SetItemString(d,"SASH_TOP", SWIG_From_int((int)wxSASH_TOP));
27286 PyDict_SetItemString(d,"SASH_RIGHT", SWIG_From_int((int)wxSASH_RIGHT));
27287 PyDict_SetItemString(d,"SASH_BOTTOM", SWIG_From_int((int)wxSASH_BOTTOM));
27288 PyDict_SetItemString(d,"SASH_LEFT", SWIG_From_int((int)wxSASH_LEFT));
27289 PyDict_SetItemString(d,"SASH_NONE", SWIG_From_int((int)wxSASH_NONE));
27290 PyDict_SetItemString(d,"SASH_STATUS_OK", SWIG_From_int((int)wxSASH_STATUS_OK));
27291 PyDict_SetItemString(d,"SASH_STATUS_OUT_OF_RANGE", SWIG_From_int((int)wxSASH_STATUS_OUT_OF_RANGE));
27292 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
27293 PyDict_SetItemString(d,"LAYOUT_HORIZONTAL", SWIG_From_int((int)wxLAYOUT_HORIZONTAL));
27294 PyDict_SetItemString(d,"LAYOUT_VERTICAL", SWIG_From_int((int)wxLAYOUT_VERTICAL));
27295 PyDict_SetItemString(d,"LAYOUT_NONE", SWIG_From_int((int)wxLAYOUT_NONE));
27296 PyDict_SetItemString(d,"LAYOUT_TOP", SWIG_From_int((int)wxLAYOUT_TOP));
27297 PyDict_SetItemString(d,"LAYOUT_LEFT", SWIG_From_int((int)wxLAYOUT_LEFT));
27298 PyDict_SetItemString(d,"LAYOUT_RIGHT", SWIG_From_int((int)wxLAYOUT_RIGHT));
27299 PyDict_SetItemString(d,"LAYOUT_BOTTOM", SWIG_From_int((int)wxLAYOUT_BOTTOM));
27300 PyDict_SetItemString(d,"LAYOUT_LENGTH_Y", SWIG_From_int((int)wxLAYOUT_LENGTH_Y));
27301 PyDict_SetItemString(d,"LAYOUT_LENGTH_X", SWIG_From_int((int)wxLAYOUT_LENGTH_X));
27302 PyDict_SetItemString(d,"LAYOUT_MRU_LENGTH", SWIG_From_int((int)wxLAYOUT_MRU_LENGTH));
27303 PyDict_SetItemString(d,"LAYOUT_QUERY", SWIG_From_int((int)wxLAYOUT_QUERY));
27304 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
27305 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
27306 SWIG_addvarlink(SWIG_globals,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get, _wrap_VListBoxNameStr_set);
27307
27308 // Map renamed classes back to their common name for OOR
27309 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
27310 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
27311 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
27312
27313 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
27314 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
27315 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
27316 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
27317 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
27318 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
27319 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
27320 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
27321 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
27322 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get, _wrap_DirDialogNameStr_set);
27323 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
27324 SWIG_addvarlink(SWIG_globals,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get, _wrap_GetTextFromUserPromptStr_set);
27325 SWIG_addvarlink(SWIG_globals,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get, _wrap_MessageBoxCaptionStr_set);
27326 PyDict_SetItemString(d,"CHOICEDLG_STYLE", SWIG_From_int((int)wxCHOICEDLG_STYLE));
27327 PyDict_SetItemString(d,"FR_DOWN", SWIG_From_int((int)wxFR_DOWN));
27328 PyDict_SetItemString(d,"FR_WHOLEWORD", SWIG_From_int((int)wxFR_WHOLEWORD));
27329 PyDict_SetItemString(d,"FR_MATCHCASE", SWIG_From_int((int)wxFR_MATCHCASE));
27330 PyDict_SetItemString(d,"FR_REPLACEDIALOG", SWIG_From_int((int)wxFR_REPLACEDIALOG));
27331 PyDict_SetItemString(d,"FR_NOUPDOWN", SWIG_From_int((int)wxFR_NOUPDOWN));
27332 PyDict_SetItemString(d,"FR_NOMATCHCASE", SWIG_From_int((int)wxFR_NOMATCHCASE));
27333 PyDict_SetItemString(d,"FR_NOWHOLEWORD", SWIG_From_int((int)wxFR_NOWHOLEWORD));
27334 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
27335 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
27336 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
27337 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
27338 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
27339 PyDict_SetItemString(d,"IDM_WINDOWTILE", SWIG_From_int((int)4001));
27340 PyDict_SetItemString(d,"IDM_WINDOWTILEHOR", SWIG_From_int((int)4001));
27341 PyDict_SetItemString(d,"IDM_WINDOWCASCADE", SWIG_From_int((int)4002));
27342 PyDict_SetItemString(d,"IDM_WINDOWICONS", SWIG_From_int((int)4003));
27343 PyDict_SetItemString(d,"IDM_WINDOWNEXT", SWIG_From_int((int)4004));
27344 PyDict_SetItemString(d,"IDM_WINDOWTILEVERT", SWIG_From_int((int)4005));
27345 PyDict_SetItemString(d,"FIRST_MDI_CHILD", SWIG_From_int((int)4100));
27346 PyDict_SetItemString(d,"LAST_MDI_CHILD", SWIG_From_int((int)4600));
27347 SWIG_addvarlink(SWIG_globals,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get, _wrap_PrintoutTitleStr_set);
27348 SWIG_addvarlink(SWIG_globals,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get, _wrap_PreviewCanvasNameStr_set);
27349 PyDict_SetItemString(d,"PRINT_MODE_NONE", SWIG_From_int((int)wxPRINT_MODE_NONE));
27350 PyDict_SetItemString(d,"PRINT_MODE_PREVIEW", SWIG_From_int((int)wxPRINT_MODE_PREVIEW));
27351 PyDict_SetItemString(d,"PRINT_MODE_FILE", SWIG_From_int((int)wxPRINT_MODE_FILE));
27352 PyDict_SetItemString(d,"PRINT_MODE_PRINTER", SWIG_From_int((int)wxPRINT_MODE_PRINTER));
27353 PyDict_SetItemString(d,"PRINT_MODE_STREAM", SWIG_From_int((int)wxPRINT_MODE_STREAM));
27354 PyDict_SetItemString(d,"PRINTER_NO_ERROR", SWIG_From_int((int)wxPRINTER_NO_ERROR));
27355 PyDict_SetItemString(d,"PRINTER_CANCELLED", SWIG_From_int((int)wxPRINTER_CANCELLED));
27356 PyDict_SetItemString(d,"PRINTER_ERROR", SWIG_From_int((int)wxPRINTER_ERROR));
27357 PyDict_SetItemString(d,"PREVIEW_PRINT", SWIG_From_int((int)wxPREVIEW_PRINT));
27358 PyDict_SetItemString(d,"PREVIEW_PREVIOUS", SWIG_From_int((int)wxPREVIEW_PREVIOUS));
27359 PyDict_SetItemString(d,"PREVIEW_NEXT", SWIG_From_int((int)wxPREVIEW_NEXT));
27360 PyDict_SetItemString(d,"PREVIEW_ZOOM", SWIG_From_int((int)wxPREVIEW_ZOOM));
27361 PyDict_SetItemString(d,"PREVIEW_FIRST", SWIG_From_int((int)wxPREVIEW_FIRST));
27362 PyDict_SetItemString(d,"PREVIEW_LAST", SWIG_From_int((int)wxPREVIEW_LAST));
27363 PyDict_SetItemString(d,"PREVIEW_GOTO", SWIG_From_int((int)wxPREVIEW_GOTO));
27364 PyDict_SetItemString(d,"PREVIEW_DEFAULT", SWIG_From_int((int)wxPREVIEW_DEFAULT));
27365 PyDict_SetItemString(d,"ID_PREVIEW_CLOSE", SWIG_From_int((int)wxID_PREVIEW_CLOSE));
27366 PyDict_SetItemString(d,"ID_PREVIEW_NEXT", SWIG_From_int((int)wxID_PREVIEW_NEXT));
27367 PyDict_SetItemString(d,"ID_PREVIEW_PREVIOUS", SWIG_From_int((int)wxID_PREVIEW_PREVIOUS));
27368 PyDict_SetItemString(d,"ID_PREVIEW_PRINT", SWIG_From_int((int)wxID_PREVIEW_PRINT));
27369 PyDict_SetItemString(d,"ID_PREVIEW_ZOOM", SWIG_From_int((int)wxID_PREVIEW_ZOOM));
27370 PyDict_SetItemString(d,"ID_PREVIEW_FIRST", SWIG_From_int((int)wxID_PREVIEW_FIRST));
27371 PyDict_SetItemString(d,"ID_PREVIEW_LAST", SWIG_From_int((int)wxID_PREVIEW_LAST));
27372 PyDict_SetItemString(d,"ID_PREVIEW_GOTO", SWIG_From_int((int)wxID_PREVIEW_GOTO));
27373
27374 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
27375
27376 }
27377